/* ============================================================================
   FUSE XR · DESIGN LANGUAGE v5 — CONVERGENCE
   Shared token + component layer. Imported by every surface in v5/.

   Lineage:
     · v2 (base)        — layout architecture, type system, spacing, components,
                          the "Living instrument" feel. (Instrument Serif /
                          Hanken Grotesk / JetBrains Mono.)
     · v4               — interconnect-line system + corner navigator motif.
     · Direction I      — alive-on-engagement: breathing, drift, signal pulses.

   The room is a deep-blue night (never black). The ecosystem is the instrument,
   lit from within. Six nodes carry their own hue; everything ecosystem-level
   (lines, rings, the Verified-by-Fuse seal) stays root Blue, never node-tinted.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Hanken+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ============================================================================
   ★ SOURCE OF TRUTH — CANONICAL NODE REGISTRY
   Every hexagram renderer (02 landing WebGL · 01 hexagram · the fuse-nav
   navigator) MUST read these exact values. Node identity is defined ONCE here.
   When the JS NODES array, 01's markup, and .fuse-nav disagree, THIS table wins.

   id       name             role                              hue (--node-*)  angle°  status         href
   ───────  ───────────────  ────────────────────────────────  ──────────────  ──────  ─────────────  ──────────────────────
   os       Fuse OS          Intelligence spine · advisory     #8B5CF6  purple    90    live           03-os-roster.html
   studio   Fuse Studio      Production tooling · gen pipeline  #2FB877  green     30    live           09-studio-translation.html
   iq       Fuse iQ          Brief → concept pipeline           #2F8FF0  blue     -30    live (PUBLIC)  04-iq-brief-flow.html
   factory  Fuse Factory     WebAR build engine                 #B23A5B  burgundy -90    coming-online  06-ar-animatic.html
   cs       Client Services  Human handoff layer                #2BB8C4  teal    -150    coming-online  07-proposal.html
   village  Digital Village  Outsourced studio workforce        #F08A3C  orange   150    live           08-iq-translation.html

   Pulse rings (ecosystem-level — ALWAYS root blue, NEVER node-tinted):
     R1 Fidelity / Health · R2 Operational Intelligence · R3 Cascade Orchestrator

   PUBLIC ACCESS MODEL: iQ is the one lit public door (leaves to a live product).
   The other five nodes are "the system behind it" — shown honestly; on the
   landing they open an in-page learn-more panel, never a gated app link.

   ────────────────────────────────────────────────────────────────────────────
   ★ COLOUR SEMANTICS — identity vs state (audit every surface against this)
   • IDENTITY hues (per-node --node-*) mark WHOSE surface this is. They NEVER
     carry state. A node's hue says "this is iQ", never "iQ is busy/healthy".
   • STATE is only ever expressed in the functional accents:
       --sage   healthy / online / pass        --copper  ideation / in-progress
       --gold   attention / nearing a cap       (mint = sage family, "active")
   • ROOT BLUE (--root-blue) is ECOSYSTEM CHROME only: connective lines, the
     three Pulse rings, and the "Verified by Fuse" seal. Never a node tint,
     never a state.
   So: a live/working indicator on an iQ surface is SAGE, not iQ-blue. A score
   bar may use the node hue only because the numeral beside it carries the value.

   ────────────────────────────────────────────────────────────────────────────
   ★ TYPOGRAPHIC SIGNATURE (locked convention)
   Exactly ONE italic-blue emphasis word per serif headline — never two.
   The <em> is always the verb or the payload noun (the thing being claimed),
   rendered italic in --root-blue-hi. One headline, one promise, one accent.
   ============================================================================ */

:root {
  /* — The deep-blue field (midnight → navy; never black) — */
  --field-edge:   #081020;   /* outermost vignette */
  --field-0:      #0B1426;   /* page ground */
  --field-1:      #0E1A36;   /* nearer / centre glow */

  /* — Raised surfaces (navy-tinted, lifted above the field) — */
  --raised:       #101C38;   /* raised plane / rails */
  --card:         #15244A;   /* card surface */
  --card-2:       #1B2D58;   /* hover / focused card */
  --recess:       #0A1530;   /* inset wash */

  --hairline:        rgba(200,216,242,0.09);
  --hairline-2:      rgba(200,216,242,0.15);
  --hairline-bright: rgba(200,216,242,0.24);

  /* — Ink (cool off-white, faintly blue) — */
  --text-hi:      #E8ECF4;
  --text-soft:    #A6B2C8;
  --text-mute:    #6C7B97;
  --text-deep:    #46536E;

  /* — Ecosystem root · Quantum Blue (canonical, never per-node-tinted) — */
  --root-blue:    #2878C0;
  --root-blue-hi: #4A9CE8;
  --root-blue-lo: #1A5A95;
  --root-blue-tint: rgba(40,120,192,0.16);
  --root-blue-wash: rgba(40,120,192,0.07);

  /* — The Ecosystem Six (per-node hues · v5 node palette) — */
  --node-os:      #8B5CF6;   /* Purple — the intelligence spine, strongest */
  --node-iq:      #2F8FF0;   /* Blue (vivid azure, distinct from root Blue) */
  --node-studio:  #2FB877;   /* Green (emerald) */
  --node-factory: #B23A5B;   /* Burgundy (wine red — full saturation, never brown) */
  --node-village: #F08A3C;   /* Orange (amber-orange) */
  --node-cs:      #2BB8C4;   /* Teal */

  /* — Functional state accents (state, not identity) — */
  --sage:   #7FB58A;   --sage-deep: #5C8367;   --sage-tint: rgba(127,181,138,0.14);
  --copper: #D69457;   --copper-deep: #A86D34; --copper-tint: rgba(214,148,87,0.14);
  --gold:   #D8B24E;   --gold-deep:  #A6822E;   --gold-tint: rgba(216,178,78,0.14);

  /* — Type — */
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', 'Söhne', system-ui, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, Menlo, monospace;

  --t-display: clamp(56px, 8.4vw, 132px);
  --t-h1:      clamp(40px, 4.6vw, 64px);
  --t-h2:      clamp(26px, 2.4vw, 34px);
  --t-h3:      20px;
  --t-body:    16px;
  --t-small:   14px;
  --t-caption: 12px;
  --t-mono:    11.5px;

  /* — Depth (Direction H residue: spatial shadow + node glow) — */
  --shadow-1: 0 1px 0 rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.4);
  --shadow-2: 0 6px 24px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.35);
  --shadow-3: 0 24px 64px rgba(0,0,0,.55), 0 8px 18px rgba(0,0,0,.4);
  --glow-blue:   0 0 0 1px rgba(74,156,232,.18), 0 0 28px rgba(74,156,232,.18);
  --glow-sage:   0 0 0 1px rgba(127,181,138,.22), 0 0 24px rgba(127,181,138,.16);
  --glow-copper: 0 0 0 1px rgba(214,148,87,.24), 0 0 26px rgba(214,148,87,.20);

  /* — Motion (the budget) — */
  --breathe-period: 6s;
  --ease-soft:  cubic-bezier(.4, 0, .2, 1);
  --ease-instr: cubic-bezier(.32, .72, 0, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--field-0);
  color: var(--text-hi);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* The deep-blue field — midnight gradient + soft blue nebula. Applied to body
   on every surface so the whole deck reads as one night sky. */
body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 60% at 50% 38%, rgba(40,120,192,0.13) 0%, rgba(40,120,192,0.04) 36%, transparent 64%),
    radial-gradient(ellipse 90% 80% at 22% 82%, rgba(60,90,170,0.09) 0%, transparent 56%),
    radial-gradient(ellipse 80% 70% at 80% 18%, rgba(74,156,232,0.06) 0%, transparent 52%),
    radial-gradient(ellipse 130% 130% at 50% 50%, var(--field-1) 0%, var(--field-0) 68%, var(--field-edge) 100%);
}

a { color: var(--root-blue-hi); text-decoration: none; }
a:hover { color: var(--text-hi); }
::selection { background: var(--root-blue); color: #fff; }

/* — Faint starfield — drop <div class="starfield"></div> as first child of body.
   Pure CSS: layered tiny radial-gradient dots, very low opacity. Fixed + behind. */
.starfield {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(200,222,255,0.55), transparent),
    radial-gradient(1px 1px at 27% 62%, rgba(180,206,245,0.45), transparent),
    radial-gradient(1.4px 1.4px at 41% 31%, rgba(220,235,255,0.5), transparent),
    radial-gradient(1px 1px at 58% 78%, rgba(170,200,240,0.4), transparent),
    radial-gradient(1.3px 1.3px at 69% 22%, rgba(210,228,255,0.5), transparent),
    radial-gradient(1px 1px at 81% 55%, rgba(185,210,248,0.42), transparent),
    radial-gradient(1.2px 1.2px at 90% 80%, rgba(205,225,255,0.46), transparent),
    radial-gradient(1px 1px at 8% 88%, rgba(180,205,245,0.4), transparent),
    radial-gradient(1.1px 1.1px at 48% 50%, rgba(200,222,255,0.4), transparent),
    radial-gradient(1px 1px at 34% 90%, rgba(175,202,242,0.38), transparent),
    radial-gradient(1.3px 1.3px at 75% 40%, rgba(215,232,255,0.46), transparent),
    radial-gradient(1px 1px at 19% 44%, rgba(185,210,248,0.4), transparent);
  background-repeat: no-repeat;
  animation: star-twinkle 9s var(--ease-instr) infinite;
}
@keyframes star-twinkle { 0%,100%{opacity:.85} 50%{opacity:.55} }

/* ============================================================================
   TYPOGRAPHY HELPERS
   ========================================================================== */
.t-display { font-family: var(--serif); font-weight: 400; font-size: var(--t-display); line-height: .94; letter-spacing: -.02em; }
.t-display em { font-style: italic; color: var(--root-blue-hi); }
.t-h1 { font-family: var(--serif); font-weight: 400; font-size: var(--t-h1); line-height: 1.04; letter-spacing: -.01em; }
.t-h1 em { font-style: italic; color: var(--root-blue-hi); }
.t-h2 { font-family: var(--sans); font-weight: 500; font-size: var(--t-h2); line-height: 1.16; letter-spacing: -.005em; }
.t-h3 { font-family: var(--sans); font-weight: 600; font-size: var(--t-h3); line-height: 1.3; }
.t-body { font-size: var(--t-body); line-height: 1.55; color: var(--text-soft); }
.t-small { font-size: var(--t-small); line-height: 1.55; color: var(--text-soft); }
.t-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); }
.t-mono { font-family: var(--mono); font-size: var(--t-mono); letter-spacing: .02em; color: var(--text-mute); }
.t-mono.hi { color: var(--text-soft); }

/* ============================================================================
   COMMON CHROME
   ========================================================================== */
.fxr-mark { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: .03em; color: var(--text-hi); }
.fxr-mark .glyph { width: 18px; height: 18px; border-radius: 4px; background: var(--root-blue); position: relative; box-shadow: 0 0 0 1px rgba(74,156,232,.30), 0 0 18px rgba(74,156,232,.40); }
.fxr-mark .glyph::after { content: ''; position: absolute; inset: 4px; border: 1.5px solid #fff; border-radius: 1px; border-right-color: transparent; border-top-color: transparent; transform: rotate(45deg); opacity: .92; }

/* "Verified by Fuse" — always root blue, never per-node-tinted */
.verified-seal {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px 5px 8px;
  border: 1px solid var(--root-blue); border-radius: 999px;
  background: var(--root-blue-tint); color: var(--root-blue-hi);
  font-family: var(--sans); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}
.verified-seal::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--root-blue); box-shadow: 0 0 8px var(--root-blue-hi); }

/* Evidence tag — links a claim to its source */
.evidence-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 8px; border: 1px solid var(--hairline-2); border-radius: 4px;
  font-family: var(--mono); font-size: 10.5px; color: var(--text-soft); letter-spacing: .04em;
  background: rgba(255,255,255,.02);
}
.evidence-tag::before { content: '§'; color: var(--copper); font-weight: 600; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--hairline-2);
  font-family: var(--sans); font-size: 11px; letter-spacing: .04em; color: var(--text-soft);
  background: rgba(255,255,255,.02);
}
.chip.ideation { color: var(--copper); border-color: var(--copper-deep); background: var(--copper-tint); }
.chip.healthy  { color: var(--sage);   border-color: var(--sage-deep);   background: var(--sage-tint); }
.chip.root     { color: var(--root-blue-hi); border-color: var(--root-blue); background: var(--root-blue-tint); }

/* Node chip — the only place a per-node hue appears in chrome */
.node-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px; border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-soft); background: rgba(255,255,255,.02); border: 1px solid var(--hairline-2);
}
.node-chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--nh, var(--root-blue)); box-shadow: 0 0 8px var(--nh, var(--root-blue)); }
.node-chip.os      { --nh: var(--node-os); }
.node-chip.iq      { --nh: var(--node-iq); }
.node-chip.studio  { --nh: var(--node-studio); }
.node-chip.factory { --nh: var(--node-factory); }
.node-chip.village { --nh: var(--node-village); }
.node-chip.cs      { --nh: var(--node-cs); }

/* Panels */
.panel { background: var(--raised); border: 1px solid var(--hairline); border-radius: 10px; box-shadow: var(--shadow-1); }
.panel.raised { background: var(--card); box-shadow: var(--shadow-2); }

/* ============================================================================
   AMBIENT MOTION PRIMITIVES
   ========================================================================== */
@keyframes breathe       { 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.02); } }
@keyframes breathe-soft  { 0%,100%{ opacity:.7; } 50%{ opacity:1; } }
@keyframes pulse-dot     { 0%,100%{ transform: scale(1); opacity:1; } 50%{ transform: scale(1.3); opacity:.6; } }
@keyframes orbit-slow    { to { transform: rotate(360deg); } }
@keyframes orbit-rev     { to { transform: rotate(-360deg); } }
@keyframes thread-pulse  { 0%{ stroke-dashoffset:0; opacity:0; } 20%{ opacity:1; } 100%{ stroke-dashoffset:-200; opacity:0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .starfield { animation: none !important; }
}

/* ============================================================================
   VARIANT STRIP — top identity bar for document surfaces (00, 01, 07)
   ========================================================================== */
.variant-strip {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 24px;
  padding: 14px 32px; border-bottom: 1px solid var(--hairline);
  font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute);
  background: rgba(14,26,54,.7); backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
}
.variant-strip .v-id b { color: var(--text-hi); font-weight: 600; }
.variant-strip .v-name { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--text-soft); }
.variant-strip .v-date { font-family: var(--mono); letter-spacing: .04em; }

/* ============================================================================
   CORNER NAVIGATOR — the persistent mini planetoid-hexagram (v4 motif).
   Lives bottom-right on every interior surface (00,01,03–09; not on 02).
   A live, gently-rotating mini-system that highlights the CURRENT node for
   wayfinding and links back to the landing (02).

   Markup (paste on each interior; set data-node to this surface's node):
     <a class="fuse-nav" data-node="os" href="02-landing.html"
        aria-label="Fuse ecosystem — return to landing">
       <span class="fuse-nav__rings"><i></i><i></i><i></i></span>
       <span class="fuse-nav__hex">
         <i class="nd os"></i><i class="nd studio"></i><i class="nd iq"></i>
         <i class="nd factory"></i><i class="nd cs"></i><i class="nd village"></i>
         <i class="core"></i>
       </span>
       <span class="fuse-nav__lbl">Ecosystem · <b>Fuse OS</b></span>
     </a>
   ========================================================================== */
.fuse-nav {
  position: fixed; bottom: 22px; right: 22px;
  width: 92px; height: 92px; z-index: 120;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(20,36,74,.95), rgba(10,21,48,.92));
  border: 1px solid var(--hairline-2);
  box-shadow: var(--shadow-2), inset 0 0 22px rgba(40,120,192,.12);
  cursor: pointer;
  transition: transform .5s var(--ease-instr), box-shadow .5s var(--ease-instr), border-color .5s var(--ease-instr);
}
.fuse-nav:hover { transform: translateY(-2px) scale(1.04); border-color: var(--root-blue); box-shadow: var(--shadow-3), var(--glow-blue); }

/* three rotating rings */
.fuse-nav__rings { position: absolute; inset: 0; }
.fuse-nav__rings i { position: absolute; border-radius: 50%; border: 1px solid; }
.fuse-nav__rings i:nth-child(1) { inset: 8px;  border-color: rgba(40,120,192,.40); border-style: dashed; animation: orbit-slow 26s linear infinite; }
.fuse-nav__rings i:nth-child(2) { inset: 16px; border-color: rgba(40,120,192,.28); animation: orbit-rev 34s linear infinite; }
.fuse-nav__rings i:nth-child(3) { inset: 24px; border-color: rgba(74,156,232,.22); border-style: dashed; animation: orbit-slow 44s linear infinite; }

/* hexagram field — faint interconnect lines via data-URI SVG (root blue) */
.fuse-nav__hex {
  position: absolute; inset: 0; border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 92'><g fill='none' stroke='%232878C0' stroke-width='1' opacity='0.30'><path d='M46 18 L70 32 L70 60 L46 74 L22 60 L22 32 Z'/><path d='M46 18 L70 60 L22 60 Z'/><path d='M70 32 L46 74 L22 32 Z'/></g></svg>");
  background-size: 100% 100%;
}
/* six node dots, placed on the hexagon */
.fuse-nav__hex .nd {
  position: absolute; top: 50%; left: 50%;
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
  background: var(--nd-c, var(--text-deep)); opacity: .45;
  transition: opacity .4s var(--ease-instr), box-shadow .4s var(--ease-instr), transform .4s var(--ease-instr);
}
.fuse-nav__hex .nd.os      { transform: translate(0, -28px);    --nd-c: var(--node-os); }
.fuse-nav__hex .nd.studio  { transform: translate(24px, -14px); --nd-c: var(--node-studio); }
.fuse-nav__hex .nd.iq      { transform: translate(24px, 14px);  --nd-c: var(--node-iq); }
.fuse-nav__hex .nd.factory { transform: translate(0, 28px);     --nd-c: var(--node-factory); }
.fuse-nav__hex .nd.cs      { transform: translate(-24px, 14px); --nd-c: var(--node-cs); }
.fuse-nav__hex .nd.village { transform: translate(-24px, -14px);--nd-c: var(--node-village); }
.fuse-nav__hex .core {
  position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--root-blue-hi), var(--root-blue) 60%, var(--root-blue-lo));
  box-shadow: 0 0 12px rgba(74,156,232,.55);
  animation: breathe var(--breathe-period) var(--ease-instr) infinite;
}
/* current node lights up (matched by data-node on the wrapper) */
.fuse-nav[data-node="os"]      .nd.os,
.fuse-nav[data-node="iq"]      .nd.iq,
.fuse-nav[data-node="studio"]  .nd.studio,
.fuse-nav[data-node="factory"] .nd.factory,
.fuse-nav[data-node="village"] .nd.village,
.fuse-nav[data-node="cs"]      .nd.cs {
  opacity: 1;
  box-shadow: 0 0 10px var(--nd-c), 0 0 2px var(--nd-c);
  animation: pulse-dot 3.4s var(--ease-instr) infinite;
}
.fuse-nav__lbl {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute);
  opacity: 0; transition: opacity .3s var(--ease-instr); pointer-events: none;
}
.fuse-nav__lbl b { color: var(--text-hi); font-weight: 600; }
.fuse-nav:hover .fuse-nav__lbl { opacity: 1; }

@media (max-width: 760px) {
  .fuse-nav { width: 64px; height: 64px; bottom: 14px; right: 14px; }
  .fuse-nav__hex .nd.os { transform: translate(0,-19px); }
  .fuse-nav__hex .nd.studio { transform: translate(16px,-9px); }
  .fuse-nav__hex .nd.iq { transform: translate(16px,9px); }
  .fuse-nav__hex .nd.factory { transform: translate(0,19px); }
  .fuse-nav__hex .nd.cs { transform: translate(-16px,9px); }
  .fuse-nav__hex .nd.village { transform: translate(-16px,-9px); }
  .fuse-nav__lbl { display: none; }
}

/* ============================================================================
   INTERACTIVE VERIFIED SEAL + PROVENANCE / LEARN PANELS
   The seal is activatable (button or [data-seal]) and reveals a Content-
   Credentials-style "nutrition label" explaining what Verified by Fuse means.
   Learn panels use the pure-CSS :target pattern so they work without JS and
   without a mouse; JS only adds Esc-to-close and focus management.
   ========================================================================== */
button.verified-seal { font: inherit; cursor: pointer; }
.verified-seal.is-interactive, button.verified-seal { cursor: pointer; transition: background .2s var(--ease-soft), color .2s var(--ease-soft), border-color .2s var(--ease-soft); }
.verified-seal.is-interactive:hover, button.verified-seal:hover { background: var(--root-blue); color: #fff; }
.verified-seal:focus-visible { outline: 2px solid var(--root-blue-hi); outline-offset: 3px; }

/* :target panel shell — reused for node learn-more, ring info, and provenance */
.learn {
  position: fixed; inset: 0; z-index: 240;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.learn:target { display: flex; }
.learn__scrim { position: absolute; inset: 0; background: rgba(6,10,22,.74); backdrop-filter: blur(7px); }
.learn__card {
  position: relative; z-index: 1;
  width: min(540px, 100%); max-height: 86vh; overflow-y: auto;
  background: var(--raised); border: 1px solid var(--hairline-2); border-radius: 16px;
  box-shadow: var(--shadow-3); padding: 30px 32px 28px;
  animation: learn-rise .26s var(--ease-instr) both;
}
@keyframes learn-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .learn__card { animation: none; } }
.learn__x {
  position: absolute; top: 14px; right: 16px;
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 8px; border: 1px solid var(--hairline-2); background: rgba(255,255,255,.02);
  color: var(--text-soft); font-size: 18px; line-height: 1; text-decoration: none;
}
.learn__x:hover { color: var(--text-hi); border-color: var(--hairline-bright); background: rgba(255,255,255,.05); }
.learn__x:focus-visible { outline: 2px solid var(--root-blue-hi); outline-offset: 2px; }
.learn__t {
  font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05;
  color: var(--text-hi); margin: 16px 0 12px; letter-spacing: -.01em;
}
.learn__t em { font-style: italic; color: var(--root-blue-hi); }   /* one accent only */
.learn__lede { font-size: 15px; line-height: 1.62; color: var(--text-soft); margin: 0 0 18px; }
.learn__lede strong { color: var(--text-hi); font-weight: 600; }
.learn__status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); }
.learn__status .d { width: 7px; height: 7px; border-radius: 50%; }
.learn__status.live .d { background: var(--sage); box-shadow: 0 0 8px var(--sage); }
.learn__status.soon .d { background: var(--text-deep); }

/* "nutrition label" credential rows for the provenance panel */
.cred { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; margin: 4px 0 6px; }
.cred .r { display: grid; grid-template-columns: 132px 1fr; gap: 14px; padding: 12px 14px; background: var(--recess); }
.cred .r .k { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--root-blue-hi); }
.cred .r .v { font-size: 13px; color: var(--text-soft); line-height: 1.45; }
.cred .r .v b { color: var(--text-hi); font-weight: 600; }
.demo-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); border: 1px dashed var(--copper-deep); background: var(--copper-tint); border-radius: 6px; padding: 4px 9px; }


.shell { max-width: 1280px; margin: 0 auto; padding: 0 56px 120px; position: relative; z-index: 1; }
.surface-header { padding: 56px 0 28px; border-bottom: 1px solid var(--hairline); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.surface-header .crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--text-mute); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.surface-header .crumbs i { font-style: normal; color: var(--text-deep); }
.surface-header h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 1; color: var(--text-hi); }
.surface-header h1 em { font-style: italic; color: var(--root-blue-hi); }
.surface-header .lede { margin-top: 14px; max-width: 64ch; font-size: 16px; line-height: 1.55; color: var(--text-soft); }
.surface-header .meta { font-family: var(--mono); font-size: 11px; color: var(--text-mute); letter-spacing: .12em; text-transform: uppercase; text-align: right; }
