/* Korvex feature wall quiz — brand tokens from the premium quiz; signature and layout below "Feature wall". 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); }
  .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); }
}

/* =====================================================================
   Revision 30.09 evening — the site's grammar (korvexconstruction.ca):
   graphite header and first screen, wide display type, condensed caps labels,
   the 30° cut with a lime corner, a ruled facts band. Steps stay light (Alexei).
   ===================================================================== */
:root {
  --slab: #18212A;
  --aggregate: #A7ACA9;        /* secondary text on graphite, 7.9:1 */
  --mist: #C9CECB;             /* body text on graphite */
  --rule-dark: color-mix(in oklch, var(--chalk) 16%, var(--graphite));
}
/* condensed caps: the site's only eyebrow voice */
.eyebrow, .progress-label, .chips legend, .brief-head, .caption-kicker, .facts .label {
  font-stretch: 75%; font-weight: 620; letter-spacing: .05em; text-transform: uppercase;
}
.eyebrow { font-size: var(--t-15); }
.display { font-stretch: 125%; font-weight: 720; letter-spacing: -.025em; line-height: .98; }
.q { font-stretch: 120%; font-weight: 720; letter-spacing: -.022em; line-height: 1.02; }

/* graphite header */
.top { background: var(--graphite); border-bottom: 0; color: var(--chalk); }
.top-meta { color: var(--aggregate); }
.top-phone { color: var(--chalk); font-stretch: 112%; }

/* first screen and thank-you on graphite, like the site's hero */
.frame { transition: background-color 420ms var(--ease-out); }
.frame[data-step="0"] { background: var(--graphite); color: var(--chalk); }
/* Wider than the 1600px frame: the graphite first screen runs edge to edge (no white side bands, 02.10.2026). */
.frame[data-step="0"] { box-shadow: 0 0 0 100vmax var(--graphite); clip-path: inset(0 -100vmax); }
.frame[data-step="0"] .eyebrow { color: var(--lime); }
.frame[data-step="0"] .lead { color: var(--mist); }
.frame[data-step="0"] .trust { color: var(--chalk); }
.frame[data-step="0"] .stars { color: var(--amber); }
.frame[data-step="0"] .trust .insured, .frame[data-step="0"] .trust .insured .ico { color: var(--lime); }
.frame[data-step="0"] .call { color: var(--aggregate); }
.frame[data-step="0"] .call:hover { color: var(--chalk); }
.frame[data-step="0"] .photo { background: var(--slab); }
.frame[data-step="0"] :focus-visible { outline-color: var(--lime); }

.display .ln { text-wrap: balance; }
.frame[data-step="0"] .stage-inner { max-width: 800px; }
.frame[data-step="0"] .display { font-size: clamp(2.5rem, 1.4rem + 2.3vw, 3.4rem); }
/* the lime corner in the photo's cut (the site's hero mark) */
.visual { position: relative; }
.cut-mark { position: absolute; z-index: 2; top: 24px; right: 0; width: var(--cut); height: calc(var(--cut) * var(--slope));
  background: var(--lime); clip-path: polygon(0 0, 100% 0, 100% 100%); pointer-events: none;
  transform-origin: top right; animation: corner-in 700ms var(--ease-out) 500ms both; }
@keyframes corner-in { from { transform: scale(0); } }

/* facts band under the quiz, as under the site's hero */
.facts { background: var(--frost); border-top: 3px solid var(--lime); }
.facts ul { list-style: none; margin: 0 auto; padding: 8px var(--gutter); max-width: var(--max); display: grid; grid-template-columns: repeat(3, 1fr); }
.facts li { display: flex; align-items: flex-start; gap: 14px; padding: 20px 20px 20px 0; border-bottom: 1px solid color-mix(in oklch, var(--graphite) 10%, var(--frost)); font-stretch: 112%; font-weight: 620; font-size: var(--t-17); line-height: 1.25; }
.facts li:nth-last-child(-n+3) { border-bottom: 0; }
.facts li + li { }
.facts .ico { width: 24px; height: 24px; color: var(--graphite); margin-top: 3px; }
.facts .ico-star { color: var(--lime-deep); }
.facts li > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.facts .label { font-size: var(--t-13); color: var(--stone); }
.facts a { text-decoration-color: var(--lime-deep); text-underline-offset: 3px; }

/* answer rows: graphite selection, lime marker */
.row[aria-checked="true"], .tile[aria-checked="true"] { background: var(--chalk); }
.chip[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--chalk); }

/* contact: bonus, two fields in a row, segmented call time */
.bonus { align-items: center; }
.chips.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.chips.seg legend { grid-column: 1 / -1; }
.chips.seg .chip { border-radius: 0; min-height: 44px; padding: 8px 4px; font-size: var(--t-15); }
.chips.seg .chip + .chip { border-left-width: 0; }
.chips.seg .chip:first-of-type { border-radius: var(--radius) 0 0 var(--radius); }
.chips.seg .chip:last-of-type { border-radius: 0 var(--radius) var(--radius) 0; }
.notes .field { margin-top: 10px; }
.dock .btn-wa { margin-top: 12px; }

@media (max-width: 959px) {
  :root { --cut: 34px; }
  .cut-mark { top: 12px; right: 16px; }
  .frame[data-step="0"] .intro .intro-cta { background: var(--graphite); border-top-color: var(--rule-dark); }
  .frame[data-step="0"] .display { font-size: clamp(1.95rem, 1.1rem + 4.2vw, 2.75rem); font-stretch: 116%; }
  .frame[data-step="0"] .display .ln > span { display: inline; }
  .facts ul { grid-template-columns: 1fr 1fr; padding: 4px 16px; gap: 0 12px; }
  .facts li { padding: 14px 0; font-size: var(--t-15); gap: 10px; }
  .facts li:nth-last-child(-n+3) { border-bottom: 1px solid color-mix(in oklch, var(--graphite) 10%, var(--frost)); }
  .facts li:nth-last-child(-n+2) { border-bottom: 0; }
  .facts .ico { width: 20px; height: 20px; margin-top: 1px; }
  .facts .label { font-size: .75rem; }
  /* the action bar and WhatsApp stay together at the bottom */
  .actions { position: static; margin: 0; padding: 0; border: 0; background: none; }
  .dock { position: sticky; bottom: 0; z-index: 5; margin: 16px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule); }
  .dock .btn-go { min-height: 52px; }
  .dock .btn-wa { margin-top: 8px; min-height: 44px; font-size: var(--t-15); }
  .bonus { padding: 10px 12px; gap: 10px; margin-bottom: 14px; }
  .bonus-ico { width: 24px; height: 24px; }
  .bonus p { font-size: var(--t-13); line-height: 1.4; }
  .fields { grid-template-columns: 1fr; gap: 12px; margin-bottom: 14px; }
  .field input { min-height: 50px; padding: 12px 14px; }
  .chips { margin-bottom: 14px; }
  .chips legend { margin-bottom: 8px; }
  .chips.seg .chip { min-height: 42px; font-size: var(--t-13); }
  .notes { margin: -4px 0 8px; }
  .notes summary { font-size: var(--t-13); padding: 4px 0; }
  .legal { font-size: .75rem; line-height: 1.4; }
}
@media (max-width: 959px) and (max-height: 700px) {
  .frame[data-step="0"] .photo { height: 19svh; }
  .frame[data-step="0"] .stage { padding-top: 16px; }
  .frame[data-step="0"] .display { font-size: clamp(1.75rem, 1rem + 4vw, 2.25rem); }
  .frame[data-step="0"] .lead { margin-top: 10px; font-size: var(--t-15); line-height: 1.45; }
  .frame[data-step="0"] .trust { margin-top: 12px; gap: 6px 16px; }
  .frame[data-step="0"] .intro .intro-cta { margin-top: 14px; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .progress { margin-bottom: 10px; }
  .q { font-size: clamp(1.375rem, 1rem + 2vw, 1.75rem); }
  .stage { padding-top: 14px; }
  .bonus { margin-bottom: 10px; }
  .fields { margin-bottom: 10px; }
  .chips { margin-bottom: 10px; }
  .brief-line { margin-bottom: 8px; }
}
@media (max-width: 359px) {
  .fields { grid-template-columns: 1fr; }
}

/* =====================================================================
   Feature wall (07.10.2026): the live wall elevation, Q1 drawing tiles,
   Q2 checkboxes, Q3 two-column rows, thank-you with call + photo.
   ===================================================================== */
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.caption { color: var(--graphite); }
.frame[data-step="0"] .photo img { animation: photo-in 1.1s var(--ease-out) both; }
@keyframes photo-in { from { clip-path: polygon(0 0, 0% 0, -77% 100%, 0 100%); transform: scale(1.04); } to { clip-path: polygon(0 0, 177% 0, 100% 100%, 0 100%); transform: scale(1); } }

/* the elevation */
.wall-box { position: relative; display: none; flex-direction: column; background: var(--chalk); min-height: 0; }
.wall-box .wall { display: block; width: 100%; flex: 1; min-height: 0; overflow: visible; }
.wall-tag { margin: 0; display: flex; align-items: center; gap: 8px; font-size: var(--t-13); font-stretch: 75%; font-weight: 620; letter-spacing: .05em; text-transform: uppercase; color: var(--stone); }
.wall-tag::before { content: ""; width: 8px; height: 8px; background: var(--lime); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.wall-box.is-empty .wall-tag::before { background: var(--rule-strong); }
.wall { --sw: 1.5; }
.wall .s { fill: none; stroke: var(--graphite); stroke-width: var(--sw); stroke-linecap: round; stroke-linejoin: round; }
.wall .s-thin { stroke-width: calc(var(--sw) * .6); }
.wall .s-dim { stroke: var(--stone); stroke-width: calc(var(--sw) * .55); }
.wall .s-floor { stroke-width: calc(var(--sw) * 1.8); }
.wall .s-wall { stroke-width: calc(var(--sw) * 1.1); }
.wall .s-dash { stroke: var(--stone); stroke-dasharray: 4 4; stroke-width: calc(var(--sw) * .8); }
.wall .s-glare { stroke: var(--aggregate); }
.wall .s-flame { stroke: var(--amber); stroke-width: calc(var(--sw) * 1.1); }
.wall .s-led { stroke: var(--lime); stroke-width: calc(var(--sw) * 2.4); opacity: .95; }
.wall .s-q { stroke: var(--graphite); stroke-width: calc(var(--sw) * 1.1); }
.wall .f-accent { fill: color-mix(in oklch, var(--lime) 20%, var(--chalk)); stroke: none; }
.wall .f-accent + .s { stroke: var(--lime-deep); opacity: .55; }
.wall .f-paper { fill: var(--paper); }
.wall .f-screen { fill: var(--graphite); }
.wall .f-ink { fill: var(--graphite); }
.wall .room { font: 650 11px var(--font); font-stretch: 75%; letter-spacing: .12em; fill: var(--lime-deep); }
/* a new layer draws itself in lime, then settles to graphite (LED stays lime: it is the light) */
.ly.new .s { animation: draw 700ms var(--ease-out) backwards, ink 1.6s var(--ease-out) backwards; }
.ly.new .s-dash { animation: ink 1.6s var(--ease-out) backwards; }
.ly.new .f-accent, .ly.new .f-screen, .ly.new .f-ink { animation: fill-in 600ms var(--ease-out) backwards; }
@keyframes draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes ink { from { stroke: var(--lime-deep); } }
@keyframes fill-in { from { opacity: 0; } }
.room { animation: fill-in 500ms var(--ease-out) backwards; }

/* Q1: answer tiles carry their own mini elevation */
.tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 0; }
.tile { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 12px 14px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); }
.tile:last-child:nth-child(odd) { grid-column: auto; }
.tile .wall.mini { --sw: 3.6; height: 64px; width: 100%; background: var(--chalk); padding: 6px 4px 2px; transition: background var(--dur-micro) var(--ease-out); }
.tile-label { font-size: var(--t-15); font-weight: 600; font-stretch: 104%; line-height: 1.25; padding-right: 22px; }
.tile .row-mark { position: absolute; right: 10px; bottom: 14px; width: 16px; height: 18px; }
.tile:hover { background: var(--paper); border-color: var(--rule-strong); }
.tile:hover .wall.mini { background: var(--frost); }
.tile[aria-checked="true"] { border-color: var(--graphite); box-shadow: inset 0 -3px 0 var(--lime); background: var(--paper); }
.tile[aria-checked="true"] .wall.mini { background: color-mix(in oklch, var(--lime) 16%, var(--chalk)); }

/* Q2: checkboxes, square marker = several answers */
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--paper); text-align: left; font-size: var(--t-17); font-weight: 560; line-height: 1.2; transition: background var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.check:hover { border-color: var(--graphite); }
.check:active { transform: scale(.985); }
.check-box { position: relative; flex: none; width: 20px; height: 20px; border: 1.5px solid var(--rule-strong); border-radius: 2px; background: var(--paper); transition: background var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.check-box::after { content: ""; position: absolute; left: 5.5px; top: 1.5px; width: 5px; height: 10px; border: solid var(--graphite); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg) scale(0); transition: transform var(--dur-micro) var(--ease-out); }
.check[aria-checked="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--chalk); }
.check[aria-checked="true"] .check-box { background: var(--lime); border-color: var(--lime); }
.check[aria-checked="true"] .check-box::after { transform: rotate(45deg) scale(1); }

/* Q3: rows in two columns */
.rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.row { min-height: 56px; }

/* contact */
#contact .fields { margin-bottom: 16px; }

/* thank-you */
.thanks .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.thanks .eyebrow .ico { width: 18px; height: 18px; }
.photo-ask { margin-top: 26px; padding: 16px 18px; background: var(--chalk); border-left: 4px solid var(--lime); max-width: 520px; animation: settle 700ms var(--ease-out) 420ms both; }
.photo-ask-title { margin: 0; font-size: var(--t-19); font-weight: 720; font-stretch: 112%; line-height: 1.2; }
.photo-ask-text { margin: 4px 0 12px; font-size: var(--t-15); color: color-mix(in oklch, var(--graphite) 82%, var(--paper)); }
.photo-ask-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.photo-ask .btn-wa { margin: 0; background: var(--paper); }
.sms { font-size: var(--t-15); color: var(--stone); text-underline-offset: 3px; }
.sms:hover { color: var(--graphite); }
.dock-call { margin-top: 26px; animation: settle 700ms var(--ease-out) 520ms both; }
.btn-call { font-variant-numeric: tabular-nums; }
.btn-call .ico { width: 20px; height: 20px; }

/* before/after under the quiz */
.work-grid { grid-template-columns: repeat(2, minmax(0, 320px)); }
.work-item { position: relative; margin: 0; }
.work-item figcaption { position: absolute; left: 0; bottom: 0; background: var(--paper); padding: 6px 12px; font-size: var(--t-13); font-stretch: 75%; font-weight: 620; letter-spacing: .05em; text-transform: uppercase; }
.work-item:first-child { clip-path: none; }
.work-item:last-child { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% calc(var(--cut) * var(--slope)), 100% 100%, 0 100%); }

/* desktop: photo on the first screen, the drawing and the answers on the steps */
@media (min-width: 960px) {
  .frame:not([data-step="0"]) .photo, .frame:not([data-step="0"]) .cut-mark { display: none; }
  .frame:not([data-step="0"]) .wall-box { display: flex; flex: 1; padding: 36px 32px 24px; gap: 14px;
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% calc(var(--cut) * var(--slope)), 100% 100%, 0 100%); }
  .frame[data-step="0"] .plate { display: none; }
  .plate { padding: 14px 22px; }
  .brief-row { grid-template-columns: 96px 1fr; }
  .stage-inner { max-width: 700px; }
}

@media (max-width: 959px) {
  .frame[data-step="0"] .photo { height: clamp(150px, 27svh, 300px); }
  .photo img { object-position: 50% 28%; }
  .btn-go { white-space: nowrap; }
  .dock .actions { gap: 8px; }
  .dock .actions .btn-go { max-width: none; min-width: 0; flex: 1 1 auto; padding-left: 20px; justify-content: space-between; }
  .btn-back { flex: none; }
  .dock-call .btn-go { font-size: var(--t-15); font-stretch: 100%; gap: 10px; padding: 0 28px 0 18px; }
  .frame:not([data-step="0"]) .photo, .frame:not([data-step="0"]) .cut-mark { display: none; }
  .frame:not([data-step="0"]) .wall-box { display: flex; height: clamp(104px, 20svh, 180px); padding: 10px 12px 8px; gap: 4px; }
  .frame[data-step="1"] .visual { display: none; }  /* Q1 tiles draw the walls themselves */
  .frame[data-step="done"] .wall-box { height: clamp(90px, 15svh, 140px); }
  .wall-tag { font-size: .75rem; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile { padding: 8px 8px 10px; gap: 6px; }
  .tile .wall.mini { height: 46px; --sw: 4.2; }
  .tile-label { font-size: var(--t-15); line-height: 1.2; }
  .tile .row-mark { bottom: 10px; right: 8px; }
  .checks { gap: 6px; }
  .check { min-height: 48px; padding: 8px 10px; gap: 10px; font-size: var(--t-15); }
  .check-box { width: 18px; height: 18px; }
  .check-box::after { left: 4.5px; top: 1px; }
  .rows { column-gap: 12px; }
  .row { min-height: 50px; padding: 10px 8px 10px 6px; }
  .hint { margin-top: 6px; }
  .thanks .display { font-size: clamp(1.6rem, 1.1rem + 3vw, 2.1rem); }
  .thanks .lead { font-size: var(--t-15); margin-top: 10px; }
  .photo-ask { margin-top: 16px; padding: 12px 14px; }
  .photo-ask-title { font-size: var(--t-17); }
  .photo-ask-text { margin-bottom: 10px; }
  .photo-ask .btn-wa { flex: 1 1 100%; min-height: 46px; font-size: var(--t-15); }
  .dock-call { margin: 16px -16px 0; }
  .dock-call .btn-go { width: 100%; justify-content: center; }
  .work-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 959px) and (max-height: 700px) {
  .frame:not([data-step="0"]):not([data-step="done"]) .wall-box { height: 17svh; }
  .frame[data-step="done"] .wall-box { height: 13svh; }
  .frame[data-step="0"] .photo { height: 21svh; }
  .hint { display: block; font-size: var(--t-13); }
  .frame[data-step="1"] .hint, .frame[data-step="3"] .hint { display: none; }
  .check { min-height: 46px; }
  .row { min-height: 46px; }
  .thanks .display { font-size: 1.5rem; }
  .photo-ask { margin-top: 12px; }
  .dock-call { margin-top: 12px; }
}

@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; }
}

@media (max-width: 374px) {
  .dock .actions .btn-go { font-size: var(--t-15); gap: 10px; padding-left: 16px; }
  .btn-back { padding-right: 0; }
}

/* Always-visible start CTA: appears once the intro button leaves the viewport */
.float-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; justify-content: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--graphite); border-top: 1px solid var(--rule-dark); transform: translateY(110%); transition: transform 260ms var(--ease-out); }
.float-cta.on { transform: none; }
.float-cta .btn-go { width: 100%; max-width: 440px; min-height: 52px; justify-content: space-between; }
@media (prefers-reduced-motion: reduce) { .float-cta { transition: none; } }

/* =====================================================================
   07.10.2026 (b): in tune with Alexei's Feature Wall ad creatives —
   ink-navy ground, warm gold action, sage fills; Q1 answers are wall photos.
   ===================================================================== */
:root {
  --graphite: #121A25;       /* ink navy: header, first screen, text */
  --slab: #1B2635;
  --amber: #D2AE6D;          /* warm gold of the creatives' "Free Quote": ink text reads 8.4:1 */
  --amber-hover: #C29C58;
  --amber-ink: #7A5A22;
  --lime: #8FA874;           /* sage of "WALLS" / the green wall: fills, progress, selection */
  --lime-deep: #4E6438;      /* sage as text on white, 6.4:1 */
  --star: #8A6420;
}
.wall .s-led { stroke: var(--amber); }
.frame[data-step="0"] .photo img { object-position: 50% 62%; }
@media (max-width: 959px) { .frame[data-step="0"] .photo img { object-position: 50% 74%; } }

/* Q1: photo tiles, label on a shade at the bottom, like the ad collage */
.tile { display: block; padding: 0; border: 0; overflow: hidden; height: 150px; background: var(--graphite); isolation: isolate; }
.tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--ease-out); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, color-mix(in oklch, var(--graphite) 88%, transparent) 0%, color-mix(in oklch, var(--graphite) 40%, transparent) 42%, transparent 70%); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 3; box-shadow: inset 0 0 0 0 var(--lime); transition: box-shadow var(--dur-micro) var(--ease-out); pointer-events: none; }
.tile-label { position: absolute; z-index: 2; left: 12px; right: 34px; bottom: 10px; padding: 0; color: #F6F4EE; font-weight: 640; text-shadow: 0 1px 2px rgb(0 0 0 / .45); }
.tile .row-mark { z-index: 2; top: auto; bottom: 12px; right: 10px; }
.tile .row-mark::before { background: color-mix(in oklch, #F6F4EE 70%, transparent); }
.tile .row-mark::after { background: color-mix(in oklch, var(--graphite) 55%, transparent); }
.tile:hover { background: var(--graphite); }
.tile:hover .tile-img { transform: scale(1.05); }
.tile:hover .row-mark::after { background: color-mix(in oklch, var(--graphite) 55%, transparent); }
.tile[aria-checked="true"] { box-shadow: none; background: var(--graphite); }
.tile[aria-checked="true"]::before { box-shadow: inset 0 0 0 3px var(--lime); }
.tile[aria-checked="true"] .row-mark::before { background: var(--lime); }
@media (max-width: 959px) {
  .tile { height: clamp(96px, 15.5svh, 132px); padding: 0; }
  .tile-label { left: 10px; right: 30px; bottom: 8px; font-size: var(--t-15); line-height: 1.18; }
  .tile .row-mark { bottom: 9px; right: 8px; }
}
