/* Hallmark · macrostructure: Pinned Journey (scroll-scrubbed keyframes in a chapter dial) + editorial bands · tone: luxury, honest ledger · anchor hue: leaf 142
 * theme: brand (2 for a Tree core tokens, Soil page) · display: Instrument Serif (roman) · body: Hanken Grotesk · data: JetBrains Mono
 * nav: N10 scroll-morph · footer: Ft5 statement · enrichment: photoreal keyframe sequence, illustrative only
 * Hallmark · pre-emit critique: P5 H4 E5 S5 R4 V4
 */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; overflow-anchor: none; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink-2);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display); font-weight: 400; font-style: normal;
  color: var(--color-ink); line-height: var(--leading-tight); letter-spacing: -0.005em;
  margin: 0; overflow-wrap: anywhere; min-width: 0;
}
p, figure, dl, dd { margin: 0; }
::selection { background: var(--color-glow); color: var(--color-soil); }
:focus-visible { outline: 2px solid var(--color-focus-on-soil); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-ink-3); font-variant-numeric: tabular-nums; }

.skip {
  position: absolute; left: var(--space-sm); top: -4rem; z-index: 300;
  background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-2xs) var(--space-sm);
  font-weight: 600; text-decoration: none; border-radius: var(--radius-sm);
}
.skip:focus { top: var(--space-sm); }

/* ── grain: confined to the stage, static (no per-frame repaint) ── */
.grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── scroll progress ── */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 110; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--color-glow); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* ── buttons: 8 states ── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs);
  min-height: 48px; padding: 0 var(--space-md);
  font: 600 var(--text-small)/1 var(--font-body); letter-spacing: 0.02em; white-space: nowrap; text-decoration: none; cursor: pointer;
  border: var(--rule-hair) solid var(--color-accent); border-radius: var(--radius-pill);
  background: var(--color-accent); color: var(--color-accent-ink);
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.btn:hover { background: var(--color-accent-hi); border-color: var(--color-accent-hi); box-shadow: 0 10px 30px -12px var(--color-glow-soft); }
.btn:active { transform: translateY(1px) scale(0.985); background: var(--color-leaf-press); border-color: var(--color-leaf-press); }
.btn:focus-visible { outline: 2px solid var(--color-focus-on-soil); outline-offset: 3px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.btn[data-state="loading"] { cursor: progress; color: transparent; }
.btn[data-state="loading"]::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--color-accent-ink); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.btn[data-state="error"] { background: transparent; border-color: var(--color-err); color: var(--color-err); }
.btn[data-state="success"] { background: var(--color-glow); border-color: var(--color-glow); color: var(--color-soil); }
@keyframes spin { to { transform: rotate(360deg); } }
.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-rule-d2); }
.btn--ghost:hover { background: var(--color-bg-3); border-color: var(--color-ink-3); box-shadow: none; }
.btn--ghost:active { background: var(--color-bg-2); border-color: var(--color-ink-3); }
.btn--sm { min-height: 40px; padding: 0 var(--space-sm); }
.btn .arr { display: inline-block; transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }

.text-link { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 48px; color: var(--color-ink); font-size: var(--text-small); font-weight: 500; text-decoration: none; }
.text-link span { color: var(--color-glow); transition: transform var(--dur-base) var(--ease-out); }
.text-link:hover span, .text-link:focus-visible span { transform: translateX(4px); }
.text-link:active { opacity: 0.8; }

.ulink { position: relative; display: inline-flex; align-items: center; gap: var(--space-3xs); min-height: 44px; width: max-content; color: var(--color-ink); font-size: var(--text-small); font-weight: 600; text-decoration: none; }
.ulink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: var(--color-glow); transform: scaleX(0.25); transform-origin: left; transition: transform var(--dur-slow) var(--ease-out); }
.ulink:hover::after, .ulink:focus-visible::after { transform: scaleX(1); }
.ulink .arr { color: var(--color-glow); transition: transform var(--dur-base) var(--ease-out); }
.ulink:hover .arr { transform: translate(2px, -2px); }
.ulink:active { opacity: 0.8; }

.ctag { display: inline-flex; width: max-content; padding: 4px var(--space-2xs); border: var(--rule-hair) dashed var(--color-rule-d2); border-radius: var(--radius-sm); color: var(--color-ink-2); font-size: 0.6875rem; }

/* eyebrow + rule: a short leaf rule, then the mono label, always stacked above its heading */
.eyebrow { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-glow); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; transform-origin: left; transition: transform var(--dur-slow) var(--ease-out); }

/* ── loader ── */
.loader {
  position: fixed; inset: 0; z-index: 400; display: grid; place-content: center; justify-items: center; gap: var(--space-sm);
  background: var(--color-bg); transition: opacity 300ms var(--ease-out), visibility 0s linear 300ms;
  animation: loader-out 300ms var(--ease-out) 850ms forwards;   /* CSS cap: gone by ~1.15 s even if scripts are slow */
}
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
.loader__mark { width: 40px; height: auto; animation: breathe 2.4s var(--ease-in-out) infinite; }
.loader__word { font: 600 0.6875rem/1 var(--font-body); letter-spacing: 0.5em; margin-right: -0.5em; color: var(--color-ink); }
.loader__line { width: 140px; height: 1px; background: var(--color-glow); transform-origin: left; animation: load 1.6s var(--ease-in-out) infinite; }
@keyframes load { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes breathe { 50% { transform: translateY(-3px); } }
.is-ready .loader { opacity: 0; visibility: hidden; }
.no-js .loader, .is-static .loader { display: none; }


/* ── header (N10 scroll-morph) ── */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 100; border-bottom: var(--rule-hair) solid transparent; transition: background var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out); }
.hdr.is-solid { background: var(--color-bg); border-color: var(--color-rule-d); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); height: var(--hdr); }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; border-radius: var(--radius-sm); transition: opacity var(--dur-fast) var(--ease-out); }
.brand img { height: 34px; width: auto; }
.brand:hover { opacity: 0.85; }
.brand:active { opacity: 0.7; }
.nav { display: flex; align-items: center; gap: var(--space-lg); }
.nav a:not(.btn) {
  position: relative; white-space: nowrap; text-decoration: none; font-size: var(--text-small); color: var(--color-ink-2);
  padding: var(--space-2xs) 0; transition: color var(--dur-fast) var(--ease-out);
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--color-glow); transform: scaleX(0); transform-origin: right; transition: transform var(--dur-med) var(--ease-out); }
.nav a:not(.btn):hover, .nav a:not(.btn):focus-visible { color: var(--color-ink); }
.nav a:not(.btn):hover::after, .nav a:not(.btn):focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav a:not(.btn):active { opacity: 0.75; }
.burger { display: none; }

@media (max-width: 900px) {
  .brand img { height: 30px; }
  .burger {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer;
    background: transparent; border: var(--rule-hair) solid var(--color-rule-d2); border-radius: var(--radius-pill); color: var(--color-ink);
    transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  }
  .burger:hover { background: var(--color-bg-3); }
  .burger:active { transform: scale(0.96); }
  .burger path { transition: transform var(--dur-med) var(--ease-out); transform-origin: 10px 10px; }
  .burger[aria-expanded="true"] .burger__a { transform: translateY(3px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger__b { transform: translateY(-3px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--hdr) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--space-xs) var(--gutter) var(--space-lg); background: var(--color-bg); border-bottom: var(--rule-hair) solid var(--color-rule-d);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), visibility 0s linear var(--dur-med);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav a:not(.btn) { padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule-d); font-size: var(--text-body); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: var(--space-md); min-height: 48px; }
}

/* ═══ 01 · journey: six chapters, one dial ══════════════════════════════════ */
/* --v is the caption state of a scene (0 → 1); registered so it can transition (captions change in 320 ms) */
@property --v { syntax: "<number>"; inherits: true; initial-value: 0; }
.journey { position: relative; height: 600vh; background: var(--color-bg); }
.journey__anchor { position: absolute; top: 100vh; }
/* overflow: clip, not hidden: a hidden box is still a scroll container, and find-in-page, focus or scrollIntoView on
   anything inside would scroll it and shift the frame and titles. A clipped box can't be scrolled. */
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; overflow: clip; isolation: isolate; --p: 0; --mode-ch: 1; --mode-yr: 0; --mode-fo: 0; }
.stage canvas.seq { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 500ms var(--ease-out); }
.stage.is-drawn canvas.seq { opacity: 1; }
/* the coin still (LCP), framed like the canvas's first frame; the canvas fades in over it */
.stage__poster { position: absolute; inset: 0; z-index: 0; overflow: hidden; overflow: clip; }
.stage__poster img { position: absolute; left: 60%; top: 50%; translate: -50% -52%; max-width: none; height: calc(max(100svh, 56.28vw) * 0.73); width: auto; -webkit-mask-image: radial-gradient(closest-side, black 62%, transparent 100%); mask-image: radial-gradient(closest-side, black 62%, transparent 100%); }
/* behind the hero window while the canvas loads: the same still, soft and dim (desktop only, so phones never fetch it twice) */
.stage__fill { position: absolute; inset: 0; z-index: 0; display: none; }
@media (min-width: 901px) { .stage__fill { display: block; background: url("/home/img/frames/f-01.webp") 60% 50% / cover no-repeat; filter: blur(28px) brightness(0.4); transform: scale(1.1); } }
/* film slot (1A): off until a source is set; fades out as the story starts */
.stage__film { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 600ms var(--ease-out); pointer-events: none; }
.stage.has-film .stage__film { opacity: var(--film, 1); }
@media (max-width: 900px) {
  .stage__poster img { left: 0; top: 0; translate: none; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; -webkit-mask-image: none; mask-image: none; }
  .stage__film { height: 100%; }
}
@media (max-width: 900px) and (max-height: 699px) { .stage__poster img, .stage__film { height: 100%; } }

/* environment: out-of-focus leaves at the edges from the sapling chapter on (pre-blurred file, no CSS filter) */
.env { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.env img { position: absolute; max-width: none; object-fit: cover; will-change: transform, opacity; }
.env__leaf { top: -8%; height: 116%; width: 34%; -webkit-mask-image: radial-gradient(closest-side, black 35%, transparent); mask-image: radial-gradient(closest-side, black 35%, transparent); opacity: clamp(0, calc((var(--p) - 2.7) * 0.5), 0.6); }
.env__leaf--l { left: -16%; transform: translate3d(calc(var(--p) * -14px), 0, 0) rotate(-8deg); }
.env__leaf--r { right: -16%; transform: translate3d(calc(var(--p) * 14px), 0, 0) rotate(172deg); }

/* vignette and scrims (on the picture, never on a surface) */
.stage__veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(120% 95% at 50% 52%, var(--color-scrim-0) 48%, var(--color-scrim-2) 80%, var(--color-scrim) 100%),
    linear-gradient(to bottom, var(--color-scrim) 0%, var(--color-scrim-0) 24%),
    linear-gradient(to top, var(--color-scrim) 0%, var(--color-scrim-2) 10%, var(--color-scrim-0) 28%);
}
.stage__veil::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--color-scrim) 0%, var(--color-scrim-2) 22%, var(--color-scrim-0) 42%); opacity: clamp(0, calc((var(--p) - 3.4) * 1.6), 1); }
.grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.loadbar { position: absolute; left: 0; right: 0; top: var(--hdr); z-index: 6; height: 1px; pointer-events: none; transition: opacity var(--dur-slow) var(--ease-out); }
.loadbar i { display: block; height: 100%; background: var(--color-glow-soft); transform-origin: left; transform: scaleX(var(--load, 0)); transition: transform var(--dur-base) linear; }
.loadbar.is-done { opacity: 0; }

/* ── the dial: six stops, then a three-year ring, then it closes ── */
.dial { position: absolute; left: var(--cx, 50%); top: var(--dcy, var(--cy, 50%)); z-index: 3; width: calc(min(58vh, 44vw) * (1 - 0.3 * var(--mode-fo))); aspect-ratio: 1; translate: -50% -50%; overflow: visible; pointer-events: none; }
.dial circle, .dial path { fill: none; }
.dial__track { stroke: var(--color-rule-d2); stroke-width: 0.5; }
.dial__arc { stroke: var(--color-glow); stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 100px 100px; }
.dial__bezel { transform-box: view-box; transform-origin: 50% 50%; transform: rotate(calc(var(--p) * 60deg)); }
.dial__bezel line { stroke: var(--color-ink-4); stroke-width: 0.22; }
.dial__bezel line.is-mid { stroke: var(--color-ink-3); stroke-width: 0.3; }
.dial__bezel line.is-long { stroke: var(--color-glow); stroke-width: 0.45; }
.dial__reticle { stroke: var(--color-ink-4); stroke-width: 0.25; stroke-dasharray: 0.6 2.4; transform-box: view-box; transform-origin: 50% 50%; transform: rotate(calc(var(--p) * -90deg)); }
.dial__chapters { opacity: var(--mode-ch); }
.dial__mark circle { fill: var(--color-bg); stroke: var(--color-ink-3); stroke-width: 0.4; transition: fill var(--dur-med) var(--ease-out), stroke var(--dur-med) var(--ease-out); }
.dial__mark text { font-family: var(--font-mono); font-size: 4.4px; letter-spacing: 0.14em; fill: var(--color-glow); opacity: 0; transition: opacity var(--dur-med) var(--ease-out); }
.dial__mark.is-on circle { fill: var(--color-glow); stroke: var(--color-glow); }
.dial__mark.is-current text { opacity: 0; }   /* the rail names the chapter; the dial stays a clean clock */
.dial__bead { fill: var(--color-ink); }
.dial__halo { fill: var(--color-glow-faint); }
.dial__years { opacity: var(--mode-yr); }
.dial__yr-track { stroke: var(--color-rule-d2); stroke-width: 2.4; stroke-linecap: round; }
.dial__yr-fill { stroke: var(--color-glow); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; }
.dial__yr-label { display: none; font-family: var(--font-mono); font-size: 4.4px; letter-spacing: 0.14em; fill: var(--color-ink-2); transition: fill var(--dur-med) var(--ease-out); }
.dial__yr-label.is-on { fill: var(--color-glow); }
.dial__close { opacity: var(--mode-fo); }
.dial__close-outer { stroke: var(--color-glow); stroke-width: 1.4; }
.dial__close-inner { stroke: var(--color-glow-soft); stroke-width: 0.8; }

/* HUD + note + skip */
.hud { position: absolute; right: var(--gutter); bottom: var(--space-lg); z-index: 5; margin: 0; color: var(--color-ink-2); font-size: 0.6875rem; }
.hud span { color: var(--color-glow); }
.stage__note { position: absolute; left: var(--gutter); bottom: var(--space-lg); z-index: 5; display: flex; align-items: center; gap: var(--space-2xs); color: var(--color-ink-2); }
.stage__note::before { content: ""; width: 18px; height: 1px; background: var(--color-ink-3); }
.journey-skip { position: absolute; top: calc(var(--hdr) + var(--space-md)); right: var(--gutter); z-index: 6; display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; color: var(--color-ink-2); text-decoration: none; opacity: calc(1 - clamp(0, (var(--p) - 4.4) * 2.5, 1)); transition: color var(--dur-fast) var(--ease-out); }
.journey-skip span[aria-hidden] { color: var(--color-glow); font-size: var(--text-lg); transition: transform var(--dur-base) var(--ease-out); }
.journey-skip:hover { color: var(--color-ink); }
.journey-skip:hover span[aria-hidden] { transform: translate(2px, 2px); }
.journey-skip:active { opacity: 0.7; }

/* ── chapter rail: real buttons (tap, arrows, 1–6) ── */
.rail { position: absolute; left: 50%; bottom: calc(var(--space-lg) - 12px); translate: -50% 0; z-index: 6; }
.rail ol { display: flex; gap: var(--space-xs); list-style: none; margin: 0; padding: 0; }
.rail button {
  display: grid; gap: var(--space-2xs); min-height: 44px; padding: 12px 4px 8px; background: none; border: 0; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; color: var(--color-ink-3);
  transition: color var(--dur-med) var(--ease-out);
}
.rail button::before { content: ""; display: block; width: 100%; min-width: 48px; height: 1px; background: var(--color-rule-d2); transition: background var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out); transform-origin: left; }
.rail__n { display: none; }
.rail button:hover { color: var(--color-ink); }
.rail button:hover::before { background: var(--color-ink-2); }
.rail button:active { opacity: 0.75; }
.rail button:focus-visible { outline: 2px solid var(--color-focus-on-soil); outline-offset: 2px; border-radius: var(--radius-sm); }
.rail button.is-on { color: var(--color-ink); }
.rail button.is-on::before { background: var(--color-ink-2); }
.rail button.is-current { color: var(--color-glow); }
.rail button.is-current::before { height: 2px; background: var(--color-glow); }

/* ── scenes: class driven (captions change in 320 ms; the outgoing one leaves first) ── */
.scene {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  padding: calc(var(--hdr) + var(--space-lg)) var(--gutter) calc(var(--space-3xl) + var(--space-lg));
}
.scene.is-current { --v: 1; }
/* --v only switches 0/1. Each caption part fades with its own opacity transition (WebKit does not
   repaint children while a registered custom property transitions, which left old captions half-visible). */
.scene .w, .scene__n, .scene__body, .scene .ctas, .scene__kick, .scrollcue, .goods, .ledger, .care { transition: opacity 200ms var(--ease-in), transform 200ms var(--ease-in); }
.scene.is-current .w, .scene.is-current .scene__n, .scene.is-current .scene__body, .scene.is-current .ctas, .scene.is-current .scene__kick, .scene.is-current .scrollcue, .scene.is-current .goods, .scene.is-current .ledger, .scene.is-current .care { transition: opacity 320ms var(--ease-out) 140ms, transform 320ms var(--ease-out) 140ms; }
/* a chapter that is not current is never on screen once its fade-out ends */
.js:not(.is-static) .stage .scene:not(.is-current) { visibility: hidden; transition: visibility 0s linear 220ms; }
.js:not(.is-static) .stage .scene.is-current { visibility: visible; }
.scene a { pointer-events: none; }
.scene.is-live a, .scene.is-live .btn { pointer-events: auto; }
.scene__still { display: none; }
.lc { text-transform: none; }
.scene .w { display: inline-block; opacity: var(--v); transform: translateY(calc((1 - var(--v)) * 0.3em)); }
.scene__n { color: var(--color-glow); opacity: var(--v); }
.scene__body { color: var(--color-ink-2); opacity: var(--v); transform: translateY(calc((1 - var(--v)) * 12px)); }
.scene .ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); opacity: var(--v); }
.scene h2 { font-size: clamp(2.4rem, 1.4rem + 2.6vw, 3.9rem); line-height: 1; letter-spacing: -0.01em; text-shadow: 0 2px 30px var(--color-shadow); }
.scene__cap { display: grid; gap: var(--space-xs); }

/* hero = chapter 01 (Coin); text waits for the loader to leave */
.js:not(.is-static) .scene--hero { animation: hero-in 700ms var(--ease-out) 1250ms both; }
.hero-in .scene--hero { animation-delay: 0ms; }
@keyframes hero-in { from { opacity: 0; transform: translateY(10px); } }
.scene--hero { display: grid; align-content: center; justify-items: start; gap: clamp(0.75rem, 2.4vh, 1.5rem); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-top: calc(var(--hdr) + var(--space-xl)); padding-bottom: calc(var(--space-2xl) + var(--space-lg)); }
.scene__kick { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-glow); letter-spacing: 0.2em; opacity: var(--v); }
.scene__kick i { width: 28px; height: 1px; background: currentColor; }
.scene--hero h1 { font-size: min(clamp(3.25rem, 2rem + 3.4vw, 4.5rem), 9vh); line-height: 0.98; max-width: 12ch; }
.scene--hero h1 .h1-1 { display: block; }
.scene--hero h1 .h1-2 { color: var(--color-glow); }
.scene--hero .scene__body { max-width: 25rem; font-size: var(--text-lg); }
.scene--hero .ctas { transform: translateY(calc((1 - var(--v)) * 12px)); margin-top: var(--space-2xs); }
.scrollcue { display: flex; align-items: center; gap: var(--space-xs); margin-top: var(--space-md); font-size: 0.6875rem; letter-spacing: 0.18em; opacity: var(--v); }
.scrollcue i { width: 1px; height: 34px; background: var(--color-glow); transform-origin: top; animation: cue 2.4s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* two good things: a hairline draws out from the whole coin to a plain label on each side (no amounts) */
.goods { list-style: none; margin: 0; padding: 0; opacity: var(--v); }
.goods li { display: grid; gap: var(--space-3xs); max-width: 15rem; }
.goods b { font-weight: 500; color: var(--color-glow); }
.goods span { font-size: var(--text-small); color: var(--color-ink); line-height: 1.4; }
.goods li::before { content: ""; display: block; height: 1px; background: var(--color-glow); transform: scaleX(0); transition: transform 150ms var(--ease-in); }
.scene--goods.is-current .goods li::before { transform: scaleX(1); transition: transform 600ms var(--ease-out) 260ms; }

/* corpus ledger strip, under the caption */
.ledger { opacity: var(--v); transform: translateY(calc((1 - var(--v)) * 12px)); }
.ledger dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: var(--rule-hair) solid var(--color-rule-d2); background: var(--color-scrim); }
.ledger dl > div { display: grid; gap: 2px; padding: var(--space-xs) var(--space-sm); min-width: 0; }
.ledger dl > div + div { border-left: var(--rule-hair) solid var(--color-rule-d); }
.ledger dd { font-family: var(--font-mono); font-size: var(--text-xl); color: var(--color-ink); line-height: 1.2; }
.ledger dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-2); white-space: nowrap; }
.ledger__tag { display: flex; align-items: center; gap: var(--space-2xs); color: var(--color-glow); margin-top: var(--space-xs); }
.ledger__tag i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s var(--ease-in-out) infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

/* three years: water, guard, replace stay lit across all three years */
.care { border-collapse: collapse; opacity: var(--v); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink-2); }
.care th, .care td { padding: var(--space-2xs) var(--space-xs); text-align: left; font-weight: 400; }
.care thead th { color: var(--color-ink-2); }
.care tbody th { color: var(--color-ink); padding-left: 0; }
.care td i { display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--color-rule-d2); transition: background var(--dur-slow) var(--ease-out); }
.care[data-yr="1"] td:nth-child(2) i, .care[data-yr="2"] td:nth-child(-n+3) i, .care[data-yr="3"] td i { background: var(--color-glow); }
.care[data-yr="1"] thead th:nth-child(2), .care[data-yr="2"] thead th:nth-child(-n+3), .care[data-yr="3"] thead th { color: var(--color-glow); }

/* desktop: captions sit beside the dial (left for 02–03, right for 04–05), the forest centred */
@media (min-width: 901px) {
  .js:not(.is-static) .scene:not(.scene--hero) { display: grid; align-content: center; }
  .js:not(.is-static) .stage .scene--goods { align-content: end; }
  .js:not(.is-static) .scene--goods .scene__cap { max-width: 48rem; }
  .js:not(.is-static) .goods li { position: absolute; top: 40%; }
  .js:not(.is-static) .goods__l { right: calc(100% - var(--cx, 50%) + min(29vh, 22vw) + var(--space-md)); text-align: right; justify-items: end; }
  .js:not(.is-static) .goods__l::before { width: clamp(4rem, 8vw, 8rem); transform-origin: right; order: 0; }
  .js:not(.is-static) .goods__r { left: calc(var(--cx, 50%) + min(29vh, 22vw) + var(--space-md)); }
  .js:not(.is-static) .goods__r::before { width: clamp(4rem, 8vw, 8rem); transform-origin: left; }
  .js:not(.is-static) .stage .scene--corpus, .js:not(.is-static) .stage .scene--sapling, .js:not(.is-static) .stage .scene--years { align-content: center; gap: var(--space-md); }
  .js:not(.is-static) .scene--corpus > * { width: min(25rem, calc(var(--cx, 50%) - min(29vh, 22vw) - var(--gutter) - var(--space-lg))); }
  .js:not(.is-static) .scene--corpus .ledger { width: min(36rem, 46vw); }
  .js:not(.is-static) .scene--sapling > *, .js:not(.is-static) .scene--years > * { margin-left: calc(var(--cx, 50%) + min(29vh, 22vw) + var(--space-xl) - var(--gutter)); width: min(24rem, calc(100% - var(--cx, 50%) - min(29vh, 22vw) - var(--space-xl))); }
  .js:not(.is-static) .scene--years .care { width: auto; }
  .js:not(.is-static) .stage .scene--forest { justify-items: center; text-align: center; align-content: end; gap: var(--space-sm); padding-bottom: calc(var(--space-2xl) + var(--space-lg)); }
  .js:not(.is-static) .scene--forest .ctas { justify-content: center; margin-top: var(--space-xs); }
  .js:not(.is-static) .scene--forest .scene__body { max-width: 30rem; }
  /* soft scrims under captions that sit on busy pictures */
  .js:not(.is-static) .scene:not(.scene--hero)::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none; opacity: var(--v); transition: opacity 320ms var(--ease-out);
    background: radial-gradient(closest-side, var(--color-scrim) 0%, var(--color-scrim-2) 55%, var(--color-scrim-0) 100%);
  }
  .js:not(.is-static) .scene--corpus::before { left: -10%; top: 15%; width: 70%; height: 70%; }
  .js:not(.is-static) .scene--sapling::before, .js:not(.is-static) .scene--years::before { right: -12%; top: 12%; width: 66%; height: 76%; }
  .js:not(.is-static) .scene--goods::before { left: -12%; bottom: -10%; width: 60%; height: 50%; }
  .js:not(.is-static) .scene--forest::before { left: 20%; bottom: -8%; width: 60%; height: 55%; }
}

/* phones: rail across the top; chapter captions sit on the picture, top corner */
@media (max-width: 900px) {
  .journey { height: 600vh; }
  .journey__anchor { top: 90vh; }
  .stage__veil {
    background:
      radial-gradient(130% 70% at 50% 34%, var(--color-scrim-0) 50%, var(--color-scrim-2) 100%),
      linear-gradient(to bottom, var(--color-scrim) 0%, var(--color-scrim-0) 22%),
      linear-gradient(to top, var(--color-scrim) 0%, var(--color-scrim-2) 10%, var(--color-scrim-0) 28%);
  }
  .dial { width: min(70vw, 37vh); }
  .dial__mark text, .dial__yr-label { display: none; }
  .hud { display: none; }
  .rail { top: calc(var(--hdr) + 4px); bottom: auto; left: var(--gutter); right: var(--gutter); translate: none; }
  .rail ol { justify-content: space-between; gap: var(--space-2xs); }
  .rail li { flex: 1 1 0; min-width: 0; }
  .rail li:has(.is-current) { flex: 2.6 1 0; }
  .rail button { width: 100%; padding-top: 8px; font-size: 0; letter-spacing: 0.04em; }
  .rail button::before { min-width: 0; }
  .rail button.is-current { font-size: 0.6875rem; }
  .journey-skip { top: calc(var(--hdr) + var(--space-xl)); font-size: 0.6875rem; gap: var(--space-3xs); min-height: 32px; }
  .stage__note { top: calc(var(--hdr) + var(--space-xl)); bottom: auto; min-height: 32px; }
  .stage__note span { display: inline; }
  .journey-skip .js-long { display: none; }
  .js:not(.is-static) .scene { display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-xs); padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom)); }
  .js:not(.is-static) .scene h2 { font-size: clamp(1.9rem, 1.1rem + 4vw, 2.6rem); line-height: 1.04; }
  .js:not(.is-static) .stage .scene--goods, .js:not(.is-static) .stage .scene--sapling { justify-content: flex-start; padding-top: 60svh; }
  .js:not(.is-static) .scene > .scene__body { font-size: var(--text-small); line-height: 1.5; max-width: 34rem; }
  .js:not(.is-static) .scene--hero { justify-content: flex-end; align-items: center; text-align: center; gap: var(--space-xs); padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom)); }
  .js:not(.is-static) .scene--hero .scene__kick { font-size: 0.6875rem; }
  .js:not(.is-static) .scene--hero h1 { font-size: clamp(2.6rem, 1.4rem + 6.4vw, 4rem); max-width: 12ch; }
  .js:not(.is-static) .scene--hero h1 .h1-1 { display: block; }
  .js:not(.is-static) .scene--hero .scene__body { font-size: var(--text-small); max-width: 30ch; }
  .js:not(.is-static) .scene--hero .ctas { flex-direction: column; align-items: stretch; width: min(100%, 22rem); }
  .js:not(.is-static) .scene--hero .btn { width: 100%; }
  .js:not(.is-static) .scene--forest .ctas .btn { flex: 1 1 auto; }
  .scrollcue { margin-top: var(--space-2xs); }
  .scrollcue i { height: 18px; }
  .goods { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-sm); }
  .goods li::before { width: 100%; transform-origin: left; margin-bottom: var(--space-2xs); }
  .goods__l::before { transform-origin: right; }
  .ledger dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger dl > div:nth-child(3) { border-left: 0; }
  .ledger dl > div:nth-child(n+3) { border-top: var(--rule-hair) solid var(--color-rule-d); }
  .ledger dd { font-size: var(--text-lg); }
  .ledger dl > div { padding: var(--space-2xs) var(--space-xs); }
  .care td i { width: 100%; min-width: 40px; }
  .care { width: 100%; }
  /* chapters 02–06: caption on the picture, top corner (left 02, 03, 06 · right 04, 05), soft scrim behind */
  .js:not(.is-static) .stage .scene:not(.scene--hero) { justify-content: flex-start; padding-top: calc(var(--hdr) + var(--space-xl) + 32px + var(--space-sm)); padding-bottom: 0; }
  .js:not(.is-static) .stage .scene:not(.scene--hero) > * { width: min(100%, 24rem); }
  .js:not(.is-static) .stage .scene--sapling, .js:not(.is-static) .stage .scene--years { align-items: flex-end; text-align: right; }
  .js:not(.is-static) .stage .scene:not(.scene--hero) .scene__body { text-shadow: 0 1px 12px var(--color-shadow); }
  .js:not(.is-static) .scene:not(.scene--hero)::before {
    content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: 72%; pointer-events: none; opacity: var(--v); transition: opacity 320ms var(--ease-out);
    background: radial-gradient(120% 80% at 0% 0%, var(--color-scrim) 0%, var(--color-scrim) 30%, var(--color-scrim-2) 62%, var(--color-scrim-0) 100%);
  }
  .js:not(.is-static) .scene--sapling::before, .js:not(.is-static) .scene--years::before { background: radial-gradient(120% 80% at 100% 0%, var(--color-scrim) 0%, var(--color-scrim) 30%, var(--color-scrim-2) 62%, var(--color-scrim-0) 100%); }
}
@media (max-width: 900px) and (max-height: 699px) {
  .stage__veil { background: linear-gradient(to bottom, var(--color-scrim) 0%, var(--color-scrim-0) 20%), linear-gradient(to top, var(--color-scrim) 0%, var(--color-scrim-2) 10%, var(--color-scrim-0) 28%); }
  .dial { width: min(68vw, 36vh); }
  .js:not(.is-static) .scene > .scene__body { font-size: 0.8125rem; line-height: 1.45; }
  .js:not(.is-static) .scene--hero .scrollcue, .js:not(.is-static) .scene--hero .scene__kick { display: none; }
  .js:not(.is-static) .scene--hero h1 { font-size: 2.6rem; }
}

/* static story (reduced motion, ?still, no JS): chapters stack as a plain page, one still each */
.is-static .journey, .no-js .journey { height: auto; }
.is-static .journey__anchor, .no-js .journey__anchor { top: 0; }
.is-static .stage, .no-js .stage { position: relative; height: auto; overflow: visible; }
.is-static .stage canvas, .is-static .stage__poster, .is-static .stage__fill, .is-static .stage__film, .is-static .stage__note, .is-static .grain, .is-static .env, .is-static .stage__veil, .is-static .dial, .is-static .hud, .is-static .rail, .is-static .journey-skip, .is-static .loadbar, .is-static .scrollcue,
.no-js .stage canvas, .no-js .stage__film, .no-js .stage__note, .no-js .grain, .no-js .env, .no-js .stage__veil, .no-js .dial, .no-js .hud, .no-js .rail, .no-js .journey-skip, .no-js .loadbar, .no-js .scrollcue { display: none; }
.is-static .scene, .no-js .scene {
  --v: 1 !important; position: relative; inset: auto; pointer-events: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md) var(--space-2xl); align-items: start; align-content: start;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding: var(--space-3xl) var(--gutter); border-bottom: var(--rule-hair) solid var(--color-rule-d);
}
.is-static .scene--hero, .no-js .scene--hero { padding-top: calc(var(--hdr) + var(--space-2xl)); }
.is-static .scene > *, .no-js .scene > * { grid-column: 1; position: static; transform: none; width: auto; text-align: left; }
.is-static .scene__still, .no-js .scene__still { display: block; grid-column: 2 !important; grid-row: 1 / span 6; position: relative; overflow: hidden; border: var(--rule-hair) solid var(--color-rule-d2); border-radius: var(--radius-md); aspect-ratio: 16 / 9; }
.is-static .scene__still img { width: 100%; height: 100%; object-fit: cover; }
.scene__still figcaption { position: absolute; left: var(--space-sm); bottom: var(--space-xs); padding: 3px 8px; border-radius: var(--radius-sm); background: var(--color-scrim-3); color: var(--color-ink-2); font-size: 0.6875rem; }
.is-static .scene h2 { font-size: var(--text-4xl); }
.is-static .scene > .scene__body { font-size: var(--text-lg); }
.is-static .goods { display: grid; gap: var(--space-sm); }
.is-static .goods li { max-width: none; }
.is-static .goods li::before { transform: scaleX(1); width: 8rem; transform-origin: left; }
.is-static .care[data-yr] td i { background: var(--color-glow); }
.is-static .scene--hero h1 .h1-1 { display: block; }
.is-static .w, .no-js .w { --w: 1; opacity: 1; transform: none; }
@media (max-width: 900px) {
  .is-static .scene, .no-js .scene { grid-template-columns: minmax(0, 1fr); padding-block: var(--space-2xl); }
  .is-static .scene__still, .no-js .scene__still { grid-column: 1 !important; grid-row: auto; }
  .is-static .scene--hero h1 { font-size: 3rem; }
  .is-static .ledger dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ═══ sections below the journey ═══════════════════════════════════════ */
.sec { position: relative; z-index: 1; padding-block: var(--space-4xl); background: var(--color-bg); }
/* section seam: one hairline, a short sprout segment where it meets the wrap edge */
.sec::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--color-rule-d); }
.sec::after { content: ""; position: absolute; top: 0; left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); width: 64px; height: 1px; background: var(--color-glow); }
.sec--alt { background: var(--color-bg-2); }
.sechead { display: grid; gap: var(--space-md); max-width: 46rem; margin-bottom: var(--space-2xl); }
.sechead h2 { font-size: var(--text-4xl); line-height: 1.02; }
.sechead > p:last-child:not(.eyebrow) { font-size: var(--text-lg); color: var(--color-ink-2); max-width: 38rem; }
.sechead--row { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); align-items: end; gap: var(--space-xl); }
.sechead--row > div { display: grid; gap: var(--space-md); }
.sechead--center { margin-inline: auto; justify-items: center; text-align: center; }
@media (max-width: 900px) {
  .sec { padding-block: var(--space-3xl); }
  .sechead--row { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
}

/* ═══ 02 · principles ═══ */
.principles { position: relative; z-index: 1; padding-block: var(--space-3xl) var(--space-4xl); background: var(--color-bg); border-top: var(--rule-hair) solid var(--color-rule-d); }
.principles__h { text-align: center; font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1.05; color: var(--color-ink); font-weight: 400; }
.principles__list { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.principle { position: relative; display: grid; justify-items: center; align-content: start; gap: var(--space-xs); padding: 0 var(--space-lg); text-align: center; }
.principle + .principle { border-left: var(--rule-hair) solid var(--color-rule-d); }
.principle h3 { font-size: var(--text-2xl); line-height: 1.1; margin-top: var(--space-sm); }
.principle p { font-size: var(--text-small); color: var(--color-ink-3); max-width: 24ch; }
.seal { position: relative; display: grid; place-items: center; width: 9.75rem; aspect-ratio: 1; border-radius: 50%; border: var(--rule-hair) solid var(--color-rule-d2); background: var(--color-bg-2); transition: border-color var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.seal::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: var(--rule-hair) solid var(--color-rule-d); }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal__ring text { font-family: var(--font-mono); font-size: 8.4px; letter-spacing: 0.1em; fill: var(--color-ink-2); }
.principle:hover .seal { border-color: var(--color-glow); transform: translateY(-3px); }
.seal__glyph { width: 42px; height: 42px; position: relative; z-index: 1; }
.seal__glyph--tick rect { fill: none; stroke: var(--color-ink-2); stroke-width: 1.4; }
.seal__glyph--tick path { fill: none; stroke: var(--color-glow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: var(--tick, 0); }
.seal__glyph--sprout path { fill: none; stroke: var(--color-glow); stroke-width: 1.6; stroke-linecap: round; }
.seal__glyph--sprout path + path { fill: var(--color-glow); stroke: none; }
.seal__glyph--months circle { fill: var(--color-ink-3); }
.seal__glyph--months .is-now { fill: var(--color-glow); }
.seal__split { position: relative; z-index: 1; display: flex; align-items: center; gap: var(--space-2xs); font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); color: var(--color-ink); }
.seal__split i { width: 1px; height: 26px; background: var(--color-glow); }
.seal__big { position: relative; z-index: 1; display: grid; justify-items: center; font-family: var(--font-display); font-weight: 400; font-size: 3rem; line-height: 0.9; color: var(--color-ink); }
.seal__big small { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-glow); margin-top: 4px; }
@media (max-width: 900px) {
  .principles__list { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }
  .principle + .principle { border-left: 0; padding-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule-d); }
  .principle { padding: 0 var(--space-sm); }
  .principle:nth-child(3) { border-left: 0; }
  .seal { width: 8.75rem; }
  .principle h3 { font-size: var(--text-xl); }
}
@media (max-width: 420px) {
  .principle { padding: 0 var(--space-2xs); }
  .principle h3 { font-size: var(--text-lg); }
  .seal { width: 8.25rem; }
}

/* interlude band */
.interlude { position: relative; z-index: 1; background: var(--color-bg-2); border-block: var(--rule-hair) solid var(--color-rule-d); }
.interlude .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-lg); }
.interlude p { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-ink); line-height: 1.1; }
.interlude__arr { color: var(--color-glow); font-size: var(--text-xl); animation: nudge 2.4s var(--ease-in-out) infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
@media (max-width: 600px) { .interlude .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2xs) var(--space-md); } .interlude .mono { grid-column: 1 / -1; } .interlude p { font-size: var(--text-xl); } }

/* ═══ 03 · channels gallery (elastic panels; a card grid without JS) ═══ */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.gallery__panel { position: relative; isolation: isolate; overflow: hidden; min-height: 22rem; background: var(--color-bg-2); border: var(--rule-hair) solid var(--color-rule-d); border-radius: var(--radius-md); }
.gallery__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) brightness(0.9); transition: transform 900ms var(--ease-out), filter var(--dur-slow) var(--ease-out); }
.gallery__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--color-scrim) 0%, var(--color-scrim-2) 38%, var(--color-scrim-0) 75%); }
.gallery__panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-scrim); opacity: 0; transition: opacity var(--dur-slow) var(--ease-out); }
.gallery__btn { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; padding: var(--space-md); background: transparent; border: 0; cursor: pointer; color: var(--color-ink); text-align: left; font: inherit; }
.gallery__btn[hidden] { display: none; }
.gallery__btn:focus-visible { outline: 2px solid var(--color-focus-on-soil); outline-offset: -6px; border-radius: var(--radius-md); }
.gallery__btn:active .gallery__lab { opacity: 0.7; }
.gallery__lab { display: block; color: var(--color-ink-2); transition: opacity var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.gallery__btn:hover .gallery__lab { color: var(--color-glow); }
.gallery__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: var(--space-xs); padding: var(--space-lg); }
.gallery__body > .mono { color: var(--color-glow); }
.gallery__body h3 { font-size: var(--text-2xl); }
.gallery__body p { max-width: 30ch; color: var(--color-ink-2); font-size: var(--text-small); }
.js .gallery { display: flex; gap: var(--space-2xs); height: 34rem; }
.js .gallery__panel { flex: 1 1 0; min-width: 0; min-height: 0; transition: flex-grow 700ms var(--ease-out), border-color var(--dur-med) var(--ease-out); }
.js .gallery__panel.is-active { flex-grow: 5.5; border-color: var(--color-rule-d2); }
.js .gallery__panel:not(.is-active)::after { opacity: 0.55; }
.js .gallery__panel:not(.is-active):hover::after { opacity: 0.3; }
.js .gallery__img { transform: scale(1.08); }
.js .gallery__panel.is-active .gallery__img { transform: scale(1); }
.js .gallery__lab { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.js .gallery__panel.is-active .gallery__lab { opacity: 0; }
.js .gallery__body { min-width: 22rem; pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base); }
.js .gallery__panel.is-active .gallery__body { opacity: 1; visibility: visible; transform: none; transition-delay: 180ms, 180ms, 0s; }
.js .gallery__panel.is-active .gallery__body a { pointer-events: auto; }
.js .gallery__panel.is-active .gallery__btn { pointer-events: none; }
@media (max-width: 1100px) { .js .gallery__lab { letter-spacing: 0.06em; } }
@media (max-width: 899px) {
  .js .gallery { flex-direction: column; height: auto; }
  .js .gallery__panel { flex: 0 0 auto; height: 4.5rem; transition: height 600ms var(--ease-out); }
  .js .gallery__panel.is-active { height: 27rem; }
  .js .gallery__btn { align-items: center; padding-block: 0; }
  .js .gallery__lab { writing-mode: horizontal-tb; transform: none; }
  .js .gallery__body { min-width: 0; padding: var(--space-md); }
  .js .gallery__img { object-position: 50% 35%; }
  /* labels and copy sit on a solid scrim so busy photos never fight the text */
  .js .gallery__panel:not(.is-active)::after { opacity: 0.78; }
  .js .gallery__body { padding-top: var(--space-2xl); background: linear-gradient(to top, var(--color-scrim-3) 0%, var(--color-scrim-3) 62%, var(--color-scrim-0) 100%); }
}
@media (max-width: 560px) { .gallery { grid-template-columns: minmax(0, 1fr); } }
.fineprint { margin-top: var(--space-md); font-size: var(--text-small); color: var(--color-ink-3); }

/* ═══ 04 · timeline (numerals are nodes on one rail; photo cards attach to it) ═══ */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: tl; display: grid; gap: var(--space-2xl); }
.timeline__step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1fr); column-gap: var(--space-lg); align-items: center; counter-increment: tl; }
.timeline__step::before, .timeline__step::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1px; margin-left: -0.5px; height: calc(100% + var(--space-2xl)); }
.timeline__step::before { background: var(--color-rule-d2); }
.timeline__step::after { background: var(--color-glow); transform-origin: top; transition: transform 900ms var(--ease-out); }
.timeline__step:last-child::before, .timeline__step:last-child::after { height: calc(50% + var(--space-xl)); }
.js .timeline__step:not(.is-seen)::after { transform: scaleY(0); }
.timeline__node {
  position: relative; z-index: 1; grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 3rem; aspect-ratio: 1; border-radius: 50%;
  background: var(--color-bg-2); border: var(--rule-hair) solid var(--color-rule-d2); color: var(--color-glow);
  font-family: var(--font-display); font-size: var(--text-xl); line-height: 1; font-variant-numeric: lining-nums;
}
.timeline__node::before { content: counter(tl, decimal-leading-zero); }
.timeline__node::after { content: ""; position: absolute; inset: -5px; border: var(--rule-hair) solid var(--color-glow); border-radius: 50%; transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .timeline__step:not(.is-seen) .timeline__node::after { opacity: 0; transform: scale(0.7); }
.timeline__text { grid-row: 1; max-width: 28rem; display: grid; gap: var(--space-xs); }
.timeline__text h3 { font-size: var(--text-2xl); line-height: 1.08; }
.timeline__text p { color: var(--color-ink-3); }
.timeline__photo { position: relative; grid-row: 1; width: 100%; max-width: 28rem; aspect-ratio: 3 / 2; border: var(--rule-hair) solid var(--color-rule-d2); border-radius: var(--radius-md); background: var(--color-bg); }
.timeline__photo > img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; filter: brightness(0.86); transition: filter var(--dur-slow) var(--ease-out); }
.timeline__photo::before { content: ""; position: absolute; top: 50%; width: var(--space-lg); height: 1px; background: var(--color-rule-d2); }
.timeline__photo figcaption { position: absolute; left: var(--space-sm); bottom: var(--space-xs); padding: 3px 8px; border-radius: var(--radius-sm); background: var(--color-scrim-3); color: var(--color-ink-2); font-size: 0.6875rem; }
.timeline__step:hover .timeline__photo > img { filter: brightness(1); }
.timeline__step:nth-child(odd) .timeline__text { grid-column: 1; justify-self: end; text-align: right; }
.timeline__step:nth-child(odd) .timeline__photo { grid-column: 3; justify-self: start; }
.timeline__step:nth-child(even) .timeline__text { grid-column: 3; justify-self: start; }
.timeline__step:nth-child(even) .timeline__photo { grid-column: 1; justify-self: end; }
.timeline__photo--pair .timeline__inset { position: absolute; right: calc(-1 * var(--space-md)); bottom: calc(-1 * var(--space-lg)); width: 44%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: var(--radius-sm); border: 3px solid var(--color-bg-2); box-shadow: 0 20px 40px -18px var(--color-shadow); }
.timeline__photo--ledger { display: grid; align-items: stretch; }
.mini-ledger { display: grid; align-content: space-between; gap: var(--space-sm); padding: var(--space-md); }
.mini-ledger > .mono:first-child { color: var(--color-glow); }
.mini-ledger dl { display: grid; }
.mini-ledger dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-sm); align-items: baseline; padding-block: var(--space-2xs); border-bottom: var(--rule-hair) dashed var(--color-rule-d); }
.mini-ledger dt { font-size: var(--text-small); color: var(--color-ink-3); }
.mini-ledger dd { font-family: var(--font-mono); font-size: var(--text-small); color: var(--color-ink); text-align: right; max-width: 14rem; }
.mini-ledger__foot { display: flex; align-items: center; gap: var(--space-2xs); }
.mini-ledger__foot i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-glow); animation: pulse 2s var(--ease-in-out) infinite; }
.timeline__end { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); margin-top: var(--space-3xl); }
@media (min-width: 761px) {
  .timeline__step:nth-child(odd) .timeline__photo::before { left: calc(-1 * var(--space-lg)); }
  .timeline__step:nth-child(even) .timeline__photo::before { right: calc(-1 * var(--space-lg)); }
}
@media (max-width: 760px) {
  .timeline { gap: var(--space-xl); }
  .timeline__step { grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: var(--space-sm); row-gap: var(--space-md); align-items: start; }
  .timeline__step::before, .timeline__step::after { left: 1.25rem; top: 1.25rem; height: calc(100% + var(--space-xl)); }
  .timeline__step:last-child::before, .timeline__step:last-child::after { height: calc(100% - 1.25rem); }
  .timeline__node { grid-column: 1; width: 2.5rem; font-size: var(--text-lg); }
  .timeline__step:nth-child(n) .timeline__text { grid-column: 2; grid-row: 1; justify-self: stretch; text-align: left; align-self: center; min-height: 2.5rem; }
  .timeline__step:nth-child(n) .timeline__photo { grid-column: 2; grid-row: 2; justify-self: stretch; max-width: none; }
  .timeline__photo::before { display: none; }
  .timeline__photo--pair { margin-bottom: var(--space-md); }
  .timeline__photo--pair .timeline__inset { right: var(--space-2xs); bottom: calc(-1 * var(--space-md)); }
  .timeline__photo--ledger { aspect-ratio: auto; }
  .mini-ledger dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .mini-ledger dd { text-align: left; max-width: none; }
  .timeline__end { justify-content: flex-start; padding-left: calc(2.5rem + var(--space-sm)); margin-top: var(--space-2xl); }
}

/* ═══ 02 · interlude + where it goes, on Paper (resets the eye after the dark stage) ═══ */
.paper-band { position: relative; z-index: 1; background: var(--color-paper); color: var(--color-on-paper-2); padding-block: var(--space-4xl); --color-focus-on-soil: var(--color-leaf); }
.paper-band .eyebrow { color: var(--color-leaf); }
.paper-band h2 { color: var(--color-on-paper); font-size: var(--text-4xl); line-height: 1.02; }
.paper-band .lede { color: var(--color-on-paper-2); }
.interlude-line { max-width: 22ch; margin: 0 auto; text-align: center; font-family: var(--font-display); font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); line-height: 1.06; color: var(--color-on-paper); }
.where { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-2xl) var(--space-3xl); align-items: center; margin-top: var(--space-4xl); padding-top: var(--space-3xl); border-top: var(--rule-hair) solid var(--color-rule); }
.where__text { display: grid; gap: var(--space-md); }
.coin-goods { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15rem) minmax(0, 1fr); align-items: center; gap: var(--space-md); }
.coin-goods__label { display: grid; gap: var(--space-3xs); }
.coin-goods__label b { font-weight: 500; color: var(--color-leaf); }
.coin-goods__label span { color: var(--color-on-paper); font-size: var(--text-small); line-height: 1.4; }
.coin-goods__label::before { content: ""; height: 1px; background: var(--color-leaf); margin-bottom: var(--space-2xs); transform: scaleX(var(--part, 1)); transition: transform 700ms var(--ease-out); }
.coin-goods__label--l { text-align: right; }
.coin-goods__label--l::before { transform-origin: right; }
.coin-goods__label--r::before { transform-origin: left; }
.coin { width: 100%; height: auto; overflow: visible; }
.coin__body { fill: url(#coin-steel); }
.coin__s1 { stop-color: var(--color-paper); }
.coin__s2 { stop-color: var(--color-steel); }
.coin__s3 { stop-color: var(--color-bark); }
.coin__engrave { font-family: var(--font-mono); font-size: 8.6px; letter-spacing: 0.32em; fill: var(--color-bark); }
.coin__shadow { fill: var(--color-on-paper); opacity: 0.12; }
.coin__reed { fill: none; stroke: var(--color-paper-3); stroke-width: 8; stroke-dasharray: 1.4 2.2; }
.coin__ring { fill: none; stroke: var(--color-bark); stroke-width: 1.2; opacity: 0.6; }
.coin__ring--fine { stroke-width: 0.6; opacity: 0.45; }
.coin__sprout { stroke: var(--color-leaf); stroke-width: 4; stroke-linecap: round; fill: none; }
.coin__leaf { fill: var(--color-leaf); }
.paper-ledger { grid-column: 1 / -1; margin-top: var(--space-xl); }
.paper-ledger dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: var(--rule-hair) solid var(--color-rule); }
.paper-ledger dl > div { display: grid; gap: var(--space-3xs); padding: var(--space-md) var(--space-md) var(--space-md) 0; }
.paper-ledger dl > div + div { padding-left: var(--space-md); border-left: var(--rule-hair) solid var(--color-rule); }
.paper-ledger dd { font-family: var(--font-mono); font-size: var(--text-3xl); color: var(--color-on-paper); line-height: 1; }
.paper-ledger dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-bark); }
.paper-ledger__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-sm); margin-top: var(--space-sm); }
.paper-ledger__foot .mono { display: flex; align-items: center; gap: var(--space-2xs); color: var(--color-leaf); }
.paper-ledger__foot .mono i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s var(--ease-in-out) infinite; }
.ulink--paper { color: var(--color-on-paper); }
.ulink--paper::after { background: var(--color-leaf); }
.ulink--paper .arr { color: var(--color-leaf); }
.where__note { grid-column: 1 / -1; font-size: var(--text-small); color: var(--color-bark); }
@media (max-width: 900px) {
  .paper-band { padding-block: var(--space-3xl); }
  .where { grid-template-columns: minmax(0, 1fr); margin-top: var(--space-2xl); padding-top: var(--space-2xl); }
  .coin-goods { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); align-items: start; }
  .coin-goods__art { grid-column: 1 / -1; grid-row: 1; width: min(14rem, 62vw); justify-self: center; }
  .coin-goods__label--l { text-align: left; }
  .coin-goods__label--l::before { transform-origin: left; }
  .paper-ledger dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paper-ledger dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .paper-ledger dl > div:nth-child(n+3) { border-top: var(--rule-hair) solid var(--color-rule); }
  .paper-ledger dd { font-size: var(--text-2xl); }
}

/* ═══ 06 · for companies (textured background) ═══ */
.companies { overflow: hidden; isolation: isolate; padding-block: calc(var(--space-4xl) + var(--space-lg)); }
.companies__bg { position: absolute; inset: 0; z-index: -1; }
.companies__bg img { width: 100%; height: 115%; object-fit: cover; opacity: 0.3; filter: saturate(0.8); transform: translateY(var(--py, 0px)); }
.companies__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--color-bg) 18%, var(--color-scrim-2) 70%, var(--color-scrim) 100%); }
.companies__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-3xl); align-items: end; }
.companies__text { display: grid; gap: var(--space-md); }
.companies h2 { font-size: var(--text-4xl); max-width: 16ch; }
.lede { font-size: var(--text-lg); color: var(--color-ink-2); max-width: 36rem; }
.routes { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule-d2); }
.routes a {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k go" "t go"; align-items: center; gap: var(--space-3xs) var(--space-md);
  padding: var(--space-md) var(--space-sm) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule-d2); text-decoration: none;
  transition: padding var(--dur-slow) var(--ease-out), background var(--dur-med) var(--ease-out);
}
.routes a::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--color-glow); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-slow) var(--ease-out); }
.routes__k { grid-area: k; color: var(--color-ink-3); }
.routes__t { grid-area: t; font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-ink); line-height: 1.1; transition: color var(--dur-fast) var(--ease-out); }
.routes__go { grid-area: go; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: var(--rule-hair) solid var(--color-rule-d2); color: var(--color-ink); transition: background var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out); }
.routes a:hover, .routes a:focus-visible { padding-left: var(--space-sm); }
.routes a:hover::before, .routes a:focus-visible::before { transform: scaleX(1); }
.routes a:hover .routes__t { color: var(--color-glow); }
.routes a:hover .routes__go { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); transform: rotate(-45deg); }
.routes a:active .routes__go { transform: rotate(-45deg) scale(0.92); }
.routes a:focus-visible { outline-offset: -2px; }
@media (max-width: 900px) { .companies__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); } .companies__bg::after { background: linear-gradient(180deg, var(--color-scrim) 0%, var(--color-bg) 85%); } }

/* ═══ 07 · FAQ: numbered, thin-ruled, plus turns minus, sprout rule when open ═══ */
.faq-sec__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-3xl); align-items: start; }
.faq-sec__head { display: grid; gap: var(--space-md); position: sticky; top: calc(var(--hdr) + var(--space-xl)); }
.faq-sec__head h2 { font-size: var(--text-4xl); max-width: 12ch; }
.faq-ask { margin-top: var(--space-md); padding: var(--space-md); border: var(--rule-hair) solid var(--color-rule-d2); border-left: 2px solid var(--color-glow); border-radius: var(--radius-md); background: var(--color-bg-2); max-width: 24rem; }
.faq-ask__t { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink); }
.faq-ask p + p { margin-top: var(--space-3xs); font-size: var(--text-small); }
.faq-ask a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-glow); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.faq-ask a:hover { color: var(--color-ink); }
.faq { counter-reset: q; display: grid; border-top: var(--rule-hair) solid var(--color-rule-d2); }
.faq details { position: relative; counter-increment: q; border-bottom: var(--rule-hair) solid var(--color-rule-d2); }
.faq details::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--color-glow); transform: scaleY(0); transform-origin: top; transition: transform var(--dur-med) var(--ease-out); }
.faq details[open]::before { transform: scaleY(1); }
.faq summary {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr) 1.25rem; align-items: center; gap: var(--space-sm);
  min-height: 64px; padding: var(--space-md) var(--space-sm); cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.2; color: var(--color-ink); transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: counter(q, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.1em; color: var(--color-ink-3); }
.faq summary::after {
  content: ""; justify-self: end; width: 14px; height: 14px;
  background: linear-gradient(var(--color-glow), var(--color-glow)) center / 100% 1.5px no-repeat, linear-gradient(var(--color-glow), var(--color-glow)) center / 1.5px 100% no-repeat;
  transition: background-size var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.faq details[open] summary::after { background-size: 100% 1.5px, 1.5px 0; transform: rotate(180deg); }
.faq summary:hover { color: var(--color-glow); }
.faq summary:active { opacity: 0.8; }
.faq summary:focus-visible { outline: 2px solid var(--color-focus-on-soil); outline-offset: -4px; }
.faq details > p { padding: 0 var(--space-sm) var(--space-lg) calc(3rem + 2 * var(--space-sm)); max-width: 62ch; color: var(--color-ink-2); }
.faq details[open] > p { animation: fadeup var(--dur-slow) var(--ease-out); }
@keyframes fadeup { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 900px) {
  .faq-sec__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .faq-sec__head { position: static; }
  .faq summary { grid-template-columns: 2.25rem minmax(0, 1fr) 1rem; font-size: var(--text-lg); padding-inline: var(--space-2xs); }
  .faq details > p { padding-left: calc(2.25rem + var(--space-sm) + var(--space-2xs)); padding-right: var(--space-2xs); }
}

/* ═══ 08 · partner enquiry ═══ */
.enquire__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-3xl); align-items: start; }
.enquire__text { display: grid; gap: var(--space-md); position: sticky; top: calc(var(--hdr) + var(--space-xl)); }
.enquire__text h2 { font-size: var(--text-4xl); max-width: 12ch; }
.enquire__mail { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); margin-top: var(--space-sm); }
.enquire__mail a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); text-decoration-color: var(--color-glow); text-underline-offset: 5px; }
.enquire__mail a:hover { color: var(--color-glow); }
.enquire__card { padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule-d2); border-radius: var(--radius-md); background: var(--color-bg-2); box-shadow: 0 40px 80px -50px var(--color-shadow); }
.form { display: grid; gap: var(--space-md); }
.form[hidden] { display: none; }
.form__two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); align-items: start; }
.field { display: grid; gap: var(--space-2xs); min-width: 0; align-content: start; }
.field label { font-size: var(--text-small); font-weight: 500; color: var(--color-ink); }
.req { color: var(--color-glow); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: var(--space-xs) var(--space-sm); font: inherit; font-size: var(--text-body); color: var(--color-ink);
  background: var(--color-bg); border: var(--rule-hair) solid var(--color-rule-d2); border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-ink-2) 50%), linear-gradient(-45deg, transparent 50%, var(--color-ink-2) 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: var(--space-xl); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-ink-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-focus-on-soil); outline-offset: 1px; border-color: var(--color-glow); }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: 0.5; cursor: not-allowed; }
.field [aria-invalid="true"] { border-color: var(--color-err); }
.field-error { font-size: var(--text-small); color: var(--color-err); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-xs); align-items: start; font-size: var(--text-small); color: var(--color-ink-2); cursor: pointer; }
.check input { appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: var(--rule-hair) solid var(--color-rule-d2); border-radius: var(--radius-sm); background: var(--color-bg); display: grid; place-items: center; cursor: pointer; transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--color-soil); border-bottom: 2px solid var(--color-soil); transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform var(--dur-base) var(--ease-out); }
.check input:checked { background: var(--color-glow); border-color: var(--color-glow); }
.check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.check:hover input { border-color: var(--color-ink-3); }
.check input:focus-visible { outline: 2px solid var(--color-focus-on-soil); outline-offset: 2px; }
.check input:active { transform: scale(0.94); }
.check input[aria-invalid="true"] { border-color: var(--color-err); }
.check a { color: var(--color-ink); text-underline-offset: 3px; }
.check a:hover { color: var(--color-glow); }
.form__msg { padding: var(--space-sm); border-left: 2px solid var(--color-err); background: var(--color-bg); color: var(--color-ink); font-size: var(--text-small); }
.form__msg[hidden] { display: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.form-status { display: grid; gap: var(--space-2xs); padding: var(--space-lg); border-left: 2px solid var(--color-glow); background: var(--color-bg); color: var(--color-ink-2); }
.form-status[hidden] { display: none; }
.form-status__t { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-ink); }
@media (max-width: 900px) {
  .enquire__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .enquire__text { position: static; }
  .enquire__card { padding: var(--space-md); }
}
@media (max-width: 560px) { .form__two { grid-template-columns: minmax(0, 1fr); } }

/* ═══ footer (Ft5 statement) ═══ */
.ftr { position: relative; z-index: 1; background: var(--color-bg); border-top: var(--rule-hair) solid var(--color-rule-d); padding-block: var(--space-4xl) calc(var(--space-xl) + 72px); overflow: hidden; }
.ftr__statement { display: flex; align-items: flex-end; gap: var(--space-lg); }
.ftr__mark { width: clamp(4rem, 3rem + 4vw, 7rem); height: auto; flex: none; }
.ftr__big { font-family: var(--font-display); font-size: var(--text-display); line-height: 0.98; color: var(--color-ink); max-width: 13ch; }
.ftr__big span { color: var(--color-glow); }
.ftr__ctas { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin: var(--space-xl) 0 var(--space-3xl); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: var(--space-xl); margin-top: var(--space-2xl); font-size: var(--text-small); }
.ftr__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2xs); align-content: start; }
.ftr__grid ul a { display: inline-flex; align-items: center; min-height: 32px; color: var(--color-ink-2); text-decoration: none; white-space: nowrap; transition: color var(--dur-fast) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.ftr__grid ul a:hover, .ftr__grid ul a:focus-visible { color: var(--color-glow); transform: translateX(3px); }
.ftr__grid ul a:active { opacity: 0.75; }
.ftr__name { color: var(--color-ink); font-weight: 600; }
.ftr__mail a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); text-decoration-color: var(--color-glow); text-underline-offset: 5px; }
.ftr__mail a:hover { color: var(--color-glow); }
.ftr__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-2xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-d); font-size: var(--text-micro); color: var(--color-ink-3); }

/* OIAS credit badge (from site/public footer; styles moved here for CSP) */
.oias-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: var(--space-sm) 0 var(--space-3xs); padding: 9px 14px 9px 12px; border-radius: var(--radius-pill); border: var(--rule-hair) solid var(--color-rule-d2); color: var(--color-ink); text-decoration: none; opacity: 0.95; font: 600 11px/1 var(--font-body); transition: opacity var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.oias-badge .ob-k { letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.oias-badge .ob-wm { height: 13px; width: auto; display: block; }
.oias-badge::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-bark); margin-left: -2px; transform: translateY(-4px); }
.oias-badge:hover { opacity: 1; border-color: var(--color-ink-3); }
.oias-badge:active { opacity: 0.75; }
@media (max-width: 900px) {
  .ftr { padding-top: var(--space-3xl); }
  .ftr__statement { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
  .ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftr__grid > :first-child { grid-column: 1 / -1; }
  .ftr__grid ul a { min-height: 44px; }
}

/* ── floating: Partner pill + back to top ── */
.fab {
  position: fixed; left: var(--gutter); bottom: var(--space-lg); z-index: 90; display: inline-flex; align-items: center; gap: var(--space-xs);
  min-height: 46px; padding: 0 var(--space-md) 0 var(--space-sm); border-radius: var(--radius-pill); text-decoration: none; white-space: nowrap;
  background: var(--color-accent); color: var(--color-accent-ink); font-weight: 600; font-size: var(--text-small);
  box-shadow: 0 14px 34px -10px var(--color-shadow); border: var(--rule-hair) solid var(--color-accent);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.fab img { width: 14px; height: auto; }
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: var(--color-accent-hi); border-color: var(--color-accent-hi); }
.fab:active { transform: translateY(1px) scale(0.98); background: var(--color-leaf-press); }
.fab:focus-visible { outline: 2px solid var(--color-focus-on-soil); outline-offset: 3px; }
.totop {
  position: fixed; right: var(--gutter); bottom: var(--space-lg); z-index: 90; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; background: var(--color-bg-2); color: var(--color-ink); border: var(--rule-hair) solid var(--color-rule-d2);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.totop:hover svg { animation: lift 0.6s var(--ease-out); }
.totop:active { transform: scale(0.94); }
@keyframes lift { 40% { transform: translateY(-3px); } }
@media (max-width: 900px) { .fab, .totop { bottom: calc(var(--space-md) + env(safe-area-inset-bottom)); } }
.in-journey .fab, .in-journey .totop { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* ── reveal helpers (motion.js) ── */
.js:not(.is-static) [data-reveal] { opacity: 0; }

/* ── reduced motion: no transforms, instant or a short fade ── */
@media (prefers-reduced-motion: reduce) {
  .seal__ring, .scrollcue i, .interlude__arr, .ledger__tag i, .mini-ledger__foot i, .loader__line, .loader__mark { animation: none !important; }
  .gallery__img, .js .gallery__panel, .js .gallery__body, .timeline__step::after, .coin__part, .routes a, .faq details::before, .faq summary::after { transition: none !important; }
  .js .timeline__step:not(.is-seen)::after { transform: none; }
  .js .timeline__step:not(.is-seen) .timeline__node::after { opacity: 1; transform: none; }
  .js .gallery__img { transform: none; }
  .faq details[open] > p { animation: none; }
}

@media print {
  .hdr, .grain, .progress, .loader, .fab, .totop, .stage canvas, .env, .stage__veil, .dial, .hud, .rail, .journey-skip, .loadbar, .burger, .oias-badge, .companies__bg { display: none !important; }
  body, .sec, .ftr, .principles, .interlude { background: white !important; color: black; }
  h1, h2, h3, .ftr__big, .routes__t, .faq summary { color: black !important; }
  .journey { height: auto; } .stage { position: static; height: auto; } .scene { position: static; visibility: visible; --v: 1; padding: 1rem 0; } .w { --w: 1; }
  .js .gallery { display: grid; height: auto; } .js .gallery__body { opacity: 1; visibility: visible; position: static; }
}

.is-static .scene a, .no-js .scene a { pointer-events: auto; }

/* very narrow phones: the rail keeps every bar, but only the current chapter is named */
@media (max-width: 380px) {
  .rail li:not(.is-current) { font-size: 0; }
  .rail li { flex: 1 1 0; }
  .rail li.is-current { flex: 2.4 1 0; }
}

/* phone rhythm: sections breathe without empty screens */
@media (max-width: 760px) {
  .sec, .paper-band { padding-block: var(--space-2xl); }
  .principles { padding-block: var(--space-2xl); }
  .principles__list { margin-top: var(--space-xl); }
  .companies { padding-block: var(--space-2xl); }
  .ftr { padding-top: var(--space-2xl); }
  .ftr__ctas { margin-bottom: var(--space-2xl); }
}

