/* =========================================================================
   JEVONS EDGE — Design tokens & custom effects (v4)
   Brand: white wordmark + azure-blue accent (matches official logo).
   ========================================================================= */

:root {
  --bg:            #05070C;
  --bg-2:          #080B12;
  --surface:       #0E131C;
  --surface-2:     #131A26;
  --border:        rgba(148, 170, 200, 0.14);
  --border-strong: rgba(160, 185, 215, 0.28);

  --text:          #EAF1FA;
  --text-muted:    #97A6BC;
  --text-dim:      #65748C;

  --brand:         #1C9FE0;
  --brand-light:   #54BBEE;
  --brand-dark:    #0E6FA8;
  --accent:        #38BDF8;
  --cta:           #F5B301;
  --cta-light:     #FCC42B;
  --success:       #34D399;
  --bad:           #F4795B;

  --brand-gradient: linear-gradient(100deg, #54BBEE 0%, #1C9FE0 100%);

  --glow-brand:    0 0 40px rgba(28, 159, 224, 0.36);
  --glow-amber:    0 0 30px rgba(245, 179, 1, 0.30);

  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --maxw:          1200px;
}

* { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

html { scroll-behavior: smooth; }
html:focus-within { scroll-padding-top: 6rem; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-feature-settings: "ss01", "cv01";
  overflow-x: hidden;
}

::selection { background: rgba(28, 159, 224, 0.35); color: #fff; }

/* ---- Custom scrollbar (on-brand: dark track, floating azure pill) ------- */
html { scrollbar-width: thin; scrollbar-color: rgba(84, 187, 238, 0.42) transparent; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background-color: rgba(84, 187, 238, 0.38);
  border-radius: 999px;
  border: 3px solid transparent;     /* transparent padding -> floating pill */
  background-clip: padding-box;
  transition: background-color .2s var(--ease-out);
}
::-webkit-scrollbar-thumb:hover  { background-color: var(--brand-light); }
::-webkit-scrollbar-thumb:active { background-color: var(--brand); }
::-webkit-scrollbar-corner { background: transparent; }

/* ---- Scroll progress + back-to-top --------------------------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  z-index: 60; background: var(--brand-gradient);
  box-shadow: 0 0 10px rgba(28, 159, 224, 0.6);
}
.to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 70;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(18, 24, 36, 0.82); border: 1px solid var(--border-strong);
  color: var(--text); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), border-color .2s, color .2s;
  cursor: pointer;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--brand-light); color: var(--brand-light); }

/* ---- Custom cursor (targeting-reticle / HUD motif) ----------------------
   A precision targeting reticle: a small center node + a thin ring with
   N/E/S/W ticks that tracks the pointer exactly (no lag — it should feel
   like a control-system crosshair: "control latency, control inference").
   It locks on (brightens + glows) over interactive elements, dims on press,
   and becomes a slim I-beam over text fields. Progressive enhancement: JS
   adds .has-cursor only on a fine pointer (mouse); the native cursor stays
   on touch / when JS is off.                                                */
.cursor-dot,
.cursor-reticle {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  will-change: transform;
  transition: opacity .3s var(--ease-out);
}

/* center node */
.cursor-dot {
  width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.9), 0 0 16px rgba(28, 159, 224, 0.5);
  transition: opacity .2s var(--ease-out), background-color .2s var(--ease-out),
              width .2s var(--ease-out), height .2s var(--ease-out), margin .2s var(--ease-out),
              border-radius .2s var(--ease-out);
}

/* ring + ticks */
.cursor-reticle {
  width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  transition: opacity .3s var(--ease-out),
              width .25s var(--ease-out), height .25s var(--ease-out), margin .25s var(--ease-out),
              border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.cursor-reticle .tick {
  position: absolute; background: var(--accent); box-shadow: 0 0 6px rgba(56, 189, 248, 0.7);
}
.cursor-reticle .tick.t { left: 50%; top: -1px;    width: 1.5px; height: 9px; margin-left: -0.75px; }
.cursor-reticle .tick.b { left: 50%; bottom: -1px; width: 1.5px; height: 9px; margin-left: -0.75px; }
.cursor-reticle .tick.l { top: 50%; left: -1px;    height: 1.5px; width: 9px; margin-top: -0.75px; }
.cursor-reticle .tick.r { top: 50%; right: -1px;   height: 1.5px; width: 9px; margin-top: -0.75px; }

/* Active state: hide the native cursor everywhere, reveal the reticle. */
html.has-cursor,
html.has-cursor * { cursor: none !important; }
html.has-cursor .cursor-dot,
html.has-cursor .cursor-reticle { opacity: 1; }
html.has-cursor.cur-hidden .cursor-dot,
html.has-cursor.cur-hidden .cursor-reticle { opacity: 0; }

/* Lock-on over an interactive element -> reticle expands + glows. */
html.cur-hover .cursor-reticle {
  width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.40), inset 0 0 14px rgba(56, 189, 248, 0.12);
}
html.cur-hover .cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; }

/* Press feedback -> the reticle dims and tightens. */
html.cur-down .cursor-reticle { opacity: 0.75; width: 36px; height: 36px; margin: -18px 0 0 -18px; }
html.cur-hover.cur-down .cursor-reticle { opacity: 0.85; width: 46px; height: 46px; margin: -23px 0 0 -23px; }

/* Over a text field -> reticle hides, center node becomes a slim I-beam. */
html.cur-text .cursor-reticle { opacity: 0; }
html.cur-text .cursor-dot {
  width: 3px; height: 26px; margin: -13px 0 0 -1.5px;
  border-radius: 2px; background: var(--brand-light);
  box-shadow: 0 0 12px rgba(84, 187, 238, 0.75);
}

/* Reduced motion: keep the reticle but drop the morphs/easing. */
@media (prefers-reduced-motion: reduce) {
  .cursor-dot, .cursor-reticle { transition: opacity .2s linear !important; }
}

/* ---- Ambient background -------------------------------------------------- */
.bg-aurora {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 16% 0%, rgba(28, 159, 224, 0.18), transparent 70%),
    radial-gradient(52% 46% at 86% 6%, rgba(56, 189, 248, 0.12), transparent 70%),
    radial-gradient(48% 42% at 62% 100%, rgba(245, 179, 1, 0.06), transparent 70%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 170, 200, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 170, 200, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
}

/* ---- Typography helpers -------------------------------------------------- */
.font-display { font-family: 'Space Grotesk', system-ui, sans-serif; }
.font-mono    { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.88rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
}
/* Subordinate eyebrow — for subsections nested inside a parent section
   (The problem / The approach / Is JEVONS for you? live inside About us).
   Smaller, muted, with a leading connector tick = clearly a LOWER rank than
   the bright top-level .eyebrow, so the nesting reads at a glance. */
.eyebrow-sub {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow-sub::before {
  content: ""; flex: none; width: 1.5rem; height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.text-gradient {
  background: linear-gradient(100deg, #fff 0%, #CFE8FB 40%, var(--brand-light) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---- Brand logo (official asset, background removed, optimized) --------- */
/* Shrinkable so the lang switch + hamburger are never clipped; the wide
   wordmark letterboxes down (left-aligned) on the narrowest phones. */
.logo-link { display: inline-flex; align-items: center; min-width: 0; flex: 0 1 auto; }
.logo-img { display: block; height: 14px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
@media (min-width: 480px)  { .logo-img { height: 20px; } }
@media (min-width: 640px)  { .logo-img { height: 24px; } }
@media (min-width: 768px)  { .logo-img { height: 28px; } }
@media (min-width: 1024px) { .logo-img { height: 31px; } }
/* Footer logo sits in a narrow grid column: size by width with height:auto
   (+ max-width) so it scales down gracefully and never distorts. */
.logo-img--footer { display: block; width: 440px; max-width: 100%; height: auto; object-fit: contain; }
.logo-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.58rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--text-muted);
}

/* ---- Surfaces & glass ---------------------------------------------------- */
.glass {
  background: linear-gradient(180deg, rgba(19, 26, 38, 0.74), rgba(11, 15, 22, 0.74));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(19, 26, 38, 0.6), rgba(10, 14, 21, 0.55));
  border: 1px solid var(--border); border-radius: 1rem;
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out), background .25s var(--ease-out);
}
.card:hover { border-color: var(--border-strong); background: linear-gradient(180deg, rgba(24, 33, 48, 0.72), rgba(12, 17, 26, 0.6)); }
.card-glow::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(130deg, rgba(84, 187, 238, 0.55), rgba(28, 159, 224, 0.18), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s var(--ease-out); pointer-events: none;
}
.card-glow:hover::before { opacity: 1; }
.card-glow:hover { transform: translateY(-4px); }

/* "Early reservations" card — exclusive amber outline + glow, matching the
   glowing menu link (var(--cta)), instead of the default cyan accent. */
.card--reserve { border-color: rgba(245, 179, 1, 0.45); animation: menu-reserve-glow 2.8s ease-in-out infinite; }
.card--reserve.card-glow::before {
  background: linear-gradient(130deg, rgba(252, 196, 43, 0.85), rgba(245, 179, 1, 0.35), transparent 62%);
}

/* ---- Imagery treatment --------------------------------------------------- */
.media { position: relative; overflow: hidden; border-radius: 1rem; background: linear-gradient(135deg, #0c2236 0%, #0a0f18 55%, #08222f 100%); }
.media--flat { border-radius: 0; }
.media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.04) contrast(1.02) brightness(0.82);
  transition: transform .7s var(--ease-out);
}
.media:hover img { transform: scale(1.05); }
.media--flat img { transform: scale(1.15); will-change: transform; }
.media--flat:hover img { transform: scale(1.18); }
.media-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.10) 0%, rgba(5, 7, 12, 0.55) 60%, rgba(5, 7, 12, 0.92) 100%),
    linear-gradient(115deg, rgba(28, 159, 224, 0.42) 0%, rgba(56, 189, 248, 0.12) 45%, transparent 72%);
}
.media-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.74rem;
  letter-spacing: 0.04em; color: var(--text);
}
/* Framed media — a more deliberate, "engineered" picture frame: a thin brand
   border, soft elevation, a faint inner highlight, and HUD corner ticks.     */
.media--framed { border: 1px solid var(--border-strong); box-shadow: 0 34px 90px -46px rgba(0, 0, 0, 0.9); }
.media--framed::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 0 0 1px rgba(28, 159, 224, 0.12);
}
.media-corner { position: absolute; width: 17px; height: 17px; z-index: 3; pointer-events: none; opacity: 0.75; }
.media-corner::before, .media-corner::after {
  content: ""; position: absolute; background: var(--brand-light); box-shadow: 0 0 8px rgba(84, 187, 238, 0.5);
}
.media-corner::before { width: 100%; height: 1.5px; }   /* horizontal arm */
.media-corner::after  { width: 1.5px; height: 100%; }   /* vertical arm */
.media-corner--tl { top: 11px; left: 11px; }
.media-corner--tl::before, .media-corner--tl::after { top: 0; left: 0; }
.media-corner--br { bottom: 11px; right: 11px; }
.media-corner--br::before, .media-corner--br::after { bottom: 0; right: 0; }

/* Product render (light 3D facility layout) — keep it bright and legible:
   drop the photo dimming and replace the heavy bottom scrim with a light
   frame fade + a subtle brand tint so it still sits in the dark theme.      */
.media--render img { filter: saturate(1.03) contrast(1.02) brightness(0.99); }
.media--render .media-overlay {
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0) 0%, rgba(5, 7, 12, 0.10) 68%, rgba(5, 7, 12, 0.40) 100%),
    linear-gradient(115deg, rgba(28, 159, 224, 0.16) 0%, transparent 55%);
}

/* Advantage check-list (infrastructure features) — flat rows: a brand check
   chip + title + muted description (no card boxes).                          */
.adv-check {
  flex-shrink: 0; width: 1.6rem; height: 1.6rem; margin-top: 0.1rem;
  display: inline-grid; place-items: center; border-radius: 999px;
  background: rgba(28, 159, 224, 0.12); border: 1px solid rgba(28, 159, 224, 0.28);
  color: var(--brand-light);
}
.adv-check svg { width: 0.95rem; height: 0.95rem; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; border-radius: 0.7rem; padding: 0.8rem 1.35rem; cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .25s var(--ease-out),
              background .25s var(--ease-out), border-color .25s var(--ease-out), color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { color: #0A0A05; background: linear-gradient(180deg, var(--cta-light), var(--cta)); box-shadow: 0 8px 24px rgba(245, 179, 1, 0.22); }
.btn-primary:hover { box-shadow: var(--glow-amber), 0 10px 28px rgba(245, 179, 1, 0.30); }
.btn-secondary { color: var(--text); background: rgba(148, 170, 200, 0.06); border: 1px solid var(--border-strong); }
.btn-secondary:hover { background: rgba(28, 159, 224, 0.14); border-color: var(--brand-light); }
.btn-ghost { color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); }

/* ---- CTA reveal group ---------------------------------------------------- */
.cta-group { position: relative; display: inline-flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.cta-toggle .chev { transition: transform .25s var(--ease-out); }
.cta-group.open .cta-toggle .chev { transform: rotate(90deg); }
.cta-options {
  display: inline-flex; align-items: center; gap: 0.6rem;
  overflow: hidden; max-width: 0; opacity: 0; pointer-events: none;
  transform: translateX(-8px);
  transition: max-width .45s var(--ease-out), opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.cta-group.open .cta-options { max-width: 480px; opacity: 1; pointer-events: auto; transform: none; }
.cta-options .btn { padding-top: 0.72rem; padding-bottom: 0.72rem; }

/* Nav variant: options drop DOWN as a glass panel (no overlap with nav links) */
.cta-group--nav .cta-options {
  position: absolute; top: calc(100% + 0.65rem); right: 0;
  flex-direction: column; align-items: stretch; gap: 0.5rem;
  max-width: none; width: 12rem; overflow: visible; padding: 0.6rem;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, rgba(20, 27, 40, 0.95), rgba(11, 15, 23, 0.95));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  transform: translateY(-8px) scale(0.98); transform-origin: top right;
}
.cta-group--nav.open .cta-options { transform: translateY(0) scale(1); }
.cta-group--nav .cta-options .btn { width: 100%; }

/* ---- Language switcher --------------------------------------------------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid var(--border); border-radius: 999px; background: rgba(148, 170, 200, 0.05);
}
.lang-btn {
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.04em; padding: 0.28rem 0.6rem; border-radius: 999px;
  color: var(--text-muted); cursor: pointer; transition: background .2s, color .2s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn[aria-pressed="true"] { background: var(--brand); color: #04121c; }

/* ---- Nav ----------------------------------------------------------------- */
.nav-shell { transition: background .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.nav-scrolled {
  background: rgba(8, 11, 18, 0.74); border-color: var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav-link { position: relative; color: var(--text-muted); transition: color .2s; }
.nav-link:hover { color: var(--text); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--brand-gradient); transition: width .25s var(--ease-out);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--text); }

/* ---- Hamburger button + dropdown menu ------------------------------------ */
.menu-btn { transition: color .2s, border-color .2s, background .2s; }
.menu-btn[aria-expanded="true"] { color: var(--text); border-color: var(--brand-light); background: rgba(28, 159, 224, 0.08); }
.menu-ico--close { display: none; }
.menu-btn[aria-expanded="true"] .menu-ico--open { display: none; }
.menu-btn[aria-expanded="true"] .menu-ico--close { display: block; }

#mobile-menu { transform-origin: top right; animation: menu-in .22s var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } to { opacity: 1; transform: none; } }
.menu-link {
  display: block; border-radius: 0.6rem; padding: 0.72rem 0.85rem;
  font-size: 0.95rem; font-weight: 500; color: var(--text-muted);
  transition: background .2s, color .2s;
}
.menu-link:hover { background: rgba(148, 170, 200, 0.06); color: var(--text); }
.menu-link.active { color: var(--brand-light); background: rgba(28, 159, 224, 0.08); }
.menu-divider { height: 1px; margin: 0.7rem 0.25rem; background: var(--border); }
.menu-cap { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); }

/* Exclusive "Early reservations" — glowing, deliberately set apart from the rest */
.menu-link--reserve {
  display: flex; align-items: center; gap: 0.55rem; margin-top: 0.45rem;
  font-weight: 600; color: var(--cta-light);
  border: 1px solid rgba(245, 179, 1, 0.45);
  background: linear-gradient(120deg, rgba(245, 179, 1, 0.14), rgba(245, 179, 1, 0.03));
  animation: menu-reserve-glow 2.8s ease-in-out infinite;
}
.menu-link--reserve:hover,
.menu-link--reserve.active { color: #fff; border-color: var(--cta); background: linear-gradient(120deg, rgba(245, 179, 1, 0.22), rgba(245, 179, 1, 0.06)); }
.menu-spark { flex: none; color: var(--cta-light); filter: drop-shadow(0 0 5px rgba(245, 179, 1, 0.65)); }
@keyframes menu-reserve-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(245, 179, 1, 0.16), 0 0 14px -5px rgba(245, 179, 1, 0.55); }
  50%      { box-shadow: 0 0 0 1px rgba(245, 179, 1, 0.40), 0 0 22px -3px rgba(245, 179, 1, 0.95); }
}

/* ---- Chips & tiles ------------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.8rem;
  border-radius: 999px; border: 1px solid var(--border); background: rgba(148, 170, 200, 0.05);
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.78rem; color: var(--text-muted);
}
.icon-tile {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 0.85rem;
  background: linear-gradient(160deg, rgba(28, 159, 224, 0.22), rgba(56, 189, 248, 0.06));
  border: 1px solid var(--border-strong); color: var(--brand-light);
  transition: transform .25s var(--ease-out), color .25s;
}
.card-glow:hover .icon-tile { transform: translateY(-2px) scale(1.05); color: #fff; }

/* ---- Platform model-note cards (HUD style) ------------------------------ */
/* Per-card accent set inline via --ac (solid) + --ac-glow (rgba). */
.note-card {
  --ac: var(--brand-light); --ac-glow: rgba(84, 187, 238, 0.45);
  position: relative; overflow: hidden;
  padding: 1.6rem 1.5rem 1.75rem;
  border: 1px solid var(--border); border-radius: 1rem;
  background: linear-gradient(180deg, rgba(19, 26, 38, 0.6), rgba(10, 14, 21, 0.55));
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out);
}
/* top accent bar */
.note-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--ac) 28%, var(--ac) 72%, transparent);
  opacity: .6; transition: opacity .3s var(--ease-out);
}
/* gradient border sweep on hover (masked outline, like .card-glow) */
.note-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(130deg, var(--ac-glow), rgba(255, 255, 255, 0.04) 38%, transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s var(--ease-out); pointer-events: none;
}
.note-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.note-card:hover::before { opacity: 1; }
.note-card:hover::after { opacity: 1; }

/* HUD corner ticks (TL + BR) */
.note-corner { position: absolute; width: 13px; height: 13px; pointer-events: none; opacity: .45; transition: opacity .3s var(--ease-out), width .3s var(--ease-out), height .3s var(--ease-out); }
.note-corner::before, .note-corner::after { content: ""; position: absolute; background: var(--ac); }
.note-corner--tl { top: 11px; left: 11px; }
.note-corner--tl::before { top: 0; left: 0; width: 100%; height: 1.5px; }
.note-corner--tl::after  { top: 0; left: 0; width: 1.5px; height: 100%; }
.note-corner--br { bottom: 11px; right: 11px; }
.note-corner--br::before { bottom: 0; right: 0; width: 100%; height: 1.5px; }
.note-corner--br::after  { bottom: 0; right: 0; width: 1.5px; height: 100%; }
.note-card:hover .note-corner { opacity: .95; width: 17px; height: 17px; }

/* header row: glowing icon + status chip */
.note-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.note-icon {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 0.9rem;
  background: linear-gradient(160deg, var(--ac-glow), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--ac-glow); color: var(--ac);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.note-card:hover .note-icon { transform: translateY(-2px) scale(1.05); box-shadow: 0 10px 26px -10px var(--ac-glow); }

.note-tag {
  display: inline-flex; align-items: center; gap: .4rem; flex: none;
  padding: .3rem .58rem; border-radius: 999px;
  border: 1px solid var(--ac-glow); background: rgba(148, 170, 200, 0.05);
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.62rem;
  letter-spacing: .07em; text-transform: uppercase; color: var(--ac); white-space: nowrap;
}
.note-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--ac); box-shadow: 0 0 7px var(--ac);
}
/* the "live" card's dot pulses */
.note-card--live .note-tag::before { animation: note-pulse 2.2s ease-in-out infinite; }
@keyframes note-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--ac-glow), 0 0 7px var(--ac); }
  50%      { box-shadow: 0 0 0 5px transparent, 0 0 10px var(--ac); }
}

.note-title { margin-top: 1.15rem; font-weight: 600; color: var(--text); }
.note-desc  { margin-top: .55rem; font-size: 0.875rem; line-height: 1.55; color: var(--text-muted); }

/* ---- Layered platform stack --------------------------------------------- */
.layer {
  position: relative; border: 1px solid var(--border); border-radius: 0.9rem;
  background: linear-gradient(180deg, rgba(19, 26, 38, 0.6), rgba(10, 14, 21, 0.5));
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out), transform .25s var(--ease-out);
}
.layer:hover { border-color: var(--brand-light); transform: translateX(6px); background: linear-gradient(180deg, rgba(24, 33, 48, 0.7), rgba(12, 17, 26, 0.55)); }
.layer-tag { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--accent); }

/* ---- Roadmap timeline ---------------------------------------------------- */
.timeline { position: relative; display: flex; flex-direction: column; gap: 1.1rem; }
.timeline::before {
  content: ""; position: absolute; left: 23px; top: 26px; bottom: 26px; width: 2px;
  background: linear-gradient(180deg, var(--brand-light), rgba(28, 159, 224, 0.08));
}
.tl-item { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 1.1rem; align-items: start; }
.tl-num {
  position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 600; color: var(--brand-light);
  background: linear-gradient(160deg, rgba(28, 159, 224, 0.20), rgba(8, 11, 18, 0.95));
  border: 1px solid var(--border-strong); box-shadow: 0 0 0 5px rgba(5, 7, 12, 0.7);
  transition: color .25s, border-color .25s, transform .25s var(--ease-out);
}
.tl-item:hover .tl-num { color: #fff; border-color: var(--brand-light); transform: scale(1.06); }
.phase-pill {
  display: inline-block; font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--border); border-radius: 999px; padding: 0.2rem 0.65rem;
}

/* ---- Comparison rows ----------------------------------------------------- */
.cmp-row { border-bottom: 1px solid var(--border); }
.cmp-row:last-child { border-bottom: 0; }

/* ---- Hero canvas --------------------------------------------------------- */
#hero-canvas {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.9;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% 30%, #000 30%, transparent 78%);
}

/* ---- Forms --------------------------------------------------------------- */
.field {
  width: 100%; background: rgba(6, 8, 14, 0.6); border: 1px solid var(--border);
  border-radius: 0.65rem; padding: 0.8rem 0.95rem; color: var(--text); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field::placeholder { color: var(--text-dim); }
.field:focus { outline: none; border-color: var(--brand-light); box-shadow: 0 0 0 3px rgba(28, 159, 224, 0.22); background: rgba(6, 8, 14, 0.9); }
.field-label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--text-muted); margin-bottom: 0.4rem; }
.field.invalid { border-color: #F87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18); }
.field-error { display: none; margin-top: 0.4rem; font-size: 0.78rem; color: #FCA5A5; }
.field-error.show { display: block; }

/* Custom select ("I'm reaching out as") — a dark, on-brand dropdown that
   replaces the native popup. A hidden real <select> keeps form semantics;
   progressive enhancement adds .is-enhanced (no JS → native select shows).  */
.cselect { position: relative; }
.cselect-btn { display: none; }
.cselect.is-enhanced .cselect-native {
  position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden;
  pointer-events: none; clip: rect(0 0 0 0);
}
.cselect.is-enhanced .cselect-btn {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  width: 100%; text-align: left; cursor: pointer; font-family: inherit;
}
.cselect-value { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect-value.is-placeholder { color: var(--text-dim); }
.cselect-chev { width: 1.15rem; height: 1.15rem; flex-shrink: 0; color: var(--text-muted); transition: transform .25s var(--ease-out), color .2s; }
.cselect.open .cselect-chev { transform: rotate(180deg); color: var(--brand-light); }
.cselect.open .cselect-btn { border-color: var(--brand-light); box-shadow: 0 0 0 3px rgba(28, 159, 224, 0.22); background: rgba(6, 8, 14, 0.9); }
.cselect-btn.invalid { border-color: #F87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18); }
.cselect-list {
  display: none; position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + .5rem);
  margin: 0; padding: .4rem; list-style: none;
  background: rgba(10, 14, 22, 0.98); border: 1px solid var(--border-strong); border-radius: .85rem;
  box-shadow: 0 26px 64px -30px rgba(0, 0, 0, 0.92), 0 0 0 1px rgba(28, 159, 224, 0.08);
  max-height: 17rem; overflow-y: auto; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cselect.open .cselect-list { display: block; transform-origin: top center; animation: cselect-in .18s var(--ease-out); }
@keyframes cselect-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.cselect-opt {
  display: flex; align-items: center; justify-content: space-between; gap: .7rem;
  padding: .62rem .72rem; border-radius: .58rem; font-size: .95rem; color: var(--text-muted);
  cursor: pointer; transition: background .15s, color .15s;
}
.cselect-opt::after {
  content: ""; flex-shrink: 0; width: 1.05rem; height: 1.05rem; opacity: 0;
  background-repeat: no-repeat; background-position: center; background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2354BBEE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  transition: opacity .15s;
}
.cselect-opt.is-hi { background: rgba(28, 159, 224, 0.12); color: var(--text); }
.cselect-opt.is-selected { color: #fff; }
.cselect-opt.is-selected::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .cselect-list { animation: none !important; }
  .cselect-chev { transition: none !important; }
}
.form-status { margin-top: 1rem; font-size: 0.85rem; border-radius: 0.6rem; padding: 0.75rem 0.95rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.35); color: #86EFAC; }
.form-status.error { background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.35); color: #FCA5A5; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.spinner { width: 1rem; height: 1rem; border: 2px solid rgba(10, 10, 5, 0.3); border-top-color: #0A0A05; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Toast --------------------------------------------------------------- */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(140%);
  z-index: 80; transition: transform .45s var(--ease-out);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---- Focus visibility (a11y) -------------------------------------------- */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--brand-light); outline-offset: 2px; border-radius: 4px;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--brand); color: #fff;
  padding: 0.6rem 1rem; border-radius: 0.5rem; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---- Scroll reveal ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ---- Keyframes ----------------------------------------------------------- */
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.animate-float { animation: float-y 6s ease-in-out infinite; }

/* ---- Orbital network ----------------------------------------------------- */
.orbital-stage { position: relative; width: 100%; max-width: 720px; height: 540px; margin: 0 auto; }
@media (max-width: 640px) { .orbital-stage { height: 400px; } }
.orbital-ring {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border-radius: 999px; border: 1px solid rgba(148, 170, 200, 0.12); pointer-events: none;
}
.orbital-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 4rem; height: 4rem; border-radius: 999px; z-index: 12; cursor: pointer;
  background: linear-gradient(135deg, #6FC7F2, #1C9FE0 55%, #0E6FA8);
  display: grid; place-items: center; box-shadow: 0 0 34px rgba(28, 159, 224, 0.55);
}
.orbital-core > span { width: 1.5rem; height: 1.5rem; border-radius: 999px; background: rgba(255, 255, 255, 0.9); }
.orbital-core::before, .orbital-core::after {
  content: ""; position: absolute; border-radius: 999px; border: 1px solid rgba(84, 187, 238, 0.4);
  width: 100%; height: 100%; animation: orbit-ping 2.6s cubic-bezier(0, 0, 0.2, 1) infinite; pointer-events: none;
}
.orbital-core::after { animation-delay: 0.8s; }
@keyframes orbit-ping { 0% { transform: scale(1); opacity: 0.7; } 75%, 100% { transform: scale(2.1); opacity: 0; } }

.orbital-node { position: absolute; left: 50%; top: 50%; z-index: 5; }
.orbital-node-btn {
  position: relative; display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: 999px; cursor: pointer; padding: 0; color: var(--brand-light);
  background: rgba(10, 14, 21, 0.92); border: 2px solid var(--border-strong);
  transition: transform .35s var(--ease-out), background .3s, border-color .3s, box-shadow .3s, color .3s;
}
.orbital-node-btn:hover { border-color: var(--brand-light); }
.orbital-node-label {
  position: absolute; left: 50%; top: 3rem; transform: translateX(-50%); white-space: nowrap;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.72rem; color: var(--text-muted);
  pointer-events: none; transition: color .3s, transform .3s;
}
.orbital-node.is-active-status .orbital-node-btn { color: var(--cta-light); border-color: rgba(245, 179, 1, 0.55); }
.orbital-node.is-related .orbital-node-btn { border-color: var(--brand-light); box-shadow: 0 0 16px rgba(84, 187, 238, 0.55); }
.orbital-node.is-selected { z-index: 30; }
.orbital-node.is-selected .orbital-node-btn { background: #fff; color: #06070C; border-color: #fff; box-shadow: 0 0 26px rgba(255, 255, 255, 0.45); transform: scale(1.35); }
.orbital-node.is-selected.is-active-status .orbital-node-btn { background: var(--cta); color: #0A0A05; border-color: var(--cta); box-shadow: var(--glow-amber); }
.orbital-node.is-selected .orbital-node-label { color: #fff; transform: translateX(-50%) scale(1.1); }

.orbital-detail { max-width: 460px; margin: 1.75rem auto 0; min-height: 116px; }
.orbital-hint { text-align: center; color: var(--text-dim); font-size: 0.9rem; padding-top: 2.25rem; }
.orbital-pill {
  display: inline-flex; align-items: center; gap: 0.4rem; font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.22rem 0.6rem;
  border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted);
}
.orbital-pill.s-active { color: var(--cta-light); border-color: rgba(245, 179, 1, 0.4); }
.orbital-pill .dot { width: 0.45rem; height: 0.45rem; border-radius: 999px; background: currentColor; }

/* ---- City photo banner inside the selected-node detail card ------------- */
.orbital-card { padding: 0; overflow: hidden; }     /* clip the banner to the card's rounded corners */
.orbital-figure {
  position: relative; margin: 0; width: 100%; aspect-ratio: 16 / 9;
  overflow: hidden; background: linear-gradient(160deg, #0c2236 0%, #0a0f18 60%, #08222f 100%);
}
.orbital-figure img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.02) contrast(1.02);
  animation: orb-fig-in .45s var(--ease-out) both;
}
@keyframes orb-fig-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
/* bottom scrim so the photo blends into the card + the city label stays legible */
.orbital-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,11,18,0) 42%, rgba(8,11,18,0.72) 100%);
}
.orbital-figure-city {
  position: absolute; left: 0.95rem; bottom: 0.7rem; z-index: 1;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.15rem;
  color: #fff; letter-spacing: -0.01em; text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}
.orbital-card-body { padding: 1.05rem 1.25rem 1.2rem; }
.orbital-card-city { padding: 1.05rem 1.25rem 0; margin: 0; }   /* no-image fallback heading */
@media (prefers-reduced-motion: reduce) { .orbital-figure img { animation: none; } }

/* ---- Problem accordion (feature list + synced image) --------------------- */
.acc { border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-head { margin: 0; }
.acc-trigger {
  display: flex; align-items: center; gap: 0.9rem; width: 100%;
  padding: 1.15rem 0.25rem; background: none; border: 0; cursor: pointer;
  text-align: left; color: var(--text-muted); transition: color .3s var(--ease-out);
}
.acc-trigger:hover { color: var(--text); }
.acc-trigger:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 3px; border-radius: 0.6rem; }
.acc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; flex-shrink: 0; border-radius: 0.7rem;
  background: var(--surface-2); color: var(--brand-light); border: 1px solid var(--border);
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out), color .3s var(--ease-out);
}
.acc-icon svg { width: 1.2rem; height: 1.2rem; }
.acc-title {
  flex: 1; font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 1.15rem; line-height: 1.3; color: inherit; transition: color .3s var(--ease-out);
}
.acc-chevron {
  width: 1.1rem; height: 1.1rem; flex-shrink: 0; color: var(--text-dim);
  transition: transform .35s var(--ease-out), color .3s var(--ease-out);
}
.acc-item.is-open .acc-title { color: #fff; }
.acc-item.is-open .acc-icon { background: rgba(28,159,224,.16); border-color: rgba(28,159,224,.45); }
.acc-item.is-open .acc-chevron { transform: rotate(180deg); color: var(--brand-light); }

.acc-panel { height: 0; overflow: hidden; transition: height .4s var(--ease-out); }
.acc-panel-inner { padding: 0 0.25rem 1.5rem 3.3rem; }
@media (max-width: 640px) { .acc-panel-inner { padding-left: 0.25rem; } }
.acc-desc { font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); }

.acc-media {
  position: relative; margin-top: 1rem; border-radius: 0.9rem; overflow: hidden;
  border: 1px solid var(--border); aspect-ratio: 16 / 10; background: var(--surface-2);
}
.acc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acc-media-overlay, .acc-figure-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(140deg, rgba(28,159,224,.12), rgba(5,7,12,.42));
}

.acc-figure-media {
  position: relative; border-radius: 1rem; overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 4 / 3; background: var(--acc-grad, var(--surface-2));
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  transition: opacity .4s var(--ease-out);
}
/* hidden while every accordion panel is collapsed (no image at rest) */
.acc-figure-media.is-empty { opacity: 0; visibility: hidden; }
.acc-figure-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity .45s var(--ease-out);
}

/* ---- About us: now the parent section, with The problem / The approach /
   Is JEVONS for you? nested as SUBSECTIONS (demoted to h3, tighter rhythm) -- */
.about-intro { padding-top: 6rem; padding-bottom: 0; }
@media (min-width: 768px) { .about-intro { padding-top: 8.5rem; } }
.about-sub { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .about-sub { padding-top: 4rem; padding-bottom: 4rem; } }
.about-sub-title { font-size: 1.5rem; line-height: 1.18; }
@media (min-width: 768px) { .about-sub-title { font-size: 2rem; } }

/* ---- About: animated capability pillars --------------------------------- */
.about-pillar {
  position: relative; padding: 1.7rem 1.5rem 1.5rem;
  border: 1px solid var(--border); border-radius: 1rem;
  background: linear-gradient(180deg, rgba(19, 26, 38, 0.55), rgba(10, 14, 21, 0.5));
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out), background .3s var(--ease-out);
}
.about-pillar:hover { transform: translateY(-5px); border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(24, 33, 48, 0.72), rgba(12, 17, 26, 0.6)); }
.about-pillar:hover .icon-tile { transform: translateY(-2px) scale(1.05); color: #fff; }

/* brand accent line that grows from the node on hover */
.about-accent {
  position: absolute; top: -1px; left: 1.35rem; height: 2px; width: 2.4rem; border-radius: 999px;
  background: var(--brand-gradient); opacity: .8;
  transition: width .5s var(--ease-out), opacity .3s var(--ease-out);
}
.about-pillar:hover .about-accent { width: calc(100% - 2.7rem); opacity: 1; }

/* live network node — gentle out-of-phase pulse per pillar */
.about-node {
  position: absolute; top: -3px; left: 1.3rem; width: 7px; height: 7px; border-radius: 999px;
  background: var(--brand-light); box-shadow: 0 0 8px rgba(84, 187, 238, 0.55);
}
.about-node::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--brand-light);
  animation: about-pulse 2.6s var(--ease-out) infinite; }
.about-pillar:nth-child(2) .about-node::after { animation-delay: .85s; }
.about-pillar:nth-child(3) .about-node::after { animation-delay: 1.7s; }
@keyframes about-pulse { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(3.6); opacity: 0; } }

/* big outlined index number, brightens on hover */
.about-index {
  position: absolute; top: 0.8rem; right: 1.1rem; pointer-events: none;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 600; font-size: 2.5rem; line-height: 1;
  letter-spacing: 0.01em; color: transparent; -webkit-text-stroke: 1px rgba(148, 170, 200, 0.18);
  transition: -webkit-text-stroke-color .35s var(--ease-out);
}
.about-pillar:hover .about-index { -webkit-text-stroke-color: rgba(84, 187, 238, 0.55); }

/* ---- Approach: animated value points ------------------------------------ */
.appr-point {
  position: relative; display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 0.7rem 0.85rem 0.7rem 1rem; border-radius: 0.7rem;
  transition: background .25s var(--ease-out);
}
.appr-point::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 2px; height: 0; border-radius: 999px; background: var(--brand-gradient);
  transition: height .35s var(--ease-out);
}
.appr-point:hover { background: rgba(148, 170, 200, 0.05); }
.appr-point:hover::before { height: calc(100% - 1.2rem); }
.appr-check {
  margin-top: 0.05rem; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 1.6rem; height: 1.6rem; border-radius: 999px; background: rgba(28, 159, 224, 0.14);
  color: var(--brand-light); border: 1px solid rgba(28, 159, 224, 0.25);
  transition: transform .25s var(--ease-out), background .25s var(--ease-out);
}
.appr-check svg { width: 0.85rem; height: 0.85rem; }
.appr-point:hover .appr-check { transform: scale(1.12); background: rgba(28, 159, 224, 0.22); }
.appr-text { color: var(--text-muted); }

/* ---- Premium comparison / versus tables --------------------------------- */
.vs-card {
  position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 1.1rem;
  background: linear-gradient(180deg, rgba(19, 26, 38, 0.55), rgba(10, 14, 21, 0.45));
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.6);
}
/* one-time diagonal light sweep when the table scrolls into view */
.vs-card::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.05) 47%, rgba(84, 187, 238, 0.12) 52%, transparent 68%);
  transform: translateX(-130%); opacity: 0;
}
.vs-card.is-visible::after { animation: vs-sweep 1.15s var(--ease-out) .28s 1 both; }
@keyframes vs-sweep {
  0% { transform: translateX(-130%); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateX(130%); opacity: 0; }
}

.vs-scroll { overflow-x: auto; }
.vs-table { width: 100%; border-collapse: separate; border-spacing: 0; position: relative; z-index: 1; table-layout: fixed; }
.vs-alt .vs-table { min-width: 540px; }
/* equal-width value columns: Hyperscale === JEVONS EDGE (label takes the rest) */
.vs-table thead th:first-child { width: 34%; }
.vs-table thead th.vs-c { width: 33%; }
.vs-table thead th {
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim);
  padding: 1.1rem 1.3rem; text-align: left; border-bottom: 1px solid var(--border-strong);
  white-space: nowrap; vertical-align: middle;
}
.vs-table tbody td {
  padding: 1.05rem 1.3rem; border-bottom: 1px solid var(--border);
  font-size: 0.92rem; line-height: 1.45; vertical-align: middle;
  transition: background .2s var(--ease-out), color .2s var(--ease-out);
}
.vs-table tbody tr:last-child td { border-bottom: 0; }
.vs-table tbody tr:hover td:not(.vs-je) { background: rgba(148, 170, 200, 0.05); }
.vs-table .vs-label { color: var(--text-muted); font-weight: 500; }
.vs-table tbody tr:hover .vs-label { color: var(--text); }
.vs-table .vs-c { text-align: center; }
.vs-table .vs-base { color: var(--text-muted); }
.vs-table .vs-strong { color: #fff; font-weight: 600; letter-spacing: -0.01em; }

/* staggered row reveal when the card scrolls into view */
.vs-card:not(.is-visible) .vs-table tbody tr { opacity: 0; transform: translateY(12px); }
.vs-card.is-visible .vs-table tbody tr { animation: vs-rowin .6s var(--ease-out) both; }
.vs-card.is-visible tbody tr:nth-child(1) { animation-delay: .06s; }
.vs-card.is-visible tbody tr:nth-child(2) { animation-delay: .13s; }
.vs-card.is-visible tbody tr:nth-child(3) { animation-delay: .20s; }
.vs-card.is-visible tbody tr:nth-child(4) { animation-delay: .27s; }
.vs-card.is-visible tbody tr:nth-child(5) { animation-delay: .34s; }
@keyframes vs-rowin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---- featured JEVONS column: a highlighted "spotlight" column ---- */
.vs-table th.vs-je, .vs-table td.vs-je {
  position: relative;
  background: linear-gradient(180deg, rgba(28, 159, 224, 0.17), rgba(28, 159, 224, 0.05));
  border-left: 1px solid rgba(28, 159, 224, 0.30);
  border-right: 1px solid rgba(28, 159, 224, 0.30);
}
.vs-table thead th.vs-je {
  color: var(--brand-light);
  border-top: 2px solid var(--brand);
  border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem;
  box-shadow: 0 -2px 22px rgba(28, 159, 224, 0.32);
}
.vs-table tbody tr:last-child td.vs-je {
  border-bottom-left-radius: 0.75rem; border-bottom-right-radius: 0.75rem;
}
.vs-table tbody tr:hover td.vs-je {
  background: linear-gradient(180deg, rgba(28, 159, 224, 0.26), rgba(28, 159, 224, 0.10));
}
.vs-je-head { display: flex; align-items: center; justify-content: center; gap: 0.55rem; }
/* tighter padding on the logo header cell so the (small) wordmark gets more room;
   column width is fixed by table-layout so this does NOT unbalance the columns */
.vs-table thead th.vs-je { padding-left: 0.7rem; padding-right: 0.7rem; }
.vs-logo { display: block; margin: 0 auto; width: auto; height: auto; max-width: 100%; max-height: 16px; object-fit: contain; }
.vs-dot { position: relative; display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: var(--brand-light); box-shadow: 0 0 8px rgba(84, 187, 238, 0.7); flex-shrink: 0; }
.vs-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--brand-light); animation: about-pulse 2.6s var(--ease-out) infinite; }

/* ---- verdict icons: circular chips that pop in + react on hover ---- */
.vs-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.7rem; height: 1.7rem; border-radius: 999px;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.vs-ic svg { width: 0.95rem; height: 0.95rem; }
.vs-yes { color: var(--success); background: rgba(52, 211, 153, 0.14); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.32); }
.vs-no  { color: var(--text-dim); background: rgba(148, 170, 200, 0.07); box-shadow: inset 0 0 0 1px rgba(148, 170, 200, 0.14); }
.vs-table tbody tr:hover .vs-yes { transform: scale(1.12); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.5), 0 0 16px rgba(52, 211, 153, 0.3); }
/* verdict icons pop in (after their row has revealed) when in view */
.vs-card.is-visible .vs-ic { animation: vs-pop .5s var(--ease-out) both; }
.vs-card.is-visible tbody tr:nth-child(4) .vs-ic { animation-delay: .42s; }
.vs-card.is-visible tbody tr:nth-child(5) .vs-ic { animation-delay: .52s; }
@keyframes vs-pop { 0% { transform: scale(0.3); opacity: 0; } 60% { transform: scale(1.18); } 100% { transform: scale(1); opacity: 1; } }
/* versus-alternatives variant: first column gets a growing hover accent */
.vs-alt tbody td.vs-alt-name { position: relative; color: #fff; font-weight: 600; padding-left: 1.5rem; white-space: nowrap; }
.vs-alt tbody td.vs-alt-name::before {
  content: ""; position: absolute; left: 0.45rem; top: 50%; transform: translateY(-50%);
  width: 2px; height: 0; border-radius: 999px; background: var(--brand-gradient); transition: height .3s var(--ease-out);
}
.vs-alt tbody tr:hover td.vs-alt-name::before { height: 56%; }
.vs-alt tbody td.vs-alt-prob { color: var(--text-muted); }

/* ---- Versus: "problem -> resolved" scan reveal -------------------------
   Each row starts as a dim "problem", a light scan sweeps across it and the
   JEVONS answer resolves in with a check that draws itself. The whole
   sequence is gated by `.run`, which main.js re-arms EVERY time the block
   scrolls into view (so the animation replays on each scroll-in).
   Entrance uses keyframe animations (not delayed transitions) so hover stays
   snappy and the sequence restarts cleanly when `.run` is toggled.          */
.vsa {
  border: 1px solid var(--border); border-radius: 1rem; overflow: hidden;
  background: linear-gradient(180deg, rgba(19, 26, 38, 0.5), rgba(10, 14, 21, 0.42));
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.55);
}
.vsa-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.4rem; border-bottom: 1px solid var(--border-strong);
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim);
}
.vsa-jeh { display: inline-flex; align-items: center; gap: 0.55rem; }
.vsa-logo { display: block; height: 15px; width: auto; max-width: 170px; object-fit: contain; }
.vsa-row {
  position: relative; overflow: hidden;
  display: grid; align-items: center; gap: 0 1rem;
  grid-template-columns: minmax(0, 1.5fr) 1.75rem minmax(0, 1.35fr);
  padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--border);
}
.vsa-row:last-child { border-bottom: 0; }
.vsa-problem { display: flex; flex-direction: column; gap: 0.28rem; }
.vsa-top { display: inline-flex; align-items: center; gap: 0.55rem; color: #fff; font-weight: 600; font-size: 0.92rem; }
.vsa-x { display: inline-flex; color: var(--bad); flex-shrink: 0; }
.vsa-x svg { width: 0.85rem; height: 0.85rem; }
.vsa-lim { color: var(--text-muted); font-size: 0.86rem; line-height: 1.45; }
.vsa-arrow { display: flex; justify-content: center; color: var(--text-dim); opacity: 0; transition: color .25s var(--ease-out); }
.vsa-arrow svg { width: 1.1rem; height: 1.1rem; }
.vsa-ans {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--brand-light); font-weight: 500; font-size: 0.88rem; line-height: 1.4;
  background: rgba(28, 159, 224, 0.08); border: 1px solid rgba(28, 159, 224, 0.28); border-left: 3px solid var(--brand);
  border-radius: 0.6rem; padding: 0.6rem 0.85rem;
  opacity: 0;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.vsa-check { display: inline-flex; color: var(--success); flex-shrink: 0; }
.vsa-check svg { width: 1.05rem; height: 1.05rem; }
.vsa-check path { stroke-dasharray: 26; stroke-dashoffset: 26; }
.vsa-scan {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 38%, rgba(56,189,248,.05) 46%, rgba(120,210,255,.5) 50%, rgba(56,189,248,.05) 54%, transparent 62%);
  transform: translateX(-130%); opacity: 0; mix-blend-mode: screen;
}
/* the run sequence — re-armed by JS on each scroll-in */
.vsa.run .vsa-scan    { animation: vsa-scan 1s var(--ease-out) both; animation-delay: calc(var(--i) * 0.5s); }
.vsa.run .vsa-problem { animation: vsa-dim 1s var(--ease-out) both;  animation-delay: calc(var(--i) * 0.5s); }
.vsa.run .vsa-arrow   { animation: vsa-pop .4s var(--ease-out) both; animation-delay: calc(var(--i) * 0.5s + 0.5s); }
.vsa.run .vsa-ans     { animation: vsa-ansin .5s var(--ease-out) both; animation-delay: calc(var(--i) * 0.5s + 0.5s); }
.vsa.run .vsa-check path { transition: stroke-dashoffset .5s var(--ease-out) calc(var(--i) * 0.5s + 0.85s); stroke-dashoffset: 0; }
@keyframes vsa-scan  { 0% { transform: translateX(-130%); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateX(130%); opacity: 0; } }
@keyframes vsa-dim   { 0% { opacity: .4; filter: saturate(.35); } 55% { opacity: .4; filter: saturate(.35); } 100% { opacity: 1; filter: none; } }
@keyframes vsa-pop   { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes vsa-ansin { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
/* hover (snappy — independent of the entrance) */
.vsa-row:hover .vsa-ans { background: rgba(28, 159, 224, 0.16); border-color: rgba(28, 159, 224, 0.5); color: #eaf6ff; box-shadow: 0 0 22px rgba(28, 159, 224, 0.22); }
.vsa-row:hover .vsa-arrow { color: var(--brand-light); }

@media (max-width: 700px) {
  .vsa-row { grid-template-columns: 1fr; gap: 0.55rem 0; padding: 1.15rem 1.2rem; }
  .vsa-arrow { justify-content: flex-start; margin: 0.05rem 0; }
  .vsa-arrow svg { transform: rotate(90deg); }
}

/* ---- "Built for teams in" — animated sector pills (auto-cycling) -------- */
.sector-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.sector-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.85rem 0.5rem 0.65rem; border-radius: 999px;
  border: 1px solid var(--border-strong); background: rgba(19, 26, 38, 0.4);
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.76rem; color: var(--text-muted);
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out),
              box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.sector-ic { display: inline-flex; color: var(--text-dim); transition: color .3s var(--ease-out), transform .3s var(--ease-out); }
.sector-ic svg { width: 15px; height: 15px; }
.sector-pill:hover, .sector-pill.is-active {
  border-color: rgba(28, 159, 224, 0.55); background: rgba(28, 159, 224, 0.12); color: #fff;
  box-shadow: 0 0 18px rgba(28, 159, 224, 0.22); transform: translateY(-2px);
}
.sector-pill:hover .sector-ic, .sector-pill.is-active .sector-ic { color: var(--brand-light); transform: scale(1.14); }
/* staggered fade-in when the column reveals (opacity only -> no clash with hover transform) */
.reveal:not(.is-visible) .sector-pill { opacity: 0; }
.reveal.is-visible .sector-pill { animation: sector-in .5s var(--ease-out) both; }
.reveal.is-visible .sector-pill:nth-child(1) { animation-delay: .04s; }
.reveal.is-visible .sector-pill:nth-child(2) { animation-delay: .10s; }
.reveal.is-visible .sector-pill:nth-child(3) { animation-delay: .16s; }
.reveal.is-visible .sector-pill:nth-child(4) { animation-delay: .22s; }
.reveal.is-visible .sector-pill:nth-child(5) { animation-delay: .28s; }
.reveal.is-visible .sector-pill:nth-child(6) { animation-delay: .34s; }
.reveal.is-visible .sector-pill:nth-child(7) { animation-delay: .40s; }
@keyframes sector-in { from { opacity: 0; } to { opacity: 1; } }

/* ---- Fit-o-meter (interactive self-assessment gauge) ------------------- */
.fm-gauge { position: relative; width: 230px; margin: 0 auto; }
.fm-gauge svg { width: 230px; height: 128px; max-width: 100%; display: block; margin: 0 auto; overflow: visible; }
.fm-track { fill: none; stroke: rgba(148, 170, 200, 0.14); stroke-width: 13; stroke-linecap: round; }
.fm-arc {
  fill: none; stroke: url(#fm-grad); stroke-width: 13; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.5));
  transition: stroke-dashoffset .6s var(--ease-out);
}
/* needle: transform-box VIEW-BOX (not fill-box — a zero-width line degenerates
   under fill-box) + origin at the hub in viewBox units, so rotation is exact. */
.fm-needle {
  stroke: var(--brand-light); stroke-width: 3; stroke-linecap: round;
  transform-box: view-box; transform-origin: 115px 122px; transform: rotate(-90deg);
  transition: transform .6s var(--ease-out);
}
.fm-hub { fill: var(--brand-light); }
/* readout sits BELOW the dial (out of the needle's sweep — no overlap) */
.fm-score { text-align: center; margin-top: 0.35rem; }
.fm-score-line { display: inline-flex; align-items: baseline; gap: 0.35rem; }
.fm-num { font-family: 'Space Grotesk', sans-serif; font-size: 2.2rem; font-weight: 700; color: #fff; line-height: 1; }
.fm-score-max { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 600; color: var(--text-dim); }
.fm-score-cap { display: block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-top: 0.3rem; }
.fm-verdict { text-align: center; font-weight: 600; color: var(--text-muted); margin: 0.4rem 0 1.4rem; min-height: 1.4em; transition: color .3s var(--ease-out); }
.fm-verdict.hot { color: var(--brand-light); }
.fm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.fm-row {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.8rem 1rem; border-radius: 0.8rem; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(19, 26, 38, 0.45), rgba(14, 19, 28, 0.4));
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out);
}
.fm-txt { flex: 1; color: var(--text-muted); font-size: 0.9rem; line-height: 1.4; transition: color .2s var(--ease-out); }
.fm-row.is-yes { border-color: rgba(28, 159, 224, 0.5); background: linear-gradient(180deg, rgba(28, 159, 224, 0.12), rgba(28, 159, 224, 0.04)); }
.fm-row.is-yes .fm-txt { color: #fff; }
.fm-toggle { flex: none; display: inline-flex; border: 1px solid var(--border-strong); border-radius: 999px; overflow: hidden; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.72rem; }
.fm-toggle button { padding: 0.4rem 0.8rem; background: none; border: 0; color: var(--text-dim); cursor: pointer; transition: background .2s var(--ease-out), color .2s var(--ease-out); }
.fm-toggle button:hover { color: var(--text); }
.fm-row.is-yes .fm-yes { background: var(--brand); color: #04121c; }
.fm-row.is-no .fm-no { background: rgba(148, 170, 200, 0.18); color: var(--text); }
.fm-cta { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; opacity: 0.45; transform: translateY(4px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.fm-cta.show { opacity: 1; transform: none; }
.fm-cta.show .btn { box-shadow: var(--glow-brand); }
.fm-cta-note { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.76rem; color: var(--text-dim); }

/* ---- SLA "Service guarantees" — an interactive 3D orbital carousel --------
   The 4 cards orbit a glowing core along a tilted ellipse, spinning a full
   360° continuously. Drag to spin (with momentum), hover to pause, click a
   card to glide it to the front (front = brightest/largest/closest). main.js
   `slaOrbit()` drives it with requestAnimationFrame, writing the finished
   transform/opacity/scale per frame on each .sla-slot — so there is NO CSS
   var-math (which silently fails in this engine). The default layout (no JS,
   mobile, or reduced-motion) is a plain readable vertical list: the JS only
   adds `.is-orbit` when it is safe to animate (wide viewport, motion OK).    */
.sla-orbit { width: 33rem; max-width: 100%; margin: 3.5rem auto 0; }

/* --- fallback layout: a plain vertical list (no JS / mobile / reduced) ---- */
.sla-orbit:not(.is-orbit) .sla-orbit-stage { display: flex; flex-direction: column; gap: 0.9rem; }
.sla-orbit:not(.is-orbit) .sla-orbit-ring,
.sla-orbit:not(.is-orbit) .sla-orbit-core,
.sla-orbit:not(.is-orbit) .sla-orbit-hint { display: none; }
.sla-orbit:not(.is-orbit) .sla-slot { width: 100%; }
.sla-orbit:not(.is-orbit) .sla-ocard { min-height: 0; }

/* --- orbit (3D) mode ----------------------------------------------------- */
.sla-orbit.is-orbit { width: 100%; }
.sla-orbit.is-orbit .sla-orbit-stage {
  position: relative; width: 100%; height: 30rem; /* JS overrides the height */
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
.sla-orbit.is-orbit .sla-orbit-stage.is-grabbing { cursor: grabbing; }
.sla-orbit.is-orbit .sla-slot {
  position: absolute; top: 50%; left: 50%; width: 15rem; margin: 0;
  transform: translate(-50%, -50%); will-change: transform, opacity;
}

.sla-orbit-ring {
  position: absolute; top: 50%; left: 50%; width: 19rem; height: 19rem; margin: -9.5rem 0 0 -9.5rem;
  border-radius: 999px; border: 1px dashed rgba(84, 187, 238, 0.18); pointer-events: none; z-index: 0;
}  /* JS sizes this to match the orbit ellipse */
.sla-orbit-core {
  position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 999px; background: var(--brand-light); box-shadow: 0 0 16px rgba(84, 187, 238, 0.7);
  pointer-events: none; z-index: 1;
}
.sla-orbit-core::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--brand-light);
  animation: about-pulse 2.6s var(--ease-out) infinite;
}

.sla-ocard {
  width: 100%; min-height: 11rem; box-sizing: border-box; display: flex; flex-direction: column;
  text-align: left; padding: 1.2rem 1.3rem; margin: 0;
  border-radius: 1rem; border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(21, 28, 42, 0.96), rgba(11, 15, 23, 0.96));
  color: var(--text); font: inherit; cursor: pointer;
  box-shadow: 0 18px 44px -26px rgba(0, 0, 0, 0.7);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s var(--ease-out);
}
.sla-ocard:hover, .sla-ocard:focus-visible { border-color: var(--brand-light); box-shadow: 0 26px 56px -22px rgba(0,0,0,.8), var(--glow-brand); outline: none; }
.sla-ocard.is-active {
  border-color: rgba(28, 159, 224, 0.6);
  background: linear-gradient(160deg, rgba(24, 38, 56, 0.97), rgba(12, 18, 28, 0.97));
  box-shadow: 0 26px 56px -22px rgba(0,0,0,.85), 0 0 0 1px rgba(28,159,224,.3), var(--glow-brand);
}
.sla-ic { width: 2.4rem; height: 2.4rem; border-radius: 0.8rem; display: inline-grid; place-items: center; background: rgba(28, 159, 224, 0.12); border: 1px solid rgba(28, 159, 224, 0.25); color: var(--brand-light); transition: background .3s var(--ease-out), transform .3s var(--ease-out); }
.sla-ic svg { width: 1.25rem; height: 1.25rem; }
.sla-ocard.is-active .sla-ic { background: rgba(28, 159, 224, 0.2); transform: scale(1.06); }
.sla-card-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 600; color: #fff; margin: 0.6rem 0 0; }
.sla-card-desc { font-size: 0.82rem; line-height: 1.45; color: var(--text-muted); margin: 0.3rem 0 0; }
.sla-orbit-hint { margin: 1.5rem 0 0; text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

@media (prefers-reduced-motion: reduce) {
  .sla-orbit-core::after { animation: none !important; }
  .sla-ocard { transition: border-color .2s, box-shadow .2s, background .2s !important; }
}

/* ---- Hero headline typewriter ------------------------------------------- */
.tw-char { opacity: 0; transition: opacity .15s var(--ease-out); }
.tw-char.show { opacity: 1; }
/* Zero-advance caret: a 0-width box never forces a line wrap; the visible
   bar is drawn out of flow via ::before so it never pushes the line either. */
.tw-caret { position: relative; display: inline-block; width: 0; height: 0.8em; vertical-align: -0.06em; }
.tw-caret::before {
  content: ""; position: absolute; left: 0.08em; top: 0; height: 100%; width: 3px; border-radius: 2px;
  background: var(--brand-light); box-shadow: 0 0 10px rgba(84, 187, 238, 0.55);
  animation: tw-blink 1.05s steps(1, end) infinite;
}
@keyframes tw-blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

/* ---- #platform — "Signal Flow × Holo Stack" ------------------------------
   Left: a live inference request pulses down the 4-layer path (request),
   executes at the edge facility and returns (response) while a round-trip
   counter runs. Right: the same 4 layers as a floating holographic 3D stack
   that glows in sync with the pulse. Clicking a station OR a slab pins its
   detail into the shared panel. Layer accents brighten with value-add.   */
#platform { --l0: #0E6FA8; --l1: #1C9FE0; --l2: #54BBEE; --l3: #7FD3FF; }

.pf-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .pf-grid { grid-template-columns: .95fr 1.05fr; align-items: start; gap: 3.5rem; } }

/* --- the request path ----------------------------------------------------- */
.pf-stage { display: flex; flex-direction: column; align-items: center; }
.pf-end {
  margin: .2rem 0; text-align: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .72rem; letter-spacing: .1em; color: var(--text-muted);
}
.pf-end b { display: block; margin-bottom: .15rem; font-family: 'Space Grotesk', sans-serif; font-size: .95rem; font-weight: 600; letter-spacing: 0; color: #fff; }
.pf-end--out { margin-top: .55rem; transition: color .3s, text-shadow .3s; }
.pf-end--out.flash { color: var(--brand-light); text-shadow: 0 0 18px rgba(84, 187, 238, .65); }

.pf-track { position: relative; width: 100%; max-width: 340px; }
.pf-line  { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: rgba(148, 170, 200, .16); }
.pf-trace {
  position: absolute; left: 50%; top: 0; width: 2px; height: 0; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--accent), var(--brand)); box-shadow: 0 0 12px rgba(56, 189, 248, .55);
  transition: opacity .5s;
}
.pf-track.is-return .pf-trace { opacity: .3; }
.pf-pulse {
  position: absolute; left: 50%; top: 0; width: 12px; height: 12px; border-radius: 50%;
  transform: translate(-50%, -50%); background: var(--accent); box-shadow: 0 0 16px 4px rgba(56, 189, 248, .75);
  pointer-events: none; z-index: 2; opacity: 0; transition: opacity .35s; will-change: top;
}
.pf-track.is-live .pf-pulse { opacity: 1; }
.pf-pulse::after {
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 44px;
  transform: translateX(-50%); background: linear-gradient(180deg, transparent, rgba(56, 189, 248, .7));
}
.pf-track.is-return .pf-pulse { background: #fff; box-shadow: 0 0 18px 5px rgba(127, 211, 255, .9); }
.pf-track.is-return .pf-pulse::after { bottom: auto; top: 100%; background: linear-gradient(0deg, transparent, rgba(255, 255, 255, .75)); }

.pf-nodes { position: relative; display: flex; flex-direction: column; gap: 1.05rem; padding: .6rem 0; }
.pf-node {
  position: relative; display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left;
  cursor: pointer; color: inherit; font: inherit;
  border: 1px solid var(--border); border-radius: .85rem; padding: .85rem 1rem;
  background: linear-gradient(180deg, rgba(19, 26, 38, .78), rgba(10, 14, 21, .7)); backdrop-filter: blur(3px);
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.pf-node:hover { transform: scale(1.02); border-color: var(--border-strong); }
.pf-dot {
  position: relative; width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: rgba(5, 7, 12, .7); border: 2px solid var(--lc);
}
.pf-dot b { width: 8px; height: 8px; border-radius: 50%; background: var(--lc); opacity: .55; transition: opacity .3s, box-shadow .3s; }
.pf-dot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; }
.pf-node.lit { border-color: var(--lc); }
.pf-node.lit .pf-dot b { opacity: 1; box-shadow: 0 0 10px var(--lc); }
.pf-node.ping .pf-dot::after { animation: pf-ping .65s var(--ease-out); }
@keyframes pf-ping { 0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, .55); } 100% { box-shadow: 0 0 0 18px rgba(56, 189, 248, 0); } }
.pf-node.sel { border-color: var(--lc); box-shadow: 0 0 0 1px var(--lc), 0 14px 30px -18px var(--lc); background: linear-gradient(180deg, rgba(24, 33, 48, .9), rgba(12, 17, 26, .8)); }
.pf-meta { min-width: 0; }
.pf-meta .layer-tag { display: block; font-size: .64rem; }
.pf-name { display: block; margin-top: .1rem; font-family: 'Space Grotesk', sans-serif; font-size: .98rem; font-weight: 600; color: var(--text); }
.pf-hop {
  margin-left: auto; flex: none; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .66rem; color: var(--accent);
  opacity: 0; transform: translateY(4px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.pf-hop.show { opacity: 1; transform: none; }

.pf-lat {
  margin-top: .9rem; display: inline-flex; align-items: center; gap: .55rem;
  border: 1px solid var(--border); border-radius: 999px; padding: .35rem .8rem; background: rgba(56, 189, 248, .06);
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .72rem; color: var(--text-muted);
}
.pf-lat b { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pf-blink 1.6s infinite; }
@keyframes pf-blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.pf-ms { color: var(--accent); font-variant-numeric: tabular-nums; min-width: 4.6ch; text-align: right; }

/* --- the holographic stack ------------------------------------------------ */
.pf-scene { position: relative; height: 380px; perspective: 1400px; display: grid; place-items: center; }
.pf-float { transform-style: preserve-3d; animation: pf-float 7s ease-in-out infinite alternate; }
@keyframes pf-float { from { transform: translateY(-7px); } to { transform: translateY(7px); } }
.pf-stack { position: relative; width: 290px; height: 190px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-42deg); }
/* The button is a STATIC 3D hit area (it never moves on hover/click, so the
   pointer can't slip out from under it -> no flicker); the inner .pf-card is
   the visual that animates. Lifts stay UNDER the 32px inter-card gap so a
   rising card never crosses the plane of the card above it. */
.pf-slab {
  position: absolute; inset: 0; cursor: pointer; color: inherit; font: inherit;
  background: transparent; border: 0; padding: 0; -webkit-tap-highlight-color: transparent;
  transform: translateZ(var(--z)); transform-style: preserve-3d;
}
.pf-slab:nth-child(1) { --z: 0px; }
.pf-slab:nth-child(2) { --z: 32px; }
.pf-slab:nth-child(3) { --z: 64px; }
.pf-slab:nth-child(4) { --z: 96px; }
.pf-card {
  --lift: 0px;
  position: absolute; inset: 0; border-radius: 14px;
  border: 1px solid var(--lc); background: linear-gradient(135deg, rgba(19, 26, 38, .96), rgba(10, 14, 21, .92));
  box-shadow: 0 0 0 1px rgba(5, 7, 12, .6), 0 24px 50px -20px var(--lc);
  display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px;
  transform: translateZ(var(--lift));
  transition: transform .65s var(--ease-out), box-shadow .45s, border-color .3s;
  will-change: transform;
}
.pf-card::before { content: ""; position: absolute; inset: 0; border-radius: 14px; background: linear-gradient(135deg, var(--lc), transparent 60%); opacity: .16; }
.pf-slab .layer-tag { position: relative; font-size: .6rem; text-align: left; }
.pf-slab-name { position: relative; align-self: flex-end; font-family: 'Space Grotesk', sans-serif; font-size: .92rem; font-weight: 600; color: #fff; }
.pf-slab.lit .pf-card { box-shadow: 0 0 0 1px var(--lc), 0 26px 52px -18px var(--lc); }   /* glow only — never self-moves */
.pf-slab:hover .pf-card { --lift: 14px; box-shadow: 0 0 0 1px var(--lc), 0 30px 56px -18px var(--lc); }
.pf-slab.sel .pf-card { --lift: 24px; border-color: rgba(255, 255, 255, .9); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9), 0 36px 64px -16px var(--lc); }
.pf-slab.sel:hover .pf-card { --lift: 28px; }
.pf-slab:focus-visible { outline: none; }
.pf-slab:focus-visible .pf-card { border-color: #fff; }
@media (max-width: 479px) {
  .pf-scene { height: 300px; }
  .pf-stack { width: 235px; height: 156px; }
  .pf-slab:nth-child(1) { --z: 0px; }
  .pf-slab:nth-child(2) { --z: 24px; }
  .pf-slab:nth-child(3) { --z: 48px; }
  .pf-slab:nth-child(4) { --z: 72px; }
}

/* --- shared detail panel --------------------------------------------------- */
.pf-panel {
  position: relative; margin-top: 1.4rem; overflow: hidden;
  border: 1px solid var(--border); border-radius: 1.1rem; padding: 1.5rem 1.6rem;
  background: linear-gradient(180deg, rgba(14, 19, 28, .9), rgba(8, 11, 18, .85));
}
@media (min-width: 1024px) { .pf-panel { min-height: 15.5rem; } }
.pf-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 200px at 100% 0%, var(--lc, var(--brand)), transparent 70%); opacity: .1; transition: background .5s; }
.pf-panel > * { position: relative; }
.pf-d-title { margin: .5rem 0 0; font-family: 'Space Grotesk', sans-serif; font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; }
.pf-d-desc { margin: .6rem 0 0; font-size: .95rem; color: var(--text-muted); }
.pf-d-spec { margin: .9rem 0 0; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .74rem; color: var(--brand-light); }
.pf-d-foot { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; }
.pf-follow {
  display: inline-flex; align-items: center; gap: .45rem; cursor: pointer;
  border: 1px solid rgba(84, 187, 238, .45); border-radius: 999px; padding: .35rem .8rem;
  background: rgba(28, 159, 224, .08); color: var(--brand-light);
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .7rem; letter-spacing: .04em;
  transition: border-color .25s, box-shadow .25s, color .25s;
}
.pf-follow:hover { border-color: var(--brand-light); color: #fff; box-shadow: 0 0 18px -6px var(--brand); }
.pf-hint { margin-top: .9rem; font-size: .8rem; color: var(--text-dim); }

/* ---- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .pf-pulse, .pf-trace, .pf-hop { display: none !important; }
  .pf-float { animation: none !important; }
  .pf-lat b { animation: none !important; }
  .pf-node, .pf-slab, .pf-card { transition: none !important; }
  .menu-link--reserve, .card--reserve { animation: none !important; box-shadow: 0 0 0 1px rgba(245, 179, 1, 0.32), 0 0 16px -4px rgba(245, 179, 1, 0.7) !important; }
  .orbital-core::before, .orbital-core::after { animation: none !important; }
  .tw-char { opacity: 1 !important; transition: none !important; }
  .tw-caret::before { animation: none !important; }
  .about-node::after { animation: none !important; }
  .vs-dot::after { animation: none !important; }
  .vs-card.is-visible .vs-ic { animation: none !important; }
  .vs-card .vs-table tbody tr { animation: none !important; opacity: 1 !important; transform: none !important; }
  .vs-card.is-visible::after { animation: none !important; opacity: 0 !important; }
  .vsa-ans, .vsa-arrow { opacity: 1 !important; transform: none !important; animation: none !important; }
  .vsa-problem { opacity: 1 !important; filter: none !important; animation: none !important; }
  .vsa-check path { stroke-dashoffset: 0 !important; }
  .vsa-scan { display: none !important; }
  .sector-pill { opacity: 1 !important; animation: none !important; }
  .acc-panel { transition: none !important; }
  .acc-figure-media img { transition: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .media img, .media--flat img { transform: scale(1.05) !important; }
  .cta-options { transition: opacity .001ms !important; }
}

/* ===== Stat band — five metrics, one row on desktop =====================
   The precompiled Tailwind build ships no `grid-cols-5`, so this band owns
   its own grid + responsive number sizing here. Two columns on small
   screens; five across from 900px up. The big numbers scale with the
   viewport (and never wrap) so the widest one — "12 months" — always fits
   its column. */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.stat-grid .stat-num {
  font-size: clamp(1.5rem, 6.5vw, 2.25rem);
  line-height: 1.05;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .stat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
  .stat-grid .stat-num { font-size: clamp(1.8rem, 3.1vw, 2.4rem); }
}
