@import "./tokens.css";

/* ───── Reset (modern, minimal) ───── */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-size: var(--t-16);
  line-height: var(--lh-normal);
  color: var(--c-ink);
  background: var(--c-surface);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
ul, ol { padding-left: 1.25em; }
hr { border: none; border-top: 1px solid var(--c-line); margin: var(--s-7) 0; }
:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 3px; border-radius: var(--radius-1); }

/* ───── Typography ───── */
.h-display, h1.h-display {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw + 0.75rem, 5.5rem);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  overflow-wrap: break-word;
  hyphens: auto;
}
/* ─── Mobile safety: aggressive overflow guard + text wrap ─── */
@media (max-width: 720px) {
  /* Universal overflow clip — defeats absolutely-positioned children that
     would extend the page width and cause horizontal scroll. */
  html, body {
    overflow-x: clip;
    overflow-x: hidden; /* fallback */
    width: 100%;
    max-width: 100vw;
  }
  /* No section, container, or generic element should ever push wider than viewport */
  body, section, .section, .section-sm, .container, .container-w, .container-n,
  main, header, footer, article, aside, nav {
    max-width: 100%;
  }
  .container, .container-w, .container-n {
    max-width: 100%;
    padding-inline: 16px;
  }
  /* Force long words / unbreakable strings to break */
  h1, h2, h3, h4, h5, h6, p, li, span, a, blockquote {
    overflow-wrap: anywhere;
    word-break: normal;
  }
  /* Aggressive heading caps */
  h1, h2, h3, h1.h-display, h2.h-display, .h-display, .h-1, .h-2, .h-3 {
    max-width: 100% !important;
    text-wrap: balance;
  }
  /* Hero h1 + h-display: keep hyphens manual (short, controlled copy) */
  .h-display, h1.h-display, .hero h1 {
    hyphens: manual !important;
  }
  /* Section headlines (h-1/h-2): allow auto-hyphenation so long words like
     "Commissioner", "Insurance", "Reinsurance", "Accountability" break
     gracefully instead of overflowing. */
  .h-1, .h-2 {
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
  }
  .h-display, h1.h-display {
    font-size: clamp(1.6rem, 5.5vw + 0.25rem, 2.2rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
  .h-1 {
    font-size: clamp(1.4rem, 5vw + 0.25rem, 1.85rem);
    line-height: 1.15;
  }
  .h-2 {
    font-size: clamp(1.25rem, 4vw + 0.25rem, 1.5rem);
    line-height: 1.2;
  }
  .h-3 {
    font-size: 1.0625rem;
    line-height: 1.3;
  }
  /* Lead paragraphs */
  .lead {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  /* Buttons: never overflow */
  .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  /* Images, video, iframes, tables: always max-width 100% */
  img, video, iframe, table, svg, canvas {
    max-width: 100%;
    height: auto;
  }
  /* Cards: tighten padding so content doesn't push out */
  .card { padding: var(--s-4); }
  /* Code/pre: scroll within, not over */
  pre, code { max-width: 100%; overflow-x: auto; }
}
.h-1 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(2rem, 3.2vw + 1rem, 3.5rem);
  line-height: var(--lh-snug);
  letter-spacing: -0.015em;
}
.h-2 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2vw + 0.75rem, 2.25rem);
  line-height: var(--lh-snug);
  letter-spacing: -0.01em;
}
.h-3 {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: var(--t-21);
  line-height: var(--lh-snug);
  letter-spacing: -0.005em;
}
.eyebrow {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: var(--t-12);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-blue);
}
.lead {
  font-size: var(--t-21);
  line-height: var(--lh-normal);
  color: var(--c-ink-2);
}
.muted { color: var(--c-ink-3); }
.subtle { color: var(--c-ink-4); }
.serif { font-family: var(--f-serif); }
.cond  { font-family: var(--f-cond); }
.mono  { font-family: var(--f-mono); }
.upper { text-transform: uppercase; letter-spacing: 0.14em; }

/* ───── Layout primitives ───── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-5); }
.container-w { width: 100%; max-width: var(--container-w); margin-inline: auto; padding-inline: var(--s-5); }
.container-n { width: 100%; max-width: var(--container-n); margin-inline: auto; padding-inline: var(--s-5); }
.section { padding-block: clamp(var(--s-7), 8vw, var(--s-10)); }
.section-sm { padding-block: clamp(var(--s-6), 5vw, var(--s-8)); }
.grid { display: grid; gap: var(--s-5); }
.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-5); }
.row { display: flex; gap: var(--s-4); flex-wrap: wrap; align-items: center; }
.row-tight { display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: center; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ───── Surfaces ───── */
.surface     { background: var(--c-surface); }
.surface-2   { background: var(--c-surface-2); }
.surface-3   { background: var(--c-surface-3); }
.surface-blue{ background: var(--c-blue); color: #fff; }
.surface-red { background: var(--c-red);  color: #fff; }
/* Emerald section surface (matches the green used on the homepage). White text,
   with readable overrides for everything that sits on the dark fill: eyebrow,
   headings, muted text, links, cards, and timeline badges. */
.surface-green { background: linear-gradient(165deg, var(--c-green) 0%, var(--c-green-dark) 100%); color: #fff; }
.surface-green .eyebrow { color: rgba(255,255,255,0.82); }
.surface-green h1, .surface-green h2, .surface-green h3, .surface-green h4,
.surface-green .h-display, .surface-green .h-1, .surface-green .h-2, .surface-green .h-3 { color: #fff; }
.surface-green p, .surface-green li, .surface-green strong, .surface-green cite, .surface-green dt, .surface-green dd { color: #fff; }
.surface-green .muted { color: rgba(255,255,255,0.86); }
.surface-green hr { border-top-color: rgba(255,255,255,0.22); }
.surface-green a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.surface-green .card { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.24); color: #fff; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.surface-green .card .muted { color: rgba(255,255,255,0.86); }
.surface-green .dropcap { color: #fff; }
/* Timeline: white date badge keeps dark text on desktop; on mobile the badge goes
   transparent over the green, so flip the label back to white there. */
.surface-green .timeline { border-left-color: rgba(255,255,255,0.28); }
.surface-green .timeline-date { color: var(--c-green-dark); }
@media (max-width: 720px) { .surface-green .timeline-date { color: #fff; } }

/* ───── "As seen in" press strip on homepage ───── */
.press-strip {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-4) var(--s-5);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-2);
  flex-wrap: wrap;
  justify-content: space-between;
}
.press-strip-label {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: var(--t-12);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red);
  flex-shrink: 0;
}
.press-strip-outlets {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.press-strip-outlet {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--c-ink-2);
  transition: color var(--dur-2), transform var(--dur-2);
  line-height: 1.15;
}
.press-strip-outlet:hover { color: var(--c-red); transform: translateY(-1px); text-decoration: none; }
.press-strip-outlet .press-strip-cn {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", var(--f-serif);
  font-weight: 700;
  font-size: var(--t-16);
}
.press-strip-outlet .press-strip-en {
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: var(--t-12);
  letter-spacing: 0.04em;
  color: var(--c-ink-3);
}
.press-strip-outlet:hover .press-strip-en { color: var(--c-red); }
.press-strip-link {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: var(--t-14);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-blue);
  flex-shrink: 0;
}
.press-strip-link:hover { color: var(--c-red); text-decoration: none; }
@media (max-width: 720px) {
  .press-strip { gap: var(--s-3); padding: var(--s-3) var(--s-4); }
  .press-strip-outlets { gap: var(--s-4); }
  .press-strip-outlet .press-strip-cn { font-size: var(--t-14); }
}

/* ───── Wanted-poster / vintage dossier surfaces ─────
   Sepia palette to break red/white/blue monotony on storytelling sections.
   Subtle SVG-grain background to feel like aged paper, not flat color. */
.surface-paper {
  background-color: var(--c-paper);
  background-image:
    radial-gradient(ellipse 1200px 700px at 50% 0%, rgba(168,119,41,0.10), transparent 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch' seed='3'/><feColorMatrix values='0 0 0 0 0.23 0 0 0 0 0.18 0 0 0 0 0.12 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  color: var(--c-walnut);
  position: relative;
}
.surface-paper .eyebrow { color: var(--c-amber-dark); }
.surface-paper h1, .surface-paper h2, .surface-paper h3,
.surface-paper .h-display, .surface-paper .h-1, .surface-paper .h-2, .surface-paper .h-3 {
  color: var(--c-walnut);
}
.surface-paper .muted { color: var(--c-walnut-2); }
.surface-paper hr { border-top-color: rgba(58,46,31,0.18); }
.surface-paper .card {
  background: rgba(255,250,235,0.6);
  border-color: rgba(58,46,31,0.15);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Dramatic deep-midnight investigative variant — near-black with red + amber
   accent glows. Replaces the previous muddy walnut. Use for high-impact
   "credibility / record" sections, not as a default. */
.surface-dossier {
  background-color: #0a0d18;
  background-image:
    radial-gradient(ellipse 900px 520px at 12% 8%, rgba(191,10,48,0.28), transparent 60%),
    radial-gradient(ellipse 700px 400px at 92% 98%, rgba(168,119,41,0.18), transparent 65%),
    linear-gradient(135deg, rgba(13,17,32,0.6), rgba(2,4,12,0.85));
  color: #f4f1e8;
}
.surface-dossier .eyebrow { color: var(--c-amber); }
.surface-dossier h1, .surface-dossier h2, .surface-dossier h3,
.surface-dossier .h-display, .surface-dossier .h-1, .surface-dossier .h-2, .surface-dossier .h-3 {
  color: #ffffff;
}
.surface-dossier .muted { color: rgba(244,241,232,0.78); }
.surface-dossier .lead { color: rgba(244,241,232,0.94); }
.surface-dossier hr { border-top-color: rgba(244,241,232,0.18); }
.surface-dossier .card {
  background: rgba(10,12,22,0.55);
  border-color: rgba(168,119,41,0.40);
  color: #f4f1e8;
}
.surface-dossier .card .muted { color: rgba(244,241,232,0.78); }

/* Optional decorative slab-serif headline variant for wanted-poster moments.
   Use sparingly: <h2 class="h-display dossier-headline">. */
.dossier-headline {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-weight: 900;
  font-variation-settings: "opsz" 144, "wght" 900, "SOFT" 0;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.surface-grad-flag {
  background:
    linear-gradient(180deg, rgba(0,40,104,0.95), rgba(0,40,104,0.85)),
    url("/assets/img/hero-grain.svg");
  background-size: cover;
  color: #fff;
}

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 14px 22px;
  border-radius: var(--radius-1);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: var(--t-16);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform var(--dur-1) var(--ease-out), background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 18px 30px; font-size: var(--t-18); }
.btn-sm { padding: 10px 16px; font-size: var(--t-14); }

.btn-primary { background: var(--c-green); color: #fff; border-color: var(--c-green); }
.btn-primary:hover { background: var(--c-green-dark); border-color: var(--c-green-dark); }
.btn-danger { background: var(--c-red); color: #fff; border-color: var(--c-red); }
.btn-danger:hover { background: var(--c-red-dark); border-color: var(--c-red-dark); }
.btn-navy { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.btn-navy:hover { background: var(--c-blue-dark); border-color: var(--c-blue-dark); }
.btn-ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line-2); }
.btn-ghost:hover { background: var(--c-surface-2); border-color: var(--c-ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
/* White-filled button for high-contrast use on red or navy surfaces */
.btn-white { background: #fff; color: var(--c-blue); border-color: #fff; }
.btn-white:hover { background: #f3f4f8; border-color: #f3f4f8; color: var(--c-blue-dark); }

.btn .arrow { transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ───── Header / Nav ───── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  /* Full-color red gradient divider (replaces the thin gray line).
     Animated horizontal sweep across reds; renders via ::after below. */
  border-bottom: 0;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #e6193f 0%,
    #BF0A30 25%,
    #8e0721 50%,
    #BF0A30 75%,
    #e6193f 100%
  );
  background-size: 200% 100%;
  animation: headerSweep 9s linear infinite;
  pointer-events: none;
}
@keyframes headerSweep {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header::after { animation: none; background-position: 50% 50%; }
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}
.nav > * { flex-shrink: 0; }
.nav > nav, .nav > details { min-width: 0; }
@media (min-width: 960px) {
  .nav { height: 72px; gap: var(--s-5); overflow: visible; }
}
.brand {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: var(--t-18);
  letter-spacing: -0.005em;
  color: var(--c-blue);
}
.brand-mark {
  width: 36px; height: 36px;
  display: inline-block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,8,30,0.18));
  transition: filter var(--dur-2);
}
.brand:hover .brand-mark { filter: drop-shadow(0 3px 8px rgba(0,8,30,0.30)); }
.brand-name { display: none; white-space: nowrap; }
.nav-links {
  display: none;
  gap: var(--s-5);
  list-style: none; padding: 0; margin: 0;
}
.nav-links a {
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: var(--t-14);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-ink-2);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-2), border-color var(--dur-2);
}
.nav-links a:hover { color: var(--c-blue); border-bottom-color: var(--c-blue); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--c-blue); border-bottom-color: var(--c-blue); }

/* ───── Header dropdown groups (Campaign / Take Action / Follow Sean) ───── */
.nav-groups {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.nav-group { position: relative; }
/* Hide compact icon + full label by default; we'll show one or the other
   depending on viewport. */
.nav-group .nav-group-icon { display: none; }
.nav-group > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: var(--t-14);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink-2);
  border-bottom: 2px solid transparent;
  transition: color var(--dur-2), border-color var(--dur-2);
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary:hover,
.nav-group[open] > summary,
.nav-group[data-active="true"] > summary {
  color: var(--c-red);
  border-bottom-color: var(--c-red);
}
.nav-group .nav-group-caret { transition: transform var(--dur-2); opacity: 0.7; }
.nav-group[open] > summary .nav-group-caret { transform: rotate(180deg); }

/* ── Mobile (<960px): only Follow Sean stays visible, compact icon-only ── */
@media (max-width: 959px) {
  /* Hide CAMPAIGN and TAKE ACTION on mobile - they live in the drawer */
  .nav-group[data-group="campaign"],
  .nav-group[data-group="take-action"] { display: none; }
  /* Follow Sean becomes a compact pill: icon + caret, no label */
  .nav-group[data-group="follow-sean"] .nav-group-label { display: none; }
  .nav-group[data-group="follow-sean"] .nav-group-icon { display: inline-flex; align-items: center; }
  .nav-group[data-group="follow-sean"] > summary {
    padding: 6px 8px;
    gap: 4px;
    border: 1px solid rgba(0,40,104,0.18);
    border-radius: 999px;
    background: transparent;
  }
  .nav-group[data-group="follow-sean"][open] > summary,
  .nav-group[data-group="follow-sean"] > summary:hover {
    background: var(--c-paper-2, #ebe0c3);
    border-color: var(--c-amber-dark);
  }
  /* Anchor the dropdown to the right edge so it doesn't overflow */
  .nav-group[data-group="follow-sean"] .nav-group-menu {
    left: auto;
    right: 0;
    min-width: 200px;
  }
  /* Visual reorder on mobile: Follow sits to the RIGHT of EN.
     DOM order: brand → nav-groups → lang-switch → nav-cta → nav-toggle
     Mobile order: brand → lang-switch → nav-groups (Follow) → nav-cta → nav-toggle */
  .nav .nav-groups { order: 5; }
  .nav .nav-cta    { order: 10; }
  .nav .nav-toggle { order: 20; }
  /* brand and lang-switch keep default order 0 → DOM order applies between them */
}

.nav-group-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-2);
  box-shadow:
    0 24px 48px -12px rgba(0,8,30,0.20),
    0 8px 16px -6px rgba(0,8,30,0.10);
  padding: var(--s-3);
  z-index: 60;
  animation: navGroupFadeIn 180ms var(--ease-out);
}
@keyframes navGroupFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-group-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}
.nav-group-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-1);
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: var(--t-14);
  color: var(--c-ink);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background var(--dur-2), color var(--dur-2);
}
.nav-group-menu a:hover { background: var(--c-red-50); color: var(--c-red); text-decoration: none; }
.nav-group-menu a[aria-current="page"] { background: var(--c-red-50); color: var(--c-red); }
.nav-group-menu .menu-ico {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}
/* Red gradient underline under each dropdown label — width follows the text,
   fades transparent on both ends. */
.nav-group-menu .menu-label {
  display: inline-block;
  position: relative;
  padding-bottom: 5px;
}
.nav-group-menu .menu-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(191,10,48,0.55) 18%,
    #BF0A30 45%,
    #8e0721 55%,
    rgba(191,10,48,0.55) 82%,
    transparent 100%
  );
  pointer-events: none;
}
/* Last item also gets the underline for full column consistency */

.nav-cta {
  display: inline-flex;
  margin-left: auto;
  margin-right: 6px;
  padding: 7px 10px;
  font-size: 12px;
  letter-spacing: 0.03em;
}
@media (max-width: 380px) {
  .nav-cta { padding: 7px 8px; font-size: 11px; letter-spacing: 0.02em; }
}
.nav-toggle {
  background: transparent;
  color: var(--c-blue);
  border: 1px solid rgba(0,40,104,0.18);
  border-radius: 10px;
  width: 44px; height: 44px;
  min-width: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
  transition: background var(--dur-2), border-color var(--dur-2), color var(--dur-2), transform var(--dur-2);
}
.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: #fff;
}
.nav-toggle:active { transform: scale(0.96); }
.nav-toggle svg { width: 20px; height: 20px; pointer-events: none; transition: transform var(--dur-2); }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }

@media (min-width: 1100px) { .brand-name { display: inline; } }
@media (min-width: 960px) {
  .nav-links { display: inline-flex; }
  .nav-cta {
    margin-left: 0;
    margin-right: 0;
    padding: 10px 18px;
    font-size: 14px;
  }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.nav-drawer {
  position: fixed; inset: 64px 0 0 0; z-index: 40;
  background: #fff;
  padding: var(--s-5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  pointer-events: none;
  transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-3);
  border-bottom: 1px solid var(--c-line);
  overflow-y: auto;
}
.nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2) var(--ease-out), visibility 0s;
}
@media (min-width: 960px) { .nav-drawer { inset: 72px 0 0 0; } }
.nav-drawer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.nav-drawer-links a {
  display: block; padding: var(--s-3) 0;
  font-family: var(--f-cond); font-weight: 700; font-size: var(--t-21);
  text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 1px solid;
  border-image: linear-gradient(90deg, #e6193f 0%, #BF0A30 25%, #8e0721 50%, #BF0A30 75%, #e6193f 100%) 1;
}
/* New three-column drawer groups (mirrors header dropdowns + footer columns) */
.nav-drawer-groups {
  display: grid;
  gap: var(--s-6);
}
.drawer-group { display: grid; gap: var(--s-3); }
.drawer-group-title {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: var(--t-12);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0;
  position: relative;
  padding-bottom: var(--s-2);
}
.drawer-group-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--c-red);
  border-radius: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
}
.drawer-group-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.drawer-group-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0 4px;
  font-family: var(--f-cond); font-weight: 600; font-size: var(--t-18);
  color: var(--c-ink);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.drawer-group-list a[aria-current="page"] { color: var(--c-red); }
.drawer-group-list .menu-ico { display: inline-flex; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
/* Red gradient underline that follows the label width and fades on both ends
   — same treatment as the header dropdown items. */
.drawer-group-list .menu-label {
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}
.drawer-group-list .menu-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(191,10,48,0.55) 18%,
    #BF0A30 45%,
    #8e0721 55%,
    rgba(191,10,48,0.55) 82%,
    transparent 100%
  );
  pointer-events: none;
}
.nav-drawer-cta { display: grid; gap: var(--s-3); margin-top: var(--s-6); }

/* Language block when it sits at the TOP of the drawer (first item) */
.nav-drawer-lang-top {
  margin-top: 0;
  padding-bottom: var(--s-5);
  margin-bottom: var(--s-5);
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #e6193f 0%, #BF0A30 25%, #8e0721 50%, #BF0A30 75%, #e6193f 100%) 1;
}
.nav-drawer-lang-top .drawer-group-title { margin-bottom: var(--s-3); }
@media (min-width: 960px) { .nav-drawer { display: none; } }

/* ───── Urgent bar — now a scrolling marquee ticker ───── */
.urgent-bar {
  background: var(--c-red); color: #fff;
  font-family: var(--f-cond); font-weight: 800;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  border-bottom: 2px solid #8a0623;
  max-width: 100vw;
}
@media (max-width: 720px) {
  .urgent-bar { font-size: 11px; letter-spacing: 0.08em; }
}
.marquee {
  flex: 1 1 auto;
  overflow: hidden;
  padding: 11px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 24px;
  white-space: nowrap;
  animation: marqueeScroll 42s linear infinite;
  will-change: transform;
}
.marquee-item { display: inline-flex; align-items: center; gap: 8px; }
.marquee-sep { opacity: 0.55; font-weight: 400; }
.marquee-dot {
  display: inline-block;
  width: 9px; height: 9px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.85);
  animation: marqueeDot 1.4s ease-in-out infinite;
}
.urgent-cta {
  flex: 0 0 auto;
  color: #fff;
  background: #8a0623;
  padding: 10px 16px;
  font-weight: 800; letter-spacing: 0.1em;
  border-left: 2px solid rgba(255,255,255,0.18);
}
.urgent-cta:hover { background: #6b041a; text-decoration: none; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.85); }
  50%      { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}
.urgent-bar:hover .marquee-track { animation-play-state: paused; }

/* ✨ Breathing Donate pill — a real header item (rightmost in the nav), so it rides
   with the header on scroll. position:relative anchors the pulse ring. */
.float-donate {
  position: relative;
  order: 30;
  flex: 0 0 auto;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  background: linear-gradient(135deg, #25a55c 0%, #1f8c49 55%, #156b37 100%);
  color: #fff;
  font-family: var(--f-cond); font-weight: 800;
  font-size: 15px; letter-spacing: 0.12em;
  border-radius: 999px;
  box-shadow: 0 14px 32px -10px rgba(31,140,73,0.55), 0 4px 10px rgba(0,0,0,0.18);
  text-decoration: none;
  animation: floatDonateBob 3.2s ease-in-out infinite;
  isolation: isolate;
  overflow: visible;
}
.float-donate:hover {
  text-decoration: none;
  transform: scale(1.06);
  transition: transform 200ms var(--ease-out);
}
.float-donate-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: var(--c-green);
  opacity: 0.55;
  z-index: -1;
  animation: floatDonatePulse 2s ease-out infinite;
}
.float-donate-icon {
  width: 28px; height: 28px;
  background: #fff;
  color: var(--c-green-dark);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-serif); font-weight: 700; font-size: 17px;
}
.float-donate-label { display: inline-block; }
@keyframes floatDonateBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2.5px); }
}
@keyframes floatDonatePulse {
  0%   { transform: scale(0.98); opacity: 0.55; }
  100% { transform: scale(1.28); opacity: 0; }
}
/* On phones the header is tight, so the breathing pill compacts to just the $ coin. */
@media (max-width: 640px) {
  .float-donate { padding: 6px; gap: 0; }
  .float-donate-icon { width: 26px; height: 26px; font-size: 15px; }
  .float-donate-label { display: none; }
}

/* ───── "Ready for live chat!" status pill — permanently hovers over the chat widget's
   footer attribution. Dark-navy pill, green-gradient label + blinking green dot. Pure
   CSS/HTML (no shadow-DOM dependency) so it is b-proof across browsers and widget states. ───── */
.chat-ready-pill {
  position: fixed;
  right: 32px;        /* right edge aligned with the chat widget bar / the attribution it covers */
  bottom: 3px;
  z-index: 9600; /* above the widget (which sits ~9500) */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 11px;
  background: linear-gradient(135deg, #0a3f93 0%, #002868 58%, #001a47 100%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(0,16,52,0.6), 0 2px 6px rgba(0,0,0,0.28);
  font-family: var(--f-cond, "Inter", system-ui, sans-serif);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.chat-ready-pill .crp-dot {
  width: 9px; height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #7df3a3 0%, #25d366 52%, #15a34a 100%);
  box-shadow: 0 0 6px 1px rgba(37,211,102,0.75);
  animation: crpBlink 1.5s ease-in-out infinite;
}
.chat-ready-pill .crp-text {
  background: linear-gradient(90deg, #b9f6cf 0%, #34d77f 60%, #16c55e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@keyframes crpBlink {
  0%, 100% { opacity: 1;    box-shadow: 0 0 6px 1px rgba(37,211,102,0.75); }
  50%      { opacity: 0.4;  box-shadow: 0 0 2px 0 rgba(37,211,102,0.2); }
}
@media (prefers-reduced-motion: reduce) { .chat-ready-pill .crp-dot { animation: none; } }
@media (max-width: 640px) {
  .chat-ready-pill { right: 32px; bottom: 3px; font-size: 11.5px; padding: 6px 12px 6px 10px; }
}

/* ✨ Cursor follower glow (desktop pointer only) */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 32px; height: 32px;
  margin: -16px 0 0 -16px;
  pointer-events: none;
  z-index: 70;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(191,10,48,0.55) 0%, rgba(191,10,48,0.18) 40%, transparent 70%);
  opacity: 0;
  transition: opacity 200ms;
  mix-blend-mode: screen;
  will-change: transform;
  filter: blur(2px);
}
.cursor-glow.active { opacity: 1; }
@media (hover: none), (max-width: 640px) { .cursor-glow { display: none; } }

/* ───── Hero ───── */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, #001a4d 0%, #002868 55%, #001a4d 100%);
  color: #fff;
}
/* ─── Animated flag layer (object-fit: cover via background-image) ─── */
.hero-flag {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("/assets/img/flag-animated.svg");
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  /* very slow, gentle parallax-style breathing */
  animation: heroFlagBreathe 24s ease-in-out infinite alternate;
  transform-origin: 60% center;
  will-change: transform;
  filter: saturate(1.05);
}
@keyframes heroFlagBreathe {
  0%   { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.05) translate3d(-0.8%, -0.3%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-flag { animation: none; transform: scale(1.02); }
}

/* Overlay gradient for text legibility — softer, more cinematic */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(96deg,
      rgba(0,12,42,0.85) 0%,
      rgba(0,20,68,0.72) 25%,
      rgba(0,24,76,0.45) 48%,
      rgba(0,28,82,0.22) 68%,
      rgba(0,32,88,0.10) 100%),
    radial-gradient(ellipse 65% 80% at 22% 55%, rgba(0,10,38,0.45), transparent 70%),
    linear-gradient(180deg, rgba(0,12,42,0.4) 0%, transparent 18%, transparent 70%, rgba(0,8,30,0.55) 100%);
}
@media (max-width: 980px) {
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0,10,38,0.92) 0%, rgba(0,24,76,0.80) 45%, rgba(0,28,82,0.55) 75%, rgba(0,12,42,0.65) 100%);
  }
}

.hero::before { content: none; }
.hero .container { position: relative; z-index: 2; padding-block: clamp(var(--s-5), 3.5vw, var(--s-7)); display: flex; align-items: center; width: 100%; }
.hero-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "headline"
    "portrait"
    "actions";
  align-items: center;
  width: 100%;
  min-width: 0;
}
.hero-headline { grid-area: headline; min-width: 0; }
.hero-portrait { grid-area: portrait; min-width: 0; }
.hero-actions  { grid-area: actions;  min-width: 0; }
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-areas:
      "headline portrait"
      "actions  portrait";
    gap: clamp(var(--s-3), 1.5vw, var(--s-5)) clamp(var(--s-6), 4vw, var(--s-8));
  }
  .hero-headline { align-self: end; }
  .hero-actions  { align-self: start; }
}
.hero-headline, .hero-actions { position: relative; z-index: 2; }
.hero-headline h1, .hero-headline .hero-eyebrow, .hero-headline .lead {
  text-shadow: 0 2px 18px rgba(0,8,30,0.45);
}

.hero-portrait { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100%; }
.hero-portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  /* Subtle wrap-around shadow so Sean feels embedded in the scene, not pasted */
  filter:
    drop-shadow(0 20px 22px rgba(0,8,30,0.55))
    drop-shadow(0 4px 10px rgba(0,8,30,0.45))
    drop-shadow(0 0 1px rgba(0,8,30,0.35));
  position: relative; z-index: 2;
  image-rendering: -webkit-optimize-contrast;
  /* Bottom fade so the podium dissolves into the scene rather than ending hard */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 92%, transparent 100%);
}
@media (max-width: 980px) {
  .hero-portrait { max-width: 440px; margin-inline: auto; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--f-cond); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  font-size: var(--t-12); color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.hero-eyebrow .dot { width: 8px; height: 8px; background: var(--c-red); border-radius: 50%; box-shadow: 0 0 0 4px rgba(191,10,48,0.3); }
.hero h1 {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(1.8rem, 5vw + 0.5rem, 5.5rem);
  line-height: 1.04; letter-spacing: -0.025em;
  margin-top: var(--s-4);
  max-width: 16ch;
  overflow-wrap: break-word;
  hyphens: manual;
}
@media (max-width: 720px) {
  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.5rem, 6vw + 0.1rem, 2.05rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }
  .hero .lead {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
.hero .lead { color: rgba(255,255,255,0.85); max-width: 56ch; margin-top: var(--s-5); }
.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-7); }

.countdown {
  margin-top: var(--s-7);
  display: inline-flex; gap: var(--s-4); align-items: stretch;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-2);
  padding: var(--s-4) var(--s-5);
}
.countdown-unit { text-align: center; min-width: 64px; }
.countdown-num { font-family: var(--f-cond); font-weight: 800; font-size: var(--t-40); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.countdown-label { font-family: var(--f-cond); font-size: var(--t-12); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 4px; }
.countdown-sep { width: 1px; background: rgba(255,255,255,0.15); }

/* ───── Stat / proof strip ───── */
.proof-strip {
  background: var(--c-surface-2);
  border-block: 1px solid var(--c-line);
  padding-block: var(--s-6);
}
.proof-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; text-align: center; }
@media (min-width: 720px) { .proof-grid { grid-template-columns: repeat(4, 1fr); } }
.proof-item { text-align: center; }
.proof-item .num { font-family: var(--f-serif); font-weight: 700; font-size: var(--t-40); line-height: 1; color: var(--c-red); letter-spacing: -0.02em; }
.proof-item .label { font-family: var(--f-cond); font-size: var(--t-12); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-ink-3); margin-top: var(--s-2); }

/* Universal stat-tile rule: any "stat-style" group should center its numbers like titles */
.stat-tile, .stat-grid > * { text-align: center; }
.stat-tile .num, .stat-grid .num { font-family: var(--f-serif); font-weight: 700; line-height: 1; color: var(--c-red); letter-spacing: -0.02em; }
.stat-tile .label, .stat-grid .label { font-family: var(--f-cond); font-size: var(--t-12); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-ink-3); margin-top: var(--s-2); }

/* ───── Cards ───── */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-2);
  padding: var(--s-5);
  transition:
    border-color var(--dur-2) var(--ease-out),
    transform var(--dur-3) var(--ease-out),
    box-shadow var(--dur-3) var(--ease-out),
    background var(--dur-2) var(--ease-out);
  position: relative;
}
a.card { color: var(--c-ink); text-decoration: none; display: block; }
.card:hover {
  border-color: var(--c-blue);
  box-shadow:
    0 24px 40px -16px rgba(0,40,104,0.18),
    0 12px 24px -12px rgba(0,40,104,0.12),
    0 0 0 1px var(--c-blue);
  transform: translateY(-4px);
}
a.card:hover { text-decoration: none; }

/* Portrait card used on Why-Sean + About */
.portrait-card {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 460px;
  margin-inline: auto;
  background: linear-gradient(160deg, #001a4d 0%, #002868 55%, #001a4d 100%);
  border-radius: var(--radius-3);
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(0,8,30,0.55),
    0 12px 28px -10px rgba(0,8,30,0.35);
  isolation: isolate;
}
.portrait-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 25%, rgba(191,10,48,0.32), transparent 55%),
    radial-gradient(circle at 15% 90%, rgba(31,140,73,0.16), transparent 60%);
  z-index: 0;
}
.portrait-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 18%;
  z-index: 1;
  filter:
    drop-shadow(0 10px 20px rgba(0,0,0,0.4))
    drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}
.portrait-card-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: var(--s-5);
  background: linear-gradient(180deg, transparent 0%, rgba(0,8,30,0.85) 70%);
  color: #fff;
  display: flex; flex-direction: column; gap: 2px;
}
.portrait-card-overlay strong {
  font-family: var(--f-serif); font-weight: 600; font-size: var(--t-24);
  letter-spacing: -0.01em; margin-top: 6px;
}
.portrait-card-overlay span {
  font-family: var(--f-cond); font-size: var(--t-12);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.card h3 { font-family: var(--f-serif); font-weight: 600; font-size: var(--t-24); line-height: var(--lh-snug); }
.card-link::after { content: " →"; }
.card-issue { border-left: 4px solid var(--c-blue); }
.card-issue.red { border-left-color: var(--c-red); }
.card-issue.green { border-left-color: var(--c-green); }

/* ───── Pull quote ───── */
.pull {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
  line-height: var(--lh-snug);
  letter-spacing: -0.01em;
  color: var(--c-ink);
  border-left: 4px solid var(--c-red);
  padding-left: var(--s-5);
}
.pull cite { display: block; margin-top: var(--s-4); font-family: var(--f-cond); font-size: var(--t-14); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-ink-3); font-style: normal; }

@keyframes langPulse {
  0% { box-shadow: 0 0 0 0 rgba(0,40,104,0.45); }
  100% { box-shadow: 0 0 0 8px rgba(0,40,104,0); }
}

/* ───── Language switcher ───── */
.lang-switch {
  position: relative;
  display: inline-block;
}
.lang-switch > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 2px solid transparent;
  /* Shiny red gradient border via the padding-box / border-box double-background trick. */
  background:
    linear-gradient(var(--c-surface), var(--c-surface)) padding-box,
    linear-gradient(135deg, #ff6981 0%, #e11236 45%, #BF0A30 60%, #7a0420 100%) border-box;
  box-shadow: 0 2px 10px -3px rgba(191,10,48,0.5), inset 0 1px 0 rgba(255,255,255,0.45);
  color: var(--c-blue);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: var(--t-12);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--dur-2), box-shadow var(--dur-2);
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary::after {
  content: "▾";
  font-size: 10px;
  margin-left: 2px;
  opacity: 0.6;
}
.lang-switch[open] > summary,
.lang-switch > summary:hover {
  background:
    linear-gradient(var(--c-blue), var(--c-blue)) padding-box,
    linear-gradient(135deg, #ff8095 0%, #e11236 45%, #BF0A30 60%, #7a0420 100%) border-box;
  box-shadow: 0 3px 16px -3px rgba(191,10,48,0.65), inset 0 1px 0 rgba(255,255,255,0.25);
  color: #fff;
}
.lang-switch > summary svg { flex-shrink: 0; }

/* SL monogram: shiny red gradient ring + glossy highlight + soft red glow so it pops. */
.brand-mark {
  box-sizing: content-box;
  padding: 2.5px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff6981 0%, #e11236 42%, #BF0A30 62%, #7a0420 100%);
  box-shadow:
    0 2px 12px -2px rgba(191,10,48,0.55),
    0 0 0 0.5px rgba(122,4,32,0.5),
    inset 0 1px 0 rgba(255,255,255,0.4);
}
.brand:hover .brand-mark { box-shadow: 0 3px 16px -2px rgba(191,10,48,0.7), inset 0 1px 0 rgba(255,255,255,0.5); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-2);
  box-shadow:
    0 20px 40px -10px rgba(0,8,30,0.18),
    0 6px 12px -4px rgba(0,8,30,0.08);
  padding: 6px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background var(--dur-2);
}
.lang-menu a:hover {
  background: var(--c-surface-2);
  color: var(--c-blue);
  text-decoration: none;
}
.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 22px;
  border-radius: 4px;
  background: var(--c-red);
  color: #fff;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
/* Same red gradient underline the nav links use, applied to the language labels. */
.lang-menu .menu-label {
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
}
.lang-menu .menu-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(191,10,48,0.55) 18%,
    #BF0A30 45%,
    #8e0721 55%,
    rgba(191,10,48,0.55) 82%,
    transparent 100%
  );
}
/* Drawer variant: no absolute positioning, grid layout */
.lang-menu-drawer {
  position: static;
  box-shadow: none;
  border: 1px solid var(--c-line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: var(--s-3);
}
@media (max-width: 959px) {
  /* On mobile: compact lang switcher stays visible next to the brand mark so
     non-English speakers can switch immediately. Hide the "EN" label text and
     keep just the globe icon + caret for a tight pill. */
  .nav .lang-switch > summary {
    padding: 6px 8px;
    gap: 4px;
  }
  .nav .lang-switch > summary svg { width: 14px; height: 14px; }
  .nav .lang-switch [data-lang-current] {
    font-size: 11px;
  }
}

/* ───── Pre-footer (navy band above white footer) ───── */
.pre-footer {
  background:
    radial-gradient(900px 320px at 90% 0%, rgba(191,10,48,0.18), transparent 60%),
    linear-gradient(160deg, #001a4d 0%, #002868 55%, #001533 100%);
  color: #fff;
  padding-block: var(--s-7);
}
.pre-footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-6);
  flex-wrap: wrap;
  text-align: center;
}
.pre-footer-text { min-width: 0; }
.pre-footer-eyebrow {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: var(--t-12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-red);
}
.pre-footer-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.015em;
  margin: 6px 0 0;
  line-height: 1.1;
}
@media (max-width: 640px) {
  .pre-footer-row { flex-direction: column; align-items: center; }
}

/* ───── Footer ───── */
.site-footer {
  background: #fff;
  color: var(--c-ink-2);
  padding-block: var(--s-8);
  font-size: var(--t-14);
  border-top: 1px solid var(--c-line);
}
.site-footer a { color: var(--c-blue); text-decoration: none; transition: color var(--dur-2); }
.site-footer a:hover { color: var(--c-red); }
.footer-grid {
  display: grid; gap: var(--s-6);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand .brand { color: var(--c-blue); }
.footer-brand .brand-mark { filter: drop-shadow(0 2px 6px rgba(0,8,30,0.15)); }
.footer-col h3, .footer-col h4 {
  font-family: var(--f-cond);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 var(--s-4);
  padding-bottom: 12px;
  position: relative;
  line-height: 1.2;
}
.footer-col h3::after, .footer-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 3px;
  background: var(--c-red);
  border-radius: 2px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.footer-col ul li a {
  display: block;
  transition: color var(--dur-2);
}
.footer-col ul li a:hover { color: var(--c-red); text-decoration: none; }

/* Social column: clean spacing, brand-color icons inline with text */
.footer-col ul.social-list { gap: var(--s-3); }
.footer-col ul.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.footer-col ul.social-list .social-ico {
  flex-shrink: 0;
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  transition: transform var(--dur-2) var(--ease-out);
}
.footer-col ul.social-list a:hover .social-ico { transform: translateY(-1px) scale(1.08); }
.footer-bottom {
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
  display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
  font-size: var(--t-12); color: var(--c-ink-3);
}
.footer-legal-links { display: inline-flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.footer-legal-links a { color: var(--c-ink-3); transition: color var(--dur-2); }
.footer-legal-links a:hover { color: var(--c-red); text-decoration: none; }
.footer-legal-sep { color: var(--c-line-2); }
.fppc {
  font-family: var(--f-cond); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-size: var(--t-12);
}

/* ───── Forms ───── */
.field { display: grid; gap: var(--s-2); }
.field label { font-family: var(--f-cond); font-weight: 700; font-size: var(--t-12); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink-2); }
.field input, .field textarea, .field select {
  font: inherit;
  padding: 14px 16px;
  border: 2px solid var(--c-line);
  border-radius: var(--radius-1);
  background: #fff;
  transition: border-color var(--dur-2);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-blue); }
.field-help { font-size: var(--t-12); color: var(--c-ink-3); }

/* ───── Utilities ───── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.max-prose { max-width: 65ch; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }

/* ───── Scroll reveals (flare) ───── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"].is-visible { transition-delay: 80ms; }
[data-reveal][data-delay="2"].is-visible { transition-delay: 160ms; }
[data-reveal][data-delay="3"].is-visible { transition-delay: 240ms; }

/* Smooth in-page scrolling */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

/* Proof-strip count-up flare */
.proof-item .num.counting { opacity: 0.4; transition: opacity 600ms; }
.proof-item .num.counted { opacity: 1; }

/* Button shimmer on hover (subtle flare) */
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease-out);
  pointer-events: none;
  border-radius: inherit;
}
.btn { position: relative; overflow: hidden; }
.btn:hover::after { transform: translateX(120%); }
.btn-ghost::after, .btn-ghost-light::after { display: none; }

/* ───── Timeline (about page) ───── */
.timeline {
  list-style: none;
  padding-left: 0;
  margin: 0;
  border-left: 2px solid var(--c-line);
  padding-block: var(--s-2);
}
.timeline-item {
  position: relative;
  padding-left: 160px;
  padding-block: var(--s-3);
}
.timeline-date {
  position: absolute;
  left: var(--s-3);
  top: calc(var(--s-3) + 4px);
  background: #fff;
  padding: 0 var(--s-2);
  white-space: nowrap;
}
.timeline-body { line-height: 1.55; }
@media (max-width: 720px) {
  .timeline { padding-left: var(--s-4); }
  .timeline-item { padding-left: 0; padding-block: var(--s-4); }
  .timeline-date {
    position: static;
    display: inline-block;
    background: transparent;
    padding: 0;
    margin-bottom: 6px;
  }
}

/* ───── About page ───── */
.about-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 90% 0%, rgba(191,10,48,0.18), transparent 60%),
    linear-gradient(160deg, #001a4d 0%, #002868 45%, #001533 100%);
  color: #fff;
  padding-block: clamp(var(--s-7), 9vw, var(--s-10));
}
.about-hero-flag {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.018) 0 2px, transparent 2px 12px),
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.08), transparent 30%);
  opacity: 0.9;
  pointer-events: none;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  grid-template-areas:
    "headline portrait"
    "body     portrait";
  gap: clamp(var(--s-4), 4vw, var(--s-6)) clamp(var(--s-5), 5vw, var(--s-8));
  align-items: center;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.about-hero-headline { grid-area: headline; align-self: end; min-width: 0; }
.about-hero-body { grid-area: body; align-self: start; min-width: 0; }
.about-hero-portrait { grid-area: portrait; min-width: 0; }
.about-hero-headline h1 { line-height: 1.02; }
.about-hero-portrait img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.45));
}
@media (max-width: 820px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "headline"
      "portrait"
      "body";
    text-align: center;
  }
  .about-hero-headline, .about-hero-body { align-self: stretch; }
  .about-hero-body .row { justify-content: center; }
  .about-hero-headline p,
  .about-hero-body p { margin-inline: auto; }
  .about-hero-portrait { max-width: 440px; margin-inline: auto; }
}

/* Credibility stat strip */
.about-stats {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  padding-block: var(--s-6);
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  text-align: center;
}
.about-stat { padding-inline: var(--s-3); }
.about-stat-num {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1;
  color: var(--c-red);
  letter-spacing: -0.02em;
}
.about-stat-label {
  font-family: var(--f-cond);
  font-size: var(--t-12);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-2);
  margin-top: var(--s-3);
}
@media (max-width: 720px) {
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
}

/* Mission pull quote */
.about-quote-section { padding-block: clamp(var(--s-7), 8vw, var(--s-9)); }
.about-quote {
  position: relative;
  max-width: 38ch;
  margin-inline: auto;
  text-align: center;
  padding-inline: var(--s-5);
}
.about-quote-mark {
  font-family: var(--f-serif);
  font-size: 6rem;
  line-height: 0.6;
  color: var(--c-red);
  display: block;
  margin-bottom: var(--s-2);
}
.about-quote p {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  color: var(--c-ink);
}
.about-quote cite {
  display: block;
  margin-top: var(--s-5);
  font-family: var(--f-cond);
  font-style: normal;
  font-weight: 700;
  font-size: var(--t-12);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-2);
}
.about-quote cite::before { content: "— "; }

/* Story with drop cap */
.about-story {
  max-width: 60ch;
  margin-inline: auto;
  font-size: var(--t-18, 1.125rem);
  line-height: 1.7;
  color: var(--c-ink);
}
.about-story p { margin-bottom: var(--s-5); }
.about-story p:last-child { margin-bottom: 0; }
.about-story-lead { font-size: 1.2em; }
.dropcap {
  float: left;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 4.6em;
  line-height: 0.85;
  padding-right: 0.14em;
  padding-top: 0.05em;
  color: var(--c-blue);
}

/* Numbered pillar cards */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.about-pillar {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-2);
  padding: var(--s-6);
  transition: transform var(--dur-2), box-shadow var(--dur-2), border-color var(--dur-2);
}
.about-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  border-color: var(--c-blue);
}
.about-pillar-num {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--c-red);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}
@media (max-width: 980px) {
  .about-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .about-pillars { grid-template-columns: 1fr; }
}

/* Caltech moment — layered photo composition */
.about-caltech-photos {
  position: relative;
  aspect-ratio: 4 / 3;
}
.about-caltech-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-2);
  display: block;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
.about-caltech-inset {
  position: absolute;
  right: -16px;
  bottom: -28px;
  width: 48%;
  border-radius: var(--radius-2);
  border: 4px solid #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  display: block;
}
@media (max-width: 720px) {
  .about-caltech-inset { right: -8px; bottom: -16px; width: 50%; border-width: 3px; }
}

/* Why this race manifesto */
.about-manifesto {
  max-width: 64ch;
  margin-inline: auto;
  padding-left: var(--s-5);
  border-left: 4px solid var(--c-red);
}
.about-manifesto h2 { line-height: 1.1; }
@media (max-width: 720px) {
  .about-manifesto { padding-left: var(--s-4); border-left-width: 3px; }
}

/* ═══════════════════════════════════════════════════════════
   ✨ PIZZAZ LAYER — wow factors
   ═══════════════════════════════════════════════════════════ */

/* ─── 1. Scroll progress bar (red, thicker, glowy) ─── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 5px;
  width: 0;
  background: linear-gradient(90deg, #8a0623 0%, var(--c-red) 35%, #ff3852 60%, var(--c-red) 90%, #8a0623 100%);
  z-index: 100;
  transform-origin: left center;
  transition: width 80ms linear;
  box-shadow: 0 0 14px rgba(255,56,82,0.85), 0 2px 6px rgba(191,10,48,0.6);
  pointer-events: none;
}
.scroll-progress::after {
  content: "";
  position: absolute;
  right: -2px; top: -1px; bottom: -1px;
  width: 14px;
  background: linear-gradient(90deg, transparent, #ffffff);
  filter: blur(4px);
  opacity: 0.85;
}

/* ─── Word-by-word hero reveal — each word springs in ─── */
.word-reveal { display: inline-block; }
.word-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px) scale(0.92);
  filter: blur(6px);
  animation: wordSpring 700ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes wordSpring {
  0%   { opacity: 0; transform: translateY(28px) scale(0.92); filter: blur(6px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* ─── 2. Brand mark periodic shine sweep ─── */
.brand-mark { position: relative; overflow: hidden; }
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.55) 50%, transparent 65%);
  transform: translateX(-120%) skewX(-15deg);
  animation: markShine 14s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
  mix-blend-mode: overlay;
}
@keyframes markShine {
  0%, 90% { transform: translateX(-120%) skewX(-15deg); }
  95%, 100% { transform: translateX(120%) skewX(-15deg); }
}

/* ─── 3. Hero entrance — staggered fade-up on page load ─── */
.hero-headline, .hero-portrait, .hero-actions {
  animation: heroEnter 900ms var(--ease-out) both;
}
.hero-headline { animation-delay: 80ms; }
.hero-portrait { animation-delay: 260ms; }
.hero-actions  { animation-delay: 440ms; }
@keyframes heroEnter {
  0%   { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* About-hero entrance */
.about-hero-headline, .about-hero-portrait, .about-hero-body {
  animation: heroEnter 900ms var(--ease-out) both;
}
.about-hero-headline { animation-delay: 80ms; }
.about-hero-portrait { animation-delay: 220ms; }
.about-hero-body     { animation-delay: 380ms; }

/* ─── 4. 3D card tilt — applied via JS on .card.tilt elements ─── */
.tilt-wrap {
  perspective: 800px;
  perspective-origin: center;
}
.tilt {
  transform-style: preserve-3d;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
  will-change: transform;
}
.tilt:hover {
  box-shadow:
    0 24px 48px -16px rgba(0, 8, 30, 0.22),
    0 8px 16px -8px rgba(0, 8, 30, 0.12);
}

/* ─── 5. Magnetic primary CTA — small attraction pull ─── */
.btn-primary.magnetic, .btn-navy.magnetic {
  transition: transform 200ms var(--ease-out), background-color var(--dur-2), box-shadow 200ms var(--ease-out);
  will-change: transform;
}
.btn-primary.magnetic:hover, .btn-navy.magnetic:hover {
  box-shadow: 0 12px 24px -8px rgba(31, 140, 73, 0.4);
}

/* ─── 6. Vote-day urgency pulse ─── */
.hero-eyebrow .dot {
  animation: votePulse 2.2s ease-in-out infinite;
}
@keyframes votePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(191,10,48,0.3), 0 0 0 0 rgba(191,10,48,0.7); }
  50%      { box-shadow: 0 0 0 4px rgba(191,10,48,0.3), 0 0 0 14px rgba(191,10,48,0); }
}

/* ─── 7. Section divider — subtle red wave between Red CTA + Navy band ─── */
.final-cta + .pre-footer { position: relative; }
.final-cta + .pre-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 12px;
  background:
    radial-gradient(ellipse at center top, var(--c-red) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

/* ─── 8. Confetti canvas overlay (for /donate/thanks/) ─── */
.confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
}

/* ───── Social follow buttons (IG + TikTok) ───── */
.social-follow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  max-width: 1080px;
  margin-inline: auto;
}
@media (max-width: 900px) {
  .social-follow { grid-template-columns: 1fr 1fr; }
  .social-follow > :nth-child(2) { grid-column: span 2; }
}
.social-follow-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-2);
  text-decoration: none;
  color: #fff;
  font-family: var(--f-cond);
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
  isolation: isolate;
}
.social-follow-btn:hover {
  text-decoration: none;
  transform: translateY(-3px);
}
.social-follow-btn svg { flex-shrink: 0; color: #fff; }
.social-follow-text {
  display: flex; flex-direction: column;
  flex: 1; min-width: 0;
}
.social-follow-label {
  font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
  line-height: 1.1;
}
.social-follow-handle {
  font-family: var(--f-sans); font-weight: 400; font-size: 13px;
  letter-spacing: 0; text-transform: none;
  opacity: 0.85; margin-top: 2px;
}
.social-follow-cta {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35);
}
.social-follow-btn:hover .social-follow-cta { background: rgba(255,255,255,0.32); }

/* Instagram brand gradient (Instagram official palette) */
.social-ig {
  background:
    radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 10px 26px -8px rgba(214,36,159,0.55);
}
.social-ig:hover {
  box-shadow: 0 16px 32px -8px rgba(214,36,159,0.7);
}

/* WeChat brand: signature green with subtle highlight */
.social-wc {
  background: radial-gradient(circle at 30% 30%, #2bd97a 0%, #07C160 55%, #04994a 100%);
  box-shadow: 0 10px 26px -8px rgba(7,193,96,0.55);
}
.social-wc:hover {
  box-shadow: 0 16px 32px -8px rgba(7,193,96,0.7);
}

/* TikTok brand: black w/ cyan + magenta accents */
.social-tt {
  background: #000;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,0.55);
  position: relative;
}
.social-tt::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 50%, rgba(37,244,238,0.35) 0%, transparent 35%),
    radial-gradient(circle at 82% 50%, rgba(254,44,85,0.35) 0%, transparent 35%);
  z-index: -1;
  opacity: 0.9;
}
.social-tt:hover {
  box-shadow: 0 16px 32px -8px rgba(254,44,85,0.55), 0 16px 32px -8px rgba(37,244,238,0.4);
}

@media (max-width: 640px) {
  .social-follow { grid-template-columns: 1fr; }
  .social-follow-btn { padding: 16px 18px; }
  .social-follow-cta { padding: 6px 12px; font-size: 12px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0ms !important; transition-duration: 0ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .scroll-progress { display: none; }
  .brand-mark::after { display: none; }
  .hero-headline, .hero-portrait, .hero-actions,
  .about-hero-headline, .about-hero-portrait, .about-hero-body { animation: none; opacity: 1; transform: none; }
  .hero-eyebrow .dot { animation: none; }
  .tilt:hover { transform: none !important; }
}
