/* MayimFlow — site styles
   One stylesheet for every page. No build step, no framework.
   Brand tokens live in :root; change them here and every page follows. */

:root {
  --navy: #0B1222;
  --navy-2: #121C33;
  --navy-3: #1B2742;
  --blue: #0066CC;
  --blue-dark: #0052A3;
  --teal: #00A8E8;
  --orange: #F7941D;
  --yellow: #FDB913;
  --green: #3DB54A;
  --red: #E5484D;

  --ink: #0F172A;
  --text: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --tint: #F4F7FB;
  --white: #FFFFFF;

  --on-dark: #E2E8F0;
  --on-dark-muted: #94A3B8;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px -12px rgb(15 23 42 / 0.18);
  --shadow-lg: 0 30px 60px -20px rgb(15 23 42 / 0.35);

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 300;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

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

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--teal); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 720px; }
.section-dark .lead { color: var(--on-dark-muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.source { font-size: 0.8rem; color: var(--muted); }
.source a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.section-dark .source { color: var(--on-dark-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px -10px rgb(0 102 204 / 0.7); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: rgb(255 255 255 / 0.08); color: var(--white); border-color: rgb(255 255 255 / 0.35); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgb(255 255 255 / 0.16); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: #EEF4FB; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }
.arrow-link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.3s, box-shadow 0.3s, height 0.3s;
  color: var(--white);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid {
  background: rgb(255 255 255 / 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 6px 20px -12px rgb(15 23 42 / 0.25);
  color: var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.wordmark { font-size: 1.25rem; letter-spacing: 0.02em; line-height: 1; }
.wordmark b { color: var(--teal); font-weight: 800; }
.wordmark span { font-weight: 400; }
.is-solid .wordmark b { color: var(--blue); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: inherit; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.9; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover { opacity: 1; color: var(--teal); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--teal); opacity: 1; }
.is-solid .nav-links a:hover { color: var(--blue); }
.menu-toggle {
  display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; border-radius: 8px;
}
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav .btn { display: none; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); color: var(--ink);
    padding: 8px var(--gutter) 24px;
    box-shadow: 0 20px 30px -20px rgb(15 23 42 / 0.4);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); color: var(--blue); }
  .nav-links .mobile-cta { display: block; margin-top: 16px; }
  .nav-links .mobile-cta .btn { display: flex; width: 100%; }
  .site-header.menu-open { background: var(--white); color: var(--ink); }
  .site-header.menu-open .wordmark b { color: var(--blue); }
}
@media (min-width: 921px) { .nav-links .mobile-cta { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--navy) url("../img/hero-poster.webp") center / cover no-repeat;
  color: var(--white); overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 120px;
}
.hero-video { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-ready { opacity: 1; }
.hero-video iframe {
  position: absolute; top: 50%; left: 50%;
  width: max(100vw, 177.78vh); height: max(100vh, 56.25vw);
  transform: translate(-50%, -50%); border: 0;
}
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgb(11 18 34 / 0.55) 0%, rgb(11 18 34 / 0.62) 60%, rgb(11 18 34 / 0.92) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white); max-width: 980px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { color: #CBD5E1; max-width: 700px; margin-bottom: 36px; }
.hero .eyebrow { color: var(--teal); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--white);
  padding: 8px 14px; border-radius: 999px;
  background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.2);
}
.badge .icon { color: var(--yellow); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy); color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(56px, 8vw, 96px);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.22;
  background: var(--bg, none) center / cover no-repeat;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 900px; }
.page-hero .lead { color: #CBD5E1; }
.page-hero .eyebrow { color: var(--teal); }

/* ---------- Stakes strip ---------- */
.stakes { position: relative; z-index: 5; margin-top: -72px; padding-bottom: clamp(56px, 7vw, 88px); }
.stakes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stake { padding: 32px 30px; border-right: 1px solid var(--line); }
.stake:last-child { border-right: 0; }
.stake-num { font-size: 2.6rem; font-weight: 800; color: var(--blue); letter-spacing: -0.03em; line-height: 1; margin-bottom: 10px; }
.stake:nth-child(2) .stake-num { color: var(--teal); }
.stake p { color: var(--ink); font-weight: 600; margin-bottom: 10px; font-size: 1rem; line-height: 1.45; }
@media (max-width: 760px) {
  .stakes-grid { grid-template-columns: 1fr; }
  .stake { border-right: 0; border-bottom: 1px solid var(--line); }
  .stake:last-child { border-bottom: 0; }
}

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-5-7 { grid-template-columns: 5fr 7fr; }
.split-7-5 { grid-template-columns: 7fr 5fr; }
@media (max-width: 900px) { .split, .split-5-7, .split-7-5 { grid-template-columns: 1fr; } }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.section-dark .card { background: var(--navy-2); border-color: var(--navy-3); color: var(--on-dark); }
.icon-bubble {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgb(0 102 204 / 0.1); color: var(--blue); margin-bottom: 20px;
}
.icon-bubble svg { width: 26px; height: 26px; }
.icon-bubble.teal { background: rgb(0 168 232 / 0.12); color: var(--teal); }
.icon-bubble.orange { background: rgb(247 148 29 / 0.14); color: #D97706; }
.icon-bubble.green { background: rgb(61 181 74 / 0.14); color: #16A34A; }
.section-dark .icon-bubble { background: rgb(0 168 232 / 0.15); color: var(--teal); }

.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  font-weight: 800; font-size: 0.95rem; color: var(--navy); background: var(--teal); margin-bottom: 16px;
}
.step-num.orange { background: var(--yellow); }
.step-num.green { background: var(--green); color: var(--white); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-size: 0.85rem; font-weight: 600; padding: 8px 16px; border-radius: 999px;
  background: var(--tint); color: var(--ink); border: 1px solid var(--line);
}
.section-dark .pill { background: rgb(255 255 255 / 0.06); color: var(--white); border-color: rgb(255 255 255 / 0.18); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 2px; }

/* ---------- Incident timeline ---------- */
.incident { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 40px 0 32px; padding: 0; list-style: none; position: relative; }
.incident::before {
  content: ""; position: absolute; top: 11px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--yellow), var(--orange), var(--red));
}
.incident-step { text-align: center; padding: 0 10px; position: relative; }
.incident-dot { width: 24px; height: 24px; border-radius: 50%; margin: 0 auto 16px; border: 4px solid var(--navy); }
.incident-time { display: block; font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.incident-step p { font-size: 0.95rem; color: var(--on-dark-muted); margin: 0; }
@media (max-width: 760px) {
  .incident { grid-template-columns: 1fr; gap: 22px; }
  .incident::before { top: 12px; bottom: 12px; left: 11px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--blue), var(--yellow), var(--orange), var(--red)); }
  .incident-step { display: grid; grid-template-columns: 24px 1fr; gap: 0 18px; text-align: left; padding: 0; }
  .incident-dot { margin: 0; grid-row: span 2; }
}
.callout {
  background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: var(--radius);
  padding: 22px 26px; color: var(--white); font-weight: 600; font-size: 1.05rem;
}
.callout strong { color: var(--yellow); }

/* ---------- Warning window (status quo) ---------- */
.window { margin-top: 12px; }
.window-labels { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; margin-bottom: 14px; }
.window-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; padding-bottom: 10px; border-bottom: 3px solid; }
.window-label.good { color: var(--blue); border-color: var(--blue); }
.window-label.late { color: #D97706; border-color: var(--orange); }
.window-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.window-step { text-align: center; }
.window-step span {
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-weight: 800;
}
.window-step.late span { background: var(--orange); }
.window-step p { font-weight: 600; color: var(--ink); font-size: 0.95rem; margin: 0; line-height: 1.35; }
.window-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.window-compare .card { padding: 22px 24px; }
.window-compare .good { background: #EEF5FD; border-color: #C9DDF5; }
.window-compare .late { background: #FFF6EA; border-color: #F8DDB8; }
@media (max-width: 700px) {
  .window-labels { display: none; }
  .window-steps { grid-template-columns: 1fr; }
  .window-step { display: flex; align-items: center; gap: 14px; text-align: left; }
  .window-step span { margin: 0; flex: none; }
  .window-step p br { display: none; }
  .window-compare { grid-template-columns: 1fr; }
}

/* ---------- Figures / screenshots ---------- */
.frame {
  background: var(--navy); border-radius: var(--radius-lg); padding: clamp(10px, 1.6vw, 18px);
  box-shadow: var(--shadow-lg);
}
.frame img { border-radius: calc(var(--radius-lg) - 10px); width: 100%; }
.frame.light { background: var(--white); border: 1px solid var(--line); }
figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
.section-dark figcaption { color: var(--on-dark-muted); }

.bg-panel { position: relative; overflow: hidden; }
.bg-panel::before {
  content: ""; position: absolute; inset: 0; opacity: 0.18;
  background: var(--bg) center / cover no-repeat;
}
.bg-panel > .container { position: relative; }

/* ---------- Signals table ---------- */
.signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.signal { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: var(--white); }
.signal h4 { margin-bottom: 4px; }
.signal p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.signal .analogy { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
@media (max-width: 860px) { .signals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .signals { grid-template-columns: 1fr; } }

.integrations { display: grid; gap: 18px; }
.integration { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--navy-3); }
.integration:first-child { border-top: 0; }
.integration dt { font-weight: 800; color: var(--white); }
.integration dd { margin: 0; color: var(--on-dark); }
@media (max-width: 600px) { .integration { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Logos ---------- */
.logo-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(28px, 5vw, 64px); row-gap: 32px;
}
.logo-row img { height: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.3s, opacity 0.3s; }
.logo-row img:hover { filter: none; opacity: 1; }

/* ---------- Recognition ---------- */
.rec-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rec-item { display: grid; grid-template-columns: 130px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rec-date { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.rec-item h3 { font-size: 1.15rem; margin: 0 0 2px; }
.rec-item p { margin: 0; color: var(--muted); }
@media (max-width: 640px) {
  .rec-item { grid-template-columns: 1fr; gap: 6px; }
}

.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.highlight {
  display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.highlight:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.hl-logos { display: flex; align-items: center; gap: 12px; height: 52px; margin-bottom: 14px; min-width: 0; }
.hl-logos img { height: auto; max-width: 100%; min-width: 0; flex: 0 1 auto; object-fit: contain; }
.highlight .when { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.highlight strong { font-size: 1.05rem; line-height: 1.3; }
.highlight span:last-child { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 1000px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .highlights { grid-template-columns: 1fr; } }

.press-card { display: grid; grid-template-columns: 5fr 7fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.press-card + .press-card { margin-top: 28px; }
.press-media { background: var(--tint); display: flex; align-items: center; justify-content: center; min-height: 300px; position: relative; overflow: hidden; }
.press-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.press-media.contain { padding: 24px; }
.press-media.contain img { position: static; object-fit: contain; height: auto; max-height: 340px; }
.press-body { padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.press-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.press-meta .tag { color: var(--teal); }
.press-meta .date { color: var(--muted); }
.press-body h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.press-body blockquote { margin: 0 0 20px; padding-left: 16px; border-left: 3px solid var(--teal); color: var(--muted); font-style: italic; }
@media (max-width: 820px) { .press-card { grid-template-columns: 1fr; } .press-media { min-height: 220px; max-height: 360px; } }

.photo-strip { display: grid; grid-template-columns: 0.8fr 0.8fr 1.4fr; gap: 16px; }
.photo-strip figure { margin: 0; }
.photo-strip img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.photo-strip img.pos-right { object-position: 85% center; }
@media (max-width: 900px) { .photo-strip { grid-template-columns: 1fr 1fr; } .photo-strip figure:last-child { grid-column: 1 / -1; } .photo-strip img { height: 360px; } }
@media (max-width: 560px) { .photo-strip { grid-template-columns: 1fr; } .photo-strip img { height: auto; aspect-ratio: 4 / 3; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 28px 28px; }
.member .headshot { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; box-shadow: 0 0 0 6px var(--tint); }
.member h3 { font-size: 1.2rem; margin-bottom: 2px; }
.member .role, .advisor-card .role { color: var(--blue); font-weight: 700; font-size: 0.95rem; margin-bottom: 12px; }
.member .bio { color: var(--muted); flex: 1; }
.member .creds {
  width: 100%; min-height: 150px; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: center; align-content: center; align-items: center; gap: 18px 28px;
}
.creds img, .commercial img, .advisor-stanford img { height: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 960px) { .team-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .member .creds { min-height: 0; } }

.advisor-card {
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 56px); align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px);
}
.advisor-card .headshot { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 8px var(--tint); }
.advisor-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 4px; }
.advisor-card p { color: var(--text); }
.advisor-stanford { margin: 18px 0 24px; }
.commercial-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted) !important; margin-bottom: 14px; }
.commercial { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
@media (max-width: 760px) { .advisor-card { grid-template-columns: 1fr; text-align: center; } .advisor-card .headshot { margin: 0 auto; width: 180px; height: 180px; } .commercial { justify-content: center; } .advisor-stanford img { margin: 0 auto; } }

.founder-photo img { border-radius: var(--radius-lg); width: 100%; max-height: 560px; object-fit: cover; }
.founder-quote { font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--ink); line-height: 1.55; }
.signature { font-weight: 700; color: var(--ink); margin-top: 8px; }
.signature span { display: block; font-weight: 500; color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue) 0%, #0A84D6 55%, var(--teal) 100%);
  color: var(--white); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgb(255 255 255 / 0.9); max-width: 640px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-ghost { border-color: rgb(255 255 255 / 0.6); }

/* ---------- Forms (Tally embed) ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 36px); box-shadow: var(--shadow); }
.form-card iframe { width: 100%; min-height: 560px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding: 72px 0 36px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: var(--white); margin-bottom: 18px; }
.site-footer h4 { color: var(--white); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--teal); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--navy-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; }
.social { display: flex; gap: 14px; margin-top: 18px; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--navy-2); border: 1px solid var(--navy-3); }
.social svg { width: 18px; height: 18px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .highlight { transition: none; }
}

/* ---------- 404 ---------- */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.08rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--blue);
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { margin: 0 0 22px; color: var(--text); max-width: 720px; }

/* ---------- Insights ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-grid.two { grid-template-columns: repeat(2, 1fr); }
.post-card {
  display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); color: var(--text); text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card h3 { font-size: 1.25rem; margin: 0; }
.post-card p { margin: 0; color: var(--muted); flex: 1; }
.post-card .arrow-link { margin-top: 8px; }
.post-meta { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
@media (max-width: 960px) { .post-grid, .post-grid.two { grid-template-columns: 1fr; } }

.article-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.crumbs { margin-bottom: 16px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.crumbs a { color: var(--teal); }
.article-meta { color: #CBD5E1; margin: 0; }

.prose { font-size: 1.08rem; line-height: 1.75; color: var(--text); }
.prose .lede { font-size: 1.25rem; color: var(--ink); line-height: 1.6; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 2em 0 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .note { background: var(--tint); border-radius: var(--radius); padding: 18px 22px; font-size: 0.98rem; }
.prose ul.checklist { list-style: none; padding-left: 0; }
.prose ul.checklist li { position: relative; padding-left: 32px; }
.prose ul.checklist li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 5px;
  border: 2px solid var(--teal);
}
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.98rem; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: var(--tint); }
.prose td:first-child { font-weight: 700; color: var(--ink); }
.sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.sources h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.sources a { color: var(--text); }

@media (max-width: 1100px) and (min-width: 921px) { .nav-links { gap: 18px; } .nav-links a { letter-spacing: 0.1em; } }

/* Press card without a photo: navy panel with the organization name */
.press-list .press-card + .press-card { margin-top: 28px; }
.press-media.brand {
  flex-direction: column; gap: 10px; padding: 32px; text-align: center; color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, #12305a 100%);
}
.press-media.brand .brand-sub { color: var(--teal); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.press-media.brand .brand-name { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
