/* =========================================================
   Astrala Nexus v3 — WP Breakout (must come first)
   Defeats Twenty-twenty-five / Assembler theme defaults that
   would otherwise constrain our home page width and inject a
   placeholder footer (Location / Hours / hi@example.com).
   Lives in the external stylesheet because WordPress's wpautop
   filter mangles inline <style> blocks inside post content.
   ========================================================= */
:root, html, body, body.home, body.page-id-4 {
  --wp--style--global--content-size: none !important;
  --wp--style--global--wide-size: 100% !important;
}
html, body { margin: 0 !important; padding: 0 !important; background: #0c0e0d !important; }

/* Hide WP theme chrome (header + footer template-parts) on the home page */
body.home .wp-site-blocks > header.wp-block-template-part,
body.page-id-4 .wp-site-blocks > header.wp-block-template-part,
body.home .wp-site-blocks > footer.wp-block-template-part,
body.page-id-4 .wp-site-blocks > footer.wp-block-template-part,
body.home .wp-site-blocks > .wp-block-template-part,
body.page-id-4 .wp-site-blocks > .wp-block-template-part { display: none !important; }

/* Force every WP wrapper to full bleed inside the home page */
body.home main.wp-block-group,
body.page-id-4 main.wp-block-group,
body.home .entry-content,
body.page-id-4 .entry-content,
body.home .wp-block-post-content,
body.page-id-4 .wp-block-post-content,
body.home .wp-block-group,
body.page-id-4 .wp-block-group,
body.home .is-layout-constrained,
body.page-id-4 .is-layout-constrained,
body.home .is-layout-flow,
body.page-id-4 .is-layout-flow {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
body.home .has-global-padding,
body.page-id-4 .has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Strip empty <p> tags wpautop injects between our HTML blocks. They
   create unwanted vertical gaps and (more importantly) break sticky
   layouts because they show up as empty rendered nodes between sections. */
body.home .entry-content > p:empty,
body.page-id-4 .entry-content > p:empty,
body.home .entry-content > p:has(> br:only-child),
body.page-id-4 .entry-content > p:has(> br:only-child) { display: none !important; }

/* The fixed site-header MUST span the full viewport */
#siteHeader,
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  z-index: 9999 !important;
}
.header-inner {
  max-width: 1440px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* Hide Call-Now / Click-Bar plugin (WhatsApp + Call Now) — desktop AND mobile */
html body #cncb-bar,
html body .cncb-bar,
html body .cncb-fab,
html body div.cncb-bar.cncb-layout-horizontal,
html body div.cncb-bar.cncb-position-bottom,
html body div.cncb-bar.cncb-position-top {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* =========================================================
   Astrala Nexus v3 — Design Tokens
   ========================================================= */
:root {
  /* Palette — forest greens with warm wheat accent (Moss/Sage/Forest/Evergreen/Shadows/Midnight) */
  --bg: #0c0e0d;           /* Shadows — page background top */
  --bg-mid: #1a2320;       /* mid — between Shadows and Evergreen for gradient */
  --bg-deep: #050706;      /* Midnight — deepest gradient stop */
  --surface: #1a2320;      /* Evergreen — lifted card surfaces */
  --surface-2: #2a3530;    /* Forest — callouts and inset blocks */
  --divider: rgba(255, 255, 255, 0.12);
  --divider-strong: rgba(255, 255, 255, 0.22);

  --accent: #ffffff;       /* Wheat — warm cream accent */
  --accent-soft: rgba(255, 255, 255, 0.55);
  --accent-fade: rgba(255, 255, 255, 0.18);

  /* Primary CTAs — cream/brass chip (kept token name --amber for compat) */
  --amber: #5a7d6e;        /* chip mid stop — darker forest sage */
  --amber-hover: #6b8f80;  /* hover */
  --amber-deep: #456558;   /* chip foot for depth */
  --amber-ink: #050706;    /* Midnight text on cream chip */

  --color-warning: #d4a04a;          /* still amber, used by Node 3 / JSL only */
  --color-warning-soft: rgba(212, 160, 74, 0.06);
  /* Magnus (Node 4) — blue / white / amber tri-tone */
  --color-magnus: #5fa3d4;             /* clearer Magnus blue */
  --color-magnus-bright: #8ec5ec;      /* lifted highlight */
  --color-magnus-deep: #2c6fa3;        /* gradient deep stop */
  --color-magnus-soft: rgba(95, 163, 212, 0.10);
  --color-magnus-white: #f4faff;       /* white-blue text */
  --color-magnus-amber: #e8a94a;       /* amber accent (warm) */
  --color-magnus-amber-bright: #f5c97a; /* amber highlight */
  --color-magnus-amber-deep: #b67a1f;   /* amber gradient deep stop */
  --color-magnus-amber-soft: rgba(232, 169, 74, 0.18);
  --color-magnus-amber-glow: rgba(245, 201, 122, 0.55);
  --color-magnus-cream: #ffffff;        /* warm white text on amber */

  --ink: #fafefd;          /* warm off-white for body */
  --ink-mute: #b8c4be;     /* Moss for secondary text */
  --ink-quiet: #5a6b65;    /* Sage for tertiary/quiet text */

  --header-h: 64px;

  /* Type scale (capped at --text-2xl per brief) */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); /* 32–56px */

  /* Spacing */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --radius: 14px;
  --radius-lg: 22px;

  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  --easing-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   Reset & Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* Hard-clip horizontal overflow at the document root so iOS doesn't wobble between widths
     when reveal-* transforms momentarily place content past the viewport edges. */
  overflow-x: clip;
  overflow-y: auto;
}
body { overflow-x: clip; }
body {
  /* Continuous blue-grey field — sections merge into one gradient page */
  background:
    radial-gradient(80% 40% at 70% 0%, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.display { font-family: 'Fraunces', 'Times New Roman', serif; font-weight: 400; font-style: normal; letter-spacing: -0.01em; line-height: 1.05; font-variation-settings: "opsz" 96, "SOFT" 50; }
.display em { font-style: italic; font-variation-settings: "opsz" 96, "SOFT" 100; color: var(--accent); }

.eyebrow { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--space-4) 0; }
.section-title { font-size: var(--text-2xl); margin: 0 0 var(--space-5) 0; max-width: 22ch; }
.section-intro { color: var(--ink-mute); max-width: 64ch; margin: 0 0 var(--space-7) 0; font-size: var(--text-md); }
.section-intro.mono { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink-quiet); text-transform: uppercase; }
.small { font-size: var(--text-sm); }
.muted { color: var(--ink-quiet); }

.container { width: min(1200px, 100% - 2.5rem); margin: 0 auto; }
.container-narrow { width: min(820px, 100% - 2.5rem); margin: 0 auto; }

.section { padding: var(--space-10) 0; position: relative; }
.section-head { margin-bottom: var(--space-8); }
.section-head-centre { text-align: center; }
.section-head-centre .section-title { margin-left: auto; margin-right: auto; max-width: 22ch; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform 220ms var(--easing), background 220ms var(--easing), color 220ms var(--easing), box-shadow 220ms var(--easing);
  white-space: nowrap;
  will-change: transform;
  max-width: 100%;
}
@media (max-width: 600px) {
  .btn-lg { white-space: normal; text-align: center; padding: 0.95rem 1.3rem; font-size: var(--text-base); }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
  .cta-row .text-link { justify-content: center; padding: 0.5rem 0; }
}
.btn .arr { transition: transform 220ms var(--easing); }
.btn:hover .arr { transform: translateX(4px); }

/* Cream/brass primary CTA — warm highlight, brass foot for depth */
.btn-amber {
  background: var(--amber);
  color: var(--amber-ink);
  font-weight: 600;
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.5);
}
.btn-amber:hover {
  background: var(--amber-hover);
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--divider-strong);
}
.btn-outline:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }

.btn-sm { padding: 0.55rem 1rem; font-size: 0.8rem; }
.btn-md { padding: 0.85rem 1.4rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: var(--text-base); }
.btn-xl { padding: 1.25rem 2.5rem; font-size: var(--text-lg); }

.text-link {
  color: var(--accent);
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--accent-fade);
  padding-bottom: 2px;
  transition: border-color 220ms var(--easing), color 220ms var(--easing);
}
.text-link:hover { border-color: var(--accent); }
.text-link.inline { font-size: inherit; }
.text-link .arr { transition: transform 220ms var(--easing); }
.text-link:hover .arr { transform: translateX(3px); }

/* =========================================================
   Sticky Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(12, 14, 13, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--easing), background 220ms var(--easing);
}
.site-header.is-scrolled { border-bottom-color: var(--divider); background: rgba(12, 14, 13, 0.85); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: 0 1.25rem;
  width: min(1320px, 100%);
  margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--accent); }
.brand .wordmark {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: #fafefd;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
}
.brand:hover .wordmark { color: #5e7871; transition: color 220ms var(--easing); }
.brand .logo {
  color: #ffffff;
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.65))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.45));
  transition: filter 240ms var(--easing), transform 280ms var(--easing), color 240ms var(--easing);
}
.brand:hover .logo {
  color: #ffffff;
  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.85))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.55));
  transform: scale(1.05);
}
@keyframes logoBreath {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.55)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.40)); }
  50%      { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 26px rgba(255, 255, 255, 0.60)); }
}
.brand .logo { animation: logoBreath 4.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .brand .logo { animation: none; }
}

.nav { display: flex; gap: 1.6rem; flex: 1; justify-content: center; }
.nav a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color 200ms var(--easing), border-color 200ms var(--easing);
}
.nav a:hover { color: var(--accent); border-color: var(--accent-fade); }

.header-cta { display: flex; align-items: center; gap: 0.6rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform 220ms var(--easing), opacity 220ms var(--easing); }
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav { display: none; }
.mobile-nav.is-open { display: flex; flex-direction: column; padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--divider); background: rgba(12, 14, 13, 0.95); }
.mobile-nav a { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.85rem 0; color: var(--ink-mute); border-bottom: 1px solid var(--divider); }
.mobile-nav a:last-child { border-bottom: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .brand .wordmark { display: none; }
}
@media (max-width: 480px) {
  .header-cta .btn-outline { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + var(--space-7));
  padding-bottom: var(--space-9);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
/* Soft radial glow behind the headline — replaces the photo.
   Adds depth without competing with the particle network. */
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 30% 45%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 35%, rgba(12, 14, 13, 0) 70%),
    radial-gradient(80% 80% at 70% 60%, rgba(12, 14, 13, 0) 0%, rgba(12, 14, 13, 0.45) 100%);
  z-index: -2;
  pointer-events: none;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.7; }

.hero-inner {
  width: min(1200px, 100% - 2.5rem);
  margin: 0 auto;
  max-width: 100%;
  position: relative;
}
.hero .headline {
  font-size: var(--text-2xl);
  margin: 0 0 var(--space-5) 0;
  max-width: 18ch;
  letter-spacing: -0.015em;
}
.hero .headline .wipe {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hero.is-anim .headline .wipe { clip-path: inset(0 0 0 0); }

.hero .subtitle {
  max-width: 60ch;
  color: var(--ink-mute);
  font-size: var(--text-md);
  margin: 0 0 var(--space-7) 0;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: var(--space-8);
}
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid transparent;
  border-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 25%,
    rgba(225, 248, 252, 0.55) 50%,
    rgba(255, 255, 255, 0.55) 75%,
    rgba(255, 255, 255, 0) 100%
  ) 1;
  max-width: 880px;
  position: relative;
}
.proof-row::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  filter: blur(3px);
  pointer-events: none;
}
@media (max-width: 600px) {
  .proof-row { grid-template-columns: 1fr; gap: var(--space-4); }
}
.proof-item { display: flex; flex-direction: column; gap: 0.25rem; }
.proof-num {
  font-size: var(--text-md);
  color: #fafefd;
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}
.proof-label {
  font-size: 0.76rem;
  color: rgba(230, 236, 242, 0.78);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.74rem; letter-spacing: 0.22em;
  color: #fafefd;
  text-transform: uppercase;
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.55),
    0 0 32px rgba(255, 255, 255, 0.30);
}
.scroll-line {
  width: 2px;
  height: 44px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(195, 240, 248, 0.95) 75%,
    transparent);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.55);
  border-radius: 2px;
}

/* Hero entrance choreography */
.hero [data-anim] { opacity: 0; transform: translateY(12px); transition: opacity 700ms var(--easing-out), transform 700ms var(--easing-out); }
.hero [data-anim="hero-headline"] { transform: none; }
.hero.is-anim [data-anim="hero-eyebrow"]   { opacity: 1; transform: translateY(0); transition-delay: 200ms; }
.hero.is-anim [data-anim="hero-headline"]  { opacity: 1; transition-delay: 500ms; }
.hero.is-anim [data-anim="hero-subtitle"]  { opacity: 1; transform: translateY(0); transition-delay: 900ms; }
.hero.is-anim [data-anim="hero-ctas"]      { opacity: 1; transform: translateY(0); transition-delay: 1100ms; }
.hero.is-anim [data-anim="hero-proof"]     { opacity: 1; transform: translateY(0); transition-delay: 1350ms; }
.hero.is-anim [data-anim="hero-scroll"]    { opacity: 1; transform: translate(-50%, 0); transition-delay: 2500ms; animation: pulseBreath 3.4s ease-in-out 2700ms infinite; }

.cta-row > [data-stagger] { opacity: 0; transform: translateY(8px); transition: opacity 600ms var(--easing-out), transform 600ms var(--easing-out); }
.proof-row > [data-stagger] { opacity: 0; transform: translateY(8px); transition: opacity 600ms var(--easing-out), transform 600ms var(--easing-out); }
.hero.is-anim .cta-row > [data-stagger="0"] { opacity: 1; transform: translateY(0); transition-delay: 1100ms; }
.hero.is-anim .cta-row > [data-stagger="1"] { opacity: 1; transform: translateY(0); transition-delay: 1180ms; }
.hero.is-anim .cta-row > [data-stagger="2"] { opacity: 1; transform: translateY(0); transition-delay: 1260ms; }
.hero.is-anim .proof-row > [data-stagger="0"] { opacity: 1; transform: translateY(0); transition-delay: 1350ms; }
.hero.is-anim .proof-row > [data-stagger="1"] { opacity: 1; transform: translateY(0); transition-delay: 1430ms; }
.hero.is-anim .proof-row > [data-stagger="2"] { opacity: 1; transform: translateY(0); transition-delay: 1510ms; }

@keyframes pulseBreath {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* =========================================================
   01 PLATFORM — two tracks
   ========================================================= */
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.track-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  isolation: isolate;
  overflow: hidden;
}
.track-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 50% 0%, rgba(255, 255, 255,0.05), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.track-accent { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); }
.track-accent-amber { background: var(--amber); }
.track-title { font-size: var(--text-xl); margin: 0; }
.track-card .bullets { margin: var(--space-4) 0 var(--space-5) 0; }
.track-card .btn { align-self: flex-start; margin-top: auto; }

.bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.bullets li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-mute); font-size: var(--text-base); }
.bullets .check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255,0.14);
  color: var(--accent);
  font-size: 0.7rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 4px;
}
.bullets-quiet li { font-size: var(--text-sm); color: var(--ink-mute); }

@media (max-width: 820px) {
  .platform-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   02 MAP — sector tiles
   ========================================================= */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.sector-tile {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-5);
  transition: border-color 260ms var(--easing), transform 260ms var(--easing), background 260ms var(--easing);
}
.sector-tile:hover { border-color: var(--accent-fade); transform: translateY(-3px); background: var(--surface-2); }
.sector-name { font-family: 'Fraunces', serif; font-size: var(--text-xl); margin: 0 0 0.4rem 0; font-weight: 400; }
.sector-count { color: var(--accent); font-size: 0.78rem; letter-spacing: 0.06em; margin: 0 0 0.6rem 0; text-transform: uppercase; }
.sector-qual { color: var(--ink-mute); font-size: var(--text-sm); margin: 0; }

@media (max-width: 820px) { .sector-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sector-grid { grid-template-columns: 1fr; } }

/* =========================================================
   03 DIFFERENCE — comparison table
   ========================================================= */
.compare-wrap { overflow-x: auto; border: 1px solid var(--divider); border-radius: var(--radius); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 1.1rem 1.25rem;
  vertical-align: top;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--divider);
}
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th { border-bottom: none; }
.compare-table thead th {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--ink-quiet);
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--divider-strong);
  background: rgba(0,0,0,0.18);
}
.compare-table .row-label {
  width: 28%;
  color: var(--ink);
  font-weight: 500;
}
.compare-table .trad { color: var(--ink-quiet); }
.compare-table .astrala { color: var(--ink); }
.compare-table .astrala strong { color: var(--accent); font-weight: 500; }

.compare-table tbody tr {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 600ms var(--easing-out), transform 600ms var(--easing-out);
}
.compare-table.is-anim tbody tr { opacity: 1; transform: translateX(0); }

@media (max-width: 720px) {
  .compare-table .row-label { width: auto; }
  .compare-table thead { display: none; }
  .compare-table tbody tr { display: grid; grid-template-columns: 1fr; padding: 0.9rem 0; border-bottom: 1px solid var(--divider); }
  .compare-table tbody tr:last-child { border-bottom: none; }
  .compare-table th, .compare-table td { border: none; padding: 0.4rem 1.25rem; }
  .compare-table .trad::before { content: "Traditional · "; color: var(--ink-quiet); font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 0.2rem; }
  .compare-table .astrala::before { content: "Astrala · "; color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 0.2rem; margin-top: 0.3rem; }
}

/* =========================================================
   04 NETWORK — sticky-pin
   ========================================================= */
.section-network { padding-bottom: var(--space-8); }
.network-pin { position: relative; height: 180vh; }
.network-grid {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 1.4fr;
  gap: var(--space-7);
  align-items: center;
  padding: var(--space-6) 0;
}
.network-copy { display: flex; flex-direction: column; gap: var(--space-5); }
.progress-block { display: flex; flex-direction: column; gap: 0.5rem; }
.progress-labels { display: flex; justify-content: space-between; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--ink-quiet); text-transform: uppercase; }
.progress-bar { height: 2px; background: var(--divider); position: relative; overflow: hidden; }
.progress-bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
  transition: width 80ms linear;
}

.frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 1.25rem;
}
.frame canvas { width: 100%; height: 100%; }
.bracket { position: absolute; width: 14px; height: 14px; border-color: var(--accent); border-style: solid; border-width: 0; }
.bracket-tl { top: -1px; left: -1px; border-top-width: 1.5px; border-left-width: 1.5px; }
.bracket-tr { top: -1px; right: -1px; border-top-width: 1.5px; border-right-width: 1.5px; }
.bracket-bl { bottom: -1px; left: -1px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.bracket-br { bottom: -1px; right: -1px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.frame-caption {
  position: absolute;
  top: 0.75rem; left: 1.25rem; right: 1.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--ink-quiet);
  text-transform: uppercase;
  margin: 0;
}
.frame-caption-bottom {
  top: auto; bottom: 0.75rem;
  display: flex; justify-content: space-between;
}
.frame-caption span span { color: var(--accent); }

@media (max-width: 820px) {
  .network-pin { height: auto; }
  .network-grid { position: static; height: auto; grid-template-columns: 1fr; }
  .frame { aspect-ratio: 1 / 1; }
}

/* =========================================================
   05 INTELLIGENCE — TIM tiers
   ========================================================= */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.tier-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color 260ms var(--easing), transform 260ms var(--easing);
}
.tier-card:hover { border-color: var(--accent-fade); transform: translateY(-3px); }
.tier-num { font-size: 0.7rem; letter-spacing: 0.16em; color: var(--ink-quiet); text-transform: uppercase; margin: 0; }
.tier-name { font-size: var(--text-xl); margin: 0; font-weight: 400; }
.tier-desc { color: var(--ink-mute); font-size: var(--text-sm); margin: 0; }
.tier-foot {
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--divider);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tier-foot .tier-price { color: var(--accent); font-size: 0.85rem; letter-spacing: 0.04em; }
.tier-foot .tier-meta { color: var(--ink-quiet); }

.tier-featured { border-color: var(--accent-fade); background: linear-gradient(180deg, rgba(255, 255, 255,0.04), transparent 60%), var(--surface); }
.tier-tag {
  position: absolute;
  top: -12px; left: 1.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  background: var(--accent);
  color: var(--bg);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.tim-note { text-align: center; margin-top: var(--space-7); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ink-quiet); text-transform: uppercase; }

@media (max-width: 820px) { .tier-grid { grid-template-columns: 1fr; } }

/* =========================================================
   02 JOURNEY — spine timeline v2
   ========================================================= */
.section-journey { position: relative; --spine-progress: 0; }

.spine {
  position: relative;
  margin: var(--space-7) auto 0 auto;
  padding: var(--space-4) 0 var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-9);
}

/* Vertical centre spine — fills with turquoise as user scrolls */
.spine-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-1px);
  background: linear-gradient(
    to bottom,
    var(--accent) 0%,
    var(--accent) calc(var(--spine-progress, 0) * 100%),
    var(--divider) calc(var(--spine-progress, 0) * 100%),
    var(--divider) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Each row holds one node + one card */
.spine-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 220px;
  column-gap: var(--space-7);
}
.spine-row-left .journey-node-card {
  grid-column: 1;
  justify-self: end;
  text-align: left;
}
.spine-row-right .journey-node-card {
  grid-column: 2;
  justify-self: start;
}

/* Node circle on the spine */
.spine-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  margin-left: -18px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: background 300ms var(--easing), border-color 300ms var(--easing), box-shadow 300ms var(--easing);
}
.spine-node-num {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  transition: color 300ms var(--easing);
}
.spine-node-warning { border-color: var(--color-warning); }
.spine-node-warning .spine-node-num { color: var(--color-warning); }
.spine-node-magnus { border-color: var(--color-magnus-amber); }
.spine-node-magnus .spine-node-num { color: var(--color-magnus-amber-bright); }

/* Active state — fill + glow ring keyframe */
.spine-row.is-active .spine-node {
  background: var(--accent);
  animation: nodePulse 1200ms var(--easing-out) 1, nodePulseLoop 4s ease-in-out 1200ms infinite;
}
.spine-row.is-active .spine-node-num { color: var(--bg); }
.spine-row.is-active .spine-node-warning {
  background: var(--color-warning);
  animation: nodePulseWarn 1200ms var(--easing-out) 1, nodePulseWarnLoop 4s ease-in-out 1200ms infinite;
}
.spine-row.is-active .spine-node-warning .spine-node-num { color: #1a1208; }
.spine-row.is-active .spine-node-magnus {
  background: var(--color-magnus-amber);
  animation: nodePulseMagnus 1200ms var(--easing-out) 1, nodePulseMagnusLoop 4s ease-in-out 1200ms infinite;
}
.spine-row.is-active .spine-node-magnus .spine-node-num { color: #1a1208; }

@keyframes nodePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
  100% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
}
@keyframes nodePulseLoop {
  0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
  10% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); }
  40% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
}
@keyframes nodePulseWarn {
  0% { box-shadow: 0 0 0 0 rgba(212, 160, 74, 0.6); }
  100% { box-shadow: 0 0 0 18px rgba(212, 160, 74, 0); }
}
@keyframes nodePulseWarnLoop {
  0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(212, 160, 74, 0); }
  10% { box-shadow: 0 0 0 0 rgba(212, 160, 74, 0.45); }
  40% { box-shadow: 0 0 0 14px rgba(212, 160, 74, 0); }
}
@keyframes nodePulseMagnus {
  0% { box-shadow: 0 0 0 0 rgba(232, 169, 74, 0.65); }
  100% { box-shadow: 0 0 0 18px rgba(232, 169, 74, 0); }
}
@keyframes nodePulseMagnusLoop {
  0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(232, 169, 74, 0); }
  10% { box-shadow: 0 0 0 0 rgba(232, 169, 74, 0.50); }
  40% { box-shadow: 0 0 0 14px rgba(232, 169, 74, 0); }
}

/* Connector — thin horizontal line from node to card */
.spine-connector {
  position: absolute;
  top: 50%;
  height: 1px;
  background: var(--divider-strong);
  z-index: 2;
  pointer-events: none;
}
.spine-row-left .spine-connector {
  right: 50%;
  width: calc(50% - 18px - var(--space-7));
  margin-right: 18px;
}
.spine-row-right .spine-connector {
  left: 50%;
  width: calc(50% - 18px - var(--space-7));
  margin-left: 18px;
}
.spine-connector-warning { background: rgba(212, 160, 74, 0.4); }
.spine-connector-magnus { background: rgba(232, 169, 74, 0.45); }

/* The card itself */
.journey-node-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  max-width: 460px;
  isolation: isolate;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 600ms var(--easing-out), transform 600ms var(--easing-out);
}
.spine-row-left .journey-node-card { transform: translateX(-32px); }
.spine-row-right .journey-node-card { transform: translateX(32px); }
.spine-row.is-active .journey-node-card { opacity: 1; transform: translateX(0); }

.jc-warning {
  border-top-color: var(--color-warning);
  background: linear-gradient(180deg, var(--color-warning-soft), rgba(12, 14, 13, 0));
  background-color: var(--surface);
}
.jc-magnus {
  border-top: 2px solid var(--color-magnus-amber);
  background:
    linear-gradient(180deg, rgba(232, 169, 74, 0.16) 0%, rgba(12, 14, 13, 0) 60%),
    radial-gradient(140% 80% at 0% 0%, rgba(95, 163, 212, 0.10) 0%, transparent 50%),
    var(--surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 160, 0.10),
    0 0 0 1px rgba(232, 169, 74, 0.18),
    0 0 32px -10px rgba(232, 169, 74, 0.30);
}
.jc-magnus .journey-title { color: var(--color-magnus-cream); }
.jc-magnus .journey-title em { color: var(--color-magnus-amber-bright); font-style: italic; }
.jc-magnus .journey-body { color: rgba(255, 244, 220, 0.80); }

.track-aside {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-2) 0;
}
.track-aside-warning { color: var(--color-warning); }
.track-aside-magnus { color: var(--color-magnus-amber-bright); }
.eyebrow-warning { color: var(--color-warning); }
.eyebrow-magnus { color: var(--color-magnus-amber-bright); }
.eyebrow-magnus::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 0.55rem;
  border-radius: 50%;
  background: var(--color-magnus-amber-bright);
  box-shadow: 0 0 10px rgba(245, 201, 122, 0.85), 0 0 20px rgba(232, 169, 74, 0.55);
  vertical-align: middle;
  animation: amberDotBreath 2.6s ease-in-out infinite;
}
@keyframes amberDotBreath {
  0%, 100% { box-shadow: 0 0 10px rgba(245, 201, 122, 0.85), 0 0 20px rgba(232, 169, 74, 0.55); }
  50% { box-shadow: 0 0 14px rgba(255, 220, 150, 1), 0 0 28px rgba(245, 201, 122, 0.75); }
}

.journey-title { font-size: var(--text-xl); margin: 0; max-width: 22ch; line-height: 1.15; }
.journey-body { color: var(--ink-mute); font-size: var(--text-sm); margin: 0; max-width: 60ch; line-height: 1.6; }
.journey-body-quiet { color: var(--ink-quiet); font-size: 0.82rem; }

/* Features list (Node 1, 4) */
.journey-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.journey-features li { display: grid; grid-template-columns: 18px 1fr; column-gap: 0.7rem; row-gap: 0.15rem; align-items: start; }
.journey-features .check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--accent);
  font-size: 0.7rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
  grid-row: 1 / span 2;
}
.journey-features .check-magnus {
  background: var(--color-magnus-amber);
  color: #1a1208;
  box-shadow: 0 0 0 3px rgba(232, 169, 74, 0.16), 0 0 12px rgba(232, 169, 74, 0.25);
}
.jc-magnus .journey-feature-label { color: var(--color-magnus-cream); }
.jc-magnus .journey-feature-note { color: rgba(255, 244, 220, 0.66); }
.journey-feature-label { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--ink); text-transform: uppercase; }
.journey-feature-note { font-size: 0.78rem; color: var(--ink-quiet); grid-column: 2; }

/* Subscription chips (Node 2) */
.sub-chips { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.sub-chip {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}
.sub-chip-filled { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* JSL callout block (Node 3) */
.jsl-callout {
  border-left: 3px solid var(--color-warning);
  background: var(--surface-2);
  padding: var(--space-4);
  border-radius: 0 8px 8px 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.jsl-caption { color: var(--color-warning); margin: 0; }
.jsl-title { font-size: var(--text-md); margin: 0; line-height: 1.2; max-width: 28ch; }
.jsl-body { color: var(--ink); font-size: 0.82rem; margin: 0; line-height: 1.55; }

/* Warning glyph in top-right of Node 3 */
.jc-warn-glyph {
  position: absolute;
  top: var(--space-4);
  right: var(--space-5);
  font-size: 1.1rem;
  color: var(--color-warning);
  font-variant-emoji: text;
  font-feature-settings: "liga" 0;
  line-height: 1;
}
.jc-warn-foot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--color-warning);
  text-transform: uppercase;
  margin: var(--space-2) 0 0 0;
  line-height: 1.4;
}
.jc-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-warning);
  flex-shrink: 0;
}

/* Magnus footer tag (Node 4) — amber strap */
.jc-magnus-foot {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--color-magnus-amber-bright);
  text-transform: uppercase;
  margin: var(--space-2) 0 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.jc-magnus-foot::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-magnus-amber-bright);
  box-shadow: 0 0 8px rgba(245, 201, 122, 0.85);
}

/* Magnus CTA — amber gradient, deep-warm text, glowing amber rings */
.btn-outline-magnus {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 220, 150, 0.75);
  color: #2a1a05;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 240, 200, 0.45);
  background: linear-gradient(180deg, var(--color-magnus-amber-bright) 0%, var(--color-magnus-amber) 55%, var(--color-magnus-amber-deep) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 220, 160, 0.18),
    0 0 0 1px rgba(232, 169, 74, 0.35),
    0 0 18px rgba(232, 169, 74, 0.55),
    0 0 38px rgba(232, 169, 74, 0.40),
    0 10px 28px -10px rgba(232, 169, 74, 0.50);
  animation: magnusAmberBreath 3.6s ease-in-out infinite;
  transition: transform 200ms var(--easing), box-shadow 240ms var(--easing), filter 200ms var(--easing), border-color 240ms var(--easing);
}
@keyframes magnusAmberBreath {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      inset 0 -1px 0 rgba(0, 0, 0, 0.22),
      inset 0 0 0 1px rgba(255, 220, 160, 0.18),
      0 0 0 1px rgba(232, 169, 74, 0.35),
      0 0 18px rgba(232, 169, 74, 0.55),
      0 0 38px rgba(232, 169, 74, 0.40),
      0 10px 28px -10px rgba(232, 169, 74, 0.50);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.45),
      inset 0 -1px 0 rgba(0, 0, 0, 0.22),
      inset 0 0 0 1px rgba(255, 220, 160, 0.30),
      0 0 0 1px rgba(255, 195, 110, 0.55),
      0 0 24px rgba(255, 195, 110, 0.78),
      0 0 52px rgba(232, 169, 74, 0.62),
      0 12px 32px -10px rgba(232, 169, 74, 0.70);
  }
}
.btn-outline-magnus:hover {
  filter: brightness(1.08);
  border-color: rgba(255, 210, 140, 0.85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.50),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 230, 180, 0.40),
    0 0 0 1px rgba(255, 210, 140, 0.85),
    0 0 28px rgba(255, 210, 140, 0.85),
    0 0 64px rgba(232, 169, 74, 0.70),
    0 14px 36px -10px rgba(232, 169, 74, 0.80);
  animation-play-state: paused;
}
.btn-outline-magnus .arr {
  color: #2a1a05;
  text-shadow: 0 1px 0 rgba(255, 240, 200, 0.40);
  transition: transform 200ms var(--easing);
}
.btn-outline-magnus:hover .arr {
  transform: translateX(4px);
}
@media (prefers-reduced-motion: reduce) {
  .btn-outline-magnus { animation: none; }
}

.journey-cta { align-self: flex-start; margin-top: auto; }

/* Outcome strip — brightened: lifted divider, glowing eyebrow */
.outcome-strip {
  margin-top: var(--space-9);
  padding-top: var(--space-7);
  border-top: 1px solid transparent;
  border-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 30%,
    rgba(225, 248, 252, 0.55) 50%,
    rgba(255, 255, 255, 0.45) 70%,
    transparent 100%
  ) 1;
  position: relative;
}
.outcome-strip::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  width: min(60%, 540px); height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  filter: blur(4px);
  opacity: 0.85;
  pointer-events: none;
}
.outcome-eyebrow {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--color-magnus-white, #f4faff);
  text-transform: uppercase;
  margin: 0 0 var(--space-6) 0;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.55),
    0 0 42px rgba(255, 255, 255, 0.30);
}
.outcome-eyebrow::before,
.outcome-eyebrow::after {
  content: "—";
  display: inline-block;
  margin: 0 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}
.outcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-7);
  align-items: start;
}
.outcome-col { display: flex; flex-direction: column; gap: var(--space-2); }
.outcome-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.outcome-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.outcome-dot-accent { background: var(--accent); box-shadow: 0 0 8px var(--accent-soft); }
.outcome-dot-magnus {
  background: var(--color-magnus);
  box-shadow: 0 0 0 2px rgba(232, 169, 74, 0.45), 0 0 10px rgba(95, 163, 212, 0.6);
}
.outcome-dot-amber { background: var(--amber); box-shadow: 0 0 8px rgba(212, 160, 74, 0.55); }
.outcome-head {
  font-size: var(--text-md); margin: 0; line-height: 1.2; max-width: 22ch;
  color: #fafefd;
}
.outcome-head em {
  color: #5e7871;
  font-style: italic;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
}
.outcome-body { color: rgba(230, 236, 242, 0.86); font-size: var(--text-sm); margin: 0; line-height: 1.55; max-width: 38ch; }
.outcome-tag { color: var(--color-magnus-white, #f4faff); }
.outcome-strap {
  text-align: center;
  margin: var(--space-7) auto 0 auto;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: rgba(244, 250, 255, 0.95);
  text-transform: uppercase;
  text-shadow:
    0 0 16px rgba(255, 255, 255, 0.45),
    0 0 36px rgba(255, 255, 255, 0.22);
  position: relative;
  display: block;
  padding-top: var(--space-5);
}
.outcome-strap::before {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* =========================================================
   Spine timeline — mobile (<900px): single left rail
   ========================================================= */
@media (max-width: 900px) {
  /* Mobile spine: rail on the far left, card stacks to its right with a clear gutter.
     Node sits OUTSIDE the card (in the gutter) and connector links them. */
  .spine { gap: var(--space-7); padding-left: 56px; }
  .spine-line { left: 18px; transform: none; }
  .spine-row {
    grid-template-columns: 1fr;
    column-gap: 0;
    min-height: 0;
    /* Push the row's content (the card) right so the node never overlaps it */
    padding-top: var(--space-5);
  }
  .spine-row-left .journey-node-card,
  .spine-row-right .journey-node-card {
    grid-column: 1;
    justify-self: stretch;
    max-width: none;
    transform: none;
    margin-left: 0;
  }
  .spine-row.is-active .journey-node-card { transform: none; }
  /* Node: anchored to spine-line (which is at left:18px in the .spine padding box).
     Because .spine has padding-left:56px, the node's container coordinates need negative
     left to sit on the rail. Position it absolutely relative to .spine-row using the
     row's own padding box. */
  .spine-node {
    left: -38px;       /* -56 (spine padding) + 18 (rail x) = -38 from row content edge */
    margin-left: 0;
    top: var(--space-5);
    margin-top: 0;
  }
  .spine-row-left .spine-connector,
  .spine-row-right .spine-connector {
    left: -20px;       /* from node right (-38 + 36 = -2) toward card; small bridge */
    right: auto;
    width: 20px;
    margin: 0;
    top: calc(var(--space-5) + 18px);
  }
  .journey-node-card { padding: var(--space-5) var(--space-5); }
  .journey-title { padding-right: 0.5rem; max-width: none; }
  .jc-warn-glyph { top: var(--space-3); right: var(--space-4); }

  .outcome-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* =========================================================
   06 JOIN — final CTA
   ========================================================= */
.section-join { position: relative; padding: var(--space-10) 0; overflow: hidden; isolation: isolate; }
.join-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 60% at 50% 50%, var(--accent) 0%, transparent 70%);
  opacity: 0.18;
  filter: blur(40px);
  animation: glowBreath 5.5s ease-in-out infinite;
}
@keyframes glowBreath {
  0%, 100% { opacity: 0.12; transform: scale(0.96); }
  50% { opacity: 0.22; transform: scale(1.04); }
}
.join-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-7);
}
.join-body { color: var(--ink-mute); max-width: 50ch; margin: 0 auto; font-size: var(--text-md); text-align: center; }
.join-signin { text-align: center; margin-top: var(--space-5); }

@media (max-width: 760px) {
  .join-ctas { flex-direction: column; align-items: stretch; }
  .join-ctas .btn { justify-content: center; padding: 1.1rem 1.4rem; font-size: var(--text-base); white-space: normal; text-align: center; }
  .join-ctas .btn .arr { display: inline-block; }
}

/* =========================================================
   07 CONTACT
   ========================================================= */
.section-contact { background: var(--surface); border-top: 1px solid var(--divider); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-7);
  align-items: start;
}
.contact-card {
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: var(--space-6);
}
.contact-name { font-size: var(--text-xl); margin: 0 0 var(--space-4) 0; font-weight: 400; }
.contact-bio { color: var(--ink-mute); font-size: var(--text-sm); margin: 0 0 var(--space-5) 0; }
.contact-email { margin: 0 0 var(--space-5) 0; font-size: var(--text-md); }
.contact-meta { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--ink-quiet); text-transform: uppercase; }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.contact-form .field { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-form .field:nth-child(5),
.contact-form .field:nth-last-child(2) { grid-column: 1 / -1; }
.contact-form label { font-size: 0.65rem; letter-spacing: 0.16em; color: var(--ink-quiet); text-transform: uppercase; }
.contact-form input, .contact-form select {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  color: var(--ink);
  font-family: inherit;
  font-size: var(--text-sm);
  transition: border-color 220ms var(--easing), background 220ms var(--easing);
}
.contact-form input:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
}
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-quiet) 50%), linear-gradient(135deg, var(--ink-quiet) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
.contact-form button { grid-column: 1 / -1; justify-self: start; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--divider);
  background: var(--bg);
  padding: var(--space-7) 0 var(--space-6) 0;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--ink-quiet);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fafefd;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
  transition: color 220ms var(--easing);
}
.footer-brand .logo {
  color: #ffffff;
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.65))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.45));
  transition: filter 240ms var(--easing), transform 280ms var(--easing), color 240ms var(--easing);
  animation: logoBreath 4.2s ease-in-out infinite;
}
.footer-brand:hover { color: #ffffff; }
.footer-brand:hover .logo {
  color: #ffffff;
  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.85))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.55));
  transform: scale(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .footer-brand .logo { animation: none; }
}
.footer-links { display: flex; gap: 0.7rem; align-items: center; font-size: 0.72rem; letter-spacing: 0.14em; color: var(--ink-quiet); }
.footer-links a { color: var(--ink-mute); transition: color 200ms var(--easing); }
.footer-links a:hover { color: var(--accent); }

/* =========================================================
   Floating Talk-to-Pete CTA — sticky scroll companion
   ========================================================= */
.floating-cta {
  position: fixed;
  right: clamp(1rem, 2.4vw, 1.75rem);
  bottom: clamp(1rem, 2.4vw, 1.75rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1.05rem 0.65rem 0.65rem;
  border-radius: 999px;
  color: #fafefd;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(26, 35, 32, 0.94) 0%, rgba(12, 14, 13, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 360ms var(--easing-out, cubic-bezier(0.16, 1, 0.3, 1)),
    opacity 360ms var(--easing-out, cubic-bezier(0.16, 1, 0.3, 1)),
    box-shadow 240ms ease,
    border-color 240ms ease;
}
.floating-cta[data-hidden="false"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.floating-cta:hover {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 12px 32px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(255, 255, 255, 0.42);
}
.floating-cta:focus-visible {
  outline: 2px solid #5e7871;
  outline-offset: 4px;
}
.floating-cta__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #0c0e0d;
  background: radial-gradient(circle at 30% 30%, #5e7871 0%, #5e7871 55%, #ffffff 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45),
    0 0 14px rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}
.floating-cta__pulse {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  filter: blur(2px);
  animation: floatingCtaPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes floatingCtaPulse {
  0%   { transform: scale(0.85); opacity: 0.55; }
  70%  { transform: scale(1.7);  opacity: 0;    }
  100% { transform: scale(1.7);  opacity: 0;    }
}
.floating-cta__label {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}
.floating-cta__lead {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fafefd;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}
.floating-cta__sub {
  font-family: 'Instrument Serif', 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 0.92rem;
  color: #5e7871;
  margin-top: 1px;
}
@media (max-width: 540px) {
  .floating-cta { padding: 0.55rem 0.9rem 0.55rem 0.55rem; gap: 0.55rem; }
  .floating-cta__avatar { width: 28px; height: 28px; }
  .floating-cta__pulse { width: 28px; height: 28px; margin-top: -14px; }
  .floating-cta__lead { font-size: 0.62rem; letter-spacing: 0.16em; }
  .floating-cta__sub { font-size: 0.82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-cta { transition: opacity 200ms ease; transform: none; }
  .floating-cta__pulse { animation: none; opacity: 0; }
}

/* =========================================================
   Run-by strip (operational trust) — between JOIN and CONTACT
   ========================================================= */
.section-runby { padding-top: 0; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.runby-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(12, 14, 13, 0.55) 0%, rgba(12, 14, 13, 0.65) 100%);
  border-radius: 14px;
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.2rem, 2.4vw, 1.8rem);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 8px 24px rgba(0, 0, 0, 0.25);
}
.runby-card .eyebrow { color: #5e7871; margin: 0 0 0.5rem; }
.runby-lead {
  font-family: 'Instrument Serif', 'Fraunces', Georgia, serif;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.45;
  color: #e9f5f7;
  margin: 0 0 0.75rem;
}
.runby-lead strong { font-style: normal; color: #ffffff; font-weight: 500; }
.runby-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--ink-quiet, #87a0aa);
}
.runby-meta .text-link { color: #5e7871; }
@media (max-width: 540px) {
  .runby-lead { font-size: 1.02rem; }
}

/* =========================================================
   Mobile sticky action bar — full-width primary + secondary
   Replaces .floating-cta on phones (<= 820px). Always visible
   so the primary action is one tap away from anywhere on the page.
   ========================================================= */
.mobile-cta-bar { display: none; }
@media (max-width: 820px) {
  /* Hide the floating pill on mobile — replaced by full-width bar */
  .floating-cta { display: none !important; }

  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(12, 14, 13, 0.78) 0%, rgba(12, 14, 13, 0.96) 55%, rgba(5, 7, 6, 0.99) 100%);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.45);
    transform: translateY(110%);
    opacity: 0;
    transition:
      transform 420ms var(--easing-out, cubic-bezier(0.16, 1, 0.3, 1)),
      opacity 320ms ease;
  }
  .mobile-cta-bar[data-visible="true"] {
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-cta-bar__primary {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    color: #050706;
    background: linear-gradient(180deg, #5e7871 0%, #5e7871 55%, #ffffff 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.5) inset,
      0 -1px 0 rgba(0, 0, 0, 0.15) inset,
      0 6px 18px rgba(255, 255, 255, 0.35);
    transition: transform 180ms ease, box-shadow 180ms ease;
  }
  .mobile-cta-bar__primary:active {
    transform: translateY(1px);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.4) inset,
      0 4px 10px rgba(255, 255, 255, 0.28);
  }
  .mobile-cta-bar__primary .mobile-cta-bar__arrow {
    font-family: 'Instrument Serif', 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1;
    transform: translateY(-1px);
  }

  .mobile-cta-bar__secondary {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 0.95rem;
    margin-left: 0.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-family: 'Instrument Serif', 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 0.95rem;
    color: #5e7871;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.28);
  }
  .mobile-cta-bar__secondary:active { background: rgba(255, 255, 255, 0.12); }

  /* Reserve space at the bottom of the page so the bar never covers content */
  body { padding-bottom: 76px; }
}
@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  .mobile-cta-bar { transition: opacity 200ms ease; transform: none; }
}

/* =========================================================
   Reveal system
   ========================================================= */
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: opacity 700ms var(--easing-out), transform 700ms var(--easing-out); will-change: transform, opacity; }
.reveal { transform: translateY(20px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

/* Mobile: replace horizontal slide-in with vertical fade-up to stop iOS wobble.
   The translateX(±30px) was peeking past the viewport edges and causing the
   browser to recalc page width on every scroll frame, producing visible jumpiness. */
@media (max-width: 768px) {
  .reveal-left, .reveal-right { transform: translateY(20px); }
  .reveal-left.is-in, .reveal-right.is-in { transform: translate(0, 0); }
}
.reveal.is-in, .reveal-left.is-in, .reveal-right.is-in { opacity: 1; transform: translate(0, 0); }

.reveal-delay-1.is-in { transition-delay: 80ms; }
.reveal-delay-2.is-in { transition-delay: 160ms; }
.reveal-delay-3.is-in { transition-delay: 240ms; }
.reveal-delay-4.is-in { transition-delay: 320ms; }
.reveal-delay-5.is-in { transition-delay: 400ms; }

/* =========================================================
   Reduced motion — kill everything animated
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero [data-anim], .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero .headline .wipe { clip-path: none !important; }
  .compare-table tbody tr { opacity: 1 !important; transform: none !important; }
  .join-glow { animation: none !important; opacity: 0.18 !important; }
  .hero-canvas { opacity: 0.18 !important; }
  .journey-num-pulse { animation: none !important; }
  .spine-row .journey-node-card { opacity: 1 !important; transform: none !important; }
  .spine-row .spine-node { animation: none !important; }
}

/* ============================================================
   Cursor illumination — spotlight on text
   --mx/--my are set by JS as percentages of the element box.
   ============================================================ */
.illuminate {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  transition: text-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1),
              color 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Soft teal glow that follows the cursor — drawn behind the text */
.illuminate::before {
  content: "";
  position: absolute;
  inset: -12% -6%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(
    220px circle at var(--mx) var(--my),
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0.10) 35%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 240ms ease-out;
  filter: blur(6px);
  border-radius: inherit;
}

.illuminate.is-lit {
  color: #fafefd;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.35),
    0 0 42px rgba(255, 255, 255, 0.18);
}

.illuminate.is-lit::before {
  opacity: 1;
}

/* Italics inside displays glow a touch more — they're already the focal accent */
.illuminate.is-lit em {
  color: #ffffff;
  text-shadow:
    0 0 22px rgba(255, 255, 255, 0.55),
    0 0 60px rgba(255, 255, 255, 0.28);
}

/* Body copy is gentler — still readable, just lifts toward white */
.section-intro.illuminate.is-lit,
.journey-copy p.illuminate.is-lit {
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.22),
    0 0 32px rgba(255, 255, 255, 0.10);
}

@media (prefers-reduced-motion: reduce) {
  .illuminate, .illuminate::before { transition: none !important; }
  .illuminate.is-lit { color: inherit; text-shadow: none; }
  .illuminate.is-lit::before { opacity: 0; }
}

/* ============================================================
   Universal card glow on hover
   Applies to: track-card, sector-tile, tier-card, journey-node-card,
   contact-card. Uses a layered ring + drop-shadow + lift.
   Variants override the glow color (warning, magnus, featured).
   ============================================================ */
.track-card,
.sector-tile,
.tier-card,
.journey-node-card,
.contact-card {
  --glow-color: 120, 210, 224;       /* default teal */
  --glow-strong: 195, 240, 248;
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 320ms cubic-bezier(0.16, 1, 0.3, 1),
    background 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 320ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.track-card:hover,
.sector-tile:hover,
.tier-card:hover,
.contact-card:hover,
.spine-row.is-active .journey-node-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--glow-color), 0.6);
  box-shadow:
    0 0 0 1px rgba(var(--glow-color), 0.35),
    0 18px 40px -12px rgba(var(--glow-color), 0.45),
    0 0 60px -8px rgba(var(--glow-color), 0.35),
    inset 0 1px 0 rgba(var(--glow-strong), 0.18);
  filter: brightness(1.04);
}

/* Subtle internal lift — radial wash from the top edge brightens on hover */
.track-card,
.sector-tile,
.tier-card,
.journey-node-card,
.contact-card {
  position: relative;
}
.track-card::before,
.sector-tile::before,
.tier-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    100% 60% at 50% 0%,
    rgba(var(--glow-color), 0.10),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 320ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 0;
}
.track-card:hover::before,
.sector-tile:hover::before,
.tier-card:hover::before,
.contact-card:hover::before {
  opacity: 1;
}

/* Variant glow colors */
.jc-warning,
.tier-featured {
  --glow-color: 212, 160, 74;        /* amber */
  --glow-strong: 246, 215, 156;
}
.jc-magnus {
  --glow-color: 232, 169, 74;        /* amber */
  --glow-strong: 255, 220, 150;      /* warm amber highlight */
}

/* Journey cards: stronger lift since they're the spine narrative */
.spine-row.is-active .journey-node-card:hover {
  transform: translateX(0) translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(var(--glow-color), 0.45),
    0 22px 50px -12px rgba(var(--glow-color), 0.55),
    0 0 80px -8px rgba(var(--glow-color), 0.40),
    inset 0 1px 0 rgba(var(--glow-strong), 0.22);
}

/* Featured tier — stronger amber pop */
.tier-card.tier-featured {
  border-color: rgba(212, 160, 74, 0.35);
}
.tier-card.tier-featured:hover {
  border-color: rgba(212, 160, 74, 0.7);
}

/* Reduce motion: keep border + box-shadow but drop lift/animation */
@media (prefers-reduced-motion: reduce) {
  .track-card:hover,
  .sector-tile:hover,
  .tier-card:hover,
  .contact-card:hover,
  .spine-row.is-active .journey-node-card:hover {
    transform: none !important;
    filter: none;
  }
}

/* =========================================================
   Hero subtitle scroll sequence — three lines reveal as you scroll
   ========================================================= */
.subtitle-sequence { display: flex; flex-direction: column; gap: 0.55rem; max-width: 60ch; }
.subtitle-sequence .sub-line {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--easing-out), transform 700ms var(--easing-out), color 600ms var(--easing-out);
  color: var(--ink-mute);
  will-change: opacity, transform;
}
.subtitle-sequence .sub-line-1 { color: var(--ink); }                  /* lead line — full white */
.subtitle-sequence .sub-line-2 { font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.86em; letter-spacing: 0.04em; color: var(--accent); }   /* mono cadence beat */
.subtitle-sequence .sub-line-3 { color: var(--ink-mute); }

/* Step 1 — landing (no scroll yet): lead line only.
   Anchored to hero entrance (after .hero.is-anim fires at ~900ms). */
.hero.is-anim [data-sub-line="1"] { opacity: 1; transform: translateY(0); transition-delay: 950ms; }

/* Step 2 — first scroll begins */
.hero[data-sub-step="2"] [data-sub-line="2"],
.hero[data-sub-step="3"] [data-sub-line="2"] {
  opacity: 1; transform: translateY(0); transition-delay: 60ms;
}

/* Step 3 — further scroll */
.hero[data-sub-step="3"] [data-sub-line="3"] {
  opacity: 1; transform: translateY(0); transition-delay: 120ms;
}

/* Reduced motion: show all three immediately, no transforms */
@media (prefers-reduced-motion: reduce) {
  .subtitle-sequence .sub-line { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Section 05 NETWORK — brightened copy + UK supply map
   ========================================================= */

/* Brightened lead block (replaces dim "mono small" paragraph) */
.network-lead {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.1rem 0 1.1rem 1.4rem;
  margin: 0;
  max-width: 56ch;
}
.network-lead-strip {
  position: absolute;
  left: 0; top: 0.4rem; bottom: 0.4rem;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-bright, #ffffff) 0%, var(--color-magnus-amber, #e8a94a) 100%);
  border-radius: 2px;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.45),
    0 0 22px rgba(255, 255, 255, 0.18);
}
.network-lead-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--color-magnus-amber, #e8a94a);
  text-transform: uppercase;
}
.network-lead-eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-magnus-amber, #e8a94a);
  box-shadow: 0 0 8px rgba(232, 169, 74, 0.7);
  animation: amberDotBreath 2.4s ease-in-out infinite;
}
.network-lead-headline {
  font-family: var(--font-display, 'Fraunces', serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2.05rem);
  line-height: 1.2;
  color: #fafefd;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.network-lead-body {
  font-size: var(--text-md);
  line-height: 1.55;
  color: var(--ink, #e6efef);
}
.network-lead-body { color: rgba(232, 240, 240, 0.86); }

/* UK map frame — replaces canvas */
.frame-uk {
  background: radial-gradient(ellipse at 35% 28%, rgba(255, 255, 255, 0.10), rgba(0, 0, 0, 0.32) 60%);
  padding: 2.2rem 1.4rem 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.uk-map {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: visible;
}
.uk-map-bg { opacity: 0.6; }

/* Silhouette path styling — union of all 232 admin1 paths */
.uk-silhouette-paths {
  fill: rgba(255, 255, 255, 0.05);
  stroke: rgba(255, 255, 255, 0.30);
  stroke-width: 0.55;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.16));
}

/* Sector colours */
.uk-node[data-sector="energy"]    { --sector: #f5c97a; --sector-deep: #b67a1f; } /* amber — energy/oil */
.uk-node[data-sector="transport"] { --sector: #5fb6c8; --sector-deep: #2c6fa3; } /* teal */
.uk-node[data-sector="water"]     { --sector: #6fb8e8; --sector-deep: #1f5b8a; } /* blue */
.uk-node[data-sector="defence"]   { --sector: #d4dce0; --sector-deep: #6e7c84; } /* steel */
.uk-node[data-sector="nuclear"]   { --sector: #c8f08c; --sector-deep: #4d7a16; } /* lime */
.uk-node[data-sector="housing"]   { --sector: #f0a9c8; --sector-deep: #a0436b; } /* dusty rose */

/* =========================================================
   City lights — nodes ignite then breathe softly
   No connecting edges; the map is a constellation of glowing
   sector-coloured beacons.

   IMPORTANT: each .uk-node <g> has an SVG transform="translate(x,y)"
   attribute placing it on the map. We MUST NOT set CSS `transform` on
   the <g> itself — CSS transform overrides the SVG attribute and would
   stack every node at the origin. All scale/animation effects therefore
   live on the inner <circle> elements (halo + core), which are placed
   at (0,0) within the group and use transform-box: fill-box.
   ========================================================= */
.uk-node {
  opacity: 0;
  transition: opacity 520ms cubic-bezier(.22,1,.36,1);
}
.uk-node.is-on {
  opacity: 1;
}

/* Halo — the soft outer glow. Breathes (twinkles) once the node is on. */
.uk-node-halo {
  fill: var(--sector);
  opacity: 0.32;
  filter: blur(3px);
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.6);
  transition: transform 720ms cubic-bezier(.22,1,.36,1);
}
.uk-node.is-on .uk-node-halo {
  transform: scale(1);
  animation: ukLightTwinkle var(--twinkle-dur, 4s) ease-in-out infinite;
  animation-delay: var(--twinkle-delay, 0s);
}

/* Core — the bright "bulb". Subtle inner shimmer when on. */
.uk-node-core {
  fill: var(--sector);
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 0.9;
  filter: drop-shadow(0 0 6px var(--sector)) drop-shadow(0 0 14px var(--sector));
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.4);
  transition: transform 720ms cubic-bezier(.22,1,.36,1);
}
.uk-node.is-on .uk-node-core {
  transform: scale(1);
  animation: ukLightCoreShimmer var(--twinkle-dur, 4s) ease-in-out infinite;
  animation-delay: var(--twinkle-delay, 0s);
}

/* Twinkle: halo grows + fades subtly, like a city light flickering on the horizon */
@keyframes ukLightTwinkle {
  0%   { opacity: 0.30; transform: scale(1); }
  35%  { opacity: 0.55; transform: scale(1.25); }
  60%  { opacity: 0.40; transform: scale(1.10); }
  100% { opacity: 0.30; transform: scale(1); }
}
@keyframes ukLightCoreShimmer {
  0%, 100% { filter: drop-shadow(0 0 6px var(--sector)) drop-shadow(0 0 14px var(--sector)); }
  45%      { filter: drop-shadow(0 0 8px var(--sector)) drop-shadow(0 0 22px var(--sector)) drop-shadow(0 0 32px var(--sector)); }
}
.uk-node-label {
  fill: rgba(244, 251, 252, 0.0);
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-anchor: middle;
  text-transform: uppercase;
  pointer-events: none;
  transition: fill 320ms ease;
  paint-order: stroke;
  stroke: rgba(12, 14, 13, 0.85);
  stroke-width: 2.4px;
  stroke-linejoin: round;
}
.uk-node.is-on .uk-node-label {
  fill: rgba(255, 255, 255, 0.92);
}

/* Ignition burst on first reveal — a bright flash that radiates outward,
   layered on top of the looping twinkle. */
.uk-node.is-pulse .uk-node-halo {
  animation:
    ukLightIgnite 1.2s cubic-bezier(.22,1,.36,1) 1,
    ukLightTwinkle var(--twinkle-dur, 4s) ease-in-out 1.2s infinite;
}
@keyframes ukLightIgnite {
  0%   { opacity: 0.20; transform: scale(0.8); }
  30%  { opacity: 0.95; transform: scale(2.6); }
  70%  { opacity: 0.45; transform: scale(1.8); }
  100% { opacity: 0.32; transform: scale(1); }
}

/* Lights mode — connecting edges intentionally hidden */
.uk-edge { display: none; }

/* Legend */
.uk-legend {
  position: absolute;
  bottom: 1.6rem;
  left: 1.4rem;
  right: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  text-transform: uppercase;
  pointer-events: none;
}
.uk-legend-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.uk-legend-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.uk-legend-item[data-sector="energy"]    .uk-legend-dot { background: #f5c97a; box-shadow: 0 0 6px #f5c97a; }
.uk-legend-item[data-sector="transport"] .uk-legend-dot { background: #5fb6c8; box-shadow: 0 0 6px #5fb6c8; }
.uk-legend-item[data-sector="water"]     .uk-legend-dot { background: #6fb8e8; box-shadow: 0 0 6px #6fb8e8; }
.uk-legend-item[data-sector="defence"]   .uk-legend-dot { background: #d4dce0; box-shadow: 0 0 6px #d4dce0; }
.uk-legend-item[data-sector="nuclear"]   .uk-legend-dot { background: #c8f08c; box-shadow: 0 0 6px #c8f08c; }
.uk-legend-item[data-sector="housing"]   .uk-legend-dot { background: #f0a9c8; box-shadow: 0 0 6px #f0a9c8; }

.frame-uk .frame-caption-bottom {
  bottom: 0.55rem;
}

/* Move bottom HUD above legend on mobile */
@media (max-width: 820px) {
  .frame-uk { padding: 1.6rem 1rem 4rem; }
  .uk-legend { font-size: 0.58rem; gap: 0.4rem 0.8rem; }
  .uk-node-label { font-size: 9px; }
}

/* =========================================================
   Section 08 CONTACT — dual contact (Pete + Brad)
   ========================================================= */
.contact-people {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}
.contact-person { display: flex; flex-direction: column; }
.contact-person .contact-name { margin: 0.4rem 0 0.6rem 0; }
.contact-person .contact-bio { margin-bottom: 0.7rem; }
.contact-person .contact-email { margin-bottom: 0; }
.contact-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--divider) 25%, var(--divider) 75%, transparent 100%);
  margin: 0.4rem 0;
}
.contact-partner {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px dashed var(--divider);
}
.contact-partner-note { font-size: var(--text-sm); color: var(--ink-mute); margin: 0.4rem 0 0; }


/* =========================================================
   Legal pages (privacy.html, terms.html)
   ========================================================= */
.legal-main {
  background: var(--bg, #0c0e0d);
  padding-top: calc(var(--header-h, 72px) + var(--space-7));
  padding-bottom: var(--space-12);
  min-height: 70vh;
}
.legal-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.legal-page { color: var(--ink, #e6efef); }

.legal-head {
  border-bottom: 1px solid var(--divider);
  padding-bottom: var(--space-6);
  margin-bottom: var(--space-7);
}
.legal-title {
  font-size: clamp(2.4rem, 1rem + 4vw, 4rem);
  line-height: 1.05;
  margin: 0.6rem 0 1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.legal-title em {
  font-style: italic;
  color: var(--accent, #ffffff);
  font-weight: 400;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--ink-quiet, #7a8b91);
  text-transform: uppercase;
  margin: 0 0 var(--space-5);
}
.legal-lede {
  font-size: var(--text-md, 1.05rem);
  line-height: 1.65;
  color: var(--ink-mute, #b6c4c8);
  max-width: 70ch;
  margin: 0;
}
.legal-lede strong { color: var(--ink, #e6efef); font-weight: 600; }
.legal-lede em { color: var(--accent, #ffffff); font-style: italic; }

/* Table of contents */
.legal-toc {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--divider, #1f2c33);
  border-left: 2px solid var(--accent, #ffffff);
  border-radius: 4px;
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-8);
}
.legal-toc .eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--accent, #ffffff);
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}
.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 1.4rem;
  counter-reset: toc;
}
.legal-toc li { font-size: 0.92rem; }
.legal-toc a {
  color: var(--ink-mute, #b6c4c8);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 220ms var(--easing, ease), border-color 220ms var(--easing, ease);
}
.legal-toc a:hover {
  color: var(--ink, #fafefd);
  border-bottom-color: var(--accent, #ffffff);
}
@media (max-width: 640px) {
  .legal-toc ol { grid-template-columns: 1fr; }
}

/* Sections */
.legal-section {
  padding: var(--space-7) 0;
  border-top: 1px solid var(--divider, #1f2c33);
}
.legal-section:first-of-type { border-top: none; padding-top: var(--space-5); }

.legal-h2 {
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 var(--space-5);
  color: var(--ink, #fafefd);
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  letter-spacing: -0.005em;
}
.legal-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65em;
  color: var(--accent, #ffffff);
  letter-spacing: 0.08em;
  font-weight: 500;
  flex-shrink: 0;
}
.legal-h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  margin: var(--space-5) 0 0.7rem;
  color: var(--ink, #e6efef);
  font-family: var(--font-body, 'Inter', sans-serif);
}

.legal-section p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--ink-mute, #b6c4c8);
  margin: 0 0 1rem;
  max-width: 72ch;
}
.legal-section p strong { color: var(--ink, #e6efef); font-weight: 600; }
.legal-section p em { color: var(--accent, #ffffff); font-style: italic; }

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.legal-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-mute, #b6c4c8);
  max-width: 72ch;
}
.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--accent, #ffffff);
  opacity: 0.7;
}
.legal-list li strong { color: var(--ink, #e6efef); font-weight: 600; }

/* Contact list */
.legal-contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0.7rem 1.6rem;
}
.legal-contact-list li {
  display: contents;
}
.legal-contact-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--ink-quiet, #7a8b91);
  text-transform: uppercase;
  align-self: center;
}
.legal-contact-list li a,
.legal-contact-list li {
  font-size: 0.95rem;
  color: var(--ink-mute, #b6c4c8);
}
@media (max-width: 640px) {
  .legal-contact-list { grid-template-columns: 1fr; gap: 0.2rem 0; }
  .legal-contact-list li { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 0.7rem; }
}

.legal-acknowledgement {
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  border-left: 2px solid var(--accent, #ffffff);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
  color: var(--ink, #e6efef);
}


/* =========================================================
   01b ROUTES — branching scroll sequence
   ========================================================= */
.section-routes { padding-bottom: var(--space-8); }
.routes-pin { position: relative; height: 220vh; }
.routes-grid {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: var(--space-7);
  align-items: center;
  padding: var(--space-6) 0;
}
.routes-stage {
  position: relative;
  height: 100%;
  max-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.routes-svg { width: 100%; height: 100%; max-height: 720px; overflow: visible; }

/* Origin / destination dots */
.route-dot { fill: var(--accent, #ffffff); filter: url(#routesNodeGlow); }
.route-dot-origin { fill: #fff; }
.route-ring { stroke: var(--accent, #ffffff); stroke-width: 1.2; opacity: 0.55; }
.route-ring-origin { stroke: rgba(255,255,255,0.7); }

/* Soft glow circles behind dots */
.route-glow, .route-dest-glow { opacity: 0.55; }

/* Origin label */
.route-origin-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  fill: var(--ink-quiet, #8aa1ac);
  text-transform: uppercase;
}

/* Destination labels (rendered inactive until route lights) */
.route-dest-label {
  font-size: 14px;
  letter-spacing: 0.20em;
  fill: var(--ink-quiet, #8aa1ac);
  text-transform: uppercase;
  transition: fill 480ms ease, font-weight 200ms ease;
}
.route-dest.is-on .route-dest-label { fill: var(--ink, #e6efef); }
.route-dest.is-on .route-dot { fill: var(--accent, #ffffff); }
.route-dest.is-on .route-ring {
  opacity: 1;
  animation: routeRingPulse 2.4s ease-in-out infinite;
}
@keyframes routeRingPulse {
  0%, 100% { stroke-width: 1.2; opacity: 0.6; transform-origin: center; }
  50% { stroke-width: 2; opacity: 1; }
}

/* Route lines drawn via stroke-dashoffset.
   pathLength="100" → dasharray 100 means full line; offset 100 = invisible, 0 = drawn. */
.route-line {
  fill: none;
  stroke: var(--accent, #ffffff);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0.85;
  transition: stroke-dashoffset 60ms linear;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.35));
}

/* Origin pulses gently to imply "the start" is alive */
.route-origin .route-ring-origin {
  animation: routeOriginPulse 3.2s ease-in-out infinite;
  transform-origin: 0 0;
}
@keyframes routeOriginPulse {
  0%, 100% { stroke-width: 1; opacity: 0.5; }
  50% { stroke-width: 1.8; opacity: 0.9; }
}

/* Copy column */
.routes-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.route-card {
  position: relative;
  padding: var(--space-5) var(--space-5);
  border: 1px solid var(--divider, rgba(255,255,255,0.08));
  border-radius: var(--radius, 6px);
  background: rgba(255,255,255,0.015);
  opacity: 0.42;
  transform: translateX(8px);
  transition: opacity 480ms ease, transform 480ms ease, border-color 480ms ease, background 480ms ease;
}
.route-card.is-on {
  opacity: 1;
  transform: translateX(0);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
}
.route-card .eyebrow { display: flex; gap: 0.5rem; align-items: baseline; flex-wrap: wrap; }
.route-card .route-num { color: var(--accent, #ffffff); }
.route-title { font-size: var(--text-xl, 1.6rem); margin: 0.5rem 0 0.75rem; }
.route-lead {
  font-size: 1.02rem;
  color: var(--ink, #e6efef);
  margin: 0 0 0.75rem;
}
.route-best {
  font-size: 0.78rem;
  color: var(--ink-quiet, #8aa1ac);
  letter-spacing: 0.06em;
  margin: 0 0 1.1rem;
}
.route-best-key {
  color: var(--accent, #ffffff);
  margin-right: 0.4rem;
  letter-spacing: 0.14em;
}
.route-card .btn { align-self: flex-start; }

/* Mobile: stack stage above cards, no pinning */
@media (max-width: 820px) {
  .routes-pin { height: auto; }
  .routes-grid {
    position: static;
    height: auto;
    grid-template-columns: 1fr;
    padding: var(--space-5) 0;
    gap: var(--space-6);
  }
  .routes-stage {
    height: 360px;
    max-height: 360px;
    margin: 0 calc(-1 * var(--space-4));
  }
  .routes-svg { max-height: 360px; }
  .route-card {
    opacity: 1;
    transform: none;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.02);
  }
  .route-origin-label, .route-dest-label { font-size: 11px; }
}
@media (max-width: 540px) {
  .routes-stage { height: 300px; }
}

/* Reduced motion: skip the staged reveal — everything visible at once. */
@media (prefers-reduced-motion: reduce) {
  .route-line { stroke-dashoffset: 0 !important; transition: none; }
  .route-card { opacity: 1; transform: none; }
  .route-dest .route-dest-label { fill: var(--ink, #e6efef); }
  .route-dest .route-dot { fill: var(--accent, #ffffff); }
}

/* =========================================================
   Homepage Cleanup (Apr 26) — film CTA + hero proof ribbon + fees panel
   ========================================================= */

/* ── Watch the film: bordered brushed-steel CTA, paired with btn-amber ── */
.btn-film {
  background: var(--amber);
  color: var(--amber-ink);
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.5);
  transition: box-shadow 240ms var(--easing), color 240ms var(--easing), background 240ms var(--easing), transform 240ms var(--easing);
}
.btn-film:hover {
  color: var(--amber-ink);
  background: var(--amber-hover);
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.55);
  transform: translateY(-1px);
}
.btn-film .btn-film-glyph {
  font-size: 0.85em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  border: 1px solid rgba(5, 7, 6, 0.35);
  color: var(--amber-ink);
  transition: border-color 240ms var(--easing), background 240ms var(--easing);
}
.btn-film:hover .btn-film-glyph {
  border-color: rgba(5, 7, 6, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

/* ── Hero proof ribbon: single line, replaces 3-stat proof-row ── */
.hero-proof-ribbon {
  margin-top: 2.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(230, 236, 242, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.1rem 0.55rem 0.95rem;
  border: 1px solid var(--divider-strong);
  border-radius: 999px;
  background: rgba(12, 14, 13, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-proof-ribbon .hero-proof-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  flex: 0 0 auto;
}

/* hero-proof reveal stagger reuses hero animation timing */
.hero [data-anim="hero-proof"] { opacity: 0; transform: translateY(8px); transition: opacity 700ms var(--easing-out), transform 700ms var(--easing-out); transition-delay: 1380ms; }
.hero.is-anim [data-anim="hero-proof"] { opacity: 1; transform: translateY(0); }

@media (max-width: 640px) {
  .hero-proof-ribbon {
    font-size: 0.72rem;
    padding: 0.5rem 0.95rem 0.5rem 0.85rem;
    margin-top: 2rem;
  }
}

/* ── Fees panel (replaces 6-sector grid in MAP section) ── */
.fees-panel {
  margin-top: 2.5rem;
  padding: 3.2rem clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--divider-strong);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(12, 14, 13, 0.70) 0%, rgba(12, 14, 13, 0.85) 100%);
  position: relative;
  overflow: hidden;
}
.fees-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 110%, rgba(255, 255, 255, 0.08), transparent 50%);
  pointer-events: none;
}
.fees-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
}
.fees-headline {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.fees-headline em {
  font-style: italic;
  color: rgba(230, 236, 242, 0.78);
  font-weight: 400;
}
.fees-headline .fees-zero {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.1em;
  text-shadow: 0 0 36px rgba(255, 255, 255, 0.35);
}
.fees-body {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.7;
  color: rgba(230, 236, 242, 0.78);
  max-width: 60ch;
  margin: 0 0 2rem 0;
}
.fees-foot {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--divider);
  font-size: 0.82rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(230, 236, 242, 0.55);
}
.fees-foot-label {
  color: rgba(230, 236, 242, 0.55);
}
.fees-foot-val em {
  font-style: italic;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-family: "Source Serif Pro", "Source Serif 4", Georgia, serif;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .fees-panel {
    padding: 2.2rem 1.4rem;
    margin-top: 1.8rem;
    border-radius: 14px;
  }
  .fees-headline { font-size: 1.7rem; }
  .fees-body { font-size: 0.95rem; }
}

/* =========================================================
   Trio Cards (replaces routes branching scroll, Apr 27)
   PLATFORM / TALENT INTELLIGENCE MAPPING / MAGNUS CQP
   Three peer cards · hover teaser · click expands detail
   ========================================================= */

.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
  align-items: stretch;
}

.trio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.6rem 1.4rem;
  border: 1px solid var(--divider-strong);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.06), transparent 65%),
    linear-gradient(180deg, rgba(12, 14, 13, 0.55) 0%, rgba(12, 14, 13, 0.78) 100%);
  cursor: pointer;
  transition: border-color 280ms var(--easing), background 280ms var(--easing), transform 280ms var(--easing), box-shadow 280ms var(--easing);
  overflow: hidden;
  isolation: isolate;
  outline: none;
}
.trio-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 0.0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  transition: background 280ms var(--easing);
}
.trio-card:hover,
.trio-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.45);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(12, 14, 13, 0.7) 0%, rgba(12, 14, 13, 0.9) 100%);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -20px rgba(255, 255, 255, 0.30);
}
.trio-card:hover::before,
.trio-card:focus-visible::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}

.trio-card-head { display: flex; flex-direction: column; gap: 0.6rem; }

.trio-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}
.trio-title {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  line-height: 1.15;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.trio-title em {
  font-style: italic;
  color: rgba(230, 236, 242, 0.78);
  font-weight: 400;
}
.trio-tag {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  color: rgba(230, 236, 242, 0.62);
  line-height: 1.4;
}

/* Teaser — visible on hover/focus only when collapsed */
.trio-teaser {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(230, 236, 242, 0.78);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 320ms var(--easing), opacity 220ms var(--easing), margin-top 320ms var(--easing);
}
.trio-teaser p { margin: 0; }
.trio-card:hover .trio-teaser,
.trio-card:focus-visible .trio-teaser,
.trio-card.is-hover .trio-teaser {
  max-height: 8rem;
  opacity: 1;
}
.trio-card.is-open .trio-teaser {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

/* Detail — hidden until card is clicked */
.trio-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 420ms var(--easing), opacity 320ms var(--easing) 60ms, margin-top 420ms var(--easing);
  margin-top: 0;
}
.trio-card.is-open .trio-detail {
  max-height: 30rem;
  opacity: 1;
  margin-top: 1.1rem;
}
.trio-bullets {
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.trio-bullets li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(230, 236, 242, 0.86);
}
.trio-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.55);
}

/* Toggle — sits at the bottom, label swaps between Open/Close */
.trio-toggle {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--divider);
  background: transparent;
  border-left: none;
  border-right: none;
  border-bottom: none;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 220ms var(--easing);
  position: relative;
  width: 100%;
}
.trio-toggle:hover { color: #ffffff; }
.trio-toggle:focus-visible { outline: 2px solid var(--accent-fade); outline-offset: 4px; border-radius: 4px; }
.trio-toggle .trio-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.trio-toggle .trio-toggle-label-close { display: none; }
.trio-card.is-open .trio-toggle .trio-toggle-label-open { display: none; }
.trio-card.is-open .trio-toggle .trio-toggle-label-close { display: inline-flex; }
.trio-toggle .arr { transition: transform 220ms var(--easing); }
.trio-card:hover .trio-toggle .arr { transform: translateX(3px); }

/* Tablet — keep 3 columns but tighten gaps */
@media (max-width: 1080px) {
  .trio-grid { gap: 0.9rem; }
  .trio-card { padding: 1.7rem 1.3rem 1.2rem; }
  .trio-title { font-size: 1.3rem; }
}

/* Mobile — stack */
@media (max-width: 760px) {
  .trio-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 2rem;
  }
  .trio-card {
    padding: 1.6rem 1.3rem 1.2rem;
  }
  /* On touch devices, always show teaser (no real hover) */
  .trio-teaser { max-height: 8rem; opacity: 1; }
  .trio-card.is-open .trio-teaser { max-height: 0; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .trio-card,
  .trio-teaser,
  .trio-detail,
  .trio-toggle .arr { transition: none; }
}

/* =========================================================
   Hero updates (Apr 27)
   - cta-row-single: single film CTA, no centring needed (kept left-aligned)
   - hero-proof-ribbon: bolder + brighter per request
   ========================================================= */

/* Hero proof ribbon — flat sage green chip */
.hero-proof-ribbon {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--amber-ink);
  border: 1px solid var(--amber-deep);
  background: var(--amber);
  padding: 0.7rem 1.3rem 0.7rem 1.05rem;
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.5);
  text-shadow: none;
}
.hero-proof-ribbon .hero-proof-dot {
  width: 8px;
  height: 8px;
  background: var(--amber-ink);
  box-shadow: 0 0 4px rgba(5, 7, 6, 0.4);
}

@media (max-width: 640px) {
  .hero-proof-ribbon {
    font-size: 0.82rem;
    padding: 0.6rem 1.05rem 0.6rem 0.9rem;
    letter-spacing: 0.12em;
  }
}

/* Hero headline hover — stays white, glows brighter on hover (Apr 27) */
.hero .headline,
.hero .headline .wipe,
.hero .headline em {
  transition: color 240ms var(--easing), text-shadow 240ms var(--easing);
}
.hero .headline:hover,
.hero .headline:hover .wipe,
.hero .headline:hover em {
  color: #ffffff;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.55),
    0 0 36px rgba(255, 255, 255, 0.30);
}

/* ============================================================
   SECTION 04 — SYSTEM vs SYSTEM DIAGRAM
   Replaces .compare-table. Left = linear, stop-start.
   Right = continuous, branching live system with TIM as engine.
   ============================================================ */
.sysdiagram {
  margin: var(--space-7) 0 0 0;
}
.sysdiagram-tagline {
  font-family: 'Fraunces', serif;
  font-size: var(--text-xl);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 var(--space-7) 0;
  max-width: 36ch;
  font-weight: 400;
}
.sysdiagram-tagline em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 96, "SOFT" 100;
}
.sysdiagram-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1.15fr;
  gap: var(--space-7);
  align-items: stretch;
  position: relative;
}
.sysdiagram-grid::before {
  content: "";
  grid-column: 2;
  background: var(--divider);
  width: 1px;
  align-self: stretch;
}

.sys-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  min-width: 0;
}
.sys-side-trad { grid-column: 1; }
.sys-side-astrala { grid-column: 3; }

.sys-side-head { display: flex; flex-direction: column; gap: 0.35rem; }
.sys-side-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}
.sys-side-astrala .sys-side-eyebrow { color: var(--amber); }
.sys-side-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: none;
}
.sys-side-foot {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin: 0;
}

/* ---------- LEFT: linear flow ---------- */
.sys-flow-linear {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sys-flow-linear .sys-node {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--divider-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s ease, color 0.3s ease, border-color 0.3s ease;
}
.sys-flow-linear .sys-node-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink-mute);
  flex: 0 0 8px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.sys-flow-linear .sys-node-label {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 400;
}
.sys-flow-linear .sys-node-fee .sys-node-label {
  font-style: italic;
  color: var(--ink-mute);
}
.sys-flow-linear .sys-arrow {
  width: 1px;
  height: 18px;
  background: var(--divider-strong);
  margin: 0 auto;
  list-style: none;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top center;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

/* Stop-start reveal — applied when section is in view */
.sysdiagram.is-anim .sys-flow-linear .sys-node,
.sysdiagram.is-anim .sys-flow-linear .sys-arrow {
  opacity: 1;
  transform: translateY(0) scaleY(1);
}
.sysdiagram.is-anim .sys-flow-linear .sys-node {
  transition-delay: calc(var(--n) * 220ms);
}
.sysdiagram.is-anim .sys-flow-linear .sys-arrow {
  transition-delay: calc(var(--n) * 220ms);
}
.sysdiagram.is-anim .sys-flow-linear .sys-node .sys-node-dot {
  background: var(--ink-mute);
}
.sysdiagram.is-anim .sys-flow-linear .sys-node-fee .sys-node-dot {
  background: var(--ink-quiet);
}

/* ---------- RIGHT: live system ---------- */
.sys-system {
  position: relative;
  width: 100%;
  aspect-ratio: 720 / 700;
  min-height: 560px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.sys-system-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--amber);
  overflow: visible;
}

/* Edges: continuous subtle motion via animated stroke-dasharray */
.sys-edges path.sys-edge {
  stroke-dasharray: 4 6;
  stroke-dashoffset: 0;
  stroke-width: 1.7;
  opacity: 0.9;
  animation: sys-flow-dash 4.5s linear infinite;
}
.sys-edges path.sys-edge-branch { animation-duration: 5.5s; opacity: 0.95; }
.sys-edges path.sys-edge-merge { animation-duration: 5s; animation-direction: reverse; opacity: 0.85; }

@keyframes sys-flow-dash {
  to { stroke-dashoffset: -40; }
}

.sys-nodes {
  position: absolute;
  inset: 0;
}
.sys-snode {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 0);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
  text-align: center;
  padding: 0.7rem 0.95rem;
  min-width: 138px;
  border: 1px solid rgba(134, 168, 154, 0.55);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(34, 46, 42, 0.96), rgba(18, 24, 22, 0.96));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.sys-snode > br,
.sys-system br,
.sys-flow-linear br { display: none; }
.sys-snode-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--amber);
  text-transform: uppercase;
}
.sys-snode-title {
  font-family: 'Fraunces', serif;
  font-size: 0.98rem;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.2;
}
.sys-snode-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  text-transform: none;
}

/* TIM node — emphasised as the engine */
.sys-snode-tim {
  border-color: var(--amber-hover);
  box-shadow: 0 0 0 1px rgba(134, 168, 154, 0.35), 0 8px 26px rgba(107, 143, 128, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.sys-snode-tim .sys-snode-title {
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* Pulse — every node breathes subtly to feel always-on */
.sys-snode {
  animation: sys-node-pulse 4.8s ease-in-out infinite;
}
.sys-snode-signal { animation-delay: 0s; }
.sys-snode-pool { animation-delay: 0.6s; }
.sys-snode-tim { animation-delay: 1.2s; }
.sys-snode-track-perm { animation-delay: 1.8s; }
.sys-snode-track-free { animation-delay: 2.1s; }
.sys-snode-deploy { animation-delay: 2.6s; }

@keyframes sys-node-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(134, 168, 154, 0.00), 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
  50%      { box-shadow: 0 0 0 3px rgba(134, 168, 154, 0.18), 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
}
.sys-snode-tim {
  animation-name: sys-node-pulse-tim;
}
@keyframes sys-node-pulse-tim {
  0%, 100% { box-shadow: 0 0 0 1px rgba(134, 168, 154, 0.35), 0 8px 26px rgba(107, 143, 128, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
  50%      { box-shadow: 0 0 0 5px rgba(134, 168, 154, 0.30), 0 10px 32px rgba(134, 168, 154, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
}

/* ---------- Mobile: stack vertically ---------- */
@media (max-width: 900px) {
  .sysdiagram-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .sysdiagram-grid::before { display: none; }
  .sys-side-trad,
  .sys-side-astrala { grid-column: 1; }
  .sys-side-trad { padding-bottom: var(--space-7); border-bottom: 1px solid var(--divider); }
  .sys-system { max-width: 480px; }
}
@media (max-width: 540px) {
  .sysdiagram-tagline { font-size: 1.15rem; }
  .sys-snode { min-width: 116px; padding: 0.55rem 0.7rem; }
  .sys-snode-title { font-size: 0.88rem; }
  .sys-snode-eyebrow { font-size: 0.58rem; }
  .sys-snode-sub { font-size: 0.62rem; }
  .sys-system { aspect-ratio: 540 / 640; min-height: 540px; }
}

/* Reduced motion — disable all diagram animations */
@media (prefers-reduced-motion: reduce) {
  .sys-flow-linear .sys-node,
  .sys-flow-linear .sys-arrow {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .sys-edges path.sys-edge { animation: none !important; }
  .sys-snode { animation: none !important; }
}
