/* ============================================
   SPADA, Southern Pacific Aero-Defense Alliance
   Built on the NB Tech AI Solutions starter.
   Palette: ink and cobalt from the brand art,
   one warm horizon accent used sparingly.
   Type: Orbitron display, Exo 2 body, JetBrains Mono for HUD markers.
   ============================================ */

:root {
  /* From the original spadalliance.org: navy #12142B, royal #3063AF, light blue #A5D0EF, pale text #DFEFFB, green #42806D */
  --ink: #12142b;
  --deep: #1a1e3e;
  --cobalt: #3063af;
  --cobalt-deep: #254f8f;
  --sky: #a5d0ef;
  --contrail: #ffffff;
  --slate: #c6d6ea;
  --pale: #dfeffb;
  --light: #a5d0ef;
  --green: #42806d;
  --horizon: #f0b25a;

  --color-bg: var(--ink);
  --color-surface: var(--deep);
  --color-surface-alt: #0e1024;
  --color-text: var(--contrail);
  --color-text-muted: var(--slate);
  --color-accent: var(--cobalt);
  --color-accent-2: var(--sky);
  --color-border: rgba(165, 208, 239, 0.18);

  --font-sans: 'Exo 2', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Orbitron', 'Exo 2', Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 7rem;
  --space-7: 8rem;

  --max-w: 1180px;
  --measure: 62ch;
  --radius: 6px;

  --t-fast: 150ms ease;
  --t-base: 250ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}
img { max-width: 100%; display: block; height: auto; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 0.45rem 0; border-top: 1px solid var(--color-border); }
ul.plain li:first-child { border-top: 0; }

h1, h2, h3, h4 { margin: 0 0 var(--space-2); font-family: var(--font-display); line-height: 1.12; font-weight: 800; letter-spacing: 0.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); max-width: 18ch; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); max-width: 24ch; }
h3 { font-size: 1.05rem; letter-spacing: 0.02em; }
p { margin: 0 0 var(--space-2); max-width: var(--measure); }
p a, .prose a, li a { color: var(--sky); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
p a:hover, li a:hover { color: var(--contrail); }
address { font-style: normal; color: var(--slate); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--cobalt); color: #fff; padding: 0.6rem 1rem; z-index: 1001; }
.skip:focus { left: 1rem; top: 1rem; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: 0.9rem var(--space-4);
  background: linear-gradient(180deg, rgba(7,12,31,0.92), rgba(7,12,31,0.72));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.brand img { width: 140px; height: auto; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a { color: var(--slate); font-size: 1rem; font-weight: 500; transition: color var(--t-fast); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--contrail); }
.nav-links a[aria-current="page"] { box-shadow: 0 1.4em 0 -1.25em var(--horizon); }
.nav-login { color: var(--sky) !important; }
.nav-cta {
  padding: 0.6rem 1.1rem; background: var(--cobalt); color: #fff !important; border-radius: var(--radius);
  font-weight: 600; transition: background var(--t-fast), transform var(--t-fast);
}
.nav-cta:hover { background: var(--cobalt-deep); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; gap: 5px; flex-direction: column; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--contrail); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 0.95rem 1.7rem; border-radius: var(--radius); font-weight: 600; font-size: 0.98rem;
  transition: all var(--t-base); border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2;
}
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(36, 72, 200, 0.35); }
.btn-ghost { background: rgba(7,12,31,0.35); color: var(--contrail); border-color: rgba(244,246,251,0.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--contrail); }
.link-more { color: var(--sky); font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 0.1em; }
.link-more:hover { color: var(--contrail); }

/* ===== Hero with video ===== */
.hero {
  position: relative; overflow: hidden; min-height: min(88vh, 820px);
  display: flex; align-items: flex-start; justify-content: center; text-align: center;
  padding: var(--space-5) var(--space-4) calc(var(--space-7) + 120px);
  background: var(--deep);
}
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; z-index: 0; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,12,31,0.82) 0%, rgba(7,12,31,0.45) 45%, rgba(7,12,31,0.05) 75%, rgba(7,12,31,0.55) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max-w); width: 100%; margin: 0 auto; }
.hero-kicker { color: var(--sky); font-weight: 500; margin-bottom: var(--space-2); }
.hero h1 { font-size: clamp(1.7rem, 3.3vw, 2.9rem); max-width: 24ch; margin-left: auto; margin-right: auto; text-shadow: 0 0 24px rgba(157,187,255,0.25); }
.hero h1 .split-word, .hero h1 .split-word > span { background: none; -webkit-text-fill-color: currentColor; }
.hero-sub { font-size: clamp(1.1rem, 1.9vw, 1.3rem); max-width: 56ch; margin-bottom: var(--space-4); color: var(--contrail); opacity: 0.9; }
.hero .hero-sub { margin-left: auto; margin-right: auto; }
.hero .hero-cta { justify-content: center; }
.hero-cta { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* The horizon arc: the logo's swoosh, at page scale. Closes the hero, opens the page. */
.hero-horizon { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; color: var(--ink); line-height: 0; }
.hero-horizon .horizon { width: 100%; height: clamp(50px, 8vw, 120px); display: block; }
.hero-horizon::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100%;
  background: radial-gradient(60% 80% at 50% 100%, rgba(240,178,90,0.18), transparent 70%);
  pointer-events: none;
}

/* ===== Page heads (inner pages) ===== */
.page-head {
  position: relative; overflow: hidden;
  padding: var(--space-6) var(--space-4) calc(var(--space-5) + 70px);
  background:
    radial-gradient(80% 120% at 20% 0%, rgba(36,72,200,0.45), transparent 60%),
    var(--deep);
}
.page-head > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.page-head h1 { margin-bottom: var(--space-3); }
.page-head .hero-sub { margin-bottom: 0; }
.page-horizon { max-width: none; }

/* ===== Sections ===== */
.section { padding: var(--space-6) var(--space-4); max-width: var(--max-w); margin: 0 auto; }
.section-full { padding: var(--space-6) var(--space-4); position: relative; }
.section-head { margin-bottom: var(--space-4); }
.section-head p { color: var(--slate); }
.fine { color: var(--slate); font-size: 0.92rem; margin-top: var(--space-4); }

/* Statement */
.statement { padding-top: var(--space-5); }
.statement-inner { max-width: 60ch; }
.lede { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; font-weight: 400; letter-spacing: -0.01em; color: var(--contrail); }

/* Three paths: a ruled row, not a card kit */
.paths { padding-top: 0; }
.path-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--color-border); }
.path-list li { padding: var(--space-4) var(--space-4) var(--space-4) 0; border-right: 1px solid var(--color-border); }
.path-list li + li { padding-left: var(--space-4); }
.path-list li:last-child { border-right: 0; }
.path-list h3 { font-size: 1.2rem; }
.path-list p { color: var(--slate); min-height: 7.5em; }
.path-list a { color: var(--sky); font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid currentColor; }

/* Impact strip on home */
.impact-strip { background: var(--color-surface-alt); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.impact-strip-inner { max-width: var(--max-w); margin: 0 auto; }
.impact-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: end; margin-bottom: var(--space-4); }
.impact-head p { color: var(--slate); margin: 0; }

/* Milestones: real sequence, so a numbered list is earned. Horizon accent marks the count. */
.milestones { list-style: none; margin: 0 0 var(--space-4); padding: 0; counter-reset: m; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3) var(--space-5); }
.milestones li { counter-increment: m; position: relative; padding: var(--space-3) 0 var(--space-3) 3.6rem; border-top: 1px solid var(--color-border); }
.milestones li::before {
  content: counter(m, decimal-leading-zero); position: absolute; left: 0; top: var(--space-3);
  font-weight: 800; color: var(--horizon); font-variant-numeric: tabular-nums; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1;
}
.milestones strong { display: block; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 0.4rem; font-weight: 700; letter-spacing: 0.02em; }
.milestones p { color: var(--slate); margin: 0; font-size: 0.98rem; }
.milestones.long { grid-template-columns: 1fr; max-width: 72ch; }
.milestones.long strong { font-size: 1.05rem; }
.milestones.long p { font-size: 1.05rem; }

/* Sponsor logos */
.logo-marquee { display: flex; gap: var(--space-5); align-items: center; }
.logo-marquee img { width: 190px; height: auto; background: #fff; border-radius: 3px; padding: 0.4rem; opacity: 0.9; }
.logo-grid { list-style: none; margin: 0 0 var(--space-5); padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-3); }
.logo-grid li { background: #fff; border-radius: 3px; padding: 0.8rem; }
.thanks-h { color: var(--slate); font-weight: 500; font-size: 1rem; margin-bottom: var(--space-2); }

/* CTA band with video */
.cta-band { overflow: hidden; min-height: clamp(380px, 60vh, 600px); display: flex; align-items: center; background: var(--deep); }
.cta-band-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,12,31,0.85) 0%, rgba(7,12,31,0.5) 60%, rgba(7,12,31,0.25) 100%); }
.cta-band-inner { position: relative; z-index: 2; max-width: var(--max-w); width: 100%; margin: 0 auto; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.cta-band p { color: var(--contrail); opacity: 0.9; font-size: 1.15rem; margin-bottom: var(--space-4); }

/* Newsletter */
.news-form { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-5); align-items: center; border-top: 1px solid var(--color-border); padding-top: var(--space-5); }
.news-copy p { color: var(--slate); margin: 0; }
.news-fields { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: var(--space-2); align-items: end; }
.news-form label, .contact-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.88rem; color: var(--slate); font-weight: 500; }
.news-form input, .contact-form input, .contact-form textarea, .contact-form select {
  padding: 0.85rem 1rem; background: var(--deep); border: 1px solid var(--color-border); border-radius: var(--radius);
  color: var(--contrail); font-family: inherit; font-size: 1rem; transition: border-color var(--t-fast);
}
.news-form input:focus, .contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--sky); }
.hidden-field { display: none; }
.form-status { grid-column: 1 / -1; margin: 0; color: var(--sky); font-size: 0.95rem; min-height: 1.4em; }
.form-status.error { color: var(--horizon); }

/* ===== About ===== */

.prose p { color: var(--contrail); opacity: 0.88; }
.mission-aside { position: sticky; top: 100px; padding: var(--space-4); background: var(--deep); border-radius: var(--radius); border: 1px solid var(--color-border); }
.mission-aside h3 { margin-bottom: var(--space-2); }
.mission-aside ul { margin-bottom: var(--space-3); }
.mission-aside li { color: var(--slate); font-size: 0.98rem; }

.board { background: var(--color-surface-alt); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.board-inner { max-width: var(--max-w); margin: 0 auto; }
.board-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4) var(--space-3); }
.member img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; width: 100%; border-radius: var(--radius); margin-bottom: var(--space-2); filter: saturate(0.85); }
.member h3 { font-size: 0.85rem; margin-bottom: 0.3rem; }
.member-role { font-size: 0.88rem; color: var(--sky); margin-bottom: 0.4rem; line-height: 1.4; }
.member-role span { color: var(--slate); }
.member details { font-size: 0.92rem; }
.member summary, .faq summary { cursor: pointer; color: var(--slate); font-weight: 500; list-style: none; }
.member summary::before, .faq summary::before { content: "+"; display: inline-block; width: 1.2em; color: var(--horizon); font-weight: 700; }
details[open] > summary::before { content: "\2013"; }
.member details p { color: var(--slate); margin-top: 0.5rem; font-size: 0.9rem; }

.sponsor-profiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.sponsor-profiles img { width: 150px; background: #fff; border-radius: var(--radius); padding: 0.4rem; margin-bottom: var(--space-2); }
.sponsor-profiles h3 small { display: block; font-size: 0.8rem; color: var(--horizon); font-weight: 500; margin-top: 0.2rem; letter-spacing: 0; }
.sponsor-profiles p { color: var(--slate); font-size: 0.95rem; }

/* ===== Membership tiers: a ledger, ruled ===== */
.tiers h2 { margin-top: var(--space-4); }
.tier-list { list-style: none; margin: 0 0 var(--space-5); padding: 0; border-top: 1px solid var(--color-border); }
.tier { display: grid; grid-template-columns: 1.1fr 1.6fr auto; gap: var(--space-4); align-items: center; padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border); }
.tier-head h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.tier-price { margin: 0 0 0.25rem; color: var(--slate); font-size: 0.95rem; }
.tier-price span { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--contrail); letter-spacing: 0; margin-right: 0.3rem; }
.tier-who { color: var(--sky); font-size: 0.9rem; margin: 0; }
.tier-perks { list-style: none; margin: 0; padding: 0; columns: 1; }
.tier-perks li { padding: 0.25rem 0 0.25rem 1.3rem; position: relative; color: var(--slate); font-size: 0.97rem; }
.tier-perks li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 0.7rem; height: 1px; background: var(--horizon); }

.portal-band, .donate-band { background: var(--deep); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.portal-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.portal-inner p { color: var(--slate); margin: 0; }

/* ===== Sponsors ===== */
.sponsor-video { overflow: hidden; background: var(--deep); }
.why-grid { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.why-grid > div { padding: var(--space-4); background: rgba(7,12,31,0.84); backdrop-filter: blur(10px); border: 1px solid rgba(157,187,255,0.28); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(7,12,31,0.5); }
.why-grid h2 { font-size: 1.1rem; }
.why-grid li { color: var(--contrail); opacity: 0.85; font-size: 0.97rem; }
.level-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--color-border); }
.level { padding: var(--space-4) var(--space-4) var(--space-4) 0; border-right: 1px solid var(--color-border); display: flex; flex-direction: column; }
.level + .level { padding-left: var(--space-4); }
.level:last-child { border-right: 0; }
.level h3 { font-size: 1.3rem; }
.level p { color: var(--slate); flex: 1; }
.level .btn { align-self: flex-start; }

/* ===== Events ===== */
.event-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-border); }
.event { display: grid; grid-template-columns: 200px 1fr; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border); }
.event-when { color: var(--horizon); font-weight: 600; margin: 0.2rem 0 0; }
.event.past .event-when { color: var(--slate); }
.event.past h3 { color: var(--slate); }
.event h3 { font-size: 1.05rem; }
.event p { color: var(--slate); }
.gallery { background: var(--color-surface-alt); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.gallery-inner { max-width: var(--max-w); margin: 0 auto; }
.photo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.photo-row img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); width: 100%; }
.photo-row img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }
.faq-list details { border-top: 1px solid var(--color-border); padding: var(--space-2) 0; max-width: 72ch; }
.faq-list details:last-child { border-bottom: 1px solid var(--color-border); }
.faq summary { font-size: 1.1rem; color: var(--contrail); }
.faq details p { color: var(--slate); margin: var(--space-2) 0 0 1.2em; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-6); align-items: start; }
.contact-form { display: grid; gap: var(--space-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.contact-form .btn { justify-self: start; margin-top: var(--space-1); }
.contact-aside h2 { font-size: 1rem; }
.contact-aside h3 { font-size: 1rem; color: var(--slate); font-weight: 500; margin-top: var(--space-4); }
.contact-aside address { margin-bottom: var(--space-2); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--color-border); padding: var(--space-6) var(--space-4) var(--space-3); background: var(--color-surface-alt); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 2fr; gap: var(--space-5); padding-bottom: var(--space-4); }
.footer-brand img { width: 140px; margin-bottom: var(--space-2); }
.footer-brand p { color: var(--slate); margin-bottom: var(--space-2); }
.footer-brand address a { color: var(--sky); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.footer-cols h4 { font-size: 0.75rem; color: var(--contrail); margin-bottom: var(--space-2); letter-spacing: 0.06em; }
.footer-cols a { display: block; font-size: 0.95rem; color: var(--slate); padding: 0.25rem 0; transition: color var(--t-fast); }
.footer-cols a:hover { color: var(--contrail); }
.footer-legal { max-width: var(--max-w); margin: 0 auto; padding: var(--space-3) 0; border-top: 1px solid var(--color-border); }
.footer-legal p { color: var(--slate); font-size: 0.82rem; max-width: none; margin: 0; }
.footer-meta { max-width: var(--max-w); margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.4rem; padding-top: var(--space-3); border-top: 1px solid var(--color-border); font-size: 0.82rem; color: var(--slate); }
.footer-credit a { color: var(--sky); font-weight: 600; }
.footer-credit a:hover { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .board-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid, .sponsor-profiles { grid-template-columns: 1fr; }
  .tier { grid-template-columns: 1fr 1.4fr; }
  .tier .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 820px) {
  .nav { padding: 0.8rem var(--space-3); }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    background: var(--deep); padding: var(--space-3); border-bottom: 1px solid var(--color-border); gap: 1rem;
  }
  .nav-toggle { display: flex; }
  .hero { min-height: min(80vh, 720px); padding: var(--space-5) var(--space-3) calc(var(--space-7) + 60px); }
  .section, .section-full, .page-head { padding-left: var(--space-3); padding-right: var(--space-3); }
  .path-list, .level-list { grid-template-columns: 1fr; }
  .path-list li, .level { border-right: 0; border-bottom: 1px solid var(--color-border); padding-left: 0 !important; padding-right: 0; }
  .path-list p { min-height: 0; }
  .impact-head, .milestones, .mission, .contact-grid, .news-form, .footer-inner { grid-template-columns: 1fr; }
  .mission-aside { position: static; }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .tier { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; gap: var(--space-1); }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; height: auto; }
  .news-fields { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-video { display: none; }
}

/* ============================================
   HUD layer (UI/UX Pro Max: HUD / Sci-Fi FUI, tamed)
   1px lines, corner brackets, mono markers, one scan line.
   ============================================ */
:root { --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace; --hud: rgba(157,187,255,0.75); --hud-dim: rgba(157,187,255,0.28); }

.hud-zone { position: relative; overflow: hidden; }
.hud-zone::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--hud-dim) 1px, transparent 1px), linear-gradient(90deg, var(--hud-dim) 1px, transparent 1px);
  background-size: 72px 72px; opacity: 0.22;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 100%);
}
.hud-zone > :not(.bg-video):not(.mission-scrim):not(.scan) { position: relative; }

.marker { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--sky); white-space: nowrap; }
.marker i { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 8px var(--sky); animation: blink 2.4s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.hud-corners { position: absolute; inset: 0; z-index: 2; pointer-events: none; max-width: var(--max-w); margin: 0 auto; }
.hud-corners .marker { position: absolute; }
.hud-corners .bl { bottom: 8rem; left: var(--space-4); }
.hud-corners .br { bottom: 8rem; right: var(--space-4); }

/* Bracketed frame */
.hud-frame {
  position: relative; padding: 6%;
  --b: 22px;
  background:
    linear-gradient(var(--hud), var(--hud)) top left / var(--b) 1px no-repeat,
    linear-gradient(var(--hud), var(--hud)) top left / 1px var(--b) no-repeat,
    linear-gradient(var(--hud), var(--hud)) top right / var(--b) 1px no-repeat,
    linear-gradient(var(--hud), var(--hud)) top right / 1px var(--b) no-repeat,
    linear-gradient(var(--hud), var(--hud)) bottom left / var(--b) 1px no-repeat,
    linear-gradient(var(--hud), var(--hud)) bottom left / 1px var(--b) no-repeat,
    linear-gradient(var(--hud), var(--hud)) bottom right / var(--b) 1px no-repeat,
    linear-gradient(var(--hud), var(--hud)) bottom right / 1px var(--b) no-repeat;
}
.hud-frame::before { content: ""; position: absolute; inset: 18%; background: radial-gradient(50% 50% at 50% 50%, rgba(36,72,200,0.55), transparent 70%); filter: blur(30px); }
.hud-frame img { position: relative; width: 100%; filter: drop-shadow(0 30px 40px rgba(7,12,31,0.7)); }
.hud-frame .marker { position: absolute; }
.hud-frame .m-a { top: 0.6rem; left: 0.9rem; }
.hud-frame .m-b { bottom: 0.6rem; right: 0.9rem; }
.hud-frame .m-c { top: 0.6rem; right: 0.9rem; }
.hud-frame .m-a::after, .hud-frame .m-b::after { content: ""; display: block; width: 40px; height: 1px; background: var(--hud); margin-left: 0.5rem; }

.scan { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--sky), transparent); opacity: 0.55; animation: scan 7s linear infinite; pointer-events: none; }
.scan.wide { opacity: 0.35; animation-duration: 11s; }
@keyframes scan { 0% { transform: translateY(0); } 100% { transform: translateY(var(--scan-h, 100%)); } }
.hud-frame .scan { --scan-h: 100%; }
.impact-strip .scan { top: 0; bottom: auto; --scan-h: 60vh; }

/* Ticker under the hero */
.ticker { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 0.9rem 0; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--slate); background: var(--color-surface-alt); }
.ticker span { display: inline-flex; align-items: center; gap: var(--space-4); }
.ticker span::after { content: ""; width: 5px; height: 5px; background: var(--horizon); transform: rotate(45deg); }

/* Statement with the F-35 */
.statement.section-full { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.statement-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-6); align-items: center; }
.statement-copy .lede { margin-bottom: var(--space-3); }
.hud-data { display: grid; grid-template-columns: repeat(3, auto); gap: var(--space-3); margin: var(--space-5) 0 0; padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.hud-data dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--slate); margin-bottom: 0.2rem; }
.hud-data dd { margin: 0; font-weight: 600; font-size: 0.95rem; color: var(--contrail); }

/* Photo panels replace the plain columns */
.paths.section-full { padding: var(--space-6) var(--space-4); }
.paths .path-list { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); border: 0; padding: 0; list-style: none; }
.panel { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 520px; display: flex; align-items: flex-end; padding: 0 !important; border: 1px solid var(--color-border) !important; background: var(--deep); }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(0.55); mix-blend-mode: luminosity; transition: transform 900ms cubic-bezier(.2,.7,.2,1), filter 600ms ease; }
.panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,72,200,0.35), rgba(7,12,31,0.2) 40%, rgba(7,12,31,0.95) 100%); z-index: 1; }
.panel:hover img, .panel:focus-within img { transform: scale(1.05); filter: grayscale(0.6) contrast(1.05) brightness(0.7); }
.panel-body { position: relative; z-index: 2; padding: var(--space-4); }
.panel-index { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--sky); margin-bottom: var(--space-2); }
.panel-index::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--sky); margin-right: 0.6rem; vertical-align: middle; }
.panel h3 { font-size: 1.15rem; max-width: 16ch; }
.panel p:not(.panel-index) { color: var(--contrail); opacity: 0.8; font-size: 0.97rem; min-height: 0; }
.panel .btn { margin-top: var(--space-1); }

/* Milestone numbers glow a little */
.milestones li::before { text-shadow: 0 0 14px rgba(240,178,90,0.45); }

/* Sponsor logos: colored logos on white become light marks on navy */
.logo-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-2); border-top: 1px solid var(--color-border); padding-top: var(--space-3); }
.logo-row li, .logo-grid li { background: none; padding: 0.6rem 1rem; border-radius: 0; opacity: 1; }
.logo-row img, .logo-grid img, .logo-marquee img, .sponsor-profiles img { filter: grayscale(1) invert(1) contrast(1.35) brightness(1.25); mix-blend-mode: screen; background: none; padding: 0; opacity: 0.85; transition: opacity var(--t-base); }
.logo-row li:hover img, .logo-grid li:hover img { opacity: 1; }

/* Inner page heads get the jet */
.page-head { min-height: 460px; }
.page-head > .head-art { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); width: min(46vw, 640px); max-width: none; margin: 0; z-index: 0; opacity: 0.9; }
.page-head > h1, .page-head > .hero-sub { position: relative; z-index: 1; }
.head-art .hud-frame { padding: 4%; }
.head-art .hud-frame::before { inset: 22%; }

/* Board portraits: one cobalt duotone so twelve photos read as one team */
.member { position: relative; }
.member img { background: var(--cobalt-deep); filter: grayscale(1) contrast(1.08) brightness(0.95); mix-blend-mode: luminosity; }
.member { isolation: isolate; }
.member::before { content: ""; position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 4 / 5; background: var(--cobalt-deep); border-radius: var(--radius); z-index: -1; }

/* Sponsors page: darker scrim behind the why cards, Platinum stands out */
.sponsor-video .cta-band-scrim { background: linear-gradient(180deg, rgba(7,12,31,0.55) 0%, rgba(7,12,31,0.12) 25%, rgba(7,12,31,0.12) 75%, rgba(7,12,31,0.6) 100%); }
.sponsor-video .bg-video { filter: saturate(1.15) contrast(1.05) brightness(1.08); }
.level:last-child { box-shadow: inset 0 0 0 1px var(--hud-dim); background: linear-gradient(180deg, rgba(36,72,200,0.16), transparent); padding-left: var(--space-4); padding-right: var(--space-4); border-radius: var(--radius); }

@media (max-width: 1024px) {
  .statement-grid { grid-template-columns: 1fr; }
  .paths .path-list { grid-template-columns: 1fr; }
  .panel { min-height: 380px; }
  .page-head > .head-art { width: 60vw; opacity: 0.35; }
  .hud-corners .br { display: none; }
}
@media (max-width: 820px) {
  .hud-data { grid-template-columns: 1fr 1fr; }
  .hud-corners { display: none; }
  .page-head { min-height: 0; }
  .page-head > .head-art { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .marker i, .scan { animation: none; }
  .scan { display: none; }
}

/* ===== About: mission as lede + pillars over the manufacturing clip ===== */
.mission.section-full { display: block; overflow: hidden; background: var(--deep); padding-top: var(--space-6); padding-bottom: var(--space-6); }
.mission .bg-video { opacity: 0.7; filter: saturate(1.1) brightness(1.05); }
.mission-scrim { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(7,12,31,0.25) 25%, rgba(7,12,31,0.35) 70%, var(--ink) 100%); }
.mission-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; }
.mission-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-6); align-items: start; margin-bottom: var(--space-6); }
.mission-lede .lede { max-width: 30ch; font-size: clamp(1.3rem, 2.3vw, 1.8rem); }
.mission-sub { color: var(--slate); max-width: 52ch; }
.mission-panel { padding: var(--space-4); background: rgba(7,12,31,0.72); backdrop-filter: blur(10px); overflow: hidden; }
.mission-panel .marker { top: 0.9rem; left: 1rem; }
.mission-panel h3 { margin-top: 1.6rem; font-size: 1rem; }
.param-list { list-style: none; margin: 0 0 var(--space-3); padding: 0; counter-reset: pr; }
.param-list li { counter-increment: pr; position: relative; padding: 0.7rem 0 0.7rem 2.6rem; border-top: 1px solid var(--color-border); color: var(--contrail); opacity: 0.88; font-size: 0.95rem; }
.param-list li::before { content: counter(pr, decimal-leading-zero); position: absolute; left: 0; top: 0.8rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--horizon); letter-spacing: 0.06em; }
.pillars { list-style: none; margin: 0; padding: 0; counter-reset: pl; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); }
.pillars li { counter-increment: pl; background: rgba(7,12,31,0.82); backdrop-filter: blur(6px); padding: var(--space-4); position: relative; }
.pillars li::before { content: counter(pl, decimal-leading-zero); display: block; font-family: var(--font-mono); font-size: 0.75rem; color: var(--horizon); letter-spacing: 0.06em; margin-bottom: var(--space-3); text-shadow: 0 0 12px rgba(240,178,90,0.4); }
.pillars li::after { content: ""; position: absolute; top: var(--space-4); right: var(--space-4); width: 14px; height: 14px; border-top: 1px solid var(--hud); border-right: 1px solid var(--hud); }
.pillars h3 { font-size: 0.95rem; }
.pillars p { color: var(--slate); font-size: 0.95rem; margin: 0; }
@media (max-width: 1024px) { .pillars { grid-template-columns: 1fr 1fr; } .mission-top { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }

/* ===== Uniform sponsor logo cells ===== */
.logo-row, .logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-2); border-top: 0; padding-top: 0; }
.logo-row li, .logo-grid li {
  display: flex; align-items: center; justify-content: center; height: 128px; padding: 1rem 1.4rem;
  background: rgba(157,187,255,0.045); border: 1px solid var(--color-border); border-radius: var(--radius);
  transition: border-color var(--t-base), background var(--t-base);
}
.logo-row li:hover, .logo-grid li:hover { border-color: rgba(157,187,255,0.45); background: rgba(157,187,255,0.08); }
.logo-row img, .logo-grid img {
  width: auto; height: auto; max-width: 100%; max-height: 74px; object-fit: contain;
  filter: grayscale(1) invert(1) contrast(2.2) brightness(1.6); mix-blend-mode: screen; opacity: 0.95;
}
.logo-row li:hover img, .logo-grid li:hover img { opacity: 1; }
.thanks-h { margin-top: var(--space-4); }
.logo-grid { margin-bottom: var(--space-3); }

/* ===== Contact page ===== */
.contact-hero { position: relative; overflow: hidden; min-height: min(78vh, 720px); display: flex; align-items: center; padding: var(--space-6) var(--space-4) calc(var(--space-6) + 80px); background: var(--deep); }
.contact-hero-img { position: absolute; inset: -8% 0 0; width: 100%; height: 108%; object-fit: cover; object-position: center 100%; z-index: 0; filter: saturate(1.1); }
.contact-hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,12,31,0.88) 0%, rgba(7,12,31,0.55) 45%, rgba(7,12,31,0.15) 100%), linear-gradient(180deg, rgba(7,12,31,0.5), transparent 30%, rgba(7,12,31,0.4)); }
.contact-hero-inner { position: relative; z-index: 2; max-width: var(--max-w); width: 100%; margin: 0 auto; }
.contact-hero h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.contact-hero .hero-sub { max-width: 46ch; }
.contact-hero .hud-corners .bl, .contact-hero .hud-corners .br { bottom: 7rem; }

.contact-zone { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.contact-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--space-5); align-items: start; }
.contact-form.hud-frame { padding: calc(var(--space-4) + 0.6rem) var(--space-4) var(--space-4); background: rgba(7,12,31,0.7); backdrop-filter: blur(8px); overflow: hidden; }
.contact-form.hud-frame::before { display: none; }
.contact-form .marker.m-a { top: 0.8rem; left: 1rem; }
.contact-form .marker.m-a::after { display: none; }

.locator { position: relative; overflow: hidden; border: 1px solid rgba(157,187,255,0.3); border-radius: var(--radius); margin-bottom: var(--space-3); aspect-ratio: 16 / 10; background: var(--deep); }
.locator img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.locator::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,12,31,0.25), transparent 40%, rgba(7,12,31,0.45)); pointer-events: none; }
.locator-ring { position: absolute; left: 46%; top: 44%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 14px var(--sky); z-index: 2; }
.locator-ring::before, .locator-ring::after { content: ""; position: absolute; inset: -14px; border: 1px solid var(--sky); border-radius: 50%; animation: ring 2.6s ease-out infinite; }
.locator-ring::after { animation-delay: 1.3s; }
@keyframes ring { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
.locator .marker { position: absolute; z-index: 2; }
.locator .m-a { top: 0.7rem; left: 0.8rem; }
.locator .m-b { bottom: 0.7rem; right: 0.8rem; }
.contact-aside h2 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.contact-aside address { margin-bottom: var(--space-2); color: var(--contrail); opacity: 0.85; }

.reach-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); }
.reach-list li { background: var(--ink); padding: var(--space-4); }
.reach-list h3 { font-size: 0.95rem; }
.reach-list p:not(.panel-index) { color: var(--slate); font-size: 0.95rem; }

@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } .reach-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reach-list { grid-template-columns: 1fr; } .contact-hero { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .locator-ring::before, .locator-ring::after { animation: none; opacity: 0.5; } }


/* ===== Original site palette, applied as bands (navy / royal / light / green) ===== */
.portal-band, .donate-band { background: var(--cobalt); border-color: transparent; }
.portal-band h2, .donate-band h2, .portal-band p, .donate-band p { color: #fff; }
.portal-band .btn-ghost, .donate-band .btn-primary { background: #fff; color: var(--cobalt); border-color: #fff; }
.portal-band .btn-ghost:hover, .donate-band .btn-primary:hover { background: var(--pale); color: var(--ink); }

/* Home statement on the light-blue band, as the old "Uniting..." section */
.statement.hud-zone { background: var(--light); color: var(--ink); }
.statement.hud-zone::before { background-image: linear-gradient(rgba(18,20,43,0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(18,20,43,0.14) 1px, transparent 1px); opacity: 0.5; }
.statement .lede, .statement .hud-data dd { color: var(--ink); }
.statement .hud-data dt, .statement .link-more { color: var(--cobalt); }
.statement .link-more:hover { color: var(--ink); }
.statement .hud-data { border-top-color: rgba(18,20,43,0.25); }
.statement .hud-frame { --hud: rgba(18,20,43,0.7); }
.statement .hud-frame::before { background: radial-gradient(50% 50% at 50% 50%, rgba(48,99,175,0.45), transparent 70%); }
.statement .marker { color: var(--cobalt-deep); }
.statement .marker i { background: var(--cobalt); box-shadow: 0 0 8px var(--cobalt); }
.statement .scan { background: linear-gradient(90deg, transparent, var(--cobalt), transparent); }
.statement .hud-frame img { filter: drop-shadow(0 30px 40px rgba(18,20,43,0.35)); }

/* Ticker on royal blue */
.ticker { background: var(--cobalt); color: #fff; border-color: transparent; }
.ticker span::after { background: var(--pale); }

/* CTA band scrim leans royal */
.cta-band-scrim { background: linear-gradient(90deg, rgba(18,20,43,0.85) 0%, rgba(48,99,175,0.45) 60%, rgba(18,20,43,0.25) 100%); }

/* Green footer, as the original */
.footer { background: var(--green); border-top: 0; }
.footer, .footer p, .footer address, .footer-cols a, .footer-legal p, .footer-meta, .footer-cols h4 { color: #fff; }
.footer-cols a { opacity: 0.85; } .footer-cols a:hover { opacity: 1; color: #fff; }
.footer-brand address a, .footer-credit a { color: #fff; text-decoration: underline; text-underline-offset: 0.18em; }
.footer-legal, .footer-meta { border-top-color: rgba(255,255,255,0.25); }
.footer-legal p { opacity: 0.85; }

/* Buttons and nav on the new royal */
.btn-primary:hover { box-shadow: 0 12px 30px rgba(48,99,175,0.4); }
.nav-links a[aria-current="page"] { box-shadow: 0 1.4em 0 -1.25em var(--sky); }

/* ===== Video page heads (events, impact) ===== */
.video-head { position: relative; overflow: hidden; min-height: min(70vh, 640px); display: flex; align-items: center; padding: var(--space-6) var(--space-4) calc(var(--space-6) + 80px); background: var(--deep); }
.video-head .bg-video { object-position: center; }
.video-head-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(18,20,43,0.9) 0%, rgba(18,20,43,0.55) 50%, rgba(18,20,43,0.2) 100%), linear-gradient(180deg, rgba(18,20,43,0.5), transparent 30%, rgba(18,20,43,0.45)); }
.video-head-inner { position: relative; z-index: 2; max-width: var(--max-w); width: 100%; margin: 0 auto; }
.video-head h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.video-head .hero-sub { max-width: 52ch; margin-bottom: 0; }
.video-head .hud-corners .bl, .video-head .hud-corners .br { bottom: 7rem; }

/* Event cards with imagery */
.schedule { padding-top: var(--space-6); }
.schedule-inner { max-width: var(--max-w); margin: 0 auto; }
.event-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.event-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--color-border); background: rgba(18,20,43,0.7); overflow: hidden; border-radius: var(--radius); }
.event-card:nth-child(even) { grid-template-columns: 1fr 1.1fr; }
.event-card:nth-child(even) figure { order: 2; }
.event-card figure { margin: 0; position: relative; min-height: 300px; }
.event-card figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.2,.7,.2,1); }
.event-card:hover figure img { transform: scale(1.04); }
.event-card figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,20,43,0.35), transparent 40%, rgba(18,20,43,0.5)); }
.event-card figcaption { position: absolute; top: 0.9rem; left: 1rem; z-index: 2; }
.event-card.past figure img { filter: grayscale(0.6) brightness(0.8); }
.event-card-body { padding: var(--space-4); display: flex; flex-direction: column; justify-content: center; }
.event-card h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.event-card p { color: var(--slate); }
.event-card .btn, .event-card .link-more { align-self: flex-start; }
.event-card .event-when { margin-bottom: 0.4rem; }

/* Impact record rows with imagery */
.record { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.record-list { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max-w); display: grid; gap: var(--space-5); }
.record-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--space-5); align-items: center; }
.record-row:nth-child(even) > div { order: -1; }
.record-row figure { margin: 0; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--color-border); --b: 20px; }
.record-row figure img { width: 100%; height: 100%; object-fit: cover; }
.record-row figure::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(165,208,239,0.15); background: linear-gradient(180deg, transparent 60%, rgba(18,20,43,0.55)); }
.record-row figure .marker { position: absolute; left: 1rem; bottom: 0.9rem; z-index: 2; font-size: 1rem; color: var(--horizon); }
.record-row figure .marker i { background: var(--horizon); box-shadow: 0 0 10px var(--horizon); }
.record-row h3 { font-size: 1.15rem; }
.record-row p { color: var(--slate); max-width: 56ch; }

@media (max-width: 900px) {
  .event-card, .event-card:nth-child(even) { grid-template-columns: 1fr; }
  .event-card:nth-child(even) figure { order: 0; }
  .event-card figure { min-height: 220px; }
  .record-row { grid-template-columns: 1fr; gap: var(--space-3); }
  .record-row:nth-child(even) > div { order: 0; }
}

/* ===== Membership: pricing cards + comparison table ===== */
.member-hero .contact-hero-img { object-position: center 40%; }
.benefits { padding-top: var(--space-5); padding-bottom: var(--space-5); }
.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.benefit-list li { padding: var(--space-3) var(--space-3) var(--space-3) 0; border-top: 1px solid var(--color-border); }
.benefit-list svg { width: 30px; height: 30px; color: var(--sky); margin-bottom: var(--space-2); }
.benefit-list h3 { font-size: 0.9rem; }
.benefit-list p { color: var(--slate); font-size: 0.92rem; margin: 0; }

.tiers-band { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.company-band { background: var(--color-surface-alt); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.tiers-inner { max-width: var(--max-w); margin: 0 auto; }
.tiers-intro { display: grid; grid-template-columns: 300px 1fr; gap: var(--space-5); align-items: stretch; margin-bottom: var(--space-4); }
.tiers-copy { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-4); padding: var(--space-2) 0; }
.tiers-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.tiers-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--color-border); }
.tiers-facts li { display: flex; flex-direction: column; gap: 0.35rem; padding: var(--space-3) var(--space-3) 0 0; }
.tiers-facts li + li { padding-left: var(--space-3); border-left: 1px solid var(--color-border); }
.tiers-facts li::before { display: none; }
.tiers-facts .fact-val { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.6rem); color: #fff; line-height: 1.1; }
.tiers-facts .fact-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--slate); }
.tiers-intro h2 { margin-bottom: var(--space-1); }
.tiers-intro p { color: var(--slate); max-width: 50ch; margin: 0; }
.tiers-figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--color-border); }
.tiers-figure img { width: 100%; height: 100%; object-fit: cover; }
.tiers-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18,20,43,0.7)); }
.tiers-figure .marker { position: absolute; left: 0.9rem; bottom: 0.8rem; z-index: 2; }

.tier-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); border: 0; margin: 0; padding: 0; }
.tier { display: flex; flex-direction: column; position: relative; padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius); background: rgba(18,20,43,0.6); backdrop-filter: blur(6px); gap: 0; }
.tier.featured { border-color: var(--sky); box-shadow: 0 0 0 1px rgba(165,208,239,0.35), 0 24px 60px rgba(18,20,43,0.6); background: linear-gradient(180deg, rgba(48,99,175,0.28), rgba(18,20,43,0.7)); }
.tier-flag { position: absolute; top: -0.7rem; left: var(--space-4); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--ink); background: var(--sky); padding: 0.2rem 0.6rem; border-radius: 999px; }
.tier h3 { font-size: 0.95rem; margin-bottom: 0.3rem; min-height: 2.4em; }
.tier .tier-who { color: var(--slate); font-size: 0.9rem; margin: 0 0 var(--space-2); }
.tier .tier-price { margin: 0 0 var(--space-2); padding-bottom: var(--space-2); border-bottom: 1px solid var(--color-border); }
.tier-seats { font-family: var(--font-mono); font-size: 0.72rem; color: var(--horizon); letter-spacing: 0.04em; margin: -0.5rem 0 var(--space-2); }
.tier .tier-perks { flex: 1; margin-bottom: var(--space-3); }
.tier .tier-perks li { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.35rem 0; color: var(--contrail); opacity: 0.85; font-size: 0.93rem; }
.tier .tier-perks li::before { display: none; }
.tier .tier-perks svg { width: 16px; height: 16px; flex: none; color: var(--sky); margin-top: 0.25em; }
.tier .btn { align-self: stretch; text-align: center; }

.compare-wrap { position: relative; overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--ink); }
.compare { border-collapse: collapse; width: 100%; min-width: 860px; font-size: 0.9rem; }
.compare th, .compare td { padding: 0.75rem 0.9rem; text-align: center; border-bottom: 1px solid var(--color-border); }
.compare thead th { font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.04em; color: var(--sky); background: rgba(48,99,175,0.18); font-weight: 700; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--contrail); white-space: nowrap; }
.compare thead th { background: #1a2550; }
.compare thead th:first-child, .compare tbody th { position: sticky; left: 0; background: var(--ink); text-align: left; }
.compare tbody tr:nth-child(even) td, .compare tbody tr:nth-child(even) th { background: #171b36; }
.compare thead th:first-child { background: #1a2550; }
.compare .yes svg { width: 18px; height: 18px; color: var(--sky); }
.compare .no { display: inline-block; width: 10px; height: 1px; background: rgba(198,214,234,0.35); vertical-align: middle; }
.compare .num { font-family: var(--font-mono); color: var(--horizon); }

@media (max-width: 1024px) { .tier-list { grid-template-columns: 1fr; } .benefit-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .tiers-intro { grid-template-columns: 1fr; } .tiers-figure { max-width: 320px; } .tier { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .benefit-list { grid-template-columns: 1fr; } }

/* ============================================
   Mobile layout pass (2026-09-08). Videos are 16:9 and crop badly into portrait,
   so on phones the text-over-video sections become still image + text, and the
   F-35 cutout is shown whole instead of hidden or squeezed.
   ============================================ */
.mobile-still { display: none; }

@media (max-width: 820px) {
  html { font-size: 15px; }
  h1 { font-size: clamp(1.45rem, 6.2vw, 1.9rem); max-width: none; line-height: 1.15; }
  h2 { font-size: clamp(1.2rem, 5vw, 1.5rem); max-width: none; }
  .hero-sub, .video-head .hero-sub, .contact-hero .hero-sub { font-size: 1rem; line-height: 1.55; }
  .btn { padding: 0.8rem 1.2rem; font-size: 0.92rem; }
  .hero-cta { gap: 0.6rem; }
  .hero-cta .btn { flex: 1 1 auto; text-align: center; }

  /* Home hero: text first, whole jet below, no cropped video */
  .hero { min-height: 0; padding: var(--space-4) var(--space-3) calc(var(--space-4) + 40px); align-items: flex-start; text-align: left; background: radial-gradient(90% 70% at 50% 100%, rgba(48,99,175,0.55), transparent 70%), var(--ink); }
  .hero .bg-video, .hero-scrim { display: none; }
  .hero h1 { margin-left: 0; margin-right: 0; text-shadow: none; }
  .hero .hero-sub { margin-left: 0; margin-right: 0; }
  .hero .hero-cta { justify-content: flex-start; }
  .mobile-still.hero-jet { display: block; width: 100%; margin: var(--space-3) 0 0; filter: drop-shadow(0 20px 30px rgba(7,12,31,0.7)); }
  .hero-horizon .horizon { height: 40px; }

  /* Ticker smaller */
  .ticker { font-size: 0.7rem; padding: 0.7rem 0; }

  /* Statement: F-35 frame at full width with light brackets */
  .statement.section-full { padding: var(--space-5) var(--space-3); }
  .statement-grid { gap: var(--space-4); }
  .hud-frame.big { padding: 4% 2%; --b: 16px; }
  .hud-frame.big .m-b, .hud-frame.big .m-c { display: none; }
  .hud-frame.big .marker { font-size: 0.62rem; }
  .hud-data { grid-template-columns: 1fr 1fr; gap: var(--space-2); }

  /* Photo panels */
  .paths.section-full { padding: var(--space-5) var(--space-3); }
  .panel { min-height: 300px; }
  .panel-body { padding: var(--space-3); }

  /* Milestones */
  .impact-strip, .section-full { padding-left: var(--space-3); padding-right: var(--space-3); }
  .milestones li { padding-left: 2.6rem; }
  .milestones li::before { font-size: 1.05rem; }

  /* Logo cells: two up, shorter */
  .logo-row, .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .logo-row li, .logo-grid li { height: 84px; padding: 0.7rem 1rem; }
  .logo-row img, .logo-grid img { max-height: 46px; }

  /* CTA band: smaller and shows the airfield */
  .cta-band { min-height: 0; padding: var(--space-5) var(--space-3); }
  .cta-band-scrim { background: linear-gradient(180deg, rgba(18,20,43,0.85), rgba(18,20,43,0.6)); }

  /* Inner page heads: tighter, F-35 shown whole under the copy */
  .page-head { min-height: 0; padding: var(--space-4) var(--space-3) calc(var(--space-4) + 40px); }
  .page-head h1 { margin-bottom: var(--space-2); }
  .page-head > .head-art { display: block; position: static; transform: none; width: 100%; max-width: 420px; margin: var(--space-3) auto 0; opacity: 1; }
  .head-art .hud-frame { padding: 3%; --b: 14px; }
  .head-art .hud-frame .m-a { display: none; }
  .head-art .hud-frame .m-b { font-size: 0.62rem; }

  /* Video heads and contact hero: shorter so the 16:9 crop stays mild, lighter text block */
  .video-head, .contact-hero { min-height: 0; padding: var(--space-5) var(--space-3) calc(var(--space-5) + 40px); }
  .video-head-scrim, .contact-hero-scrim { background: linear-gradient(180deg, rgba(18,20,43,0.7), rgba(18,20,43,0.85)); }
  .video-head .hud-corners, .contact-hero .hud-corners, .member-hero .hud-corners { display: none; }

  /* About mission: still image on top, no cropped video behind text */
  .mission.section-full { padding: 0 0 var(--space-5); }
  .mission .bg-video, .mission-scrim { display: none; }
  .mission.hud-zone::before { display: none; }
  .mission .mobile-still { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--color-border); }
  .mission-inner { padding: var(--space-4) var(--space-3) 0; }
  .mission-top { gap: var(--space-4); margin-bottom: var(--space-4); }
  .mission-lede .lede { font-size: 1.2rem; max-width: none; }
  .mission-panel { padding: var(--space-3); }
  .pillars li { padding: var(--space-3); }

  /* Board: two up with tighter copy */
  .board-grid { gap: var(--space-3) var(--space-2); }
  .member h3 { font-size: 0.78rem; }
  .member-role { font-size: 0.8rem; }

  /* Sponsor profiles on About: logo and text tight */
  .sponsor-profiles { gap: var(--space-4); }
  .sponsor-profiles img { width: 120px; }

  /* Membership: benefits two up, figures small */
  .tiers-figure { max-width: 220px; aspect-ratio: 1; }
  .tiers-intro { gap: var(--space-3); align-items: start; }

  /* Records on impact */
  .record-list { gap: var(--space-4); }

  /* Reach list and event cards */
  .event-card figure { min-height: 200px; }
  .event-card-body { padding: var(--space-3); }

  /* Footer */
  .footer { padding: var(--space-5) var(--space-3) var(--space-3); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand img { width: 110px; }
}
@media (max-width: 480px) {
  .hero-cta .btn { flex: 1 1 100%; }
  .hud-data { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .mobile-still.hero-jet { margin-top: var(--space-2); max-height: 42vw; object-fit: contain; }
  .hero { padding-bottom: calc(var(--space-3) + 40px); }
  .statement .hud-frame.big { margin-top: var(--space-2); }
  .statement .hud-frame.big img { transform: none !important; }
  .hud-frame.big::before { inset: 25%; }
}

/* Mobile hero: its own portrait image, full bleed, copy over the dark sky */
@media (max-width: 820px) {
  .hero { position: relative; min-height: 92vh; min-height: 92dvh; display: flex; align-items: flex-start; padding: var(--space-4) var(--space-3) calc(var(--space-7) + 60px); background: var(--ink); }
  .mobile-still.hero-jet { display: none; }
  .mobile-still.hero-mobile-bg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 100%; z-index: 0; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(18,20,43,0.8) 0%, rgba(18,20,43,0.6) 45%, rgba(18,20,43,0.1) 65%, rgba(18,20,43,0.4) 100%); }
  .hero-inner { position: relative; z-index: 2; }
  .hero h1 { text-shadow: 0 2px 24px rgba(18,20,43,0.8); }
  .hero .hero-sub { color: var(--pale); text-shadow: 0 1px 12px rgba(18,20,43,0.8); }
  .hero-horizon { z-index: 3; }
}

@media (max-width: 820px) {
  .hero h1 { font-size: clamp(1.35rem, 5.6vw, 1.7rem); }
  .hero .hero-sub { font-size: 0.95rem; margin-bottom: var(--space-3); }
  .hero-horizon { display: none; }
  .hero { padding-bottom: 66vh; min-height: 108dvh; }
  .hero .hero-sub { margin-bottom: var(--space-2); }
  .hero-kicker { margin-bottom: 0.6rem; font-size: 0.9rem; }
}

/* Students page */
.record .section-title { max-width: var(--max-w); margin: 0 auto var(--space-5); }
.student-note { max-width: 760px; margin: 0 auto; text-align: center; }
.student-note h2 { margin-bottom: var(--space-3); }
.student-note a { color: var(--contrail); text-decoration: underline; text-underline-offset: 3px; }
.member-hero .contact-hero-img.student-hero-img { object-position: 50% 72%; }

/* Member sponsors wall (official list from the SPADA Launch Program) */
.member-sponsors { position: relative; overflow: hidden; padding: var(--space-7) var(--space-4); background: #0b0d1f; }
.member-sponsors-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: 0; }
.member-sponsors-scrim { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at 50% 50%, rgba(11,13,31,0.45), rgba(11,13,31,0.15) 75%), linear-gradient(180deg, rgba(11,13,31,0.35), transparent 30%, transparent 75%, rgba(11,13,31,0.5)); }
.member-sponsors-inner { position: relative; z-index: 2; max-width: 1260px; margin: 0 auto; }
.member-sponsors .section-head { text-align: center; margin: 0 auto var(--space-6); max-width: 760px; }
.member-sponsors .section-head p { margin-left: auto; margin-right: auto; }
.member-sponsors .section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.sponsor-tier { margin-top: var(--space-6); }
.sponsor-tier .tier-label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--horizon, #A5D0EF); text-align: center; margin: 0 0 var(--space-3); }
.sponsor-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.sponsor-logos li { flex: 0 1 228px; min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-3); border-radius: var(--radius); background: rgba(18,20,43,0.55); border: 1px solid rgba(165,208,239,0.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color var(--t-fast), transform var(--t-fast); }
.sponsor-logos li:hover { border-color: rgba(165,208,239,0.6); transform: translateY(-2px); }
.sponsor-logos img { width: auto; max-width: 100%; max-height: 110px; object-fit: contain; }
.title-tier .sponsor-logos li { flex-basis: 480px; min-height: 250px; border-color: rgba(165,208,239,0.45); box-shadow: 0 0 40px rgba(48,99,175,0.25); }
.title-tier .sponsor-logos img { max-height: 150px; }
.title-tier .tier-label { margin-bottom: var(--space-3); }
@media (max-width: 640px) {
  .member-sponsors { padding: var(--space-6) var(--space-3); }
  .sponsor-logos li { flex-basis: calc(50% - var(--space-3)); min-height: 110px; padding: var(--space-2); }
  .sponsor-logos img { max-height: 60px; }
  .title-tier .sponsor-logos li { flex-basis: 100%; min-height: 170px; }
  .title-tier .sponsor-logos img { max-height: 100px; }
}
.community-tier .sponsor-logos li { flex-basis: 186px; }
.community-tier .sponsor-logos img[alt="Cobalt Academy"] { max-height: 130px; }
@media (max-width: 640px) { .community-tier .sponsor-logos li { flex-basis: calc(50% - var(--space-3)); } }

/* ---------- Save the Date flyer (events page) ---------- */
.std-wrap { padding-bottom: 0; }
.std-flyer { position: relative; max-width: 760px; margin: 0 auto; overflow: hidden; text-align: center;
  border: 1px solid rgba(165,208,239,0.35); border-radius: var(--radius);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(48,99,175,0.55), transparent 60%),
    linear-gradient(rgba(165,208,239,0.06) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(165,208,239,0.06) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(180deg, #1a1e3e, #0e1024);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), inset 0 0 0 6px rgba(18,20,43,0.6), inset 0 0 0 7px rgba(165,208,239,0.12); }
.std-jet { position: absolute; left: 50%; bottom: -6%; width: 120%; max-width: none; transform: translateX(-50%); opacity: 0.16; pointer-events: none; }
.std-bracket { position: absolute; width: 22px; height: 22px; border: 2px solid var(--sky); opacity: 0.8; z-index: 1; }
.std-bracket.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.std-bracket.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.std-bracket.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.std-bracket.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.std-inner { position: relative; z-index: 2; padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3.5rem); }
.std-logo { width: 150px; height: auto; margin: 0 auto var(--space-3); display: block; }
.std-kicker { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); margin: 0 auto var(--space-2); max-width: 44ch; }
.std-partners { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 5vw, 2.6rem); letter-spacing: 0.06em; color: #fff; margin: 0; line-height: 1.1; }
.std-partners span { color: var(--sky); font-weight: 500; margin: 0 0.2em; }
.std-collab { font-style: italic; color: var(--slate); margin: 0.5rem 0 0; font-size: 1.05rem; }
.std-title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: clamp(2.1rem, 8vw, 4.2rem); line-height: 1; margin: var(--space-4) 0 var(--space-3);
  background: linear-gradient(180deg, #fff 30%, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.std-title em { font-style: normal; }
.std-date { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: center; text-align: left;
  max-width: 540px; margin: 0 auto; padding: var(--space-3) 0; border-top: 1px solid rgba(165,208,239,0.3); border-bottom: 1px solid rgba(165,208,239,0.3); }
.std-date time { display: flex; flex-direction: column; align-items: center; padding-right: var(--space-4); border-right: 1px solid rgba(165,208,239,0.3); }
.std-month, .std-year { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8rem; color: var(--sky); }
.std-day { font-family: var(--font-display); font-weight: 900; font-size: clamp(3.4rem, 10vw, 5rem); line-height: 1; color: #fff; text-shadow: 0 0 30px rgba(48,99,175,0.8); }
.std-meta p { margin: 0 0 var(--space-2); color: #fff; font-size: 1.1rem; line-height: 1.4; }
.std-meta p:last-child { margin-bottom: 0; }
.std-meta .marker { display: flex; margin-bottom: 0.25rem; }
.std-actions { display: flex; gap: var(--space-2); justify-content: center; flex-wrap: wrap; margin-top: var(--space-4); }
.std-note { margin: var(--space-3) auto 0; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--slate); text-transform: uppercase; }
@media (max-width: 560px) {
  .std-date { grid-template-columns: 1fr; gap: var(--space-2); text-align: center; }
  .std-date time { border-right: 0; padding-right: 0; }
  .std-meta .marker { justify-content: center; }
  .std-bracket { width: 16px; height: 16px; }
}

/* ---------- Events: current / upcoming / past ---------- */
.ev-jump { position: sticky; top: 88px; z-index: 20; display: flex; justify-content: center; gap: var(--space-1);
  padding: 0.7rem var(--space-2); background: rgba(14,16,36,0.88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-border); }
.ev-jump a { padding: 0.45rem 0.9rem; border: 1px solid var(--color-border); border-radius: 999px; text-decoration: none; transition: border-color 200ms, background 200ms; }
.ev-jump a:hover, .ev-jump a:focus-visible { border-color: var(--sky); background: rgba(48,99,175,0.25); }
.ev-block { scroll-margin-top: 150px; }
.ev-head { text-align: center; margin: 0 auto var(--space-4); }
.ev-head .marker { justify-content: center; margin-bottom: 0.6rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; }
.ev-h { margin: 0 auto; }
#current { padding-bottom: var(--space-5); }
#upcoming, .ev-past { padding-top: var(--space-5); }
.ev-past { background: var(--color-surface-alt); border-top: 1px solid var(--color-border); }
.past-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.past-card { border: 1px solid var(--color-border); border-radius: var(--radius); background: rgba(26,30,62,0.6); overflow: hidden; }
.past-card figure { margin: 0; position: relative; aspect-ratio: 16 / 10; }
.past-card figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.55) brightness(0.8); transition: filter 400ms; }
.past-card:hover figure img { filter: none; }
.past-card figcaption { position: absolute; top: 0.8rem; left: 0.9rem; padding: 0.3rem 0.6rem; border-radius: 999px; background: rgba(14,16,36,0.82); }
.past-card h3 { font-size: 1rem; margin: var(--space-3) var(--space-3) var(--space-1); }
.past-card p { color: var(--slate); margin: 0 var(--space-3) var(--space-3); font-size: 0.95rem; }
.past-more { display: inline-block; margin-top: var(--space-4); }
@media (max-width: 1024px) { .past-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .past-grid { grid-template-columns: 1fr; } .ev-jump { top: 83px; } }

/* Membership comparison on phones: pick a level instead of scrolling a wide table */
.compare-mobile { display: none; }
@media (max-width: 820px) {
  .compare-wrap { display: none; }
  .compare-mobile { display: block; }
  .cm-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-3); }
  .cm-chip { font: inherit; font-size: 0.85rem; color: var(--contrail); background: transparent; border: 1px solid var(--color-border); border-radius: 999px; padding: 0.5rem 0.9rem; min-height: 40px; cursor: pointer; }
  .cm-chip[aria-selected="true"] { color: var(--ink); background: var(--sky); border-color: var(--sky); font-weight: 600; }
  .cm-panel { list-style: none; margin: 0; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--ink); }
  .cm-panel li { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--color-border); font-size: 0.95rem; color: var(--contrail); }
  .cm-panel li:last-child { border-bottom: 0; }
  .cm-panel li::before { display: none; }
  .cm-panel svg { width: 18px; height: 18px; flex: none; color: var(--sky); }
  .cm-panel .cm-no { color: rgba(198,214,234,0.45); }
  .cm-panel .no { display: inline-block; width: 18px; flex: none; height: 1px; background: rgba(198,214,234,0.35); }
  .cm-panel .num { flex: none; width: 18px; text-align: center; font-family: var(--font-mono); color: var(--horizon); }
  .tiers-facts { grid-template-columns: 1fr; }
  .tiers-facts li, .tiers-facts li + li { flex-direction: row; align-items: baseline; gap: 0.75rem; padding: var(--space-2) 0; border-left: 0; border-bottom: 1px solid var(--color-border); }
}
.std-inner p { margin-left: auto; margin-right: auto; }

/* Home kicker sat left of center: the global p max-width with zero side margins (2026-10-07) */
.hero-kicker { max-width: none; }
/* Staff block under the board (2026-10-07) */
.staff-head { margin-top: var(--space-6, 3rem); }
