@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --stage: #0f3324;
  --stage-deep: #0a2318;
  --cream: #f1ecdf;
  --cream-soft: #cfd8c9;
  --sage: #e6ece1;
  --ink: #10261b;
  --ink-soft: #3d5447;
  --gold: #e9b23c;
  --gold-hover: #f3c45a;
  --gold-ink: #1d1503;
  --rule-dark: rgba(241, 236, 223, 0.18);
  --rule-light: rgba(16, 38, 27, 0.16);
  --display: "Bricolage Grotesque", "Hanken Grotesk", sans-serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #3f6b52 var(--stage-deep); }
body {
  margin: 0;
  background: var(--stage-deep);
  color: var(--cream);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: var(--gold-ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 50; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--gold); color: var(--gold-ink);
  font: 600 1.0625rem/1 var(--text); text-decoration: none;
  box-shadow: 0 10px 30px -12px rgba(233, 178, 60, 0.55);
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.btn:hover { background: var(--gold-hover); transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(233, 178, 60, 0.7); }
.btn:active { transform: translateY(0); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; box-shadow: none; }
.nav-cta { display: none; }
.site-header nav a.nav-cta { color: var(--gold-ink); opacity: 1; padding: 0 28px; border-top: 0; font-size: 1.0625rem; text-decoration: none; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 32px;
  height: 76px; padding: 0 var(--gutter);
  transition: background-color 240ms var(--ease-out), height 240ms var(--ease-out);
}
.site-header.is-solid { background: rgba(10, 35, 24, 0.94); height: 64px; box-shadow: 0 1px 0 var(--rule-dark); }
.wordmark { font: 700 1.5rem/1 var(--display); letter-spacing: -0.02em; text-decoration: none; color: var(--cream); margin-right: auto; }
.site-header nav ul { display: flex; gap: clamp(20px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
.site-header nav a { text-decoration: none; font-size: 1.0625rem; color: var(--cream); opacity: 0.92; transition: opacity 160ms; }
.site-header nav a:hover { opacity: 1; text-decoration: underline; }
.site-header nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
/* Pages that open on a bright photograph: dark header text until the header turns solid. */
.light-hero .site-header:not(.is-solid):not(.is-open) :is(.wordmark, nav a, .menu-btn) { color: var(--ink); }

.text-link {
  display: inline-block; margin-top: 28px;
  font: 600 1.0625rem/1.2 var(--text); text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 0.35em;
  transition: text-decoration-color 200ms, text-underline-offset 200ms var(--ease-out);
}
.text-link:hover { text-decoration-color: var(--gold); text-underline-offset: 0.45em; }

/* Hero: pinned scroll story */
.hero { position: relative; background: var(--stage-deep); }
.js .hero-track { height: 760vh; }
.hero-stage {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  background: var(--stage) url("assets/stage.webp") center / cover no-repeat;
}
.js .hero-stage { position: sticky; top: 0; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fallback { position: absolute; inset: 0; display: none; place-items: end center; padding-bottom: 7vh; }
.fallback-jar { height: 62vh; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45)); }
.no-webgl .fallback, .no-js .fallback { display: grid; inset: 0 0 auto 0; height: 100vh; height: 100svh; z-index: 1; pointer-events: none; }
.no-webgl .scene { display: none; }
/* Without WebGL (or JS) the story is not pinned: the opening fills one screen and the chapters follow as normal content. */
.no-webgl .hero-track, .no-js .hero-track { height: auto; }
.no-webgl .hero-stage, .no-js .hero-stage { position: relative; height: auto; overflow: visible; background: var(--stage-deep); }
.no-webgl .open, .no-js .open { position: relative; height: 100vh; height: 100svh; background: var(--stage) url("assets/stage.webp") center / cover no-repeat; }

.open { --open: 1; position: absolute; inset: 0; pointer-events: none; }
.open-title {
  font-size: clamp(3.5rem, 7.9vw, 8.25rem); font-weight: 760; line-height: 0.9; letter-spacing: -0.045em;
  font-variation-settings: "opsz" 96;
}
.open-title span {
  position: absolute; top: 37%;
  opacity: var(--open);
  transition: none;
}
.open-title .w1 { left: var(--gutter); transform: translateX(calc((1 - var(--open)) * -60px)); }
.open-title .w2 { right: var(--gutter); transform: translateX(calc((1 - var(--open)) * 60px)); }
.open-foot {
  position: absolute; left: var(--gutter); bottom: clamp(32px, 7vh, 80px);
  display: grid; justify-items: start; gap: 22px; max-width: 30rem;
  opacity: var(--open); transform: translateY(calc((1 - var(--open)) * 24px));
  pointer-events: auto;
}
.open-tag { font: 500 clamp(1.25rem, 1.9vw, 1.75rem)/1.25 var(--text); letter-spacing: -0.01em; }
.open-note { font-size: 0.9375rem; color: var(--cream-soft); }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(32px, 7vh, 80px);
  font-size: 0.9375rem; color: var(--cream-soft); opacity: var(--open);
  display: flex; align-items: center; gap: 10px;
}
.scroll-cue::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--cream-soft), transparent); }
.no-js .scroll-cue, .no-webgl .scroll-cue { display: none; }

/* Chapters */
.js:not(.no-webgl) .chapters { position: absolute; inset: 0; pointer-events: none; }
.js:not(.no-webgl) .chapter {
  position: absolute; left: var(--gutter); top: 50%; width: min(29rem, 32vw);
  opacity: 0; visibility: hidden; transform: translateY(calc(-50% + 28px));
  transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out), visibility 0s linear 520ms;
}
.js:not(.no-webgl) .chapter.is-active {
  opacity: 1; visibility: visible; transform: translateY(-50%);
  transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out), visibility 0s;
}
.js:not(.no-webgl) .chapter-img { display: none; }
.chapter-count { font-size: 0.9375rem; color: var(--gold); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.chapter h3 { font-size: clamp(2.5rem, 4.6vw, 4.75rem); line-height: 0.98; letter-spacing: -0.035em; font-variation-settings: "opsz" 96; }
.chapter-lead { font: 500 clamp(1.25rem, 1.7vw, 1.5rem)/1.3 var(--text); margin-top: 22px; }
.chapter-list { margin-top: 16px; color: var(--cream-soft); max-width: 28rem; }

.no-js .chapters, .no-webgl .chapters {
  position: relative; display: grid; gap: 48px; padding: 96px var(--gutter);
  background: var(--stage-deep);
}
.no-js .chapter-img, .no-webgl .chapter-img { width: 180px; margin-bottom: 16px; }

.rail {
  position: absolute; left: 50%; bottom: clamp(24px, 5vh, 56px); transform: translateX(-50%);
  opacity: 0; visibility: hidden; transition: opacity 400ms var(--ease-out), visibility 0s linear 400ms;
}
[data-phase="chapter"] .rail { opacity: 1; visibility: visible; transition: opacity 400ms var(--ease-out), visibility 0s; }
.rail ol { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2.4vw, 36px); }
.rail button {
  display: flex; flex-direction: column-reverse; align-items: center; gap: 10px;
  min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 500 0.9375rem/1.2 var(--text); color: var(--cream-soft); white-space: nowrap;
  transition: color 200ms;
}
.rail button::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid currentColor; transition: background-color 200ms, border-color 200ms, transform 200ms var(--ease-out);
}
.rail button:hover { color: var(--cream); }
.rail button[aria-current="step"] { color: var(--cream); }
.rail button[aria-current="step"]::after { background: var(--gold); border-color: var(--gold); transform: scale(1.25); }
.rail button.is-done::after { background: var(--cream-soft); border-color: var(--cream-soft); }
.no-js .rail, .no-webgl .rail { display: none; }

.finale {
  position: absolute; left: 0; right: 0; top: 14vh; text-align: center; padding: 0 var(--gutter);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out), visibility 0s linear 600ms;
}
[data-phase="final"] .finale { opacity: 1; visibility: visible; transform: none; transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out), visibility 0s; }
.finale-title { font: 700 clamp(2.25rem, 5vw, 5rem)/1 var(--display); letter-spacing: -0.035em; font-variation-settings: "opsz" 96; }
.finale-sub { margin-top: 18px; font-size: clamp(1.125rem, 1.5vw, 1.375rem); color: var(--cream-soft); }
.no-js .finale, .no-webgl .finale { display: none; }

/* Film */
.film { background: var(--stage-deep); padding: clamp(96px, 14vh, 160px) 0; }
.film-inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.film-head { max-width: 44rem; margin-bottom: clamp(32px, 5vh, 56px); }
.film-head h2 { font-size: clamp(2.5rem, 5vw, 4.75rem); line-height: 0.98; letter-spacing: -0.04em; font-variation-settings: "opsz" 96; }
.film-head p { margin-top: 20px; font-size: clamp(1.125rem, 1.4vw, 1.3125rem); color: var(--cream-soft); }
.film-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.film-frame img, .film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film-frame img { object-fit: cover; }
.film-frame video { object-fit: contain; }
.film-frame:not(.is-playing)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(10, 35, 24, 0.35), rgba(10, 35, 24, 0.15) 70%);
}
.film-play {
  position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 24px 0 8px; border-radius: 999px;
  background: var(--gold); color: var(--gold-ink); font: 600 1.0625rem/1 var(--text); text-decoration: none;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.6);
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.film-play:hover { background: var(--gold-hover); transform: translateY(-1px); }
.film-play-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-ink); }
.film-play-icon svg { width: 18px; height: 18px; fill: var(--gold); translate: 1px 0; }
.film-time { color: rgba(29, 21, 3, 0.7); font-variant-numeric: tabular-nums; }

/* Formula */
.formula { background: var(--sage); color: var(--ink); }
.formula-inner {
  max-width: 1280px; margin: 0 auto; padding: clamp(96px, 14vh, 160px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center;
}
.formula-jar { margin: 0; justify-self: center; }
.formula-jar img { width: clamp(220px, 26vw, 360px); filter: drop-shadow(0 40px 40px rgba(16, 38, 27, 0.28)); }
.formula h2 { font-size: clamp(3rem, 6vw, 6rem); line-height: 0.95; letter-spacing: -0.04em; font-variation-settings: "opsz" 96; }
.formula-lead { margin-top: 24px; font: 500 clamp(1.25rem, 1.8vw, 1.625rem)/1.35 var(--text); max-width: 36rem; }
.facts { margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.facts div { padding: 18px 0; border-top: 1px solid var(--rule-light); }
.facts dt { font-size: 0.9375rem; color: var(--ink-soft); }
.facts dd { margin: 4px 0 0; font: 600 1.125rem/1.35 var(--text); }
.fine { margin-top: 28px; font-size: 0.9375rem; color: var(--ink-soft); }

/* Ritual */
.ritual { position: relative; min-height: min(100vh, 66vw); display: grid; align-items: center; color: var(--ink); background: #e9e1d2; }
.ritual-photo, .ritual-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.ritual-copy { position: relative; padding: clamp(96px, 14vh, 160px) var(--gutter); max-width: 34rem; }
.ritual h2 { font-size: clamp(3rem, 6vw, 6rem); line-height: 0.95; letter-spacing: -0.04em; font-variation-settings: "opsz" 96; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: baseline; font-size: 1.1875rem; line-height: 1.45; }
.step-n {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--cream); font: 600 1rem/1 var(--text); font-variant-numeric: tabular-nums;
  transform: translateY(-2px);
}

/* Science */
.science { background: var(--stage); }
.science-inner {
  max-width: 1280px; margin: 0 auto; padding: clamp(96px, 14vh, 160px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center;
}
.science h2 { font-size: clamp(2.75rem, 4.6vw, 4.5rem); line-height: 0.98; letter-spacing: -0.04em; font-variation-settings: "opsz" 96; }
.principles { list-style: none; margin: 40px 0 0; padding: 0; }
.principles li { padding: 22px 0; border-top: 1px solid var(--rule-dark); }
.principles h3 { font-size: 1.375rem; letter-spacing: -0.015em; }
.principles p { margin-top: 6px; color: var(--cream-soft); }
.science-photo { margin: 0; }
.science-photo img { width: 100%; border-radius: 6px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }

/* Source */
.source { position: relative; min-height: min(100vh, 66vw); display: grid; align-content: start; overflow: hidden; }
.source-photo, .source-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.source::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 35, 24, 0.62), rgba(10, 35, 24, 0.2) 55%, transparent 75%),
    linear-gradient(rgba(10, 35, 24, 0.55), rgba(10, 35, 24, 0.25) 50%, transparent 72%);
}
.source-copy { position: relative; z-index: 2; padding: clamp(110px, 16vh, 180px) var(--gutter) 0; max-width: 40rem; text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35); }
.source h2 { font-size: clamp(3rem, 6vw, 6rem); line-height: 0.95; letter-spacing: -0.04em; font-variation-settings: "opsz" 96; }
.source-copy p { margin-top: 20px; font-size: clamp(1.125rem, 1.4vw, 1.3125rem); max-width: 34rem; }

/* Launch */
.launch {
  display: grid; justify-items: center; text-align: center; gap: 20px;
  padding: clamp(96px, 14vh, 150px) var(--gutter) clamp(110px, 16vh, 170px);
  background: radial-gradient(60% 60% at 50% 30%, #184631, var(--stage-deep));
}
.launch-jar { width: clamp(120px, 12vw, 170px); margin-bottom: 18px; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.5)); }
.launch h2 { font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1; letter-spacing: -0.04em; font-variation-settings: "opsz" 96; }
.launch p { color: var(--cream-soft); font-size: 1.1875rem; margin-bottom: 12px; }

/* Footer */
.site-footer { background: var(--stage-deep); border-top: 1px solid var(--rule-dark); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 48px var(--gutter) 64px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 40px; font-size: 0.875rem; color: var(--cream-soft); }
.footer-inner .wordmark { font-size: 1.25rem; }
.footer-inner p:not(.wordmark) { max-width: 46rem; }
.footer-inner ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-inner a { color: var(--cream); }

/* Mobile menu */
.menu-btn {
  display: none; align-items: center; gap: 10px; min-height: 40px; padding: 0 4px;
  border: 0; background: none; color: var(--cream); font: 600 1rem/1 var(--text); cursor: pointer;
}
.menu-btn-bars { position: relative; width: 18px; height: 12px; }
.menu-btn-bars::before, .menu-btn-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform 220ms var(--ease-out), top 220ms var(--ease-out);
}
.menu-btn-bars::before { top: 2px; }
.menu-btn-bars::after { top: 8px; }
.site-header.is-open .menu-btn-bars::before { top: 5px; transform: rotate(45deg); }
.site-header.is-open .menu-btn-bars::after { top: 5px; transform: rotate(-45deg); }

/* Subpages: shared building blocks */
.page-hero {
  position: relative; min-height: 88vh; min-height: 88svh; display: grid; align-content: end;
  padding: 140px var(--gutter) clamp(56px, 10vh, 112px); overflow: hidden; background: var(--stage);
}
.page-hero-photo, .page-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(10, 35, 24, 0.6), transparent 22%),
    linear-gradient(90deg, rgba(10, 35, 24, 0.72), rgba(10, 35, 24, 0.25) 60%, transparent 85%),
    linear-gradient(transparent 35%, rgba(10, 35, 24, 0.7));
}
.page-hero-copy { position: relative; z-index: 2; max-width: 46rem; }
.page-hero h1 { font-size: clamp(3.25rem, 7.4vw, 7.25rem); line-height: 0.92; letter-spacing: -0.045em; font-variation-settings: "opsz" 96; }
.page-hero-lead { margin-top: 24px; font: 500 clamp(1.25rem, 1.8vw, 1.625rem)/1.35 var(--text); max-width: 38rem; }
.page-hero .btn { margin-top: 32px; }
.page-hero-note { margin-top: 16px; font-size: 0.9375rem; color: var(--cream-soft); }
.page-hero--light { color: var(--ink); }
.page-hero--light::before {
  background: linear-gradient(90deg, rgba(244, 238, 226, 0.88), rgba(244, 238, 226, 0.45) 45%, transparent 70%);
}
.page-hero--light .page-hero-note { color: var(--ink-soft); }

.page-hero--product {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; align-content: center; gap: clamp(32px, 5vw, 80px);
  background: var(--stage) url("assets/stage.webp") center / cover no-repeat;
}
.page-hero--product::before { background: linear-gradient(90deg, rgba(10, 35, 24, 0.45), transparent 60%); }
.product-jar { position: relative; z-index: 2; margin: 0; justify-self: center; }
.product-jar img { height: min(64vh, 620px); width: auto; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.5)); }

.section { padding: clamp(96px, 14vh, 160px) 0; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.tone-dark { background: var(--stage); color: var(--cream); }
.tone-deep { background: var(--stage-deep); color: var(--cream); }
.tone-light { background: var(--sage); color: var(--ink); }
.section-head { max-width: 44rem; margin-bottom: clamp(48px, 7vh, 80px); }
.section-head h2, .split-copy h2 { font-size: clamp(2.5rem, 5vw, 4.75rem); line-height: 0.98; letter-spacing: -0.04em; font-variation-settings: "opsz" 96; }
.section-head p, .split-copy > p { margin-top: 20px; font-size: clamp(1.125rem, 1.4vw, 1.3125rem); max-width: 38rem; }
.tone-light .section-head p, .tone-light .split-copy > p { color: var(--ink-soft); }
.tone-dark .section-head p, .tone-dark .split-copy > p, .tone-deep .section-head p, .tone-deep .split-copy > p { color: var(--cream-soft); }
.tone-light .fine { color: var(--ink-soft); }
.tone-dark .fine, .tone-deep .fine { color: var(--cream-soft); }

.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.split--flip .split-media { order: 2; }
.split-media { position: relative; margin: 0; }
.split-media > img, .split-media > picture img { width: 100%; border-radius: 6px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55); }
.split + .split { margin-top: clamp(96px, 14vh, 160px); }

/* Ingredient families on the ingredients page: a cut-out of the ingredient overlaps its source photo. */
.split-media .family-sprite {
  position: absolute; width: 34%; left: -6%; bottom: -12%;
  border-radius: 0; box-shadow: none; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.45));
}
.split--flip .split-media .family-sprite { left: auto; right: -6%; }

.ing-list { margin: 32px 0 0; }
.ing-list div { display: grid; grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr); gap: 4px 24px; padding: 16px 0; border-top: 1px solid var(--rule-light); }
.tone-dark .ing-list div, .tone-deep .ing-list div { border-top-color: var(--rule-dark); }
.ing-list dt { font-weight: 700; }
.ing-list dd { margin: 0; }
.tone-light .ing-list dd { color: var(--ink-soft); }
.tone-dark .ing-list dd, .tone-deep .ing-list dd { color: var(--cream-soft); }

/* Formula page: the five families as rows */
.family-rows { list-style: none; margin: 0; padding: 0; }
.family-rows li {
  display: grid; grid-template-columns: 112px minmax(0, 5fr) minmax(0, 6fr); gap: 16px clamp(24px, 4vw, 56px); align-items: center;
  padding: 28px 0; border-top: 1px solid var(--rule-light);
}
.family-rows li:last-child { border-bottom: 1px solid var(--rule-light); }
.family-rows img { width: 112px; height: 96px; object-fit: contain; }
.family-rows h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.025em; }
.family-rows .family-lead { margin-top: 6px; color: var(--ink-soft); }
.family-rows .family-items { color: var(--ink); }
.family-rows a { font-weight: 600; }

/* Ordered sequences: numbers carry the order of the process. */
.seq { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); counter-reset: seq; }
.seq--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seq li { counter-increment: seq; padding-top: 22px; border-top: 2px solid currentColor; }
.seq li::before {
  content: counter(seq); display: block; margin-bottom: 18px;
  font: 700 clamp(2.75rem, 4vw, 4rem)/1 var(--display); letter-spacing: -0.04em; font-variation-settings: "opsz" 96;
  color: #8a5d00; font-variant-numeric: tabular-nums;
}
.tone-dark .seq li::before, .tone-deep .seq li::before { color: var(--gold); }
.seq h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.seq p { margin-top: 8px; }
.tone-light .seq p { color: var(--ink-soft); }
.tone-dark .seq p, .tone-deep .seq p { color: var(--cream-soft); }

.statements { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.statements li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(32px, 5vw, 80px); padding: 36px 0; border-top: 1px solid var(--rule-dark); }
.statements h3 { font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.05; letter-spacing: -0.03em; }
.statements p { color: var(--cream-soft); font-size: 1.125rem; }

.checks { list-style: none; margin: 32px 0 0; padding: 0; }
.checks li { padding: 16px 0; border-top: 1px solid var(--rule-light); }
.tone-dark .checks li, .tone-deep .checks li { border-top-color: var(--rule-dark); }
.checks b { display: block; font-size: 1.125rem; }
.checks span { color: var(--ink-soft); }
.tone-dark .checks span, .tone-deep .checks span { color: var(--cream-soft); }

.recipe { margin: 24px 0 0; padding: 0 0 0 1.2em; }
.recipe li { margin-top: 8px; }
.recipe li::marker { color: #8a5d00; font-weight: 700; }
.tone-dark .recipe li::marker { color: var(--gold); }

.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--rule-dark); }
.faq details:last-child { border-bottom: 1px solid var(--rule-dark); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none;
  font: 600 clamp(1.125rem, 1.5vw, 1.375rem)/1.3 var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 220ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--cream-soft); max-width: 44rem; }

/* Text pages: privacy, terms and 404. No hero, so the header is solid from the start. */
.text-page { max-width: 44rem; margin: 0 auto; padding: 160px var(--gutter) clamp(96px, 14vh, 160px); }
.text-page h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); line-height: 0.98; letter-spacing: -0.04em; font-variation-settings: "opsz" 96; margin-bottom: 24px; }
.text-page h2 { font-size: 1.625rem; letter-spacing: -0.02em; margin: 48px 0 12px; }
.text-page h3 { font: 600 1.1875rem/1.3 var(--text); margin: 28px 0 8px; }
.text-page p { color: var(--cream-soft); margin-bottom: 16px; }
.text-page a:not(.btn) { color: var(--cream); }
.text-page .btn { margin-top: 24px; }
.text-page-date { font-size: 0.9375rem; }

/* Portrait and small screens */
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; }
  .menu-btn { display: inline-flex; order: 2; }
  .site-header > .btn-small { order: 1; }
  .site-header nav { display: none; order: 3; flex-basis: 100%; }
  .site-header.is-open { background: rgba(10, 35, 24, 0.97); height: auto; padding-bottom: 20px; }
  .site-header.is-open nav { display: block; }
  .site-header nav ul { flex-direction: column; gap: 0; }
  .site-header nav a { display: block; padding: 14px 0; font-size: 1.25rem; border-top: 1px solid var(--rule-dark); }
  .formula-inner, .science-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
  .page-hero--product { grid-template-columns: 1fr; align-content: end; }
  .product-jar { order: -1; }
  .product-jar img { height: 42vh; }
  .seq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seq--three { grid-template-columns: 1fr; }
  .statements li { grid-template-columns: 1fr; }
  .family-rows li { grid-template-columns: 80px minmax(0, 1fr); }
  .family-rows img { width: 80px; height: 72px; }
  .family-rows .family-items { grid-column: 2; }
  .split-media .family-sprite { width: 30%; bottom: -8%; left: auto; right: 4%; }
  .split--flip .split-media .family-sprite { right: 4%; }
  .page-hero--light::before { background: linear-gradient(rgba(244, 238, 226, 0) 25%, rgba(244, 238, 226, 0.88) 58%, rgba(244, 238, 226, 0.96)); }
}
@media (max-aspect-ratio: 9/10) {
  .film-frame { aspect-ratio: 9 / 16; max-width: calc(78svh * 9 / 16); margin: 0 auto; }
  .open-title { font-size: clamp(3.25rem, 16vw, 7rem); }
  .open-title span { top: auto; }
  .open-title .w1 { top: 13vh; }
  .open-title .w2 { top: calc(13vh + 0.95em); }
  .open-foot { right: var(--gutter); max-width: none; gap: 16px; bottom: 28px; }
  .open-tag { font-size: 1.1875rem; }
  .scroll-cue { display: none; }
  .js:not(.no-webgl) .chapter {
    left: 0; right: 0; top: auto; bottom: 0; width: auto;
    padding: 72px var(--gutter) 32px;
    background: linear-gradient(transparent, rgba(10, 35, 24, 0.86) 34%, var(--stage-deep));
    transform: translateY(28px);
  }
  .js:not(.no-webgl) .chapter.is-active { transform: none; }
  .chapter h3 { font-size: clamp(2.25rem, 10vw, 3.25rem); }
  .chapter-lead { margin-top: 12px; font-size: 1.1875rem; }
  .chapter-list { margin-top: 8px; font-size: 1rem; }
  .rail { display: none; }
  .finale { top: 12vh; }
}
@media (max-width: 560px) {
  .site-header { gap: 12px; }
  .wordmark { font-size: 1.25rem; }
  .menu-btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .menu-btn { min-width: 40px; justify-content: center; }
  .site-header > .btn-small { display: none; }
  .site-header.is-open .nav-cta { display: inline-flex; margin-top: 20px; }
  .ing-list div { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .ritual { align-items: start; min-height: 0; }
  .ritual-photo { position: relative; display: block; aspect-ratio: 3 / 2; height: auto; }
  .ritual-photo img { position: absolute; }
  .ritual-copy { padding-top: 48px; padding-bottom: 72px; }
  .source { min-height: 88vh; }
}

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