/* =========================================================
   Biologic AI — site design system
   Evolves the deck DNA: ink-on-bone, teal accent,
   Hanken Grotesk + Space Mono, Calabi-Yau manifold motif.
   Web-native: responsive, depth, subtle scroll motion.
   ========================================================= */

:root {
  --bg:          oklch(0.986 0.004 230);
  --bg-deep:     oklch(0.945 0.008 232);
  --paper:       oklch(0.998 0.001 230);
  --ink:         oklch(0.235 0.018 252);
  --ink-soft:    oklch(0.43 0.018 252);
  --ink-mute:    oklch(0.60 0.014 250);
  --line:        oklch(0.885 0.007 240);
  --line-soft:   oklch(0.93 0.006 240);
  --accent:      #2e7c92;
  --accent-deep: color-mix(in oklab, var(--accent), #07121a 32%);
  --accent-tint: color-mix(in oklab, var(--accent), var(--bg) 90%);
  --accent-tint2:color-mix(in oklab, var(--accent), var(--bg) 74%);
  --ink-on-accent: oklch(0.99 0.005 220);

  --sans:  'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --mono:  'Space Mono', ui-monospace, monospace;

  --maxw: 1240px;
  --pad:  clamp(22px, 5vw, 56px);
  --sect: clamp(72px, 11vh, 132px);

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;

  --sh-sm: 0 1px 2px oklch(0.4 0.03 250 / 0.05), 0 2px 8px oklch(0.4 0.03 250 / 0.04);
  --sh:    0 4px 14px oklch(0.4 0.03 250 / 0.06), 0 12px 36px oklch(0.4 0.03 250 / 0.07);
  --sh-lg: 0 18px 60px oklch(0.35 0.04 250 / 0.13);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1, "ss01" 1;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: var(--sect); position: relative; }
.section.tint { background: var(--bg-deep); }
.section.dark { background: var(--ink); color: var(--bg); }
.section.dark .lead, .section.dark .body { color: oklch(0.86 0.02 245); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.flexrow { display: flex; gap: clamp(16px, 2vw, 28px); }
.between { justify-content: space-between; }
.center-y { align-items: center; }
.wrap { flex-wrap: wrap; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 13px;
  font-family: var(--mono); font-size: 14px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-deep);
  margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 24px; height: 1.5px; background: var(--accent); }
.dark .eyebrow { color: var(--accent-tint2); }
.dark .eyebrow::before { background: var(--accent-tint2); }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.6vw, 92px); }
h2 { font-size: clamp(32px, 4.4vw, 60px); letter-spacing: -0.022em; line-height: 1.06; }
h3 { font-size: clamp(21px, 2vw, 27px); letter-spacing: -0.015em; line-height: 1.14; }

.lead { font-size: clamp(20px, 2.1vw, 27px); line-height: 1.42; color: var(--ink-soft); font-weight: 400; letter-spacing: -0.01em; text-wrap: pretty; }
.body { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.small { font-size: 15px; line-height: 1.5; color: var(--ink-mute); }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
strong { font-weight: 700; color: var(--ink); }
.dark strong { color: #fff; }
em { font-style: italic; }
.accent-text { color: var(--accent-deep); }
.measure { max-width: 62ch; }
.measure-sm { max-width: 46ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--ink-on-accent); box-shadow: var(--sh-sm); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--sh); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.dark .btn-ghost { color: var(--bg); border-color: oklch(0.45 0.02 250); }
.dark .btn-ghost:hover { border-color: var(--accent-tint2); color: var(--accent-tint2); }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: oklch(0.986 0.004 230 / 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo img { width: 34px; height: 34px; }
.logo .name { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav-links a { font-size: 16px; font-weight: 500; color: var(--ink-soft); transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--accent-deep); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(120px, 17vh, 190px); padding-bottom: var(--sect); overflow: hidden; }
.hero-glow {
  position: absolute; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-tint2), transparent 66%);
  filter: blur(20px); opacity: 0.7; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(30px, 5vw, 72px); }
.manifold-float { animation: spin 26s linear infinite; will-change: transform; transform-origin: 50% 50%; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .manifold-float { animation: none; } }

/* ---------- cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(24px, 2.4vw, 34px); box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--accent-tint2); }
.card-accent { background: var(--accent-tint); border-color: var(--accent-tint2); }
.dark .card { background: oklch(0.29 0.02 250); border-color: oklch(0.4 0.02 250); box-shadow: none; }

.stat-num { font-size: clamp(46px, 5.2vw, 72px); font-weight: 600; letter-spacing: -0.03em; line-height: 0.92; }
.stat-label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- chips / tags ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 15px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent-deep); border: 1px solid var(--accent-tint2);
}
.chip.ghost { background: transparent; border-color: var(--line); color: var(--ink-mute); }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tag.cos { background: var(--accent-tint); color: var(--accent-deep); border: 1px solid var(--accent-tint2); }
.tag.rx { background: var(--ink); color: var(--bg); }
.tag.dual { background: linear-gradient(90deg, var(--accent-deep), var(--ink)); color: #fff; }

/* ---------- section heading block ---------- */
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head.center .eyebrow { justify-content: center; }

/* ---------- listed drivers ---------- */
.drivers { display: flex; flex-direction: column; }
.drivers li { display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); list-style: none; }
.drivers li:last-child { border-bottom: 0; }
.drivers .n { font-family: var(--mono); color: var(--accent); font-size: 15px; flex: none; width: 30px; }
.drivers ul { margin: 0; padding: 0; }

/* ---------- engine funnel ---------- */
.engine-flow { display: flex; align-items: stretch; gap: 12px; }
.ef-cap { flex: 0 0 130px; border-radius: var(--r-sm); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 20px 22px; }
.ef-start { background: var(--accent-tint); border: 1px solid var(--accent-tint2); }
.ef-end { background: var(--ink); border: 1px solid var(--ink); }
.ef-cap-k { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.ef-start .ef-cap-k { color: var(--accent-deep); }
.ef-end .ef-cap-k { color: var(--bg); }
.ef-cap-d { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.3; }
.ef-start .ef-cap-d { color: var(--ink-mute); }
.ef-end .ef-cap-d { color: var(--accent-tint2); }
.ef-stages { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.ef-stage { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.ef-stage::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--s1, var(--accent)), var(--s2, var(--accent))); opacity: 1; }
.ef-stages .ef-stage:nth-child(1){--s1:#0bb5c9;--s2:#22a7e0}
.ef-stages .ef-stage:nth-child(2){--s1:#22a7e0;--s2:#3f86ef}
.ef-stages .ef-stage:nth-child(3){--s1:#3f86ef;--s2:#5b6bf5}
.ef-stages .ef-stage:nth-child(4){--s1:#5b6bf5;--s2:#7860f6}
.ef-stages .ef-stage:nth-child(5){--s1:#7860f6;--s2:#8b5cf6}
.ef-stages .ef-stage:nth-child(6){--s1:#8b5cf6;--s2:#b455c4}
.ef-stages .ef-stage:nth-child(7){--s1:#d6519b;--s2:#e8893a}
.ef-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ef-n { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--s1, var(--accent)), var(--s2, var(--accent))); box-shadow: 0 4px 11px -3px var(--s2, var(--accent)); }
.ef-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }
.ef-l { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.012em; line-height: 1.1; }
.ef-s { font-size: 13.5px; line-height: 1.34; color: var(--ink-soft); }
.ef-gate { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: var(--accent-deep); }
.ef-gate::before { content: "\2713"; font-size: 11px; width: 16px; height: 16px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--s1, var(--accent)), var(--s2, var(--accent))); color: #fff; display: grid; place-items: center; }

/* tenth-man adversarial strip */
.tenthman { margin-top: 22px; display: flex; align-items: center; gap: 26px; background: var(--ink); border-radius: var(--r); padding: 22px 28px; }
.tm-left { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.tm-ey { align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--ink); background: var(--accent-tint2); padding: 4px 10px; border-radius: 6px; }
.tm-body { margin: 0; font-size: 16px; line-height: 1.45; color: oklch(0.86 0.02 245); }
.tm-body b { color: #fff; }
.tm-body strong { color: var(--accent-tint2); }
.tm-out { display: flex; flex-direction: column; gap: 10px; flex: none; }
.tm-pill { font-family: var(--mono); font-size: 13px; font-weight: 700; padding: 9px 15px; border-radius: 999px; white-space: nowrap; }
.tm-pill.kill { color: oklch(0.8 0.09 25); border: 1px solid oklch(0.5 0.08 25); }
.tm-pill.pass { color: var(--ink); background: var(--accent-tint2); }

/* survival / selection-pressure band */
.survband { margin-top: 18px; display: flex; align-items: center; gap: 26px; }
.survband .sb-end { flex: none; line-height: 1; }
.survband .sb-end b { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.02em; }
.survband .sb-end span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); margin-top: 6px; }
.survband .sb-end.l b { color: var(--accent-deep); }
.survband .sb-end.r { text-align: right; }
.survband .sb-end.r b { color: #c2820f; }
.sb-track { flex: 1; position: relative; height: 46px; }
.sb-track svg { width: 100%; height: 100%; display: block; }
.sb-cap { position: absolute; top: -2px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-mute); white-space: nowrap; }

/* ---------- calibration ---------- */
.cal-metric { border: 1px solid var(--line); border-radius: var(--r); padding: 28px 30px; background: var(--paper); box-shadow: var(--sh-sm); }
.cal-num { font-size: clamp(36px, 4vw, 52px); font-weight: 600; letter-spacing: -0.02em; color: var(--accent-deep); line-height: 1; margin: 6px 0; }
.compmap { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.comprow { display: flex; align-items: center; gap: 18px; padding: 16px 22px; border-bottom: 1px solid var(--line-soft); }
.comprow:last-child { border-bottom: 0; }
.cbadge { flex: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; width: 132px; text-align: center; }
.cbadge.ok { background: var(--accent-tint); color: var(--accent-deep); border: 1px solid var(--accent-tint2); }
.cbadge.bad { background: transparent; color: var(--ink-mute); border: 1px dashed var(--ink-mute); }

/* ---------- pipeline ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--paper); display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.pcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); opacity: 0.85; }
.pcard.drug::before { background: var(--ink); opacity: 1; }
.pcard.dual::before { background: linear-gradient(180deg, var(--accent), var(--ink)); opacity: 1; }
.pcardhead { display: flex; align-items: center; justify-content: space-between; }
.pnum { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--accent-deep); }
.ptarget { font-size: 23px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.05; }
.pwhat { font-size: 16px; line-height: 1.38; color: var(--ink-soft); flex: 1; }
.pfoot { display: flex; flex-direction: column; gap: 6px; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.pfoot .vs { font-family: var(--mono); font-size: 13px; color: var(--ink-mute); }
.pfoot .pip { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent-deep); }

/* program deep-dive rows */
.program { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 4vw, 60px); padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); align-items: center; }
.program:last-of-type { border-bottom: 0; }
.prog-num { font-family: var(--mono); font-size: 14px; color: var(--accent); letter-spacing: 0.1em; }
.vsblock { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.vsrow { padding: 22px 26px; display: flex; flex-direction: column; gap: 8px; }
.vsrow.market { background: var(--bg-deep); }
.vsrow.ours { background: var(--accent-tint); border-top: 1px solid var(--accent-tint2); }
.vstag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.vsrow.market .vstag { color: var(--ink-mute); }
.vsrow.ours .vstag { color: var(--accent-deep); }
.vstxt { font-size: 16px; line-height: 1.45; color: var(--ink-soft); }
.vsrow.ours .vstxt { color: var(--ink); }
.stageip { display: flex; gap: 14px; align-items: center; margin-top: 18px; flex-wrap: wrap; }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); }
.member { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; gap: 16px; }
.member image-slot { width: 132px; height: 132px; }
.member-photo { width: 132px; height: 132px; border-radius: var(--r-sm); object-fit: cover; background: var(--bg-deep); }
.m-name { font-size: 25px; font-weight: 700; letter-spacing: -0.02em; }
.m-role { font-family: var(--mono); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-deep); margin-top: 4px; }
.m-bio { font-size: 16px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact-card { background: var(--ink); color: var(--bg); border-radius: var(--r-lg); padding: clamp(36px, 5vw, 64px); }
.contact-row { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid oklch(0.4 0.02 250); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .k { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-tint2); flex: 0 0 130px; }
.contact-row .v { font-size: clamp(18px, 2vw, 24px); color: var(--bg); }
.contact-row a.v:hover { color: var(--accent-tint2); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent-tint); border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px); text-align: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: oklch(0.82 0.02 245); padding-block: clamp(48px, 6vw, 72px); }
.site-footer .logo .name { color: var(--bg); }
.site-footer a { color: oklch(0.82 0.02 245); transition: color .2s; }
.site-footer a:hover { color: var(--bg); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col .h { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-tint2); margin-bottom: 4px; }
.footer-bottom { margin-top: clamp(36px, 5vw, 56px); padding-top: 26px; border-top: 1px solid oklch(0.36 0.02 250); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom .small { color: oklch(0.62 0.02 248); }

/* image-slot defaults */
image-slot { display: block; border-radius: var(--r-sm); overflow: hidden; }

/* ---------- scroll reveal ---------- */
/* Content is ALWAYS visible — no dependency on JS, transitions, or a live
   compositor — so it renders correctly in paused iframes, PDF/print exports,
   and no-JS. (A paused preview iframe freezes CSS transitions at their start
   frame, which previously left reveal content stuck at opacity:0.) */
.reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .ef-stages { grid-template-columns: repeat(4, 1fr); }
  .engine-flow { flex-wrap: wrap; }
  .ef-cap { flex-basis: calc(50% - 6px); }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }
  .nav { height: 64px; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 4px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px var(--pad) 24px;
    transform: translateY(-120%); transition: transform .35s var(--ease); box-shadow: var(--sh);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 12px 0; width: 100%; font-size: 18px; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 380px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .program { grid-template-columns: 1fr; }
  .ef-stages { grid-template-columns: repeat(2, 1fr); }
  .pgrid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .tenthman { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tm-out { flex-direction: row; flex-wrap: wrap; }
  .sb-cap { font-size: 10.5px; white-space: normal; text-align: center; }
  .contact-row { flex-direction: column; gap: 4px; }
  .contact-row .k { flex-basis: auto; }
}
