/* Fernspan · fernspan.ai — "Carbon & Ember" (brand/DESIGN_SYSTEM.md).
   Ferns became coal, coal became fire: the fern here is never green. Paper sections alternate with carbon plates;
   the plates are dark in both themes (an exposure is light on a dark plate). No third-party requests: every font is
   self-hosted, Chinese falls through to the system Song / PingFang faces. */

/* ── type ─────────────────────────────────────────────────────────────────────────────────────────────── */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("fonts/BodoniModa-normal-400_900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("fonts/BodoniModa-normal-400_900-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("fonts/BodoniModa-italic-400_900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("fonts/BodoniModa-italic-400_900-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("fonts/IBMPlexSans-normal-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("fonts/IBMPlexSans-normal-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 300 600; font-display: swap;
  src: url("fonts/IBMPlexSans-italic-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 300 600; font-display: swap;
  src: url("fonts/IBMPlexSans-italic-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/IBMPlexMono-normal-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/IBMPlexMono-normal-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("fonts/IBMPlexMono-normal-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("fonts/IBMPlexMono-normal-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ── tokens ───────────────────────────────────────────────────────────────────────────────────────────── */
:root {
  color-scheme: light dark;
  /* paper (light) */
  --bg: #f3eee4;
  --bg-2: #ece6da;
  --ink: #14120f;
  --ink-2: #3d3830;
  --ink-3: #655e52;
  --rule: rgba(20, 18, 15, 0.14);
  --rule-2: rgba(20, 18, 15, 0.26);
  --accent: #b8410e;
  --accent-ink: #a93c0c;
  --gold: #7f5e17;
  --gold-fill: #b98a2e;
  --steel: #4f5a66;
  --btn: #14120f;
  --btn-hover: #2b2721;
  --on-btn: #f7f1e6;
  --figure-ink: #2a251f;
  --hex-wood: #14120f;
  /* the carbon plate (both themes) */
  --plate: #0b0a09;
  --plate-2: #141210;
  --plate-ink: #eee7da;
  --plate-ink-2: #a39b8c;
  --plate-ink-3: #8d8576;
  --plate-rule: rgba(238, 231, 218, 0.13);
  --molten: #ff7a2f;
  --molten-ink: #ff9a5c;
  --gold-light: #f2b45a;
  /* type */
  --display: "Bodoni Moda", "Bodoni 72", Didot, "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --song: "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "Songti SC", "STSong", "SimSun", serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;
  /* layout & motion */
  --wrap: 1480px;
  --gut: clamp(16px, 4.4vw, 72px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --unfurl: cubic-bezier(0.16, 1, 0.3, 1);
  --arrive: cubic-bezier(0.25, 1.6, 0.4, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14120f;
    --bg-2: #1b1814;
    --ink: #eee7da;
    --ink-2: #c7bfaf;
    --ink-3: #948c7d;
    --rule: rgba(238, 231, 218, 0.11);
    --rule-2: rgba(238, 231, 218, 0.22);
    --accent: #ff7a2f;
    --accent-ink: #ff9a5c;
    --gold: #f2b45a;
    --gold-fill: #f2b45a;
    --steel: #8c97a4;
    --btn: #ff7a2f;
    --btn-hover: #ff9450;
    --on-btn: #160a04;
    --figure-ink: #ff8a45;
    --hex-wood: #c7bfaf;
  }
}

/* every token a component reads, re-pointed at the carbon plate */
.plate {
  --bg: var(--plate);
  --bg-2: var(--plate-2);
  --ink: var(--plate-ink);
  --ink-2: var(--plate-ink-2);
  --ink-3: var(--plate-ink-3);
  --rule: var(--plate-rule);
  --rule-2: rgba(238, 231, 218, 0.26);
  --accent: var(--molten);
  --accent-ink: var(--molten-ink);
  --gold: var(--gold-light);
  --gold-fill: var(--gold-light);
  --steel: #8c97a4;
  --btn: var(--molten);
  --btn-hover: #ff9450;
  --on-btn: #160a04;
  background: var(--plate);
  color: var(--plate-ink);
}

/* ── base ─────────────────────────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ol, dl, dd, figure { margin: 0; }
ol { padding: 0; list-style: none; }
::selection { background: rgba(255, 122, 47, 0.3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
[lang|="zh"] { font-style: normal; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  padding: 12px 16px; border-radius: 8px;
  background: var(--molten); color: #160a04; font: 500 14px/1 var(--sans); text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gut));
  margin-inline: auto;
  padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right));
}
.mono { font-family: var(--mono); }
.kicker, .fig-no, .tag {
  font: 500 11px/1.5 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker { color: var(--ink-2); }
.fig-no { color: var(--accent-ink); margin-right: 0.9em; }

/* registration marks: four hairline corners on a plate */
.regs {
  position: absolute; inset: 14px; pointer-events: none; z-index: 1;
  --c: rgba(238, 231, 218, 0.28);
  background:
    linear-gradient(var(--c), var(--c)) left top / 14px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 1px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 14px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 14px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 1px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 14px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 1px 14px no-repeat;
}

/* ── buttons ──────────────────────────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 8px;
  font: 500 15px/1.2 var(--sans); letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 240ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--molten { background: var(--btn); color: var(--on-btn); }
.btn--molten:hover { background: var(--btn-hover); }
.btn--line { border-color: var(--rule-2); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 240ms var(--ease); }
.btn:hover .ico { transform: translateX(2px); }

/* ── hero: plate I ────────────────────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.hero__fern { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; max-width: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(90% 75% at 0% 8%, rgba(11, 10, 9, 0.9) 0%, rgba(11, 10, 9, 0.62) 42%, rgba(11, 10, 9, 0) 74%),
    linear-gradient(180deg, rgba(11, 10, 9, 0.55) 0%, rgba(11, 10, 9, 0) 16%, rgba(11, 10, 9, 0) 72%, rgba(11, 10, 9, 0.7) 90%, rgba(11, 10, 9, 0.92) 100%);
}
.hero__arrival {
  position: absolute; left: 0; top: 0; z-index: 0;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: #fff1d6;
  box-shadow: 0 0 0 5px rgba(242, 180, 90, 0.2), 0 0 26px 8px rgba(242, 180, 90, 0.55);
  opacity: 0; pointer-events: none;
}
.hero__arrival.is-on { opacity: 1; }
.hero__arrival.is-on.is-anim { animation: arrive 900ms var(--arrive) both; }
@keyframes arrive {
  0% { opacity: 0; scale: 0.1; }
  60% { opacity: 1; }
  100% { opacity: 1; scale: 1; }
}
.hero__side {
  position: absolute; left: max(22px, env(safe-area-inset-left)); top: 50%; z-index: 1;
  translate: 0 -50%;
  writing-mode: vertical-rl; rotate: 180deg;
  font: 500 10px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--plate-ink-3);
  white-space: nowrap;
}
.hero__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  min-height: 100%;
  padding-top: max(10px, env(safe-area-inset-top));
  padding-bottom: max(22px, env(safe-area-inset-bottom));
}

.mast {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--plate-rule);
}
.mast__brand {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; text-decoration: none; color: var(--plate-ink);
}
.mast__brand img { width: 30px; height: 30px; }
.mast__word {
  font: 500 19px/1 var(--display);
  letter-spacing: 0.14em; text-transform: uppercase;
  padding-top: 2px;
}
.mast__meta {
  flex: 1;
  font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--plate-ink-2);
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mast__nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.mast__link, .mast__lang {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--plate-ink-2); text-decoration: none;
  transition: color 150ms var(--ease);
}
.mast__link:hover { color: var(--plate-ink); }
.mast__lang {
  margin-left: 10px; padding: 0 16px; min-height: 40px;
  border: 1px solid var(--rule-2); border-radius: 999px;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.08em; color: var(--plate-ink);
}
.mast__lang:hover { border-color: var(--plate-ink); }

.hero__body { margin-top: clamp(40px, 12vh, 160px); max-width: 1180px; }
.hero__kicker { margin-bottom: clamp(18px, 2.4vw, 30px); color: var(--plate-ink-2); }
.hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(42px, min(6.7vw, 11.6vh), 124px);
  line-height: 0.98;
  letter-spacing: -0.026em;
  color: var(--plate-ink);
}
.hero__title .l { display: block; }
.hero__title em {
  font-style: italic; font-weight: 400;
  color: var(--molten);
  margin-top: 0.08em;
  letter-spacing: -0.02em;
}
.hero__lede {
  margin-top: clamp(24px, 3vw, 40px);
  max-width: 30em;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
  color: var(--plate-ink-2);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.6vw, 34px); }

.hero__foot { margin-top: auto; padding-top: clamp(40px, 8vh, 112px); }
.eras {
  position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--plate-rule);
}
.eras::after {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: calc(var(--p, 1) * 100%);
  background: linear-gradient(90deg, rgba(255, 122, 47, 0.2), var(--molten) 70%, var(--gold-light));
}
.eras li {
  position: relative;
  padding: 16px 12px 0 0;
  font: 400 12.5px/1.4 var(--sans);
  color: var(--plate-ink-2);
  text-shadow: 0 1px 2px #0b0a09, 0 0 14px #0b0a09;
  transition: color 400ms var(--ease);
}
.eras li::before {
  content: ""; position: absolute; left: 0; top: -4px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--plate-ink-2);
  transition: background-color 400ms var(--ease), box-shadow 400ms var(--ease);
}
.eras__y { display: block; margin-bottom: 4px; font: 500 13px/1 var(--mono); letter-spacing: 0.06em; color: var(--plate-ink); }
.js .eras li:not(.is-lit) { color: var(--plate-ink-3); }
.js .eras li:not(.is-lit)::before { background: #3a352e; }
.js .eras li:not(.is-lit) .eras__y { color: var(--plate-ink-3); }
.eras li.is-now .eras__y { color: var(--gold-light); }
.eras li.is-now { color: var(--plate-ink); }
.eras li.is-now::before { background: var(--gold-light); box-shadow: 0 0 0 4px rgba(242, 180, 90, 0.18), 0 0 18px rgba(242, 180, 90, 0.6); }
.js .eras li.is-now:not(.is-lit) .eras__y { color: var(--plate-ink-3); }
.js .eras li.is-now:not(.is-lit)::before { background: #3a352e; box-shadow: none; }

.hero__caption {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 22px;
  font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--plate-ink-2);
  text-shadow: 0 0 10px #0b0a09;
}
.tblock {
  position: absolute; top: 112px; right: max(var(--gut), env(safe-area-inset-right));
  width: 288px; margin: 0;
  border-top: 1px solid var(--plate-rule);
  font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  animation: fade 1200ms var(--ease) 400ms both;
}
.tblock > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--plate-rule); }
.tblock dt { color: var(--plate-ink-3); }
.tblock dd { margin: 0; color: var(--plate-ink-2); font-variant-numeric: tabular-nums; }
.tblock dd[data-count] { color: var(--plate-ink); }
@media (min-width: 1241px) { .hero__caption { display: none; } }
@media (max-width: 1240px) { .tblock { display: none; } }
.hero__caption b { font-weight: 500; color: var(--plate-ink); font-variant-numeric: tabular-nums; }

/* entrance: the headline develops, line by line */
.hero__kicker, .hero__title .l, .hero__lede, .hero__cta, .mast { animation: rise 1100ms var(--unfurl) both; }
.mast { animation-name: fade; animation-duration: 900ms; }
.hero__kicker { animation-delay: 80ms; }
.hero__title .l:nth-child(1) { animation-delay: 160ms; }
.hero__title .l:nth-child(2) { animation-delay: 260ms; }
.hero__title .l:nth-child(3) { animation-delay: 420ms; }
.hero__lede { animation-delay: 560ms; }
.hero__cta { animation-delay: 660ms; }
@keyframes rise { from { opacity: 0; transform: translateY(0.45em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ── shared section furniture ─────────────────────────────────────────────────────────────────────────── */
.paper { position: relative; background: var(--bg); color: var(--ink); }
.sec-no { display: flex; align-items: baseline; gap: 18px; margin-bottom: clamp(18px, 2.4vw, 32px); }
.sec-no__n {
  font: italic 400 clamp(40px, 4.4vw, 64px)/0.8 var(--display);
  color: var(--accent-ink);
  letter-spacing: -0.02em;
}
.fig { position: relative; }
.fig__plate {
  position: relative;
  border: 1px solid var(--rule);
  background-image:
    linear-gradient(var(--rule-2), var(--rule-2)), linear-gradient(var(--rule-2), var(--rule-2)),
    linear-gradient(var(--rule-2), var(--rule-2)), linear-gradient(var(--rule-2), var(--rule-2));
  background-size: 12px 1px, 1px 12px, 12px 1px, 1px 12px;
  background-position: 6px 6px, 6px 6px, calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) calc(100% - 6px);
  background-repeat: no-repeat;
}
.fig__cap {
  margin-top: 14px;
  font: 400 13px/1.55 var(--sans);
  color: var(--ink-3);
  max-width: 46em;
}
.fig__cap .fig-no { font-size: 10.5px; }
.tag {
  position: absolute;
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: none;
  color: var(--ink-2);
  white-space: nowrap;
  pointer-events: none;
}

/* reveal on scroll (only below the fold, only with JS, never with reduced motion) */
.js [data-reveal].pre { opacity: 0; transform: translateY(26px); }
.js [data-reveal].pre.is-in {
  opacity: 1; transform: none;
  transition: opacity 900ms var(--unfurl) var(--d, 0ms), transform 900ms var(--unfurl) var(--d, 0ms);
}
[data-reveal="1"] { --d: 90ms; }
[data-reveal="2"] { --d: 180ms; }
[data-reveal="3"] { --d: 270ms; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .pre .draw, .js .pre.draw { stroke-dashoffset: 1; }
.js .is-in .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1600ms var(--unfurl) 250ms; }

/* ── § 01 · the name ──────────────────────────────────────────────────────────────────────────────────── */
.name { padding-block: clamp(80px, 11vw, 176px) clamp(80px, 10vw, 160px); overflow: clip; }
.word {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  margin-left: -0.04em;
  padding-bottom: 0.2em; /* room for the italic p's descender */
  font-family: var(--display);
  font-size: clamp(74px, 20.6vw, 352px);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.035em;
}
.word__part { display: inline-flex; flex-direction: column-reverse; }
.word__g { display: block; }
.word__part--span .word__g { font-style: italic; font-weight: 400; color: var(--accent); padding-left: 0.02em; padding-right: 0.06em; }
.dim {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  height: 22px; margin: 0 0.1em clamp(10px, 1.6vw, 26px) 0.04em;
  font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
  border-inline: 1px solid var(--ink-3);
  white-space: nowrap;
}
.dim::before, .dim::after { content: ""; flex: 1; height: 1px; background: var(--ink-3); opacity: 0.7; }
.word__part--span .dim { color: var(--accent-ink); border-color: var(--accent-ink); }
.word__part--span .dim::before, .word__part--span .dim::after { background: var(--accent-ink); }
.word__ipa {
  margin-top: clamp(4px, 0.8vw, 14px);
  max-width: 40em;
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-2);
}
.word__ipa .mono { margin-right: 0.7em; font-size: 0.82em; color: var(--accent-ink); letter-spacing: 0.02em; }

.name__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(64px, 8vw, 128px);
}
.name__col { min-width: 0; }
.name__col--fern { grid-column: 1 / span 5; }
.name__col--span { grid-column: 7 / span 6; padding-top: clamp(0px, 16vw, 260px); }
.name__col > p { max-width: 34em; color: var(--ink-2); }
.name__col > p + p { margin-top: 1em; }
.name__h {
  margin-bottom: 20px;
  font: 500 clamp(30px, 3.1vw, 48px)/1.08 var(--display);
  letter-spacing: -0.015em;
}
.name__h em { display: block; font-style: italic; font-weight: 400; color: var(--ink-3); font-size: 0.66em; margin-top: 0.3em; letter-spacing: 0; }

.fig--fern { margin-top: clamp(36px, 4vw, 56px); }
.fig__plate--fern { aspect-ratio: 660 / 1080; max-height: 940px; margin-inline: auto; }
.fig__ink { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--figure-ink); max-width: none; }
.collage { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.collage * { vector-effect: non-scaling-stroke; fill: none; }
.c-box { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 5; opacity: 0.7; }
.c-q { stroke-width: 1.4; stroke-linejoin: round; }
.c-q--2 { stroke: var(--accent); }
.c-q--3, .c-q--4 { stroke: var(--steel); }
.c-stem { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.collage .c-tip { fill: var(--gold-fill); }
.collage .c-tip-halo { fill: var(--gold-fill); opacity: 0.18; }
.collage + .tag, .fig__plate--fern .tag { font: italic 400 21px/1 var(--display); letter-spacing: 0; }
.fig__plate--fern .tag--tip { font: 500 11.5px/1.2 var(--mono); letter-spacing: 0.12em; }
.tag--f2 { left: 30%; top: 4%; color: var(--accent-ink); }
.tag--f3 { left: 3%; top: 56%; color: var(--steel); }
.tag--f4 { right: 2%; top: 63%; color: var(--steel); }
.tag--f1 { left: 52.5%; top: 91.5%; color: var(--accent-ink); }
.tag--tip { right: 3%; top: 1%; color: var(--gold); }
.maps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px; border-top: 1px solid var(--rule);
}
.maps > div { padding: 12px 10px 0 0; }
.maps dt { font: italic 400 22px/1 var(--display); color: var(--accent-ink); }
.maps dd { margin-top: 6px; font: 400 13px/1.3 var(--sans); color: var(--ink-2); }
.maps dd.maps__p { margin-top: 2px; font: 500 11px/1.3 var(--mono); letter-spacing: 0.06em; color: var(--ink-3); }

.fig--bridge { margin-top: clamp(36px, 4vw, 56px); }
.fig__plate--bridge { aspect-ratio: 720 / 360; }
.bridge, .vec { position: absolute; inset: 0; width: 100%; height: 100%; }
.bridge * { vector-effect: non-scaling-stroke; fill: none; }
.bridge .b-rock { fill: url(#hatch); }
.b-hatch { stroke: var(--ink-3); stroke-width: 0.8; opacity: 0.55; }
.b-edge { stroke: var(--ink-2); stroke-width: 1.2; stroke-linejoin: round; }
.b-river { stroke: var(--steel); stroke-width: 1; opacity: 0.8; }
.b-tower { stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.b-tower-cap { stroke: var(--ink); stroke-width: 2.4; }
.b-stay { stroke: var(--ink-2); stroke-width: 1.4; }
.b-hangers { stroke: var(--ink-3); stroke-width: 0.8; }
.b-chain { stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; }
.b-deck { stroke: var(--ink); stroke-width: 1.2; }
.b-dim { stroke: var(--accent-ink); stroke-width: 1; }
.b-lead { stroke: var(--accent-ink); stroke-width: 0.8; stroke-dasharray: 2 3; }
.bridge .b-arrive { fill: var(--gold-fill); }
.tag--span { left: 50%; top: 6.4%; translate: -50% 0; padding: 0 10px; background: var(--bg); color: var(--accent-ink); letter-spacing: 0.2em; text-transform: uppercase; }
.tag--avon { left: 50%; bottom: 0.6%; translate: -50% 0; padding: 0 8px; background: var(--bg); color: var(--steel); text-transform: uppercase; }

.fig--vec { margin-top: clamp(28px, 3vw, 44px); max-width: 360px; }
@media (min-width: 561px) {
  .fig--vec { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px; align-items: end; max-width: none; }
  .fig--vec .fig__cap { margin: 0; padding-bottom: 4px; }
}
.fig__plate--vec { aspect-ratio: 240 / 200; overflow: hidden; }
.vec * { vector-effect: non-scaling-stroke; fill: none; }
.v-grid { stroke: var(--ink-3); stroke-width: 0.7; opacity: 0.4; }
.vec .v-span { fill: var(--accent); opacity: 0.08; stroke: var(--accent); stroke-width: 1; stroke-opacity: 1; }
.v-arrow, .v-head { stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vec .v-o { fill: var(--ink); }
.vec .v-dot { fill: var(--gold-fill); }
.fig__plate--vec .tag--v1, .fig__plate--vec .tag--v2 { font: italic 400 20px/1 var(--display); letter-spacing: 0; color: var(--ink); }
.tag--v1 { left: 66%; top: 83%; }
.tag--v2 { left: 41%; top: 9%; }
.tag--sp { left: 52%; top: 47%; color: var(--accent-ink); letter-spacing: 0.04em; }
.fig--vec .fig__cap { font-size: 12.5px; }

.motto {
  margin-top: clamp(80px, 10vw, 150px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule-2);
  font: 500 clamp(36px, 5.6vw, 96px)/1.02 var(--display);
  letter-spacing: -0.025em;
  text-align: right;
}
.motto em { display: block; font-style: italic; font-weight: 400; color: var(--accent); }

/* ── § 02 · Fernspan One ──────────────────────────────────────────────────────────────────────────────── */
.one {
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(88px, 11vw, 176px) clamp(56px, 7vw, 104px);
  background:
    radial-gradient(55% 60% at 22% 52%, rgba(255, 106, 51, 0.13), rgba(255, 106, 51, 0) 70%),
    radial-gradient(70% 50% at 100% 100%, rgba(130, 33, 15, 0.28), rgba(130, 33, 15, 0) 70%),
    var(--plate);
}
.one__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.one__fig { grid-column: 1 / span 5; }
.one__text { grid-column: 7 / span 6; }
.orbit { position: relative; aspect-ratio: 1; max-width: 540px; margin-inline: auto; }
.orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__svg * { fill: none; }
.o-dots { stroke: var(--plate-ink-3); stroke-width: 1.2; stroke-dasharray: 1 7; stroke-linecap: round; opacity: 0.7; }
.o-ticks { stroke: var(--plate-ink-3); stroke-width: 8; stroke-dasharray: 1 14.0105; opacity: 0.8; }
.o-ticks--major { stroke: var(--plate-ink-2); stroke-width: 16; stroke-dasharray: 1.4 86.5652; opacity: 0.9; }
.o-ring { stroke: var(--plate-rule); stroke-width: 1; }
.o-ring--in { stroke-dasharray: 2 4; }
.o-cross { stroke: var(--plate-ink-3); stroke-width: 1; }
.o-spoke { stroke: var(--molten); stroke-width: 1.2; opacity: 0.8; }
.orbit__svg .o-st { fill: var(--plate); stroke: var(--plate-ink-2); stroke-width: 1.5; }
.orbit__svg .o-st--gold { fill: var(--gold-light); stroke: none; }
.orbit__tile {
  position: absolute; left: 50%; top: 50%;
  width: 38%; aspect-ratio: 1; translate: -50% -50%;
}
.orbit__tile::before {
  content: ""; position: absolute; inset: -30%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 106, 51, 0.26), rgba(255, 106, 51, 0.06) 60%, rgba(255, 106, 51, 0));
}
.orbit__tile img { width: 100%; height: auto; border-radius: 22%; box-shadow: 0 0 0 1px rgba(238, 231, 218, 0.14), 0 30px 70px -24px rgba(0, 0, 0, 0.9); }
.tag--web { left: 19.8%; top: 40%; }
.tag--pc { right: 19.8%; top: 40%; }
.tag--ph { left: 53.5%; top: 83.5%; color: var(--gold-light); }
.orbit .tag { color: var(--plate-ink-2); letter-spacing: 0.18em; text-transform: uppercase; }
.orbit .tag--ph { color: var(--gold-light); }
.one__fig .fig__cap { text-align: center; margin-inline: auto; }

.one__title {
  font: 500 clamp(52px, 7.6vw, 136px)/0.92 var(--display);
  letter-spacing: -0.03em;
}
.one__title em { font-style: italic; font-weight: 400; color: var(--molten); }
.one__line {
  margin-top: 14px;
  font: italic 400 clamp(26px, 2.8vw, 42px)/1.1 var(--display);
  color: var(--plate-ink-2);
}
.one__lede { margin-top: clamp(22px, 2.4vw, 32px); max-width: 32em; font-size: clamp(16px, 1.3vw, 19px); color: var(--plate-ink-2); }
.one__invite {
  display: flex; align-items: center; gap: 12px;
  margin-top: 18px;
  font: 500 11.5px/1.5 var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--plate-ink);
}
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 12px rgba(242, 180, 90, 0.7); }
.one__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3vw, 38px); }

.stations {
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--plate-rule);
}
.stations li { position: relative; padding-top: 26px; min-width: 0; }
.stations li::before {
  content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--plate-ink-2);
}
.stations li:last-child::before { background: var(--gold-light); box-shadow: 0 0 0 4px rgba(242, 180, 90, 0.16); }
.stations__n { display: block; font: italic 400 40px/1 var(--display); color: var(--molten); }
.stations__h { margin-top: 14px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; }
.stations p { margin-top: 8px; max-width: 26em; font-size: 15.5px; color: var(--plate-ink-2); }
.stations__a {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.06em; color: var(--molten-ink); text-decoration: none;
}
a.stations__a:hover { text-decoration: underline; text-underline-offset: 4px; }
span.stations__a { color: var(--plate-ink-3); }

/* ── § 03 · the hidden layer ──────────────────────────────────────────────────────────────────────────── */
.layer { padding-block: clamp(88px, 12vw, 200px); overflow: clip; isolation: isolate; }
.layer__ghost {
  position: absolute; z-index: -1; left: -0.16em; top: 50%; translate: 0 -52%;
  font: 900 clamp(360px, 62vw, 1040px)/1 var(--song);
  color: var(--ink);
  opacity: 0.035;
  pointer-events: none; user-select: none;
}
.layer__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  align-items: start;
}
.layer__fig { grid-column: 1 / span 5; position: sticky; top: 48px; }
.layer__text { grid-column: 7 / span 6; }
.layer__art { display: flex; align-items: flex-start; gap: clamp(24px, 4vw, 64px); }
.vert {
  writing-mode: vertical-rl;
  font: 900 clamp(56px, 7.2vw, 120px)/1 var(--song);
  letter-spacing: 0.1em;
  color: var(--ink);
}
.vert .hot { color: var(--accent); }
.hex { position: relative; flex: 1; max-width: 300px; padding-top: 0.4em; }
.hex__svg { width: 100%; height: auto; }
.hx-fire { fill: url(#fire); }
.hx-wood { fill: var(--hex-wood); }
.hex__lab {
  display: flex; align-items: center; gap: 10px;
  margin-top: 10px;
  font: 500 11px/1.3 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
}
.hex__lab b { font: 900 22px/1 var(--song); letter-spacing: 0; color: var(--ink); }
.hex__lab--fire { position: absolute; left: calc(100% + 16px); top: 0.4em; margin: 0; flex-direction: column; align-items: flex-start; gap: 6px; }
.hex__lab--fire b { color: var(--accent); }
.hex__lab--wood { position: absolute; left: calc(100% + 16px); bottom: 0; margin: 0; flex-direction: column; align-items: flex-start; gap: 6px; }
.layer__fig .fig__cap { margin-top: 28px; }

.layer__title {
  font: 500 clamp(48px, 6.4vw, 112px)/0.96 var(--display);
  letter-spacing: -0.03em;
}
.manifesto { margin-top: clamp(34px, 4vw, 56px); counter-reset: m; }
.manifesto li {
  position: relative;
  padding: 18px 0 18px 54px;
  border-top: 1px solid var(--rule);
  font: 400 clamp(20px, 1.9vw, 28px)/1.4 var(--display);
  letter-spacing: -0.005em;
  counter-increment: m;
}
.manifesto li::before {
  content: counter(m, upper-roman);
  position: absolute; left: 0; top: 24px;
  font: 500 11px/1 var(--mono); letter-spacing: 0.14em; color: var(--accent-ink);
}
.manifesto [lang|="zh"] { font-family: var(--song); font-weight: 700; }
.seal {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px);
  margin-top: 10px; padding: 26px 0;
  border-block: 1px solid var(--rule-2);
}
.seal__pair { display: flex; gap: 14px; }
.seal__item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.seal__item b { font: 900 18px/1 var(--song); color: var(--ink-2); }
.seal__hex { width: 46px; height: auto; fill: none; stroke: var(--ink); stroke-width: 7; }
.seal__hex--ding { stroke: var(--accent); }
.seal__text { display: flex; flex-direction: column; gap: 6px; }
.seal__zh { font: 900 clamp(40px, 4.6vw, 72px)/1 var(--song); letter-spacing: 0.14em; }
.seal__en { font: italic 400 clamp(18px, 1.6vw, 24px)/1.3 var(--display); color: var(--ink-2); }
.closing {
  margin-top: clamp(30px, 3.4vw, 48px);
  max-width: 24em;
  font: 400 clamp(22px, 2.1vw, 32px)/1.3 var(--display);
}
.closing em { display: block; margin-top: 0.3em; font-style: italic; color: var(--accent); font-size: 1.35em; letter-spacing: -0.015em; }
.footnote {
  margin-top: clamp(32px, 3.6vw, 52px);
  font: 400 13px/1.6 var(--sans);
  color: var(--ink-3);
}
.footnote::before { content: "*"; margin-right: 0.5em; color: var(--accent-ink); font-family: var(--mono); }
.footnote [lang|="zh"] { color: var(--ink-2); }

/* ── footer: plate II ─────────────────────────────────────────────────────────────────────────────────── */
.foot {
  position: relative; isolation: isolate; overflow: clip;
  padding-top: clamp(64px, 9vw, 140px);
  padding-bottom: max(28px, env(safe-area-inset-bottom));
}
.foot__glow {
  position: absolute; inset: auto 0 0 0; height: 70%; z-index: -1;
  background: radial-gradient(60% 90% at 50% 100%, rgba(255, 106, 51, 0.2), rgba(214, 60, 28, 0.06) 45%, rgba(11, 10, 9, 0) 75%);
}
.foot__word {
  font: 500 clamp(54px, 15.4vw, 290px)/0.8 var(--display);
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(238, 231, 218, 0.92) 0%, rgba(238, 231, 218, 0.55) 46%, #ff7a2f 82%, #f2b45a 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}
.foot__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px;
  margin-top: clamp(36px, 5vw, 72px); padding-top: 18px;
  border-top: 1px solid var(--plate-rule);
  font: 400 14px/1.5 var(--sans); color: var(--plate-ink-2);
}
.foot__sign a { color: var(--plate-ink); text-decoration: underline; text-decoration-color: rgba(255, 122, 47, 0.6); text-underline-offset: 4px; }
.foot__sign a:hover { color: var(--molten-ink); }
.foot__nav { display: flex; flex-wrap: wrap; }
.foot__nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--plate-ink-2);
}
.foot__nav a:hover { color: var(--plate-ink); }
.foot__nav a:first-child { padding-left: 0; }
.foot__privacy { display: inline-flex; align-items: center; gap: 10px; font: 500 11px/1.5 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.foot__colophon { margin-top: 18px; max-width: 60em; font: 400 12.5px/1.6 var(--sans); color: var(--plate-ink-3); }

/* ── Chinese page ─────────────────────────────────────────────────────────────────────────────────────── */
:lang(zh-CN) body, body:lang(zh-CN) { line-height: 1.8; }
.zh .kicker, .zh .tag, .zh .fig-no, .zh .hero__caption, .zh .mast__meta, .zh .mast__link, .zh .foot__nav a, .zh .one__invite,
.zh .stations__h, .zh .foot__privacy, .zh .hex__lab { letter-spacing: 0.1em; }
.zh .hero__title {
  font-family: var(--song);
  font-weight: 900;
  font-size: clamp(34px, min(5.6vw, 10.4vh), 104px);
  line-height: 1.14;
  letter-spacing: 0.02em;
}
.zh .hero__title em { font-style: normal; font-weight: 900; letter-spacing: 0.02em; margin-top: 0.12em; }
.zh .name__h, .zh .one__line, .zh .layer__title, .zh .closing, .zh .manifesto li, .zh .motto, .zh .seal__en {
  font-family: var(--song);
  font-style: normal;
  letter-spacing: 0.02em;
}
.zh .name__h { font-weight: 900; }
.zh .name__h em { font-style: normal; font-weight: 700; }
.zh .one__line { font-weight: 700; }
.zh .layer__title { font-weight: 900; line-height: 1.12; }
.zh .manifesto li { font-weight: 500; line-height: 1.6; font-size: clamp(19px, 1.7vw, 25px); }
.zh .manifesto li::before { top: 26px; }
.zh .closing { font-weight: 700; line-height: 1.5; }
.zh .closing em { font-style: normal; font-weight: 900; font-size: 1.2em; }
.zh .motto { font-weight: 900; line-height: 1.2; letter-spacing: 0.04em; }
.zh .motto em { font-style: normal; font-weight: 900; }
.zh .seal__en { font-weight: 500; }
.zh .kicker, .zh .stations__h, .zh .one__invite, .zh .foot__privacy { font-size: 13px; }
.zh .mast__meta, .zh .tblock { font-size: 12px; }
.zh .foot__privacy, .zh .one__invite { text-transform: none; }
.zh .dim { font-size: 14px; }
.zh .hex__lab { font-size: 13px; }
.zh .fig-no { font-size: 12px; }
.zh .word__ipa, .zh .fig__cap, .zh .name__col > p, .zh .one__lede, .zh .stations p, .zh .hero__lede { line-height: 1.8; }

/* ── responsive ───────────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .mast__meta { visibility: hidden; }
  .hero__side { display: none; }
}
@media (max-width: 960px) {
  .mast__link { display: none; }
  .mast__meta { display: none; }
  .mast__nav { margin-left: auto; }
  .name__col--fern, .name__col--span { grid-column: 1 / -1; }
  .name__col--span { padding-top: clamp(64px, 10vw, 96px); }
  .fig__plate--fern { max-width: 520px; margin-inline: 0; }
  .fig--fern .fig__cap, .maps { max-width: 520px; }
  .one__fig, .one__text { grid-column: 1 / -1; }
  .one__fig { order: 2; margin-top: 56px; }
  .orbit { max-width: 440px; }
  .layer__fig { grid-column: 1 / -1; position: static; margin-bottom: 64px; }
  .layer__text { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .eras__t { display: none; }
  .eras li { padding-top: 14px; }
  .stations { grid-template-columns: 1fr; border-top: 0; }
  .stations li { border-top: 1px solid var(--plate-rule); padding-bottom: 8px; }
  .maps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .motto { text-align: left; }
  .hero__seed { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .mast { gap: 12px; }
  .mast__word { font-size: 17px; letter-spacing: 0.12em; }
  .mast__brand img { width: 26px; height: 26px; }
  .hero__body { margin-top: clamp(36px, 7vh, 64px); }
  .hero__title { font-size: clamp(38px, 11.4vw, 52px); line-height: 1.0; text-wrap: balance; }
  .hero__title .l { display: inline; }
  .hero__title em.l { display: block; margin-top: 0.14em; }
  .hero__cta .btn--line { display: none; }
  .zh .hero__title { font-size: clamp(32px, 9.4vw, 44px); }
  .one__cta .btn { flex: 1 1 auto; }
  .hero__caption { font-size: 10px; letter-spacing: 0.12em; }
  .name__h em { font-size: 0.72em; }
  .layer__art { gap: 18px; }
  .vert { font-size: clamp(48px, 15vw, 72px); }
  .hex { max-width: 170px; }
  .hex__lab--fire, .hex__lab--wood { left: calc(100% + 12px); }
  .seal { flex-direction: column; align-items: flex-start; }
  .manifesto li { padding-left: 40px; }
  .foot__row { flex-direction: column; align-items: flex-start; }
}

/* ── reduced motion: final frames, no travel ──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal].pre { opacity: 1; transform: none; }
  .draw, .js .pre .draw { stroke-dashoffset: 0; }
}
.nobr { white-space: nowrap; }

/* ── 404 ──────────────────────────────────────────────────────────────────────────────────────────────── */
.lost { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding-block: 64px; }
.lost__title { margin-top: 22px; max-width: 12em; font: 500 clamp(44px, 7vw, 112px)/0.98 var(--display); letter-spacing: -0.025em; }
.lost__title em { font-style: italic; font-weight: 400; color: var(--molten); }
.lost__zh { margin-top: 18px; font: 700 clamp(20px, 2.2vw, 30px)/1.4 var(--song); color: var(--plate-ink-2); }
.fig__cap i { font-family: var(--display); font-size: 1.1em; }
.lost__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* lines that draw themselves use pathLength, which needs real (scaling) strokes */
.collage .draw, .bridge .draw, .vec .draw, .orbit__svg .draw { vector-effect: none; }
.collage .c-q { stroke-width: 2; }
.bridge .b-chain { stroke-width: 2.6; }
.vec .v-arrow { stroke-width: 1.4; }
.orbit__svg .o-spoke { stroke-width: 1; }
