/* ═══════════════════════════════════════════════════════════════════════════
   WildJournal — the marketing site at "/".

   Same engineering rules as /portal and /admin: plain CSS, no build step, no
   framework, nothing fetched from anywhere. The voice is the product's own —
   the editorial field-journal language frozen in apps/wildjournal/lib/app/
   theme.dart (paper, ink, saddle, ember), never a tech-product gradient and
   never a tactical HUD.

   Type: no webfont may be fetched, so the display face is a system-serif stack
   chosen for the same high-contrast editorial feel Instrument Serif carries.
   When a licensed face is bundled as a local asset, add one @font-face here
   pointing at /site/ and change --serif. That is the only edit needed.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Ground */
  --paper: #FCF9F4;
  --paper-dim: #F0EDE8;
  --paper-deep: #E9E4DA;
  --line: #D5D0C4;

  /* Ink */
  --ink: #1C1C19;
  --ink-deep: #172129;
  --ink-soft: #5C5A53;      /* opaque equivalent of the app's 60% ink — AA on paper */

  /* Brand */
  --saddle: #855235;
  --ember: #E46E46;
  --ember-soft: #FEBA96;
  --ember-ink: #B8451F;     /* ember darkened to pass AA as text on paper */
  --verified: #3D6B4F;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
           "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 64px);
  --hairline: 1px solid var(--line);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* The sticky hero owns the top of the viewport; anchored sections must clear
     the fixed topbar. */
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

img, svg, canvas { max-width: 100%; display: block; }

a { color: var(--saddle); text-underline-offset: 3px; }
a:hover { color: var(--ember-ink); }

:focus-visible {
  outline: 2px solid var(--ember-ink);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.skiplink {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink-deep); color: var(--paper);
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
  transition: top .16s ease;
}
.skiplink:focus { top: 12px; color: var(--paper); }

/* ── type scale ──────────────────────────────────────────────────────────── */

.display {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink-deep);
  letter-spacing: -0.022em;
  line-height: 1.02;
  margin: 0;
  font-size: clamp(2.85rem, 8.2vw, 6.4rem);
}
.display--2 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); line-height: 1.06; }
.display--3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.15; }

.eyebrow {
  margin: 0 0 18px;
  font: 500 12px/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--saddle);
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 34em;
}
.lede--wide { max-width: 46em; margin-top: 22px; }
.lede em, .display em { font-style: italic; }
.quiet { color: var(--ink-soft); }

h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.012em; }

/* ── buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: -0.005em;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background-color .18s ease,
              color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink-deep); color: var(--paper); }
.btn--ink:hover { background: #0F1920; color: var(--paper); }
.btn--ghost { border-color: var(--line); color: var(--ink-deep); background: rgba(252,249,244,.6); }
.btn--ghost:hover { border-color: var(--ink-deep); color: var(--ink-deep); background: var(--paper); }
.btn--ember { background: var(--ember); color: #2A1206; font-weight: 600; }
.btn--ember:hover { background: var(--ember-soft); color: #2A1206; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.linkish {
  display: inline-flex; align-items: center; gap: .45em;
  font: 500 14px/1 var(--sans); color: var(--saddle); text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 5px;
  transition: color .16s ease, border-color .16s ease, gap .16s ease;
}
.linkish i { font-style: normal; }
.linkish:hover { color: var(--ember-ink); border-color: var(--ember); gap: .8em; }

/* ── topbar ──────────────────────────────────────────────────────────────── */

.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gut);
  background: rgba(252,249,244,.82);
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
  .topbar { -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
}
.topbar[data-stuck="1"] { background: rgba(252,249,244,.94); border-bottom-color: var(--line); }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink-deep); text-decoration: none;
}
.brand .mark { width: 27px; height: 27px; color: var(--saddle); flex: none; }
.brand__word {
  font-family: var(--serif); font-size: 21px; letter-spacing: -0.02em;
}

.topnav { margin-left: auto; display: flex; gap: 4px; }
.topnav a {
  color: var(--ink-soft); text-decoration: none;
  font: 500 13.5px/1 var(--sans); padding: 9px 13px; border-radius: 999px;
  transition: color .16s ease, background-color .16s ease;
}
.topnav a:hover { color: var(--ink-deep); background: var(--paper-dim); }
.topbar__cta { padding: 10px 18px; font-size: 14px; }

/* ── hero ────────────────────────────────────────────────────────────────── */

.hero {
  /* Taller than the viewport: the extra height is the scroll budget that
     resolves the stripe field. The stage inside is what you actually see. */
  position: relative;
  height: 230vh;
}
.hero__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  /* Flow layout, not absolute positioning: the padding reserves room for the
     fixed topbar and the scroll cue, so the copy can never end up underneath
     either one at any viewport height. */
  display: flex; align-items: center;
  padding: 92px var(--gut) 88px;
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg,
      rgba(252,249,244,.97) 0%,
      rgba(252,249,244,.93) 26%,
      rgba(252,249,244,.55) 46%,
      rgba(252,249,244,0) 64%),
    linear-gradient(to bottom,
      rgba(252,249,244,.85) 0%,
      rgba(252,249,244,0) 22%,
      rgba(252,249,244,0) 72%,
      rgba(252,249,244,.9) 100%);
}
/* No WebGL (very old browser, blocklisted driver, GPU lost). The hero keeps a
   quiet stripe wash and every word stays exactly where it was. */
.hero__stage.is-nogl .hero__canvas {
  background:
    repeating-linear-gradient(97deg, rgba(28,28,25,.10) 0 9px, rgba(0,0,0,0) 9px 34px),
    repeating-linear-gradient(83deg, rgba(133,82,53,.07) 0 6px, rgba(0,0,0,0) 6px 41px),
    linear-gradient(to bottom, #FCF9F4 0%, #F0EDE8 100%);
}
.hero__noscript {
  position: absolute; top: 96px; left: var(--gut); margin: 0;
  color: var(--ink-soft); font-size: 14px;
}

.hero__copy { position: relative; z-index: 2; max-width: 660px; }
.hero .display { font-size: clamp(2.6rem, 7.2vw, 5.7rem); }
.hero .lede { margin: 24px 0 0; max-width: 31em; }

.hero__narration {
  display: grid; max-width: 30em; margin-top: 34px; min-height: 22px;
}
.hero__narration p {
  grid-area: 1 / 1; margin: 0;
  display: flex; align-items: baseline; gap: 12px;
  font: 500 14px/1.5 var(--sans); color: var(--ink-soft);
  opacity: 0; transform: translateY(6px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.3,1);
}
.hero__narration .tick {
  width: 20px; height: 1px; background: var(--ember); flex: none;
  transform: translateY(-4px);
}
.hero__narration[data-state="0"] p[data-narr="0"],
.hero__narration[data-state="1"] p[data-narr="1"],
.hero__narration[data-state="2"] p[data-narr="2"] { opacity: 1; transform: none; }

.hero__cue {
  position: absolute; z-index: 2; left: var(--gut); bottom: 44px;
  display: flex; align-items: center; gap: 12px;
  font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__cue i { display: block; width: 46px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__cue i::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 16px;
  background: var(--saddle); animation: cue 2.6s cubic-bezier(.5,0,.3,1) infinite;
}
@keyframes cue { 0% { transform: translateX(-18px); } 60%, 100% { transform: translateX(48px); } }

/* ── sections ────────────────────────────────────────────────────────────── */

.section { position: relative; padding: clamp(84px, 12vh, 150px) 0; }
.section--idea { background: var(--paper); border-top: var(--hairline); }
.section--identify { background: var(--paper-dim); border-top: var(--hairline); border-bottom: var(--hairline); }
.section--privacy { background: var(--paper); }
.section--business { background: var(--ink-deep); color: #E7E3DA; border-top: var(--hairline); }

/* reveal-on-scroll: opt-in per element, removed entirely under reduced motion */
[data-reveal] { opacity: 0; transform: translateY(18px); }
[data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--d, 0ms);
}

/* ── the idea ────────────────────────────────────────────────────────────── */

.idea__grid {
  display: grid; gap: clamp(34px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: start;
  margin-top: 40px;
}
.idea__prose p + p { margin-top: 1.1em; }

.stack { perspective: 1000px; perspective-origin: 50% 40%; }
.stack__inner {
  position: relative; height: 288px;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg));
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.card {
  position: absolute; left: 50%; top: 0; width: min(100%, 330px);
  transform: translateX(-50%);
  background: var(--paper); border: var(--hairline); border-radius: 16px;
  padding: 22px 24px;
  transform-style: preserve-3d;
}
.card--1 { transform: translateX(-50%) translateZ(56px) rotate(-1.1deg); box-shadow: 0 26px 44px -28px rgba(23,33,41,.45); }
.card--2 { transform: translateX(-46%) translateZ(20px) translateY(34px) rotate(2.4deg); background: var(--paper-dim); }
.card--3 { transform: translateX(-54%) translateZ(-14px) translateY(66px) rotate(-3.2deg); background: var(--paper-deep); }
.card p { margin: 0; }
.card__band {
  display: inline-block; font: 600 10.5px/1 var(--sans); letter-spacing: .13em;
  text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
  color: #fff; background: var(--verified); margin-bottom: 14px;
}
.card__id { font-family: var(--serif); font-size: 25px; color: var(--ink-deep); letter-spacing: -0.015em; }
.card__meta { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }
.card__rule { height: 1px; background: var(--line); margin: 16px 0; }
.card__stat { font-size: 14px; color: var(--ink); }
.card__stat b { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.card__stat span { color: var(--ink-soft); }
.card--2 .card__id, .card--3 .card__id { font-size: 19px; opacity: .62; }
.card--2 .card__meta, .card--3 .card__meta { opacity: .62; }
.stack__caption {
  margin: 18px 0 0; text-align: center;
  font: 400 12px/1.4 var(--sans); color: var(--ink-soft); letter-spacing: .04em;
}

.steps {
  list-style: none; margin: clamp(56px, 8vw, 96px) 0 0; padding: 0;
  display: grid; gap: 1px; background: var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: var(--hairline);
}
.steps li { background: var(--paper); padding: 30px clamp(20px, 2.4vw, 34px) 34px; }
.steps__n {
  font-family: var(--serif); font-size: 15px; color: var(--ember-ink);
  letter-spacing: .1em;
}
.steps h3 { margin: 12px 0 8px; font-size: 22px; color: var(--ink-deep); }
.steps p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* ── the explainer ───────────────────────────────────────────────────────── */

.explainer {
  margin-top: clamp(38px, 5vw, 60px);
  display: grid; gap: clamp(26px, 3.4vw, 44px);
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .78fr);
  align-items: start;
}
.explainer__stage { margin: 0; }
.evidence {
  width: 100%; height: auto; display: block;
  background: var(--paper); border: var(--hairline); border-radius: 18px;
  touch-action: pan-y;
}
.evidence__cap {
  display: flex; justify-content: space-between; gap: 20px;
  margin-top: 12px; padding: 0 6px;
}
.evidence__panel-label {
  font: 500 11.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
}

.stagelist { list-style: none; margin: 0; padding: 0; border-top: var(--hairline); }
.stagelist li { border-bottom: var(--hairline); }
.stagelist button {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; padding: 15px 14px 15px 18px;
  font: inherit; color: var(--ink-soft);
  border-left: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.stagelist button b {
  display: block; font: 500 15px/1.3 var(--sans); color: var(--ink-deep);
  letter-spacing: -0.008em;
}
.stagelist button span { display: block; font-size: 13.5px; line-height: 1.5; margin-top: 3px; }
.stagelist button:hover { background: rgba(252,249,244,.7); }
.stagelist li[aria-current="step"] button {
  border-left-color: var(--ember); background: var(--paper);
}
.stagelist li[aria-current="step"] button span { color: var(--ink); }

.scrub { margin: 26px 0 0; }
.scrub label {
  display: block; font: 500 11.5px/1 var(--sans); letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px;
}
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 22px; background: transparent; cursor: grab; margin: 0;
}
input[type="range"]:active { cursor: grabbing; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 2px; background: var(--line); border-radius: 2px;
}
input[type="range"]::-moz-range-track { height: 2px; background: var(--line); border-radius: 2px; }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; margin-top: -10px; border-radius: 50%;
  background: var(--ink-deep); border: 4px solid var(--paper-dim);
  box-shadow: 0 2px 8px rgba(23,33,41,.28);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; box-sizing: border-box;
  background: var(--ink-deep); border: 4px solid var(--paper-dim);
}

.readout { margin-top: 24px; padding-top: 20px; border-top: var(--hairline); }
.readout p { margin: 0; }
.readout__count { font-family: var(--serif); font-size: 19px; color: var(--ink-deep); letter-spacing: -0.01em; }
.readout__count b { font-size: 42px; font-weight: 400; line-height: 1; margin-right: 8px; }
.readout__note { margin-top: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.readout__band { margin-top: 16px; }
/* The app's four band colours (theme.dart), each darkened just enough that
   white 10.5px text on them clears 4.5:1 — the app draws them as fills behind
   dark text, this page needs them behind light. Same hues, same order. */
.band {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  font: 600 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: #5A6871;
  transition: background-color .3s ease;
}
.band--unknown { background: #5A6871; }   /* slate    — app #6B7A85 */
.band--possible { background: #6F6A5E; }  /* warm grey — app #8A8578 */
.band--probable { background: #8A6015; }  /* amber    — app #B07D2B */
.band--verified { background: var(--verified); }

.microcopy {
  margin: 22px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft);
}
.microcopy b { color: var(--ink); font-weight: 500; }

/* the SVG's own parts (built by site.js) */
.evidence { cursor: crosshair; }
.evidence text { font-family: var(--sans); }
.ev-lines line { transition: stroke .3s ease, stroke-width .3s ease, opacity .3s ease; }
.ev-hi { transition: opacity .18s ease; }
.ev-dot { pointer-events: none; }
.ev-frame { pointer-events: none; }

.factrow {
  list-style: none; margin: clamp(48px, 6vw, 78px) 0 0; padding: 0;
  display: grid; gap: 1px; background: var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--hairline);
}
.factrow li {
  background: var(--paper-dim); padding: 26px clamp(18px, 2vw, 30px);
  display: flex; align-items: baseline; gap: 14px;
}
.factrow b {
  font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1;
  color: var(--ember-ink);
}
.factrow span { font-size: 14px; line-height: 1.45; color: var(--ink-soft); }

/* ── privacy ─────────────────────────────────────────────────────────────── */

.tenets { margin: clamp(40px, 5vw, 64px) 0 0; display: grid; gap: 0; }
.tenets > div {
  display: grid; gap: clamp(8px, 3vw, 46px);
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  padding: 30px 0; border-top: var(--hairline);
}
.tenets > div:last-child { border-bottom: var(--hairline); }
.tenets dt {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  color: var(--ink-deep); letter-spacing: -0.015em; line-height: 1.15;
}
.tenets dd { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.65; max-width: 40em; }

/* ── business ────────────────────────────────────────────────────────────── */

.section--business .eyebrow { color: var(--ember-soft); }
.section--business .display { color: #FAF7F1; }
.section--business .lede { color: #CFCABF; }

.partners {
  margin-top: clamp(40px, 5vw, 64px); perspective: 1200px;
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.partner {
  background: #1E2A34; border: 1px solid #2C3A45; border-radius: 18px;
  padding: 26px 24px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transform: rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2,.7,.3,1), border-color .25s ease, background-color .25s ease;
}
.partner:hover { border-color: #47575F; background: #22303B; }
.partner__n {
  font-family: var(--serif); font-size: 13px; letter-spacing: .12em; color: var(--ember-soft);
}
.partner h3 { margin: 2px 0 0; font-size: 21px; color: #FAF7F1; }
.partner p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #B9B4AA; flex: 1; }
.partner .linkish { color: var(--ember-soft); border-color: #37454F; margin-top: 6px; align-self: flex-start; }
.partner .linkish:hover { color: #fff; border-color: var(--ember); }

.cta {
  margin-top: clamp(44px, 5vw, 70px); padding-top: clamp(34px, 4vw, 50px);
  border-top: 1px solid #2C3A45;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.cta h3 { margin: 0; color: #FAF7F1; }
.cta p { margin: 8px 0 0; color: #B9B4AA; font-size: 15px; }

/* ── footer ──────────────────────────────────────────────────────────────── */

.foot { background: var(--paper); padding: 56px 0 44px; border-top: var(--hairline); }
.foot__grid {
  display: flex; flex-wrap: wrap; gap: 28px 60px; align-items: flex-start;
  justify-content: space-between;
}
.foot__brand { display: flex; align-items: center; gap: 12px; }
.foot__brand .mark { width: 26px; height: 26px; color: var(--saddle); flex: none; }
.foot__line { margin: 0; font-family: var(--serif); font-size: 20px; color: var(--ink-deep); letter-spacing: -0.015em; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot__nav a { color: var(--ink-soft); text-decoration: none; font-size: 14.5px; }
.foot__nav a:hover { color: var(--ember-ink); text-decoration: underline; }
.foot__fine { margin: 34px auto 0; font-size: 12.5px; color: var(--ink-soft); max-width: var(--wrap); }

/* ── parent-company endorsement ──────────────────────────────────────────
   Quiet by design. A parent mark that shouts competes with the product it
   endorses; the hairline above it does the separating, so the type does not
   have to. Bronze (#A68A64) is Faunterra's own accent — close enough to this
   site's saddle to sit down naturally, distinct enough to read as another
   brand speaking. */
.endorse {
  margin: 30px auto 0; padding-top: 24px; border-top: var(--hairline);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  max-width: var(--wrap);
}
.endorse__link {
  display: inline-flex; align-items: baseline; gap: 9px;
  text-decoration: none; color: inherit;
}
.endorse__pre {
  font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.endorse__word {
  font-family: var(--serif); font-size: 19px; letter-spacing: .07em;
  color: #A68A64; transition: color .2s ease;
}
.endorse__link:hover .endorse__word { color: #8a7050; }
.endorse__link:focus-visible { outline: 2px solid #A68A64; outline-offset: 4px; border-radius: 3px; }
.endorse__tag {
  font: 400 11.5px/1.4 var(--sans); letter-spacing: .06em;
  color: var(--ink-soft); opacity: .8;
}

/* ═══ responsive ═══════════════════════════════════════════════════════════
   The owner opens this on his phone first. Everything below is the phone. */

@media (max-width: 1020px) {
  .idea__grid { grid-template-columns: minmax(0, 1fr); }
  .stack { max-width: 380px; }
  .explainer { grid-template-columns: minmax(0, 1fr); }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }
  .topnav { display: none; }
  .topbar { gap: 12px; }
  .topbar__cta { margin-left: auto; }

  .hero { height: 200vh; }
  /* Copy sits high, the flank resolves in the lower half — the JS offsets the
     3D pattern to match, so the two never fight for the same pixels. */
  .hero__stage { align-items: flex-start; padding: 84px var(--gut) 76px; }
  /* Portrait: the copy owns the top, the flank owns the bottom third. The
     scrim protects the words and then gets out of the way — the settled
     pattern is the payoff and must not be washed out. */
  .hero__scrim {
    background:
      linear-gradient(to bottom,
        rgba(252,249,244,.97) 0%,
        rgba(252,249,244,.94) 40%,
        rgba(252,249,244,.45) 56%,
        rgba(252,249,244,0) 68%),
      linear-gradient(to bottom,
        rgba(252,249,244,0) 93%,
        rgba(252,249,244,.6) 100%);
  }
  .hero__narration { margin-top: 26px; }
  .hero .lede { font-size: 1.02rem; }

  .steps, .factrow { grid-template-columns: minmax(0, 1fr); }
  .tenets > div { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .partners { grid-template-columns: minmax(0, 1fr); }
  .cta { flex-direction: column; align-items: flex-start; }
  .evidence { border-radius: 14px; }
  .evidence__cap { gap: 12px; padding: 0 2px; }
  .evidence__panel-label { font-size: 10px; letter-spacing: .09em; max-width: 46%; }
  .evidence__cap span:last-child { text-align: right; }
  .actions .btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  .brand__word { font-size: 19px; }
  .hero__narration p { font-size: 13px; }
}

/* Coarse pointers get no hover-tilt; the tilt hooks are pointer-driven and JS
   skips them, but make sure nothing is left mid-transform. */
@media (hover: none) {
  .stack__inner, .partner { --rx: 0; --ry: 0; }
}

/* ═══ reduced motion ═══════════════════════════════════════════════════════
   One still frame, no continuous motion, no scroll budget to burn. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero { height: 100vh; height: 100svh; }
  .hero__cue { display: none; }
  /* JS sets data-state="2" up front under reduced motion, so the narration
     shows its final line without ever animating. */
  [data-reveal] { opacity: 1; transform: none; }
  .stack__inner, .partner { transform: none; }
}
