/* ============================================================
   Chris LaCour — Speaker Site
   "Command Center" theme · near-black · cyan + gold · HUD panels
   ------------------------------------------------------------
   Edit colors / fonts in :root. Every page shares this file.
   ============================================================ */

/* ============================================================
   EXP Business Solutions — "Blueprint" theme
   Blueprint blue · white drafting lines · redline orange
   ------------------------------------------------------------
   Built on the shared component sheet; tokens live here.
   ============================================================ */
:root {
  --bg: #0b2a5b;
  --bg-2: #08214a;
  --panel: rgba(9, 34, 74, 0.78);
  --panel-2: rgba(8, 30, 66, 0.86);
  --panel-solid: #0a2550;

  --line: rgba(255, 255, 255, 0.26);
  --line-strong: rgba(255, 255, 255, 0.5);
  --line-soft: rgba(255, 255, 255, 0.14);
  --corner: rgba(255, 255, 255, 0.9);

  --cyan: #a9d6ff;          /* "pencil" blue: links + interactive */
  --cyan-2: #dcefff;
  --cyan-dim: rgba(169, 214, 255, 0.55);
  --cyan-glow: rgba(169, 214, 255, 0.18);
  --gold: #ffcf5a;
  --gold-bright: #ffd97a;
  --threat: #ff6a4d;        /* redline */
  --redline: #ff6a4d;

  --text: #f4f8ff;
  --muted: #bcd0ee;
  --muted-2: #8fa9d2;

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --radius: 2px;
  --radius-lg: 3px;
  --shadow: 0 18px 50px rgba(2, 10, 28, 0.45);
  --maxw: 1200px;
  --nav-h: 70px;
}

/* ------------------------------------------------------------
   Base
   ------------------------------------------------------------ */

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--bg);
}

body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.68;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(62, 230, 255, 0.09), transparent 60%),
    radial-gradient(900px 520px at -12% 38%, rgba(37, 84, 160, 0.20), transparent 58%),
    radial-gradient(700px 480px at 50% 110%, rgba(217, 174, 92, 0.06), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Blueprint grid behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 180, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 85%);
}

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

::selection { background: rgba(62, 230, 255, 0.3); color: #fff; }

a { color: var(--cyan); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--cyan-2); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cyan);
  color: #031016;
  padding: 10px 18px;
  font-weight: 600;
  z-index: 300;
}
.skip-link:focus { left: 12px; top: 12px; }

strong { color: #fff; font-weight: 600; }

/* ------------------------------------------------------------
   Type helpers
   ------------------------------------------------------------ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 2px var(--cyan);
  flex: none;
}

/* Numbered section labels: 01 // ABOUT */
main { counter-reset: sec; }
main > .section:not(#proof) { counter-increment: sec; }
main > .section:not(#proof) > .section-inner > .eyebrow::after {
  content: "[" counter(sec, decimal-leading-zero) "]";
  order: -1;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}

.accent {
  background: linear-gradient(92deg, var(--cyan) 0%, var(--cyan-2) 42%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  font-size: clamp(1.95rem, 3.6vw, 2.9rem);
  max-width: 820px;
  margin-bottom: 18px;
}

.section-note {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 42px;
  font-size: 1.04rem;
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 18px;
}

.credentials {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 30px;
  line-height: 1.9;
}
.credentials span, .credentials b { display: block; }
.credentials b { color: var(--gold-bright); font-weight: 500; }

.mono { font-family: var(--font-mono); }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */

.btn {
  --btn-pad: 14px 24px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: var(--btn-pad);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
  isolation: isolate;
}

.btn-solid {
  color: #021016;
  background: linear-gradient(135deg, var(--cyan-2), var(--cyan) 55%, #22c6e3);
  box-shadow: 0 0 0 1px rgba(62, 230, 255, 0.35), 0 10px 28px rgba(62, 230, 255, 0.22);
}
.btn-solid:hover {
  color: #021016;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(142, 243, 255, 0.6), 0 14px 36px rgba(62, 230, 255, 0.35);
}

.btn-ghost {
  color: var(--text);
  background: rgba(62, 230, 255, 0.04);
  border-color: var(--line);
}
.btn-ghost:hover {
  color: #fff;
  border-color: var(--cyan-dim);
  background: rgba(62, 230, 255, 0.1);
  transform: translateY(-2px);
}

.btn-sm { --btn-pad: 9px 16px; font-size: 0.86rem; }
.btn-lg { --btn-pad: 17px 30px; font-size: 1.02rem; }

.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ------------------------------------------------------------
   HUD panel treatment (corner brackets + glass)
   ------------------------------------------------------------ */

.hud,
.talk-card,
.calc-panel,
.magnet-card,
.quiz-card,
.book-form,
.about-facts,
.proof-card,
.lib-card,
.contact-panel,
.feature-card,
.doc-panel,
.stat {
  --c: var(--corner);
  --cs: 12px;
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / var(--cs) 1px,
    linear-gradient(var(--c), var(--c)) 0 0 / 1px var(--cs),
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--cs) 1px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 1px var(--cs),
    linear-gradient(var(--c), var(--c)) 0 100% / var(--cs) 1px,
    linear-gradient(var(--c), var(--c)) 0 100% / 1px var(--cs),
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--cs) 1px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 1px var(--cs),
    linear-gradient(180deg, rgba(17, 25, 38, 0.80), rgba(9, 14, 22, 0.80));
  background-repeat: no-repeat;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ------------------------------------------------------------
   Nav
   ------------------------------------------------------------ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.85), rgba(5, 7, 11, 0));
}
.nav.scrolled {
  background: rgba(5, 8, 13, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav.scrolled::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-dim) 30%, var(--gold) 70%, transparent);
  opacity: 0.35;
}

.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.brand:hover { color: #fff; }

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cyan);
  background: rgba(62, 230, 255, 0.06);
  border: 1px solid var(--line-strong);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  box-shadow: inset 0 0 14px rgba(62, 230, 255, 0.18);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a:not(.btn) {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 11px;
  border-radius: 4px;
}
.nav-links a:not(.btn):hover { color: #fff; background: rgba(62, 230, 255, 0.06); }
.nav-links a.active { color: var(--cyan); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 2px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.nav-links .btn { margin-left: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: rgba(62, 230, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--cyan);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 56px) 24px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: auto;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.6) 35%, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.6) 35%, #000 60%);
}

.hero-glow {
  position: absolute;
  z-index: -2;
  width: 760px;
  height: 760px;
  right: -160px;
  top: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 230, 255, 0.13), rgba(62, 230, 255, 0.03) 45%, transparent 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
  pointer-events: none;
}
.hero-inner > * { pointer-events: auto; }

.hero-copy h1 {
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.h1-name { display: block; }
.h1-claim {
  display: block;
  margin-top: 14px;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.industry-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.hero-trust li {
  position: relative;
  padding-left: 22px;
  font-size: 0.93rem;
  color: var(--muted);
}
.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

/* Portrait in a HUD frame */
.hero-portrait {
  position: relative;
  justify-self: center;
  width: min(100%, 400px);
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 10px;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  background:
    linear-gradient(var(--corner), var(--corner)) 0 0 / 22px 1px,
    linear-gradient(var(--corner), var(--corner)) 0 0 / 1px 22px,
    linear-gradient(var(--corner), var(--corner)) 100% 100% / 22px 1px,
    linear-gradient(var(--corner), var(--corner)) 100% 100% / 1px 22px,
    rgba(10, 16, 26, 0.6);
  background-repeat: no-repeat;
  box-shadow: 0 0 60px rgba(62, 230, 255, 0.12);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  filter: saturate(0.92) contrast(1.04);
}
/* Scan line sweeping the portrait */
.portrait-frame::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px;
  top: 10px;
  height: 70px;
  background: linear-gradient(180deg, transparent, rgba(62, 230, 255, 0.16) 70%, rgba(142, 243, 255, 0.5) 100%);
  mix-blend-mode: screen;
  animation: scan 5.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  pointer-events: none;
}
@keyframes scan {
  0%   { transform: translateY(-80px); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateY(calc(min(400px, 80vw) * 1.25)); opacity: 0; }
}

.portrait-tag {
  position: absolute;
  z-index: 2;
  top: -12px;
  left: 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 4px 10px;
}
.portrait-tag .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4dffa6;
  box-shadow: 0 0 8px #4dffa6;
  margin-right: 8px;
  vertical-align: 1px;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.portrait-caption {
  margin-top: 18px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.portrait-caption::before { content: "> "; color: var(--cyan); font-family: var(--font-mono); }

/* HUD stats row */
.stats-band {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.stat {
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 112px;
}
.stat-kicker {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat-plus { color: var(--cyan); margin-left: 2px; }
.stat-label { font-size: 0.86rem; color: var(--muted); line-height: 1.4; }

.stat-live { --c: rgba(255, 77, 109, 0.8); }
.stat-unit { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-left: 8px; }
.stat-meta { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.04em; color: var(--muted-2); margin-top: 4px; line-height: 1.45; }
.stat-live .stat-num { color: #ff8c78; text-shadow: 0 0 18px rgba(255, 77, 109, 0.35); }
.stat-live .stat-kicker { color: #ff8c78; }
.stat-live .stat-kicker::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--threat);
  box-shadow: 0 0 8px var(--threat);
  margin-right: 8px;
  vertical-align: 1px;
  animation: blink 1.6s ease-in-out infinite;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Industry / subpage heroes are shorter */
.industry-hero { min-height: auto; padding-top: calc(var(--nav-h) + 72px); padding-bottom: 80px; }
.industry-hero .hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.industry-hero .hero-portrait { width: min(100%, 320px); }

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */

.section {
  position: relative;
  padding: 104px 24px;
}
.section-alt {
  background: linear-gradient(180deg, rgba(10, 15, 24, 0.0), rgba(10, 15, 24, 0.65) 12%, rgba(10, 15, 24, 0.65) 88%, rgba(10, 15, 24, 0));
}
.section-alt::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(var(--maxw), calc(100% - 48px));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ------------------------------------------------------------
   About
   ------------------------------------------------------------ */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: start;
  margin-top: 18px;
}
.about-copy p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 1.06rem;
}
.about-copy p:first-child { color: var(--text); font-size: 1.14rem; }

.about-facts { padding: 28px 28px 26px; }
.about-facts h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.about-facts ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.about-facts li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.about-facts li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}
.about-facts li strong { color: #fff; }
.about-facts a { color: var(--text); border-bottom: 1px dashed var(--line-strong); }
.about-facts a:hover { color: var(--cyan); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid rgba(217, 174, 92, 0.35);
  background: rgba(217, 174, 92, 0.06);
  padding: 5px 10px;
  border-radius: 3px;
}

/* ------------------------------------------------------------
   Talks / generic card grid
   ------------------------------------------------------------ */

.talks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
/* Four cards read better as a 2 × 2 than 3 + 1 */
.talks-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.talk-card {
  padding: 30px 28px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.talk-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 200px at var(--mx, 50%) -20%, rgba(62, 230, 255, 0.10), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.talk-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(62, 230, 255, 0.08);
}
.talk-card:hover::before { opacity: 1; }

.talk-card h3 {
  font-size: 1.24rem;
  margin-bottom: 12px;
}
.talk-card p { color: var(--muted); font-size: 0.97rem; }

.talk-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

.talk-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  margin-bottom: 20px;
  background: rgba(62, 230, 255, 0.06);
  border: 1px solid var(--line);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.talk-icon svg { width: 24px; height: 24px; }

.talk-card-cta {
  --c: rgba(243, 205, 127, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / var(--cs) 1px,
    linear-gradient(var(--c), var(--c)) 0 0 / 1px var(--cs),
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--cs) 1px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 1px var(--cs),
    linear-gradient(var(--c), var(--c)) 0 100% / var(--cs) 1px,
    linear-gradient(var(--c), var(--c)) 0 100% / 1px var(--cs),
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--cs) 1px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 1px var(--cs),
    linear-gradient(150deg, rgba(217, 174, 92, 0.12), rgba(62, 230, 255, 0.05) 60%, rgba(9, 14, 22, 0.85));
  background-repeat: no-repeat;
  border-color: rgba(217, 174, 92, 0.22);
}
.talk-card-cta h3 { color: var(--gold-bright); }
.talk-card-cta p { margin-bottom: 22px; }

/* ------------------------------------------------------------
   Shield feature (homepage) + feature cards
   ------------------------------------------------------------ */

.shield-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.shield-diagram {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1;
}
.shield-diagram svg { width: 100%; height: 100%; overflow: visible; }
.shield-diagram .ring-spin { transform-origin: 260px 260px; animation: spin 40s linear infinite; }
.shield-diagram .ring-spin-rev { transform-origin: 260px 260px; animation: spin 60s linear infinite reverse; }
.shield-diagram .pulse { transform-origin: 260px 260px; animation: pulse 3.2s ease-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }
.shield-diagram text {
  font-family: var(--font-mono);
  fill: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.shield-diagram .node-label { fill: #fff; font-family: var(--font-display); font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 600; }

.feature-stack { display: flex; flex-direction: column; gap: 18px; }

.feature-card {
  display: block;
  padding: 26px 26px 24px;
  color: var(--text);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover { color: var(--text); transform: translateY(-3px); border-color: var(--line); }
.feature-card h3 { font-size: 1.28rem; margin: 10px 0 10px; }
.feature-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 14px; }
.feature-card .go {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.feature-card:hover .go { color: var(--cyan-2); }

/* ------------------------------------------------------------
   Calculator
   ------------------------------------------------------------ */

.calc-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  overflow: hidden;
}

.calc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
  padding: 34px;
}
.calc-span { grid-column: 1 / -1; }

.calc-field label,
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.calc-field label output { color: var(--cyan); font-weight: 600; }
.calc-optional { color: var(--muted-2); text-transform: none; letter-spacing: 0.02em; }

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: rgba(4, 7, 12, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input[type="number"] { font-family: var(--font-mono); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--cyan-dim);
  box-shadow: 0 0 0 3px rgba(62, 230, 255, 0.12);
}
input.invalid { border-color: var(--threat); box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.14); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
select option { background: var(--panel-solid); }

.calc-time {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
}
.calc-unit { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted-2); }
.calc-hint { font-size: 0.8rem; color: var(--muted-2); margin-top: 8px; line-height: 1.45; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), rgba(62, 230, 255, 0.15));
  border-radius: 2px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: var(--bg);
  border: 2px solid var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 12px var(--cyan-glow);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  background: var(--bg);
  border: 2px solid var(--cyan);
  border-radius: 0;
  transform: rotate(45deg);
  cursor: pointer;
}

.calc-results {
  padding: 34px;
  background: linear-gradient(180deg, rgba(62, 230, 255, 0.06), rgba(62, 230, 255, 0.015));
  border-left: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.calc-result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-soft);
}
.calc-result-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.calc-result-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.calc-result-hero .calc-result-num {
  font-size: clamp(2.3rem, 4vw, 3rem);
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(62, 230, 255, 0.35);
}

.calc-bars { display: flex; flex-direction: column; gap: 9px; margin: 2px 0 4px; }
.calc-bar {
  display: grid;
  grid-template-columns: 54px 1fr 70px;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.calc-bar-track { height: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.calc-bar-fill { position: absolute; inset: 0 auto 0 0; width: 0; transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.calc-bar.before .calc-bar-fill { background: repeating-linear-gradient(90deg, rgba(255, 77, 109, 0.75) 0 6px, rgba(255, 77, 109, 0.45) 6px 8px); }
.calc-bar.after .calc-bar-fill { background: linear-gradient(90deg, var(--cyan), var(--cyan-2)); box-shadow: 0 0 10px var(--cyan-glow); }
.calc-bar-val { text-align: right; color: var(--text); }

.calc-narrative { color: var(--muted); font-size: 0.96rem; }
.calc-warning {
  color: #ffb3c0;
  font-size: 0.88rem;
  border: 1px solid rgba(255, 77, 109, 0.35);
  background: rgba(255, 77, 109, 0.08);
  padding: 10px 12px;
  border-radius: 4px;
}
.calc-warning[hidden] { display: none; }
.calc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.calc-footnote { font-size: 0.78rem; color: var(--muted-2); }

/* ------------------------------------------------------------
   Lead magnet
   ------------------------------------------------------------ */

.magnet-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  padding: 36px;
  align-items: center;
}
.magnet-form { display: flex; flex-direction: column; gap: 16px; }
.magnet-note { font-size: 0.82rem; color: var(--muted-2); }
.magnet-points { list-style: none; display: flex; flex-direction: column; gap: 14px; counter-reset: pt; }
.magnet-points li {
  counter-increment: pt;
  position: relative;
  padding: 0 0 14px 46px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line-soft);
  font-size: 0.96rem;
}
.magnet-points li:last-child { border-bottom: none; padding-bottom: 0; }
.magnet-points li::before {
  content: counter(pt, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cyan);
  border: 1px solid var(--line);
  padding: 2px 6px;
}

.field { display: flex; flex-direction: column; }

/* ------------------------------------------------------------
   Events — mission log
   ------------------------------------------------------------ */

.events-list {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.events-list li {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 6px;
  padding: 18px 20px 18px 54px;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(62, 230, 255, 0.05), rgba(9, 14, 22, 0.6) 40%);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.events-list li:hover { border-color: var(--line); transform: translateX(3px); }
.events-list li::before {
  content: "";
  position: absolute;
  left: 22px; top: 50%;
  width: 10px; height: 10px;
  transform: translateY(-50%) rotate(45deg);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}
.events-list li:first-child::before { background: var(--cyan); }
.events-list li strong { color: #fff; font-family: var(--font-display); font-weight: 600; }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  align-items: start;
}
.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(10, 15, 24, 0.7);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item[open] { border-color: var(--line); background: rgba(13, 21, 33, 0.85); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  color: var(--cyan);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 20px 20px; color: var(--muted); font-size: 0.96rem; }

/* ------------------------------------------------------------
   Proof strip
   ------------------------------------------------------------ */

#proof { padding-top: 0; padding-bottom: 24px; }
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.proof-card { padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.proof-metric {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: -0.01em;
}
.proof-label { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }

/* ------------------------------------------------------------
   Booking
   ------------------------------------------------------------ */

.contact-lede { color: var(--muted); margin-bottom: 36px; max-width: 680px; font-size: 1.04rem; }

.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
}
.book-left { display: flex; flex-direction: column; gap: 18px; }

.quiz-card { padding: 26px; }
.quiz-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.quiz-head h3, .book-form h3 { font-size: 1.12rem; }
.quiz-skip {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px dashed var(--muted-2);
  padding: 2px 0;
}
.quiz-skip:hover { color: var(--cyan); border-color: var(--cyan); }

.quiz-q { border: none; margin-top: 14px; transition: opacity 0.2s ease; }
.quiz-q:disabled { opacity: 0.4; }
.quiz-q legend { font-size: 0.9rem; color: var(--text); margin-bottom: 10px; font-weight: 500; }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font: inherit;
  font-size: 0.86rem;
  color: var(--muted);
  background: rgba(4, 7, 12, 0.6);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pill:hover:not(:disabled) { color: #fff; border-color: var(--line); }
.pill.selected {
  color: #021016;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
  font-weight: 600;
}
.quiz-q:disabled .pill { cursor: not-allowed; }

.quiz-verdict {
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  font-size: 0.9rem;
  color: var(--text);
  transition: max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
}
.quiz-verdict.show {
  max-height: 160px;
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 2px solid var(--cyan);
  background: rgba(62, 230, 255, 0.06);
}

.book-form { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.book-form-note { font-size: 0.84rem; color: var(--cyan); min-height: 1.2em; }

.book-alt { display: flex; flex-wrap: wrap; gap: 18px; padding: 4px 4px 0; }
.book-alt a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.book-alt a:hover { color: var(--cyan); }

.cal-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel-solid);
  box-shadow: 0 0 50px rgba(62, 230, 255, 0.08);
}
.cal-frame::before {
  content: "SECURE CHANNEL // CALENDLY";
  display: block;
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(62, 230, 255, 0.04);
}
.cal-frame iframe { display: block; width: 100%; height: 700px; border: 0; }
.cal-note { margin-top: 12px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); text-align: center; }

/* Industry-page CTA panel */
.contact-panel { padding: 56px 48px; text-align: center; }
.contact-panel .eyebrow { justify-content: center; }
.contact-panel .section-title { margin-left: auto; margin-right: auto; }
.contact-panel .contact-lede { margin-left: auto; margin-right: auto; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ------------------------------------------------------------
   Library
   ------------------------------------------------------------ */

.lib-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.lib-card { padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.2s ease, transform 0.2s ease; }
.lib-card:hover { border-color: var(--line); transform: translateY(-3px); }
.lib-card h3 { font-size: 1.24rem; }
.lib-card h3 a { color: #fff; }
.lib-card h3 a:hover { color: var(--cyan); }
.lib-card p { color: var(--muted); font-size: 0.95rem; }

.lib-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 3px;
  border: 1px solid;
}
.badge-research { color: var(--cyan); border-color: var(--line-strong); background: rgba(62, 230, 255, 0.07); }
.badge-opinion  { color: var(--gold-bright); border-color: rgba(243, 205, 127, 0.45); background: rgba(217, 174, 92, 0.08); }
.badge-build    { color: #b49bff; border-color: rgba(180, 155, 255, 0.4); background: rgba(180, 155, 255, 0.07); }
.badge-playbook { color: #4dffa6; border-color: rgba(77, 255, 166, 0.4); background: rgba(77, 255, 166, 0.06); }
.lib-date { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted-2); letter-spacing: 0.06em; }

.lib-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lib-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  padding: 3px 8px;
  border-radius: 3px;
}
.lib-gate { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted-2); margin-top: auto; padding-top: 6px; }

/* ------------------------------------------------------------
   Document / article pages
   ------------------------------------------------------------ */

.doc-head {
  max-width: 860px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 72px) 24px 32px;
}
.doc-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin: 18px 0 18px; letter-spacing: -0.03em; }
.doc-sub { font-family: var(--font-display); font-size: 1.2rem; color: var(--text); margin-bottom: 14px; }
.doc-abstract { color: var(--muted); font-size: 1.06rem; margin-bottom: 20px; }
.doc-byline {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2);
  padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-top: 22px;
}
.doc-byline a { color: var(--cyan); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.doc-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 16px 24px 100px;
}
.doc-body > p:only-child { margin-top: 10px; }

.doc-panel { padding: 30px; margin: 34px 0; }
.doc-panel h2 { font-size: 1.5rem; margin-bottom: 8px; }
.doc-panel > p { color: var(--muted); margin-bottom: 20px; }

.proposal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.proposal {
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 18px 18px 16px;
  background: rgba(4, 7, 12, 0.5);
}
.proposal .k { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; color: var(--cyan); text-transform: uppercase; }
.proposal h3 { font-size: 1.06rem; margin: 6px 0 6px; }
.proposal p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.proposal .lbl { display: inline-block; margin-top: 10px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-bright); border: 1px solid rgba(243, 205, 127, 0.35); padding: 2px 7px; border-radius: 2px; }

.dep-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dep {
  text-align: center;
  padding: 18px 10px;
  border: 1px dashed rgba(255, 77, 109, 0.35);
  border-radius: 4px;
  background: rgba(255, 77, 109, 0.04);
}
.dep b { display: block; font-family: var(--font-display); font-size: 1.04rem; color: #fff; margin-bottom: 4px; }
.dep span { font-size: 0.82rem; color: var(--muted); line-height: 1.4; display: block; }

.phase-track { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.phase-track::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 21px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  opacity: 0.5;
}
.phase { position: relative; padding-top: 52px; }
.phase .n {
  position: absolute; top: 0; left: 0;
  width: 42px; height: 42px; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.9rem; color: var(--cyan);
  background: var(--bg); border: 1px solid var(--cyan);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.phase h3 { font-size: 1.02rem; margin-bottom: 4px; }
.phase .dur { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--muted-2); text-transform: uppercase; display: block; margin-bottom: 6px; }
.phase p { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }

/* Long-form prose (articles) */
.prose { font-size: 1.1rem; line-height: 1.8; color: #cdd7e5; }
.prose p { margin-bottom: 1.3em; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 0.7em; }
.prose strong { color: #fff; }
.prose a { border-bottom: 1px solid var(--line-strong); }
.prose .dropcap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.6em;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--cyan);
}
.control-list { list-style: none; margin: 1.4em 0 1.8em; display: grid; gap: 10px; counter-reset: ctl; }
.control-list li {
  counter-increment: ctl;
  position: relative;
  padding: 16px 18px 16px 64px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: rgba(10, 15, 24, 0.7);
  font-size: 1rem;
  line-height: 1.6;
}
.control-list li::before {
  content: counter(ctl, decimal-leading-zero);
  position: absolute; left: 18px; top: 16px;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--cyan);
  border: 1px solid var(--line); padding: 1px 6px;
}
.control-list li strong { color: #fff; }

.pullquote {
  margin: 2em 0;
  padding: 26px 30px;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(62, 230, 255, 0.08), transparent);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.35;
  color: #fff;
  letter-spacing: -0.01em;
}
.editor-note {
  font-size: 0.86rem;
  color: var(--muted-2);
  border-top: 1px dashed var(--line-soft);
  padding-top: 16px;
  margin-top: 40px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.footer {
  position: relative;
  padding: 54px 24px 40px;
  border-top: 1px solid var(--line-soft);
  background: rgba(4, 6, 10, 0.75);
}
.footer::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-dim), var(--gold), transparent);
  opacity: 0.4;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px 40px;
  align-items: center;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: flex-end; }
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-links a:hover { color: var(--cyan); }
.footer-copy {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.footer-copy a { color: var(--muted); }

/* ------------------------------------------------------------
   Chat helper
   ------------------------------------------------------------ */

#chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  background: rgba(8, 12, 19, 0.92);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}
#chat-launcher::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(62, 230, 255, 0.25), transparent 70%);
  animation: blink 2.6s ease-in-out infinite;
  pointer-events: none;
}
#chat-launcher:hover, #chat-launcher.chat-open { transform: scale(1.06); color: #021016; background: var(--cyan); }

#chat-panel {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 150;
  width: 350px;
  max-width: calc(100vw - 32px);
  height: 460px;
  max-height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
  background: rgba(7, 11, 18, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), 0 0 40px rgba(62, 230, 255, 0.08);
  overflow: hidden;
}
#chat-panel[hidden] { display: none; }

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: rgba(62, 230, 255, 0.06);
  border-bottom: 1px solid var(--line-soft);
}
.chat-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.chat-title::before { content: "● "; color: #4dffa6; }
#chat-close { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1rem; padding: 4px 8px; border-radius: 4px; }
#chat-close:hover { color: #fff; }

.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.chat-msg { max-width: 86%; padding: 9px 13px; border-radius: 6px; font-size: 0.87rem; line-height: 1.5; }
.chat-msg-bot { align-self: flex-start; background: rgba(17, 26, 40, 0.95); border: 1px solid var(--line-soft); color: var(--text); border-bottom-left-radius: 2px; }
.chat-msg-user { align-self: flex-end; background: var(--cyan); color: #021016; font-weight: 500; border-bottom-right-radius: 2px; }
.chat-typing { color: var(--cyan); letter-spacing: 0.2em; }

.chat-actions { display: flex; flex-direction: column; gap: 6px; }
.chat-actions a,
.chat-actions button {
  text-align: left;
  background: rgba(62, 230, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--cyan);
  border-radius: 4px;
  padding: 8px 12px;
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 0.15s ease;
  width: fit-content;
}
.chat-actions a:hover, .chat-actions button:hover { background: rgba(62, 230, 255, 0.14); color: var(--cyan-2); }

.chat-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line-soft); }
.chat-input input { flex: 1; padding: 9px 12px; font-size: 0.87rem; }
.chat-send {
  background: var(--cyan);
  border: none;
  border-radius: 4px;
  color: #021016;
  width: 42px;
  cursor: pointer;
  font-size: 0.95rem;
}
.chat-send:hover { background: var(--cyan-2); }

/* ------------------------------------------------------------
   Reveal on scroll
   ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }
.talks-grid .reveal:nth-child(2), .lib-grid .reveal:nth-child(2), .proof-strip .reveal:nth-child(2) { transition-delay: 0.07s; }
.talks-grid .reveal:nth-child(3), .lib-grid .reveal:nth-child(3), .proof-strip .reveal:nth-child(3) { transition-delay: 0.14s; }
.talks-grid .reveal:nth-child(4) { transition-delay: 0.05s; }
.talks-grid .reveal:nth-child(5) { transition-delay: 0.12s; }
.talks-grid .reveal:nth-child(6) { transition-delay: 0.19s; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1080px) {
  .talks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links a:not(.btn) { padding: 8px 8px; font-size: 0.7rem; }
}

@media (max-width: 920px) {
  :root { --nav-h: 64px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: rgba(5, 8, 13, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.22s ease;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: 13px 10px; font-size: 0.8rem; border-bottom: 1px solid var(--line-soft); }
  .nav-links .btn { margin: 14px 0 0; }

  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-inner,
  .industry-hero .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-portrait { width: min(78%, 340px); }
  .hero-canvas {
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.45) 45%, #000 70%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.45) 45%, #000 70%);
  }
  .scroll-cue { display: none; }

  .about-grid,
  .shield-grid,
  .calc-panel,
  .magnet-card,
  .book-grid { grid-template-columns: 1fr; }
  .calc-results { border-left: none; border-top: 1px solid var(--line-soft); }
  .faq-list, .events-list, .lib-grid, .proof-strip { grid-template-columns: 1fr; }
  .section { padding: 90px 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .dep-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phase-track { grid-template-columns: 1fr; gap: 22px; }
  .phase-track::before { display: none; }
  .shield-diagram { max-width: 420px; }
}

@media (max-width: 600px) {
  .talks-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; }
  .shield-diagram .node-label { font-size: 21px; }
  .shield-diagram text:not(.node-label) { display: none; }
  .talks-grid,
  .stats-band,
  .proposal-grid { grid-template-columns: 1fr; }
  .stats-band { gap: 10px; margin-top: 44px; }
  .stat { min-height: 0; }
  .calc-form { grid-template-columns: 1fr; padding: 24px; }
  .calc-results, .magnet-card, .quiz-card, .book-form { padding: 22px; }
  .contact-panel { padding: 40px 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cal-frame iframe { height: 640px; }
  .doc-panel { padding: 22px; }
  .prose { font-size: 1.04rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .portrait-frame::after,
  .scroll-cue::after,
  .shield-diagram .ring-spin,
  .shield-diagram .ring-spin-rev,
  .shield-diagram .pulse,
  #chat-launcher::after,
  .portrait-tag .dot,
  .stat-live .stat-kicker::before { animation: none; }
  .shield-diagram .pulse { opacity: 0; }
  .portrait-frame::after { display: none; }
  .btn:hover, .talk-card:hover, .feature-card:hover, .lib-card:hover, .events-list li:hover { transform: none; }
}

/* ------------------------------------------------------------
   Swarm simulation tags (drawn above the portrait)
   ------------------------------------------------------------ */
.sim-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.sim-tag {
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--tc, var(--cyan));
  background: rgba(5, 7, 11, 0.84);
  border: 1px solid var(--tb, var(--line));
  padding: 5px 9px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.25s ease;
  will-change: transform, opacity;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.sim-tag b { font-weight: 500; }
.sim-tag span { display: block; margin-top: 3px; opacity: 0.72; font-size: 10px; }
@media (max-width: 600px) { .sim-tag { font-size: 10px; padding: 4px 7px; } }

/* ------------------------------------------------------------
   Delivered impact ledger
   ------------------------------------------------------------ */
.impact { padding-top: 96px; }

.ledger { padding: 32px 34px 26px; margin-bottom: 18px; }
.ledger-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}
.ledger-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.ledger-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(62, 230, 255, 0.25);
}
.ledger-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ledger-facts div { border-left: 1px solid var(--line); padding: 4px 0 4px 14px; }
.ledger-facts b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--gold-bright); line-height: 1.1; }
.ledger-facts span { display: block; font-size: 0.84rem; color: var(--muted); line-height: 1.4; margin-top: 4px; }

.ledger-bar {
  display: flex;
  gap: 3px;
  height: 40px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  background: rgba(4, 7, 12, 0.7);
  border-radius: 3px;
}
.ledger-bar .seg {
  position: relative;
  flex: 0 0 auto;
  width: 0;
  min-width: 0;
  background: var(--c);
  border-radius: 2px;
  box-shadow: 0 0 18px color-mix(in srgb, var(--c) 45%, transparent);
  transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease, filter 0.2s ease;
  overflow: hidden;
}
.ledger.in .ledger-bar .seg { width: calc(var(--w) - 3px); min-width: 6px; }
.ledger-bar .seg em {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #021016;
  white-space: nowrap;
}
.ledger-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 14px;
}
.ledger-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
  cursor: default;
  transition: color 0.15s ease;
}
.ledger-legend li::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--c); }
.ledger-legend b { font-family: var(--font-mono); font-weight: 500; font-size: 0.78rem; color: var(--text); }

/* highlight one program across bar, legend and cards */
.impact.focus .ledger-bar .seg:not(.hl) { opacity: 0.25; }
.impact.focus .ledger-legend li:not(.hl) { color: var(--muted-2); }
.impact.focus .impact-card:not(.hl) { opacity: 0.55; }
.ledger-legend li.hl { color: #fff; }

.impact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
.impact-card {
  --cc: var(--c, var(--cyan));
  position: relative;
  padding: 24px 24px 22px;
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--cc);
  border-radius: var(--radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--cc) 9%, transparent), rgba(9, 14, 22, 0.85) 45%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: opacity 0.2s ease, transform 0.25s ease, border-color 0.25s ease;
}
.impact-card:hover { transform: translateY(-3px); }
.impact-feature { grid-row: span 2; padding: 30px 30px 28px; }
.impact-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cc);
}
.impact-card h3 { font-size: 1.18rem; margin-top: 4px; }
.impact-feature h3 { font-size: 1.6rem; }
.impact-scale { font-size: 0.88rem; color: var(--muted); }
.impact-unit {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 8px 0 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
}
.impact-feature .impact-unit { font-size: 1.9rem; margin: 14px 0 8px; }
.impact-unit .was { color: var(--muted-2); text-decoration: line-through; text-decoration-color: rgba(255, 77, 109, 0.7); text-decoration-thickness: 2px; }
.impact-unit .arrow { color: var(--cc); }
.impact-unit .now { color: #fff; }
.impact-unit .unit-note { font-family: var(--font-body); font-weight: 400; font-size: 0.86rem; color: var(--muted); }

.impact-ba { display: grid; gap: 8px; margin: 6px 0 14px; }
.ba-row { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 10px; }
.ba-row span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.ba-row i { display: block; height: 10px; width: 0; border-radius: 2px; transition: width 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s; }
.impact-card.in .ba-row i { width: var(--w); }
.ba-before { background: repeating-linear-gradient(90deg, rgba(255, 77, 109, 0.8) 0 8px, rgba(255, 77, 109, 0.45) 8px 10px); }
.ba-after { background: var(--cc); box-shadow: 0 0 12px var(--cc); min-width: 6px; }

.impact-hours { margin-top: auto; padding-top: 10px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--muted); }
.impact-hours b {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin-right: 4px;
  font-variant-numeric: tabular-nums;
}
.impact-feature .impact-hours b { font-size: 3rem; color: var(--cc); text-shadow: 0 0 26px color-mix(in srgb, var(--cc) 40%, transparent); }
.impact-math {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(4, 7, 12, 0.6);
  border: 1px dashed var(--line-soft);
  padding: 7px 10px;
  border-radius: 3px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.impact-foot { margin-top: 22px; font-size: 0.84rem; color: var(--muted-2); max-width: 860px; }

@media (max-width: 1080px) {
  .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impact-feature { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 920px) {
  .ledger-head { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 600px) {
  .ledger { padding: 22px; }
  .ledger-facts { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .ledger-bar { height: 30px; }
  .ledger-bar .seg em { font-size: 0.66rem; left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ledger-bar .seg, .ba-row i { transition: none; }
  .impact-card:hover { transform: none; }
}
/* 800 dots = the 800 people running program 01 (40 × 20) */
.people { margin: 4px 0 6px; }
.people-grid {
  aspect-ratio: 40 / 20;
  width: 100%;
  background-image: radial-gradient(circle, var(--cc) 0 1.6px, transparent 2.1px);
  background-size: calc(100% / 40) calc(100% / 20);
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 var(--fill, 0%), rgba(0,0,0,0.18) var(--fill, 0%));
  mask-image: linear-gradient(90deg, #000 0%, #000 var(--fill, 0%), rgba(0,0,0,0.18) var(--fill, 0%));
  transition: --fill 1.6s ease;
}
.impact-card.in .people-grid { animation: peopleFill 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards; }
@property --fill { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@keyframes peopleFill { to { --fill: 100%; } }
.people-cap { font-size: 0.84rem; color: var(--muted); margin-bottom: 8px; }
.people-cap b { color: #fff; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .people-grid { animation: none !important; --fill: 100%; -webkit-mask-image: none; mask-image: none; } }
