/* =========================================================================
   SITE · v0.2 · Cinematic Nature Experience
   ========================================================================= */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--light); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 340; text-wrap: balance; letter-spacing: -0.03em; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.tone-light :focus-visible { outline-color: var(--terra-deep); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--ivory); color: var(--forest); padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* tones: every scene declares light or dark ground */
.tone-dark { color: var(--light); }
.tone-light { color: var(--ink); background: var(--ivory); }
.tone-light h2, .tone-light h3 { color: var(--forest); }

.label { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--gold); }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.tone-light .kicker { color: var(--terra-deep); }
.lead { font-size: var(--fs-lead); line-height: 1.7; max-width: 34em; }
.tone-dark .lead, .tone-dark .muted { color: var(--light-muted); }
.tone-light .lead, .tone-light .muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 28px;
  border: 1px solid var(--light); background: var(--light); color: var(--forest); border-radius: 999px; cursor: pointer;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; overflow: hidden; isolation: isolate;
  transition: color var(--t-med) var(--ease), border-color var(--t-med);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--terra-deep); transform: translateY(101%); transition: transform var(--t-med) var(--ease-out); }
.btn:hover { color: var(--light); border-color: var(--terra-deep); }
.btn:hover::before { transform: none; }
.btn .arrow { transition: transform var(--t-med) var(--ease-out); }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn--ghost { background: transparent; color: var(--light); border-color: var(--line-light); }
.btn--dark { background: var(--forest); color: var(--light); border-color: var(--forest); }
.btn--block { width: 100%; }
.tlink {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; border: 0; background: none; cursor: pointer; text-decoration: none;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size var(--t-med) var(--ease-out), color var(--t-fast);
}
.tlink:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- media ---------- */
.media { position: relative; overflow: hidden; background: var(--night-2); }
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; z-index: 5; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em; line-height: 1.3; padding: 5px 9px; background: rgba(10, 24, 19, 0.55); color: rgba(243, 238, 227, 0.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; pointer-events: none; }
.chip--br { right: var(--gutter); bottom: 20px; }
.chip--bl { left: 16px; bottom: 16px; }
.chip--tr { right: 16px; top: 16px; }

/* cinematic layers */
.cam { will-change: transform; }
.cam--drift { animation: drift 46s ease-in-out infinite alternate; }
@keyframes drift { 0% { transform: scale(1.16) translate3d(-1.5%, -1%, 0); } 100% { transform: scale(1.04) translate3d(1.5%, 1%, 0); } }
.mist { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; z-index: 2; }
.rays { position: absolute; inset: -10%; z-index: 2; pointer-events: none; mix-blend-mode: soft-light; opacity: 0.6;
  background: repeating-linear-gradient(112deg, transparent 0 7%, rgba(255, 233, 190, 0.35) 9%, transparent 12% 18%);
  -webkit-mask-image: radial-gradient(60% 70% at 28% 22%, #000, transparent 70%); mask-image: radial-gradient(60% 70% at 28% 22%, #000, transparent 70%);
  animation: rays 18s ease-in-out infinite alternate; }
@keyframes rays { from { transform: translateX(-3%); opacity: 0.35; } to { transform: translateX(3%); opacity: 0.7; } }
.grade { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

/* ---------- top bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar-h); color: var(--light); transition: color var(--t-med), background var(--t-med), transform var(--t-med) var(--ease-out); }
.bar::before { content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; background: linear-gradient(180deg, rgba(10, 24, 19, 0.55), transparent); opacity: 1; transition: opacity var(--t-med); pointer-events: none; }
.bar.is-light { color: var(--forest); }
.bar.is-light::before { background: linear-gradient(180deg, rgba(243, 238, 227, 0.95) 0 60%, rgba(243, 238, 227, 0)); }
.bar.is-hidden { transform: translateY(-100%); }
.bar__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; }
.brand__mark { width: 36px; height: 36px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; }
.brand__text { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.25; }
.brand__text small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.5625rem; letter-spacing: 0.32em; opacity: 0.75; }
.bar__chapter { display: flex; align-items: center; gap: 12px; opacity: 0.9; min-width: 0; }
.bar__chapter b { font-weight: 500; opacity: 0.6; }
.bar__chapter span { display: inline-block; transition: opacity 0.35s var(--ease), transform 0.5s var(--ease-out); }
.bar__chapter.is-swap span { opacity: 0; transform: translateY(6px); }
.bar__right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.bar__price { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid currentColor; border-radius: 999px; text-decoration: none; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transition: background var(--t-fast), color var(--t-fast); }
.bar__price em { font-style: normal; font-family: var(--font-mono); font-weight: 500; opacity: 0.8; letter-spacing: 0.04em; }
.bar__price:hover { background: var(--light); color: var(--forest); border-color: var(--light); }
.bar.is-light .bar__price:hover { background: var(--forest); color: var(--light); border-color: var(--forest); }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 6px 0 14px; border: 0; background: none; cursor: pointer; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.menu-btn i { position: relative; width: 26px; height: 10px; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform var(--t-med) var(--ease-out); }
.menu-btn i::before { top: 0; } .menu-btn i::after { bottom: 0; right: 8px; }
.menu-btn:hover i::after { right: 0; }

/* ---------- chapter rail ---------- */
.rail { position: fixed; right: 22px; top: 50%; z-index: 45; transform: translateY(-50%); display: grid; gap: 4px; color: var(--light); transition: color var(--t-med), opacity var(--t-med); }
.rail.is-light { color: var(--forest); }
.rail.is-hidden { opacity: 0; pointer-events: none; }
.rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 26px; text-decoration: none; }
.rail__line { width: 18px; height: 1.5px; background: currentColor; opacity: 0.45; transition: width var(--t-med) var(--ease-out), opacity var(--t-med); }
.rail__no { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.06em; opacity: 0.6; width: 16px; text-align: right; }
.rail__name { position: absolute; right: 58px; white-space: nowrap; font-size: 0.75rem; font-weight: 500; opacity: 0; transform: translateX(6px); transition: opacity var(--t-fast), transform var(--t-med) var(--ease-out); pointer-events: none; }
.rail a:hover .rail__name, .rail a:focus-visible .rail__name { opacity: 1; transform: none; }
.rail a[aria-current="true"] .rail__line { width: 36px; opacity: 1; }
.rail a[aria-current="true"] .rail__no { opacity: 1; }

/* ---------- full-screen menu ---------- */
.menu { position: fixed; inset: 0; z-index: 70; background: var(--night); color: var(--light); display: grid; grid-template-columns: 1.1fr 0.9fr; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 0.8s var(--ease-cine), visibility 0.8s; }
.menu.is-open { visibility: visible; clip-path: inset(0 0 0 0); }
.menu__list { padding: 120px var(--gutter) 48px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.menu__list a { display: flex; align-items: baseline; gap: 22px; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--line-light); font-family: var(--font-display); font-size: clamp(1.75rem, 3.4vw, 3.25rem); line-height: 1.1; color: var(--light-muted); transition: color var(--t-fast), padding var(--t-med) var(--ease-out); }
.menu__list a b { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--gold); letter-spacing: 0.1em; }
.menu__list a:hover, .menu__list a:focus-visible { color: var(--light); padding-left: 12px; }
.menu__side { position: relative; overflow: hidden; }
.menu__img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s var(--ease), transform 1.4s var(--ease-out); transform: scale(1.08); }
.menu__img.is-on { opacity: 1; transform: scale(1); }
.menu__img img { width: 100%; height: 100%; object-fit: cover; }
.menu__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night), transparent 30%); }
.menu__more { position: absolute; left: 32px; right: 32px; bottom: 32px; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px; }
.menu__close { position: absolute; right: var(--gutter); top: 20px; z-index: 3; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-light); border-radius: 999px; background: rgba(10, 24, 19, 0.78); cursor: pointer; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- split text animation ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--wi, 0) * 45ms); }
.js .split.is-pending .w > span { transform: translateY(110%); }
.fade { transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
.js .fade.is-pending { opacity: 0; transform: translateY(22px); }
.ireveal { transition: clip-path 1.4s var(--ease-cine); clip-path: inset(0 0 0 0); }
.ireveal img { transition: transform 1.8s var(--ease-out); }
.js .ireveal.is-pending { clip-path: inset(14% 10% 14% 10%); }
.js .ireveal.is-pending img { transform: scale(1.18); }

/* =========================================================================
   CHAPTER 01 · THE BEGINNING
   ========================================================================= */
.hero { position: relative; min-height: max(640px, 100svh); overflow: hidden; display: flex; align-items: flex-end; background: var(--night); }
.hero__media { position: absolute; inset: 0; }
.hero__media .cam { position: absolute; inset: -3%; width: 106%; height: 106%; }
.hero__media .cam img, .hero__media .cam video { width: 100%; height: 100%; object-fit: cover; }
.hero .grade { background:
  linear-gradient(180deg, rgba(10, 24, 19, 0.35) 0%, rgba(10, 24, 19, 0) 22%),
  linear-gradient(0deg, rgba(10, 24, 19, 0.92) 0%, rgba(10, 24, 19, 0.5) 34%, rgba(10, 24, 19, 0) 62%),
  linear-gradient(90deg, rgba(10, 24, 19, 0.6) 0%, rgba(10, 24, 19, 0) 55%); }
.hero__intro { position: absolute; inset: 0; z-index: 4; background: var(--night); animation: lift 1.8s 0.15s var(--ease-cine) forwards; pointer-events: none; }
@keyframes lift { to { transform: translateY(-100%); } }
.hero__content { position: relative; z-index: 5; width: 100%; padding: 0 var(--gutter) clamp(130px, 17vh, 170px); }
.hero h1 { font-size: var(--fs-mega); line-height: 0.9; letter-spacing: -0.045em; font-weight: 320; color: var(--light); margin-bottom: 30px; max-width: 11ch; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 300; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: block; animation: rise 1.3s var(--ease-out) both; }
.hero h1 .line:nth-child(1) > span { animation-delay: 1.1s; }
.hero h1 .line:nth-child(2) > span { animation-delay: 1.25s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.hero__copy { max-width: 33em; color: var(--light-muted); font-size: var(--fs-lead); line-height: 1.65; animation: fadein 1.2s 1.55s var(--ease) both; }
.hero__copy small { display: block; margin-top: 14px; font-size: var(--fs-small); color: var(--light); opacity: 0.9; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; animation: fadein 1.2s 1.75s var(--ease) both; }
.hero .kicker { animation: fadein 1s 0.95s var(--ease) both; }
@keyframes fadein { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero__foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 0 var(--gutter); height: 84px; border-top: 1px solid var(--line-light); animation: fadein 1s 2s var(--ease) both; }
.hero__foot .label { color: var(--light-muted); }
.scrollcue { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--light-muted); }
.scrollcue i { position: relative; width: 1px; height: 34px; background: var(--line-light); overflow: hidden; }
.scrollcue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--light); animation: cue 2.4s var(--ease-cine) infinite; }
@keyframes cue { to { top: 100%; } }
.terms-mini { justify-self: end; display: flex; align-items: center; gap: 18px; text-decoration: none; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--light); }
.terms-mini span { display: inline-flex; gap: 6px; align-items: baseline; }
.terms-mini b { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; letter-spacing: 0; color: var(--gold); }
.terms-mini span + span::before { content: ""; width: 1px; height: 14px; background: var(--line-light); margin-right: 12px; align-self: center; }
.terms-mini:hover b { color: var(--light); }
.hero .chip { top: calc(var(--bar-h) + 8px); right: var(--gutter); bottom: auto; }

/* =========================================================================
   CHAPTER OPENER (shared)
   ========================================================================= */
.opener { position: relative; padding: clamp(7rem, 14vw, 11rem) 0 clamp(3rem, 6vw, 5rem); }
.opener__no { position: absolute; right: var(--gutter); top: clamp(4rem, 8vw, 6rem); font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(8rem, 22vw, 20rem); line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px currentColor; opacity: 0.16; pointer-events: none; }
.opener__label { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; opacity: 0.8; }
.opener__label::before { content: ""; width: 48px; height: 1px; background: currentColor; }
.opener h2 { font-size: var(--fs-xl); line-height: 0.96; max-width: 14ch; }
.opener .lead { margin-top: 28px; }

/* =========================================================================
   CHAPTER 02 · DISCOVER THE FOREST
   ========================================================================= */
.forest { background: var(--night); }
.forest .opener { padding-bottom: 2.5rem; }
.forest__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hint { display: inline-flex; align-items: center; gap: 12px; color: var(--light-muted); }
.hint i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); font-style: normal; font-size: 1rem; }
.scene { position: relative; height: max(620px, 100svh); overflow: hidden; background: var(--night-2); }
.scene__scroller { position: absolute; inset: 0; overflow: hidden; }
.scene__stage { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 50% 50%; transition: transform 1.1s var(--ease-cine), filter 1.1s var(--ease-cine); will-change: transform; }
.scene__stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene.is-zooming .scene__stage { filter: brightness(0.7) blur(2px); }
.scene .grade { background: linear-gradient(0deg, rgba(10, 24, 19, 0.85) 0%, rgba(10, 24, 19, 0) 26%), linear-gradient(180deg, rgba(10, 24, 19, 0.55) 0%, rgba(10, 24, 19, 0) 18%); }
.route { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: visible; }
.route path { fill: none; }
.route__path { stroke: rgba(243, 238, 227, 0.9); stroke-width: 2.2; stroke-dasharray: 1 10; stroke-linecap: round; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)); }
.route__mask { stroke: #fff; stroke-width: 16; stroke-linecap: round; }
.scene.is-drawn .route__mask { animation: draw 2.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hotspot { position: absolute; z-index: 5; width: 64px; height: 64px; margin: -32px 0 0 -32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hotspot__dot { position: relative; width: 46px; height: 46px; border-radius: 50%; background: rgba(243, 238, 227, 0.16); border: 1px solid rgba(243, 238, 227, 0.9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; color: var(--light); transition: background var(--t-med) var(--ease), color var(--t-med), transform var(--t-med) var(--ease-out), border-color var(--t-med); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6); }
.hotspot__dot::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(243, 238, 227, 0.7); opacity: 0; }
.scene.is-drawn .hotspot__dot::after { animation: ripple 2.4s var(--ease) 1; animation-delay: calc(var(--i) * 0.25s + 0.6s); }
@keyframes ripple { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.2); opacity: 0; } }
.hotspot__plus { position: relative; width: 14px; height: 14px; transition: transform var(--t-med) var(--ease-out); }
.hotspot__plus::before, .hotspot__plus::after { content: ""; position: absolute; background: currentColor; }
.hotspot__plus::before { left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; }
.hotspot__plus::after { top: 0; bottom: 0; left: 50%; width: 1.5px; margin-left: -0.75px; }
.hotspot__no { position: absolute; bottom: calc(100% - 4px); left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em; color: var(--light); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.hotspot__label { position: absolute; left: calc(100% - 6px); top: 50%; white-space: nowrap; pointer-events: none; padding: 9px 14px; background: rgba(10, 24, 19, 0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--light); font-family: var(--font-display); font-size: 1.05rem; opacity: 0; transform: translate(-8px, -50%); transition: opacity var(--t-fast), transform var(--t-med) var(--ease-out); }
.hotspot--flip .hotspot__label { left: auto; right: calc(100% - 6px); transform: translate(8px, -50%); }
.hotspot:hover .hotspot__dot, .hotspot:focus-visible .hotspot__dot { background: var(--light); color: var(--forest); transform: scale(1.1); }
.hotspot:hover .hotspot__plus, .hotspot:focus-visible .hotspot__plus { transform: rotate(90deg); }
.hotspot:hover .hotspot__label, .hotspot:focus-visible .hotspot__label { opacity: 1; transform: translate(0, -50%); }
.hotspot:focus-visible { outline: none; }
.hotspot:focus-visible .hotspot__dot { outline: 2px solid var(--gold); outline-offset: 6px; }
.hotspot.is-visited .hotspot__dot { border-color: var(--gold); }
.hotspot.is-visited .hotspot__no { color: var(--gold); }

.scene__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line-light); background: rgba(10, 24, 19, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.scene__bar button { display: flex; align-items: baseline; gap: 10px; padding: 20px 18px; border: 0; background: none; cursor: pointer; text-align: left; color: var(--light-muted); border-right: 1px solid var(--line-light); transition: color var(--t-fast), background var(--t-fast); }
.scene__bar button:last-child { border-right: 0; }
.scene__bar button b { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; color: var(--gold); }
.scene__bar button span { font-size: 0.9375rem; }
.scene__bar button:hover { color: var(--light); background: rgba(243, 238, 227, 0.06); }
.scene .chip { top: 20px; right: var(--gutter); bottom: auto; }
.scene__hint-m { display: none; }

/* ---------- point view (full-screen chapter) ---------- */
.pv { position: fixed; inset: 0; z-index: 80; background: var(--night); color: var(--light); visibility: hidden; clip-path: circle(0% at var(--ox, 50%) var(--oy, 50%)); transition: clip-path 1s var(--ease-cine), visibility 1s; }
.pv.is-open { visibility: visible; clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); }
.pv__bg { position: absolute; inset: 0; overflow: hidden; }
.pv__img { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.pv__img.is-current { opacity: 1; }
.pv__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 9s var(--ease-out); }
.pv__img.is-current img { transform: scale(1.02); }
.pv .grade { background: linear-gradient(90deg, rgba(10, 24, 19, 0.88) 0%, rgba(10, 24, 19, 0.55) 38%, rgba(10, 24, 19, 0) 70%), linear-gradient(0deg, rgba(10, 24, 19, 0.9) 0%, rgba(10, 24, 19, 0) 34%), linear-gradient(180deg, rgba(10, 24, 19, 0.6) 0%, rgba(10, 24, 19, 0) 20%); }
.pv__top { position: absolute; left: 0; right: 0; top: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px var(--gutter); }
.pv__top .label { color: var(--light-muted); }
.pv__back { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 20px; border: 1px solid var(--line-light); border-radius: 999px; background: rgba(10, 24, 19, 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; transition: background var(--t-fast), color var(--t-fast); }
.pv__back:hover { background: var(--light); color: var(--forest); }
.pv__content { position: absolute; z-index: 5; left: var(--gutter); bottom: 150px; width: min(640px, 52vw); max-height: calc(100% - 260px); overflow-y: auto; scrollbar-width: none; }
.pv__content::-webkit-scrollbar { display: none; }
.pv__content > * { transition: opacity 0.6s var(--ease), transform 0.9s var(--ease-out); }
.pv__content.is-swap > * { opacity: 0; transform: translateY(18px); }
.pv__content > *:nth-child(2) { transition-delay: 60ms; } .pv__content > *:nth-child(3) { transition-delay: 120ms; } .pv__content > *:nth-child(4) { transition-delay: 180ms; }
.pv__eyebrow { color: var(--gold); margin-bottom: 18px; }
.pv h2 { font-size: var(--fs-l); line-height: 1; margin-bottom: 24px; outline: none; }
.pv__body p { color: var(--light-muted); font-size: var(--fs-lead); line-height: 1.65; margin-bottom: 14px; max-width: 34em; }
.pv__nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; padding: 0 var(--gutter) 28px; }
.pv__steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.pv__steps button { display: grid; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--light-muted); }
.pv__steps button i { display: block; height: 2px; background: var(--line-light); position: relative; overflow: hidden; }
.pv__steps button i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease-out); }
.pv__steps button[aria-current="true"] i::after { transform: scaleX(1); }
.pv__steps button[aria-current="true"] { color: var(--light); }
.pv__steps button span { font-size: 0.8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv__steps button b { font-family: var(--font-mono); font-weight: 500; font-size: 0.625rem; color: var(--gold); margin-right: 6px; }
.pv__arrows { display: flex; gap: 10px; }
.pv__arrows button { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-light); background: rgba(10, 24, 19, 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; font-size: 1.2rem; transition: background var(--t-fast), color var(--t-fast); }
.pv__arrows button:hover { background: var(--light); color: var(--forest); }
.pv .chip { right: var(--gutter); bottom: 112px; }

/* =========================================================================
   CHAPTER 03 · A TREE WITH YOUR NAME
   ========================================================================= */
.named { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100svh; }
.named__media { position: relative; min-height: 100svh; }
.named__media .media { position: sticky; top: 0; height: 100svh; }
.named__card { position: absolute; right: clamp(-150px, -9vw, -60px); bottom: 12vh; z-index: 6; width: min(360px, 80%); }
.named__text { padding: clamp(7rem, 12vw, 10rem) var(--gutter) clamp(5rem, 9vw, 8rem) clamp(5rem, 12vw, 12rem); align-self: center; }
.named__text .opener__label { color: var(--terra-deep); }
.named__text h2 { font-size: var(--fs-l); line-height: 1; margin-bottom: 26px; max-width: 13ch; }
.named__text h3 { font-size: var(--fs-m); margin: 46px 0 16px; line-height: 1.12; max-width: 16ch; }
.tryname { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.tryname label { display: block; margin-bottom: 12px; color: var(--muted); }
.tryname input { width: 100%; max-width: 420px; min-height: 56px; padding: 0 2px; border: 0; border-bottom: 1.5px solid var(--forest); background: transparent; font-family: var(--font-display); font-style: italic; font-size: 1.75rem; color: var(--forest); outline: none; }
.tryname input::placeholder { color: rgba(21, 55, 45, 0.35); }
.tryname input:focus { border-bottom-color: var(--terra-deep); }

/* tree record (Living Record element) */
.record { position: relative; background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); padding: 20px 20px 16px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.record::before { content: ""; position: absolute; right: 18px; top: 18px; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--ivory); }
.record__head { display: flex; align-items: center; gap: 10px; padding: 0 26px 12px 0; border-bottom: 1px solid var(--ink); }
.record__title { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.record__badge { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; border: 1px dashed var(--terra-deep); color: var(--terra-deep); padding: 2px 7px; }
.record__row { display: grid; grid-template-columns: 7.4em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.record__row dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.record__row dd { font-size: 0.9375rem; line-height: 1.4; }
.record__row dd[data-key="name"] { font-family: var(--font-display); font-size: 1.2rem; font-style: italic; color: var(--forest); transition: color var(--t-fast); }
.record__row dd[data-key="name"].is-typed { color: var(--terra-deep); }
.record__qr { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding-top: 14px; }
.record__qr .qr { width: 72px; height: 72px; color: var(--forest); }
.record__qr p, .record__foot { font-family: var(--font-mono); font-size: 0.6875rem; line-height: 1.5; color: var(--muted); }
.record__foot { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-strong); }

/* =========================================================================
   CHAPTER 04 · FROM PLANTING TO HARVEST (sticky scrollytelling)
   ========================================================================= */
.journey { background: var(--night-2); }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.story__media { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.story__img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.story__img.is-on { opacity: 1; }
.story__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 6s var(--ease-out); }
.story__img.is-on img { transform: scale(1); }
.story__media .grade { background: linear-gradient(0deg, rgba(10, 24, 19, 0.7), rgba(10, 24, 19, 0) 40%); }
.story__count { position: absolute; left: var(--gutter); bottom: 40px; z-index: 5; display: flex; align-items: flex-end; gap: 18px; }
.story__count b { font-family: var(--font-display); font-weight: 300; font-size: clamp(5rem, 10vw, 9rem); line-height: 0.8; letter-spacing: -0.05em; color: var(--light); font-variant-numeric: tabular-nums; }
.story__count span { padding-bottom: 8px; color: var(--light-muted); }
.story__progress { position: absolute; right: 28px; top: 18%; bottom: 18%; width: 1.5px; background: var(--line-light); z-index: 5; }
.story__progress i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--gold); transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform 0.8s var(--ease-out); }
.story__steps { padding: 0 var(--gutter) 0 clamp(3rem, 7vw, 7rem); }
.sstep { min-height: 78svh; display: flex; flex-direction: column; justify-content: center; max-width: 30em; opacity: 0.32; transition: opacity 0.7s var(--ease); }
.sstep.is-active { opacity: 1; }
.sstep:first-child { min-height: 70svh; }
.sstep:last-child { min-height: 92svh; }
.sstep__no { color: var(--gold); margin-bottom: 18px; }
.sstep h3 { font-size: var(--fs-l); line-height: 1; margin-bottom: 20px; }
.sstep p { color: var(--light-muted); font-size: var(--fs-lead); }
.circle { padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem); border-top: 1px solid var(--line-light); }
.circle__in { display: grid; grid-template-columns: 0.8fr 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.circle__label { color: var(--light-muted); }
.circle h3 { font-size: var(--fs-m); margin: 14px 0 12px; }
.circle p { color: var(--light-muted); }
.circle .sstep__no { margin: 0; }

/* =========================================================================
   CHAPTER 05 · A LEGACY BEYOND ONE TREE
   ========================================================================= */
.impact { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: flex-end; }
.impact__bg { position: absolute; inset: -12% 0; }
.impact__bg img { width: 100%; height: 100%; object-fit: cover; }
.impact .grade { background: linear-gradient(0deg, rgba(10, 24, 19, 0.96) 0%, rgba(10, 24, 19, 0.75) 45%, rgba(10, 24, 19, 0.35) 100%); }
.impact__in { position: relative; z-index: 5; padding-bottom: clamp(4rem, 8vw, 7rem); }
.impact h2 { font-size: var(--fs-xl); line-height: 0.96; max-width: 13ch; margin-bottom: 26px; }
.impact__head { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.ipoints { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ipoint { padding-top: 22px; border-top: 1px solid var(--line-light); }
.ipoint b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--gold); margin-bottom: 16px; }
.ipoint h3 { font-size: 1.45rem; line-height: 1.15; margin-bottom: 10px; }
.ipoint p { color: var(--light-muted); font-size: var(--fs-small); }
.impact .chip { top: calc(var(--bar-h) + 12px); right: var(--gutter); bottom: auto; }

.carbon { background: var(--sage); color: var(--ink); }
.carbon__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; padding-block: clamp(5rem, 10vw, 8rem); }
.carbon h2 { font-size: var(--fs-l); line-height: 1; color: var(--forest); margin-bottom: 26px; max-width: 14ch; }
.carbon__text { color: #3D4840; font-size: var(--fs-lead); max-width: 32em; }
.carbon__media { aspect-ratio: 3 / 4; }
.note { margin-top: 34px; padding: 20px 22px; background: var(--paper); border-left: 3px solid var(--forest); max-width: 36em; }
.note .label { display: block; color: var(--forest); margin-bottom: 8px; }
.note p { font-size: 0.9375rem; line-height: 1.6; }

.movement { background: var(--ivory); color: var(--ink); padding-block: clamp(6rem, 12vw, 10rem); overflow: hidden; }
.bigquote { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.3rem, 5.6vw, 5.6rem); line-height: 1.02; letter-spacing: -0.035em; color: var(--forest); max-width: 17ch; margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.bigquote em { font-style: italic; color: var(--terra); }
.movement__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); padding-top: 34px; border-top: 1px solid var(--line); }
.movement h2 { font-size: var(--fs-m); line-height: 1.1; color: var(--forest); max-width: 14ch; }
.movement p { color: var(--muted); font-size: var(--fs-lead); margin-bottom: 30px; max-width: 32em; }
.movement__actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

/* =========================================================================
   CHAPTER 06 · BECOME PART OF THE STORY
   ========================================================================= */
.gift { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); min-height: 100svh; background: var(--cacao); }
.gift__media { position: relative; min-height: 70svh; }
.gift__media .chip { left: 16px; bottom: 16px; right: auto; }
.gift__text { padding: clamp(5rem, 10vw, 8rem) var(--gutter); align-self: center; }
.gift__text .opener__label { color: var(--gold); }
.gift h2 { font-size: var(--fs-l); line-height: 1; margin-bottom: 26px; max-width: 12ch; }
.gift__price { display: flex; align-items: baseline; gap: 18px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line-light); }
.gift__price b { font-family: var(--font-display); font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 300; line-height: 1; color: var(--gold); }
.gift__price span { color: var(--light-muted); max-width: 18em; line-height: 1.55; }
.gift__tag { display: inline-block; margin-bottom: 26px; padding: 6px 10px; border: 1px solid var(--line-light); color: var(--light-muted); }

.sponsor { background: var(--forest); padding-block: clamp(6rem, 11vw, 9rem); }
.sponsor__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.sponsor h2 { font-size: var(--fs-xl); line-height: 0.96; margin-bottom: 26px; max-width: 11ch; }
.ticks { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.ticks li::before { content: ""; width: 14px; height: 8px; margin-top: 7px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.includes-title { color: var(--gold); margin-top: 38px; }
.receipt { position: relative; background: var(--paper); color: var(--ink); padding: clamp(24px, 3vw, 38px); }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: radial-gradient(circle at 6px 0, var(--paper) 6px, transparent 6.5px) 0 0 / 12px 10px repeat-x; }
.receipt__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.receipt__head em { font-style: normal; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; border: 1px dashed var(--terra-deep); color: var(--terra-deep); padding: 2px 7px; }
.rline { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rline__label { font-size: 1rem; }
.rline__value { font-family: var(--font-display); font-size: 2.3rem; font-weight: 320; color: var(--forest); font-variant-numeric: tabular-nums; line-height: 1; text-align: right; }
.rline__value small { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--muted); margin-left: 6px; text-transform: uppercase; }
.rline__sub { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.rline--gift { border-bottom-style: dashed; }
.rline--gift .rline__value { color: var(--terra-deep); }
.receipt__notes { margin-top: 22px; }
.receipt__notes .label { color: var(--forest); display: block; margin-bottom: 12px; }
.receipt__notes p { font-size: 0.875rem; color: var(--muted); line-height: 1.55; margin-bottom: 8px; padding-left: 14px; border-left: 2px solid var(--sage); }
.receipt__cta { margin-top: 26px; }
.receipt__cta .btn { background: var(--forest); color: var(--light); border-color: var(--forest); }
.receipt__cta small { display: block; margin-top: 10px; text-align: center; font-size: 0.8125rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--husk); color: var(--ink); padding-block: clamp(5rem, 10vw, 8rem); }
.faq__grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(2.5rem, 7vw, 6rem); }
.faq h2 { font-size: var(--fs-l); line-height: 1; color: var(--forest); }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font-family: var(--font-display); font-size: clamp(1.2rem, 1.7vw, 1.5rem); color: var(--forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background var(--t-fast), transform var(--t-med) var(--ease-out); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; background: var(--forest); transition: transform var(--t-med) var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--forest); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--light); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq__a { padding: 0 48px 26px 0; color: var(--muted); max-width: 40em; }
.faq details.is-flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0% { background: rgba(200, 145, 63, 0.25); } 100% { background: transparent; } }

/* ---------- closing ---------- */
.closing { position: relative; min-height: 92svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.closing__bg { position: absolute; inset: 0; }
.closing__bg .cam { position: absolute; inset: -4%; width: 108%; height: 108%; }
.closing__bg img { width: 100%; height: 100%; object-fit: cover; }
.closing .grade { background: radial-gradient(70% 70% at 50% 55%, rgba(10, 24, 19, 0.45), rgba(10, 24, 19, 0.85)); }
.closing__in { position: relative; z-index: 5; padding: 8rem var(--gutter); }
.closing h2 { font-size: var(--fs-xl); line-height: 0.96; max-width: 13ch; margin: 0 auto 26px; }
.closing p { max-width: 34em; margin: 0 auto 38px; color: var(--light-muted); font-size: var(--fs-lead); }
.closing .chip { right: var(--gutter); bottom: 20px; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--light-muted); padding: 72px 0 34px; font-size: var(--fs-small); }
.footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.footer__brand { font-family: var(--font-display); font-size: 2rem; color: var(--light); line-height: 1.15; }
.footer__copy p + p { margin-top: 14px; }
.footer__contact { color: var(--light); }
.footer__disc { padding-block: 26px; border-bottom: 1px solid var(--line-light); font-size: 0.875rem; line-height: 1.7; max-width: 62em; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 22px; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; }
.footer__bottom button { background: none; border: 1px solid var(--line-light); color: var(--light-muted); padding: 6px 12px; cursor: pointer; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; }
.footer__bottom button:hover { color: var(--light); }

/* ---------- checkout (demo) ---------- */
.checkout { width: min(980px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; background: var(--ivory); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.checkout::backdrop { background: rgba(10, 24, 19, 0.7); backdrop-filter: blur(6px); }
.checkout[open] { animation: dlg 0.6s var(--ease-out); }
@keyframes dlg { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }
.checkout h2 { color: var(--forest); font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 18px; }
.checkout__banner { background: var(--husk); color: var(--cacao); padding: 10px 20px; font-family: var(--font-mono); font-size: 0.75rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.checkout__banner button { background: none; border: 1px solid var(--line-strong); min-height: 36px; padding: 0 12px; cursor: pointer; font-weight: 600; font-size: 0.8125rem; }
.checkout__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; }
.checkout__main { padding: clamp(22px, 3vw, 40px); }
.checkout__side { background: var(--husk); padding: clamp(22px, 3vw, 36px); border-left: 1px solid var(--line); }
.checkout .record { box-shadow: none; }
.stepper { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; counter-reset: s; }
.stepper li { flex: 1; counter-increment: s; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 10px; border-top: 2px solid var(--line); }
.stepper li::before { content: "0" counter(s) " "; color: var(--terra-deep); }
.stepper li[aria-current="step"] { color: var(--forest); border-top-color: var(--forest); }
.stepper li.is-done { border-top-color: var(--terra-deep); }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field .hint2 { font-size: 0.8125rem; color: var(--muted); }
.field input[type="text"], .field input[type="email"] { min-height: 50px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--paper); font: inherit; font-size: 1rem; color: var(--ink); }
.field input:focus { border-color: var(--forest); outline: 2px solid rgba(21, 55, 45, 0.15); outline-offset: 0; }
.field .err { color: #A3341E; font-size: 0.8125rem; display: none; }
.field.has-error input { border-color: #A3341E; }
.field.has-error .err { display: block; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.9375rem; padding: 16px; background: var(--paper); border: 1px solid var(--line); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--forest); }
.checkout__actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.checkout .tlink { color: var(--forest); }
.checkout__pane[hidden], .checkout [hidden] { display: none; }
.mini .rline { padding: 12px 0; }
.mini .rline__value { font-size: 1.6rem; }
.done { padding: clamp(28px, 5vw, 56px); }
.done h2 { margin-bottom: 14px; }
.done p { color: var(--muted); max-width: 34em; margin-bottom: 28px; }

/* ---------- prototype pill · mobile bar ---------- */
.proto { position: relative; }
.proto__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border: 0; background: none; cursor: pointer; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: currentColor; opacity: 0.8; }
.proto__btn:hover { opacity: 1; }
.proto__btn::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.proto__pop { position: absolute; right: 0; top: calc(100% + 6px); width: min(340px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); padding: 18px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.5); }
.proto__pop[hidden] { display: none; }
.proto__pop h2 { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); margin-bottom: 10px; font-weight: 500; }
.proto__pop ul { margin: 0 0 14px; padding-left: 18px; font-size: 0.875rem; color: var(--muted); display: grid; gap: 6px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.875rem; }
.switch small { display: block; color: var(--muted); font-size: 0.75rem; }
.switch input { width: 40px; height: 22px; accent-color: var(--terra-deep); }
.mbar { display: none; }

/* review mode */
.review .draft { background: linear-gradient(transparent 60%, rgba(217, 165, 90, 0.38) 60%); cursor: help; }
.review .draft::after { content: " ◦ pending"; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terra-deep); white-space: nowrap; }
.review .tone-dark .draft::after, .review .pv .draft::after, .review .footer .draft::after { color: var(--gold); }
.draft-note { display: none; }
.review .draft-note { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--terra-deep); }
.review .tone-dark .draft-note, .review .pv .draft-note, .review .footer .draft-note { color: var(--gold); }

picture { display: contents; }
.tilt { position: absolute; inset: 0; will-change: transform; }
.pv__count-m { display: none; }
.chapters-m { display: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1100px) {
  .bar__chapter { display: none; }
  .bar__in { grid-template-columns: 1fr auto; }
  .ipoints { grid-template-columns: 1fr 1fr; }
  .circle__in { grid-template-columns: 1fr 1fr; }
  .circle__label { grid-column: 1 / -1; }
  .scene__bar button span { font-size: 0.8125rem; }
}

@media (max-width: 860px) {
  :root { --bar-h: 68px; }
  .rail { display: none; }
  .bar__price em { display: none; }
  .bar__price { padding: 0 14px; }
  .brand__text { display: none; }
  .menu { grid-template-columns: 1fr; }
  .menu__side { display: none; }
  .menu__list { padding-top: 96px; justify-content: flex-start; }

  .hero__content { padding-bottom: 150px; }
  .hero h1 { max-width: none; }
  .hero__foot { grid-template-columns: 1fr; height: auto; padding-block: 14px; gap: 8px; }
  .hero__foot > .label, .scrollcue { display: none; }
  .terms-mini { justify-self: start; flex-wrap: wrap; gap: 8px 14px; font-size: 0.6875rem; }
  .terms-mini span + span::before { margin-right: 8px; }

  .opener__no { font-size: 9rem; top: 4.5rem; }

  /* forest on mobile: a real panorama you swipe through */
  .scene { height: 78svh; min-height: 520px; }
  .scene .chip { top: calc(var(--bar-h) + 6px); }
  .bar__price { padding: 0 12px; font-size: 0.6875rem; letter-spacing: 0.06em; }
  .scene__scroller { overflow-x: auto; overflow-y: hidden; scroll-snap-type: none; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .scene__scroller::-webkit-scrollbar { display: none; }
  .scene__stage { position: relative; height: 100%; width: auto; aspect-ratio: 16 / 9; }
  .hotspot__label { display: none; }
  .scene__bar { display: none; }
  .scene__hint-m { display: flex; position: absolute; left: 50%; bottom: 92px; z-index: 6; transform: translateX(-50%); align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; background: rgba(10, 24, 19, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--light); pointer-events: none; transition: opacity var(--t-med); white-space: nowrap; }
  .scene__hint-m.is-gone { opacity: 0; }
  .chapters-m { display: grid; gap: 0; padding: 8px 0 0; }
  .chapters-m button { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line-light); background: none; text-align: left; font-family: var(--font-display); font-size: 1.35rem; color: var(--light); cursor: pointer; }
  .chapters-m button b { font-family: var(--font-mono); font-weight: 500; font-size: 0.6875rem; color: var(--gold); }
  .chapters-m button::after { content: "→"; margin-left: auto; color: var(--light-muted); font-family: var(--font-body); font-size: 1rem; }

  .pv__content { left: var(--gutter); right: var(--gutter); width: auto; bottom: 120px; max-height: 52svh; }
  .pv .grade { background: linear-gradient(0deg, rgba(10, 24, 19, 0.96) 0%, rgba(10, 24, 19, 0.82) 48%, rgba(10, 24, 19, 0) 80%), linear-gradient(180deg, rgba(10, 24, 19, 0.6) 0%, rgba(10, 24, 19, 0) 18%); }
  .pv__steps { display: none; }
  .pv__nav { grid-template-columns: 1fr auto; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .pv__count-m { display: block !important; align-self: center; }
  .pv .chip { top: 84px; bottom: auto; right: var(--gutter); }
  .pv__top .label { display: none; }
  .pv h2 { font-size: 2.1rem; }
  .pv__body p { font-size: 1rem; }

  .named { grid-template-columns: 1fr; }
  .named__media { min-height: 0; }
  .named__media .media { position: relative; height: 72svh; }
  .named__card { position: relative; right: auto; bottom: auto; width: auto; margin: -110px 16px 0; }
  .named__text { padding: 3.5rem var(--gutter) 5rem; }

  .story { grid-template-columns: 1fr; }
  .story__media { height: 46svh; z-index: 2; }
  .story__count b { font-size: 4.5rem; }
  .story__count { bottom: 20px; }
  .story__progress { display: none; }
  .story__steps { padding: 0 var(--gutter); }
  .sstep, .sstep:first-child { min-height: 58svh; }
  .sstep:last-child { min-height: 64svh; }
  .sstep h3 { font-size: 2rem; }
  .circle__in { grid-template-columns: 1fr; }

  .impact__head, .carbon__in, .movement__grid, .sponsor__grid, .faq__grid, .footer__top, .checkout__grid { grid-template-columns: 1fr; }
  .ipoints { grid-template-columns: 1fr; gap: 22px; }
  .impact { min-height: 0; padding-top: 7rem; }
  .gift { grid-template-columns: 1fr; min-height: 0; }
  .gift__media { min-height: 62svh; }
  .checkout__side { border-left: 0; border-top: 1px solid var(--line); order: -1; }
  .checkout__side .record__qr, .checkout__side .record__foot { display: none; }

  .mbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(10, 24, 19, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--light); border: 1px solid var(--line-light); transform: translateY(140%); transition: transform var(--t-med) var(--ease-out); margin-bottom: env(safe-area-inset-bottom); }
  .mbar.is-visible { transform: none; }
  .mbar span { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.04em; }
  .mbar .btn { min-height: 42px; padding: 0 18px; }
  .proto__btn { font-size: 0; gap: 0; padding: 0 12px; }
  .proto__btn::before { width: 8px; height: 8px; }
  .proto__pop { right: -96px; }
  .footer { padding-bottom: 110px; }
}

@media (max-width: 520px) {
  .hero__actions .tlink { display: none; }
  .record__row { grid-template-columns: 6.4em 1fr; }
  .rline__value { font-size: 1.9rem; }
  .faq__a { padding-right: 0; }
}

/* ---------- reduced motion (system or footer toggle) ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-ok) { scroll-behavior: auto; }
  html:not(.motion-ok) *, html:not(.motion-ok) *::before, html:not(.motion-ok) *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  html:not(.motion-ok) .rays, html:not(.motion-ok) .mist { display: none; }
}
html.rm { scroll-behavior: auto; }
html.rm *, html.rm *::before, html.rm *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
html.rm .rays, html.rm .mist { display: none; }

/* =========================================================================
   HERO v0.3 · CINEMATIC PULL-BACK (pinned, scroll-driven camera)
   ========================================================================= */
.hc { position: relative; height: 240svh; background: var(--night); }
.hc--static { height: 100svh; }
.hc__pin { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.hc__stage { position: absolute; inset: 0; background: var(--night) center / cover no-repeat; }
.hc__gl, .hc__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s var(--ease); }
.hc__stage.is-ready .hc__gl, .hc__stage.is-ready .hc__video { opacity: 1; }
.hc__fallback { position: absolute; inset: 0; overflow: hidden; display: none; }
.hc__stage.is-fallback .hc__fallback { display: block; }
.hc__fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform, opacity; }
.hc__fb-a { transform-origin: 30% 37%; }
.hc__fb-b { transform-origin: 50% 60%; }
.hc__shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(10, 24, 19, 0.45) 0%, rgba(10, 24, 19, 0) 20%),
  radial-gradient(90% 75% at 50% 58%, rgba(10, 24, 19, 0.05) 0%, rgba(10, 24, 19, 0.55) 100%); }
.hc__intro { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--bar-h) var(--gutter) 6rem; will-change: opacity, transform; }
.hc__intro::before { content: ""; position: absolute; left: 50%; top: 52%; z-index: -1; width: min(1100px, 120vw); height: 70%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(10, 24, 19, 0.55), rgba(10, 24, 19, 0)); pointer-events: none; }
.hc__label { color: rgba(243, 238, 227, 0.86); margin-bottom: 26px; animation: fadein 1.2s 0.3s var(--ease) both; }
.hc h1 { font-size: clamp(3.2rem, 8.4vw, 8.75rem); line-height: 0.92; letter-spacing: -0.045em; font-weight: 320; color: var(--light); text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35); margin-bottom: 28px; }
.hc h1 em { font-style: italic; color: var(--gold); font-weight: 300; }
.hc h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hc h1 .line > span { display: block; animation: rise 1.4s var(--ease-out) both; }
.hc h1 .line:nth-child(1) > span { animation-delay: 0.45s; }
.hc h1 .line:nth-child(2) > span { animation-delay: 0.6s; }
.hc__line { max-width: 32em; color: rgba(243, 238, 227, 0.88); font-size: var(--fs-lead); line-height: 1.6; margin-bottom: 34px; text-shadow: 0 1px 20px rgba(0, 0, 0, 0.4); animation: fadein 1.2s 0.95s var(--ease) both; }
.hc__intro .btn { animation: fadein 1.2s 1.15s var(--ease) both; }
.hc__cue { position: absolute; left: 50%; bottom: 28px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(243, 238, 227, 0.75); text-decoration: none; }
.hc__cue i { position: relative; width: 1px; height: 38px; background: rgba(243, 238, 227, 0.25); overflow: hidden; }
.hc__cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--light); animation: cue 2.4s var(--ease-cine) infinite; }
.hc__end { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 0 var(--gutter) 30px; opacity: 0; pointer-events: none; will-change: opacity, transform; }
.hc__end[aria-hidden="false"] { pointer-events: auto; }
.hc__end::before { content: ""; position: absolute; inset: -60% 0 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 24, 19, 0.85), rgba(10, 24, 19, 0)); pointer-events: none; }
.hc__end-title { font-size: var(--fs-l); line-height: 1; color: var(--light); }
.hc__end .btn--ghost { border-color: rgba(243, 238, 227, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hc__terms { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-light); text-decoration: none; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--light-muted); }
.hc__terms span { display: inline-flex; align-items: baseline; gap: 6px; }
.hc__terms b { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; color: var(--gold); letter-spacing: 0; }
.hc__il { position: absolute; right: var(--gutter); bottom: 12px; font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.08em; color: rgba(243, 238, 227, 0.45); }
.hc__skip { position: absolute; right: var(--gutter); bottom: 28px; z-index: 4; padding: 10px 14px; border: 1px solid var(--line-light); border-radius: 999px; background: rgba(10, 24, 19, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--light); text-decoration: none; opacity: 0; pointer-events: none; transition: opacity var(--t-med) var(--ease); }
.hc__skip.is-on { opacity: 1; pointer-events: auto; }
.hc--static .hc__cue, .hc--static .hc__skip { display: none; }
@media (max-width: 860px) {
  .hc { height: 220svh; }
  .hc--static { height: 100svh; }
  .hc__intro { padding-bottom: 5rem; }
  .hc__line { font-size: 1rem; }
  .hc__skip { bottom: 84px; }
  .hc__terms { gap: 4px 14px; }
  .hc__il { left: var(--gutter); right: auto; }
}

/* ---------- HERO v0.4 · one continuous shot ---------- */
.hc--one { height: 260svh; }          /* ≈1.6 screens of camera travel */
.hc--one.hc--static { height: 100svh; }
.hc__fb-s { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
@media (max-width: 860px) { .hc--one { height: 240svh; } .hc--one.hc--static { height: 100svh; } }

/* =========================================================================
   HERO v0.5 · scroll-scrubbed video
   The section is tall, the pin is sticky: the hero holds still while the
   scroll drives the footage, and releases on the last frame.
   Scrub distance = section height − one screen.
   ========================================================================= */
.hv { position: relative; height: 360svh; background: var(--night); }          /* ≈2.6 screens of camera travel */
.hv--narrow { height: 300svh; }
.hv--static { height: 100svh; }
.hv__pin { position: sticky; top: 0; height: 100svh; min-height: 520px; overflow: hidden; }
.hv__stage { position: absolute; inset: 0; background: var(--night); }
.hv__poster, .hv__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hv-pos, 50% 50%); }
.hv__video { opacity: 0; transition: opacity 0.6s var(--ease); }
.hv__stage.is-ready .hv__video { opacity: 1; }
.hv--static .hv__video { display: none; }
/* legibility only: a soft pool behind the words and a quiet floor for the cue */
.hv__shade { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(70% 55% at 50% 50%, rgba(10, 24, 19, 0.34), rgba(10, 24, 19, 0) 72%),
  linear-gradient(0deg, rgba(10, 24, 19, 0.4) 0%, rgba(10, 24, 19, 0) 20%); }
.hv__intro { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--bar-h) var(--gutter) 7rem; will-change: opacity, transform; }
.hv h1 { font-size: clamp(3.2rem, 8.4vw, 8.75rem); line-height: 0.92; letter-spacing: -0.045em; font-weight: 320; color: var(--light); text-shadow: 0 2px 40px rgba(0, 0, 0, 0.38); margin-bottom: 28px; }
.hv h1 em { font-style: italic; color: var(--gold); font-weight: 300; }
.hv h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hv h1 .line > span { display: block; animation: rise 1.4s var(--ease-out) both; }
.hv h1 .line:nth-child(1) > span { animation-delay: 0.35s; }
.hv h1 .line:nth-child(2) > span { animation-delay: 0.5s; }
.hv__line { max-width: 32em; color: rgba(243, 238, 227, 0.9); font-size: var(--fs-lead); line-height: 1.6; margin-bottom: 34px; text-shadow: 0 1px 22px rgba(0, 0, 0, 0.5); animation: fadein 1.2s 0.85s var(--ease) both; }
.hv__intro .btn { animation: fadein 1.2s 1.05s var(--ease) both; }
.hv__cue { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; width: max-content; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(243, 238, 227, 0.72); text-decoration: none; }
.hv__cue > * { animation: fadein 1.2s 1.6s var(--ease) both; }
.hv__cue .label { font-size: 0.625rem; letter-spacing: 0.22em; }
.hv__cue i { position: relative; width: 1px; height: 40px; background: rgba(243, 238, 227, 0.22); overflow: hidden; }
.hv__cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--light); animation: cue 2.6s var(--ease-cine) infinite; }
.hv__cue:hover { color: var(--light); }
.hv__skip { position: absolute; right: var(--gutter); bottom: 26px; z-index: 4; padding: 9px 14px; border: 1px solid var(--line-light); border-radius: 999px; background: rgba(10, 24, 19, 0.3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: rgba(243, 238, 227, 0.85); text-decoration: none; opacity: 0; pointer-events: none; transition: opacity var(--t-med) var(--ease); }
.hv__skip.is-on { opacity: 1; pointer-events: auto; }
.hv__il { position: absolute; left: var(--gutter); bottom: 14px; z-index: 3; font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.08em; color: rgba(243, 238, 227, 0.5); }
.hv--static .hv__cue, .hv--static .hv__skip { display: none; }
@media (max-width: 860px) {
  .hv__intro { padding-bottom: 6rem; }
  .hv__line { font-size: 1rem; max-width: 26em; }
  .hv__skip { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .hv h1 .line > span, .hv__line, .hv__intro .btn, .hv__cue > * { animation: none; }
  .hv__cue i::after { animation: none; }
}
/* hand-off: the next chapter carries a soft dusk edge that rises over the last
   stretch of the shot as the reader arrives — no flash, no full-screen fade */
#beginning:has(.hv:not(.hv--v6)) + .chapter { position: relative; }
#beginning:has(.hv:not(.hv--v6)) + .chapter::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 34vh; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 24, 19, 0) 0%, rgba(10, 24, 19, 0.18) 35%, rgba(10, 24, 19, 0.62) 72%, var(--night) 100%); }
#beginning:has(.hv--static:not(.hv--v6)) + .chapter::before { height: 18vh; }

/* =========================================================================
   HERO v0.6 · scroll-driven video + two editorial text moments
   Scrub distance = section height − one screen (≈200vh desktop, 180vh phones).
   ========================================================================= */
.hv--v6 { height: 300svh; }
.hv--v6.hv--narrow { height: 280svh; }
.hv--v6.hv--static { height: 100svh; }
/* legibility: a soft pool of shade behind the words only; it fades with them, so the footage
   is shown untouched whenever no text is on screen (no bottom band, no overall darkening) */
.hv__veil { position: absolute; inset: 0; pointer-events: none; opacity: 1;
  background: radial-gradient(62% 48% at 50% 52%, rgba(10, 24, 19, 0.42), rgba(10, 24, 19, 0.16) 58%, rgba(10, 24, 19, 0) 82%); }
.hv__m { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--bar-h) var(--gutter) 4rem; pointer-events: none; will-change: opacity, transform; }
.hv__m.is-live a { pointer-events: auto; }
.hv__m--intro { visibility: visible; }
.hv__m--intro a { pointer-events: auto; }
.hv__m--forest { opacity: 0; visibility: hidden; padding-top: calc(var(--bar-h) + 6vh); }
.hv--v6 h1 { margin-bottom: 26px; }
.hv__title2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.9rem, 7.2vw, 7.5rem); line-height: 0.94; letter-spacing: -0.04em; color: var(--light); max-width: 11ch; text-shadow: 0 2px 44px rgba(0, 0, 0, 0.42); margin-bottom: 30px; }
.hv__link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; color: var(--light); text-decoration: none; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5); transition: opacity var(--t-fast); }
.hv__link:hover { opacity: 0.8; }
.hv__link:focus-visible, .hv__m .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
/* one quiet scroll cue: a hairline with a falling light, no words */
.hv--v6 .hv__cue { bottom: 22px; gap: 0; }
.hv--v6 .hv__cue i { height: 46px; background: rgba(243, 238, 227, 0.2); }
.hv--v6.hv--static .hv__cue { display: none; }
/* reduced chrome while the hero fills the screen: logo, menu and one Sponsor button */
.bar__chapter, .rail { transition: opacity var(--t-med) var(--ease), visibility var(--t-med); }
.bar__price { transition: background var(--t-fast), color var(--t-fast), opacity var(--t-med) var(--ease), visibility var(--t-med); }
html.in-hero .bar__chapter, html.in-hero .rail { opacity: 0; visibility: hidden; }
html.in-hero .bar__price em { display: none; }
html.in-hero.hv-cta .bar__price { opacity: 0; visibility: hidden; }
/* hand-off: the hero has already said "Explore the Cacao Forest", so the next chapter
   opens straight onto the forest instead of repeating the title above a dark gap */
#beginning:has(.hv--v6) + .chapter .opener { padding-top: clamp(3rem, 5vw, 4.5rem); padding-bottom: 1.75rem; }
#beginning:has(.hv--v6) + .chapter .opener__no { display: none; }
#beginning:has(.hv--v6) + .chapter .opener__label { margin-bottom: 0; }
#beginning:has(.hv--v6) + .chapter .forest__top { align-items: center; }
#beginning:has(.hv--v6) + .chapter .forest__top h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) {
  .hv__m--forest { padding-top: calc(var(--bar-h) + 2vh); }
  .hv__title2 { margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hv--v6 .hv__cue i::after { animation: none; }
}
/* prototype notes live in the footer now (opens upward) */
.footer .proto__btn { color: inherit; opacity: 0.75; padding: 0; min-height: 44px; }
.footer .proto__pop { top: auto; bottom: calc(100% + 8px); right: auto; left: 0; }
.footer__media { margin-top: -0.5rem; opacity: 0.8; }
.footer { position: relative; z-index: 5; }
.footer .proto { position: relative; z-index: 60; }
.footer .proto__pop { font-family: var(--font-body, inherit); letter-spacing: 0; text-transform: none; max-height: min(70vh, 560px); overflow: auto; }

/* =========================================================================
   v0.7 · POLISH
   ========================================================================= */
/* 1 · pace: ≈160vh of camera travel (v0.6: 200vh); phones ≈145vh */
.hv--v7 { --scrub: 160svh; height: calc(100svh + var(--scrub)); }
.hv--v7.hv--narrow { --scrub: 145svh; height: calc(100svh + var(--scrub)); }
.hv--v7.hv--narrow.hv--static, .hv--v7.hv--static { height: 100svh; }
.hv--v7.hv--static { height: 100svh; }
/* 2 · second beat sits low, over the rows, so the sunrise above it stays clear */
.hv--v7 .hv__m--forest { justify-content: flex-start; padding-top: calc(var(--bar-h) + 30vh); }
.hv--v7 .hv__veil { background: radial-gradient(68% 50% at 50% 56%, rgba(10, 24, 19, 0.4), rgba(10, 24, 19, 0.14) 60%, rgba(10, 24, 19, 0) 84%); }
.hv--v7 .hv__link span { display: inline-block; transition: transform var(--t-med) var(--ease-out); }
.hv--v7 .hv__link { background-size: 100% 1px; transition: opacity var(--t-fast), background-size var(--t-med) var(--ease-out); }
.hv--v7 .hv__link:hover { opacity: 1; background-size: 40% 1px; }
.hv--v7 .hv__link:hover span { transform: translateY(3px); }
.hv--v7 .hv__cue:hover i { background: rgba(243, 238, 227, 0.45); }
@media (max-width: 860px) { .hv--v7 .hv__m--forest { padding-top: calc(var(--bar-h) + 24vh); } }

/* 4 · header contrast over the footage: a soft shade whose strength follows the brightness
   under the header (--bar-shade, measured from the frame); no solid bar */
html.in-hero .bar::before { inset: 0 0 -64px; opacity: 1;
  background: linear-gradient(180deg, rgba(10, 24, 19, var(--bar-shade, 0.4)) 0%, rgba(10, 24, 19, calc(var(--bar-shade, 0.4) * 0.45)) 55%, rgba(10, 24, 19, 0) 100%);
  transition: opacity var(--t-med); }
html.in-hero .bar { text-shadow: 0 1px 14px rgba(10, 24, 19, 0.35); }
html.in-hero .bar__price { background: rgba(10, 24, 19, 0.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html.in-hero .bar__price:hover { background: var(--light); color: var(--forest); text-shadow: none; }

/* 5 · micro-interactions: short, quiet, no glow or bounce */
.btn { transition: color var(--t-med) var(--ease), border-color var(--t-med), transform 0.18s var(--ease-out); }
.btn:active, .bar__price:active, .menu-btn:active { transform: translateY(1px); }
.bar__price, .menu-btn { transition: background var(--t-fast), color var(--t-fast), opacity var(--t-med) var(--ease), visibility var(--t-med), transform 0.18s var(--ease-out); }
.btn:focus-visible, .bar__price:focus-visible, .menu-btn:focus-visible, .brand:focus-visible, .hv__link:focus-visible, .hv__cue:focus-visible, .hotspot:focus-visible, .scene__bar button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.brand { transition: opacity var(--t-fast); }
.brand:hover { opacity: 0.85; }

/* 3 · hand-off to Chapter 02: over the last 10 % of the hero the chapter rises over the
   final panorama; its top edge is feathered so the two landscapes meet softly, and the
   chapter name is set over the forest instead of on a dark band */
#beginning:has(.hv--v7) + .chapter { --ov: 16svh; position: relative; z-index: 2; margin-top: calc(var(--ov) * -1); }
#beginning:has(.hv--v7.hv--narrow) + .chapter { --ov: 14.5svh; }
#beginning:has(.hv--v7.hv--static) + .chapter { --ov: 10svh; }
#beginning:has(.hv--v7) + .chapter .forest { position: relative; display: flex; flex-direction: column; background: transparent; }
#beginning:has(.hv--v7) + .chapter .scene { order: 1; height: calc(max(620px, 100svh) + var(--ov)); background: transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.55) calc(var(--ov) * 0.55), #000 var(--ov));
  mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.55) calc(var(--ov) * 0.55), #000 var(--ov)); }
#beginning:has(.hv--v7) + .chapter .scene .grade { background: linear-gradient(0deg, rgba(10, 24, 19, 0.85) 0%, rgba(10, 24, 19, 0) 26%); }
#beginning:has(.hv--v7) + .chapter .scene .chip { top: calc(var(--ov) + 18px); }
#beginning:has(.hv--v7) + .chapter .opener { order: 2; padding: 0; background: var(--night); }
#beginning:has(.hv--v7) + .chapter .opener__label, #beginning:has(.hv--v7) + .chapter .forest__top .hint { display: none; }
.forest__intro { display: none; }
#beginning:has(.hv--v7) + .chapter .forest__intro { display: block; position: absolute; left: 0; right: 0; top: calc(var(--ov) + clamp(3.5rem, 9vh, 6.5rem)); z-index: 7; pointer-events: none; }
.forest__intro::before { content: ""; position: absolute; left: -4vw; top: -6vh; width: min(720px, 80vw); height: calc(100% + 12vh); z-index: -1;
  background: radial-gradient(closest-side, rgba(10, 24, 19, 0.5), rgba(10, 24, 19, 0)); }
.forest__chno { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 1.15rem; color: var(--gold); }
.forest__chno::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: 0.6; }
.forest__chtitle { margin: 0 0 18px; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.3rem, 4.6vw, 4.6rem); line-height: 0.98; letter-spacing: -0.035em; color: var(--light); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.forest__hint { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: 0.9375rem; color: rgba(243, 238, 227, 0.86); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }
.forest__hint i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); font-style: normal; }
@media (max-width: 860px) {
  #beginning:has(.hv--v7) + .chapter .forest__intro { top: calc(var(--ov) + 2.5rem); }
  .forest__hint { display: none; }                                  /* the swipe hint at the bottom does this job on phones */
  #beginning:has(.hv--v7) + .chapter .opener { padding: 0.5rem 0 2.5rem; }
}
/* chapter name centred at the top of the forest, between the first and last points, like a title card;
   the panorama's bright upper edge is calmed so it meets the hero's last frame without a pale seam */
#beginning:has(.hv--v7) + .chapter .forest__intro { text-align: center; }
.forest__intro::before { left: 50%; top: -5vh; width: min(760px, 90vw); height: calc(100% + 10vh); transform: translateX(-50%); }
.forest__chno { justify-content: center; }
.forest__chno::before { content: ""; width: 56px; height: 1px; background: currentColor; opacity: 0.6; }
#beginning:has(.hv--v7) + .chapter .scene .grade { background: linear-gradient(0deg, rgba(10, 24, 19, 0.85) 0%, rgba(10, 24, 19, 0) 26%),
  linear-gradient(180deg, rgba(14, 30, 22, 0.62) 0, rgba(14, 30, 22, 0.3) calc(var(--ov) * 1.3), rgba(14, 30, 22, 0) calc(var(--ov) * 2.4)); }
@media (max-width: 860px) { #beginning:has(.hv--v7) + .chapter .forest__intro { top: calc(var(--ov) + 4.75rem); } }
/* the chapter name is on screen in the forest itself: the header does not repeat it */
html.ch-title .bar__chapter { opacity: 0; visibility: hidden; }

/* =========================================================================
   v0.8 · HAND-OFF TO CHAPTER 02 WITHOUT A SEAM
   Over the last 10 % of the hero the final panorama dissolves (by scroll)
   into the chapter's own picture, laid out exactly like the panorama below.
   Chapter 02 sits one full screen higher, directly under the pinned stage,
   and becomes visible only when the pin releases, so nothing slides in and
   there is no edge between the two sections at any moment.
   ========================================================================= */
.hv__next { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; overflow: hidden; }
.hv__next-box { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.hv__next-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv__next-grade { position: absolute; inset: 0; pointer-events: none; }
.hv--v8 .hv__veil, .hv--v8 .hv__m, .hv--v8 .hv__cue { z-index: 3; }
.hv--v8.hv--static .hv__next { display: none; }

#beginning:has(.hv--v8) + .chapter { --ov: 0px; position: relative; z-index: 2; margin-top: calc(max(520px, 100svh) * -1); }
#beginning:has(.hv--v8) + .chapter .scene { height: max(520px, 100svh); -webkit-mask-image: none; mask-image: none; visibility: hidden; }
html.fx-arrived #beginning:has(.hv--v8) + .chapter .scene { visibility: visible; }
/* the same grade on the copy and on the chapter, so the swap changes nothing */
.hv__next-grade, #beginning:has(.hv--v8) + .chapter .scene .grade { background: linear-gradient(0deg, rgba(10, 24, 19, 0.78) 0%, rgba(10, 24, 19, 0) 24%), linear-gradient(180deg, rgba(10, 24, 19, 0.32) 0%, rgba(10, 24, 19, 0) 20%); }
/* the chapter's interface arrives once the picture is in place */
#beginning:has(.hv--v8) + .chapter .forest__intro,
#beginning:has(.hv--v8) + .chapter .scene .hotspot,
#beginning:has(.hv--v8) + .chapter .scene .route,
#beginning:has(.hv--v8) + .chapter .scene .scene__bar,
#beginning:has(.hv--v8) + .chapter .scene .scene__hint-m,
#beginning:has(.hv--v8) + .chapter .scene .chip,
#beginning:has(.hv--v8) + .chapter .scene .mist { opacity: 0; transition: opacity 0.8s var(--ease); }
html.fx-arrived #beginning:has(.hv--v8) + .chapter .forest__intro,
html.fx-arrived #beginning:has(.hv--v8) + .chapter .scene .hotspot,
html.fx-arrived #beginning:has(.hv--v8) + .chapter .scene .route,
html.fx-arrived #beginning:has(.hv--v8) + .chapter .scene .scene__bar,
html.fx-arrived #beginning:has(.hv--v8) + .chapter .scene .scene__hint-m,
html.fx-arrived #beginning:has(.hv--v8) + .chapter .scene .mist { opacity: 1; }
html.fx-arrived #beginning:has(.hv--v8) + .chapter .scene .chip { opacity: 0.75; }
#beginning:has(.hv--v8) + .chapter .scene .chip { top: auto; bottom: 86px; right: var(--gutter); }
#beginning:has(.hv--v8) + .chapter .forest__intro { top: clamp(5.5rem, 13vh, 8.5rem); }
html.fx-arrived #beginning:has(.hv--v8) + .chapter .scene .hotspot { transition-delay: calc(var(--i) * 70ms + 200ms); }
/* static hero (reduced motion): no dissolve; a short feathered overlap instead */
#beginning:has(.hv--v8.hv--static) + .chapter { margin-top: -10svh; }
#beginning:has(.hv--v8.hv--static) + .chapter .scene { height: calc(max(520px, 100svh) + 10svh); visibility: visible;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10svh); mask-image: linear-gradient(180deg, transparent 0, #000 10svh); }
#beginning:has(.hv--v8.hv--static) + .chapter .forest__intro { top: calc(10svh + clamp(4rem, 10vh, 6.5rem)); }
@media (max-width: 860px) {
  #beginning:has(.hv--v8) + .chapter .forest__intro { top: calc(var(--bar-h) + 1.5rem); }
  #beginning:has(.hv--v8) + .chapter .scene .chip { bottom: 140px; }
}
/* until the hand-off completes, the (invisible) chapter must not take clicks meant for the hero */
#beginning:has(.hv--v8) + .chapter { pointer-events: none; }
html.fx-arrived #beginning:has(.hv--v8) + .chapter { pointer-events: auto; }

/* =========================================================================
   v0.9 · DISCOVER THE FOREST AS A PINNED, EXPLORABLE CHAPTER
   ========================================================================= */
/* 1 · pinning: the scene is sticky inside .forest__pin; the spacer gives
   ~1 screen of calm exploring, then Chapter 03 slides up over the still forest */
#beginning:has(.hv--v9) + .chapter { --explore: 100svh; --cover: 100svh; }
#beginning:has(.hv--v9) + .chapter .forest__pin { order: 1; position: relative; }
#beginning:has(.hv--v9) + .chapter .scene { position: sticky; top: 0; }
.forest__spacer { display: none; }
#beginning:has(.hv--v9) + .chapter .forest__spacer { display: block; height: calc(var(--explore) + var(--cover)); pointer-events: none; }
#beginning:has(.hv--v9) + #forest + .chapter { position: relative; z-index: 3; margin-top: -100svh; box-shadow: 0 -30px 70px -30px rgba(0, 0, 0, 0.55); }
@media (max-width: 860px) {
  #beginning:has(.hv--v9) + .chapter { --explore: 55svh; --cover: 0px; }
  #beginning:has(.hv--v9) + #forest + .chapter { margin-top: 0; box-shadow: none; }
}

/* 2 · a clean picture: only the title, the points, their route and the bar */
#beginning:has(.hv--v9) + .chapter .forest__intro { z-index: 6; }
#beginning:has(.hv--v9) + .chapter .forest__chtitle { margin-bottom: 0; }
.hotspot__no { display: none; }

/* 3 · points: smaller, calmer; one clear active state; paired with the bar */
.hotspot { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.hotspot__dot { width: 38px; height: 38px; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-med) var(--ease-out), box-shadow var(--t-med); }
.hotspot__plus { width: 12px; height: 12px; }
.hotspot.is-hint .hotspot__dot { background: var(--light); color: var(--forest); transform: scale(1.1); }
.hotspot.is-hint .hotspot__label { opacity: 1; transform: translate(0, -50%); }
.hotspot--flip.is-hint .hotspot__label { transform: translate(0, -50%); }
.hotspot.is-active .hotspot__dot { background: var(--gold); border-color: var(--gold); color: var(--forest); transform: scale(1.15); box-shadow: 0 0 0 6px rgba(217, 165, 90, 0.22); }
.hotspot.is-active .hotspot__plus { transform: rotate(45deg); }
.route__path { stroke: rgba(243, 238, 227, 0.78); stroke-width: 1.6; stroke-dasharray: 1 9; }
.scene__bar button { position: relative; }
.scene__bar button::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out); }
.scene__bar button.is-hint, .scene__bar button[aria-current="true"] { color: var(--light); background: rgba(243, 238, 227, 0.06); }
.scene__bar button[aria-current="true"]::after { transform: scaleX(1); }
.scene.is-reading .scene__stage { filter: brightness(0.82); }


/* =========================================================================
   v1.0 · DISCOVER THE FOREST — ARRIVAL · EXPLORATION · EXIT
   Root cause of the "fly-through" (v0.8): the chapter had no pinned range at
   all — after the hero released, the forest scrolled away with the very next
   screen of scrolling. (No GSAP/ScrollTrigger in this project: both hero and
   forest use CSS sticky + one scroll listener each, so they cannot fight.)
   v1.0: the scene is sticky for a real exploration range, then leaves
   naturally with its bar; Chapter 03 follows in normal flow.
   ========================================================================= */
#beginning:has(.hv--v10) + .chapter { --explore: 170svh; --cover: 0px; }
#beginning:has(.hv--v10) + #forest + .chapter { margin-top: 0; box-shadow: none; z-index: auto; }
#beginning:has(.hv--v10) + .chapter .opener { display: none; }          /* empty on desktop: no band between forest and Chapter 03 */
/* arrival is drawn by the scroll (JS sets the inline opacity of title, points, route, bar) */
#beginning:has(.hv--v10) + .chapter .forest__intro,
#beginning:has(.hv--v10) + .chapter .scene .route { opacity: 1; transition: none; }
#beginning:has(.hv--v10) + .chapter .scene .hotspot,
#beginning:has(.hv--v10) + .chapter .scene .scene__bar { transition: none; }
#beginning:has(.hv--v10) + .chapter .scene.is-drawn .route__mask { animation: none; }
#beginning:has(.hv--v10) + .chapter .scene.is-drawn .hotspot__dot::after { animation: none; }
.forest__chtitle { will-change: opacity, transform; }
/* the point panel lives inside the pinned scene on desktop: it stays with the forest and leaves with it */
.pv[hidden] { display: none; }
.scene > .pv { position: absolute; top: 0; bottom: 0; right: 0; z-index: 9; }
.scene.is-reading .scene__bar { z-index: 8; }
/* phones: no long compulsory pin — swipe the panorama, then the compact list of the six topics */
@media (max-width: 860px) {
  #beginning:has(.hv--v10) + .chapter { --explore: 0px; }
  #beginning:has(.hv--v10) + .chapter .scene { position: relative; }
  #beginning:has(.hv--v10) + .chapter .forest__spacer { display: none; }
  #beginning:has(.hv--v10) + .chapter .opener { display: block; }
}
#beginning:has(.hv--v10) + .chapter .scene__stage { transform-origin: 50% 58%; transition: filter 0.6s var(--ease); }
.scene > .pv { background: var(--night); }
.scene > .pv .pv__content { overscroll-behavior: auto; }
#beginning:has(.hv--v10) + .chapter .forest__intro { transition: transform 0.55s var(--ease-out); }
@media (min-width: 861px) { #beginning:has(.hv--v10) + .chapter .scene.is-reading .forest__intro { transform: translateX(calc(min(520px, 42vw) / -2)); } }
/* the chapter rail stays out of the forest: it overlapped the hut and the open panel */
html.ch-title .rail { opacity: 0; visibility: hidden; }

/* =========================================================================
   v1.1 · HERO → FOREST → CHAPTER 03 IN NATIVE SCROLL
   Jerk causes found in v1.0 and removed:
   · a 2 % scale on the 2560px forest picture was rewritten on every scroll
     event → the browser re-rastered the whole stage each frame;
   · the dotted route was "drawn" by rewriting an SVG mask on every scroll
     event → full-scene repaint each frame;
   · getComputedStyle + getBoundingClientRect were read inside each scroll
     event (layout thrash), now once per animation frame;
   · the forest sat one screen up under the pinned hero (negative margin)
     and was switched visible/hidden at the hand-off.
   v1.1: the forest follows the hero in normal flow, rises from below as the
   hero leaves, holds for a short 50vh, then leaves with its bar; only
   opacity changes per frame.
   ========================================================================= */
#beginning:has(.hv--v11) + .chapter { --explore: 50svh; --cover: 0px; margin-top: 0; pointer-events: auto; }
#beginning:has(.hv--v11) + .chapter .scene { visibility: visible; }
#beginning:has(.hv--v11) + .chapter .scene .mist, #beginning:has(.hv--v11) + .chapter .scene .chip { opacity: 1; }
#beginning:has(.hv--v11) + .chapter .scene .route { transition: none; }
#beginning:has(.hv--v11) + .chapter .scene__stage { transform: none !important; will-change: auto; }
/* the meeting line: the hero's last frame darkens gently at its foot and the forest opens
   from a matching shade, so the two pictures meet through shadow, never overlap */
.hv--v11 .hv__next-box { display: none; }
.hv--v11 .hv__next-grade { background: linear-gradient(0deg, rgba(10, 24, 19, 0.8) 0%, rgba(10, 24, 19, 0.35) 14%, rgba(10, 24, 19, 0) 34%); }
#beginning:has(.hv--v11) + .chapter .scene .grade { background: linear-gradient(0deg, rgba(10, 24, 19, 0.78) 0%, rgba(10, 24, 19, 0) 24%), linear-gradient(180deg, rgba(10, 24, 19, 0.72) 0%, rgba(10, 24, 19, 0.3) 9%, rgba(10, 24, 19, 0) 26%); }
@media (max-width: 860px) {
  #beginning:has(.hv--v11) + .chapter { --explore: 0px; margin-top: 0; }
}

/* =========================================================================
   v1.2 · PUSH-IN FROM THE HERO INTO THE FOREST
   The hero gains a short push range (¼ of its video range, ≈40vh desktop):
   the final frame moves forward toward the path while the forest emerges
   from the same point and settles into its own layout. The forest chapter
   sits under the hero's last screen (as in v0.8) and takes over pixel for
   pixel when the pin releases: no band, gap or edge.
   ========================================================================= */
.hv--v12 { height: calc(100svh + var(--scrub) * 1.25); }
.hv--v12.hv--static { height: 100svh; }
.hv--v12 .hv__poster, .hv--v12 .hv__video { transform-origin: 51% 38%; will-change: transform; }
.hv--v12 .hv__next-box { will-change: transform; }
#beginning:has(.hv--v12) + .chapter { --explore: 40svh; }
#beginning:has(.hv--v12) + .chapter .scene .route { transition: none; }
#beginning:has(.hv--v12.hv--static) + .chapter { margin-top: 0; }
#beginning:has(.hv--v12.hv--static) + .chapter .scene { -webkit-mask-image: none; mask-image: none; height: max(520px, 100svh); }
@media (max-width: 860px) { #beginning:has(.hv--v12) + .chapter { --explore: 0px; } }


/* =========================================================================
   v1.3 · a point opens its own full-screen page again (as in v0.2):
   the forest zooms toward the chosen point while the page opens from it
   as a widening circle; "Back to the forest" reverses the move.
   ========================================================================= */
.pv__arrows button:focus-visible, .pv__back:focus-visible, .pv__steps button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
#beginning:has(.hv--v12) + .chapter .scene__stage { transition: transform 1.1s var(--ease-cine), filter 1.1s var(--ease-cine); }


/* =========================================================================
   v1.4 · CINEMATIC MATCH CUT · EDITORIAL TITLE · ONE ENTRANCE TIMELINE
   Two different camera set-ups are no longer forced into one fly-through.
   The hero finishes its pull-back and holds the wide panorama for a beat;
   the forest scene already waits, parked (sticky) and invisible, on top of
   it. At the cut point it dissolves in for ~0.45 s while both pictures are
   still — the warm light in the upper right and the misty horizon line up,
   so the eye reads one place from a new angle. Then the interface follows
   on its own clock (CSS transitions from one state class, html.fx-cut):
   clean picture → title, line by line → the six points → their route →
   the topic bar. Scrolling back above the cut reverses the same transitions.
   No zoom on the hero frame, no copy, no per-scroll opacity writes.
   ========================================================================= */
:root:has(.hv--v14) { --cut-early: 45svh; --cut-buf: 22svh; }
.cut-probe { position: absolute; left: 0; top: 0; width: 0; height: var(--cut-early, 0px); visibility: hidden; pointer-events: none; }
.hv__probe { position: absolute; left: 0; top: 0; width: 0; height: var(--scrub, 0px); visibility: hidden; pointer-events: none; }

/* 1 · the hero: video (--scrub) → a beat on the wide panorama (--hold) → cut → a short buffer under the forest */
.hv.hv--v14 { --hold: 16svh; height: calc(100svh + var(--scrub) + var(--hold) + var(--cut-buf)); }
.hv.hv--v14.hv--static { height: 100svh; }
.hv--v14 .hv__next { display: none; }
.hv--v14 .hv__poster, .hv--v14 .hv__video { transform: none !important; }

/* 2 · the forest chapter waits under the hero's last screens; its scene is parked at the top, unseen */
#beginning:has(.hv--v14) + .chapter { --explore: 40svh; --cover: calc(var(--cut-early) + var(--cut-buf));
  margin-top: calc(-1 * (max(520px, 100svh) + var(--cut-buf) + var(--cut-early))); pointer-events: none; }
html.fx-cut #beginning:has(.hv--v14) + .chapter { pointer-events: auto; }
#beginning:has(.hv--v14) + .chapter .scene { position: sticky; top: 0; height: max(520px, 100svh); visibility: hidden; transition: visibility 0s linear 0.34s; }
#beginning:has(.hv--v14) + .chapter .forest__spacer { display: block; height: calc(var(--explore) + var(--cover)); }
/* the cut happens inside the parked scene: at the cut point the scene shows at once with the hero's own
   last frame as its base (identical to what is on screen), and the forest dissolves in over it. However
   fast the page is flicked, the hero sliding away underneath is never seen through the dissolve. */
.scene__from { display: none; }
#beginning:has(.hv--v14) + .chapter .scene__from { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
html.fx-cut #beginning:has(.hv--v14) + .chapter .scene { visibility: visible; transition: visibility 0s; }
#beginning:has(.hv--v14) + .chapter .scene__scroller, #beginning:has(.hv--v14) + .chapter .scene > .grade, #beginning:has(.hv--v14) + .chapter .scene > .mist { opacity: 0; transition: opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1); }
html.fx-cut #beginning:has(.hv--v14) + .chapter .scene__scroller, html.fx-cut #beginning:has(.hv--v14) + .chapter .scene > .grade { opacity: 1; transition: opacity 0.46s cubic-bezier(0.33, 0, 0.2, 1); }
html.fx-cut #beginning:has(.hv--v14) + .chapter .scene > .mist { opacity: 1; transition: opacity 0.46s cubic-bezier(0.33, 0, 0.2, 1); }
html.fx-away #beginning:has(.hv--v14) + .chapter .scene, html.fx-away #beginning:has(.hv--v14) + .chapter .scene * { transition: none !important; }
/* the new frame settles from a hair closer (3 %), like a camera coming to rest */
#beginning:has(.hv--v14) + .chapter .scene__stage > img { transform: scale(1.03); transform-origin: 72% 22%; transition: transform 0s linear 0.32s; }
html.fx-cut #beginning:has(.hv--v14) + .chapter .scene__stage > img { transform: none; transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1); }
#beginning:has(.hv--v14) + .chapter .scene__stage { transition: transform 1.1s var(--ease-cine), filter 1.1s var(--ease-cine); }

/* 3 · the title: left, in the dark foliage under the tree line (JS sets its top from the picture), two lines */
#beginning:has(.hv--v14) + .chapter .forest__intro { top: 40%; width: auto; margin: 0; padding-inline: var(--gutter); text-align: left; transition: none; }   /* on the header's left line */
#beginning:has(.hv--v14) + .chapter .forest__intro::before { display: none; }
#beginning:has(.hv--v14) + .chapter .forest__chtitle { display: inline-block; margin: 0; font-size: clamp(2.6rem, 5.2vw, 5.4rem); line-height: 0.95; letter-spacing: -0.035em;
  text-shadow: 0 1px 2px rgba(6, 16, 12, 0.28), 0 8px 44px rgba(6, 16, 12, 0.5); will-change: auto; opacity: 1 !important; transform: none !important; }
.forest__chtitle .ln { display: block; }
.forest__chtitle .ln + .ln { padding-left: 0.92em; }
.forest__chtitle .ln > span { display: inline-block; }
.forest__chtitle em { font-style: italic; color: #e7c48d; }
/* reverse: quick and together */
#beginning:has(.hv--v14) + .chapter .forest__chtitle .ln > span { opacity: 0; transform: translate3d(0, 22px, 0);
  transition: opacity 0.24s ease, transform 0s linear 0.24s; }
/* forward: after the picture has settled for a beat (≈0.6 s), line by line */
html.fx-cut #beginning:has(.hv--v14) + .chapter .forest__chtitle .ln > span { opacity: 1; transform: none;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1) calc(0.62s + var(--l) * 0.14s), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) calc(0.62s + var(--l) * 0.14s); }

/* 4 · the map: points one by one, then the dotted route, then the bar (and its chip) */
#beginning:has(.hv--v14) + .chapter .scene .hotspot { opacity: 0; transform: scale(0.82); visibility: hidden;
  transition: opacity 0.2s ease, transform 0s linear 0.2s, visibility 0s linear 0.2s; }
html.fx-cut #beginning:has(.hv--v14) + .chapter .scene .hotspot { opacity: 1; transform: none; visibility: visible;
  transition: opacity 0.5s ease calc(1.12s + var(--i) * 0.08s), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) calc(1.12s + var(--i) * 0.08s), visibility 0s linear calc(1.12s + var(--i) * 0.08s); }
#beginning:has(.hv--v14) + .chapter .scene .route { opacity: 0; transition: opacity 0.2s ease; }
html.fx-cut #beginning:has(.hv--v14) + .chapter .scene .route { opacity: 1; transition: opacity 0.9s ease 1.55s; }
#beginning:has(.hv--v14) + .chapter .scene .scene__bar { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 0.2s ease, transform 0s linear 0.2s; }
html.fx-cut #beginning:has(.hv--v14) + .chapter .scene .scene__bar { opacity: 1; transform: none; transition: opacity 0.6s ease 1.7s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 1.7s; }
#beginning:has(.hv--v14) + .chapter .scene .chip, #beginning:has(.hv--v14) + .chapter .scene .scene__hint-m { opacity: 0; transition: opacity 0.2s ease; }
html.fx-cut #beginning:has(.hv--v14) + .chapter .scene .chip { opacity: 0.75; transition: opacity 0.6s ease 1.9s; }
html.fx-cut #beginning:has(.hv--v14) + .chapter .scene .scene__hint-m { opacity: 1; transition: opacity 0.6s ease 1.9s; }
html.fx-cut #beginning:has(.hv--v14) + .chapter .scene .scene__hint-m.is-gone { opacity: 0; }

/* 5 · phones: the same cut; the scene is parked only for the cut and its short buffer, then scrolls on */
@media (max-width: 860px) {
  #beginning:has(.hv--v14) + .chapter { --explore: 0px; }
}
/* 6 · no video (reduced motion, Save-Data, failure): no cut — the chapter follows the hero in normal flow */
#beginning:has(.hv--v14.hv--static) + .chapter { --cover: 0px; margin-top: 0; pointer-events: auto; }
#beginning:has(.hv--v14.hv--static) + .chapter .scene { visibility: visible; transition: none; }
#beginning:has(.hv--v14.hv--static) + .chapter .scene__from { display: none; }
#beginning:has(.hv--v14.hv--static) + .chapter .scene__scroller, #beginning:has(.hv--v14.hv--static) + .chapter .scene > .grade, #beginning:has(.hv--v14.hv--static) + .chapter .scene > .mist { opacity: 1; transition: none; }
@media (prefers-reduced-motion: reduce) {
  #beginning:has(.hv--v14) + .chapter .scene, #beginning:has(.hv--v14) + .chapter .scene *, #beginning:has(.hv--v14) + .chapter .forest__chtitle .ln > span { transition-duration: 0s !important; transition-delay: 0s !important; }
}


/* =========================================================================
   v1.5 · HERO PACING — NO DEAD SCROLL
   The hero now ends at 12.0 s of the footage (map in media.js); the same
   camera speed per pixel, on 83 % of the distance. Beats on the hero's
   whole range (video + hold + buffer, desktop ≈162svh, was ≈198svh):
   intro 0–28 % · plantation opens · "Explore the Cacao Forest" ≈39–71 %
   · clean wide shot, camera still settling ≈71–86 % · cut into the forest
   ≈86 % · the forest stays put for a short look, then scrolls on.
   ========================================================================= */
.hv.hv--v14.hv--v15 { --scrub: 132svh; --hold: 8svh; }
.hv.hv--v14.hv--v15.hv--narrow { --scrub: 120svh; --hold: 6svh; }
#beginning:has(.hv--v15) + .chapter { --explore: 28svh; }
@media (max-width: 860px) { #beginning:has(.hv--v15) + .chapter { --explore: 0px; } }


/* =========================================================================
   v1.6 · THE HERO ENDS ON ITS BEST FRAME
   The scroll drives the footage to 10.17 s (frame 244) — the wide shot on
   screen at the moment "Explore the Cacao Forest" has fully faded out — and
   the cut into the forest follows at once (a 4svh breath, so the video is
   surely on that frame; the cut also waits for it). Camera speed per pixel
   unchanged: the video range is the original 160svh × 0.72 = 115svh.
   ========================================================================= */
.hv.hv--v14.hv--v16 { --scrub: 115.2svh; --hold: 4svh; }
.hv.hv--v14.hv--v16.hv--narrow { --scrub: 104.4svh; --hold: 3svh; }


/* =========================================================================
   v1.7 · "A MOVEMENT POWERED BY PEOPLE" — NEW COPY
   Same typography and palette: the display heading takes the quote's place
   (second sentence in the terracotta italic), the story reads on the left,
   the closing line is set large on the right and leads into the CTA.
   ========================================================================= */
.movement h2.movement__title { max-width: 22ch; font-size: clamp(2.3rem, 5.2vw, 5.2rem); line-height: 1.02; letter-spacing: -0.035em; color: var(--forest); margin-bottom: clamp(3.5rem, 7vw, 6rem); text-wrap: balance; }
.movement h2.movement__title em { display: block; text-wrap: balance; }
.movement__grid--v17 { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
.movement__story p { color: var(--muted); font-size: var(--fs-lead); margin-bottom: 1.15em; max-width: 34em; }
.movement__story p:last-child { margin-bottom: 0; }
.movement .movement__closing { font-family: var(--font-display); font-weight: 300; font-size: var(--fs-m); line-height: 1.15; letter-spacing: -0.02em; color: var(--forest); max-width: 18ch; margin-bottom: 34px; }
@media (max-width: 860px) {
  .movement__grid--v17 { grid-template-columns: 1fr; gap: 2.25rem; }
  .movement .movement__closing { max-width: 20ch; margin-bottom: 26px; }
}


/* =========================================================================
   v1.9 · DISCOVER THE FOREST — CLEANER, MORE IMMERSIVE
   Overview: the forest, its title and the six points — no topic bar, no
   topic list on phones. Story page: the picture, the question, the text and
   "Back to the forest" — no chapter label, no numbering, no steps, no arrows.
   "Illustrative image · not the project plantation" moves into a small (i)
   (hover, focus or tap); the footer keeps the general note on the photos.
   ========================================================================= */
/* the (i) note */
.imgnote { position: absolute; z-index: 6; right: var(--gutter); bottom: clamp(20px, 3.6vh, 32px); display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; }
.imgnote__btn { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 1px solid rgba(243, 238, 227, 0.45); background: rgba(10, 24, 19, 0.3);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: rgba(243, 238, 227, 0.9); font-family: var(--font-display); font-style: italic; font-size: 0.875rem; line-height: 1;
  cursor: pointer; opacity: 0.62; transition: opacity 0.3s var(--ease), background 0.3s var(--ease); }
.imgnote__btn:hover, .imgnote.is-open .imgnote__btn { opacity: 1; background: rgba(10, 24, 19, 0.55); }
.imgnote__btn:focus-visible { opacity: 1; outline: 2px solid var(--gold); outline-offset: 3px; }
.imgnote__tip { margin: 0; padding: 5px 9px; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em; line-height: 1.3; white-space: nowrap; color: rgba(243, 238, 227, 0.88);
  background: rgba(10, 24, 19, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transform: translateX(6px); pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out); }
.imgnote:hover .imgnote__tip, .imgnote:focus-within .imgnote__tip, .imgnote.is-open .imgnote__tip { opacity: 1; transform: none; }
/* in the forest it arrives last, with the points */
#beginning:has(.hv--v14) + .chapter .scene .imgnote { opacity: 0; transition: opacity 0.2s ease; }
html.fx-cut #beginning:has(.hv--v14) + .chapter .scene .imgnote { opacity: 1; transition: opacity 0.6s ease 1.9s; }
.scene.is-zooming .imgnote { opacity: 0 !important; }

/* phones: no "02" block with a topic list under the forest */
@media (max-width: 860px) {
  #beginning:has(.hv--v10) + .chapter .opener { display: none; }
}

/* the story page */
.pv__top { justify-content: flex-end; }
.pv__content { bottom: clamp(56px, 12vh, 132px); width: min(640px, 50vw); max-height: calc(100% - 210px); }
.pv h2 { font-size: clamp(2.5rem, 4.7vw, 4.75rem); line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 26px; max-width: 13ch; text-wrap: balance; }
.pv__body p { max-width: 32em; }
.pv .grade { background:
  linear-gradient(90deg, rgba(10, 24, 19, 0.82) 0%, rgba(10, 24, 19, 0.46) 40%, rgba(10, 24, 19, 0) 68%),
  linear-gradient(0deg, rgba(10, 24, 19, 0.72) 0%, rgba(10, 24, 19, 0) 42%),
  linear-gradient(180deg, rgba(10, 24, 19, 0.42) 0%, rgba(10, 24, 19, 0) 18%); }
@media (max-width: 860px) {
  .pv__content { left: var(--gutter); right: var(--gutter); width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); max-height: 64svh; }
  .pv h2 { font-size: clamp(2.1rem, 9vw, 2.75rem); max-width: none; margin-bottom: 18px; }
  .pv .grade { background: linear-gradient(0deg, rgba(10, 24, 19, 0.95) 0%, rgba(10, 24, 19, 0.8) 46%, rgba(10, 24, 19, 0) 82%), linear-gradient(180deg, rgba(10, 24, 19, 0.55) 0%, rgba(10, 24, 19, 0) 18%); }
  .pv .imgnote { bottom: calc(22px + env(safe-area-inset-bottom)); }
}
/* v1.9 · a story page is the whole screen: the site header, the chapter rail and the phone's sponsor bar step
   away while it is open (the page lives inside the forest scene's layer, so they would otherwise sit on top) */
html.story-open .bar { transform: translateY(-100%); pointer-events: none; }
html.story-open .rail, html.story-open .mbar { opacity: 0; visibility: hidden; pointer-events: none; }


/* v1.10 · a story whose picture's subject stands on the left (The Forest: the cacao tree) reads on the right */
@media (min-width: 861px) {
  .pv[data-side="right"] .pv__content { left: auto; right: var(--gutter); }
  .pv[data-side="right"] .grade { background:
    linear-gradient(270deg, rgba(10, 24, 19, 0.84) 0%, rgba(10, 24, 19, 0.5) 40%, rgba(10, 24, 19, 0) 68%),
    linear-gradient(0deg, rgba(10, 24, 19, 0.6) 0%, rgba(10, 24, 19, 0) 40%),
    linear-gradient(180deg, rgba(10, 24, 19, 0.42) 0%, rgba(10, 24, 19, 0) 18%); }
  .pv[data-side="right"] .imgnote { right: auto; left: var(--gutter); flex-direction: row; }
  .pv[data-side="right"] .imgnote__tip { transform: translateX(-6px); }
  .pv[data-side="right"] .imgnote:hover .imgnote__tip, .pv[data-side="right"] .imgnote:focus-within .imgnote__tip, .pv[data-side="right"] .imgnote.is-open .imgnote__tip { transform: none; }
}


/* =========================================================================
   v1.11 · STORY ARROWS · SPLIT LAYOUT FOR A PHOTO WITH PEOPLE
   ========================================================================= */
/* two quiet arrows, bottom right, to leaf through the six stories (also ← → keys) */
.pv__arrows { position: absolute; z-index: 6; right: var(--gutter); bottom: clamp(64px, 11vh, 104px); display: flex; gap: 10px; }
.pv__arrows button { display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border-radius: 50%; border: 1px solid var(--line-light); background: rgba(10, 24, 19, 0.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--light); font-size: 1.15rem; cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.pv__arrows button:hover { background: var(--light); color: var(--forest); border-color: var(--light); }
.pv__arrows button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* a right-hand story keeps its text clear of the arrows */
@media (min-width: 861px) {
  .pv[data-side="right"] .pv__content { bottom: calc(clamp(64px, 11vh, 104px) + 84px); }
}
.pv.no-imgnote .imgnote { display: none; }

/* split: the photo stands whole on the right, the text reads on the night background on the left */
.pv__img[data-layout="split"] { left: 38%; }
.pv__img[data-layout="split"]::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--night) 0%, rgba(10, 24, 19, 0.55) 14%, rgba(10, 24, 19, 0) 34%), linear-gradient(0deg, rgba(10, 24, 19, 0.35) 0%, rgba(10, 24, 19, 0) 26%); }
.pv__img[data-layout="split"] img { transform: none !important; }
.pv[data-layout="split"] .pv__content { width: min(520px, 34vw); }
.pv[data-layout="split"] .grade { opacity: 0.5; }

@media (max-width: 860px) {
  .pv__arrows { bottom: calc(16px + env(safe-area-inset-bottom)); gap: 8px; }
  .pv__arrows button { width: 46px; height: 46px; }
  .pv__content { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .pv .imgnote { right: auto; left: var(--gutter); bottom: calc(26px + env(safe-area-inset-bottom)); flex-direction: row; }
  .pv .imgnote__tip { transform: translateX(-6px); }
  /* split on phones: the photo on top, the text below on the night background */
  .pv__img[data-layout="split"] { left: 0; bottom: 42%; }
  .pv__img[data-layout="split"]::after { background: linear-gradient(0deg, var(--night) 0%, rgba(10, 24, 19, 0.4) 18%, rgba(10, 24, 19, 0) 40%); }
  .pv[data-layout="split"] .pv__content { width: auto; max-height: 40svh; }
}
/* the (i) block never catches taps meant for what lies beside it (its hidden tip is wide) */
.imgnote { pointer-events: none; }
.imgnote__btn { pointer-events: auto; }


/* v1.12 · every story is full screen; a right-hand story keeps a narrower column so it never reaches the people on the left */
@media (min-width: 861px) {
  .pv[data-side="right"] .pv__content { width: min(500px, 33vw); }
}
/* v1.13 · Your Tree Journey: a wider right-hand column (the person stands left of centre) */
@media (min-width: 861px) {
  .pv[data-side="right"][data-width="wide"] .pv__content { width: min(600px, 40vw); }
}


/* =========================================================================
   v1.14 · "SHARE THE HARVEST" — A TWO-PHOTO SPREAD
   Two portrait photos, one story: right, the man beside the full barrow, full
   height; left, the woman wheeling hers in, whose frame dissolves downward
   into the night ground where the text reads — in the same place as every
   other story. Both figures turn towards the centre of the spread.
   ========================================================================= */
.pv__img[data-layout="diptych"] { background: var(--night); }
.pv__img[data-layout="diptych"] .dip { position: absolute; overflow: hidden; }
.pv__img[data-layout="diptych"] .dip--a { left: 0; top: 0; width: calc(50% - 1px); height: 64%; }
.pv__img[data-layout="diptych"] .dip--b { right: 0; top: 0; bottom: 0; width: calc(50% - 1px); }
.pv__img[data-layout="diptych"] .dip img { width: 100%; height: 100%; object-fit: cover; }
.pv__img[data-layout="diptych"] .dip--a img { object-position: 50% 19%; }
.pv__img[data-layout="diptych"] .dip--b img { object-position: 50% 6%; }
.pv__img[data-layout="diptych"] .dip--a::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, var(--night) 0%, rgba(10, 24, 19, 0.6) 22%, rgba(10, 24, 19, 0) 48%); }
.pv__img[data-layout="diptych"] .dip--b::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 24, 19, 0.45) 0%, rgba(10, 24, 19, 0) 30%), linear-gradient(180deg, rgba(10, 24, 19, 0.35) 0%, rgba(10, 24, 19, 0) 16%); }
.pv[data-layout="diptych"] .grade { opacity: 0; }
@media (min-width: 861px) {
  .pv[data-layout="diptych"] .pv__content { width: min(620px, calc(50% - var(--gutter) * 2)); }
}
@media (max-width: 860px) {
  /* phones: the two frames side by side on top, the text below */
  .pv__img[data-layout="diptych"] .dip--a, .pv__img[data-layout="diptych"] .dip--b { top: 0; bottom: auto; height: 58%; width: calc(50% - 1px); }
  .pv__img[data-layout="diptych"] .dip--a img { object-position: 62% 50%; }
  .pv__img[data-layout="diptych"] .dip--b img { object-position: 20% 50%; }
  .pv__img[data-layout="diptych"] .dip--a::after, .pv__img[data-layout="diptych"] .dip--b::after { background: linear-gradient(0deg, var(--night) 0%, rgba(10, 24, 19, 0.55) 16%, rgba(10, 24, 19, 0) 40%); }
}
/* v1.14 · refinements: the woman's frame ends above the text; the title fits one line */
@media (min-width: 861px) {
  .pv__img[data-layout="diptych"] .dip--a { height: 54%; }
  .pv__img[data-layout="diptych"] .dip--a img { object-position: 50% 15%; }
  .pv__img[data-layout="diptych"] .dip--b img { object-position: 50% 14%; }
  .pv[data-layout="diptych"] .pv__content { bottom: clamp(44px, 8vh, 96px); }
  .pv[data-layout="diptych"] h2 { font-size: clamp(2.3rem, 3.6vw, 3.9rem); max-width: none; margin-bottom: 20px; }
  .pv[data-layout="diptych"] .pv__body p { font-size: 1.0625rem; }
}


/* =========================================================================
   v1.16 · "GROW WITH LOCAL COMMUNITIES" — A GROUP PHOTO
   Seven people stand across the whole frame, so the usual bottom text would
   cover them. Here the text moves up into the shed's roof (darkened from the
   top), and the whole team stays in view. Phones: the photo whole on top,
   the text on the night ground below.
   ========================================================================= */
@media (min-width: 861px) {
  .pv[data-pos="top"] .pv__content { top: clamp(92px, 13vh, 120px); bottom: auto; width: min(760px, 56vw); }
  .pv[data-pos="top"] h2 { max-width: none; font-size: clamp(2.3rem, 3.6vw, 3.8rem); margin-bottom: 14px; }
  .pv[data-pos="top"] .pv__body p { font-size: 1.0625rem; max-width: 40em; }
  .pv[data-pos="top"] .grade { background:
    linear-gradient(180deg, rgba(10, 24, 19, 0.9) 0%, rgba(10, 24, 19, 0.72) 26%, rgba(10, 24, 19, 0.15) 46%, rgba(10, 24, 19, 0) 56%),
    linear-gradient(0deg, rgba(10, 24, 19, 0.45) 0%, rgba(10, 24, 19, 0) 22%); }
}
@media (max-width: 860px) {
  .pv[data-mfit="top"] .pv__img.is-current { bottom: 50%; }
  .pv[data-mfit="top"] .pv__img.is-current::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(0deg, var(--night) 0%, rgba(10, 24, 19, 0.45) 16%, rgba(10, 24, 19, 0) 38%), linear-gradient(180deg, rgba(10, 24, 19, 0.55) 0%, rgba(10, 24, 19, 0) 20%); }
  .pv[data-mfit="top"] .pv__img.is-current img { object-position: 50% 60% !important; transform: none !important; }
  .pv[data-mfit="top"] .grade { opacity: 0; }
}


/* v1.18 · chapter 03 helpers kept in v1.19: header CTA steps back, sample record panel */
#your-tree { position: relative; z-index: 3; }


/* while chapter 03 holds the screen, its own call to action leads */
.bar__price { transition: opacity var(--t-med) var(--ease), visibility 0s linear 0s, background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
html.ch3-focus .bar__price { opacity: 0; visibility: hidden; transition: opacity var(--t-med) var(--ease), visibility 0s linear var(--t-med); }
html.ch3-focus .mbar { transform: translateY(140%) !important; }

/* the sample record: a paper side panel */
.srec { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(460px, 100vw); height: 100%; max-width: 100vw; max-height: 100%; padding: 0; border: 0;
  background: #FBF7EE; color: var(--ink); box-shadow: -30px 0 80px rgba(6, 16, 12, 0.35);
  transform: translateX(104%); transition: transform 0.55s var(--ease-out); overflow-y: auto; overscroll-behavior: contain; }
.srec.is-open { transform: none; }
.srec::backdrop { background: rgba(10, 24, 19, 0); transition: background 0.45s var(--ease); }
.srec.is-open::backdrop { background: rgba(10, 24, 19, 0.55); }
.srec__in { min-height: 100%; display: flex; flex-direction: column; padding: 28px clamp(24px, 3.4vw, 40px) 32px; }
.srec__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(2rem, 6vh, 3.5rem); }
.srec__kicker { color: var(--terra-deep); }
.srec__close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; color: var(--forest); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.srec__close:hover { background: var(--forest); color: var(--light); }
.srec__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.srec__title { font-size: clamp(1.9rem, 2.6vw, 2.4rem); line-height: 1; color: var(--forest); display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(21, 55, 45, 0.5); margin-bottom: 4px; }
.srec__badge { font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra-deep); border: 1px dashed rgba(154, 84, 52, 0.6); padding: 2px 7px; }
.srec__rows { margin: 0 0 18px; }
.srec__row { display: grid; grid-template-columns: 8.2em 1fr; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(21, 55, 45, 0.1); }
.srec__row dt { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.srec__row dd { margin: 0; font-size: 0.9375rem; line-height: 1.4; }
.srec__row--name dd { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 1.5rem; line-height: 1.1; color: rgba(21, 55, 45, 0.5); }
.srec__foot { font-family: var(--font-mono); font-size: 0.6875rem; line-height: 1.55; letter-spacing: 0.02em; color: var(--muted); margin-bottom: 28px; }
.srec__cta { margin-top: auto; width: 100%; gap: 12px; }

/* phones: the tree fills the screen, the copy rests on the forest floor below it */
@media (max-width: 860px) {
  .srec { inset: auto 0 0 0; width: 100%; height: auto; max-height: 88svh; border-radius: 18px 18px 0 0; transform: translateY(104%); box-shadow: 0 -20px 60px rgba(6, 16, 12, 0.35); }
  .srec__in { min-height: 0; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .srec__head { margin-bottom: 1.5rem; }
  .srec__row { grid-template-columns: 7.2em 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .srec, .srec::backdrop { transition: none; }
}
/* v1.18 · the chapter must lie over the forest's last screen (an older v1.0 rule set z-index: auto here) */
#beginning:has(.hv--v10) + #forest + #your-tree { position: relative; z-index: 3; }


/* =========================================================================
   v1.19 · CHAPTER 03 — EDITORIAL PAGE  ·  "THE EDITORIAL REVEAL"
   The forest ends on its own deep-green floor; a warm paper sheet rises
   from below as the next page of the same document (a 32px lip over the
   forest's last edge, rounded top, soft shadow — never over the + points).
   Inside: a 12-column asymmetric layout of natural height. Heading spans
   9 columns; the photograph (cols 8–12) sits opposite the copy (cols 1–5).
   Reveal: heading wiped in left → right like ink across the page,
   photograph uncovered upward. Nothing is hidden without JS or with
   reduced motion. No pins, no scroll-driven effects.
   ========================================================================= */
:root { --lip: clamp(22px, 2.6vw, 36px); }
#your-tree, #beginning:has(.hv--v10) + #forest + #your-tree { position: relative; z-index: 3; margin-top: calc(-1 * var(--lip)); }
.ch3 { position: relative; background: var(--ivory); color: var(--ink); border-radius: var(--lip) var(--lip) 0 0;
  box-shadow: 0 -22px 50px -28px rgba(4, 12, 9, 0.6);
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(5rem, 9vw, 8.5rem); }
.ch3__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); grid-template-rows: auto auto auto auto; align-items: start; }
.ch3__label { grid-column: 1 / 8; grid-row: 1; color: var(--terra-deep); margin: 0 0 clamp(1.25rem, 2.2vw, 2rem); }
.ch3__label span { color: var(--forest); }
.ch3__title { grid-column: 1 / 9; grid-row: 2; margin: 0 0 clamp(2.5rem, 4.5vw, 4rem); color: var(--forest);
  font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 6.2vw, 6.6rem); line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance; }
/* the photograph starts beside the heading's last line and runs past the copy: one diagonal, no empty band */
.ch3__figure { grid-column: 9 / 13; grid-row: 2 / 5; margin: clamp(5rem, 10vw, 10rem) 0 0; align-self: start; }
.ch3__photo { position: relative; aspect-ratio: 752 / 941; overflow: hidden; border-radius: 3px; background: #D8D1C2; }
.ch3__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch3__cap { margin-top: 12px; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ch3__copy { grid-column: 1 / 7; grid-row: 3; }
.ch3__sub { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.1vw, 2.05rem); line-height: 1.15; letter-spacing: -0.015em; color: var(--forest); margin: 0 0 1.25rem; max-width: 18em; }
.ch3__text { font-size: var(--fs-lead); line-height: 1.6; color: #3B433E; margin: 0; max-width: 30em; }
.review .ch3 .draft-note { margin: 12px 0 0; }
.ch3__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: clamp(2rem, 3.2vw, 2.75rem); }
.ch3__cta { gap: 12px; }
.ch3__price { font-family: var(--font-mono); font-size: 0.78em; letter-spacing: 0.06em; font-weight: 400; opacity: 0.78; }
.ch3__sample, .ch3__journey { color: var(--forest); }
.ch3__cta:focus-visible, .ch3__sample:focus-visible, .ch3__journey:focus-visible { outline: 2px solid var(--terra-deep); outline-offset: 4px; }
.ch3__project { grid-column: 2 / 7; grid-row: 4; padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.ch3__project p { font-size: 1rem; line-height: 1.7; color: var(--muted); margin: 0 0 1rem; max-width: 31em; }
/* chapter 03 reads as a page: the side chapter rail steps back while it holds the screen (kept everywhere else) */
.rail { transition: opacity var(--t-med) var(--ease), visibility 0s linear 0s, color var(--t-med); }
html.ch3-focus .rail { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--t-med) var(--ease), visibility 0s linear var(--t-med); }
/* chapter 04 begins right at the paper's lower edge: a plain cut from paper to night, no empty band */
#your-tree + #journey .journey > .opener { padding-top: clamp(4.5rem, 8vw, 7rem); }

/* the reveal (only when JS runs and motion is allowed: .ch3.rv is set by script) */
@media (prefers-reduced-motion: no-preference) {
  .ch3.rv .ch3__label { opacity: 0; transition: opacity 0.9s var(--ease); }
  .ch3.rv .ch3__title { clip-path: inset(-0.2em 100% -0.2em 0); transition: clip-path 1.5s var(--ease-cine); }
  .ch3.rv .ch3__photo { clip-path: inset(14% 0 0 0); transition: clip-path 1.4s var(--ease-out); }
  .ch3.rv .ch3__photo img { transform: scale(1.06); transform-origin: 50% 100%; transition: transform 2.2s var(--ease-out); }
  .ch3.rv .ch3__cap, .ch3.rv .ch3__copy > *, .ch3.rv .ch3__project { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + 150ms); }
  .ch3.rv .is-in.ch3__label, .ch3.rv .is-in .ch3__label { opacity: 1; }
  .ch3.rv .ch3__title.is-in { clip-path: inset(-0.2em -0.1em -0.2em 0); }
  .ch3.rv .ch3__figure.is-in .ch3__photo { clip-path: inset(0 0 0 0); }
  .ch3.rv .ch3__figure.is-in .ch3__photo img { transform: none; }
  .ch3.rv .ch3__figure.is-in .ch3__cap, .ch3.rv .ch3__copy.is-in > *, .ch3.rv .ch3__project.is-in { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .ch3__title { grid-column: 1 / 9; font-size: clamp(2.6rem, 6.6vw, 5rem); }
  .ch3__figure { grid-column: 8 / 13; }
  .ch3__copy { grid-column: 1 / 7; }
  .ch3__project { grid-column: 1 / 7; }
}
/* phones: label · heading · photograph · line · description · CTA · sample · project text, one column */
@media (max-width: 860px) {
  .ch3 { padding: 3.25rem 0 3.75rem; }
  .ch3__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .ch3__label, .ch3__title, .ch3__figure, .ch3__copy, .ch3__project { grid-column: 1; grid-row: auto; }
  .ch3__label { margin-bottom: 1rem; }
  .ch3__title { font-size: clamp(2.3rem, 10.4vw, 3.1rem); line-height: 1.0; margin-bottom: 1.75rem; }
  .ch3__figure { width: 88%; margin: 0 0 2rem auto; grid-row: auto; }
  .ch3__copy { padding-top: 0; }
  .ch3__sub { font-size: 1.5rem; margin-bottom: 0.9rem; }
  .ch3__text { font-size: 1.0625rem; }
  .ch3__actions { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 1.75rem; }
  .ch3__cta { width: 100%; justify-content: center; }
  .ch3__sample { align-self: flex-start; }
  .ch3__project { padding-top: 2.5rem; }
  #your-tree + #journey .journey > .opener { padding-top: 4rem; }
}

/* the forest ends on its own floor: a delicate deep-green darkening at the bottom of the panorama,
   and its (i) note sits above the paper's lip */
#forest .scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(110px, 20vh, 190px); z-index: 4; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 24, 19, 0.7) 0%, rgba(10, 24, 19, 0.32) 42%, rgba(10, 24, 19, 0) 100%); }
#forest .scene .imgnote { bottom: calc(var(--lip) + 14px); }

/* =========================================================================
   v1.20 · CHAPTER 03 — one spread instead of separate blocks
   heading across the top → photograph (cols 1–5) facing the story column (cols 7–12):
   line + description + offer at the photograph's top, the project idea at its foot.
   ========================================================================= */
.ch3__title { grid-column: 1 / 11; margin-bottom: clamp(3rem, 5vw, 4.75rem); }
.ch3__figure { grid-column: 1 / 6; grid-row: 3; margin: 0; align-self: start; }
.ch3__story { grid-column: 7 / 13; grid-row: 3; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(2.5rem, 4vw, 3.5rem); padding: clamp(0.25rem, 1.5vw, 1.5rem) 0 clamp(1.6rem, 2.4vw, 2.2rem); }
.ch3__copy { max-width: 34em; padding: 0; }
.ch3__sub { font-size: clamp(2rem, 3.2vw, 3.3rem); line-height: 1.04; letter-spacing: -0.025em; max-width: 13em; margin: 0 0 clamp(1.25rem, 2vw, 1.75rem); }
.ch3__sub em { display: block; font-style: italic; color: var(--terra-deep); }
.ch3__text { font-size: clamp(1.0625rem, 1.15vw, 1.1875rem); line-height: 1.62; max-width: 31em; }
.ch3__actions { margin-top: clamp(1.75rem, 2.6vw, 2.4rem); }
.ch3__project { padding: 0; max-width: 31em; }
.ch3__project p { font-size: 1rem; line-height: 1.7; margin-bottom: 0.9rem; }
@media (max-width: 1100px) {
  .ch3__title { grid-column: 1 / 12; }
  .ch3__figure { grid-column: 1 / 6; }
  .ch3__story { grid-column: 7 / 13; }
}
@media (max-width: 860px) {
  .ch3__title, .ch3__figure, .ch3__story { grid-column: 1; grid-row: auto; }
  .ch3__figure { width: 88%; margin: 0 0 2rem auto; }
  .ch3__story { display: block; padding: 0; }
  .ch3__sub { font-size: clamp(1.6rem, 7vw, 2rem); }
  .ch3__project { padding-top: 2.5rem; }
}

/* =========================================================================
   v1.20 · CHAPTER 04 — EIGHT STEPS, ONE SCROLL STORY
   Photograph pinned on the left, steps scrolling on the right. Every step
   (01–08) has its own photograph, number and indicator mark; all of them
   follow one index (initJourney → set(i)). Native scroll only: each step is
   ~60% of a screen, a short lead-in and a short hold on step 08.
   ========================================================================= */
.story__steps { padding: 14svh var(--gutter) 40svh clamp(3rem, 6vw, 6.5rem); }
.sstep, .sstep:first-child, .sstep:last-child { min-height: 60svh; display: flex; flex-direction: column; justify-content: center; max-width: 31em; }
.story.is-js .sstep { opacity: 0.16; transform: translateY(10px); transition: opacity 0.55s var(--ease), transform 0.7s var(--ease-out); }
.story.is-js .sstep.is-active { opacity: 1; transform: none; }
.sstep__no { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; color: var(--gold); }
.sstep__n { font-variant-numeric: tabular-nums; }
.sstep__tag { color: var(--light-muted); }
.sstep h3 { font-size: clamp(2.3rem, 3.5vw, 3.5rem); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 20px; text-wrap: balance; }
.sstep__text { color: rgba(242, 237, 227, 0.82); font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.6; max-width: 27em; }
.story__img { transition: opacity 0.7s var(--ease); }
.story__img img { transform: scale(1.04); transition: transform 1.6s var(--ease-out); }
.story__img.is-on img { transform: none; }
.story__media .grade { background: linear-gradient(0deg, rgba(10, 24, 19, 0.62), rgba(10, 24, 19, 0) 34%); }
.story__count .label { display: inline-flex; gap: 0; }
.story__of { opacity: 0.6; margin-left: 0.5em; }
.story__count b.is-tick { animation: countTick 0.5s var(--ease-out); }
@keyframes countTick { from { opacity: 0.25; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.story__progress { display: none; }

/* step indicator: the side rail's place and look, eight marks, shown only while the story holds the screen */
.snav { position: fixed; right: 22px; top: 50%; z-index: 46; transform: translateY(-50%); opacity: 0; visibility: hidden; transition: opacity var(--t-med) var(--ease), visibility 0s linear var(--t-med); }
html.story-in .snav { opacity: 1; visibility: visible; transition: opacity var(--t-med) var(--ease), visibility 0s; }
html.story-in .rail { opacity: 0; visibility: hidden; pointer-events: none; }
html.story-in .mbar { transform: translateY(140%) !important; }
.snav ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.snav a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 5px 0; color: var(--light-muted); text-decoration: none; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; }
.snav a::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width var(--t-med) var(--ease-out), background var(--t-med); }
.snav__t { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; text-transform: uppercase; transition: max-width var(--t-med) var(--ease-out), opacity var(--t-med); }
.snav a.is-done { color: rgba(242, 237, 227, 0.7); }
.snav a[aria-current] { color: var(--light); }
.snav a[aria-current]::after { width: 32px; background: var(--gold); }
.snav a[aria-current] .snav__t, .snav a:hover .snav__t, .snav a:focus-visible .snav__t { max-width: 9em; opacity: 1; }
.snav a:hover, .snav a:focus-visible { color: var(--light); }
.snav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .story.is-js .sstep, .story__img, .story__img img { transition: none; transform: none; }
}

/* phones: the photograph stays at the top (pinned), steps read underneath; indicator becomes a row of marks on the photograph */
@media (max-width: 860px) {
  .story__media { height: 44svh; }
  .story__steps { padding: 0 var(--gutter) 20svh; }
  .sstep, .sstep:first-child, .sstep:last-child { min-height: 44svh; }
  .sstep h3 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); margin-bottom: 14px; }
  .sstep__text { font-size: 1.0625rem; }
  .story__count { bottom: 16px; }
  .story__count b { font-size: 3.6rem; }
  .story .chip--br { top: 68px; bottom: auto; font-size: 0.5625rem; }
  .snav { top: calc(44svh - 30px); right: var(--gutter); transform: none; }
  .snav ol { flex-direction: row; gap: 5px; }
  .snav a { padding: 10px 0; }
  .snav__n, .snav__t { display: none; }
  .snav a::after { width: 12px; height: 2px; background: rgba(242, 237, 227, 0.45); }
  .snav a.is-done::after { background: rgba(242, 237, 227, 0.8); }
  .snav a[aria-current]::after { width: 24px; }
}


/* =========================================================================
   v1.22 · CHAPTER 04 — the v1.20 scroll story, restored and tightened
   Structure (unchanged from v1.20): .story = sticky photograph (left 50%) +
   the eight steps in normal document flow (right 50%). New in v1.22:
   · no title slide — the chapter intro opens the text column beside step 01's photo
   · neighbours stay legible (dimmed, never invisible); the next step peeks in from below
   · steps ~52% of a screen, so text, not empty boxes, fills the column
   · no step rail (.snav); the counter on the photo is the only local indicator
   · photographs cross-fade only (no zoom)
   ========================================================================= */
.snav { display: none !important; }
.story__steps { padding: clamp(5.5rem, 14svh, 8rem) var(--gutter) 42svh clamp(3rem, 6vw, 6.5rem); }
.sintro { max-width: 31em; margin: 0; }
.sintro__label { color: var(--gold); margin: 0 0 clamp(1rem, 2svh, 1.4rem); }
.sintro__label span { color: var(--light); }
.sintro__title { margin: 0 0 clamp(0.9rem, 2svh, 1.25rem); color: var(--light); font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.1rem, 3.1vw, 3.3rem); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.sintro__lead { margin: 0; color: rgba(242, 237, 227, 0.72); font-size: clamp(1rem, 1.1vw, 1.125rem); line-height: 1.6; max-width: 29em; }
.sstep, .sstep:first-child, .sstep:last-child { min-height: 52svh; }
.sintro + .sstep { min-height: 46svh; }
.story.is-js .sstep { opacity: 0.32; transform: none; transition: opacity 0.5s var(--ease); }
.story.is-js .sstep.is-active { opacity: 1; }
.sstep h3 { font-size: clamp(2.4rem, 3.7vw, 3.9rem); line-height: 1.0; margin-bottom: 18px; }
.sstep__text { font-size: clamp(1.0625rem, 1.3vw, 1.3rem); }
.story__img img, .story__img.is-on img { transform: none; transition: none; }
@media (max-width: 860px) {
  .story__steps { padding: 2rem var(--gutter) 22svh; }
  .sintro__title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .sstep, .sstep:first-child, .sstep:last-child { min-height: 42svh; }
  .sintro + .sstep { min-height: 38svh; }
  .sstep h3 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
}


/* =========================================================================
   v1.23 · CHAPTER 04 — COMPACT EDITORIAL SCROLL STORY
   centred intro → container grid: sticky 4:5 photograph (≈43%) | the eight
   steps in normal flow (≈57%). Real page scrolling; one index; crossfade only.
   ========================================================================= */
.journey--v23 { background: var(--night); }
.j23-intro { text-align: center; padding: clamp(4.5rem, 8vw, 6.5rem) 0 clamp(2.75rem, 5vw, 4rem); }
.j23-intro__label { color: var(--gold); margin: 0 0 clamp(1rem, 1.6vw, 1.35rem); }
.j23-intro__label span { color: var(--light); }
.j23-intro__title { margin: 0 auto clamp(1rem, 1.6vw, 1.3rem); max-width: 17em; color: var(--light); font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.3rem, 3.7vw, 3.8rem); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.j23-intro__lead { margin: 0 auto; max-width: 32em; color: rgba(242, 237, 227, 0.74); font-size: clamp(1.0625rem, 1.2vw, 1.2rem); line-height: 1.6; text-wrap: balance; }

.j23 { width: min(1180px, 100% - 2 * var(--gutter)); display: grid; grid-template-columns: min(45%, calc(74svh * 0.8)) minmax(0, 1fr); column-gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
  padding-bottom: max(2.5rem, calc(37svh - 10rem)); }
.j23__media { position: sticky; top: max(96px, 13svh); }
.j23__frame { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: #0d1d17; }
.j23__img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease); }
.j23__img.is-on { opacity: 1; }
.j23__img img { width: 100%; height: 100%; object-fit: cover; }
.j23__cap { min-height: 1.2em; margin: 10px 0 0; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--light-muted); opacity: 0; transition: opacity 0.4s var(--ease); }
.j23__cap.is-on { opacity: 1; }

.j23__steps { list-style: none; margin: 0; padding: 0; }
.j23step { padding: clamp(2.5rem, 7.5svh, 5rem) 0; max-width: 31em; }
.j23step:first-child { padding-top: clamp(0.5rem, 3svh, 2rem); }
.j23step__no { margin: 0 0 clamp(0.9rem, 1.8svh, 1.25rem); color: var(--light-muted); }
.j23step__no span { color: var(--gold); }
.j23step__title { margin: 0 0 clamp(0.8rem, 1.8svh, 1.15rem); color: var(--light); font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.2rem, 3.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.j23step__text { margin: 0; color: rgba(242, 237, 227, 0.84); font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.6; max-width: 27em; }
.j23.is-js .j23step { opacity: 0.3; transition: opacity 0.45s var(--ease); }
.j23.is-js .j23step.is-active { opacity: 1; }

html.story-in .rail { opacity: 0; visibility: hidden; pointer-events: none; }
html.story-in .mbar { transform: translateY(140%) !important; }
@media (prefers-reduced-motion: reduce) { .j23__img, .j23__cap, .j23.is-js .j23step { transition: none; } }

@media (max-width: 1100px) {
  .j23 { grid-template-columns: min(46%, calc(74svh * 0.8)) minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 3rem); }
  .j23step__title { font-size: clamp(2rem, 3.8vw, 2.8rem); }
}
/* phones: a compact photograph pinned under the header, the story scrolling underneath */
@media (max-width: 860px) {
  .j23-intro { padding: 3.25rem 0 0; }
  .j23-intro__title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .j23-intro__lead { font-size: 1rem; }
  .j23 { grid-template-columns: minmax(0, 1fr); padding-bottom: 12svh; }
  .j23__media { top: 0; z-index: 2; background: var(--night); padding: 64px var(--gutter) 6px; margin-inline: calc(-1 * var(--gutter)); }
  .j23__media::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; background: linear-gradient(180deg, var(--night), rgba(10, 24, 19, 0)); pointer-events: none; }
  .j23__frame { width: 100%; aspect-ratio: auto; height: 34svh; }
  .j23__cap { margin-top: 6px; min-height: 1em; font-size: 0.5625rem; }
  .j23step { padding: 1.6rem 0; }
  .j23step:first-child { padding-top: 1.25rem; }
  .j23step:last-child { padding-bottom: 2.5rem; }
  .j23step__title { font-size: clamp(1.8rem, 7.8vw, 2.3rem); }
  .j23step__text { font-size: 1.0625rem; }
}


/* =========================================================================
   v1.24 · STABLE SCROLL + NO CHAPTER NUMBERING + CHAPTER 04 FINISH
   · header: always visible, no chapter label; light scrim softened (it read
     as a white band when the tone lagged) — tone now set per frame in JS
   · side chapter rail and "Chapter NN · …" labels removed everywhere
   · Chapter 04: intro opens the text column next to step 01's photo;
     tighter container and gap; neighbours more legible
   ========================================================================= */
.bar.is-hidden { transform: none; }
.bar__chapter, .rail { display: none !important; }
.bar.is-light::before { background: linear-gradient(180deg, rgba(243, 238, 227, 0.88), rgba(243, 238, 227, 0.55) 55%, rgba(243, 238, 227, 0)); }
.opener__label, .opener__no { display: none !important; }

.journey--v23 { padding-top: clamp(4rem, 7svh, 5.5rem); }
.j24 { width: min(1120px, 100% - 2 * var(--gutter)); grid-template-columns: min(44%, calc(74svh * 0.8)) minmax(0, 1fr); column-gap: clamp(2.25rem, 4.5vw, 4.75rem); }
.j24__col { min-width: 0; }
.j24-intro { max-width: 30em; padding-bottom: clamp(1.5rem, 4svh, 2.5rem); }
.j24-intro__title { margin: 0 0 clamp(0.9rem, 2svh, 1.2rem); color: var(--light); font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.1rem, 3.1vw, 3.2rem); line-height: 1.03; letter-spacing: -0.03em; text-wrap: balance; }
.j24-intro__lead { margin: 0; color: rgba(242, 237, 227, 0.74); font-size: clamp(1.0625rem, 1.15vw, 1.15rem); line-height: 1.6; max-width: 28em; }
.j24 .j23step:first-child { padding-top: clamp(1rem, 3svh, 2rem); }
.j23.is-js .j23step { opacity: 0.5; }
.j23.is-js .j23step .j23step__text { transition: color 0.45s var(--ease); }
.j23.is-js .j23step.is-active { opacity: 1; }
@media (max-width: 1100px) {
  .j24 { grid-template-columns: min(46%, calc(74svh * 0.8)) minmax(0, 1fr); column-gap: clamp(1.75rem, 3.5vw, 2.5rem); }
}
@media (max-width: 860px) {
  .journey--v23 { padding-top: 0; }
  .j24 { grid-template-columns: minmax(0, 1fr); }
  .j24-intro { padding: 1.5rem 0 0.5rem; }
  .j24-intro__title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
}
/* v1.24 · header without the centre chapter label: brand left, actions right */
.bar__in { grid-template-columns: 1fr auto; }


/* =========================================================================
   v1.25 · FOREST CANOPY TRANSITION (Chapter 03 → Chapter 04)
   Chapter 04 starts with a rainforest skyline (SVG, two close greens + the
   night tone). The section is pulled up by the canopy's height so the trees
   rise over Chapter 03's paper; its night background starts under the
   canopy's solid base — one continuous dark ground, no seam, no pin.
   Height comes from the SVG's own aspect ratio (no layout shift).
   ========================================================================= */
:root { --canopy-h: 12.5vw; }
@media (max-width: 860px) { :root { --canopy-h: 23.75vw; } }
#journey { position: relative; z-index: 4; }
.ch3 { padding-bottom: calc(var(--canopy-h) + clamp(2.5rem, 4vw, 3.75rem)); }
.journey--canopy { margin-top: calc(-1 * var(--canopy-h)); padding-top: 0;
  background: linear-gradient(180deg, transparent calc(var(--canopy-h) - 3px), var(--night) calc(var(--canopy-h) - 3px)); }
.canopy { position: relative; height: var(--canopy-h); line-height: 0; pointer-events: none; margin-bottom: clamp(2.25rem, 5svh, 3.75rem); }
.canopy__svg { display: block; width: 100%; height: 100%; }
.canopy__svg--m { display: none; }
.canopy .cf { fill: #1E392B; }
.canopy .cn { fill: var(--night); }
/* soft arrival of the story (opacity only) */
.j24.rv .j23__media, .j24.rv .j24__col { opacity: 0; transition: opacity 0.9s var(--ease); }
.j24.rv .j24__col { transition-delay: 0.12s; }
.j24.rv.is-in .j23__media, .j24.rv.is-in .j24__col { opacity: 1; }
@media (max-width: 860px) {
  .canopy__svg--d { display: none; }
  .canopy__svg--m { display: block; }
  .canopy { margin-bottom: 0; }
}

/* =========================================================================
   v1.26 · CHAPTER 03 SLIDES FULLY OVER THE FOREST
   The forest scene stays pinned one screen longer and Chapter 03's paper
   sheet (rounded top, soft shadow) is pulled up by that same screen, so it
   rides over the still forest until it covers it completely; then the page
   simply continues. Native scroll only — the extra pinned length equals the
   sheet's travel, so there is no dead scroll.
   ========================================================================= */
#beginning:has(.hv--v14:not(.hv--static)) + .chapter { --sheet: max(520px, 100svh); }
#beginning:has(.hv--v14:not(.hv--static)) + .chapter .forest__spacer { height: calc(var(--explore) + var(--cover) + var(--sheet)); }
#beginning:has(.hv--v14:not(.hv--static)) + #forest + #your-tree { margin-top: calc(-1 * max(520px, 100svh)); }
#beginning:has(.hv--v14:not(.hv--static)) + #forest + #your-tree .ch3 { box-shadow: 0 -24px 60px -20px rgba(4, 12, 9, 0.55); }

/* v1.31 · Chapter 04 photographs: one square frame for all eight steps (it holds a group of three people
   as well as the vertical shots), cover-cropped per photo; phones keep their landscape strip */
.j24 { grid-template-columns: min(47%, 72svh) minmax(0, 1fr); }
.j24 .j23__frame { aspect-ratio: 1 / 1; }
.j24 .j23__img img { object-position: var(--fd); }
@media (max-width: 1100px) { .j24 { grid-template-columns: min(48%, 72svh) minmax(0, 1fr); } }
@media (max-width: 860px) {
  .j24 { grid-template-columns: minmax(0, 1fr); }
  .j24 .j23__frame { aspect-ratio: auto; }
  .j24 .j23__img img { object-position: var(--fm); }
}


/* =========================================================================
   TEST v1.36 · CHAPTER 04 "THE LIVING JOURNEY — IMMERSIVE 3D DEPTH SCROLL"
   Active only with html.ch04-depth (?ch04=depth). A pinned 3D stage: the
   camera moves forward through eight planes of text and photographs as the
   page scrolls (native scroll; CSS perspective + translateZ, no libraries).
   ========================================================================= */
.dj { position: relative; height: calc(100svh + (var(--n) + 0.6) * 95svh); }
.dj__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; perspective-origin: 50% 50%;
  background: radial-gradient(120% 90% at 50% 45%, #12271e 0%, var(--night) 62%); }
.dj__world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.dj__p, .dj__t { position: absolute; left: 0; top: 0; margin: 0; transform-style: preserve-3d; will-change: opacity;
  transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) rotateY(var(--r, 0deg)); }
.dj__p { overflow: hidden; border-radius: 3px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); background: #0d1d17; }
.dj__p img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dj__p--main { width: min(27vw, 56svh); aspect-ratio: 4 / 5; }
.dj__p--extra { width: min(24vw, 44svh); aspect-ratio: 4 / 3; filter: brightness(0.85); }
.dj__t { width: min(36vw, 580px); text-align: center; pointer-events: none; }
.dj__t-no { color: var(--light-muted); margin: 0 0 1.1rem; }
.dj__t-no span { color: var(--gold); }
.dj__t-h { margin: 0; color: var(--light); font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 4.6vw, 5.6rem); line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance;
  text-shadow: 0 2px 4px rgba(6, 16, 12, 0.5), 0 2px 34px rgba(6, 16, 12, 0.85); }
.dj__intro-h { margin: 0 auto 1.2rem; max-width: 14em; color: var(--light); font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 4.6vw, 5rem); line-height: 1.02; letter-spacing: -0.035em; }
.dj__intro-p { margin: 0 auto; max-width: 30em; color: rgba(242, 237, 227, 0.78); font-size: clamp(1.05rem, 1.25vw, 1.25rem); line-height: 1.6; }
/* the step's description: always flat and sharp, bottom-left, changes with the active step */
.dj__hud { position: absolute; left: var(--gutter); bottom: clamp(1.75rem, 6svh, 3.5rem); z-index: 3; max-width: min(30em, 42vw); opacity: 0; transition: opacity 0.5s var(--ease);
  padding: 1.1rem 1.25rem 1.2rem; border-radius: 4px; background: linear-gradient(90deg, rgba(10, 24, 19, 0.9), rgba(10, 24, 19, 0.78)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.dj__hud.is-on { opacity: 1; }
.dj__hud.is-swap > * { animation: djIn 0.6s var(--ease-out); }
@keyframes djIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dj__hud-no { margin: 0 0 0.55rem; color: var(--light-muted); }
.dj__hud-no span { color: var(--gold); }
.dj__hud-text { margin: 0; color: var(--light); font-size: clamp(1.02rem, 1.15vw, 1.2rem); line-height: 1.55; }
.dj__cue { position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%); margin: 0; color: var(--light-muted); transition: opacity 0.5s var(--ease); }
.dj__cue.is-off { opacity: 0; }
.dj__test { position: absolute; right: var(--gutter); bottom: 1.4rem; z-index: 3; margin: 0; padding: 5px 9px; border: 1px solid rgba(242, 237, 227, 0.25); border-radius: 999px; color: var(--light-muted); font-size: 0.6rem; }
html.ch04-depth .journey--canopy .canopy { margin-bottom: 0; }
@media (max-width: 860px) {
  .dj { height: calc(100svh + (var(--n) + 0.6) * 85svh); }
  .dj__p--main { width: 62vw; aspect-ratio: 4 / 3; }
  .dj__p--extra { width: 40vw; }
  .dj__t { width: 88vw; }
  .dj__t-h { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .dj__hud { left: 14px; right: 14px; max-width: none; bottom: 14px; padding: 0.9rem 1rem; }
  .dj__hud-text { font-size: 0.98rem; }
  .dj__test { top: 70px; bottom: auto; right: 14px; }
}

/* =========================================================================
   TEST v1.37 · ATMOSPHERIC FOREST DEPTH (only inside the depth-scroll test)
   Far: blurred photo of a real cacao agroforest, nearly still.
   Mid: darkened foliage of the cacao grove framing the view, drifts a little.
   Front: the eight steps, unchanged. Layers live inside the sticky stage
   (absolute, overflow hidden), so they never change the document height.
   ========================================================================= */
.dj__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--night); }
.dj__far, .dj__mid, .dj__shade { position: absolute; inset: 0; }
.dj__far { background: #0c1c16 url("../media/dj-forest-far-1600.jpg") 50% 45% / cover no-repeat; will-change: transform; transform: scale(1.04); }
.dj__mid { background: url("../media/dj-forest-mid-1400.jpg") 50% 38% / cover no-repeat; will-change: transform; transform: scale(1.06); opacity: 0.92;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 52%, transparent 38%, rgba(0, 0, 0, 0.55) 62%, #000 88%);
          mask-image: radial-gradient(ellipse 62% 58% at 50% 52%, transparent 38%, rgba(0, 0, 0, 0.55) 62%, #000 88%); }
.dj__shade { background:
  radial-gradient(ellipse 48% 40% at 50% 48%, rgba(6, 15, 11, 0.38), rgba(6, 15, 11, 0) 100%),
  linear-gradient(180deg, rgba(6, 15, 11, 0.78) 0%, rgba(6, 15, 11, 0.2) 22%, rgba(6, 15, 11, 0.12) 60%, rgba(6, 15, 11, 0.72) 100%); }
.dj__world { z-index: 1; }
/* readability: brighter titles and step labels over the forest */
.dj__t-h { color: #f7f2e8; font-weight: 350; text-shadow: 0 1px 3px rgba(4, 10, 8, 0.7), 0 2px 30px rgba(4, 10, 8, 0.85); }
.dj__t-no { color: rgba(242, 237, 227, 0.86); font-size: 0.72rem; text-shadow: 0 1px 6px rgba(4, 10, 8, 0.9); }
.dj__intro-p { color: rgba(242, 237, 227, 0.88); text-shadow: 0 1px 14px rgba(4, 10, 8, 0.85); }
.dj__p { box-shadow: 0 34px 90px -28px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(242, 237, 227, 0.06); }
.dj__p--extra { filter: brightness(0.9); }
@media (max-width: 860px) {
  .dj__far { background-position: 30% 50%; }
  .dj__mid { background-position: 40% 30%;
    -webkit-mask-image: radial-gradient(ellipse 80% 46% at 50% 48%, transparent 34%, rgba(0, 0, 0, 0.6) 62%, #000 90%);
            mask-image: radial-gradient(ellipse 80% 46% at 50% 48%, transparent 34%, rgba(0, 0, 0, 0.6) 62%, #000 90%); }
}
.dj__t:not(.dj__t--intro) { width: min(32vw, 520px); }
@media (max-width: 860px) { .dj__t:not(.dj__t--intro) { width: 88vw; } }

/* =========================================================================
   TEST v1.39 · CHAPTER 04 INTRO TYPOGRAPHY ONLY
   Title ~18% larger, a tighter centred group lifted slightly, the scroll cue
   set under the lead inside the same block. Nothing else changes.
   ========================================================================= */
.dj__t--intro { --y: -4svh; width: min(64vw, 1000px); }
.dj__intro-h { margin: 0 auto 1.5rem; max-width: none; font-size: clamp(2.8rem, 5.4vw, 5.9rem); line-height: 0.98; letter-spacing: -0.038em; text-wrap: balance;
  text-shadow: 0 1px 3px rgba(4, 10, 8, 0.6), 0 2px 30px rgba(4, 10, 8, 0.8); }
.dj__intro-p { max-width: 32em; font-size: clamp(1.08rem, 1.3vw, 1.3rem); line-height: 1.55; text-wrap: pretty; }
.dj__t--intro .dj__cue { position: static; transform: none; margin: clamp(2.2rem, 5svh, 3.2rem) 0 0; color: rgba(242, 237, 227, 0.72); letter-spacing: 0.22em;
  text-shadow: 0 1px 8px rgba(4, 10, 8, 0.9); }
@media (max-width: 860px) {
  .dj__t--intro { --y: -3svh; width: 88vw; }
  .dj__intro-h { margin-bottom: 1.2rem; font-size: clamp(2.6rem, 11.6vw, 3.4rem); line-height: 1; }
  .dj__intro-p { max-width: 24em; font-size: 1.04rem; }
  .dj__t--intro .dj__cue { margin-top: 2rem; letter-spacing: 0.16em; line-height: 1.7; }
}

/* =========================================================================
   v1.40 · CHAPTER 03 — EDITORIAL REFINEMENT
   heading across the top → photograph (native 4:5, sized to the screen so it
   sits whole below the header) facing one continuous story column:
   line → personal tree → the project idea → the offer → a quiet sample link.
   ========================================================================= */
@media (min-width: 861px) {
  .ch3__grid { grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(3.5rem, 7.5vw, 8.5rem); grid-template-rows: auto auto; }
  .ch3__title { grid-column: 1 / -1; grid-row: 1; margin-bottom: clamp(2.75rem, 4.4vw, 4.25rem); }
  .ch3__figure { grid-column: 1; grid-row: 2; --ph: clamp(27rem, calc(100svh - 9.5rem), 44rem); }
  .ch3__photo { height: var(--ph); width: calc(var(--ph) * 752 / 941); aspect-ratio: auto; }
  .ch3__story { grid-column: 2; grid-row: 2; align-self: center; display: block; padding: 0 0 clamp(0.5rem, 2svh, 1.5rem); max-width: 36rem; }
}
.ch3__copy { max-width: none; }
.ch3__sub { font-size: clamp(2.3rem, 3.55vw, 3.9rem); line-height: 1.02; letter-spacing: -0.03em; max-width: 11em; margin: 0 0 clamp(1.5rem, 2.3vw, 2.1rem); text-wrap: balance; }
.ch3__sub em { margin-top: 0.06em; }
.ch3__text { font-size: clamp(1.0625rem, 1.12vw, 1.1875rem); line-height: 1.62; color: #3B433E; max-width: 31em; }
.ch3__lead { margin: 1.15em 0 0; font-size: clamp(0.98rem, 1vw, 1.0625rem); line-height: 1.68; color: var(--muted); max-width: 32em; }
.ch3__actions { flex-direction: column; align-items: flex-start; gap: 1.05rem; margin-top: clamp(2rem, 3vw, 2.6rem); }
.ch3__cta { width: auto; }
.ch3__sample { font-size: 0.66rem; letter-spacing: 0.14em; color: var(--muted); text-decoration-thickness: 1px; }
.ch3__sample:hover { color: var(--forest); }
@media (max-width: 860px) {
  .ch3__title { margin-bottom: 1.6rem; }
  .ch3__figure { width: 86%; margin: 0 0 2rem auto; }
  .ch3__photo { max-height: 62svh; }
  .ch3__sub { font-size: clamp(1.9rem, 8.6vw, 2.4rem); margin-bottom: 1.1rem; }
  .ch3__text { font-size: 1.0625rem; }
  .ch3__lead { font-size: 1rem; }
  .ch3__actions { align-items: stretch; margin-top: 1.9rem; gap: 1.1rem; }
  .ch3__cta { width: 100%; justify-content: center; }
  .ch3__sample { align-self: center; }
}

/* =========================================================================
   v1.40 · CHAPTER 03 → 04 JOINT (depth-scroll build only)
   The canopy's solid night ground met the chapter-04 stage, whose top is
   darkened by its own shade layer (≈ #060e0a over the forest photo): a hard
   horizontal line. A short gradient hangs under the canopy, from the canopy's
   own --night into transparent, over the stage's first ~150px only. It scrolls
   away with the canopy before the stage pins, so chapter 04 itself is unchanged.
   ========================================================================= */
html.ch04-depth .journey--canopy .canopy { z-index: 2; }
html.ch04-depth .journey--canopy .canopy::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: clamp(110px, 20svh, 200px); pointer-events: none;
  background: linear-gradient(180deg, var(--night) 0%, rgba(10, 24, 19, 0.86) 18%, rgba(10, 24, 19, 0.55) 45%, rgba(10, 24, 19, 0.2) 75%, rgba(10, 24, 19, 0) 100%); }
.ch3__title { max-width: 12.5em; }

/* =========================================================================
   v1.41 · CHAPTER 03 — ONE COMPOSITION
   The heading no longer runs across the top as its own title band: it opens
   the text column beside the photograph. Photograph (whole 4:5, sized to the
   screen) on the left; heading → line → personal tree → project idea → the one
   button on the right, centred on the photograph as a single group.
   The section ends just above the canopy; no spare height.
   ========================================================================= */
@media (min-width: 861px) {
  .ch3 { padding-top: clamp(4rem, 6.5vw, 6.25rem); padding-bottom: calc(var(--canopy-h) + clamp(1.25rem, 2vw, 2rem)); }
  .ch3__grid { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: clamp(3rem, 6vw, 7rem); align-items: start; }
  .ch3__figure { grid-column: 1; grid-row: 1 / 5; align-self: center; margin: 0; --pw: min(40vw, calc((100svh - 8rem) * 0.8), 36rem); }
  .ch3__photo { width: var(--pw); height: calc(var(--pw) * 941 / 752); }
  .ch3__title { grid-column: 2; grid-row: 2; max-width: 10.5em; margin: 0 0 clamp(1.6rem, 2.4vw, 2.3rem);
    font-size: clamp(2.7rem, 4.3vw, 4.75rem); line-height: 1; letter-spacing: -0.035em; }
  .ch3__story { grid-column: 2; grid-row: 3; align-self: start; padding: 0; max-width: 34rem; }
  .ch3__sub { font-size: clamp(1.6rem, 2.2vw, 2.35rem); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: clamp(1.1rem, 1.6vw, 1.5rem); max-width: none; }
  .ch3__sub em { display: inline; margin: 0; }
  .ch3__text { font-size: clamp(1.03rem, 1.08vw, 1.15rem); line-height: 1.6; max-width: 32em; }
  .ch3__lead { margin-top: 1em; font-size: clamp(0.97rem, 0.98vw, 1.04rem); line-height: 1.65; max-width: 33em; }
  .ch3__actions { margin-top: clamp(1.8rem, 2.6vw, 2.4rem); }
}
@media (max-width: 860px) {
  .ch3 { padding-bottom: calc(var(--canopy-h) + 1.75rem); }
}

/* =========================================================================
   v1.42 · CHAPTER 04 INTRO — THE HEADING AS THE HERO (typography only)
   ~+40% heading, bounded by both width and height so it never crowds the
   header; slightly fuller weight; lead closer and a step larger; cue closer.
   ========================================================================= */
.dj__t--intro { --y: -2.5svh; width: min(92vw, 1600px); }
.dj__intro-h { font-size: clamp(3rem, min(7.8vw, 15.5svh), 9.5rem); font-weight: 340; line-height: 0.96; letter-spacing: -0.04em; margin-bottom: clamp(1.1rem, 2.4svh, 1.7rem); }
.dj__intro-p { max-width: 34em; font-size: clamp(1.12rem, min(1.45vw, 2.7svh), 1.5rem); line-height: 1.5; }
.dj__t--intro .dj__cue { margin-top: clamp(1.5rem, 3.6svh, 2.4rem); }
@media (max-width: 860px) {
  .dj__t--intro { --y: -3svh; width: 90vw; }
  .dj__intro-h { font-size: clamp(2.5rem, 12vw, 4.4rem); line-height: 0.98; margin-bottom: 1.1rem; }
  .dj__intro-p { max-width: 26em; font-size: clamp(1.04rem, 2.6vw, 1.2rem); }
  .dj__t--intro .dj__cue { margin-top: 1.6rem; }
}
@media (min-width: 861px) and (max-height: 620px) { .dj__t--intro { --y: 0svh; } }

/* =========================================================================
   TEST · v1.42 CHAPTER 05 — THE IMPACT CHAPTER, premium botanical editorial
   No photograph. Warm ivory ground, the heading as the hero (left ~58%), the
   idea beside it (right ~42%), then the four directions as a 2×2 of quiet
   typographic blocks divided by hairlines. ?ch05=photo = v1.42 chapter 05.
   ========================================================================= */
.impact--ed { display: block; min-height: 0; background: var(--ivory); color: var(--ink);
  padding: clamp(6.5rem, 9.5vw, 9.5rem) 0 clamp(5rem, 8vw, 8.5rem); }
.impact--ed .impact__in { padding-bottom: 0; }
.impact--ed .impact__head { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); column-gap: clamp(3rem, 6vw, 7rem); align-items: end;
  margin-bottom: clamp(3.75rem, 6.5vw, 6rem); }
.impact--ed h2 { margin: 0; max-width: none; font-size: clamp(3rem, 6.1vw, 6.9rem); line-height: 0.95; letter-spacing: -0.035em; color: var(--forest); }
.impact--ed .lead { margin: 0 0 0.45em; max-width: 27em; font-size: clamp(1.1rem, 1.38vw, 1.375rem); line-height: 1.6; color: var(--muted); }
.impact--ed .ipoints { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(3rem, 7vw, 8rem); row-gap: clamp(2.75rem, 4.6vw, 4.5rem); }
.impact--ed .ipoint { display: grid; grid-template-columns: clamp(3.2rem, 4.8vw, 4.5rem) minmax(0, 1fr); column-gap: clamp(1rem, 2vw, 1.75rem);
  padding-top: clamp(1.4rem, 2.1vw, 2rem); border-top: 1px solid var(--line); }
.impact--ed .ipoint b { grid-row: 1 / span 2; margin: 0; padding-top: 0.04em; font-size: clamp(1.9rem, 2.6vw, 2.6rem); color: var(--terra); }
.impact--ed .ipoint h3 { margin: 0 0 0.75rem; font-size: clamp(1.45rem, 2.05vw, 2rem); line-height: 1.12; letter-spacing: -0.012em; color: var(--forest); }
.impact--ed .ipoint p { margin: 0; max-width: 31em; font-size: clamp(0.98rem, 1.02vw, 1.0625rem); line-height: 1.64; color: var(--muted); }
@media (max-width: 860px) {
  .impact--ed { padding: 6.5rem 0 4.5rem; }
  .impact--ed .impact__head { grid-template-columns: 1fr; row-gap: 1.4rem; margin-bottom: 3rem; }
  .impact--ed h2 { font-size: clamp(2.5rem, 11.5vw, 3.6rem); max-width: 12ch; }
  .impact--ed h2 .ed-br { display: none; }
  .impact--ed .lead { font-size: 1.08rem; }
  .impact--ed .ipoints { grid-template-columns: 1fr; row-gap: 2.25rem; }
  .impact--ed .ipoint { grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; padding-top: 1.35rem; }
  .impact--ed .ipoint b { font-size: 1.85rem; }
  .impact--ed .ipoint h3 { font-size: 1.4rem; }
}

/* =========================================================================
   TEST · "THE SECOND SENTENCE" — chapter 04 → chapter 05
   The forest opens with a sentence and closes with one. After step 08 the
   stage stays pinned for 80svh more (+100svh held behind chapter 05 as a
   safety tail). Chapter 05 is pulled up over that stretch; its first section
   is sticky inside .ss-hold, so the browser holds the heading still and then
   releases it into the normal flow — the script positions nothing, it only
   changes colour and opacity (see ssFrame in app.js). ?ch05ss=off = no hand-off.
   ========================================================================= */
html.ch05-ss .dj { height: calc(100svh + (var(--n) + 0.6) * 95svh + var(--ss-ext, 80svh) + var(--ss-tail, 100svh)); }
@media (max-width: 860px) { html.ch05-ss .dj { height: calc(100svh + (var(--n) + 0.6) * 85svh + var(--ss-ext, 80svh) + var(--ss-tail, 100svh)); } }
html.ch05-ss #legacy { position: relative; z-index: 5; margin-top: calc(-100svh - var(--ss-ext, 80svh) - var(--ss-tail, 100svh)); scroll-margin-top: calc(-1 * var(--ss-ext, 80svh)); }
html.ch05-ss .ss-hold::after { content: ""; display: block; height: var(--ss-ext, 80svh); }
html.ch05-ss .ss-hold > .impact { position: sticky; top: 0; }
.ss-dawn { display: none; position: fixed; inset: 0; z-index: 6; background: var(--ivory); pointer-events: none; will-change: opacity; }
.bar.ss-bare::before { opacity: 0; }
