/* Caseday landing page. Mobile first. Brand: projects/caseday/brand (BRIEF §5). */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallbacks so the swap doesn't shift the layout. */
@font-face { font-family: "Schibsted Fallback"; src: local("Arial"); size-adjust: 100%; ascent-override: 96%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Fallback"; src: local("Arial"); size-adjust: 96%; ascent-override: 98%; descent-override: 26%; line-gap-override: 0%; }

:root {
  --pine: #12352B;
  --pine-2: #1B4A3C;
  --yolk: #F2A71B;
  --yolk-hover: #E39A0F;
  --yolk-soft: #FBE3AE;
  --leaf: #2F7D55;
  --paper: #F6F6F1;
  --mist: #DCE4DF;
  --mist-soft: #ECF1EE;
  --white: #FFFFFF;
  --muted: #56665F;
  --on-pine: #F6F6F1;
  --on-pine-muted: #C9D6CF;
  --danger: #A8261B;
  --ok-bg: #DDEFE4;

  --font-head: "Schibsted Grotesk", "Schibsted Fallback", Arial, sans-serif;
  --font-body: "Instrument Sans", "Instrument Fallback", Arial, sans-serif;

  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wrap: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 64px;
  --shadow: 0 1px 2px rgba(18, 53, 43, .06), 0 8px 24px rgba(18, 53, 43, .08);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--pine);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--pine);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 var(--s4); text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 1.25rem + 3.6vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s4); }
a { color: var(--leaf); text-underline-offset: 0.18em; }
a:hover { color: var(--pine); }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; border-radius: 4px; }
ul, ol { padding: 0; margin: 0; list-style: none; }
strong, b { font-weight: 600; }
[hidden] { display: none !important; }
:target, section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: -0.25em; }
.icon--lg { width: 28px; height: 28px; }
.icon--xl { width: 44px; height: 44px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }

.skip { position: absolute; left: var(--s4); top: -100px; z-index: 100; background: var(--pine); color: var(--paper); padding: var(--s2) var(--s4); border-radius: var(--radius-sm); }
.skip:focus { top: var(--s2); color: var(--paper); }

.eyebrow { font-weight: 600; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pine); margin-bottom: var(--s3); }
.eyebrow--yolk { color: var(--yolk); }
.section-lede { color: var(--muted); max-width: 46ch; font-size: 1.125rem; margin-bottom: var(--s6); }

/* Buttons: Pine on Yolk (6.6:1) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0.7rem 1.35rem; border: 2px solid transparent; border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn--yolk { background: var(--yolk); color: var(--pine); }
.btn--yolk:hover { background: var(--yolk-hover); color: var(--pine); }
.btn--sm { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn--lg { min-height: 54px; padding: 0.85rem 1.6rem; font-size: 1.0625rem; }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.band--pine .btn:focus-visible { box-shadow: 0 0 0 3px var(--pine), 0 0 0 6px var(--yolk); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(246, 246, 241, .94); border-bottom: 1px solid var(--mist); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(246, 246, 241, .86); backdrop-filter: blur(8px); } }
.site-header__in { height: 100%; display: flex; align-items: center; gap: var(--s3); }
.brand { display: block; margin-right: auto; padding: 6px 0; }
.brand img { width: 128px; }
.nav { position: static; }
.nav__toggle { display: none; }
.nav__list { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
.nav__list a { color: var(--pine); text-decoration: none; font-weight: 500; padding: 10px 2px; display: inline-block; }
.nav__list a:hover { text-decoration: underline; }

/* No JS on a phone: the links wrap under the logo (the header grows). */
@media (max-width: 899.98px) {
  html:not(.js) .site-header { height: auto; }
  html:not(.js) .site-header__in { flex-wrap: wrap; padding-block: var(--s2); }
  html:not(.js) .nav { order: 3; width: 100%; }
  .js .nav__toggle {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--mist);
    border-radius: 999px; background: var(--white); color: var(--pine); font: 500 0.9375rem var(--font-body); cursor: pointer;
  }
  .js .nav__list {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--mist); padding: var(--s2) var(--gutter) var(--s4); box-shadow: var(--shadow);
  }
  .js .nav__list.is-open { display: flex; }
  .js .nav__list a { display: block; padding: 12px 0; font-size: 1.0625rem; }
}
@media (max-width: 380px) {
  .brand img { width: 108px; }
  .site-header__cta { padding-inline: 0.8rem; font-size: 0.875rem; }
  .js .nav__toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .js .nav__toggle { padding: 0 10px; }
}
@media (min-width: 900px) {
  .site-header__in { gap: var(--s6); }
  .brand img { width: 140px; }
}

/* Header over the hero (home page, JS on): transparent with Paper text until the hero has scrolled past (app.js). */
.brand__dark { display: none; }
.js .site-header--hero:not(.is-solid) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.js .site-header--hero:not(.is-solid) .brand__light { display: none; }
.js .site-header--hero:not(.is-solid) .brand__dark { display: block; }
.js .site-header--hero:not(.is-solid) .nav__toggle { background: rgba(4, 16, 12, .45); color: var(--paper); border-color: rgba(246, 246, 241, .45); }
.js .site-header--hero:not(.is-solid) :focus-visible { outline-color: var(--yolk); }
.js .site-header--hero:not(.is-solid) .btn:focus-visible { box-shadow: 0 0 0 3px #04100C, 0 0 0 6px var(--yolk); }
@media (min-width: 900px) {
  .js .site-header--hero:not(.is-solid) .nav__list a { color: var(--paper); }
}
.site-header { transition: background-color .25s var(--ease), border-color .25s var(--ease); }

/* Big section titles (BRIEF §12.4) */
.display { font-size: clamp(2.5rem, 6vw, 6rem); line-height: 1; letter-spacing: -0.035em; max-width: 15ch; margin-bottom: var(--s5); }

/* ============ 1. Hero ============
   Default (reduced motion, Data Saver, no JS): the dawn poster, our land and the parked, loaded van, the lockup, the
   real H1, the email form, then the four chapter lines as a list. html.motion turns it into the pinned film. */
.hero {
  --land-h: clamp(230px, 40vh, 420px);
  --fx: 70%;                    /* focal point across the film (the dawn glow) */
  --ink: #04100C;               /* darkest Pine, behind everything */
  position: relative; background: #03100B; color: var(--paper);
}
@media (min-width: 700px) { .hero { --fx: 62%; --land-h: clamp(260px, 44vh, 460px); } }
.js .hero { margin-top: calc(-1 * var(--header-h)); }
.hero__stage { position: relative; }
.hero__sky { position: relative; display: flex; flex-direction: column; min-height: 100svh; }
.hero__film {
  position: absolute; left: 0; right: 0; top: 0; bottom: calc(var(--land-h) * .25);
  background: #0B231C url("/frames/m/0080.webp") var(--fx) 100% / cover no-repeat;
}
@media (min-width: 700px) { .hero__film { background-image: url("/frames/d/0098.webp"); } }
.hero__canvas { display: none; width: 100%; height: 100%; }
.hero__land { position: absolute; left: 0; right: 0; bottom: 0; height: var(--land-h); pointer-events: none; }
.hero__land .scene { display: block; width: 100%; height: 100%; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 16, 12, .78) 0%, rgba(4, 16, 12, .5) 45%, rgba(4, 16, 12, 0) 70%);
}
@media (min-width: 700px) {
  .hero__scrim { background: linear-gradient(90deg, rgba(4, 16, 12, .74) 0%, rgba(4, 16, 12, .5) 38%, rgba(4, 16, 12, 0) 66%), linear-gradient(180deg, rgba(4, 16, 12, .6) 0, rgba(4, 16, 12, 0) 24%); }
}
.hero__props, .hero__clock, .hero__rail { display: none; }

.hero__final { position: relative; z-index: 2; padding: calc(var(--header-h) + var(--s6)) 0 calc(var(--land-h) * .62); }
html:not(.js) .hero__final { padding-top: var(--s6); }
.hero__lockup { width: clamp(200px, 34vw, 500px); height: auto; margin-bottom: var(--s5); }
.hero h1 { margin: 0 0 var(--s5); max-width: 17ch; font-size: clamp(2.125rem, 1.2rem + 3.6vw, 5rem); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.hero__kicker { display: block; font-family: var(--font-body); font-weight: 600; font-size: clamp(0.9375rem, 0.85rem + .3vw, 1.125rem); letter-spacing: 0.08em; text-transform: uppercase; color: var(--yolk); margin-bottom: var(--s3); }
.hero__claim { display: block; color: var(--paper); }
.quick { max-width: 540px; }
.quick__label { display: block; font-weight: 600; margin-bottom: var(--s2); }
.quick__row { display: flex; flex-direction: column; gap: var(--s2); }
.quick__note { color: #D5E0DA; font-size: 0.9375rem; margin: var(--s3) 0 0; }
.hero .field-error { color: #FFD2CC; }
.hero .field-error::before { background: #FFD2CC; color: var(--pine); }
.hero .input { border-color: transparent; }
.hero .input:focus-visible { outline-color: var(--yolk); border-color: var(--pine); }
.hero .btn:focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--yolk); }
@media (min-width: 520px) { .quick__row { flex-direction: row; } .quick__row .input { flex: 1; min-width: 0; } }

/* The four chapter lines, static: a list on the dark ground under the scene. */
.chapters { position: relative; z-index: 2; display: grid; gap: var(--s5); padding: var(--s6) var(--gutter) var(--s8); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; counter-reset: ch; }
.chapter p { margin: 0; }
.chapter__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; }
.chapter__line { color: #C9D6CF; margin-top: var(--s2) !important; max-width: 40ch; font-size: 1.0625rem; }
@media (min-width: 760px) { .chapters { grid-template-columns: 1fr 1fr; column-gap: var(--s7); } }

/* ---------- The pinned film (html.motion) ---------- */
.motion .hero__track { height: 350vh; }
@media (min-width: 700px) { .motion .hero__track { height: 450vh; } }
.motion .hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.motion .hero__sky { position: static; display: block; min-height: 0; }
.motion .hero__film { bottom: auto; height: calc(100% - var(--land-h) * .25); background-image: url("/frames/m/0001.webp"); }
@media (min-width: 700px) { .motion .hero__film { background-image: url("/frames/d/0001.webp"); } }
.motion .hero__canvas { display: block; opacity: 0; transition: opacity .25s linear; }
.motion .hero__canvas.is-ready { opacity: 1; }

.motion .hero__land .sc-far, .motion .hero__land .sc-mid, .motion .hero__land .sc-near { will-change: transform; }
.motion .hero__props, .motion .hero__clock { display: block; }
.motion .hero__rail { display: flex; }

/* Chapters: very large, left-aligned, one at a time. */
.motion .chapters { position: absolute; inset: 0; display: block; padding: 0; max-width: none; pointer-events: none; }
.motion .chapter { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 84px); opacity: 0; will-change: opacity, transform; }
.motion .chapter[data-chapter="0"] { opacity: 1; }
.motion .chapter__title { font-size: clamp(48px, 9vw, 150px); line-height: .94; letter-spacing: -0.045em; max-width: 9.5ch; text-wrap: balance; }
.motion .chapter__line { font-size: clamp(1.0625rem, 0.95rem + .45vw, 1.375rem); color: #E4EBE7; max-width: 32ch; margin-top: var(--s4) !important; }
@media (min-width: 1100px) { .motion .chapter { right: 34vw; } }

/* Final beat: lockup, the real H1, the form. Visible only at the end of the pin (js/hero.js). */
.motion .hero__final { position: absolute; inset: 0; z-index: 3; padding: calc(var(--header-h) + clamp(16px, 5vh, 56px)) 0 0; opacity: 0; pointer-events: none; }
.motion .hero__final.is-live { pointer-events: auto; }

/* Clock: 23:04 → 06:00. Phones: top left, above the chapter; wider: top right. */
.hero__clock { position: absolute; z-index: 3; left: var(--gutter); top: calc(var(--header-h) + 14px); margin: 0; line-height: 1; }
.hero__day { display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #C9D6CF; margin-bottom: 4px; }
.hero__time { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.75rem); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
@media (min-width: 700px) {
  .hero__clock { left: auto; right: var(--gutter); top: calc(var(--header-h) + 20px); text-align: right; }
  .motion .chapter { top: calc(var(--header-h) + clamp(16px, 5vh, 56px)); }
}

/* Progress rail: 7 case squares, the last one Yolk, and a Scroll cue. */
.hero__rail { position: absolute; z-index: 3; left: var(--gutter); bottom: 24px; align-items: center; gap: var(--s3); font-size: 0.875rem; font-weight: 600; color: #E4EBE7; }
.rail { display: inline-flex; gap: 5px; }
.rail i { width: 12px; height: 12px; border-radius: 3px; border: 2px solid rgba(246, 246, 241, .75); }
.rail i.is-on { background: var(--paper); border-color: var(--paper); }
.rail i.is-yolk { border-color: var(--yolk); }
.rail i.is-yolk.is-on { background: var(--yolk); }
.hero__cue { display: inline-flex; align-items: center; gap: 4px; }

/* The night-time phone with the orders coming in. */
.hphone {
  position: absolute; z-index: 2; right: max(var(--gutter), 6vw); bottom: 9vh; width: clamp(220px, 21vw, 300px); aspect-ratio: 9 / 18;
  padding: 9px; border-radius: 38px; background: #030C09; box-shadow: 0 0 0 2px #23453A, 0 30px 80px rgba(0, 0, 0, .55);
  will-change: transform, opacity;
}
@media (max-width: 699.98px) { .hphone__msgs { gap: 6px; } .bub { padding: 7px 10px; } .hphone__note { font-size: .6875rem; } }
@media (min-width: 700px) { .hphone { bottom: -6vh; aspect-ratio: 9 / 18.5; } }
.hphone__screen { height: 100%; border-radius: 30px; background: linear-gradient(180deg, #0F2E25 0%, #08201A 100%); padding: 16px 12px; display: flex; flex-direction: column; }
.hphone__top { display: flex; justify-content: space-between; align-items: center; margin: 4px 4px 12px; font-weight: 600; font-size: 0.875rem; color: var(--paper); }
.hphone__badge { background: var(--yolk); color: var(--pine); border-radius: 999px; padding: 1px 8px; font-size: 0.75rem; }
.hphone__msgs { display: grid; gap: 8px; }
.bub { display: grid; gap: 2px; background: var(--paper); color: var(--pine); border-radius: 16px 16px 16px 5px; padding: 9px 11px; font-size: clamp(0.75rem, 0.6rem + .3vw, 0.875rem); line-height: 1.3; will-change: transform, opacity; }
.bub__who { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: .85em; color: #42524B; }
.bub__who .icon { width: 1em; height: 1em; vertical-align: 0; }
.bub__text { font-size: 1.05em; }
.bub__meta { display: flex; align-items: center; gap: 4px; font-size: .78em; color: #42524B; }
.bub__meta .icon { width: 1em; height: 1em; vertical-align: 0; }
.bub__wave { display: flex; align-items: center; gap: 3px; height: 18px; }
.bub__wave i { width: 3px; border-radius: 2px; background: var(--pine); height: 40%; }
.bub__wave i:nth-child(3n) { height: 90%; } .bub__wave i:nth-child(3n+1) { height: 60%; } .bub__wave i:nth-child(4n) { height: 30%; }
.hphone__note { margin: auto 4px 8px; font-size: 0.75rem; color: #C9D6CF; }

/* The delivery-day list that rises in chapter 3. */
.hlist {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 74px; max-width: 440px; margin-left: auto;
  background: var(--paper); color: var(--pine); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  opacity: 0; will-change: transform, opacity;
}
@media (min-width: 700px) { .hlist { left: auto; right: max(var(--gutter), 6vw); bottom: auto; top: calc(var(--header-h) + 13vh); width: clamp(340px, 32vw, 460px); } }
.hlist p { margin: 0; }
.hlist__head { background: var(--pine); color: var(--paper); padding: 14px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; }
.hlist__day { font-size: 0.8125rem; color: #C9D6CF; }
.hlist__day strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.375rem; color: var(--paper); }
.hlist__totals { font-weight: 600; font-size: 0.9375rem; }
.hlist__rows li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--mist); font-size: 0.9375rem; }
.hlist__num { font-variant-numeric: tabular-nums; font-weight: 600; }
.hlist__ok { display: inline-flex; align-items: center; gap: 4px; background: var(--ok-bg); border-radius: 999px; padding: 2px 9px 2px 6px; font-size: 0.8125rem; font-weight: 600; }
.hlist__ok .icon { width: 14px; height: 14px; stroke-width: 2.5; color: var(--leaf); vertical-align: 0; }
.hlist__note { padding: 8px 16px 10px; font-size: 0.75rem; color: var(--muted); }
@media (max-width: 380px) { .hlist__ok { font-size: 0; padding: 4px; gap: 0; } .hlist__ok .icon { width: 16px; height: 16px; } }

/* The van scene: the markup's default is the static dawn state. */
.scene .vs-case, .scene .vs-lv, .scene .vs-door, .scene .vs-truck, .scene .vs-wheel, .scene .vs-puff { transform-box: fill-box; }
.scene .vs-lv { transform-origin: center; }
.scene .vs-door { transform-origin: left center; transform: scaleX(0); }
.scene .vs-wheel { transform-origin: center; }
.scene .vs-puff { transform-origin: center; opacity: 0; }
.scene .vs-lights, .scene .sc-shedlight { opacity: 0; }
.scene .vs-tint { opacity: .1; }
/* Scroll story start state (html.motion only), written by tools/build-scene.mjs. */
/* SCENE-STATE:START */
.motion .vs-c0 { transform: translate(120px, -74px); }
.motion .vs-c1 { transform: translate(78px, -74px); }
.motion .vs-c2 { transform: translate(120px, -32px); }
.motion .vs-c3 { transform: translate(78px, -32px); }
.motion .vs-c4 { transform: translate(78px, 10px); }
.motion .vs-c5 { transform: translate(120px, 10px); }
.motion .vs-c6 { transform: translate(162px, 10px); }
.motion .vs-case { opacity: 0; }
.motion .vs-lv { opacity: .16; }
.motion .vs-door { transform: none; }
.motion .vs-lights, .motion .sc-shedlight { opacity: 1; }
.motion .vs-tint { opacity: .5; }
/* SCENE-STATE:END */

/* ============ 2. Before and after (Pine band) ============ */
.ba { background: var(--pine); color: var(--paper); padding-block: var(--s8) var(--s7); }
.ba__head { max-width: 760px; margin-bottom: var(--s6); }
.ba__head p { color: var(--on-pine-muted); font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); max-width: 44ch; }
.ba__board { display: grid; gap: var(--s6); }
.ba__label { font-weight: 600; font-size: 0.9375rem; margin-bottom: var(--s3); color: var(--on-pine); }
.cards { display: grid; gap: var(--s4); }
.msg {
  background: var(--white); color: var(--pine); border-radius: 14px; padding: var(--s4) var(--s4); box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
  max-width: 330px; transform: rotate(var(--rot, 0deg));
}
.msg p { margin: 0; }
.msg__meta { display: flex; align-items: center; gap: 6px; font-size: 0.875rem; color: var(--muted); margin-bottom: 6px !important; }
.msg__body { font-size: 1.125rem; line-height: 1.4; }
.msg__attach { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px !important; font-size: 0.875rem; background: var(--mist-soft); border-radius: 6px; padding: 3px 8px; }
.msg--text { --rot: -2deg; border-left: 5px solid var(--leaf); }
.msg--call { --rot: 1.5deg; }
.msg--email { --rot: -1deg; }
.msg--note { --rot: 2.5deg; background: var(--yolk-soft); border-radius: 3px; padding: var(--s4); max-width: 240px; }
.msg__body--hand { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.daylist { background: var(--white); color: var(--pine); border-radius: var(--radius); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); overflow: hidden; }
.daylist__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s1) var(--s4); padding: var(--s4) var(--s5); background: var(--pine-2); color: var(--on-pine); }
.daylist__head p { margin: 0; }
.daylist__day { font-size: 0.875rem; color: var(--on-pine-muted); }
.daylist__day strong { display: block; color: var(--on-pine); font-family: var(--font-head); font-size: 1.625rem; font-weight: 800; }
.daylist__totals { font-weight: 600; font-size: 1rem; }
.daylist__table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.daylist__table th, .daylist__table td { padding: 0.85rem var(--s3); text-align: left; border-bottom: 1px solid var(--mist); }
.daylist__table th:first-child, .daylist__table td:first-child { padding-left: var(--s5); }
.daylist__table thead th { font-size: 0.8125rem; font-weight: 600; color: var(--muted); background: var(--mist-soft); }
.daylist__table tbody th { font-weight: 600; }
.daylist__table tr:last-child > * { border-bottom: 0; }
.daylist__table .num { text-align: right; font-variant-numeric: tabular-nums; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8125rem; font-weight: 600; padding: 2px 8px 2px 6px; border-radius: 999px; white-space: nowrap; }
.chip .icon { width: 14px; height: 14px; stroke-width: 2.5; color: var(--leaf); }
.chip--ok { background: var(--ok-bg); color: var(--pine); }
.illustration-note { color: var(--on-pine-muted); font-size: 0.875rem; margin: var(--s4) 0 0; }
@media (max-width: 420px) {
  .daylist__table { font-size: 0.9375rem; }
  .daylist__table th, .daylist__table td { padding-inline: 6px; }
  .daylist__table th:first-child, .daylist__table td:first-child { padding-left: var(--s3); }
  .chip { font-size: 0; padding: 4px; gap: 0; }
  .chip .icon { width: 16px; height: 16px; }
}
@media (min-width: 560px) { .cards { grid-template-columns: 1fr 1fr; align-items: start; } }
@media (min-width: 960px) { .ba__board { grid-template-columns: 1fr 1.1fr; align-items: center; } }

/* Scroll-linked version: the cards start as a loose pile over the empty list and slide into its rows. */
.motion .ba__pin { height: 230vh; }
.motion .ba { padding-block: 0; }
.motion .ba__stage { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + var(--s5)); padding-bottom: var(--s5); }
.motion .ba__head { margin-bottom: var(--s5); }
.motion .ba__label { display: none; }
.motion .ba__board { display: block; position: relative; }
.motion .ba__after { max-width: 640px; margin-inline: auto; }
.motion .ba__before { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.motion .cards { display: block; position: absolute; inset: -16px 0; }
.motion .msg { position: absolute; width: min(290px, 72%); will-change: transform, opacity; }
.motion .msg--text { left: 0; top: 0; --rot: -7deg; }
.motion .msg--call { right: 0; top: 14%; --rot: 6deg; }
.motion .msg--email { left: 4%; bottom: 4%; --rot: 4deg; }
.motion .msg--note { right: 6%; bottom: 0; width: min(230px, 56%); --rot: -5deg; }
.motion .daylist__totals, .motion .daylist__table tbody tr { opacity: 0; }
@media (max-width: 559.98px) {
  .motion .ba__head p { font-size: 1rem; }
  .motion .ba .display { font-size: clamp(2.25rem, 10vw, 3rem); }
  .motion .msg--email { left: 0; }
  .motion .msg__body { font-size: 1rem; }
}

/* Bands */
.band { padding-block: var(--s8); }
@media (min-width: 900px) { .band { padding-block: 8rem; } }
.band--pine { background: var(--pine); color: var(--on-pine); }
.band--pine a:not(.btn) { color: var(--on-pine); }
.band--mist { background: var(--mist-soft); }
.band--yolk { background: var(--yolk); color: var(--pine); }
.section-lede { color: var(--muted); max-width: 46ch; font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); margin-bottom: var(--s7); }

/* ============ 3. How it works: three huge numerals ============ */
.steps { display: grid; margin-top: var(--s6); border-top: 2px solid var(--pine); }
.step { display: grid; gap: var(--s4) var(--s6); padding-block: var(--s6); border-bottom: 1px solid var(--mist); align-items: start; }
.step__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 4rem + 9vw, 13rem); line-height: .78; letter-spacing: -0.06em; color: var(--pine); margin: 0; font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); letter-spacing: -0.03em; margin-bottom: var(--s3); }
.step__text p { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); color: var(--muted); max-width: 34ch; margin: 0; }
@media (min-width: 900px) {
  .step { grid-template-columns: minmax(150px, 0.7fr) 1.2fr 1fr; padding-block: var(--s7); }
  .step .mock { justify-self: end; }
}

.mock { background: var(--white); color: var(--pine); border: 1px solid var(--mist); border-radius: var(--radius); padding: var(--s4); box-shadow: var(--shadow); font-size: 0.9375rem; width: 100%; max-width: 360px; }
.mock p { color: var(--pine); margin: 0; }
.mock__title { font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted) !important; margin: var(--s2) 0 var(--s2) !important; }
.mock__title:first-child { margin-top: 0 !important; }
.mock__rows li { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); background: var(--paper); border: 1px solid var(--mist); border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; }
.mock__tag { font-size: 0.8125rem; background: var(--mist-soft); border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.mock__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mock__chip { border: 1px solid var(--mist); border-radius: 6px; padding: 3px 8px; background: var(--white); font-weight: 500; }
.mock__chip.is-on { background: var(--pine); color: var(--on-pine); border-color: var(--pine); }
.mock__cutoff { margin-top: var(--s3) !important; padding: 8px 10px; border-radius: 8px; background: var(--yolk-soft); }
.mock__ok { font-size: 0.8125rem; font-weight: 600; background: var(--ok-bg); border-radius: 999px; padding: 2px 8px; }
.mock__wait { font-size: 0.8125rem; font-weight: 600; background: var(--yolk); border-radius: 999px; padding: 2px 10px; }
.mock__print { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s2); background: var(--pine); color: var(--on-pine); border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.mock--phone { background: transparent; border: 0; box-shadow: none; padding: 0; }
.phone { width: 230px; border: 8px solid #0B1F19; border-radius: 30px; background: var(--paper); padding: var(--s4) var(--s3); box-shadow: 0 18px 40px rgba(18, 53, 43, .25); }
.phone p { margin: 0 0 8px; }
.phone__shop { font-family: var(--font-head); font-weight: 800; font-size: 1rem; }
.phone__cutoff { display: flex; align-items: center; gap: 6px; background: var(--yolk); border-radius: 8px; padding: 6px 8px; font-weight: 600; }
.phone__btn { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--pine); color: var(--on-pine); border-radius: 999px; padding: 8px; font-weight: 600; margin-bottom: 10px; }
.phone__list li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--mist); padding: 5px 0; }

/* ============ 4–5. Features: two editorial lists ============ */
.feat { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .feat { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 7rem); } }
.feat__head { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pine); margin-bottom: var(--s3); }
.feat__list { border-top: 2px solid var(--pine); }
.feat__list li { padding: var(--s4) 0 var(--s4); border-bottom: 1px solid #C9D3CD; }
.feat__list p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.feat__list .feat__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); line-height: 1.12; letter-spacing: -0.025em; color: var(--pine); margin-bottom: 4px; }

/* ============ 6. Works the way you do: four statements ============ */
.ways__list { display: grid; gap: var(--s7) var(--s7); margin-top: var(--s7); }
.ways__list li::before { content: ""; display: block; width: 20px; height: 20px; border-radius: 5px; background: var(--yolk); margin-bottom: var(--s4); }
.ways__list p { margin: 0; color: var(--on-pine-muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); max-width: 36ch; }
.ways__list .ways__big { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); line-height: 1.02; letter-spacing: -0.035em; color: var(--on-pine); margin-bottom: var(--s3); max-width: 14ch; }
@media (min-width: 760px) { .ways__list { grid-template-columns: 1fr 1fr; } }

/* ============ 7. Founding suppliers (Yolk band, hero-scale Pine type) ============ */
.eyebrow--pine { color: var(--pine); }
.founding__title { font-size: clamp(2.75rem, 1.5rem + 6.5vw, 8.25rem); line-height: .95; letter-spacing: -0.045em; max-width: 12ch; margin-bottom: var(--s6); }
.founding__in { display: grid; gap: var(--s5); margin-bottom: var(--s6); }
.founding__lede { font-size: clamp(1.1875rem, 1rem + .6vw, 1.5rem); max-width: 40ch; margin: 0; }
.founding__points { display: grid; gap: var(--s3); font-weight: 600; font-size: 1.125rem; }
.founding__points li { display: flex; gap: var(--s2); align-items: center; }
.founding__points .icon { stroke-width: 2.5; }
@media (min-width: 900px) { .founding__in { grid-template-columns: 1.3fr 1fr; align-items: start; gap: var(--s8); } }
.btn--pine { background: var(--pine); color: var(--paper); white-space: normal; text-align: left; }
.btn--pine:hover { background: var(--pine-2); color: var(--paper); }
.band--yolk :focus-visible { outline-color: var(--pine); }
.band--yolk .btn:focus-visible { box-shadow: 0 0 0 3px var(--yolk), 0 0 0 6px var(--pine); }


/* 8. Form */
.signup:focus { outline: none; }
.signup__in { display: grid; gap: var(--s6); }
.signup__intro p { max-width: 44ch; font-size: 1.125rem; }
.signup__box { background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow); }
@media (min-width: 600px) { .signup__box { padding: var(--s6); } }
@media (min-width: 1000px) { .signup__in { grid-template-columns: 1fr 1.5fr; align-items: start; } .signup__intro { position: sticky; top: calc(var(--header-h) + var(--s6)); } }
.form { display: grid; gap: var(--s5); }
.form__hint { color: var(--muted); font-size: 0.9375rem; margin: 0; }
.field { display: grid; gap: var(--s2); min-width: 0; }
.field label, .checks legend { font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field-row { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.input {
  width: 100%; min-height: 48px; padding: 0.65rem 0.85rem; border: 1.5px solid #8A9A93; border-radius: var(--radius-sm);
  background: var(--white); color: var(--pine); font: 400 1rem/1.4 var(--font-body);
}
.input::placeholder { color: #6B7A73; }
textarea.input { min-height: 112px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312352B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.input:focus-visible { outline: 3px solid var(--pine); outline-offset: 1px; border-color: var(--pine); }
.input[aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }
.field-hint { color: var(--muted); font-size: 0.875rem; margin: 0; }
.field-error { color: var(--danger); font-weight: 600; font-size: 0.9375rem; margin: 0; display: flex; gap: 6px; }
.field-error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--danger); color: var(--white); font-size: 0.75rem; }
.checks { border: 0; padding: 0; margin: 0; }
.checks legend { padding: 0; margin-bottom: var(--s2); }
.checks__grid { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.check { display: flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3); border: 1.5px solid var(--mist); border-radius: var(--radius-sm); cursor: pointer; font-weight: 400; }
.check:hover { border-color: #8A9A93; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--pine); flex: none; }
.check:has(input:checked) { border-color: var(--pine); background: var(--mist-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__consent { font-size: 0.9375rem; color: var(--muted); margin: 0; }
.form__status:empty { display: none; }
.form__status { padding: var(--s3) var(--s4); border-radius: var(--radius-sm); background: #FBE9E7; color: var(--danger); font-weight: 600; }
.form__status a { color: var(--danger); }
.form__submit { justify-self: start; white-space: normal; }
.form__submit[aria-disabled="true"] { opacity: .7; cursor: progress; }
.form__noscript { background: var(--yolk-soft); padding: var(--s3) var(--s4); border-radius: var(--radius-sm); margin: 0; }
.error-summary { border: 2px solid var(--danger); border-radius: var(--radius-sm); padding: var(--s4); }
.error-summary:focus { outline: 3px solid var(--pine); outline-offset: 2px; }
.error-summary h3 { font-size: 1.0625rem; color: var(--danger); margin-bottom: var(--s2); }
.error-summary ul { list-style: disc; padding-left: 1.25rem; }
.error-summary a { color: var(--danger); font-weight: 600; }
.success { text-align: left; padding: var(--s4) 0; }
.success:focus { outline: none; }
.success .icon { color: var(--white); background: var(--leaf); border-radius: 50%; padding: 8px; stroke-width: 2.5; margin-bottom: var(--s4); }
.success h3 { font-size: 1.5rem; }
.success p { font-size: 1.125rem; margin: 0; }
.quick .input { min-height: 52px; }

/* 9. FAQ */
.faq__in { max-width: 860px; }
.faq__list { border-top: 1px solid var(--mist); }
.faq__item { border-bottom: 1px solid var(--mist); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  padding: var(--s4) 0; min-height: 56px; font-family: var(--font-head); font-weight: 700; font-size: 1.1875rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mist-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312352B' stroke-width='2.25' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--leaf); }
.faq__a { padding-bottom: var(--s4); max-width: 65ch; }
.faq__a p { margin: 0; color: var(--muted); }
.faq__a a { color: var(--leaf); }

/* 10. Footer */
.site-footer { background: var(--pine); color: var(--on-pine); padding-block: var(--s7) var(--s6); }
.site-footer a { color: var(--on-pine); }
.site-footer a:hover { color: var(--yolk); }
.site-footer__in { display: grid; gap: var(--s5); }
.site-footer img { width: 150px; margin-bottom: var(--s3); }
.site-footer p { margin: 0; color: var(--on-pine-muted); }
.site-footer__links { display: grid; gap: var(--s2); }
.site-footer__links a { display: inline-block; padding: 6px 0; }
.site-footer__small { font-size: 0.875rem; }
.site-footer :focus-visible { outline-color: var(--yolk); }
@media (min-width: 900px) { .site-footer__in { grid-template-columns: 2fr 1fr; } .site-footer__small { grid-column: 1 / -1; } }
.band--pine :focus-visible { outline-color: var(--yolk); }

/* Simple pages (privacy, 404) */
.page { padding-block: var(--s7) var(--s8); }
.page__in { max-width: 760px; }
.page h2 { font-size: 1.5rem; margin-top: var(--s6); }
.page ul { list-style: disc; padding-left: 1.25rem; margin-bottom: var(--s4); }
.page li { margin-bottom: var(--s2); }
.placeholder { background: var(--yolk-soft); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.notfound { min-height: 60vh; display: grid; align-content: center; gap: var(--s4); }
.notfound img { width: 72px; }

/* Reveal on scroll: only once js/motion.js has said it will reveal them. */
.motion.reveal-ready [data-reveal-group] > * { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Revision 1 scale for the form and FAQ titles */
.signup__intro h2, .faq h2 { font-size: clamp(2.5rem, 6vw, 6rem); line-height: 1; letter-spacing: -0.035em; }
.signup__intro p { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); }
.faq__item summary { font-size: clamp(1.1875rem, 1rem + .7vw, 1.625rem); padding-block: var(--s5); }
.faq__a p { font-size: 1.125rem; }
.motion.reveal-ready [data-reveal] { opacity: 0; }
