/* THE VARG — Vaccine Research & Public Health Education
   Shared stylesheet. System fonts only. No external assets. */

:root {
  --navy: #10263D;
  --ocean: #0A1B2D;
  --teal: #087E83;
  --emerald: #15977A;
  --mint: #E4F3EF;
  --gold: #C4A46A;
  --ice: #F5F9FB;
  --white: #FFFFFF;
  --text: #283B4A;
  --muted: #64748B;
  --border: #DDE8EA;
  --teal-dark: #066569;
  --gold-soft: #F4EDDF;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 38, 61, .06), 0 2px 8px rgba(16, 38, 61, .05);
  --shadow: 0 2px 4px rgba(16, 38, 61, .05), 0 12px 32px rgba(16, 38, 61, .09);
  --wrap: 1200px;
  --read: 760px;
  --header-h: 72px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--ice);
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--navy); line-height: 1.22; margin: 0 0 .6em; }
h1, h2 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.05rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.22rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
strong { color: var(--navy); }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
abbr[title] { text-decoration: underline dotted; cursor: help; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--ocean); padding: 10px 18px; border-radius: 0 0 8px 8px;
  font-weight: 700; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 0; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(16, 38, 61, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand:hover { color: var(--navy); }
.brand-mark {
  position: relative; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, var(--emerald), var(--teal) 55%, var(--navy));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; border-radius: 50%; background: var(--white);
}
.brand-mark::before { width: 9px; height: 9px; top: 9px; left: 10px; box-shadow: 13px 7px 0 -1px var(--gold), 3px 15px 0 -2px var(--white); }
.brand-mark::after { width: 16px; height: 2px; top: 17px; left: 13px; border-radius: 2px; transform: rotate(28deg); background: rgba(255,255,255,.7); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.28rem; letter-spacing: .08em; }
.brand-sub { font-size: .72rem; color: var(--muted); letter-spacing: .02em; margin-top: 3px; white-space: nowrap; }

.nav-toggle {
  display: none; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy); color: var(--white); border: 0; border-radius: 10px;
  padding: 10px 14px; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: background .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.primary-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.primary-nav li { margin: 0; position: relative; }
.nav-link, .nav-dropdown-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 12px; border-radius: 8px; white-space: nowrap;
  font: inherit; font-size: .93rem; font-weight: 600; color: var(--navy);
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-dropdown-btn:hover { background: var(--mint); color: var(--teal-dark); }
.nav-link[aria-current="page"], .nav-dropdown-btn.is-active { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 8px 8px 0 0; }
.nav-link.nav-cta { background: var(--navy); color: var(--white); margin-left: 6px; }
.nav-link.nav-cta:hover { background: var(--teal); color: var(--white); }
.nav-link.nav-cta[aria-current="page"] { background: var(--teal); color: var(--white); box-shadow: none; border-radius: 8px; }
.chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav-dropdown-btn[aria-expanded="true"] .chev { transform: rotate(-135deg) translateY(-1px); }

.dropdown-menu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 270px;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
  display: none;
}
.dropdown-menu.is-open { display: block; }
.dropdown-menu a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--navy); text-decoration: none; font-size: .93rem; font-weight: 600; }
.dropdown-menu a span { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 1px; }
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { background: var(--mint); color: var(--teal-dark); }
.dropdown-menu a[aria-current="page"] { background: var(--mint); color: var(--teal); box-shadow: inset 3px 0 0 var(--teal); }

@media (max-width: 1120px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white); overflow-y: auto; padding: 16px 20px 40px;
    border-top: 1px solid var(--border); display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link, .nav-dropdown-btn { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 1rem; }
  .nav-link[aria-current="page"], .nav-dropdown-btn.is-active { box-shadow: inset 3px 0 0 var(--teal); border-radius: 8px; background: var(--mint); }
  .nav-link.nav-cta { margin: 8px 0 0; justify-content: center; }
  .dropdown-menu { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--border); border-radius: 0; margin: 4px 0 8px 16px; padding: 0 0 0 8px; min-width: 0; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Pattern backgrounds (CSS-only molecular geometry) ---------- */
.hero, .page-hero, .cta-band, .site-footer { position: relative; isolation: isolate; overflow: hidden; }
.pattern::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 12% 22%, rgba(21,151,122,.35) 0 3px, transparent 4px),
    radial-gradient(circle at 26% 64%, rgba(196,164,106,.45) 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 74% 18%, rgba(255,255,255,.28) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 58%, rgba(21,151,122,.38) 0 3.5px, transparent 4.5px),
    radial-gradient(circle at 60% 84%, rgba(255,255,255,.22) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1.6px) 0 0 / 28px 28px;
}
.pattern::after {
  content: ""; position: absolute; inset: -40%; z-index: -1; pointer-events: none; opacity: .5;
  background:
    repeating-linear-gradient(60deg, transparent 0 46px, rgba(255,255,255,.035) 46px 47px),
    repeating-linear-gradient(-60deg, transparent 0 46px, rgba(255,255,255,.035) 46px 47px);
}

/* ---------- Hero (home) ---------- */
.hero {
  background: radial-gradient(ellipse at 85% 10%, rgba(8,126,131,.55), transparent 55%),
              radial-gradient(ellipse at 0% 100%, rgba(21,151,122,.28), transparent 50%),
              linear-gradient(140deg, var(--ocean) 0%, var(--navy) 55%, #123553 100%);
  color: #DCE8EF; padding: 96px 0 104px;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero h1, .page-hero h1 { color: var(--white); }
.hero .lede { font-size: 1.18rem; max-width: 640px; color: #C9D9E3; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 10px;
  font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn::after { content: "→"; transition: transform .2s; }
.btn:hover::after { transform: translateX(3px); }
.btn-primary { background: var(--gold); color: var(--ocean); }
.btn-primary:hover { background: #D6BA85; color: var(--ocean); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); color: var(--white); }

/* Molecule illustration (decorative, CSS-only) */
.molecule { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; margin-left: auto; }
.molecule .ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(196,164,106,.45); }
.molecule .ring.r2 { inset: 24%; border-style: solid; border-color: rgba(255,255,255,.14); }
.molecule .node { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); }
.molecule .node.lg { width: 70px; height: 70px; background: radial-gradient(circle at 35% 30%, #2FC3A0, var(--teal) 60%, #064F53); box-shadow: 0 0 0 8px rgba(8,126,131,.18), 0 0 40px rgba(21,151,122,.4); }
.molecule .node.md { width: 34px; height: 34px; background: radial-gradient(circle at 35% 30%, #E9D3A8, var(--gold) 60%, #8E7340); box-shadow: 0 0 0 6px rgba(196,164,106,.14); }
.molecule .node.sm { width: 18px; height: 18px; background: #E8F2F6; box-shadow: 0 0 0 5px rgba(255,255,255,.08); }
.molecule .bond { position: absolute; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.12)); transform-origin: 0 50%; }
.molecule .label { position: absolute; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(220,232,239,.7); white-space: nowrap; }

/* ---------- Page hero (secondary) ---------- */
.page-hero {
  background: radial-gradient(ellipse at 90% 0%, rgba(8,126,131,.5), transparent 55%),
              linear-gradient(135deg, var(--ocean), var(--navy));
  color: #C9D9E3; padding: 28px 0 64px;
}
.page-hero .lede { font-size: 1.12rem; max-width: 760px; color: #C9D9E3; margin-bottom: 0; }
.page-hero h1 { max-width: 900px; margin-top: 28px; }

.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; color: #9FB6C5; }
.breadcrumbs li + li::before { content: "/"; color: rgba(196,164,106,.7); }
.breadcrumbs a { color: #DCE8EF; text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--gold); }

.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #DCE8EF; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section.mint { background: linear-gradient(180deg, var(--mint), #EEF8F5); }
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.prose { max-width: var(--read); }
.prose h2 { margin-top: 1.9em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose > h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 14px; background: linear-gradient(90deg, var(--gold), var(--teal)); border-radius: 2px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* Article layout with "On this page" */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 22px 14px; font-size: .9rem; }
.toc-title { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin: 0 0 8px; display: flex; gap: 10px; line-height: 1.4; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: .74rem; color: var(--gold); padding-top: 2px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--teal); text-decoration: underline; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .5em; }
.card p { color: var(--text); font-size: .98rem; }
.card p:last-child { margin-bottom: 0; }
.card .card-link { margin-top: auto; padding-top: 10px; font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; }
.card .card-link::after { content: "→"; transition: transform .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #C6DCDF; }
.card:hover .card-link::after { transform: translateX(3px); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px; position: relative; background: linear-gradient(135deg, var(--mint), #D3ECE6); border: 1px solid #C9E4DD; }
.card-icon::before, .card-icon::after { content: ""; position: absolute; border-radius: 50%; }
.card-icon::before { width: 14px; height: 14px; left: 10px; top: 10px; background: var(--teal); box-shadow: 14px 12px 0 -3px var(--gold); }
.card-icon::after { width: 18px; height: 2px; left: 18px; top: 22px; border-radius: 2px; background: var(--teal); transform: rotate(40deg); }
.card-num { font-family: var(--font-mono); font-size: .8rem; color: var(--gold); letter-spacing: .1em; margin-bottom: 10px; }
.card.dark { background: linear-gradient(150deg, var(--navy), var(--ocean)); border-color: transparent; color: #C9D9E3; }
.card.dark h3 { color: var(--white); }
.card.dark p { color: #C9D9E3; }
.card.dark .card-link { color: var(--gold); }
.card-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); background: var(--mint); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; align-self: flex-start; }

/* ---------- Callouts & panels ---------- */
.callout { border-left: 4px solid var(--teal); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 20px 24px; margin: 1.6em 0; box-shadow: var(--shadow-sm); }
.callout p:last-child { margin-bottom: 0; }
.callout-title { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; display: block; }
.callout.gold { border-left-color: var(--gold); background: #FFFDF8; }
.callout.gold .callout-title { color: #8E7340; }

.term { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 22px; margin: 1.4em 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.term dt { grid-row: span 2; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); background: var(--navy); border-radius: 6px; padding: 6px 9px; align-self: start; }
.term dd { margin: 0; }
.term dd strong { display: block; font-size: 1.02rem; }

.panel { background: linear-gradient(160deg, var(--white), #F1F8F7); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 30px; margin: 1.8em 0; }
.panel h3 { margin-top: 0; }
.panel ul:last-child, .panel p:last-child { margin-bottom: 0; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--emerald); border-bottom: 2.5px solid var(--emerald); transform: rotate(-45deg); }
.x-list { list-style: none; padding: 0; }
.x-list li { position: relative; padding-left: 30px; }
.x-list li::before, .x-list li::after { content: ""; position: absolute; left: 3px; top: .78em; width: 14px; height: 2.5px; background: #B4534A; border-radius: 2px; }
.x-list li::before { transform: rotate(45deg); }
.x-list li::after { transform: rotate(-45deg); }

/* Phase / step timeline */
.steps { list-style: none; padding: 0; margin: 1.6em 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--teal), var(--gold)); opacity: .45; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 22px 64px; margin: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); color: var(--teal); font-weight: 700; display: grid; place-items: center; font-family: var(--font-mono); }
.steps > li strong { display: block; font-size: 1.06rem; margin-bottom: 4px; }
.steps > li p { margin: 0; }
.steps.lettered > li::before { content: attr(data-label); font-size: .8rem; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; padding: 14px 18px 0; font-size: .82rem; color: var(--muted); caption-side: bottom; padding-bottom: 14px; }
th, td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
thead th { background: var(--navy); color: var(--white); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
tbody tr:nth-child(even) { background: #F8FBFC; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--navy); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #BFDAD6; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: var(--teal); display: grid; place-items: center; font-size: 1.2rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .faq-body { padding: 0 22px 18px; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* Disclaimer & sources */
.disclaimer { display: flex; gap: 16px; align-items: flex-start; background: var(--gold-soft); border: 1px solid #E6D6B5; border-radius: var(--radius-sm); padding: 18px 22px; font-size: .93rem; margin: 0 0 40px; }
.disclaimer::before { content: "i"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ocean); font-family: var(--font-serif); font-weight: 700; font-style: italic; display: grid; place-items: center; }
.disclaimer p { margin: 0; }

.sources { margin-top: 3em; padding: 26px 28px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); font-size: .9rem; }
.sources h2 { font-size: 1.2rem; font-family: var(--font-sans); }
.sources h2::after { display: none !important; }
.sources ol { padding-left: 1.3em; margin-bottom: .6em; }
.sources li { margin-bottom: .55em; color: var(--text); }
.sources .src-note { color: var(--muted); font-size: .85rem; margin: 0; }

/* Stats-free fact strip (non-numeric highlights) */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
.pillar { padding: 22px 24px; border-right: 1px solid rgba(255,255,255,.12); }
.pillar:last-child { border-right: 0; }
.pillar strong { display: block; color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.pillar span { font-size: .88rem; color: #A9BFCD; }

/* Pathway */
.pathway { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: path; margin-top: 10px; }
.pathway a { counter-increment: path; position: relative; display: block; padding: 22px 18px 20px; text-decoration: none; color: var(--navy); background: var(--white); border: 1px solid var(--border); margin-left: -1px; font-weight: 700; font-size: .95rem; transition: background .2s; }
.pathway a:first-child { border-radius: var(--radius) 0 0 var(--radius); margin-left: 0; }
.pathway a:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.pathway a::before { content: "Step " counter(path); display: block; font-family: var(--font-mono); font-size: .72rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.pathway a span { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: 4px; }
.pathway a:hover { background: var(--mint); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--teal-dark), var(--teal) 45%, var(--navy)); color: #E3F1F1; padding: 64px 0; }
.cta-band h2 { color: var(--white); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-inner p { max-width: 640px; margin: 0; }

/* Related links */
.related { margin-top: 3em; }
.related h2 { font-size: 1.45rem; }

/* Diagram: immune response flow (CSS-only, explained in text) */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 1.8em 0; }
.flow-step { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 16px; font-size: .9rem; }
.flow-step b { display: block; color: var(--navy); font-size: .98rem; margin-bottom: 4px; }
.flow-step::before { content: attr(data-n); display: inline-block; font-family: var(--font-mono); font-size: .72rem; color: var(--white); background: var(--teal); border-radius: 4px; padding: 2px 7px; margin-bottom: 10px; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: translateY(-50%) rotate(45deg); }

/* Evidence ladder */
.ladder { display: grid; gap: 10px; margin: 1.6em 0; }
.ladder div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: center; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--border); }
.ladder b { font-size: .9rem; color: var(--white); padding: 8px 12px; border-radius: 6px; text-align: center; }
.ladder .l1 b { background: var(--emerald); }
.ladder .l2 b { background: var(--teal); }
.ladder .l3 b { background: #8E7340; }
.ladder .l4 b { background: #8A4B45; }
.ladder p { margin: 0; font-size: .95rem; }

/* Contact form */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
.field .hint { display: block; font-size: .84rem; color: var(--muted); margin-top: 5px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1.5px solid #CBDADD; border-radius: 10px; background: #FBFDFE;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(8,126,131,.15); background: var(--white); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #B4534A; }
.req { color: #B4534A; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 10px; font-size: .95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.info { background: var(--gold-soft); border: 1px solid #E6D6B5; color: var(--text); }
.form-status.error { background: #FBEDEB; border: 1px solid #E8C3BE; color: #7A2E27; }
button.btn { cursor: pointer; font-family: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(160deg, var(--navy), var(--ocean)); color: #B9CBD7; padding: 56px 0 30px; border-top: 3px solid var(--teal); font-size: .93rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { margin: 6px 0 0; color: #9FB6C5; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav li { margin: 0; }
.footer-nav a { color: #E0EBF1; text-decoration: none; }
.footer-nav a:hover { color: var(--gold); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 22px; font-size: .85rem; color: #8FA7B7; }
.footer-bottom p { margin: 0; }
.footer-bottom .indep { color: #B9CBD7; }
.footer-bottom .indep::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); margin-right: 8px; vertical-align: middle; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .molecule { max-width: 300px; margin: 0 auto; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; order: -1; }
  .card-grid, .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .pathway { grid-template-columns: 1fr; }
  .pathway a, .pathway a:first-child, .pathway a:last-child { margin: -1px 0 0; border-radius: 0; }
  .pathway a:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .pathway a:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(2)::after { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 18px; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 60px 0; }
  .two-col, .card-grid, .card-grid.two, .card-grid.four { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.12); }
  .pillar:last-child { border-bottom: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow-step::after { display: none; }
  .ladder div { grid-template-columns: 1fr; gap: 8px; }
  .term { grid-template-columns: 1fr; }
  .term dt { grid-row: auto; justify-self: start; }
  .brand-sub { display: none; }
  .form-card { padding: 22px; }
  .molecule { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .card:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .toc, .cta-band, .nav-toggle { display: none !important; }
  .hero, .page-hero { background: none !important; color: #000; padding: 20px 0; }
  .hero h1, .page-hero h1 { color: #000; }
  body { background: #fff; }
}
