/* ---------- Work cards on the home page ---------- */
.works { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 32px); }
.work {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--surface);
  text-decoration: none; color: inherit;
  transition: border-color 300ms ease, transform 400ms var(--ease-out);
}
.work:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.work:nth-child(even) .work__cover { order: 2; }
@media (max-width: 900px) {
  .work, .work:nth-child(even) { grid-template-columns: 1fr; }
  .work:nth-child(even) .work__cover { order: 0; }
}
.work__info { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3.4vw, 44px); }
.work__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.work h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.03em; line-height: 1.1; }
.work h3 em { font-style: normal; color: var(--accent-text); }
.work__info > p { color: var(--ink-2); font-size: 16px; }
.kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: auto; }
.kpi li { background: var(--surface); padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
.kpi b { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.work__more { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.work__more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .work:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
  .work:hover .work__more { color: var(--accent-text); }
  .work:hover .work__more svg { transform: translateX(4px); }
  .work:hover .mk--desk { transform: translateY(-2%) rotate(-0.6deg); }
  .work:hover .mk--phone { transform: translateY(-5%) rotate(1.5deg); }
}

/* ---------- Cover: CSS-drawn screens ---------- */
.cover { position: relative; overflow: hidden; aspect-ratio: 16 / 11; container-type: inline-size; isolation: isolate; }
.cover--big { border-radius: 28px; aspect-ratio: 16 / 9; }
@media (max-width: 600px) { .cover--big { aspect-ratio: 4 / 3.6; border-radius: 20px; } }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 80% 10%, var(--glow), transparent 55%); }
.mk { position: absolute; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.08); transition: transform 700ms var(--ease-out); }
.mk--desk { left: 7%; top: 11%; width: 76%; aspect-ratio: 16 / 10.5; border-radius: 1.4cqw; background: var(--pg); }
.mk--phone { right: 5%; top: 26%; width: 23%; aspect-ratio: 9 / 18.5; border-radius: 3.6cqw; border: 0.9cqw solid #0a0a0c; background: var(--pg); }
.mk__bar { display: flex; align-items: center; gap: 0.6cqw; height: 3.6cqw; padding: 0 1.4cqw; background: rgba(0, 0, 0, 0.18); }
.mk__bar i { width: 0.9cqw; height: 0.9cqw; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.mk__bar em { margin-left: 1cqw; font-style: normal; font-family: var(--mono); font-size: 1.2cqw; opacity: 0.7; }
.mk__page { position: absolute; inset: 3.6cqw 0 0; padding: 2.4cqw 3cqw; display: flex; flex-direction: column; gap: 2cqw; }
.mk--phone .mk__page { inset: 0; padding: 3.4cqw 1.8cqw; gap: 1.6cqw; }
.mk-nav { display: flex; align-items: center; gap: 2cqw; font-size: 1.3cqw; }
.mk-nav b { font-size: 1.7cqw; margin-right: auto; letter-spacing: -0.02em; }
.mk-nav span { opacity: 0.65; }
.mk-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.8cqw 1.6cqw; border-radius: 99px; background: var(--ac); color: var(--ac-ink); font-weight: 600; font-size: 1.25cqw; white-space: nowrap; opacity: 1 !important; }
.mk-k { font-family: var(--mono); font-size: 1.1cqw; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ac); }
.mk-h { font-size: 4.1cqw; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.mk-p { font-size: 1.35cqw; line-height: 1.35; opacity: 0.72; max-width: 38ch; }
.mk--phone .mk-h { font-size: 2.3cqw; }
.mk--phone .mk-p { font-size: 1cqw; }
.mk--phone .mk-nav b { font-size: 1.3cqw; }
.mk--phone .mk-btn { font-size: 1cqw; padding: 0.7cqw 1.2cqw; }

/* Brand: Stolyarka (warm wood) */
.br-stol { --glow: rgba(255, 122, 47, 0.45); --pg: #f6efe6; --ac: #e8641c; --ac-ink: #fff; background: #2a1a10; color: #2a1a10; }
.st-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.4cqw; align-items: center; flex: 1; }
.st-calc { display: flex; flex-direction: column; gap: 1cqw; padding: 2cqw; border-radius: 1.4cqw; background: #fff; box-shadow: 0 1.4cqw 3cqw -1.4cqw rgba(60, 30, 10, 0.35); }
.st-calc span { font-size: 1.1cqw; opacity: 0.6; }
.st-calc b { font-size: 1.9cqw; white-space: nowrap; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.st-calc u { display: block; height: 0.5cqw; border-radius: 1cqw; text-decoration: none; background: linear-gradient(90deg, var(--ac) 46%, #ead9c6 46%); }
.st-seg { display: flex; gap: 0.5cqw; }
.st-seg i { flex: 1; padding: 0.6cqw 0; border-radius: 0.8cqw; background: #f2e6d8; font-style: normal; font-size: 1cqw; text-align: center; }
.st-seg i:first-child { background: #2a1a10; color: #fff; }
.st-wood { height: 9cqw; border-radius: 1.2cqw; background: repeating-linear-gradient(100deg, #b9773f 0 0.6cqw, #a8672f 0.6cqw 1.1cqw, #c58550 1.1cqw 2.2cqw), #b9773f; position: relative; }
.st-wood::after { content: ""; position: absolute; inset: 22% 6% auto; height: 18%; border-radius: 0.6cqw; background: #2a1a10; opacity: 0.85; }
.mk--phone .st-calc { padding: 1.4cqw; }
.mk--phone .st-calc b { font-size: 1.6cqw; }
.mk--phone .st-calc span { font-size: 0.8cqw; }
.mk--phone .st-wood { height: 10cqw; margin-top: auto; }

/* Brand: Podemnik (blue + yellow automation) */
.br-pod { --glow: rgba(255, 210, 63, 0.35); --pg: #0f1d36; --ac: #ffd23f; --ac-ink: #0f1d36; background: #071022; color: #e8eefc; }
.pd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; }
.pd-stat { padding: 1.4cqw; border-radius: 1.2cqw; background: rgba(255, 255, 255, 0.06); display: flex; flex-direction: column; gap: 0.4cqw; font-size: 1.05cqw; opacity: 0.85; }
.pd-stat b { font-size: 2.6cqw; letter-spacing: -0.03em; color: #fff; }
.pd-stat b.y { color: var(--ac); }
.pd-table { border-radius: 1.2cqw; background: rgba(255, 255, 255, 0.04); padding: 1cqw 1.4cqw; font-size: 1.1cqw; flex: 1; }
.pd-row { display: grid; grid-template-columns: 0.6fr 2fr 1fr; gap: 1cqw; align-items: center; padding: 0.9cqw 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.pd-row:first-child { border-top: 0; opacity: 0.55; }
.pd-row s { text-decoration: none; justify-self: start; padding: 0.3cqw 0.9cqw; border-radius: 99px; background: rgba(74, 222, 128, 0.16); color: #4ade80; }
.pd-row s.n { background: rgba(255, 210, 63, 0.16); color: var(--ac); }
.br-pod .mk--phone { --pg: #17212b; }
.tgc { display: flex; flex-direction: column; gap: 1.2cqw; font-size: 1cqw; }
.tgc__top { display: flex; align-items: center; gap: 1cqw; padding-bottom: 1.2cqw; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.tgc__top i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: linear-gradient(135deg, #ffd23f, #ff8a4c); }
.tgc__top b { font-size: 1.15cqw; }
.tgc__msg { align-self: flex-start; max-width: 92%; padding: 1.1cqw 1.3cqw; border-radius: 1.4cqw 1.4cqw 1.4cqw 0.3cqw; background: #2b5278; line-height: 1.35; }
.tgc__msg b { display: block; color: var(--ac); margin-bottom: 0.3cqw; }
.tgc__act { align-self: stretch; text-align: center; padding: 0.9cqw; border-radius: 1cqw; background: rgba(255, 255, 255, 0.1); font-weight: 600; }
.tgc__msg--warn { background: #5a2d1c; }
.tgc__msg--warn b { color: #ff8a4c; }

/* Brand: Teply hleb (cream bakery) */
.br-hleb { --glow: rgba(233, 162, 74, 0.5); --pg: #2b211a; --ac: #e9a24a; --ac-ink: #2b211a; background: #f0e2cc; color: #f6ead8; }
.hl-hero { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2cqw; }
.hl-buns { position: relative; height: 100%; min-height: 18cqw; }
.hl-buns i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f4c27a, #c47a2c 60%, #8a4b16); box-shadow: inset -0.6cqw -0.8cqw 1.4cqw rgba(60, 25, 0, 0.45), 0 1.4cqw 2.4cqw -1cqw rgba(0, 0, 0, 0.6); }
.hl-buns i:nth-child(1) { width: 13cqw; height: 13cqw; left: 10%; top: 8%; }
.hl-buns i:nth-child(2) { width: 9cqw; height: 9cqw; right: 6%; top: 34%; }
.hl-buns i:nth-child(3) { width: 7cqw; height: 7cqw; left: 26%; bottom: 0; }
.hl-strip { display: flex; gap: 2.4cqw; font-size: 1.15cqw; opacity: 0.75; padding-top: 1.4cqw; border-top: 1px solid rgba(246, 234, 216, 0.15); }
.hl-time { font-size: 1.05cqw; padding: 0.4cqw 1cqw; border-radius: 99px; background: rgba(246, 234, 216, 0.12); opacity: 1 !important; }
.mk--phone .hl-buns { min-height: 12cqw; }
.mk--phone .hl-buns i:nth-child(1) { width: 8cqw; height: 8cqw; }
.mk--phone .hl-buns i:nth-child(2) { width: 5.5cqw; height: 5.5cqw; }
.mk--phone .hl-buns i:nth-child(3) { width: 4cqw; height: 4cqw; }

/* ---------- Case page ---------- */
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-3); text-decoration: none; margin-bottom: 28px; transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .back:hover { color: var(--ink); } }
.chero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(32px, 4vw, 48px); }
.chero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag--plain { background: transparent; border: 1px solid var(--line); color: var(--ink-3); }
.chero h1 { font-size: clamp(36px, 5.6vw, 72px); letter-spacing: -0.04em; line-height: 1.02; max-width: 18ch; }
.chero h1 em { font-style: normal; color: var(--accent-text); }
.chero__lead { margin-top: 24px; font-size: clamp(18px, 1.8vw, 21px); color: var(--ink-2); max-width: 60ch; }
.cmeta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 800px) { .cmeta { grid-template-columns: repeat(2, 1fr); } }
.cmeta dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); margin-bottom: 6px; }
.cmeta dd { margin: 0; font-size: 15.5px; }

.kpi-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(24px, 3vw, 40px); }
@media (max-width: 700px) { .kpi-band { grid-template-columns: 1fr; } }
.kpi-band li { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.kpi-band b { display: block; font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -0.05em; font-weight: 600; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.kpi-band span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }

.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: pain; }
@media (max-width: 900px) { .pains { grid-template-columns: 1fr; } }
.pains li { position: relative; padding: 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); counter-increment: pain; }
.pains li::before { content: "0" counter(pain); display: block; font-family: var(--mono); font-size: 13px; color: var(--warn); margin-bottom: 18px; }
.pains h3 { font-size: 20px; margin-bottom: 10px; }
.pains p { color: var(--ink-2); font-size: 15.5px; }

.swap { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.swap li { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: clamp(16px, 1.6vw, 19px); }
.swap__was { color: var(--ink-3); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--warn) 70%, transparent); text-decoration-thickness: 1.5px; }
.swap__now { font-weight: 500; }
.swap svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; justify-self: center; }
@media (max-width: 600px) {
  .swap li { grid-template-columns: 1fr; gap: 6px; }
  .swap svg { justify-self: start; transform: rotate(90deg); }
}
.swap__head { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 16px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); padding-bottom: 14px; }
@media (max-width: 600px) { .swap__head { display: none; } }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.panel { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.panel h3 { font-size: 20px; margin-bottom: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.measure li { position: relative; padding-left: 28px; color: var(--ink-2); }
.measure li + li { margin-top: 12px; }
.measure li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--accent); }

.next { display: grid; grid-template-columns: 1fr minmax(0, 1.2fr); align-items: center; gap: 32px; padding: 0; overflow: hidden; }
.next .work__info { padding: clamp(24px, 3vw, 40px); }
@media (max-width: 800px) { .next { grid-template-columns: 1fr; } }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: var(--accent); color: var(--accent-ink); }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.03em; max-width: 20ch; }
.cta-band .btn { background: var(--accent-ink); color: var(--accent-text); border-color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .cta-band .btn:hover { background: #000; color: #fff; border-color: #000; } }

/* Cover parallax on scroll (set by JS) */
.cover[data-parallax] .mk--desk { translate: 0 calc(var(--p, 0) * -14px); }
.cover[data-parallax] .mk--phone { translate: 0 calc(var(--p, 0) * -40px); }
@media (prefers-reduced-motion: reduce) {
  .cover[data-parallax] .mk { translate: none; }
  .mk { transition: none; }
}

/* ---------- Retention page ---------- */
.qz { max-width: 820px; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(80px, 10vw, 140px); min-height: 80vh; }
.qz .back { display: inline-block; margin-bottom: clamp(36px, 6vw, 72px); }
.q h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.03em; max-width: 13ch; }
.q h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.025em; max-width: 22ch; }
.q h1:focus, .q h2:focus, .rv h2:focus { outline: none; }
.qz__lead { margin-top: 22px; font-size: 19px; color: var(--ink-2); max-width: 56ch; }
.qz__start { margin-top: 32px; }
.q.is-on:not([data-step="0"]) { animation: q-in 520ms var(--ease-out); }
@keyframes q-in { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }

.qz__progress { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; font-size: 15px; color: var(--ink-3); }
.qz__progress[hidden] { display: none; }
.qz__track { flex: 1; max-width: 240px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.qz__track i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 600ms var(--ease-out); }

.qz__chips { margin-top: 28px; }
.qz__chips span { font-size: 17px; padding: 12px 18px; }
.rt-quiz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.rt-quiz--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .rt-quiz, .rt-quiz--2 { grid-template-columns: 1fr; } }
.rt-opt { min-height: 68px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); font-size: 18px; font-weight: 500; cursor: pointer; transition: transform 160ms var(--ease-out), border-color 200ms ease, background-color 200ms ease, opacity 300ms ease; }
.rt-opt:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .rt-opt:not(:disabled):hover { border-color: var(--accent); } }
.rt-opt:disabled { cursor: default; opacity: 0.45; }
.rt-opt.is-ok { opacity: 1; border-color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, var(--surface)); }
.rt-opt.is-bad { opacity: 1; border-color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, var(--surface)); }
.qz__after { margin-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; animation: q-in 500ms var(--ease-out); }
.qz__after[hidden] { display: none; }
.rt-answer { font-size: 17px; color: var(--ink-2); max-width: 60ch; }
.rt-calc { margin-top: 28px; padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; }
.qz__next { margin-top: 24px; }

.rt-hold { position: relative; overflow: hidden; margin-top: 32px; width: min(100%, 420px); min-height: 76px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 18px; font-weight: 600; cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; transition: transform 160ms var(--ease-out), border-color 200ms ease; }
.rt-hold:active { transform: scale(0.97); }
.rt-hold__fill { position: absolute; inset: 0; background: var(--accent); clip-path: inset(0 100% 0 0); transition: clip-path 250ms var(--ease-out); }
.rt-hold.is-holding .rt-hold__fill { clip-path: inset(0 0 0 0); transition: clip-path 1500ms linear; }
.rt-hold.is-done .rt-hold__fill { clip-path: inset(0 0 0 0); }
.rt-hold__text { position: relative; transition: color 200ms ease; }
.rt-hold.is-holding .rt-hold__text, .rt-hold.is-done .rt-hold__text { color: var(--accent-ink); }
.rt-hold.is-done { cursor: default; border-color: var(--accent); }

.rt-loss { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; padding: 26px; border-radius: 18px; background: color-mix(in srgb, var(--warn) 12%, var(--surface)); color: var(--ink-2); }
.rt-loss strong { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 8vw, 80px); line-height: 1.02; letter-spacing: -0.03em; color: var(--warn); font-variant-numeric: tabular-nums; }
.rt-loss b { color: var(--ink); }
.qz__note { margin-top: 18px; color: var(--ink-2); font-size: 16px; max-width: 62ch; }
.qz__reveal-btn { margin-top: 32px; }
.qz__reveal-btn[hidden] { display: none; }

/* Reveal */
.rv { margin-top: clamp(64px, 10vw, 120px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.rv[hidden] { display: none; }
.rv__lead { font-size: 19px; color: var(--ink-2); }
.rv__time { font-family: var(--serif); font-weight: 500; font-size: clamp(88px, 18vw, 180px); line-height: 1; letter-spacing: -0.04em; color: var(--accent-text); font-variant-numeric: tabular-nums; margin: 6px 0 18px; }
.rv__text { font-size: 19px; color: var(--ink-2); max-width: 58ch; }
.rv__text b { color: var(--ink); }
.rv h2 { margin-top: clamp(48px, 7vw, 80px); font-size: clamp(34px, 5vw, 58px); line-height: 1.05; }
.rv__sub { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.rv__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
@media (max-width: 640px) { .rv__list { grid-template-columns: 1fr; } }
.rv__list li { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.rv__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.rv__list h3 { font-size: 20px; margin-bottom: 8px; }
.rv__list p { color: var(--ink-2); font-size: 16px; }
.rv .rt-honest { margin-top: 24px; padding: 26px; border-radius: 20px; border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); }
.rv .rt-honest h3 { font-size: 20px; margin-bottom: 8px; }
.rv .rt-honest p { color: var(--ink-2); font-size: 16px; max-width: 66ch; }
.rv .cta-band { margin-top: 24px; }
.rv.is-on > * { animation: q-in 700ms var(--ease-out) both; }
.rv.is-on > .rv__time { animation-delay: 150ms; }
.rv.is-on > .rv__text { animation-delay: 700ms; }
.rv.is-on > h2 { animation-delay: 1500ms; }
.rv.is-on > .rv__sub { animation-delay: 1650ms; }
.rv.is-on .rv__list li { animation: q-in 600ms var(--ease-out) both; animation-delay: calc(1900ms + var(--i) * 140ms); }
.rv.is-on > .rt-honest, .rv.is-on > .cta-band { animation-delay: 2900ms; }
@media (prefers-reduced-motion: reduce) {
  .q.is-on, .qz__after, .rv.is-on > *, .rv.is-on .rv__list li { animation: none; }
  .qz__track i { transition: none; }
}

/* Teaser on the home page */
.rt-teaser { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; margin-top: clamp(20px, 3vw, 32px); padding: clamp(28px, 4vw, 52px); border-radius: 24px; text-decoration: none; color: inherit; background: radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--violet) 40%, transparent), transparent 55%), var(--surface); border: 1px solid var(--line); transition: border-color 300ms ease; }
@media (max-width: 800px) { .rt-teaser { grid-template-columns: 1fr; } }
.rt-teaser h3 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.04em; line-height: 1.02; }
.rt-teaser h3 em { font-style: normal; color: var(--accent-text); }
.rt-teaser p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.rt-teaser__side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.rt-teaser__dots { display: flex; gap: 6px; }
.rt-teaser__dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); animation: dot-fill 4.8s infinite; }
.rt-teaser__dots i:nth-child(2) { animation-delay: 0.4s; }
.rt-teaser__dots i:nth-child(3) { animation-delay: 0.8s; }
.rt-teaser__dots i:nth-child(4) { animation-delay: 1.2s; }
.rt-teaser__dots i:nth-child(5) { animation-delay: 1.6s; }
.rt-teaser__dots i:nth-child(6) { animation-delay: 2s; }
@keyframes dot-fill { 0%, 10% { background: var(--line); } 20%, 80% { background: var(--accent); } 100% { background: var(--line); } }
@media (hover: hover) and (pointer: fine) {
  .rt-teaser:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
  .rt-teaser:hover .work__more { color: var(--accent-text); }
  .rt-teaser:hover .work__more svg { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) { .rt-reveal, .rt-answer, .rt-mock.swap .rt-mock__body > *, .rt-teaser__dots i, .rt-pill.bump { animation: none; } }

/* Key words: italic, colours alternate soft violet / lime; on lime blocks deep violet keeps contrast */
:root { --em-dark: #3b1fb8; }
h1 em, h2 em, h3 em, .chero h1 em, .work h3 em, .rt-teaser h3 em { font-style: italic; color: var(--em); }
.hero__title .w:nth-child(3) em, .work:nth-child(even) h3 em, .rt-teaser h3 em,
#services-title em, #faq-title em, #pain-title em, .rv h2 em { color: var(--accent-text); }
.contact h2 em, .cta-band h2 em { color: var(--em-dark); }

/* Real case cover: a screenshot of the live site inside the browser mockup */
.mk__page--shot { padding: 0; }
.mk__page--shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.br-crystal { background: linear-gradient(135deg, #1a1612, #3a2f22); }
.br-crystal .mk--desk { left: 50%; right: auto; width: 86%; transform: translateX(-50%); }
.br-gym { background: linear-gradient(135deg, #0c0c0d, #3a1a08); }
.work__links { margin: calc(-1 * clamp(8px, 1.5vw, 18px)) 0 0; font-size: 15px; color: var(--ink-3); }
.work__links a { color: var(--ink-2); }

/* Hero showcase: the two live client sites instead of the example card */
.showcase { position: relative; aspect-ratio: 5 / 4; }
.shot { position: absolute; width: 82%; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); text-decoration: none; transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out); }
.shot__bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; background: var(--bg-alt); font-size: 12px; color: var(--ink-3); }
.shot__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.shot__bar em { margin-left: 8px; font-style: normal; font-family: var(--mono); }
.shot img { display: block; width: 100%; height: auto; }
.shot--a { left: 0; top: 0; transform: rotate(-3deg); }
.shot--b { right: 0; bottom: 0; transform: rotate(2.5deg); z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .shot--a:hover { transform: rotate(-1deg) translateY(-6px); z-index: 2; }
  .shot--b:hover { transform: rotate(0.5deg) translateY(-6px); }
}
.showcase__label { position: absolute; left: 4%; bottom: -6px; z-index: 3; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600; }
@media (max-width: 900px) { .showcase { max-width: 520px; margin-top: 12px; } }

/* FAQ answer fades and slides in while its box grows */
details.is-opening > :not(summary) { animation: faq-in 320ms cubic-bezier(0.23, 1, 0.32, 1) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
