/* Braive. Page styles on top of the scrollcraft floor.
   The engine files in assets/engine are never edited. Everything Braive lives here.

   Font: Neue Montreal is the decided family. Until the licence is bought, General Sans
   carries the page. See assets/fonts/README.txt for the swap. */

@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Locked palette. The identity orange never changes. */
  --orange: #D9641E; --orange-300: #E89A6E; --orange-700: #B85B1C; --orange-900: #9A4B15;
  --orange-50: #FAEDDD; --ink: #1A130C; --paper: #FBFAF7; --soft: #F5DCC2;
  --ink-soft: #5C4E42; --paper-soft: #CFC6BB;

  --sc-canvas: #FBFAF7; --sc-surface: #FFFFFF; --sc-ink: #1A130C; --sc-ink-soft: #5C4E42;
  --sc-accent: #D9641E; --sc-accent-ink: #1A130C;

  --font: "Neue Montreal", "General Sans", "Helvetica Neue", Arial, sans-serif;
  --sc-font-display: var(--font); --sc-font-text: var(--font); --sc-font-mono: var(--font);

  /* Bubble-derived radii */
  --r4: 4px; --r8: 8px; --r12: 12px; --r18: 18px; --r28: 28px;
  --sc-r-sm: 8px; --sc-r-md: 12px; --sc-r-lg: 18px;

  /* Warm brown shadows */
  --sc-shadow-color: 28 45% 12%;
  --shadow-lift: 0 2px 4px rgba(26,19,12,.08), 0 14px 34px -10px rgba(26,19,12,.22);
  --shadow-cta: 0 2px 3px rgba(154,75,21,.25), 0 10px 22px -8px rgba(217,100,30,.55);

  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --band: clamp(5rem, 10vw, 10rem);
  --h2: clamp(2.4rem, 1.5rem + 3.9vw, 5.2rem);
  --h3: clamp(1.55rem, 1.2rem + 1.5vw, 2.5rem);
  --bar-h: 4.5rem;
}

html { scroll-padding-top: calc(var(--bar-h) + 1rem); }
body { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.55; letter-spacing: -.003em; font-feature-settings: "ss01" 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: var(--h2); font-weight: 500; line-height: 1.02; letter-spacing: -.032em; }
h3 { font-size: var(--h3); font-weight: 500; line-height: 1.1; letter-spacing: -.022em; }
b { font-weight: 600; }
a { color: inherit; }
section, .night-head, .night-foot { padding-inline: var(--gutter); }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-block; padding: .95rem 1.7rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.2; white-space: nowrap;
  background: var(--orange); color: var(--ink); box-shadow: var(--shadow-cta);
  transition: background-color 140ms ease-out, box-shadow 140ms ease-out, scale 140ms ease-out;
}
.btn:hover { background: #E4722C; box-shadow: 0 3px 4px rgba(154,75,21,.25), 0 14px 26px -8px rgba(217,100,30,.62); }
.btn:active { scale: .98; }
.btn-small { padding: .68rem 1.2rem; font-size: 1rem; box-shadow: none; }
.btn-large { padding: 1.15rem 2.2rem; font-size: 1.25rem; }
.link-quiet, .link-strong {
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange);
  text-decoration-thickness: 2px; text-underline-offset: .28em;
  transition: text-underline-offset 140ms ease-out, color 140ms ease-out;
}
.link-quiet:hover, .link-strong:hover { text-underline-offset: .4em; color: var(--orange-900); }

/* ----------------------------------------------------------------- bar -- */
.bar {
  position: sticky; top: 0; z-index: 60; height: var(--bar-h); padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 2rem;
  background: var(--paper); color: var(--ink);
  transition: background-color 240ms ease-out, color 240ms ease-out;
}
.logo { display: flex; align-items: center; gap: .55rem; font-size: 1.45rem; font-weight: 600; letter-spacing: -.03em; text-decoration: none; }
.logo svg { width: 2rem; height: 2rem; }
.bar-links { display: flex; gap: 1.8rem; margin-left: auto; }
.bar-links a { text-decoration: none; font-size: 1rem; font-weight: 500; }
.bar-links a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.is-night .bar { background: var(--ink); color: var(--paper); }
@media (max-width: 860px) {
  :root { --bar-h: 4rem; }
  .bar-links { display: none; }
  .bar .btn { margin-left: auto; }
}

/* ---------------------------------------------------------------- hero -- */
.hero { position: relative; overflow: clip; padding-top: clamp(1.25rem, 3.4vh, 3.5rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.hero-art { position: absolute; top: clamp(0rem, 4vh, 3rem); right: calc(var(--gutter) * -.6); width: min(46vw, 78vh); aspect-ratio: 1; }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bubble path { fill: var(--soft); }
.hero-bars rect { fill: var(--orange); transform-box: fill-box; transform-origin: center; }
.hero-copy { position: relative; }
h1 { font-size: clamp(3rem, min(7.9vw, 13.4vh), 9rem); line-height: .98; letter-spacing: -.042em; font-weight: 300; max-width: 11.5em; }
.h1-a { display: block; white-space: nowrap; }
h1 em { display: block; font-style: normal; font-weight: 600; color: var(--orange-900); max-width: 8.6em; margin-top: .06em; }
.hero-sub { max-width: 40rem; margin-top: clamp(1.1rem, 2.4vh, 2rem); }
.lede { font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.38; letter-spacing: -.012em; }
.lede-short { display: none; }
.own { margin-top: .55rem; font-size: 1.125rem; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1rem; }
.micro { margin-top: 1rem; font-size: 1rem; color: var(--ink-soft); max-width: 34rem; }
.facts { position: relative; margin-top: clamp(3rem, 7vh, 5.5rem); max-width: 62rem; font-size: clamp(1.25rem, 1rem + 1.2vw, 2.1rem); line-height: 1.26; letter-spacing: -.02em; font-weight: 300; }
.facts b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--orange-900); }
@media (max-width: 860px) {
  .hero-art { position: relative; top: auto; right: auto; width: 62vw; margin: 0 -8vw -14vw auto; }
  h1 { font-size: clamp(2.9rem, 13.4vw, 5.5rem); }
  .h1-a { white-space: normal; }
}
@media (max-width: 520px) {
  .lede-full { display: none; } .lede-short { display: inline; }
  .hero-ctas .btn { width: 100%; text-align: center; }
}

/* ---------------------------------------------------------------- leak -- */
.leak { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); padding-block: var(--band); }
.leak-text { position: sticky; top: calc(var(--bar-h) + 2rem); align-self: start; }
.leak-text p { margin-top: 1.1rem; max-width: 34rem; color: var(--ink-soft); }
.leak-text h2 { margin-bottom: 1.8rem; }
.leak-text .leak-turn { color: var(--ink); }
.weekend h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.tl { margin-top: 1.75rem; }
.tl li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.25rem; padding-block: .9rem; }
.tl .t { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink-soft); padding-top: .12em; }
.tl .d { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.2; letter-spacing: -.015em; font-weight: 500; }
.tl small { display: block; margin-top: .35rem; font-size: 1.0625rem; line-height: 1.4; letter-spacing: 0; font-weight: 400; color: var(--ink-soft); }
.tl-gap { display: block !important; height: clamp(16rem, 58vh, 36rem); margin-left: 3.6rem; padding: 0 !important; border-left: 2px dotted rgba(154,75,21,.5); }
.tl-bad .d { font-size: clamp(1.9rem, 1.3rem + 2.3vw, 3.3rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 600; color: var(--orange-900); }
.gone { margin-top: 1.5rem; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.25; letter-spacing: -.015em; }
@media (max-width: 860px) {
  .leak { grid-template-columns: minmax(0, 1fr); }
  .leak-text { position: static; }
  .tl li { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .tl-gap { margin-left: 1rem; height: 44vh; }
}

/* ----------------------------------------------------------------- who -- */
.who { padding-block: var(--band) calc(var(--band) * .7); }
.who h2 { max-width: 13em; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.who-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1rem clamp(2rem, 6vw, 6rem); align-items: start; padding-block: 1.5rem; }
.who-row p { color: var(--ink-soft); max-width: 38rem; }
.who-line { margin-top: clamp(2rem, 4vw, 3.5rem); max-width: 50rem; font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); line-height: 1.3; letter-spacing: -.015em; font-weight: 500; }
.who-line span { color: var(--orange-900); }
@media (max-width: 860px) { .who-row { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------- doors -- */
.doors { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); padding-block: calc(var(--band) * .4) var(--band); }
.doors-head { grid-column: 1 / -1; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.doors-head h2 { font-size: clamp(3rem, 2rem + 6vw, 8rem); font-weight: 300; letter-spacing: -.04em; line-height: .98; }
.doors-head p { margin-top: 1.25rem; max-width: 36rem; font-size: 1.25rem; line-height: 1.35; color: var(--ink-soft); }
.door-label { font-weight: 600; color: var(--orange-900); font-size: 1.125rem; }
.door h3 { margin-top: .6rem; }
.door .for { margin-top: 1rem; color: var(--ink-soft); }
.door ul { margin-top: 1.5rem; }
.door li { position: relative; padding-left: 1.5rem; margin-top: .75rem; line-height: 1.4; }
.door li::before { content: ""; position: absolute; left: 0; top: .28em; width: 7px; height: .85em; border-radius: 999px; background: var(--orange); }
.price { margin-top: 1.75rem; color: var(--ink-soft); }
.price b { display: block; color: var(--ink); font-size: 1.25rem; letter-spacing: -.012em; }
.door-a { grid-column: 1 / span 7; background: var(--soft); border-radius: var(--r28); padding: clamp(1.75rem, 4vw, 3.5rem); }
.door-a .for, .door-a .price { color: #4A3D32; }
.door-a h3 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1.04; letter-spacing: -.03em; }
.door-b { grid-column: 8 / -1; padding: clamp(1.75rem, 4vw, 3.5rem) 0 0 clamp(.5rem, 3vw, 3rem); margin-top: clamp(0rem, 9vw, 9rem); }
.doors-foot { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.addon { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); line-height: 1.28; letter-spacing: -.015em; }
.addon b { color: var(--orange-900); }
.open-door { color: var(--ink-soft); }
@media (max-width: 860px) {
  .door-a, .door-b { grid-column: 1 / -1; }
  .door-b { padding-inline: 0; margin-top: 2rem; }
  .doors-foot { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- work -- */
.work { padding-block: var(--band) var(--band); background: #fff; }
.work-head { max-width: 58rem; }
.work-head p { margin-top: 1rem; font-size: 1.25rem; color: var(--ink-soft); }
.expert { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); margin-top: clamp(3rem, 6vw, 5rem); align-items: start; }
.expert-text { grid-column: 1 / span 4; position: relative; z-index: 2; }
.expert-text h3 { margin-top: .6rem; }
.expert-text p:last-child { margin-top: 1rem; color: var(--ink-soft); }
/* The two screens trade these classes. page.js flies .screen between the slots;
   the address bar scales with the card so a screen keeps one shape in flight. */
.shot-large { grid-column: 5 / -1; grid-row: 1 / span 2; }
.shot-small { grid-column: 1 / span 4; grid-row: 2; margin-top: clamp(1.5rem, 3vw, 3rem); }
.screen { position: relative; container-type: inline-size; background: var(--paper); border-radius: var(--r18); overflow: clip; box-shadow: var(--shadow-lift); transition: border-radius .3s, transform .15s var(--sc-ease-out); }
.shot-large .screen { margin-right: calc(var(--gutter) * -1); border-radius: var(--r18) 0 0 var(--r18); }
.shot.is-rising { position: relative; z-index: 3; }
.urlbar { display: flex; align-items: center; height: 4.4cqi; padding-inline: 2.2cqi; background: #F2EEE7; font-size: clamp(.6875rem, 1.9cqi, .9375rem); line-height: 1; white-space: nowrap; color: var(--ink-soft); }
.screen > img { display: block; width: 100%; height: auto; }
.shot figcaption { padding-top: .9rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.4; transition: opacity .18s; }
.shot-small figcaption { min-height: 5.3rem; }
.shot figcaption b { display: block; color: var(--ink); font-size: 1.125rem; }
.is-quiet .shot figcaption { opacity: 0; }
.shot-flip { position: absolute; inset: 0; z-index: 2; width: 100%; padding: 0; border: 0; border-radius: inherit; background: none; cursor: pointer; }
.shot-flip:focus-visible { outline: 3px solid var(--orange-900); outline-offset: -3px; }
.shot-large .shot-flip { display: none; }
@media (hover: hover) {
  .shot-small .screen:hover { transform: translateY(-4px); }
}
.proofline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 4vw, 4rem); }
.proofline li { line-height: 1.42; color: var(--ink-soft); }
.proofline b { display: block; color: var(--ink); font-size: 1.1875rem; letter-spacing: -.012em; margin-bottom: .25rem; }
.expert .proofline { grid-column: 1 / -1; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
@media (max-width: 860px) {
  .expert-text, .shot-small { grid-column: 1 / -1; grid-row: auto; }
  .shot-large { grid-column: 1 / -1; grid-row: auto; margin-top: 2rem; order: 1; }
  .shot-small { order: 2; }
  .shot-large .screen { margin-right: 0; border-radius: var(--r18); }
  .shot figcaption { min-height: 5.3rem; }
  .urlbar { height: 1.6rem; padding-inline: .75rem; }
  .proofline { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------- night --
   The one dark moment. Same ink from the head to the foot, no glow. */
.night { background: var(--ink); color: var(--paper); border-radius: var(--r28) var(--r28) 0 0; }
.night .door-label { color: var(--orange-300); }
.night-head { padding-top: var(--band); padding-bottom: 1rem; max-width: 62rem; }
.night-head h3 { margin-top: .6rem; font-size: var(--h2); font-weight: 500; line-height: 1.02; letter-spacing: -.032em; }
.night-head p:last-child { margin-top: 1.2rem; max-width: 40rem; font-size: 1.25rem; line-height: 1.38; color: var(--paper-soft); }
.after-hours { padding: 0; }
.ah-stage { background: var(--ink); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: calc(var(--bar-h) + 1.25rem) var(--gutter) 1.5rem; }
.ah-left { min-width: 0; }
.clock { position: relative; height: 1.05em; font-size: clamp(3rem, 1.4rem + 6.4vw, 8.6rem); font-weight: 300; letter-spacing: -.045em; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.clock span { position: absolute; inset: 0 auto auto 0; }
.ah-labels { position: relative; min-height: 8.5rem; margin-top: 1.5rem; max-width: 30rem; }
.ah-labels p { position: absolute; inset: 0 0 auto 0; color: var(--paper-soft); font-size: 1.125rem; line-height: 1.4; }
.ah-labels b { display: block; color: var(--paper); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); letter-spacing: -.02em; line-height: 1.15; margin-bottom: .4rem; font-weight: 500; }
.ah-right { position: relative; display: grid; justify-items: center; align-items: center; height: 100%; min-height: 0; }
.ah-right > * { grid-area: 1 / 1; }

.phone {
  position: relative; width: min(100%, 23rem); height: 34rem; max-height: calc(100svh - var(--bar-h) - 3rem);
  background: #FFFDF9; color: var(--ink); border-radius: var(--r28); padding: 1.1rem .95rem;
  box-shadow: 0 0 0 7px #33291F, 0 24px 50px -16px rgba(0,0,0,.6); overflow: clip;
}
.ring { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .55rem; pointer-events: none; }
.ring i { width: 1.15rem; height: 8.6rem; border-radius: 999px; background: var(--orange); transform-origin: center; }
.ring i:nth-child(1) { height: 3.4rem; } .ring i:nth-child(2), .ring i:nth-child(4) { height: 6.2rem; } .ring i:nth-child(5) { height: 2.6rem; }
.thread { position: absolute; inset: 1.1rem .95rem; display: flex; flex-direction: column; gap: .3rem; }
.missed { text-align: center; font-size: .9375rem; font-weight: 500; color: var(--ink-soft); margin-bottom: .45rem; }
.bubble { font-size: clamp(1rem, .55rem + 1.25vh, 1.125rem); line-height: 1.3; font-weight: 500; padding: .55rem .75rem; border-radius: var(--r18); max-width: 92%; }
.bubble.out { align-self: flex-end; background: var(--orange); color: var(--ink); border-bottom-right-radius: var(--r4); }
.bubble.in { align-self: flex-start; background: #EFE9DF; border-bottom-left-radius: var(--r4); margin-top: .35rem; }
.meta { align-self: flex-end; font-size: .875rem; color: var(--ink-soft); }
.booked { align-self: flex-start; margin-top: .5rem; padding: .35rem .8rem; border-radius: 999px; font-size: 1rem; font-weight: 600; color: var(--orange-900); background: var(--orange-50); white-space: nowrap; }

.score { width: min(100%, 29rem); background: var(--paper); color: var(--ink); border-radius: var(--r28); padding: 1.5rem 1.6rem 1.7rem; box-shadow: 0 24px 50px -16px rgba(0,0,0,.6); }
.score-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.score-head b { font-size: 1.25rem; letter-spacing: -.012em; }
.ex { font-size: .9375rem; font-weight: 600; color: var(--orange-900); background: var(--orange-50); padding: .2rem .7rem; border-radius: 999px; white-space: nowrap; }
.score dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: .32rem; }
.score dt { color: var(--ink-soft); }
.score dd { font-size: 1.625rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.score dd small { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.score-lbl { margin-top: .9rem; font-weight: 600; }
.src li { margin-top: .4rem; font-size: 1rem; }
.src i { display: block; height: .55rem; margin-top: .15rem; border-radius: 999px; background: var(--orange); width: calc(var(--w) * 100%); transform-origin: left; transform: scaleX(clamp(0, calc((var(--sc-p, 1) - var(--at)) / .08), 1)); }

.night-foot { padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: var(--band); }
.night .proofline li { color: var(--paper-soft); }
.night .proofline b { color: var(--paper); }
.work-note { margin-top: clamp(2rem, 4vw, 3.5rem); max-width: 46rem; font-size: 1rem; color: var(--paper-soft); }

@media (max-width: 860px) {
  .ah-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: .75rem; align-items: stretch; padding-top: calc(var(--bar-h) + .5rem); padding-bottom: 1rem; }
  .clock { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .ah-labels { min-height: 4.6rem; margin-top: .35rem; max-width: none; font-size: 1rem; }
  .ah-labels p { font-size: 1rem; line-height: 1.3; }
  .ah-labels b { font-size: 1.1875rem; margin-bottom: .15rem; }
  .phone { width: min(100%, 21rem); height: min(100%, 33rem); max-height: none; }
  .ah-right { align-items: start; }
  .score { padding: 1.1rem 1.2rem 1.25rem; }
  .score dd { font-size: 1.375rem; }
}

/* ---------------------------------------------------------------- dawn -- */
.dawn { padding-block: var(--band); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); }
.dawn h2 { grid-column: 1 / -1; font-weight: 300; font-size: clamp(2.8rem, 1.8rem + 5.2vw, 7rem); letter-spacing: -.04em; line-height: .98; max-width: 11em; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.promise { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1rem clamp(2rem, 6vw, 6rem); padding-block: 1.25rem; }
.promise h3 { font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); line-height: 1.05; letter-spacing: -.028em; }
.promise p { color: #4A3D32; }
.ownership { grid-column: 1 / -1; margin-top: clamp(2.5rem, 6vw, 5rem); max-width: 56rem; font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.5rem); line-height: 1.18; letter-spacing: -.024em; }
.ownership b { color: var(--orange-900); font-weight: 600; }
@media (max-width: 860px) { .promise { grid-template-columns: minmax(0, 1fr); } }

/* ----------------------------------------------------------------- how -- */
.how { padding-block: var(--band); }
.how h2 { max-width: 15em; }
.steps { margin-top: clamp(2.5rem, 5vw, 4.5rem); max-width: 68rem; margin-left: auto; }
.steps li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: .5rem clamp(2rem, 5vw, 5rem); padding-block: 1.25rem; align-items: baseline; }
.steps p { color: var(--ink-soft); }
@media (max-width: 860px) { .steps li { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- meet -- */
.meet { padding-block: var(--band) calc(var(--band) * .8); background: var(--orange-50); border-radius: var(--r28); margin-inline: clamp(.5rem, 1.5vw, 1.25rem); overflow: clip; }
.meet-title { font-weight: 300; }
.meet-num { display: block; font-size: clamp(9rem, 26vw, 25rem); line-height: .82; letter-spacing: -.06em; font-weight: 700; color: var(--orange-900); font-variant-numeric: tabular-nums; margin-left: -.03em; }
.meet-line { display: block; margin-top: clamp(1rem, 2.5vw, 2rem); max-width: 18em; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.9rem); line-height: 1.06; letter-spacing: -.03em; }
.meet-line b { font-weight: 600; }
.meet-source { margin-top: 1rem; font-size: 1rem; color: var(--ink-soft); }
.meet-small { margin-top: .15rem; font-size: 1rem; color: var(--ink-soft); }
.relay { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 1.5vw, 1.5rem); margin-top: clamp(3rem, 6vw, 5rem); padding-block: 1.5rem 0; }
.vphone { min-width: 0; }
.vphone button { display: block; position: relative; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: var(--r28); background: #33291F; overflow: clip; cursor: pointer; box-shadow: 0 0 0 5px #33291F, 0 18px 36px -16px rgba(26,19,12,.45); transform: scale(.88); filter: brightness(.58) saturate(.8); transition: transform 500ms cubic-bezier(.2, 0, 0, 1), filter 500ms cubic-bezier(.2, 0, 0, 1); }
.vphone button img, .vphone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vphone video { opacity: 0; transition: opacity 200ms ease-out; }
.vphone.is-playing video { opacity: 1; }
.vphone.is-active button { transform: none; filter: none; }
.vphone button:hover { filter: brightness(.78) saturate(.9); }
.vphone.is-active button:hover { filter: none; }
.vphone figcaption { margin-top: 1.1rem; text-align: center; font-weight: 600; font-size: 1.125rem; opacity: 0; transition: opacity 300ms ease-out; }
.vphone.is-active figcaption { opacity: 1; }
.meet-offer { margin-top: clamp(2rem, 4vw, 3rem); max-width: 40rem; font-size: 1.25rem; line-height: 1.32; letter-spacing: -.012em; }
@media (max-width: 860px) {
  .relay { display: flex; grid-template-columns: none; gap: .75rem; margin-inline: calc(var(--gutter) * -1); padding-inline: 14vw; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .relay::-webkit-scrollbar { display: none; }
  .vphone { flex: 0 0 72vw; scroll-snap-align: center; }
  .vphone button { max-height: 72svh; aspect-ratio: 9 / 16; width: auto; height: auto; margin-inline: auto; }
  .vphone button { width: min(72vw, calc(72svh * 9 / 16)); }
}

/* ---------------------------------------------------------------- dave -- */
.dave { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: var(--band); }
.dave-photo { max-width: 26rem; }
.dave-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1.04; object-fit: cover; object-position: 50% 20%; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='10 14 100 91' preserveAspectRatio='none'%3E%3Cpath d='M 28 14 H 92 C 102.5 14 110 21.5 110 32 V 70 C 110 80.5 102.5 88 92 88 H 58 L 41 102.3 C 37.2 105.5 32.4 102.8 33.3 98.2 L 35.2 88 H 28 C 17.5 88 10 80.5 10 70 V 32 C 10 21.5 17.5 14 28 14 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='10 14 100 91' preserveAspectRatio='none'%3E%3Cpath d='M 28 14 H 92 C 102.5 14 110 21.5 110 32 V 70 C 110 80.5 102.5 88 92 88 H 58 L 41 102.3 C 37.2 105.5 32.4 102.8 33.3 98.2 L 35.2 88 H 28 C 17.5 88 10 80.5 10 70 V 32 C 10 21.5 17.5 14 28 14 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.dave-text p { margin-top: 1.1rem; max-width: 40rem; color: var(--ink-soft); }
.dave-text b { color: var(--ink); }
.dave-text h2 { margin-bottom: 1.6rem; }
.dave-text .link-strong { display: inline-block; margin-top: 1.5rem; font-size: 1.25rem; }
@media (max-width: 860px) { .dave { grid-template-columns: minmax(0, 1fr); } .dave-photo { max-width: 18rem; } }

/* --------------------------------------------------------------- proof -- */
.proof { padding-block: calc(var(--band) * .4) var(--band); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); }
.proof h2 { grid-column: 1 / -1; max-width: 20em; }
.proof-story { grid-column: 1 / span 8; margin-top: clamp(2rem, 4vw, 3.5rem); font-size: clamp(1.25rem, 1.1rem + .7vw, 1.65rem); line-height: 1.32; letter-spacing: -.014em; }
.pull { grid-column: 1 / -1; margin-top: clamp(3.5rem, 8vw, 7rem); }
.pull blockquote { font-size: clamp(2.3rem, 1.3rem + 4.4vw, 6rem); line-height: 1.02; letter-spacing: -.036em; font-weight: 300; text-wrap: balance; }
.pull figcaption { margin-top: 1.25rem; font-weight: 600; }
.proof-side { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 6rem); margin-top: clamp(3rem, 6vw, 5rem); }
.audit { background: var(--soft); border-radius: var(--r18) var(--r18) var(--r18) var(--r4); padding: 1.6rem 1.75rem; align-self: start; }
.audit figcaption { margin-top: .85rem; font-weight: 600; font-size: 1rem; }
.why-only h3 { font-size: 1.625rem; }
.why-only p { margin-top: .8rem; color: var(--ink-soft); }
@media (max-width: 860px) { .proof-story { grid-column: 1 / -1; } .proof-side { grid-template-columns: minmax(0, 1fr); } }

/* ----------------------------------------------------------------- faq -- */
.faq { padding-block: calc(var(--band) * .5) var(--band); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.faq h2 { position: sticky; top: calc(var(--bar-h) + 2rem); font-size: clamp(2.2rem, 1.5rem + 2.8vw, 4rem); }
details { border-radius: var(--r12); transition: background-color 140ms ease-out; }
details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: .95rem .25rem; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.375rem); font-weight: 500; letter-spacing: -.012em; line-height: 1.24; }
details summary::-webkit-details-marker { display: none; }
details summary:hover { color: var(--orange-900); }
/* The plus and minus are drawn, so there is no dash character anywhere. */
details summary::after { content: ""; flex: 0 0 1rem; height: 1rem; background: linear-gradient(var(--orange-900), var(--orange-900)) center / 100% 2px no-repeat, linear-gradient(var(--orange-900), var(--orange-900)) center / 2px 100% no-repeat; transition: background-size 180ms ease-out; }
details[open] summary::after { background-size: 100% 2px, 2px 0; }
details p { padding: 0 2.5rem 1.25rem .25rem; color: var(--ink-soft); max-width: 44rem; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq h2 { position: static; } }

/* ----------------------------------------------------------------- ask -- */
.ask { padding-block: calc(var(--band) * .9); background: var(--soft); }
.ask h2 { font-size: clamp(2.8rem, 1.6rem + 5.8vw, 7.6rem); font-weight: 300; letter-spacing: -.042em; line-height: .98; max-width: 11em; }
.ask p { margin-top: 1.5rem; max-width: 38rem; font-size: 1.25rem; line-height: 1.36; color: #4A3D32; }
.ask .btn { margin-top: 2rem; }
@media (max-width: 520px) { .ask .btn { width: 100%; text-align: center; white-space: normal; } }

/* -------------------------------------------------------------- footer -- */
.foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem clamp(2rem, 5vw, 5rem); padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); background: var(--paper); color: var(--ink-soft); font-size: 1rem; }
.foot-brand { display: flex; align-items: center; gap: .5rem; align-self: start; font-size: 1.45rem; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.foot-brand svg { width: 2rem; height: 2rem; }
.foot-text p + p { margin-top: .35rem; }
.foot-text { max-width: 34rem; }
.foot-links { display: grid; gap: .3rem; }
.foot-links a { color: var(--orange-900); font-weight: 600; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: .22em; }
@media (max-width: 860px) { .foot { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------- inner pages -- */
.page-hero { padding-block: clamp(3rem, 8vw, 6.5rem) clamp(2rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(2.8rem, 1.6rem + 6vw, 7.6rem); line-height: .98; max-width: 11.5em; }
.page-hero p { margin-top: 1.5rem; max-width: 40rem; font-size: 1.25rem; line-height: 1.38; color: var(--ink-soft); }
.page-band { padding-block: clamp(2.5rem, 6vw, 5rem); }
.page-band > p { margin-top: 1.1rem; max-width: 42rem; color: var(--ink-soft); }
.page-band h2 { max-width: 16em; }
.paths { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem clamp(1.5rem, 4vw, 4rem); padding-block: 1rem 3rem; align-items: start; }
.path-a { background: var(--soft); border-radius: var(--r28); padding: clamp(1.75rem, 4vw, 3rem); }
.path-b { padding-top: clamp(1.75rem, 4vw, 3rem); }
.paths p { margin-block: .75rem 1.25rem; color: #4A3D32; max-width: 32rem; }
.form-band { padding-block: clamp(2.5rem, 6vw, 5rem) var(--band); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.form-band .intro p { margin-top: 1rem; color: var(--ink-soft); }
.form-band form { display: grid; gap: .3rem; }
.form-band label { margin-top: .9rem; font-weight: 600; }
.form-band input, .form-band select, .form-band textarea { width: 100%; padding: .8rem 1rem; border: 1.5px solid rgba(26,19,12,.35); border-radius: var(--r12); background: #fff; transition: border-color 140ms ease-out; }
.form-band input:focus, .form-band select:focus, .form-band textarea:focus { border-color: var(--orange-900); outline: 2px solid var(--orange-900); outline-offset: 1px; }
.form-band textarea { min-height: 8rem; resize: vertical; }
.form-band button { margin-top: 1.5rem; justify-self: start; border: 0; cursor: pointer; }
.reassure { margin-top: 1rem; font-size: 1rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .paths, .form-band { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .btn, .vphone button, .vphone video, .vphone figcaption, details summary::after { transition: none; }
  .src i { transform: none; }
}

/* ---------------------------------------------------- the build with art --
   The rendered objects sit loose on the page, never in tiles. */

/* Logo */
.logo svg { width: 8.2rem; height: 2.2rem; color: inherit; }
.foot-brand svg { width: 8.2rem; height: 2.2rem; color: var(--ink); }

/* The day, along the bottom of the nav. A sun by day, a moon after hours. */
.day { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 2px; background: rgba(154,75,21,.14); pointer-events: none; }
.day i { position: absolute; top: -5px; left: calc(var(--day, 0) * (100% - 12px)); width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.is-night .day { background: rgba(251,250,247,.16); }
.is-night .day i { background: transparent; box-shadow: inset -4px -2px 0 0 var(--paper); }

/* Hero */
.hero-light { position: absolute; inset: 0; background: url("../img/gfx/light-window.webp") right center / cover no-repeat; opacity: .5; mix-blend-mode: multiply; pointer-events: none; -webkit-mask: linear-gradient(90deg, transparent 22%, #000 62%); mask: linear-gradient(90deg, transparent 22%, #000 62%); }
.hero-art { top: clamp(.5rem, 3vh, 2.5rem); right: clamp(.5rem, 2vw, 2rem); width: min(39vw, 68vh); aspect-ratio: auto; }
.hero-art img { width: 100%; height: auto; filter: drop-shadow(0 26px 34px rgba(120,62,14,.26)); }

/* The wait */
.tl-gap { position: relative; }
.gap-bowl { position: absolute; left: 2.2rem; top: 1.25rem; width: min(15rem, 62%); height: auto; }
.gap-coin { display: none; position: absolute; left: min(13.5rem, 54%); top: 7.5rem; width: 2.4rem; height: 2.4rem; }
.gap-typing { position: absolute; left: 2.2rem; bottom: 2rem; display: inline-flex; gap: .3rem; padding: .7rem .85rem; border-radius: var(--r18) var(--r18) var(--r18) var(--r4); background: #fff; box-shadow: var(--shadow-lift); opacity: calc(1 - max(0, var(--wait, 0) - .62) * 4); }
.gap-typing i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ink-soft); opacity: calc(.3 + .7 * var(--beat, 0)); }

/* Who it's for */
.who-row { grid-template-columns: 8.5rem minmax(0, 5fr) minmax(0, 6fr); }
.who-row img { width: 100%; height: auto; }
[data-for] .door-label { transition: color 200ms ease-out; }

/* Doors */
.door { position: relative; }
.door-pick { display: block; padding: 0; border: 0; background: none; cursor: pointer; width: clamp(7.5rem, 13vw, 11rem); margin-bottom: 1rem; transition: filter 200ms ease-out, scale 200ms ease-out; }
.door-pick img { width: 100%; height: auto; filter: drop-shadow(0 14px 16px rgba(120,62,14,.2)); }
.door-pick:hover { filter: brightness(1.07) saturate(1.1); scale: 1.03; }
.door { transition: opacity 240ms ease-out; }
[data-door="experts"] .door-b, [data-door="practices"] .door-a { opacity: .62; }
[data-door="experts"] .who-row[data-for="practices"], [data-door="practices"] .who-row[data-for="experts"] { opacity: .62; }
[data-door="experts"] [data-for="experts"] .door-label, [data-door="practices"] [data-for="practices"] .door-label,
[data-door="experts"] [data-door-panel="experts"] .door-label, [data-door="practices"] [data-door-panel="practices"] .door-label { display: inline-block; padding: .1rem .7rem; border-radius: 999px; background: var(--orange); color: var(--ink); }
.door li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: .75rem; align-items: center; padding-left: 0; }
.door li::before { content: none; }
.door li img { width: 100%; height: auto; }

/* The sample course hero */
.course { position: relative; }
.course img { display: block; width: 100%; height: auto; }
.course .course-glass { position: absolute; left: 68.875%; top: 13.11%; width: 27.875%; height: auto; }

/* Night */
.ah-left { position: relative; }
.ah-moon { position: absolute; left: 0; bottom: calc(100% + 1.25rem); width: clamp(4.5rem, 8vw, 7rem); height: auto; }
.msg { display: flex; align-items: flex-end; gap: .4rem; }
.msg.out { justify-content: flex-end; }
.msg.in { margin-top: .35rem; }
.av { flex: none; width: 2rem; height: 2rem; border-radius: 50%; object-fit: cover; }
.msg.out .av { border-radius: 0; object-fit: contain; }
.bubble { max-width: none; flex: 0 1 auto; }
.bubble.in { margin-top: 0; }
.booked { display: inline-flex; align-items: center; gap: .4rem; }
.booked > img { width: 1.5rem; height: 1.5rem; }
.booked .coin-land { width: 1.5rem; height: 1.5rem; margin-left: .15rem; }
.meta { margin-right: 2.4rem; }
.src li { position: relative; }
.src-coin { position: absolute; left: calc(var(--w) * 100% * clamp(0, calc((var(--sc-p, 1) - var(--at)) / .08), 1) - .4rem); bottom: -.42rem; width: 1.2rem; height: 1.2rem; opacity: clamp(0, calc((var(--sc-p, 1) - var(--at)) / .03), 1); }

/* Dawn */
.dawn { position: relative; overflow: clip; }
.dawn > * { position: relative; }
.dawn .dawn-light { position: absolute; inset: 0; background: url("../img/gfx/light-sunrise.webp") center / cover no-repeat; opacity: calc(.25 + var(--sc-p, .5) * .6); mix-blend-mode: soft-light; pointer-events: none; -webkit-mask-image: linear-gradient(#000 calc(100% - 16rem), transparent); mask-image: linear-gradient(#000 calc(100% - 16rem), transparent); }
.promise { grid-template-columns: 7.5rem minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
.promise img { width: 100%; height: auto; }
.ownership-row { grid-column: 1 / -1; display: grid; grid-template-columns: clamp(6rem, 11vw, 9.5rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: clamp(2.5rem, 6vw, 5rem); }
.ownership-row .ownership { grid-column: 2; margin-top: 0; }
.own-key { width: 100%; height: auto; transform: rotate(calc(var(--own, 0) * 62deg - 24deg)); transform-origin: 50% 40%; }
.ownership span { color: var(--ink-soft); transition: color 200ms ease-out; }
.ownership span.is-on { color: var(--orange-900); }

/* How it works */
.steps li { grid-template-columns: 6.5rem minmax(0, 4fr) minmax(0, 7fr); align-items: center; }
.steps img { width: 100%; height: auto; }

/* 84 out of 100 */
.meet-title { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); column-gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
.meet-num { grid-column: 1; }
.meet-line { grid-column: 1 / -1; }
.dots { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: repeat(10, clamp(.75rem, 1.7vw, 1.5rem)); gap: clamp(.3rem, .75vw, .65rem); justify-content: end; padding-bottom: 1vw; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(154,75,21,.16); transition: background-color 200ms ease-out; }
.dots i.is-on { background: var(--orange); }

/* Client logos under the phones */
.vphone figcaption { display: flex; justify-content: center; align-items: center; height: 3.2rem; margin-top: .75rem; }
.vphone figcaption img { max-width: min(100%, 13rem); max-height: 2.8rem; width: auto; height: auto; }

/* Dave, cut out on warm paper inside the bubble */
.dave-photo { background: none; }
.dave-photo img { aspect-ratio: 100 / 91; object-position: 50% 12%; background: var(--soft); }

/* Proof */
.proof-img { grid-column: 9 / -1; grid-row: 2; align-self: end; justify-self: end; width: min(100%, 14rem); height: auto; margin-top: 2rem; }
.audit img { width: 4.5rem; height: auto; margin-bottom: .6rem; }

/* FAQ: answers land like a reply */
.faq-side { position: sticky; top: calc(var(--bar-h) + 2rem); }
.faq-side h2 { position: static; }
.faq-side img { width: clamp(6rem, 12vw, 10rem); height: auto; margin-top: 1.5rem; }
details p { padding: .75rem 1rem; margin: 0 2rem 1.1rem .25rem; background: var(--orange-50); border-radius: var(--r18) var(--r18) var(--r18) var(--r4); color: var(--ink); }
details.is-typing p { display: none; }
.typing { display: none; gap: .3rem; padding: .75rem .9rem; margin: 0 0 1.1rem .25rem; width: max-content; background: var(--orange-50); border-radius: var(--r18) var(--r18) var(--r18) var(--r4); }
details.is-typing .typing { display: inline-flex; }
.typing i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--orange-900); opacity: .35; }

/* The ask */
.ask { position: relative; overflow: clip; }
.ask > *:not(.ask-img) { position: relative; }
.ask-img { position: absolute; right: calc(var(--gutter) * .5); top: 14%; width: min(29vw, 25rem); height: auto; filter: drop-shadow(0 22px 26px rgba(120,62,14,.24)); }

/* Inner pages */
.path-img { width: 6rem; height: auto; margin-bottom: .75rem; }
.thanks-img { width: 7rem; height: auto; margin-bottom: 1.5rem; }

@media (max-width: 860px) {
  .hero-art { position: relative; top: auto; right: auto; width: 54vw; margin: 0 0 .5rem auto; }
  .hero-light { opacity: .34; -webkit-mask: none; mask: none; }
  .who-row { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .who-row p { grid-column: 1 / -1; }
  .door-pick { width: 7rem; }
  .promise { grid-template-columns: 5rem minmax(0, 1fr); }
  .promise p { grid-column: 1 / -1; }
  .steps li { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .steps p { grid-column: 1 / -1; }
  .ownership-row { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; }
  .ah-moon { display: none; }
  .meta { margin-right: 2.4rem; }
  .dots { grid-template-columns: repeat(10, .62rem); gap: .22rem; }
  .meet-title { grid-template-columns: minmax(0, 1fr); }
  .dots { grid-column: 1; grid-row: auto; justify-content: start; margin-top: 1rem; }
  .proof-img { grid-column: 1 / -1; grid-row: auto; justify-self: start; width: 9rem; }
  .faq-side { position: static; }
  .ask-img { position: static; display: block; width: 58vw; margin: -1rem 0 1.5rem auto; }
  .logo svg { width: 7rem; height: 1.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .own-key { transform: none; }
  .gap-coin { display: block; }
  .gap-typing { opacity: 1; }
  .ownership span { color: var(--orange-900); }
  .dots i { transition: none; }
  .src-coin { opacity: 1; left: calc(var(--w) * 100% - .4rem); }
}

/* ------------------------------------------------------------- round two --
   Tamim's review: real phone, night with some depth, a big scoreboard, and a
   Proof section you can scan. */

/* Night has a surface now, not a flat colour */
.night { background: linear-gradient(rgba(26,19,12,.72), rgba(26,19,12,.72)), url("../img/gfx/night-stone.webp") center top / 1600px auto repeat; }
.ah-stage { background: transparent; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); padding-top: calc(var(--bar-h) + .75rem); padding-bottom: .75rem; }
.clock { font-size: clamp(3rem, 1.2rem + 5.6vw, 7.4rem); }
.ah-clinic { position: absolute; left: calc(var(--gutter) + 19rem); bottom: 1.5rem; width: clamp(9rem, 15vw, 13.5rem); height: auto; opacity: .92; }
@media (max-height: 760px) { .ah-clinic { display: none; } }

/* A phone with real proportions and real hardware */
.phone { width: auto; height: min(calc(100svh - var(--bar-h) - 1.75rem), 47rem); max-height: none; aspect-ratio: 9 / 19.4; padding: .55rem; border-radius: 3rem; overflow: visible;
  background: linear-gradient(145deg, #4A3F35 0%, #241C15 38%, #120D08 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255,235,210,.22), 0 36px 70px -22px rgba(0,0,0,.75), 0 50px 110px -30px rgba(217,100,30,.34); }
.ph-side { position: absolute; left: -3px; top: 21%; width: 3px; height: 8%; border-radius: 2px 0 0 2px; background: #3A3026; box-shadow: 0 4.2rem 0 #3A3026; }
.ph-side::after { content: ""; position: absolute; left: calc(var(--ph-w, 0px)); }
.phone::after { content: ""; position: absolute; right: -3px; top: 26%; width: 3px; height: 13%; border-radius: 0 2px 2px 0; background: #3A3026; }
.ph-screen { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; border-radius: 2.5rem; background: #FFFDF9; color: var(--ink); }
.ph-status { position: relative; flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 2.9rem; padding: .35rem 1.35rem 0; font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ph-time { position: relative; height: 1.3em; }
.ph-time i { position: absolute; left: 0; top: 0; font-style: normal; }
.ph-island { width: 5.6rem; height: 1.55rem; border-radius: 999px; background: #0C0806; }
.ph-icons { justify-self: end; width: 3.5rem; height: auto; fill: currentColor; color: var(--ink); }
.ph-head { flex: none; display: flex; align-items: center; gap: .6rem; padding: .35rem .9rem .55rem; border-bottom: 1px solid rgba(26,19,12,.08); color: var(--orange-900); }
.ph-head svg { width: .62rem; height: auto; }
.ph-head img { width: 2.1rem; height: auto; }
.ph-body { position: relative; flex: 1; min-height: 0; }
.thread { inset: .7rem .7rem .4rem; gap: .32rem; }
.ring { gap: .7rem; }
.ph-input { flex: none; display: flex; align-items: center; gap: .55rem; padding: .5rem .8rem .35rem; }
.ph-plus { position: relative; flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #EFE9DF; }
.ph-plus::before, .ph-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 2px; margin: -1px 0 0 -.4rem; background: var(--ink-soft); }
.ph-plus::after { transform: rotate(90deg); }
.ph-field { flex: 1; height: 2rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(26,19,12,.16); }
.ph-home { flex: none; align-self: center; width: 7.5rem; height: 4px; margin: .35rem 0 .45rem; border-radius: 999px; background: var(--ink); }
.bubble { font-size: clamp(.95rem, .5rem + 1.05vh, 1.0625rem); line-height: 1.28; }
.missed { margin-bottom: .3rem; }
.meta { font-size: .8125rem; white-space: nowrap; }

/* Scoreboard: large numbers, one icon each, readable from a distance */
.ah-right > .score { justify-self: stretch; width: min(100%, 44rem); margin-left: auto; padding: clamp(1.1rem, 2.4vh, 1.75rem) clamp(1.25rem, 2.4vw, 2rem); border-radius: var(--r28); }
.score-head { margin-bottom: clamp(.6rem, 1.6vh, 1rem); }
.score-head b { font-size: clamp(1.4rem, 1rem + .9vw, 1.9rem); letter-spacing: -.02em; }
.ex { font-size: 1rem; }
.score dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.5rem, 1.2vh, .8rem); }
.score dl > div { display: grid; grid-template-columns: clamp(2.6rem, 6.4vh, 3.6rem) minmax(0, 1fr); grid-template-areas: "icon value" "icon label"; column-gap: .75rem; align-items: center; padding: clamp(.55rem, 1.4vh, .95rem) .9rem; border-radius: var(--r18); background: var(--orange-50); }
.score dl img { grid-area: icon; width: 100%; height: auto; }
.score dt { grid-area: label; font-size: 1rem; line-height: 1.2; color: var(--ink-soft); }
.score dd { grid-area: value; font-size: clamp(1.9rem, 1.2rem + 1.5vw, 2.75rem); line-height: 1.05; font-weight: 600; letter-spacing: -.03em; }
.score dd small { font-size: 1.0625rem; letter-spacing: 0; }
.score-lbl { margin-top: clamp(.7rem, 1.8vh, 1.15rem); font-size: 1.1875rem; }
.src { display: grid; gap: clamp(.25rem, .8vh, .5rem); margin-top: .35rem; }
.src li { display: grid; grid-template-columns: minmax(8.5rem, auto) minmax(0, 1fr); align-items: center; gap: .75rem; margin-top: 0; font-size: 1.0625rem; font-weight: 500; }
.src i { grid-column: 2; grid-row: 1; height: .8rem; margin-top: 0; width: calc(var(--w) * 100% / .48); }
.src-coin { left: calc(8.5rem + .75rem + (100% - 9.25rem) * var(--w) / .48 * clamp(0, calc((var(--sc-p, 1) - var(--at)) / .08), 1) - .55rem); top: 50%; bottom: auto; margin-top: -.75rem; width: 1.5rem; height: 1.5rem; }

/* Proof: short cases, then an exchange */
.proof { display: block; }
.proof h2 { max-width: 20em; }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.case { display: grid; grid-template-columns: clamp(5.5rem, 9vw, 8rem) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.75rem); align-items: center; }
.case img { width: 100%; height: auto; }
.case p { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.38; color: var(--ink-soft); }
.case b { color: var(--ink); }
.job { margin-top: clamp(1.75rem, 3.5vw, 3rem); max-width: 42rem; font-size: clamp(1.3rem, 1.1rem + .9vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.talk { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.say { padding: clamp(1.25rem, 2.4vw, 2rem); }
.say-client { grid-column: 1 / span 7; background: var(--soft); border-radius: var(--r28) var(--r28) var(--r28) var(--r4); }
.say-client blockquote { font-size: clamp(1.3rem, 1.05rem + .95vw, 1.85rem); line-height: 1.22; letter-spacing: -.018em; font-weight: 500; }
.say-braive { grid-column: 6 / -1; margin-top: -.25rem; background: var(--ink); color: var(--paper); border-radius: var(--r28) var(--r28) var(--r4) var(--r28); }
.say-braive p { font-size: 1.125rem; line-height: 1.4; }
.say figcaption { margin-top: .85rem; font-size: 1rem; font-weight: 600; }
.say-client figcaption { color: #4A3D32; }
.say-braive figcaption { color: var(--orange-300); }
.why-only { max-width: none; margin-top: clamp(2rem, 4vw, 3.5rem); }
.why-only summary { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 500; letter-spacing: -.015em; }
.why-only p { margin: 0 0 1rem; padding: 0; background: none; color: var(--ink-soft); max-width: 46rem; }

@media (max-width: 860px) {
  .ah-stage { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--bar-h) + .35rem); padding-bottom: .5rem; }
  .ah-clinic { display: none; }
  .clock { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .ah-right { justify-items: center; }
  .phone { height: 100%; max-height: 100%; padding: .4rem; border-radius: 2.4rem; }
  .ph-screen { border-radius: 2.05rem; }
  .ph-status { height: 2.3rem; padding: .2rem 1.1rem 0; font-size: .8125rem; }
  .ph-island { width: 4.2rem; height: 1.2rem; }
  .ph-icons { width: 2.9rem; }
  .ph-head { padding: .2rem .7rem .35rem; }
  .ph-head img { width: 1.7rem; }
  .ph-input { padding: .35rem .6rem .2rem; }
  .ph-plus { width: 1.5rem; height: 1.5rem; }
  .ph-field { height: 1.6rem; }
  .ph-home { margin: .25rem 0 .3rem; width: 6rem; }
  .bubble { font-size: .875rem; padding: .42rem .62rem; }
  .av { width: 1.6rem; height: 1.6rem; }
  .meta { font-size: .75rem; margin-right: 2rem; }
  .missed { font-size: .8125rem; }
  .booked { font-size: .875rem; }
  .ah-right > .score { padding: .9rem 1rem 1rem; }
  .score-head b { font-size: 1.25rem; }
  .score dl > div { grid-template-columns: 2.2rem minmax(0, 1fr); column-gap: .45rem; padding: .5rem .55rem; }
  .score dt { font-size: .8125rem; }
  .score dd { font-size: 1.5rem; }
  .src li { grid-template-columns: 7.6rem minmax(0, 1fr); gap: .5rem; font-size: .9375rem; }
  .src li span { white-space: nowrap; }
  .src-coin { left: calc(7.6rem + .5rem + (100% - 8.1rem) * var(--w) / .48 * clamp(0, calc((var(--sc-p, 1) - var(--at)) / .08), 1) - .5rem); width: 1.25rem; height: 1.25rem; margin-top: -.62rem; }
  .cases { grid-template-columns: minmax(0, 1fr); }
  .say-client, .say-braive { grid-column: 1 / -1; }
  .say-client { margin-right: 1.5rem; }
  .say-braive { margin-left: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .src-coin { left: calc(8.5rem + .75rem + (100% - 9.25rem) * var(--w) / .48 - .55rem); }
}

/* ----------------------------------------------------------- round three --
   Less text, so everything else gets room. No repeated textures anywhere:
   the night sky is drawn in code. */

/* Hero */
.lede { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); line-height: 1.28; max-width: 30rem; }
.micro { margin-top: .75rem; }
.hero-ctas { margin-top: 1.5rem; }
.facts { margin-top: clamp(2rem, 5vh, 4rem); }

/* The leak: short lines, large */
.leak-text p { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); line-height: 1.3; letter-spacing: -.012em; color: var(--ink); }
.leak-text b { color: var(--orange-900); }
.leak-text .leak-turn { margin-top: 1.5rem; font-weight: 500; }
.tl li { grid-template-columns: 4.75rem 7rem minmax(0, 1fr); align-items: center; }
.tl li:not(.tl-gap) > img { width: 100%; height: auto; }
.tl-bad { grid-template-columns: 7rem minmax(0, 1fr) !important; margin-top: 1rem; }
.gone { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 500; }

/* Who it's for: bigger art, fewer words */
.who-row { grid-template-columns: clamp(8rem, 13vw, 11.5rem) minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
.who-row h3 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.9rem); }
.who-row p { font-size: 1.1875rem; line-height: 1.38; }

/* Doors */
.ring-scene { grid-column: 1 / -1; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r28); overflow: hidden; }
.ring-scene img { display: block; width: 100%; height: clamp(14rem, 32vw, 30rem); object-fit: cover; object-position: 50% 52%; }
.door { padding-top: 0; }
.door-a { background: url("../img/gfx/paper-grain.webp") center / cover no-repeat, var(--soft); background-blend-mode: multiply; }
.door h3 { margin-top: .5rem; }
.door ul { margin-top: 1.25rem; }
.door li { grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1rem; margin-top: .55rem; font-size: 1.1875rem; font-weight: 500; line-height: 1.25; }
.price { font-weight: 500; color: var(--orange-900); }
.door-a .price { color: var(--orange-900); }
.doors-foot { grid-template-columns: 5.5rem minmax(0, 1fr); align-items: center; gap: 1.25rem; }
.doors-foot img { width: 100%; height: auto; }

/* Work: captions only */
.expert-text h3 { font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.6rem); }

/* Night: head with the ringing phone, foot with three short points */
.night { background: var(--ink); }
.night-head { display: grid; grid-template-columns: minmax(0, 1fr) clamp(11rem, 24vw, 21rem); gap: 2rem; align-items: center; max-width: none; padding-bottom: 2rem; }
.night-head .night-phone { width: 100%; height: auto; }
.night-foot { padding-top: clamp(2rem, 4vw, 3.5rem); }
.night-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 4vw, 4rem); }
.night-points li { display: grid; grid-template-columns: clamp(4rem, 7vw, 6rem) minmax(0, 1fr); gap: 1rem; align-items: center; }
.night-points img { width: 100%; height: auto; }
.night-points b { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 500; }

/* The sky: drawn here, moves with the scroll, ends on Monday morning */
.ah-stage { background: linear-gradient(180deg, #0D0A10 0%, #15101A 42%, #241712 78%, #2E1C12 100%); isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; --dawn: clamp(0, calc((var(--sc-p, 0) - .7) / .22), 1); }
.sky-dawn { position: absolute; inset: 0; opacity: var(--dawn); background: linear-gradient(180deg, #2A1B2B 0%, #5E2F2A 40%, #B4562A 74%, #E89A6E 100%); }
.stars { position: absolute; left: 0; top: 0; width: 100%; height: 72%; opacity: calc(1 - var(--dawn)); }
.stars circle { fill: #FBF3E4; }
.sky-moon { position: absolute; left: calc(5% + var(--sc-p, 0) * 40%); top: calc(14% - var(--sc-p, 0) * 6%); width: clamp(4.5rem, 7.5vw, 7rem); height: auto; opacity: calc(1 - clamp(0, calc((var(--sc-p, 0) - .62) / .1), 1)); }
.sun { position: absolute; left: 34%; bottom: 8%; width: clamp(7rem, 14vw, 13rem); aspect-ratio: 1; border-radius: 50%; background: #FBC77A; transform: translateY(calc((1 - var(--dawn)) * 130%)); opacity: var(--dawn); }
.street { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(9rem, 30vh, 18rem); }
.street-far { fill: #0F0A08; opacity: .75; }
.street-near { fill: #1A130C; }
.clinic-body { fill: #1F1610; }
.clinic-door { fill: #3A261A; }
.clinic-win { fill: #E9963F; }
.clinic-cross { fill: var(--orange); }
.ah-left { align-self: start; padding-top: clamp(4.5rem, 19vh, 11rem); }
.ah-labels { min-height: 5.5rem; }
.ah-labels p { font-size: 1.25rem; }
.ah-labels b { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); }
.ah-right > .score { box-shadow: 0 30px 60px -22px rgba(0,0,0,.6); }
.bubble.in { padding-inline: .8rem; }
.msg.in .bubble { min-width: 2.6rem; text-align: left; }
.booked { margin-top: .6rem; font-size: 1.0625rem; padding: .5rem .85rem; }
.booked > img { width: 1.9rem; height: 1.9rem; }

/* Dawn: statements, not paragraphs */
.promise { grid-template-columns: clamp(7rem, 12vw, 10.5rem) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.promise h3 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.9rem); line-height: 1.02; letter-spacing: -.034em; }
.ownership { font-size: clamp(1.7rem, 1.2rem + 2.1vw, 3.1rem); line-height: 1.08; letter-spacing: -.03em; }

/* How it works: three objects stepping up, on real paper */
.how { position: relative; overflow: clip; }
.how::before { content: ""; position: absolute; inset: 0; background: url("../img/gfx/paper-grain.webp") center / cover no-repeat; opacity: .5; mix-blend-mode: multiply; pointer-events: none; -webkit-mask-image: linear-gradient(transparent, #000 14rem); mask-image: linear-gradient(transparent, #000 14rem); }
.how > * { position: relative; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 3rem); max-width: none; margin-left: 0; align-items: end; }
.steps li { display: block; padding: 0; }
.steps li:nth-child(1) { padding-top: clamp(0rem, 8vw, 7rem); }
.steps li:nth-child(2) { padding-top: clamp(0rem, 4vw, 3.5rem); }
.steps img { width: clamp(8rem, 15vw, 13rem); height: auto; margin-bottom: 1rem; }
.steps h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.steps p { margin-top: .35rem; font-size: 1.1875rem; }

/* 84% */
.meet-who { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(1rem, 2.5vw, 2rem); align-items: center; margin-top: 1.25rem; }
.faces { display: inline-flex; }
.faces img { width: clamp(3rem, 5vw, 4.25rem); height: clamp(3rem, 5vw, 4.25rem); border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--orange-50); }
.faces img + img { margin-left: -.8rem; }
.meet-source { margin-top: 0; }
.meet-who a { color: var(--orange-900); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.meet-who a:hover { text-decoration-thickness: 2px; }
.meet-mag { width: clamp(5rem, 11vw, 9.5rem); height: auto; }
.meet-offer { display: grid; grid-template-columns: clamp(4.5rem, 8vw, 7rem) minmax(0, 1fr); gap: 1.25rem; align-items: center; max-width: 46rem; }
.meet-offer img { width: 100%; height: auto; }
.meet-offer p { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.012em; }

/* Dave: a clean portrait, and a call to action that means it */
.dave { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; }
.dave-photo { max-width: none; }
.dave-photo img { display: block; width: 100%; height: 100%; min-height: 30rem; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r28); -webkit-mask: none; mask: none; background: var(--soft); box-shadow: 0 2px 4px rgba(26,19,12,.06), 0 30px 60px -28px rgba(120,62,14,.38); }
.dave-text { align-self: center; }
.dave-text p { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); line-height: 1.3; letter-spacing: -.012em; color: var(--ink); max-width: 32rem; }
.dave-text b { color: var(--orange-900); }
.dave-cta { display: inline-flex; align-items: center; gap: 1rem; margin-top: 2rem; padding: .75rem 2rem .75rem .9rem; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 600; letter-spacing: -.012em; text-decoration: none; box-shadow: var(--shadow-cta); transition: background-color 140ms ease-out, box-shadow 140ms ease-out, scale 140ms ease-out; }
.dave-cta img { width: 3.75rem; height: auto; padding: .35rem; border-radius: 50%; background: var(--paper); }
.dave-cta:hover { background: #E4722C; box-shadow: 0 3px 4px rgba(154,75,21,.25), 0 16px 28px -8px rgba(217,100,30,.62); }
.dave-cta:active { scale: .98; }

/* Proof */
.proof h2 { max-width: 15em; }
.case p { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.28; color: var(--ink); }
.case b { color: var(--orange-900); display: block; font-size: 1.15em; letter-spacing: -.016em; }
.say-braive { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: 1rem; align-items: center; }
.say-braive img { width: 100%; height: auto; }
.say-braive p { font-size: 1.25rem; line-height: 1.3; }

/* The ask, on real plaster */
.ask { background: url("../img/gfx/plaster.webp") center / cover no-repeat, var(--soft); }
.ask p { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); color: var(--ink); }

/* Inner pages */
.band-bars { display: block; width: 100%; height: clamp(12rem, 26vw, 24rem); object-fit: cover; object-position: 50% 62%; mix-blend-mode: multiply; }
.path-a { position: relative; overflow: clip; }
.path-a .path-art { float: right; width: clamp(9rem, 18vw, 15rem); height: auto; margin: -.5rem -.5rem .5rem 1rem; border-radius: var(--r18); }
.about-mark { position: absolute; right: calc(var(--gutter) * .5); top: 16%; width: min(26vw, 22rem); height: auto; }

@media (max-width: 860px) {
  .tl li { grid-template-columns: 3.4rem minmax(0, 1fr); column-gap: .85rem; }
  .tl li:not(.tl-gap) > img { grid-row: 1 / span 2; }
  .tl-bad { grid-template-columns: minmax(0, 1fr) !important; }
  .who-row { grid-template-columns: 6rem minmax(0, 1fr); }
  .night-head { grid-template-columns: minmax(0, 1fr) 7.5rem; gap: .75rem; }
  .night-points { grid-template-columns: minmax(0, 1fr); }
  .ah-left { padding-top: 0; }
  .ah-labels p { font-size: 1rem; }
  .ah-labels b { font-size: 1.1875rem; }
  .ah-labels { min-height: 3.6rem; }
  .sky-moon { display: none; }
  .street { height: 7rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li:nth-child(n) { padding-top: 0; display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: 1rem; align-items: center; }
  .steps img { width: 100%; grid-row: 1 / span 2; margin: 0; }
  .steps p { grid-column: 2; }
  .meet-who { grid-template-columns: minmax(0, 1fr) 5rem; }
  .faces { grid-column: 1 / -1; }
  .dave { grid-template-columns: minmax(0, 1fr); }
  .dave-photo img { min-height: 0; height: auto; }
  .dave-cta { display: flex; padding-right: 1.25rem; }
  .about-mark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sky-moon { left: 6%; top: 12%; opacity: 1; }
}

/* Round three, after review */
.tl li { grid-template-columns: 4.75rem 7.6rem minmax(0, 1fr); }
.tl .t { white-space: nowrap; }
.tl-bad { grid-template-columns: 7.6rem minmax(0, 1fr) !important; }
.doors-head { grid-column: 1 / span 5; align-self: center; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.doors-head h2 { font-size: clamp(3rem, 1.8rem + 4.6vw, 6.4rem); }
.ring-scene { grid-column: 6 / -1; }
.ring-scene img { height: auto; aspect-ratio: 3 / 2; }
.far-win { fill: #E9963F; opacity: calc(.8 - var(--dawn, 0) * .7); }
.clinic-roof { fill: #2A1D14; }
.clinic-glow rect { fill: #F2A64D; }
.clinic-door { fill: #E9963F; }
.bubble { font-size: clamp(1rem, .5rem + 1.2vh, 1.1875rem); }
.steps { align-items: start; }
.steps li:nth-child(1) { padding-top: 0; margin-top: clamp(0rem, 9vw, 8rem); }
.steps li:nth-child(2) { padding-top: 0; margin-top: clamp(0rem, 4.5vw, 4rem); }
@media (max-width: 860px) {
  .tl li { grid-template-columns: 3.4rem minmax(0, 1fr); }
  .tl-bad { grid-template-columns: minmax(0, 1fr) !important; }
  .doors-head, .ring-scene { grid-column: 1 / -1; }
  .steps li:nth-child(n) { margin-top: 0; }
  .bubble { font-size: .875rem; }
}

/* ------------------------------------------------------------ round four --
   One rule for every icon: a fixed box, the art contained and centered, so
   rows line up whatever shape the art is. */

/* Icon boxes */
.door li { grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1rem; min-height: 3.25rem; margin-top: .5rem; }
.door li img { width: 3.25rem; height: 3.25rem; object-fit: contain; }
.tl li:not(.tl-gap) > img { width: 3.75rem; height: 3.75rem; object-fit: contain; }
.tl li { grid-template-columns: 3.75rem 7.6rem minmax(0, 1fr); }
.who-row img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.promise img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.night-points img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.case img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.score dl img { aspect-ratio: 1; object-fit: contain; }

/* Doors: same padding on every side, both doors on one line */
.door-a, .door-b { padding: clamp(1.75rem, 3.4vw, 3rem); margin-top: 0; }
.door-b { padding-left: clamp(1.75rem, 3.4vw, 3rem); }
.door-pick { display: block; width: clamp(8rem, 12vw, 10.5rem); height: clamp(12rem, 18vw, 15.75rem); margin: 0 0 1.25rem; }
.door-pick img { width: 100%; height: 100%; object-fit: contain; object-position: left top; }

/* Steps: all three on one line */
.steps { align-items: start; }
.steps li:nth-child(1), .steps li:nth-child(2), .steps li:nth-child(3) { margin-top: 0; padding-top: 0; }
.steps img { width: clamp(9rem, 15vw, 13rem); height: clamp(9rem, 15vw, 13rem); object-fit: contain; object-position: left bottom; }
.steps h3 { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.2rem); white-space: nowrap; }

/* Short notes sit centered */
.work-note, .who-line { margin-inline: auto; text-align: center; }
.work-note { max-width: 44rem; }
.who-line { max-width: 44rem; }
.doors-foot { display: flex; justify-content: center; align-items: center; gap: 1.25rem; text-align: left; }
.doors-foot img { width: 5rem; height: 5rem; object-fit: contain; }

/* One play button, drawn in code */
.play { position: relative; display: grid; place-items: center; width: 5.5rem; height: 5.5rem; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--orange); box-shadow: var(--shadow-cta); transition: background-color 140ms ease-out, scale 140ms ease-out; }
.play span { display: block; width: 1.7rem; height: 2rem; margin-left: .3rem; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); border-radius: 3px; }
.play:hover { background: #E4722C; scale: 1.05; }
.play:active { scale: .98; }
.meet-offer { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; max-width: 40rem; margin-inline: auto; text-align: center; }
.meet-offer p { max-width: 34rem; }
.vphone button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3.75rem; height: 3.75rem; margin: -1.875rem 0 0 -1.875rem; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%231A130C'/%3E%3C/svg%3E") center / 62% no-repeat; opacity: 1; transition: opacity 200ms ease-out; }
.vphone.is-active button::after { opacity: 0; }
.vphone.is-active:not(.is-playing) button::after { opacity: 1; }

/* The phone rings: a short burst when it arrives, and it follows the scroll */
.call { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.night-head .night-phone { position: relative; width: 88%; height: auto; }
.wave { position: absolute; inset: 8%; border-radius: 50%; border: 3px solid var(--orange-300); opacity: 0; }
.call.is-ringing .night-phone { animation: ring-shake 1.5s cubic-bezier(.36, .07, .19, .97) 3; }
.call.is-ringing .wave { animation: ring-wave 1.5s ease-out 3; }
.call.is-ringing .wave:nth-child(2) { animation-delay: .25s; }
.call.is-ringing .wave:nth-child(3) { animation-delay: .5s; }
@keyframes ring-shake {
  0%, 60%, 100% { transform: rotate(0); }
  6%, 18%, 30%, 42% { transform: rotate(-5deg); }
  12%, 24%, 36%, 48% { transform: rotate(5deg); }
}
@keyframes ring-wave {
  0% { transform: scale(.55); opacity: .75; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Dave: the brand bars rise behind him as you scroll */
.dave { align-items: center; }
.dave-stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r28); background: linear-gradient(180deg, #FAE8D4 0%, #F0CDAA 100%); box-shadow: 0 2px 4px rgba(26,19,12,.06), 0 30px 60px -28px rgba(120,62,14,.38); --rise: clamp(0, calc((var(--sc-p, 1) - .12) / .4), 1); }
.dave-bars { position: absolute; left: 5%; right: 5%; top: 7%; bottom: 7%; display: flex; align-items: center; justify-content: space-between; }
.dave-bars i { display: block; width: 13%; border-radius: 999px; background: var(--orange); transform: scaleY(calc(.08 + .92 * var(--rise))); }
.dave-bars i:nth-child(1) { height: 40%; }
.dave-bars i:nth-child(2) { height: 72%; }
.dave-bars i:nth-child(3) { height: 100%; }
.dave-bars i:nth-child(4) { height: 62%; }
.dave-bars i:nth-child(5) { height: 16%; }
.dave-cut { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: translateY(calc((1 - var(--rise)) * 7%)) scale(calc(.97 + .03 * var(--rise))); transform-origin: 50% 100%; }
.dave-photo img { height: auto; min-height: 0; aspect-ratio: 4 / 5; object-position: 50% 0; }

@media (max-width: 860px) {
  .tl li { grid-template-columns: 3.4rem minmax(0, 1fr); }
  .tl li:not(.tl-gap) > img { width: 3.4rem; height: 3.4rem; }
  .door-pick { width: 7rem; height: 10.5rem; }
  .steps li:nth-child(n) { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .steps img { width: 5.5rem; height: 5.5rem; object-position: center; }
  .steps h3 { white-space: normal; }
  .doors-foot { flex-direction: column; text-align: center; }
  .play { width: 4.75rem; height: 4.75rem; }
  .vphone button::after { width: 3rem; height: 3rem; margin: -1.5rem 0 0 -1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dave-stage { --rise: 1; }
  .call.is-ringing .night-phone, .call.is-ringing .wave { animation: none; }
}

/* Dave's backdrop: a slim voice wave, tone on tone, that rises with the scroll */
.dave-bars { left: 4%; right: 4%; top: 9%; bottom: 9%; }
.dave-bars i { width: 5.2%; background: #E9A679; opacity: .62; transform: scaleY(calc(.06 + .94 * clamp(0, calc(var(--rise) * 1.6 - var(--d, 0)), 1))); }
.dave-bars i:nth-child(1)  { height: 26%; --d: .5; }
.dave-bars i:nth-child(2)  { height: 48%; --d: .4; }
.dave-bars i:nth-child(3)  { height: 70%; --d: .3; }
.dave-bars i:nth-child(4)  { height: 88%; --d: .2; }
.dave-bars i:nth-child(5)  { height: 76%; --d: .1; }
.dave-bars i:nth-child(6)  { height: 100%; --d: 0; }
.dave-bars i:nth-child(7)  { height: 74%; --d: .1; }
.dave-bars i:nth-child(8)  { height: 92%; --d: .2; }
.dave-bars i:nth-child(9)  { height: 66%; --d: .3; }
.dave-bars i:nth-child(10) { height: 44%; --d: .4; }
.dave-bars i:nth-child(11) { height: 22%; --d: .5; }
@media (prefers-reduced-motion: reduce) { .dave-bars i { transform: none; } }

/* Night labels stay bright against the dawn sky */
.ah-labels p { color: #F4EDE2; }
.ah-labels p, .clock { text-shadow: 0 1px 14px rgba(20,10,8,.45); }
@media (max-width: 860px) {
  /* On phones the labels sit high in the sky, so the top stays dark for longer */
  .sky-dawn { background: linear-gradient(180deg, #1E1420 0%, #2A1B2B 34%, #6A3429 62%, #C9682E 86%, #E89A6E 100%); }
}

/* ------------------------------------------------------------ round five -- */

/* Icons: ink backing. Measured 11% of pixels at 3:1 on sand, 97% on ink. */
.door li img { width: 3.25rem; height: 3.25rem; padding: .5rem; object-fit: contain; border-radius: 50%; background: var(--ink); }

/* "Nothing": the words land one at a time, then "gone." falls off the page */
.nothing { padding: 0; }
.nothing-stage { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: calc(var(--bar-h) + 1rem) var(--gutter) 1.5rem; }
.n-after { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); font-weight: 500; color: var(--ink-soft); }
.n-big { margin-top: .35rem; font-weight: 700; color: var(--orange-900); letter-spacing: -.05em; line-height: .98; }
.n-word { display: block; font-size: clamp(4.4rem, 3rem + 11vw, 14rem); }
.n-scale { display: inline-block; transform: scale(calc(1.14 - .14 * clamp(0, calc((var(--sc-p, 1) - .05) / .2), 1))); }
.n-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .1em .4em; margin-top: .2em; font-size: clamp(2rem, 1.2rem + 3.6vw, 4.8rem); font-weight: 500; letter-spacing: -.035em; color: var(--ink); }
.n-gone { margin-top: clamp(1.25rem, 3.5vh, 2.5rem); font-size: clamp(2rem, 1.3rem + 3vw, 4.4rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; }
.n-fall { display: inline-block; font-weight: 600; color: var(--orange-900); }
.n-fall i { display: inline-block; font-style: normal; --t: clamp(0, calc((var(--sc-p, 0) - var(--s)) / .14), 1); transform: translate(calc(var(--t) * var(--x)), calc(var(--t) * var(--t) * 62vh)) rotate(calc(var(--t) * var(--r))); opacity: calc(1 - max(0, var(--t) - .7) * 3.3); }
/* One coin for the whole fall: page.js flies it from the bowl to the bottom of the screen. */
.coin-run { position: fixed; left: 0; top: 0; z-index: 50; width: 2.4rem; height: auto; visibility: hidden; pointer-events: none; will-change: transform; filter: drop-shadow(0 5px 7px rgba(120,62,14,.3)); }
#n-dot.is-covered { opacity: 0; }

/* Night sky to suit the new street: cool and clear, so buildings stand off it */
.ah-stage { background: linear-gradient(180deg, #0B0A14 0%, #141122 40%, #221B31 72%, #33283B 100%); }
.street { height: clamp(13rem, 42vh, 24rem); }
.hosp-cross { fill: #D9641E; }
.st-far { opacity: .95; }

/* Dave: a calm sunlit room behind him, filling the frame exactly */
.dave-stage { background: #EFE4D6; }
.dave-room { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; transform: translateY(calc((1 - var(--rise)) * 4%)); }
.dave-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(251,250,247,.08) 0%, rgba(120,70,30,.14) 100%); }
.dave-cut { z-index: 1; filter: drop-shadow(0 18px 26px rgba(70,40,15,.28)); }
.dave-stage::after { z-index: 0; }

@media (max-width: 860px) {
  .n-word { font-size: clamp(4.2rem, 21vw, 7rem); }
  .coin-run { width: 1.9rem; }
  .n-list { flex-direction: column; gap: 0; font-size: clamp(2rem, 9.6vw, 3rem); }
  .n-gone { font-size: clamp(1.75rem, 8vw, 2.6rem); }
  .street { height: 9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .n-scale, .n-fall i { transform: none; opacity: 1; }
  .coin-run { display: none; }
  .dave-room { transform: none; }
}

/* The Monday sun clears the rooftops */
.sun { left: 33%; bottom: 31%; width: clamp(8rem, 15vw, 14rem); }
@media (max-width: 860px) { .sun { left: 34%; bottom: 13%; width: 7.5rem; } }

/* Textures further down wait for the first scroll, so the first screen stays light */
html:not(.late) .door-a, html:not(.late) .ask, html:not(.late) .dawn-light { background-image: none; }
html:not(.late) .how::before { background-image: none; }

/* Dave: warm stone studio backdrop. It lights from the left, the same as his face. */
.dave-stage { background: #E6D8C6; }
.dave-stage::after { content: none; }
.dave-cut { filter: drop-shadow(14px 12px 26px rgba(70,44,20,.26)); }
