/* =========================================================
   AI Literate GA — shared styles
   Charcoal canvas, bold white type, restrained micro-motion
   ========================================================= */

:root {
  --bg: #1b1c1e;
  --bg-2: #222326;
  --surface: #27292c;
  --surface-2: #2f3135;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: #a9adb4;
  --dim: #74787f;
  --accent: #ff9152;          /* Georgia peach — used sparingly */
  --accent-soft: rgba(255, 145, 82, 0.14);
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; color: var(--muted); }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  color: var(--text);
}
h1 { font-size: clamp(44px, 8.2vw, 112px); font-weight: 900; letter-spacing: -0.04em; }
h2 { font-size: clamp(34px, 5vw, 64px); }
h3 { font-size: clamp(21px, 2vw, 26px); letter-spacing: -0.015em; }
h4 { font-size: 15px; letter-spacing: 0.02em; }

::selection { background: var(--accent); color: #111; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--text); color: var(--bg);
  padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Subtle grain + grid backdrop */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.55;
}
main, footer, header { position: relative; z-index: 1; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(27, 28, 30, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; transition: height 0.35s var(--ease);
}
.scrolled .nav { height: 64px; }

.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 900; font-size: 19px; letter-spacing: -0.02em;
}
.brand-mark {
  min-width: 34px; height: 34px; padding: 0 7px; border-radius: 9px;
  background: var(--text); color: var(--bg);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 900; letter-spacing: 0.02em;
  position: relative; overflow: hidden;
}
.brand-mark::after {
  content: ""; position: absolute; right: 5px; bottom: 5px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse 2.4s var(--ease) infinite;
}
.brand span em { font-style: normal; color: var(--muted); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block;
  padding: 8px 14px; font-size: 15px; font-weight: 600; color: var(--muted);
  transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: var(--text); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links .btn { margin-left: 10px; }
.nav-links .btn::after { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  background: transparent; border-radius: 12px; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  --bx: 50%; --by: 50%;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--body); font-weight: 700; font-size: 15px; letter-spacing: -0.005em;
  border: 1px solid var(--text); background: var(--text); color: var(--bg) !important;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120px circle at var(--bx) var(--by), var(--accent), transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.35); }
.btn:hover::before { opacity: 0.55; }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost {
  background: transparent; color: var(--text) !important; border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--text); box-shadow: none; }
.btn-ghost::before { background: radial-gradient(120px circle at var(--bx) var(--by), rgba(255,255,255,0.18), transparent 70%); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Common blocks ---------- */
section { padding: clamp(72px, 11vw, 140px) 0; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }
.border-top { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; color: var(--muted); max-width: 680px; }
.accent { color: var(--accent); }
.outline-text {
  color: transparent; -webkit-text-stroke: 1.5px var(--text);
}

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Card with cursor spotlight */
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(255,255,255,0.07), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card-num {
  font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--dim);
  margin-bottom: 40px; display: flex; justify-content: space-between; align-items: center;
}
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 26px;
  transition: transform 0.4s var(--ease), background 0.3s;
}
.card:hover .icon { transform: rotate(-6deg) scale(1.06); background: var(--accent-soft); }
.icon svg { width: 22px; height: 22px; stroke: var(--text); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.tag {
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--muted); text-transform: uppercase;
}
.tag-accent { border-color: rgba(255,145,82,0.45); color: var(--accent); background: var(--accent-soft); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; color: var(--muted); }
.check-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9152' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list strong { color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 110px); position: relative; }
.hero h1 { margin-bottom: 32px; max-width: 13ch; }
.hero .lede { margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03);
  font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 34px;
}
.hero-badge b {
  background: var(--text); color: var(--bg); border-radius: 999px; padding: 3px 9px;
  font-size: 12px; letter-spacing: 0.04em;
}
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(42px, 7vw, 96px); max-width: 14ch; }

/* Animated word reveal */
.split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split .word > span {
  display: inline-block; transform: translateY(105%);
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--i) * 55ms);
}
.split.in .word > span { transform: translateY(0); }

/* Hero orb */
.orb {
  position: absolute; right: -8%; top: 4%; width: min(46vw, 560px); aspect-ratio: 1;
  pointer-events: none; z-index: -1;
}
.orb::before, .orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.orb::after { inset: 18%; border-style: dashed; animation: spin 60s linear infinite; }
.orb-core {
  position: absolute; inset: 36%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,145,82,0.55), rgba(255,145,82,0.06) 60%, transparent 70%);
  filter: blur(6px); animation: breathe 6s ease-in-out infinite;
}
.orb-dot {
  position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px;
  border-radius: 50%; background: var(--text);
  animation: orbit 14s linear infinite;
}
.orb-dot.d2 { animation-duration: 22s; animation-direction: reverse; background: var(--accent); width: 7px; height: 7px; margin: -3.5px; --r: 32%; }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 22px 0; white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: inline-flex; gap: 56px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 56px;
  font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.02em; color: var(--muted);
}
.marquee-item::after { content: "✦"; color: var(--accent); font-size: 0.6em; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 36px 28px 8px 0; border-right: 1px solid var(--line); padding-left: 28px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--display); font-weight: 900; font-size: clamp(44px, 5.4vw, 76px);
  letter-spacing: -0.04em; line-height: 1; margin-bottom: 12px; color: var(--text);
}
.stat-num sup { font-size: 0.45em; vertical-align: top; margin-left: 2px; color: var(--accent); top: 0.2em; position: relative; }
.stat p { font-size: 15px; margin: 0; }
.source-note { font-size: 13px; color: var(--dim); margin-top: 28px; }

/* ---------- Pathway (certificate tiers) ---------- */
.pathway { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.tier { padding-top: 40px; }
.tier .hours {
  font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1;
  letter-spacing: -0.04em; margin-bottom: 4px;
}
.tier .hours small { font-size: 18px; color: var(--muted); font-weight: 700; letter-spacing: 0; margin-left: 4px; }
.tier .bar { height: 4px; border-radius: 4px; background: var(--surface-2); margin: 22px 0 26px; overflow: hidden; }
.tier .bar i {
  display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--text), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) 0.2s;
}
.in .tier .bar i, .tier.in .bar i { transform: scaleX(1); }

/* ---------- Feature split ---------- */
.split-feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.panel {
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2);
  padding: 28px;
}
.panel-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600;
}
.panel-row:last-child { border-bottom: 0; }
.panel-row span:first-child { color: var(--text); }
.panel-row span:last-child { color: var(--muted); font-size: 14px; font-weight: 500; text-align: right; }

.risk-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.risk-row:last-child { border-bottom: 0; }
.risk-row b { font-family: var(--display); font-weight: 800; }
.risk-row span { color: var(--muted); font-size: 15px; }
.risk-meter { display: flex; gap: 4px; margin-top: 6px; }
.risk-meter i { width: 18px; height: 5px; border-radius: 3px; background: var(--surface-2); }
.risk-meter i.on { background: var(--text); }
.risk-meter i.hot { background: var(--accent); }

/* ---------- People ---------- */
.portrait {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line); aspect-ratio: 4 / 5;
  display: grid; place-items: center;
}
.portrait .initials {
  font-family: var(--display); font-weight: 900; font-size: clamp(90px, 14vw, 180px);
  letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.5);
}
.portrait .scan {
  position: absolute; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(255,145,82,0.12), transparent);
  animation: scan 5s ease-in-out infinite;
}
.portrait-caption {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.portrait-caption .live { display: inline-flex; align-items: center; gap: 8px; }
.portrait-caption .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }

.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.founder-grid .portrait { position: sticky; top: 100px; }
.credential-list { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 40px; }
.credential {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}
.credential:hover { padding-left: 10px; }
.credential .k { font-family: var(--display); font-weight: 800; color: var(--dim); font-size: 15px; padding-top: 3px; }
.credential h3 { font-size: 22px; margin-bottom: 6px; }
.credential p { margin: 0; }

.quote {
  font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.12; letter-spacing: -0.025em; max-width: 22ch; margin: 0;
}
.quote::before { content: "“"; color: var(--accent); }
.quote::after { content: "”"; color: var(--accent); }

.partner-card .portrait { aspect-ratio: 1; margin-bottom: 24px; }
.partner-card .portrait .initials { font-size: clamp(64px, 8vw, 96px); }
.partner-card .role { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.partner-card .years { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.t-item { position: relative; padding: 0 0 36px 44px; }
.t-item::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--text);
  transition: background 0.3s, transform 0.3s var(--ease);
}
.t-item:hover::before { background: var(--accent); border-color: var(--accent); transform: scale(1.2); }
.t-item .when { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.t-item h3 { margin: 6px 0 6px; font-size: 22px; }
.t-item p { margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 14px 16px; transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9adb4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,0.3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--text); background: var(--surface);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
}
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group input { position: absolute; opacity: 0; pointer-events: none; }
.chip-group label {
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: all 0.25s var(--ease);
}
.chip-group label:hover { border-color: var(--text); color: var(--text); }
.chip-group input:checked + label { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip-group input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { font-size: 13px; color: var(--dim); margin: 0; }
.form-success {
  display: none; padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(255,145,82,0.45);
  background: var(--accent-soft); color: var(--text); font-weight: 600;
}
.form.sent .form-success { display: block; animation: rise 0.6s var(--ease); }
.form-error {
  display: none; padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(255, 99, 99, 0.5);
  background: rgba(255, 99, 99, 0.1); color: #ffd6d6; font-weight: 600; font-size: 15px;
}
.form-error.show { display: block; animation: rise 0.4s var(--ease); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: 0.7; cursor: default; transform: none; }
.btn .spinner {
  width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent;
  animation: spin 0.7s linear infinite; display: none;
}
.btn.loading .spinner { display: inline-block; }
.btn.loading .arrow { display: none; }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { border-top: 1px solid var(--line); }
.contact-item h4 { color: var(--dim); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; margin-bottom: 8px; }
.contact-item a, .contact-item div { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.contact-item a { background: linear-gradient(var(--text), var(--text)) left bottom / 0 2px no-repeat; transition: background-size 0.35s var(--ease); padding-bottom: 2px; }
.contact-item a:hover { background-size: 100% 2px; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: calc(var(--radius) + 8px); padding: clamp(40px, 7vw, 88px);
  background: var(--text); color: var(--bg); position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--bg); max-width: 16ch; }
.cta-band p { color: #4a4d52; max-width: 560px; font-size: 18px; }
.cta-band .btn { background: var(--bg); color: var(--text) !important; border-color: var(--bg); }
.cta-band .btn-ghost { background: transparent; color: var(--bg) !important; border-color: rgba(0,0,0,0.2); }
.cta-band .btn-ghost::before { background: radial-gradient(120px circle at var(--bx) var(--by), rgba(0,0,0,0.08), transparent 70%); }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  border: 60px solid var(--accent); opacity: 0.9; animation: spin 40s linear infinite;
  border-right-color: transparent; border-bottom-color: transparent;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 36px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 64px; }
.footer-grid h4 { color: var(--dim); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); font-size: 15px; transition: color 0.2s; }
.footer-grid a:hover { color: var(--text); }
.footer-big {
  font-family: var(--display); font-weight: 900; font-size: clamp(54px, 13vw, 190px);
  letter-spacing: -0.055em; line-height: 0.85; color: transparent; -webkit-text-stroke: 1px var(--line-strong);
  margin: 0 0 36px; user-select: none; white-space: nowrap;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.footer-bottom p { color: var(--dim); margin: 0; max-width: 720px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.8); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.15); opacity: 0.6; } }
@keyframes orbit { from { transform: rotate(0deg) translateX(min(23vw, 280px)) rotate(0deg); } to { transform: rotate(360deg) translateX(min(23vw, 280px)) rotate(-360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scan { 0%, 100% { top: -40%; } 50% { top: 100%; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .pathway { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section-head, .split-feature, .founder-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-head { gap: 20px; margin-bottom: 44px; }
  .founder-grid .portrait { position: relative; top: 0; max-width: 440px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .orb { opacity: 0.5; right: -30%; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(27, 28, 30, 0.98); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 28px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform 0.4s var(--ease), opacity 0.3s, visibility 0.3s;
  }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 16px 0; font-size: 22px; font-family: var(--display); font-weight: 800; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links a.btn { display: flex; margin: 20px 0 0; padding: 16px 22px; justify-content: center; font-family: var(--body); font-size: 16px; font-weight: 700; color: var(--bg); border-bottom: 1px solid var(--text); }
  .nav { height: 64px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .pathway, .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 16px 8px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .card { padding: 26px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .risk-row { grid-template-columns: 1fr; gap: 4px; }
  .panel-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .panel-row span:last-child { text-align: left; }
  .orb { display: none; }
  .cta-band::after { width: 220px; height: 220px; border-width: 36px; right: -90px; top: -90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .split .word > span { transform: none; }
}
