
  @font-face { font-family: "Newsreader"; src: url("fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
  @font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

  /* Brand A, "The guide", made luminous: warm paper, ink, laurel for the one action.
     The light itself has no token in the app; here it is a warm cream gold. */
  :root {
    --sc-canvas: #F5EEE2;
    --sc-surface: #FBF8F1;
    --sc-ink: #1E1F1C;
    --sc-ink-soft: #57534A;
    --sc-accent: #3D5A35;
    --sc-accent-ink: #FFFFFF;
    --sc-font-display: "Newsreader", Georgia, serif;
    --sc-font-text: "Geist", system-ui, sans-serif;
    --cream: #F4ECDD;
    --fog: #F2EADB;
    --light: #FFF3D6;
    --laurel: #3D5A35;
    --laurel-deep: #2F4729;
    --r-frame: 18px;
    /* A light canvas: shadows halved and tinted to the paper, edge light inverted. */
    --sc-shadow-color: 34 28% 32%;
    --sc-e1: 0 1px 2px hsl(var(--sc-shadow-color) / 0.12), 0 2px 6px -1px hsl(var(--sc-shadow-color) / 0.10);
    --sc-e2: 0 2px 4px hsl(var(--sc-shadow-color) / 0.10), 0 10px 24px -6px hsl(var(--sc-shadow-color) / 0.18);
    --sc-e3: 0 4px 8px hsl(var(--sc-shadow-color) / 0.10), 0 22px 48px -12px hsl(var(--sc-shadow-color) / 0.22);
    --sc-edge: inset 0 1px 0 rgb(255 255 255 / 0.6);
  }

  body { background: var(--sc-canvas); font-optical-sizing: auto; }
  .sc-grain { opacity: 0.035; z-index: 50; }
  .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  /* ------------------------------------------------------------ chrome -- */
  .bar {
    position: fixed; inset: 0 0 auto 0; z-index: 60;
    display: flex; align-items: center; justify-content: space-between;
    padding: clamp(14px, 2.2vw, 22px) var(--sc-gutter);
    pointer-events: none;
  }
  .bar a { pointer-events: auto; text-decoration: none; }
  /* Over the one section whose content scrolls under it (the five cards), the bar takes a soft paper ground. */
  .bar { transition: background-color 200ms var(--sc-ease-out), box-shadow 200ms var(--sc-ease-out); }
  .bar--paper { background: rgb(246 241 231 / 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgb(30 31 28 / 0.06); }
  .brand { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--sc-ink); border-radius: 8px; }
  .brand svg { width: 26px; height: 26px; flex: none; }
  .brand span { font-family: var(--sc-font-display); font-weight: 500; font-size: 1.32rem; letter-spacing: -0.01em; line-height: 1; }
  .bar__signin {
    font-size: 0.95rem; font-weight: 500; color: var(--sc-ink);
    padding: 0.55rem 0.2rem; border-radius: 8px;
    text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--sc-ink) 35%, transparent); text-underline-offset: 0.3em;
    transition: text-decoration-color 160ms var(--sc-ease-out);
  }
  @media (hover: hover) and (pointer: fine) { .bar__signin:hover { text-decoration-color: currentColor; } }

  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0.8rem 1.65rem;
    background: var(--laurel); color: #fff; border-radius: 999px;
    font: 500 1rem/1 var(--sc-font-text); letter-spacing: 0; text-decoration: none; white-space: nowrap;
    box-shadow: var(--sc-e2), inset 0 1px 0 rgb(255 255 255 / 0.18);
    transition: background-color 160ms var(--sc-ease-out), transform 140ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
  }
  @media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--laurel-deep); box-shadow: var(--sc-e3), inset 0 1px 0 rgb(255 255 255 / 0.18); } }
  .btn:active { transform: scale(0.97); }
  .btn:focus-visible { outline: 2px solid var(--laurel); outline-offset: 4px; border-radius: 999px; }

  .plate { position: absolute; inset: 0; margin: 0; }
  .plate img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }

  /* ------------------------------------------------------- 1 · opening -- */
  .hero { background: var(--cream); }
  .hero__plane { position: absolute; inset: 0; will-change: transform; }
  .hero__near { inset: auto -4% 0 -4%; height: 100%; }
  .hero__near img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; max-width: none; transform: translateY(var(--near-y, 46%)); }
  .hero__mist { position: absolute; pointer-events: none; }
  .hero__mist--band {
    inset: 34% -10% 18% -10%;
    background:
      radial-gradient(60% 46% at 30% 55%, rgb(247 240 228 / 0.85), transparent 70%),
      radial-gradient(55% 40% at 78% 50%, rgb(246 238 224 / 0.75), transparent 72%);
    opacity: calc(0.35 + var(--sc-p, 0) * 0.55);
  }
  .hero__mist--low {
    inset: 40% 0 0 0;
    background: linear-gradient(to top, rgb(244 236 221 / 0.98) 0%, rgb(244 236 221 / 0.75) 34%, rgb(244 236 221 / 0) 100%);
    opacity: calc(var(--sc-p, 0) * 1.05 - 0.05);
  }
  /* A few stars above the far mountain: where the way leads. They belong to the sky plane and move with it.
     As the reader leaves the opening for the wood, the top of the sky dims a little and the stars come out:
     --vis rises from 0 to 1 over the second half of the opening's scroll. */
  .hero { --vis: clamp(0, calc((var(--sc-p, 0) - 0.3) / 0.62), 1); }
  /* The summit, where the way leads, catches a soft warm light: its own snow, warmer on the faces that take the
     light, on a layer cut to the mountain (no glow in the sky). It moves with the far plane and dims with the dusk. */
  .hero__crown { pointer-events: none; }
  /* A few glints on the summit's snow, at its brightest spots and well inside the mountain (never in the sky):
     tiny, warm, each twinkling slowly in its own time. With reduced motion they are not shown. */
  .glints { position: absolute; inset: 0; pointer-events: none; }
  .glints i {
    position: absolute; width: var(--g, 8px); height: var(--g, 8px); margin: calc(var(--g, 8px) / -2) 0 0 calc(var(--g, 8px) / -2);
    border-radius: 50%;
    background: radial-gradient(circle, #FFFEF8 0 16%, rgb(255 240 210 / 0.8) 30%, rgb(255 228 186 / 0.28) 52%, rgb(255 228 186 / 0) 72%);
    opacity: 0.35;
  }
  @media (prefers-reduced-motion: no-preference) {
    .glints i { animation: glint var(--d, 6s) ease-in-out var(--delay, 0s) infinite; }
  }
  @keyframes glint {
    0%, 100% { opacity: 0.2; scale: 0.55; }
    42% { opacity: 0.4; scale: 0.72; }
    52% { opacity: 1; scale: 1; }
    64% { opacity: 0.4; scale: 0.72; }
  }
  @media (prefers-reduced-motion: reduce) { .glints { display: none; } }
  .hero__dusk {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to bottom, rgb(30 40 62 / 0.58) 0%, rgb(30 40 62 / 0.32) 30%, rgb(30 40 62 / 0.1) 52%, rgb(30 40 62 / 0) 66%);
    opacity: var(--vis);
  }
  .hero__stars { position: absolute; inset: 0; pointer-events: none; }
  .hero__stars i {
    position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%;
    background: radial-gradient(circle, #FFFEF9 0 32%, rgb(255 250 236 / 0.55) 52%, rgb(255 250 236 / 0) 72%);
    opacity: calc(var(--o) * (0.6 + 0.4 * var(--vis)));
  }
  .hero__stars i.late { opacity: calc(var(--o) * var(--vis)); }
  .hero__stars svg { position: absolute; left: 0; top: 0; overflow: visible; opacity: calc(var(--o) * (0.72 + 0.28 * var(--vis))); }
  @media (prefers-reduced-motion: reduce) {
    .hero { --vis: 0.35; }
    .hero__dusk { display: none; }
  }
  .hero__motes { position: absolute; inset: 0; pointer-events: none; }
  .hero__motes i {
    position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%;
    background: radial-gradient(circle, rgb(255 250 236 / 0.95), rgb(255 244 214 / 0.35) 45%, transparent 70%);
    opacity: var(--o);
  }
  .hero__copy {
    position: absolute; z-index: 20;
    left: var(--sc-gutter); top: clamp(5.5rem, 14vh, 9rem);
    width: min(52rem, 64vw);
  }
  .hero__inner { transform-origin: 0 40%; }
  /* The name is the first screen's title; the line under it is the main reading line. */
  .hero h1 {
    font-family: var(--sc-font-display); font-weight: 400;
    font-size: clamp(4.2rem, 1.6rem + 8.2vw, 9.6rem); line-height: 0.92; letter-spacing: -0.035em;
    margin: 0 0 0 -0.035em;
  }
  .hero__line {
    margin: clamp(1rem, 2.2vh, 1.5rem) 0 0; max-width: 34ch;
    font-size: clamp(1.25rem, 1.02rem + 0.75vw, 1.7rem); line-height: 1.36; letter-spacing: -0.012em;
    color: var(--sc-ink); text-wrap: pretty;
  }
  .hero__act { display: flex; align-items: center; gap: 1.1rem 1.4rem; flex-wrap: wrap; margin-top: clamp(1.4rem, 3.4vh, 2.1rem); }
  /* While the big name is on screen the bar shows the mark alone; the name joins it as the hero leaves. */
  .brand__name { transition: opacity 160ms linear; }

  @media (prefers-reduced-motion: no-preference) {
    .hero__far, .hero__crown, .hero__glints, .hero__stars { transform: translate3d(calc(var(--mx, 0) * -5px), calc(var(--sc-p, 0) * -1.2vh + var(--my, 0) * -3px), 0) scale(calc(1 + var(--sc-p, 0) * 0.045)); transform-origin: 50% 45%; }
    .hero__mid  { transform-origin: var(--ox, 64.75%) var(--oy, 69%); transform: translate3d(calc(var(--mx, 0) * -11px), calc(var(--sc-p, 0) * -1.5vh + var(--my, 0) * -6px), 0) scale(calc(1 + var(--sc-p, 0) * 0.11)); }
    .hero__near { transform-origin: 50% 100%; transform: translate3d(calc(var(--mx, 0) * -24px), calc(var(--sc-p, 0) * 16vh + var(--my, 0) * -8px), 0) scale(calc(1.02 + var(--sc-p, 0) * 0.30)); }
    .hero__mist--band { transform: translate3d(calc(var(--sc-p, 0) * -3vw), calc(var(--sc-p, 0) * -3vh), 0); }
    .hero__mist--low { transform: translate3d(0, calc((1 - var(--sc-p, 0)) * 12vh), 0); }
    .hero__inner { transform: scale(calc(1 - var(--sc-p, 0) * 0.05)); }
    .hero__motes i { transform: translate3d(0, calc(var(--sc-p, 0) * var(--v) * -1vh), 0); }
  }

  /* ---------------------------------------------------------- 2 · the wood --
     The only dark place on the page. The same forest loses its light as the reader goes in:
     its darkened twin fades over it, near trunks close in from both sides, the edges close. */
  .wood { background: #0B0E0C; --tr-from: 26%; --tr-to: 0%; }
  /* Canopy shade along the top edge, so the bar's light version has a dark ground from the first frame. */
  .wood::after {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 13rem; z-index: 18; pointer-events: none;
    background: linear-gradient(to bottom, rgb(6 9 7 / 0.6) 0%, rgb(6 9 7 / 0.44) 24%, rgb(6 9 7 / 0.24) 52%, rgb(6 9 7 / 0.08) 78%, rgb(6 9 7 / 0) 100%);
  }
  .wood__light, .wood__dark { transform-origin: 50% 62%; }
  /* It starts a little dimmed, so the handoff from the darkening opening does not bounce back to bright. */
  .wood__dark { opacity: clamp(0.2, calc(0.2 + (var(--sc-p, 0) - 0.04) / 0.22), 1); }
  .wood__trunks { position: absolute; inset: 0; pointer-events: none; opacity: clamp(0, calc((var(--sc-p, 0) - 0.05) / 0.14), 1); }
  .wood__trunks img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
  .wood__trunks--l { clip-path: inset(0 50% 0 0); transform: translate3d(calc(-1 * var(--tr-to)), 0, 0); }
  /* Each half of the trunk layer is cut at the middle of the screen. The image is placed so that the cut falls in the
     clear gap between its two groups of trunks (from 40% to 68% of its width), never through a trunk: on a 16:10 or
     16:9 screen this is the plain left or right placement; on squarer screens the image moves just enough. */
  .wood__trunks--l img { object-position: 0% 50%; object-position: min(0px, 50vw - 0.42 * max(100vw, 177.78lvh)) 50%; }
  .wood__trunks--r { clip-path: inset(0 0 0 50%); transform: translate3d(var(--tr-to), 0, 0); }
  .wood__trunks--r img { object-position: 100% 50%; object-position: calc(100% + max(0px, 0.36 * max(100vw, 177.78lvh) - 50vw)) 50%; }
  .wood__night {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(85% 75% at 50% 56%, rgb(6 9 7 / 0.5), rgb(6 9 7 / 0.96) 80%);
    opacity: clamp(0, calc((var(--sc-p, 0) - 0.26) * 1.25), 0.9);
  }
  /* A scrim only where the words sit (a sibling of the copy, so the contrast check sees it). */
  .wood__scrim {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to left, rgb(6 9 7 / 0.74) 0%, rgb(6 9 7 / 0.5) 36%, rgb(6 9 7 / 0) 64%);
    opacity: clamp(0, calc((var(--sc-p, 0) - 0.08) * 7), 1);
  }
  .wood__copy {
    position: absolute; z-index: 20; right: var(--sc-gutter); top: 50%; translate: 0 -50%;
    width: min(36rem, 42vw); display: grid; align-items: center;
  }
  .wood__stanza, .wood__note { grid-area: 1 / 1; margin: 0; }
  .wood__line {
    margin: 0;
    font-family: var(--sc-font-display); font-weight: 400;
    font-size: clamp(1.7rem, 1.05rem + 1.7vw, 2.85rem); line-height: 1.13; letter-spacing: -0.01em; text-wrap: balance;
    color: #F5EEE2;
  }
  .wood__line + .wood__line { margin-top: 0.55em; }
  /* The line the three before it lead to: heavier, and the brightest cream on the page. */
  .wood__line--strong { font-weight: 580; color: #FFF9EE; letter-spacing: -0.014em; }
  .wood__note { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.36rem); line-height: 1.6; color: #EDE5D6; text-wrap: pretty; max-width: 34ch; }
  @media (prefers-reduced-motion: no-preference) {
    .wood__light, .wood__dark { transform: scale(calc(1 + var(--sc-p, 0) * 0.12)); }
    .wood__trunks--l { transform-origin: 0% 60%; transform: translate3d(calc(-1 * (var(--tr-to) + (1 - var(--sc-p, 0)) * (var(--tr-from) - var(--tr-to)))), 0, 0) scale(calc(1.04 + var(--sc-p, 0) * 0.24)); }
    .wood__trunks--r { transform-origin: 100% 60%; transform: translate3d(calc(var(--tr-to) + (1 - var(--sc-p, 0)) * (var(--tr-from) - var(--tr-to))), 0, 0) scale(calc(1.04 + var(--sc-p, 0) * 0.24)); }
  }

  /* While a dark stage sits under the bar, the bar turns light (the mark's light version, as in the footer). */
  .bar .brand, .bar .bar__signin { transition: color 200ms var(--sc-ease-out); }
  .bar--dark .brand, .bar--dark .bar__signin { color: #F3EBDC; }
  .bar--dark .brand svg path:first-child { stroke: #F3EBDC; }
  .bar--dark .brand svg path:last-child { fill: #CFE0C3; }
  .bar--dark .bar__signin { text-decoration-color: rgb(243 235 220 / 0.45); }
  .bar--dark :focus-visible { outline-color: #F3EBDC; }

  /* ---------------------------------------------------------- 3 · turn --
     From the darkest point a light advances step by step along the path; the near trees part and the
     view moves on, out of the forest, towards the snow peak, which ends the act in full light. */
  .turn { background: #060807; --tr0: 0%; }
  .turn__scene { position: absolute; inset: 0; transform-origin: var(--fx, 50%) var(--fy, 60%); will-change: transform; }
  .turn__pools { position: absolute; inset: 0; pointer-events: none; }
  .turn__pool {
    position: absolute; left: 0; top: 0; opacity: 0;
    background-repeat: no-repeat;
    -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgb(0 0 0 / 0.86) 26%, rgb(0 0 0 / 0.5) 52%, rgb(0 0 0 / 0.18) 76%, transparent 100%);
            mask-image: radial-gradient(closest-side, #000 0%, rgb(0 0 0 / 0.86) 26%, rgb(0 0 0 / 0.5) 52%, rgb(0 0 0 / 0.18) 76%, transparent 100%);
    will-change: opacity;
  }
  .turn__lit { opacity: 0; will-change: opacity; }
  /* The summit: once the light has crossed the path and the dark has gone, its snow catches a soft warm light,
     the last thing to happen. */
  .turn__crown, .turn__glints { opacity: 0; will-change: opacity; }
  .turn__veil { position: absolute; inset: 0; background: #060807; pointer-events: none; will-change: opacity; }
  .turn__head {
    position: absolute; left: 0; top: 0; width: 100px; height: 100px; margin: -50px 0 0 -50px; border-radius: 50%;
    background: radial-gradient(circle, rgb(255 251 238 / 0.95) 0%, rgb(255 238 196 / 0.55) 30%, rgb(255 232 180 / 0.18) 55%, transparent 72%);
    opacity: 0; pointer-events: none; will-change: transform, opacity; z-index: 5;
  }
  /* Near trunks at both edges: the forest still around the reader. They part as the light advances,
     and are gone once the meadow and the peak are lit. */
  .turn__trunks { position: absolute; inset: 0; pointer-events: none; opacity: calc(1 - clamp(0, calc((var(--sc-p, 0) - 0.5) / 0.14), 1)); }
  /* Darkened so they read as silhouettes against the dark forest, not as lit props. */
  .turn__trunks img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: brightness(0.38) saturate(0.75); }
  .turn__trunks--l { clip-path: inset(0 50% 0 0); transform: translate3d(calc(-1 * var(--tr0)), 0, 0); }
  .turn__trunks--l img { object-position: 0% 50%; object-position: min(0px, 50vw - 0.42 * max(100vw, 177.78lvh)) 50%; }
  .turn__trunks--r { clip-path: inset(0 0 0 50%); transform: translate3d(var(--tr0), 0, 0); }
  .turn__trunks--r img { object-position: 100% 50%; object-position: calc(100% + max(0px, 0.36 * max(100vw, 177.78lvh) - 50vw)) 50%; }
  @media (prefers-reduced-motion: no-preference) {
    .turn { --part: clamp(0, calc((var(--sc-p, 0) - 0.12) / 0.5), 1); }
    .turn__scene { transform: scale(calc(1 + var(--part) * 0.07)); }
    .turn__trunks--l { transform-origin: 0% 60%; transform: translate3d(calc(-1 * (var(--tr0) + var(--part) * (72% - var(--tr0)))), 0, 0) scale(calc(1.06 + var(--part) * 0.14)); }
    .turn__trunks--r { transform-origin: 100% 60%; transform: translate3d(calc(var(--tr0) + var(--part) * (72% - var(--tr0))), 0, 0) scale(calc(1.06 + var(--part) * 0.14)); }
  }
  /* The words sit in the forest's shade at the left, so the peak and the lit path stay clear.
     A column of shade under them (a sibling of the copy) keeps them legible. */
  .turn__scrim {
    position: absolute; inset: 0; z-index: 19; pointer-events: none; opacity: 0;
    background:
      radial-gradient(ellipse 34% 44% at 13% 36%, rgb(8 12 9 / 0.8) 0%, rgb(8 12 9 / 0.64) 50%, rgb(8 12 9 / 0) 100%),
      linear-gradient(to right, rgb(8 12 9 / 0.4) 0%, rgb(8 12 9 / 0) 32%);
  }
  /* Canopy shade along the top edge, under the bar's light version. */
  .turn::after {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7rem; z-index: 18; pointer-events: none;
    background: linear-gradient(to bottom, rgb(6 9 7 / 0.5) 0%, rgb(6 9 7 / 0.3) 40%, rgb(6 9 7 / 0) 100%);
  }
  .turn__halo { display: none; position: absolute; z-index: 19; left: 0; right: 0; pointer-events: none; opacity: 0; }
  .turn__copy {
    position: absolute; z-index: 20; left: var(--sc-gutter); top: 23%;
    width: min(20rem, 23vw); text-align: left;
  }
  .turn__title {
    font-family: var(--sc-font-display); font-weight: 430; color: #F8F2E7;
    font-size: clamp(2.2rem, 1.1rem + 2.2vw, 3.5rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; white-space: pre-line;
  }
  .turn__line { margin: 1rem 0 0; max-width: 26ch; font-size: clamp(1.02rem, 0.96rem + 0.28vw, 1.16rem); line-height: 1.56; color: #F3ECDF; text-wrap: pretty; }
  /* On a portrait screen, phone or tablet, and on a small phone held sideways, the words go above the peak, on a band
     of light from the top edge; once the turn is lit the bar turns dark on it. */
  @media (max-width: 860px), (orientation: portrait) {
    .turn { --tr0: 38%; }
    .turn::after { display: none; }
    .turn__scrim { display: none; }
    .turn__halo {
      display: block; top: 0; height: 64%;
      background: linear-gradient(to bottom, rgb(250 244 230 / 0.93) 0%, rgb(250 244 230 / 0.86) 34%, rgb(250 244 230 / 0.5) 54%, rgb(250 244 230 / 0) 76%);
    }
    .turn__copy { right: var(--sc-gutter); width: auto; translate: none; text-align: center; }
    .turn__title { color: var(--sc-ink); margin: 0 auto; max-width: 9.6em; }
    .turn__line { color: var(--sc-ink); margin: 0.9rem auto 0; }
  }

  /* ----------------------------------------------- tags: what is here now, what is coming -- */
  .tag { display: inline-flex; align-items: center; gap: 0.45em; font: 600 0.8rem/1 var(--sc-font-text); letter-spacing: 0.02em; border-radius: 999px; padding: 0.44em 0.82em 0.44em 0.64em; white-space: nowrap; }
  /* Two tags: what is available today, in the beta (laurel, filled), and what is coming (warm sand, filled). */
  .tag--beta { color: #FFFFFF; background: var(--laurel); }
  .tag--beta::before { content: ""; width: 0.42em; height: 0.42em; border-radius: 50%; background: #CFE3B8; }
  .tag--soon { color: #3F3626; background: #EFE3C8; box-shadow: inset 0 0 0 1px rgb(139 116 68 / 0.28); }
  .tag--soon::before { content: ""; width: 0.42em; height: 0.42em; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #8B7444; }

  /* ------------------------------------------------ 4 · what it does for you -- */
  /* Five things, each a photo with what you would see at a glance: one large card and four beside it, two
     by two. They come in one after another, and each widget settles a moment after its card. The two
     available today carry "Available in beta"; the three still being built, "Coming soon". The widgets are
     illustrations with example data. */
  .act-feats { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem); }
  .feats__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem 2rem; margin-bottom: clamp(1.4rem, 3vh, 2.2rem); }
  .feats__h { margin: 0; font-family: var(--sc-font-display); font-weight: 430; font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.8rem); line-height: 1.02; letter-spacing: -0.022em; text-wrap: balance; }
  .feats__note { margin: 0; font-size: 0.82rem; color: var(--sc-ink-soft); }
  .feats__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(0.9rem, 1.6vw, 1.4rem); }
  .feat { display: flex; flex-direction: column; background: var(--sc-surface); border-radius: calc(var(--r-frame) + 8px); padding: 10px; box-shadow: var(--sc-e2), inset 0 1px 0 rgb(255 255 255 / 0.7); }
  .feat--big { grid-row: span 2; }
  .feat__photo { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-frame); overflow: hidden; background: var(--light); container-type: inline-size; }
  .feat--big .feat__photo { aspect-ratio: auto; flex: 1; min-height: 22rem; }
  .feat__photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
  .feat__txt { padding: 1rem 0.8rem 0.45rem; }
  /* The tag sits above the title, the same on every card. */
  .feat__head { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 0.6rem; }
  .feat__t { margin: 0; font-family: var(--sc-font-display); font-weight: 430; font-size: clamp(1.5rem, 1.1rem + 0.9vw, 2rem); line-height: 1.08; letter-spacing: -0.016em; }
  .feat--big .feat__t { font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.9rem); }
  .feat__l { margin: 0.45rem 0 0; font-size: clamp(0.96rem, 0.92rem + 0.2vw, 1.06rem); line-height: 1.5; color: var(--sc-ink-soft); text-wrap: pretty; }
  .feat .tag { font-size: 0.76rem; padding: 0.44em 0.8em 0.44em 0.62em; }
  /* The widget: one number, line or exchange to take in at a glance. */
  .wg {
    position: absolute; z-index: 2; left: 4cqw; top: 4cqw; width: min(52cqw, 20rem); font-size: clamp(0.82rem, 2.3cqw, 1.04rem);
    display: grid; gap: 0.6em; padding: 0.95em 1em 1em; border-radius: 1.1em; color: var(--sc-ink);
    background: rgb(251 248 241 / 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: var(--sc-e3), inset 0 1px 0 rgb(255 255 255 / 0.8);
  }
  .feat:not(.feat--big) .wg { width: min(66cqw, 15.5rem); font-size: clamp(0.72rem, 3.4cqw, 0.92rem); }
  .wg--tr { left: auto; right: 4cqw; }
  .wg--bl { top: auto; bottom: 4cqw; }
  .wg p, .wg ol { margin: 0; }
  .wg__k { font: 600 0.76em/1 var(--sc-font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sc-ink-soft); }
  .wg__bar { display: grid; grid-template-columns: 1fr auto; row-gap: 0.4em; font-weight: 500; font-size: 0.95em; }
  .wg__bar b { font-weight: 450; color: var(--sc-ink-soft); }
  .wg__bar i { grid-column: 1 / -1; height: 0.52em; border-radius: 1em; background: #EFE6D3; position: relative; overflow: hidden; }
  .wg__bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--c, var(--laurel)); }
  .wg__left { font-size: 0.9em; }
  .wg__left b { font-weight: 600; color: var(--laurel); margin-right: 0.3em; }
  .wg__big { font: 450 1.6em/1.1 var(--sc-font-display); letter-spacing: -0.012em; }
  .wg__tip { font-size: 0.92em; color: var(--sc-ink); }
  .wg__chips { display: flex; flex-wrap: wrap; gap: 0.45em; }
  .wg__chips span { font-weight: 600; font-size: 0.88em; padding: 0.42em 0.78em; border-radius: 99px; }
  .wg__up { background: #E3ECD8; color: var(--laurel); }
  .wg__hit { background: var(--laurel); color: #FFFFFF; }
  .wg__list { padding: 0; list-style: none; display: grid; gap: 0.4em; counter-reset: wg; }
  .wg__list li { display: flex; align-items: center; gap: 0.55em; font-size: 0.95em; font-weight: 500; }
  .wg__list li::before { counter-increment: wg; content: counter(wg); flex: none; display: grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: 50%; background: #E3ECD8; color: var(--laurel); font-size: 0.8em; font-weight: 700; }
  .wg__row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6em; }
  .wg__chip { font-weight: 600; font-size: 0.8em; padding: 0.32em 0.62em; border-radius: 99px; background: #E3ECD8; color: var(--laurel); white-space: nowrap; }
  .wg__rec { display: flex; align-items: flex-end; gap: 0.32em; height: 2.4em; }
  .wg__rec i { flex: 1; height: calc(var(--h) * 100%); border-radius: 0.22em; background: #D3E0C6; }
  .wg__rec i.on { background: var(--laurel); }
  .wg__cap { display: flex; justify-content: space-between; font-size: 0.74em; color: var(--sc-ink-soft); margin-top: -0.3em; }
  .wg__note { font-size: 0.86em; padding-top: 0.5em; border-top: 1px solid rgb(30 31 28 / 0.08); }
  .wg__note b { font-weight: 600; }
  /* A day, as a calendar: the time, and a block per thing; the block happening now is the dark one. */
  .cal { display: grid; gap: 0.32em; }
  .cal__h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.2em; }
  .cal__h b { font: 450 1.12em/1 var(--sc-font-display); }
  .cal__row { display: grid; grid-template-columns: 2.7em 1fr; align-items: center; gap: 0.5em; font-size: 0.88em; }
  .cal__row > b { font-weight: 600; font-size: 0.88em; color: var(--sc-ink-soft); font-variant-numeric: tabular-nums; }
  .cal__row > span { display: flex; justify-content: space-between; gap: 0.4em; padding: 0.34em 0.6em; border-radius: 0.5em; background: var(--bg, #EFE8DA); box-shadow: inset 0.22em 0 0 var(--c, #C9B48A); font-weight: 500; }
  .cal__row > span small { font-size: 0.86em; font-weight: 450; color: var(--sc-ink-soft); }
  .cal__row.is-now > span { background: var(--laurel); color: #FFFFFF; box-shadow: inset 0.22em 0 0 #CFE3B8; }
  .cal__row.is-now > span small { color: rgb(255 255 255 / 0.78); }
  /* The start of a course: its cover, the four weeks, and a Start button (a picture of one, not a link). */
  .wg--mod { padding: 0; gap: 0; overflow: hidden; }
  .mod__top { padding: 0.95em 1.05em 0.9em; background: linear-gradient(150deg, #46653D 0%, #2F4729 70%); color: #FBF8F1; }
  .mod__k { font: 600 0.7em/1 var(--sc-font-text); letter-spacing: 0.12em; text-transform: uppercase; color: rgb(251 248 241 / 0.72); }
  .mod__t { margin-top: 0.4em !important; font: 450 1.38em/1.08 var(--sc-font-display); letter-spacing: -0.01em; }
  .mod__s { margin-top: 0.3em !important; font-size: 0.8em; color: rgb(251 248 241 / 0.8); }
  .mod__list { padding: 0.75em 1.05em 0; list-style: none; display: grid; gap: 0.4em; counter-reset: mod; }
  .mod__list li { display: flex; align-items: center; gap: 0.55em; font-size: 0.86em; }
  .mod__list li::before { counter-increment: mod; content: counter(mod); flex: none; display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: #E3ECD8; color: var(--laurel); font-size: 0.82em; font-weight: 700; }
  .mod__list li small { margin-left: auto; font-size: 0.86em; color: var(--sc-ink-soft); }
  .mod__go { margin: 0.8em 1.05em 0.95em !important; justify-self: start; display: inline-flex; align-items: center; gap: 0.45em; padding: 0.5em 1.15em; border-radius: 99px; background: var(--laurel); color: #FFFFFF; font-weight: 600; font-size: 0.86em; box-shadow: 0 0.2em 0.6em rgb(47 71 41 / 0.3); }
  .wg--chat { gap: 0.45em; padding: 0.75em; }
  .wg--chat .b { font-size: 0.95em; max-width: 100%; }
  .wg--chat .b--co { justify-self: start; }
  .wg--chat .b--me { justify-self: end; }
  @media (prefers-reduced-motion: no-preference) {
    .feat .wg { opacity: 0; translate: 0 10px; transition: opacity 520ms var(--sc-ease-out) 300ms, translate 640ms var(--sc-ease-out) 300ms; }
    .feat.sc-in .wg { opacity: 1; translate: 0 0; }
  }
  @media (max-width: 1100px) {
    .feats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feat--big { grid-column: 1 / -1; grid-row: auto; }
    .feat--big .feat__photo { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  }
  @media (max-width: 860px) {
    .feats__grid { grid-template-columns: 1fr; }
    .feat--big .feat__photo { aspect-ratio: 4 / 3.5; }
    .feat__photo { aspect-ratio: 16 / 11; }
    .wg, .feat--big .wg, .feat:not(.feat--big) .wg { width: min(66cqw, 16rem); font-size: clamp(0.76rem, 3.6cqw, 0.94rem); }
  }

  /* Chat lines and saved lines, used by the small cards of section 5. */
  .b { flex: none; max-width: 84%; padding: 0.6em 0.85em; border-radius: 1.05em; font: 400 0.92em/1.38 var(--sc-font-text); }
  .b--me { align-self: flex-end; background: var(--laurel); color: #FFFFFF; border-bottom-right-radius: 0.32em; }
  .b--co { align-self: flex-start; background: #EEE4D0; color: var(--sc-ink); border-bottom-left-radius: 0.32em; }
  .sv {
    flex: none; display: grid; gap: 0.16em; padding: 0.55em 0.78em; border-radius: 0.8em; background: #FFFFFF;
    box-shadow: inset 0.22em 0 0 var(--laurel), 0 0.15em 0.6em rgb(80 60 30 / 0.07); font: 400 0.8em/1.36 var(--sc-font-text); color: var(--sc-ink);
  }
  .sv b { font-weight: 600; }
  .sv--left { background: #E6EFDC; }
  .talk__card p { margin: 0; }

  /* ------------------------------------------------- 5 · talk to it your way -- */
  /* Four short examples on a row that moves sideways with the scroll: what you send, and what it makes of it.
     The heading opens the row; the row rests on its last example before the close. */
  .talk { background: var(--sc-canvas); display: flex; align-items: center; }
  .talk__rail { align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); padding: 0 var(--sc-gutter); }
  .talk__lead { flex: 0 0 min(24rem, 28vw); }
  .talk__h { margin: 0; font-family: var(--sc-font-display); font-weight: 430; font-size: clamp(2.4rem, 1.4rem + 2.8vw, 4.2rem); line-height: 1.02; letter-spacing: -0.024em; text-wrap: balance; }
  .talk__item { flex: 0 0 min(30vw, 46vh, 27rem); }
  .talk__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-frame); overflow: hidden; background: var(--light); box-shadow: var(--sc-e2); }
  .talk__photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
  .talk__card {
    position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; display: grid; gap: 0.45rem; padding: 0.75rem 0.8rem;
    background: rgb(251 248 241 / 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-radius: 1rem; box-shadow: var(--sc-e3), inset 0 1px 0 rgb(255 255 255 / 0.8); font-size: 0.84rem; line-height: 1.38; color: var(--sc-ink);
  }
  .talk__card .b { font-size: 1em; max-width: 92%; padding: 0.5em 0.75em; }
  .talk__card .sv { font-size: 0.96em; box-shadow: inset 0.22em 0 0 var(--laurel); }
  .tk { display: flex; align-items: center; gap: 0.4em; margin: 0; font-weight: 500; font-size: 0.92em; color: var(--sc-ink-soft); }
  .tk svg { width: 1.1em; height: 1.1em; flex: none; }
  .tv { display: flex; align-items: center; gap: 0.55em; margin: 0; padding: 0.5em 0.75em; border-radius: 99px; background: var(--laurel); color: #FFFFFF; font-weight: 500; font-size: 0.95em; justify-self: end; }
  .tv svg { width: 1.15em; height: 1.15em; flex: none; }
  .tv .wave { width: 6.4em; height: 1.4em; }
  .tq { margin: 0; font-size: 1em; color: var(--sc-ink); }
  .talk__head { display: flex; align-items: center; gap: 0.7rem; margin-top: 1rem; }
  .talk__t { margin: 0; font-family: var(--sc-font-display); font-weight: 430; font-size: clamp(1.45rem, 1.2rem + 0.6vw, 1.8rem); line-height: 1.1; letter-spacing: -0.012em; }
  .talk__l { margin: 0.4rem 0 0; font-size: 1rem; line-height: 1.5; color: var(--sc-ink-soft); }
  .talk__item .tag { font-size: 0.76rem; padding: 0.44em 0.8em 0.44em 0.62em; }
  /* Widgets: a home screen drawn in the page's palette, in the same frame as the photos. Example data. */
  .talk__widgets { container-type: inline-size; background: linear-gradient(165deg, #D9E5CE 0%, #EAEEDB 40%, #F5EAD4 100%); }
  .home { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr; gap: 3cqw; padding: 4.6cqw; font-size: 3.7cqw; }
  .hw { display: grid; align-content: start; gap: 1.5cqw; padding: 3.8cqw 4.4cqw; border-radius: 6.4cqw; background: rgb(255 255 255 / 0.9); box-shadow: 0 0.9cqw 3.2cqw rgb(60 50 30 / 0.13); color: var(--sc-ink); }
  .hw p { margin: 0; }
  .hw__k { font: 600 0.78em/1 var(--sc-font-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-ink-soft); }
  .hw__big { font: 450 2.15em/1 var(--sc-font-display); letter-spacing: -0.02em; }
  .hw__big small { font: 500 0.42em/1 var(--sc-font-text); color: var(--sc-ink-soft); margin: 0 0.15em; }
  .hw__sub { font-size: 0.8em; line-height: 1.3; color: var(--sc-ink-soft); }
  .hw__bars { display: flex; align-items: flex-end; gap: 1.3cqw; height: 8cqw; }
  .hw__bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 1cqw; background: #D8E3CC; }
  .hw__bars i.on { background: var(--laurel); }
  .hw__ring { position: relative; width: 62%; aspect-ratio: 1; justify-self: center; }
  .hw__ring svg { display: block; width: 100%; height: 100%; }
  .hw__ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 450 1.35em/1 var(--sc-font-display); }
  .hw--cal .hw__sub { text-align: center; }
  .hw--fat { grid-column: 1 / -1; grid-template-columns: auto 1fr; column-gap: 4cqw; align-items: end; }
  .hw--fat .hw__k, .hw--fat .hw__sub { grid-column: 1 / -1; }
  .hw__line { display: block; width: 100%; height: auto; }
  .hw__meter { position: relative; height: 1.7cqw; border-radius: 1cqw; background: #E6E0CF; overflow: hidden; }
  .hw__meter i { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--laurel); }
  .hw__dots { display: flex; gap: 1.4cqw; }
  .hw__dots i { width: 2.8cqw; height: 2.8cqw; border-radius: 50%; box-shadow: inset 0 0 0 0.35cqw #B9CBA9; }
  .hw__dots i.on { background: var(--laurel); box-shadow: none; }
  /* Each example settles as it comes in from the right edge (--k: where it enters, set by the script). */
  @media (prefers-reduced-motion: no-preference) {
    .talk__item { --s: clamp(0, calc((var(--sc-p, 0) - var(--k, -1)) * 6), 1); opacity: calc(0.55 + 0.45 * var(--s)); translate: 0 calc((1 - var(--s)) * 1.5rem); }
  }
  @media (max-width: 860px) {
    .talk__rail { gap: 1rem; }
    .talk__lead { flex-basis: 70vw; }
    .talk__h { font-size: 2.3rem; }
    .talk__item { flex-basis: 76vw; }
  }
  /* Reduced motion: the row is laid out flat, with no pin and no travel, so every example is in reach. */
  @media (prefers-reduced-motion: reduce) {
    html .act-talk { height: auto !important; }
    html .act-talk .talk { position: relative; height: auto; overflow: visible; padding-block: clamp(4rem, 9vh, 6rem); }
    .act-talk .talk__rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: clamp(1rem, 2vw, 1.8rem); }
    .talk__lead { grid-column: 1 / -1; }
  }
  @media (prefers-reduced-motion: reduce) and (max-width: 1100px) {
    .act-talk .talk__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (prefers-reduced-motion: reduce) and (max-width: 860px) {
    .act-talk .talk__rail { grid-template-columns: 1fr; gap: 1.6rem; }
  }

  /* --------------------------------------------------------- 6 · close -- */
  .close { background: var(--cream); }
  /* `translate`, not `transform`: the engine writes transform on every cue. */
  .close__copy { position: absolute; z-index: 20; left: 50%; top: clamp(6rem, 15vh, 10rem); width: min(44rem, 88vw); translate: -50% 0; text-align: center; }
  .close__inner { display: grid; justify-items: center; }
  .close__title { font-family: var(--sc-font-display); font-weight: 430; font-size: clamp(2.6rem, 1.5rem + 3.4vw, 4.9rem); letter-spacing: -0.026em; line-height: 1; margin: 0; font-variant-numeric: lining-nums; }
  .close__line { margin: 1.1rem 0 1.8rem; font-size: clamp(1.06rem, 0.98rem + 0.4vw, 1.3rem); line-height: 1.5; color: var(--sc-ink); max-width: 32ch; text-wrap: balance; }
  .close__signin { margin: 1.15rem 0 0; font-size: 0.95rem; color: var(--sc-ink-soft); }
  .close__signin a { color: var(--sc-ink); font-weight: 500; text-underline-offset: 0.25em; border-radius: 4px; }
  .foot {
    position: absolute; z-index: 20; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center; gap: 0.6rem 1.4rem; flex-wrap: wrap;
    padding: 1rem var(--sc-gutter) max(1.1rem, env(safe-area-inset-bottom));
    font-size: 0.85rem; color: #F8F3EA;
    background: linear-gradient(to top, rgb(38 44 30 / 0.55), rgb(38 44 30 / 0));
  }
  .foot a { color: inherit; text-underline-offset: 0.25em; border-radius: 4px; }
  .foot svg { width: 18px; height: 18px; }
  .foot :focus-visible { outline-color: #FFF3D6; }

  /* ------------------------------------- portrait screens: phones and tablets -- */
  @media (orientation: portrait) {
    .hero__copy { top: clamp(5rem, 11svh, 6.5rem); left: var(--sc-gutter); right: var(--sc-gutter); width: auto; }
    .hero__near img { width: 210%; left: -55%; }
    .wood__copy { left: var(--sc-gutter); right: var(--sc-gutter); width: auto; top: clamp(5.5rem, 13svh, 8rem); translate: none; align-items: start; }
    /* On a portrait screen the trunks stay at the edges, so the path between them still reads. */
    .wood { --tr-from: 64%; --tr-to: 38%; }
    .wood__scrim { background: linear-gradient(to bottom, rgb(6 9 7 / 0.78) 0%, rgb(6 9 7 / 0.55) 40%, rgb(6 9 7 / 0) 70%); }
    .turn__copy { top: clamp(4.8rem, 10.5svh, 6rem); width: calc(100% - 2 * var(--sc-gutter)); }
    .close__copy { top: clamp(5.2rem, 12svh, 7rem); }
  }
  @media (max-width: 860px) {
    .hero h1 { font-size: clamp(4.2rem, 2.6rem + 8vw, 6rem); }
    .hero__line { margin-top: 0.85rem; max-width: 30ch; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.42rem); line-height: 1.38; }
    .hero__act { margin-top: 1.35rem; }
    .wood__line { font-size: clamp(1.4rem, 1.05rem + 1.8vw, 1.9rem); }
    .wood__note { font-size: 1.05rem; }
    .turn__title { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 2.9rem); }
    .turn__line { font-size: 1.04rem; max-width: 30ch; }
    .close__line { margin: 0.9rem 0 1.5rem; }
  }
  /* Short phones: the name and its line still read as the first screen, above the figure. */
  @media (max-width: 860px) and (max-height: 700px) {
    .hero__copy { top: 4.6rem; }
    .hero h1 { font-size: 3.7rem; }
    .hero__line { font-size: 1.16rem; margin-top: 0.7rem; }
    .hero__act { margin-top: 1.1rem; }
    .wood__copy { top: 4.6rem; }
    .wood__line { font-size: 1.3rem; }
  }
  /* Short phones: keep the turn's words above the crest, where the light arrives. */
  @media (max-width: 860px) and (max-height: 700px) {
    .turn__copy { top: 4.1rem; }
    .turn__title { font-size: 1.85rem; }
    .turn__line { font-size: 0.94rem; line-height: 1.45; margin-top: 0.7rem; }
  }

  /* Phones in portrait keep the trunk placement approved on the phone: each layer at its own edge. */
  @media (orientation: portrait) and (max-width: 699.98px) {
    .wood__trunks--l img, .turn__trunks--l img { object-position: 0% 50%; }
    .wood__trunks--r img, .turn__trunks--r img { object-position: 100% 50%; }
  }
  /* Portrait tablets: the portrait composition (the tall plates, the words above the scene), with type, cards
     and examples sized for a tablet, and the near trunks framing both edges. */
  @media (orientation: portrait) and (min-width: 700px) {
    .hero__copy { top: clamp(6rem, 9svh, 8rem); }
    .hero h1 { font-size: clamp(5.6rem, 2.4rem + 8.4vw, 8.4rem); }
    .hero__line { max-width: 32ch; font-size: clamp(1.4rem, 0.9rem + 1.2vw, 1.75rem); line-height: 1.4; }
    .wood { --tr-from: 44%; --tr-to: 18%; }
    .wood__copy { top: clamp(7rem, 12svh, 10rem); right: auto; width: min(38rem, calc(100% - 2 * var(--sc-gutter))); }
    .wood__line { font-size: clamp(1.9rem, 1rem + 2.1vw, 2.5rem); }
    .wood__note { font-size: clamp(1.15rem, 0.9rem + 0.6vw, 1.35rem); }
    .turn { --tr0: 12%; }
    .turn__copy { top: clamp(6rem, 9svh, 8rem); }
    .turn__title { font-size: clamp(2.8rem, 1.2rem + 4vw, 3.9rem); }
    .turn__line { font-size: clamp(1.18rem, 0.9rem + 0.7vw, 1.4rem); max-width: 34ch; }
    .feats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feat--big { grid-column: 1 / -1; grid-row: auto; }
    .feat--big .feat__photo { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
    .feat__photo { aspect-ratio: 4 / 3; }
    .talk__rail { gap: clamp(1.2rem, 2.4vw, 2rem); }
    .talk__lead { flex-basis: min(48vw, 26rem); }
    .talk__h { font-size: clamp(2.8rem, 1.4rem + 2.8vw, 3.6rem); }
    .talk__item { flex-basis: min(52vw, 32rem); }
    .close__copy { top: clamp(7rem, 12svh, 10rem); }
    .close__title { font-size: clamp(3.4rem, 1.5rem + 4.4vw, 4.6rem); }
    .close__line { font-size: clamp(1.15rem, 0.9rem + 0.6vw, 1.35rem); }
  }
  @media (prefers-reduced-motion: reduce) and (orientation: portrait) and (min-width: 700px) {
    .act-talk .talk__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (prefers-reduced-motion: reduce) {
    /* The light still fades in step by step; nothing moves, so the trunks that part are left out. */
    .turn__head, .turn__trunks { display: none; }
  }

  /* Phones hide their toolbars while the page scrolls, so the visible screen grows taller than
     100svh, and a stage sized in svh left a band of page ground under it (seen on Riccardo's phone,
     2026-11-05). Every stage covers the large viewport. What sits at the bottom of a stage moves up
     by the toolbars' height, so it stays visible while the toolbars are shown. The footer stays
     anchored to the stage's bottom and grows its bottom padding instead: raising the whole box left
     the image uncovered under its dark gradient, a hard band on Riccardo's phone. */
  html .sc-stage { height: 100vh; height: 100lvh; }
  .foot { padding-bottom: calc(max(1.1rem, env(safe-area-inset-bottom)) + 100lvh - 100svh); }

/* The phone at the end of the turn (Riccardo's decision of 2026-11-06, screen 1 of the options sheet): an
   illustration of the app with example data, centred in front of the peak, coming in after the headline and
   the line. Every size inside follows the phone's height, through its font size. */
.tphone {
  --h: 50vh; position: absolute; z-index: 21; left: 50%; bottom: 7vh; translate: -50% 0;
  height: var(--h); aspect-ratio: 9 / 19.3; font-size: calc(var(--h) / 44);
  border-radius: 2.7em; background: #1b1c19; padding: 0.5em;
  box-shadow: 0 2.4em 5em rgb(30 31 28 / 0.38), 0 0 0 0.08em rgb(255 255 255 / 0.18) inset;
}
.tphone__s { position: relative; height: 100%; border-radius: 2.25em; overflow: hidden; background: #f6f2ea; color: #1e1f1c; display: flex; flex-direction: column; font-family: var(--sc-font-text); }
.tphone__isl { position: absolute; top: 0.55em; left: 50%; translate: -50% 0; width: 5.6em; height: 1.6em; border-radius: 1em; background: #1b1c19; }
.tphone__st { display: flex; justify-content: space-between; align-items: center; padding: 0.7em 1.6em 0; font-size: 0.78em; font-weight: 600; }
.tphone__ic { display: flex; align-items: center; gap: 0.18em; }
.tphone__ic i { width: 0.32em; height: 0.32em; border-radius: 50%; background: #1e1f1c; }
.tphone__ic b { width: 0.6em; height: 0.75em; margin-left: 0.3em; border-radius: 0.12em; background: #1e1f1c; }
.tphone__hd { display: flex; align-items: center; gap: 0.45em; padding: 1.1em 1.1em 0.7em; border-bottom: 1px solid #e8e1d3; }
.tphone__hd svg { width: 1.35em; height: 1.35em; }
.tphone__hd b { font-family: var(--sc-font-display); font-weight: 500; font-size: 1.12em; letter-spacing: -0.01em; }
.tphone__m { flex: 1; display: flex; flex-direction: column; gap: 0.6em; padding: 0.9em 0.85em 0.8em; font-size: 0.8em; line-height: 1.38; }
.tphone__t { align-self: flex-start; max-width: 88%; background: #fbf9f4; border: 1px solid #ddd5c6; border-radius: 1.15em 1.15em 1.15em 0.4em; padding: 0.6em 0.95em 0.7em; }
.tphone__ph { align-self: flex-end; width: 62%; border-radius: 1em; overflow: hidden; aspect-ratio: 4 / 3; }
.tphone__ph img, .tp-img img { display: block; width: 100%; object-fit: cover; }
.tphone__ph img { height: 100%; }
.tphone__in { display: flex; align-items: center; gap: 0.6em; margin: 0 0.75em 1.5em; padding: 0.6em 0.8em; border: 1px solid #cfc6b4; border-radius: 1.4em; background: #fbf9f4; font-size: 0.8em; color: #6b675e; }
.tphone__in i { font-style: normal; font-size: 1.3em; line-height: 1; color: #1e1f1c; }
.tphone__in span { flex: 1; }
.tphone__in svg { width: 1.3em; height: 1.3em; color: #1e1f1c; }
.tp-card { background: #fbf9f4; border: 1px solid #ddd5c6; border-radius: 1.1em; padding: 0.75em 0.85em; }
.tp-card.tp-img { padding: 0; overflow: hidden; }
.tp-img img { height: 6.2em; }
.tp-cb { padding: 0.55em 0.85em 0.7em; }
.tp-k { font-size: 0.72em; letter-spacing: 0.06em; text-transform: uppercase; color: #5a574f; }
.tp-rr { display: flex; align-items: center; gap: 0.9em; }
.tp-ring { width: 5.2em; height: 5.2em; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(#3d5a35 62%, #e8e1d3 0); }
.tp-ring > div { width: 4.1em; height: 4.1em; border-radius: 50%; background: #fbf9f4; display: grid; place-items: center; text-align: center; }
.tp-ring b { font-family: var(--sc-font-display); font-weight: 500; font-size: 1.15em; line-height: 1; display: block; }
.tp-ring small { font-size: 0.62em; color: #5a574f; }
.tp-bars { flex: 1; display: grid; gap: 0.42em; font-size: 0.72em; }
.tp-bar { display: grid; grid-template-columns: 3.8em 1fr; align-items: center; gap: 0.5em; }
.tp-bar i { display: block; height: 0.5em; border-radius: 1em; background: #e8e1d3; position: relative; overflow: hidden; }
.tp-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 1em; background: var(--c, #3d5a35); }
.tp-up { color: #3d5a35; font-weight: 600; }
/* On a portrait screen, below the words and a little smaller, the summit still in view above it. */
@media (max-width: 860px), (orientation: portrait) {
  .tphone { --h: 42svh; bottom: 8svh; }
}
