/* Korvex premium quiz — tokens are law, see DESIGN.md */
@font-face { font-family: "Mona Sans"; src: url("/assets/fonts/mona.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }
:root {
  --paper: #FFFFFF;
  --chalk: #F3F4F1;
  --frost: #E3E6E2;
  --graphite: #0C131A;
  --stone: #5E6462;
  --lime: #A2CA22;           /* brand lime: fills only on white */
  --lime-deep: #566B10;      /* lime as text on white */
  --amber: #F7941D;          /* the warm action colour: graphite text on it reads 8:1 */
  --amber-hover: #E8850C;
  --amber-ink: #9A4A06;      /* amber as an icon colour on white */
  --star: #A95A00;           /* rating stars: 5:1 on white */
  --wa: #1A8D45;
  --danger: #B42318;
  --rule: color-mix(in oklch, var(--graphite) 12%, var(--paper));
  --rule-strong: color-mix(in oklch, var(--graphite) 26%, var(--paper));

  --font: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --t-13: .8125rem; --t-15: .9375rem; --t-17: 1.0625rem; --t-19: 1.1875rem;
  --t-21: clamp(1.0625rem, 1rem + .4vw, 1.3125rem);
  --t-28: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --t-40: clamp(1.625rem, 1.1rem + 1.7vw, 2.5rem);
  --t-56: clamp(2.25rem, 1.2rem + 3.3vw, 3.75rem);

  --slope: .5833;            /* the hexagon edge of the emblem: 60 across, 35 down */
  --cut: 44px;
  --btn-cut: 22px;
  --gutter: clamp(1rem, .5rem + 2vw, 2.5rem);
  --top-h: 64px;
  --radius: 3px;
  --max: 1360px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-move: cubic-bezier(.65, 0, .35, 1);
  --dur-micro: 180ms;
  --dur-step: 260ms;
  --dur-wipe: 760ms;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: clip;
  background: var(--paper); color: var(--graphite);
  font-family: var(--font); font-size: var(--t-17); line-height: 1.5; font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--graphite); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 30; background: var(--amber); color: var(--graphite); padding: 8px 12px; }
.ico { width: 20px; height: 20px; flex: none; }
.stars { color: var(--star); letter-spacing: .06em; font-size: var(--t-15); line-height: 1; }

/* ---------- top bar ---------- */
.top { height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); border-bottom: 1px solid var(--rule); }
.brand img { display: block; height: 32px; width: auto; }
.top-meta { display: flex; align-items: center; gap: 24px; font-size: var(--t-15); color: var(--stone); }
.top-phone { color: var(--graphite); text-decoration: none; font-weight: 650; font-variant-numeric: tabular-nums; border-bottom: 2px solid var(--amber); padding-bottom: 1px; }

/* ---------- frame: photo left, questions right ---------- */
.frame { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: calc(100dvh - var(--top-h)); max-width: 1600px; width: 100%; margin: 0 auto; }
.visual { display: flex; flex-direction: column; gap: 16px; padding: 24px 0 24px var(--gutter); min-height: 0; }
.photo { position: relative; flex: 1; min-height: 360px; margin: 0; overflow: hidden; background: var(--chalk);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% calc(var(--cut) * var(--slope)), 100% 100%, 0 100%); }
.photo-layers { position: absolute; inset: 0; }
.photo-layers .layer { position: absolute; inset: 0; display: block;
  clip-path: polygon(0 0, 0% 0, -77% 100%, 0 100%); transform: scale(1.04);
  transition: clip-path var(--dur-wipe) var(--ease-out), transform 1.4s var(--ease-out); }
.photo-layers .layer.is-on { clip-path: polygon(0 0, 177% 0, 100% 100%, 0 100%); transform: scale(1); }
body:not(.ready) .photo-layers .layer.is-on { clip-path: polygon(0 0, 0% 0, -77% 100%, 0 100%); transform: scale(1.04); }
.photo-layers .layer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.caption[hidden] { display: none; }
.caption { position: absolute; left: 0; bottom: 0; max-width: calc(100% - 32px); background: var(--paper); padding: 10px 16px 10px 14px; display: flex; flex-direction: column; gap: 2px; font-size: var(--t-15); line-height: 1.3; }
.caption-kicker { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-deep); font-weight: 700; }

/* the project sheet under the photo */
.plate { background: var(--chalk); padding: 18px 22px; }
.plate-empty { display: none; }
.brief-head { display: flex; justify-content: space-between; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); font-weight: 700; margin-bottom: 8px; }
.brief-count { font-variant-numeric: tabular-nums; }
.brief { margin: 0; }
.brief-row { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: var(--t-15); line-height: 1.35; }
.brief-row::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.brief-row.is-filled::before { transform: scaleX(1); }
.brief-row.draw::before { animation: rule-draw 520ms var(--ease-out); }
@keyframes rule-draw { from { transform: scaleX(0); } }
.brief-row dt { color: var(--stone); font-size: var(--t-13); padding-top: 1px; }
.brief-row dd { margin: 0; color: var(--stone); }
.brief-row.is-filled dd { color: var(--graphite); font-weight: 540; }
.brief-row.is-current dt { color: var(--lime-deep); font-weight: 700; }
.brief-line { display: none; }

/* ---------- stage ---------- */
.stage { display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(1.25rem, 5vw, 5.5rem) 40px clamp(1.5rem, 5vw, 5rem); min-width: 0; }
.stage-inner { max-width: 660px; width: 100%; animation: step-in var(--dur-step) var(--ease-out) both; }
.stage-inner.in-back { animation-name: step-in-back; }
.stage-inner.out-fwd { animation: step-out 150ms var(--ease-move) forwards; }
.stage-inner.out-back { animation: step-out-back 150ms var(--ease-move) forwards; }
@keyframes step-in { from { opacity: 0; transform: translateX(24px); } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-24px); } }
@keyframes step-out { to { opacity: 0; transform: translateX(-16px); } }
@keyframes step-out-back { to { opacity: 0; transform: translateX(16px); } }

.eyebrow { margin: 0 0 18px; font-size: var(--t-13); letter-spacing: .12em; text-transform: uppercase; color: var(--stone); font-weight: 650; }
.eyebrow.ok { color: var(--lime-deep); }
.display { margin: 0; font-size: var(--t-56); line-height: 1; font-weight: 740; font-stretch: 116%; letter-spacing: -.02em; outline: none; }
.display .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.display .ln > span { display: inline-block; animation: line-up 900ms var(--ease-out) both; }
.display .ln:nth-child(2) > span { animation-delay: 90ms; }
.display .ln:nth-child(3) > span { animation-delay: 180ms; }
@keyframes line-up { from { transform: translateY(105%); } }
.lead { text-wrap: pretty; margin: 22px 0 0; max-width: 34em; font-size: var(--t-19); line-height: 1.5; color: color-mix(in oklch, var(--graphite) 80%, var(--paper)); }
.lead strong { color: var(--graphite); font-weight: 650; white-space: nowrap; }
.trust { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: var(--t-15); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust b { font-weight: 750; }
.trust .insured { flex-basis: 100%; color: var(--lime-deep); font-weight: 620; }
.trust .insured .ico { color: var(--lime-deep); }
.intro-cta { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.call { color: var(--stone); font-size: var(--t-15); text-decoration: none; }
.call:hover { color: var(--graphite); }
.intro .trust, .intro .lead, .intro .intro-cta, .thanks .lead, .thanks .countdown, .thanks .intro-cta { animation: settle 700ms var(--ease-out) both; animation-delay: 320ms; }
.intro .trust, .thanks .countdown { animation-delay: 400ms; }
.intro .intro-cta, .thanks .intro-cta { animation-delay: 480ms; }
@keyframes settle { from { opacity: 0; transform: translateY(10px); } }

/* ---------- progress + question ---------- */
.progress { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.progress-label { font-size: var(--t-13); letter-spacing: .1em; text-transform: uppercase; color: var(--stone); font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.progress-label .sep { margin: 0 8px; color: var(--rule-strong); }
.progress-track { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; max-width: 220px; }
.progress-track i { height: 4px; background: var(--frost); }
.progress-track i.on { background: var(--lime); }
.q { margin: 0; font-size: var(--t-40); line-height: 1.08; font-weight: 720; font-stretch: 110%; letter-spacing: -.015em; outline: none; }
.hint { text-wrap: pretty; margin: 12px 0 0; color: var(--stone); font-size: var(--t-15); max-width: 38em; }
.body { margin-top: 26px; }

/* answer rows: the hexagon marker is the emblem's own shape */
.rows { border-top: 1px solid var(--rule); }
.row, .tile { width: 100%; display: grid; align-items: center; gap: 16px; background: none; border: 0; border-bottom: 1px solid var(--rule); text-align: left; transition: background var(--dur-micro) var(--ease-out); }
.row { grid-template-columns: 1fr auto; padding: 16px 12px 16px 8px; }
.row:hover, .tile:hover { background: var(--chalk); }
.row:active, .tile:active { transform: scale(.995); }
.row-text, .tile-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row-label { font-size: var(--t-19); font-weight: 580; font-stretch: 104%; line-height: 1.25; }
.row-sub { font-size: var(--t-15); color: var(--stone); line-height: 1.35; }
.row-mark { position: relative; width: 22px; height: 25px; flex: none; }
.row-mark::before, .row-mark::after { content: ""; position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.row-mark::before { background: var(--rule-strong); transition: background var(--dur-micro) var(--ease-out); }
.row-mark::after { inset: 2px; background: var(--paper); transition: transform var(--dur-micro) var(--ease-out); }
.row:hover .row-mark::after, .tile:hover .row-mark::after { background: var(--chalk); }
[aria-checked="true"] .row-mark::before { background: var(--lime); }
[aria-checked="true"] .row-mark::after { transform: scale(0); }
[aria-checked="true"] .row-label { font-weight: 660; }
.row[aria-checked="true"], .tile[aria-checked="true"] { background: var(--chalk); box-shadow: inset 4px 0 0 var(--lime); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; border-top: 1px solid var(--rule); }
.tile { grid-template-columns: 72px 1fr auto; padding: 10px 10px 10px 0; }
.tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tile-photo { width: 72px; height: 72px; overflow: hidden; background: var(--chalk); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 8px, 100% 100%, 0 100%); }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--ease-out); }
.tile:hover .tile-photo img { transform: scale(1.06); }
.tile .row-label { font-size: var(--t-17); }
.tile .row-sub { font-size: var(--t-13); }
.tile[aria-checked="true"] { box-shadow: inset 0 -3px 0 var(--lime); }

/* chips + fields */
.chips { border: 0; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 10px; font-size: var(--t-13); letter-spacing: .1em; text-transform: uppercase; color: var(--stone); font-weight: 650; }
.chip { min-height: 44px; padding: 10px 16px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--paper); font-size: var(--t-15); transition: background var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.chip:hover { border-color: var(--graphite); }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--graphite); font-weight: 650; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: var(--t-13); letter-spacing: .03em; color: var(--stone); font-weight: 560; }
.field input, .notes textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--paper); font-size: var(--t-17); letter-spacing: 0; color: var(--graphite); font-weight: 450; transition: border-color var(--dur-micro) var(--ease-out); }
.field input::placeholder, .notes textarea::placeholder { color: color-mix(in oklch, var(--stone) 75%, var(--paper)); }
.field input:focus, .notes textarea:focus { outline: none; border-color: var(--graphite); box-shadow: 0 0 0 1px var(--graphite); }
.field input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.field-postal { max-width: 220px; }
.field-postal input { text-transform: uppercase; }
.opt { text-transform: none; letter-spacing: 0; color: var(--stone); font-weight: 400; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.field-wide { grid-column: 1 / -1; }
.notes { margin: -6px 0 14px; }
.notes summary { cursor: pointer; color: var(--stone); font-size: var(--t-15); padding: 6px 0; }
.notes summary:hover { color: var(--graphite); }
.notes textarea { margin-top: 8px; resize: vertical; min-height: 84px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.legal { margin: 0; font-size: var(--t-13); color: var(--stone); }
.bonus { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 22px; padding: 14px 16px; background: color-mix(in oklch, var(--amber) 11%, var(--paper)); border-left: 4px solid var(--amber); }
.bonus-ico { width: 28px; height: 28px; flex: none; color: var(--amber-ink); }
.bonus p { margin: 0; font-size: var(--t-15); line-height: 1.45; }
.bonus b { font-weight: 720; }

/* actions */
.err { min-height: 1.5em; margin: 16px 0 0; color: var(--danger); font-size: var(--t-15); }
.err:empty { min-height: 0; margin: 0; }
.actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.btn-go { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 calc(26px + var(--btn-cut) * .5) 0 26px; border: 0; background: var(--amber); color: var(--graphite); font-size: var(--t-17); font-weight: 720; font-stretch: 106%; text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--btn-cut) * var(--slope)), calc(100% - var(--btn-cut)) 100%, 0 100%); transition: background var(--dur-micro) var(--ease-out); }
.btn-go:hover { background: var(--amber-hover); }
.btn-go:active { transform: scale(.98); }
.btn-go .arrow { transition: transform 240ms var(--ease-out); }
.btn-go:hover .arrow { transform: translateX(4px); }
.btn-go[aria-disabled="true"] { background: var(--frost); color: var(--stone); }
.btn-back { background: none; border: 0; padding: 12px 4px; color: var(--stone); font-size: var(--t-15); }
.btn-back:hover { color: var(--graphite); }
.btn-wa { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; min-height: 52px; padding: 0 20px; border: 1.5px solid var(--wa); border-radius: var(--radius); color: var(--graphite); font-weight: 640; text-decoration: none; font-size: var(--t-17); transition: background var(--dur-micro) var(--ease-out); }
.btn-wa svg { width: 22px; height: 22px; color: var(--wa); }
.btn-wa:hover { background: color-mix(in oklch, var(--wa) 9%, var(--paper)); }
.btn-ghost { background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: 10px 16px; font-size: var(--t-15); }
.btn-small { background: var(--amber); color: var(--graphite); border: 0; border-radius: var(--radius); padding: 10px 18px; font-size: var(--t-15); font-weight: 700; }
.link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

/* thank-you */
.thanks .display { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); }
.countdown { margin-top: 30px; max-width: 420px; }
.countdown-text { display: block; font-size: var(--t-15); color: var(--stone); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.countdown-track { display: block; height: 4px; background: var(--frost); overflow: hidden; }
.countdown-track i { display: block; height: 100%; background: var(--lime); transform-origin: left; transition: transform linear; }
.countdown-track i.run { transform: scaleX(0); }
.ref { margin: 26px 0 0; font-size: var(--t-13); color: var(--stone); letter-spacing: .06em; }

/* ---------- reviews list + project photos (static, below the quiz) ---------- */
.proof, .work { width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 2rem + 4vw, 6rem) var(--gutter) 0; }
.proof h2, .work h2 { margin: 0; font-size: var(--t-28); font-weight: 720; font-stretch: 112%; letter-spacing: -.01em; line-height: 1.15; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; padding-bottom: 20px; border-bottom: 2px solid var(--graphite); }
.badges { margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: var(--t-15); }
.badge { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.badge:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.badge b { font-weight: 750; }
.reviews { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.review { break-inside: avoid; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.review-top { margin: 0 0 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; font-size: var(--t-15); }
.review-who { font-weight: 650; }
.review-src { color: var(--stone); }
.review blockquote { margin: 0; font-size: var(--t-17); line-height: 1.55; color: color-mix(in oklch, var(--graphite) 86%, var(--paper)); }
.work { padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.work h2 { padding-bottom: 20px; border-bottom: 2px solid var(--graphite); margin-bottom: 24px; }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.work-item { aspect-ratio: 3 / 4; overflow: hidden; background: var(--chalk); }
.work-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-item:first-child { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% calc(var(--cut) * var(--slope)), 100% 100%, 0 100%); }

/* footer, dialog, cookie */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding: 0 var(--gutter); border-top: 1px solid var(--rule); color: var(--stone); font-size: var(--t-13); }
dialog { max-width: min(560px, calc(100vw - 32px)); background: var(--paper); color: var(--graphite); border: 1px solid var(--rule-strong); padding: 28px; }
dialog::backdrop { background: color-mix(in oklch, var(--graphite) 55%, transparent); }
dialog h2 { margin: 0 0 12px; font-size: var(--t-21); font-stretch: 110%; }
dialog p { color: color-mix(in oklch, var(--graphite) 85%, var(--paper)); font-size: var(--t-15); }
dialog a { color: var(--lime-deep); }
.cookie { position: fixed; right: 16px; bottom: 16px; z-index: 20; max-width: 400px; background: var(--paper); border: 1px solid var(--rule-strong); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; font-size: var(--t-13); color: var(--stone); box-shadow: 0 10px 30px color-mix(in oklch, var(--graphite) 14%, transparent); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
.noscript { padding: 24px; }

/* ---------- tablet / phone ---------- */
@media (max-width: 959px) {
  :root { --top-h: 56px; --cut: 28px; }
  .top-area { display: none; }
  .brand img { height: 26px; }
  .frame { display: block; min-height: 0; overflow-x: clip; }
  .visual { padding: 12px 16px 0; gap: 0; }
  .photo { flex: none; min-height: 0; height: clamp(100px, 17svh, 170px); }
  .caption { padding: 6px 12px 6px 10px; font-size: var(--t-13); }
  .caption-kicker { font-size: .625rem; }
  .plate { display: none; }
  .frame[data-step="0"] .photo { height: clamp(170px, 30svh, 320px); }
  .frame[data-step="done"] .photo { height: clamp(110px, 16svh, 160px); }
  .frame[data-step="1"] .visual, .frame[data-step="4"] .visual, .frame[data-step="5"] .visual { display: none; }
  .stage { padding: 20px 16px 24px; justify-content: flex-start; }
  .eyebrow { margin-bottom: 10px; }
  .display { font-size: clamp(2rem, 1.2rem + 4.4vw, 3rem); }
  .thanks .display { font-size: clamp(1.75rem, 1.2rem + 3vw, 2.25rem); }
  .lead { font-size: var(--t-17); margin-top: 14px; }
  .trust { margin-top: 16px; gap: 8px 18px; font-size: var(--t-13); }
  .trust .stars { font-size: var(--t-13); }
  .ico { width: 18px; height: 18px; }
  .intro-cta { margin-top: 22px; }
  .intro .intro-cta { position: sticky; bottom: 0; margin: 20px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule); z-index: 5; }
  .intro .call { display: none; }
  .intro-cta .btn-go { flex: 1 1 100%; justify-content: space-between; }
  .brief-line { display: block; margin: 0 0 12px; font-size: var(--t-13); color: var(--stone); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brief-line:empty { display: none; }
  .progress { margin-bottom: 14px; }
  .q { font-size: clamp(1.5rem, 1.1rem + 2vw, 2rem); }
  .hint { margin-top: 8px; }
  .body { margin-top: 18px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { grid-template-columns: 52px 1fr auto; padding: 7px 8px 7px 0; gap: 12px; }
  .tile-photo { width: 52px; height: 52px; }
  .tile .row-sub { display: none; }
  .row { padding: 13px 8px 13px 6px; }
  .row-label { font-size: var(--t-17); }
  .fields { grid-template-columns: 1fr; gap: 12px; margin-bottom: 18px; }
  .chips { margin-bottom: 18px; }
  .bonus { padding: 12px 14px; margin-bottom: 18px; }
  .actions { position: sticky; bottom: 0; margin: 20px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule); z-index: 5; }
  .actions .btn-go { flex: 1; justify-content: space-between; max-width: 320px; }
  .reviews { columns: 1; }
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .cookie { left: 0; right: 0; top: var(--top-h); bottom: auto; max-width: none; flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 16px; border-width: 0 0 1px; box-shadow: 0 6px 16px color-mix(in oklch, var(--graphite) 10%, transparent); }
  .cookie .btn-ghost, .cookie .btn-small { padding: 8px 12px; }
  .foot { padding: 12px 16px; flex-wrap: wrap; }
}
@media (max-width: 959px) and (max-height: 700px) {
  .hint { display: none; }
  .frame[data-step="0"] .photo { height: 24svh; }
  .photo { height: 15svh; }
  .row { padding: 11px 8px 11px 6px; }
  .tile { padding: 5px 8px 5px 0; }
  .tile-photo { width: 46px; height: 46px; }
  .lead { font-size: var(--t-15); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .photo-layers .layer, body:not(.ready) .photo-layers .layer.is-on { clip-path: none; transform: none; opacity: 0; }
  .photo-layers .layer.is-on { opacity: 1; }
}
