/* ==========================================================================
   DeafAI, Inc. — site stylesheet
   Brand colors sampled from the DeafAI wordmark.
   ========================================================================== */

:root {
  /* Brand */
  --deep:        #253D88;   /* "Deaf" blue, sampled from the logo file */
  --deep-dk:     #1A2C63;
  --light:       #50A3D9;   /* "AI" blue, sampled from the logo file */
  --light-soft:  #8CC5E8;
  --gold:        #F5B942;   /* donate accent */
  --gold-dk:     #D99A22;

  /* Surfaces */
  --navy:        #080E28;
  --navy-2:      #0D1738;
  --navy-3:      #142352;
  --ink:         #0B1230;
  --body:        #414D6E;
  --muted:       #6B7695;
  --line:        #E2E7F2;
  --paper:       #FFFFFF;
  --paper-2:     #F5F8FD;
  --paper-3:     #EDF3FB;

  /* Type */
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --nav-h: 84px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 12px rgba(11,18,48,.06);
  --shadow-md: 0 12px 40px rgba(11,18,48,.10);
  --shadow-lg: 0 30px 80px rgba(11,18,48,.18);

  --ease: cubic-bezier(.22,.75,.25,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--deep); text-decoration: none; }
a:hover { color: var(--deep-dk); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: -.01em; }
p  { margin: 0 0 1.15em; }
ul { margin: 0 0 1.15em; padding-left: 1.35em; }
li { margin-bottom: .5em; }

/* ---------- accessibility ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--ink); font-weight: 800;
  padding: 16px 26px; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
.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;
}

/* ---------- layout ---------- */
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 48px, 860px); margin-inline: auto; }
section { padding: clamp(72px, 9vw, 130px) 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--deep); margin-bottom: 18px;
}
.dark .eyebrow { color: var(--light); }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--muted); max-width: 68ch; }
.center .lede { margin-inline: auto; }
.dark { background: var(--navy); color: #C6D2EC; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lede { color: #9DAECF; }
.tint { background: var(--paper-2); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 0; }
.logo img, .logo svg { height: 40px; width: auto; }
.logo-lg img { height: 62px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1.02rem; padding: 16px 32px;
  border-radius: var(--r-pill); border: 2px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  text-align: center; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 26px rgba(245,185,66,.36); }
.btn-gold:hover { background: #FFC658; color: var(--ink); box-shadow: 0 14px 36px rgba(245,185,66,.48); }
.btn-deep { background: var(--deep); color: #fff; box-shadow: 0 8px 26px rgba(37,61,136,.28); }
.btn-deep:hover { background: var(--deep-dk); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.32); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.09); color: #fff; }
.btn-outline { border-color: var(--deep); color: var(--deep); }
.btn-outline:hover { background: var(--deep); color: #fff; }
.btn-lg { font-size: 1.14rem; padding: 20px 44px; }
.btn-block { width: 100%; }

/* pulsing donate emphasis */
@keyframes ringPulse {
  0%   { box-shadow: 0 8px 26px rgba(245,185,66,.36), 0 0 0 0 rgba(245,185,66,.5); }
  70%  { box-shadow: 0 8px 26px rgba(245,185,66,.36), 0 0 0 20px rgba(245,185,66,0); }
  100% { box-shadow: 0 8px 26px rgba(245,185,66,.36), 0 0 0 0 rgba(245,185,66,0); }
}
.btn-pulse { animation: ringPulse 2.6s ease-out infinite; }

/* ==========================================================================
   NAVIGATION — mega menu
   ========================================================================== */
.topbar {
  background: var(--deep-dk); color: #D5E2F7;
  font-size: .87rem; font-weight: 500;
  padding: 9px 0;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 700; }
.topbar .badge {
  display: inline-flex; align-items: center; gap: 8px;
}
.topbar .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
  animation: blip 2s ease-in-out infinite;
}
@keyframes blip { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.75); } }

.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.nav.stuck { box-shadow: var(--shadow-md); }
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: static; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 18px; border-radius: var(--r-sm);
  font-weight: 600; color: var(--ink); font-size: 1rem;
  background: none; border: 0;
  transition: background .2s, color .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--paper-3); color: var(--deep); }
.nav-link .chev { transition: transform .3s var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-link.current { color: var(--deep); }
.nav-link.current::after {
  content: ''; position: absolute; left: 18px; right: 18px; bottom: 6px;
  height: 3px; border-radius: 3px; background: var(--gold);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* mega panel */
/* The panel spans the full width of the sticky .nav, which is the
   positioning context now that .nav-links > li is static. */
.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  z-index: 210;
}
.nav-links > li.open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid {
  width: min(100% - 48px, var(--wrap)); margin-inline: auto;
  display: grid; grid-template-columns: 1.1fr 1.1fr 1fr; gap: 44px;
  padding: 44px 0 48px;
}
.mega h4 {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 18px;
}
.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list li { margin-bottom: 6px; }
.mega-item {
  display: block; padding: 13px 16px; border-radius: var(--r-sm);
  transition: background .2s, transform .2s var(--ease);
}
.mega-item:hover { background: var(--paper-2); transform: translateX(4px); }
.mega-item strong { display: block; color: var(--ink); font-size: 1.04rem; font-weight: 700; margin-bottom: 2px; }
.mega-item span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.mega-feature {
  background: linear-gradient(155deg, var(--navy-3), var(--navy));
  color: #fff; border-radius: var(--r-md); padding: 32px 30px;
  display: flex; flex-direction: column; justify-content: center;
}
.mega-feature h5 { color: #fff; font-size: 1.35rem; font-weight: 800; margin: 0 0 10px; letter-spacing: -.01em; }
.mega-feature p { color: #9DAECF; font-size: .95rem; margin-bottom: 22px; }
.mega-feature .btn { width: 100%; }

/* mobile nav */
.burger {
  display: none; background: none; border: 0; padding: 10px;
  color: var(--ink);
}
@media (max-width: 1040px) {
  .burger { display: block; flex: none; }
  .nav-cta .btn-outline { display: none; }
  .nav-inner { gap: 12px; }
  .nav-cta { flex: none; }
}
@media (max-width: 560px) {
  :root { --nav-h: 72px; }
  .wrap, .wrap-narrow { width: min(100% - 32px, var(--wrap)); }
  .logo img, .logo svg { height: 32px; }
  .nav-cta .btn { padding: 12px 20px; font-size: .95rem; }
  .topbar { font-size: .78rem; }
  body { font-size: 17px; }
}
@media (max-width: 1040px) {
  /* .nav uses backdrop-filter, which makes it the containing block for
     fixed children, so the panel is positioned against .nav instead. */
  .nav-links {
    position: absolute; top: 100%; right: 0; left: auto;
    width: min(420px, 100%); background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    transform: translateX(105%); transition: transform .35s var(--ease);
    box-shadow: var(--shadow-lg); border-left: 1px solid var(--line);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px; font-size: 1.1rem; }
  .nav-link.current::after { display: none; }
  .mega {
    position: static; inset: auto; width: auto; margin: 0; box-shadow: none; border: 0;
    opacity: 1; visibility: visible; transform: none;
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .nav-links > li.open .mega { max-height: 1400px; }
  .mega-grid { width: auto; grid-template-columns: 1fr; gap: 20px; padding: 4px 0 20px; }
  .mega-feature { padding: 24px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  padding: clamp(80px, 11vw, 150px) 0 clamp(70px, 9vw, 120px);
  color: #C6D2EC;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(75% 55% at 50% 0%,   rgba(37,61,136,.55) 0%, transparent 65%),
    radial-gradient(50% 45% at 88% 78%,  rgba(80,163,217,.20) 0%, transparent 70%),
    radial-gradient(45% 40% at 8% 88%,   rgba(245,185,66,.11) 0%, transparent 70%);
  animation: auroraShift 16s ease-in-out infinite alternate;
}
@keyframes auroraShift {
  0%   { transform: scale(1) translate(0,0); opacity: .9; }
  100% { transform: scale(1.12) translate(-2%, 2%); opacity: 1; }
}
#constellation {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .85;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(80,163,217,.14); border: 1px solid rgba(80,163,217,.42);
  color: var(--light-soft); border-radius: var(--r-pill);
  padding: 9px 20px; font-size: .88rem; font-weight: 600; margin-bottom: 26px;
}
.hero h1 { color: #fff; margin-bottom: 26px; font-size: clamp(2.05rem, 4.6vw, 3.9rem); }
.hero h1 .w { display: inline-block; }
.hero h1 .accent { color: var(--light); }
.hero-sub { font-size: clamp(1.12rem, 1.9vw, 1.4rem); color: #9DAECF; max-width: 56ch; margin-bottom: 14px; }

/* rotating scenario line */
.rotator {
  font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; color: var(--gold);
  height: 1.7em; overflow: hidden; margin-bottom: 34px;
}
.rotator .r-item {
  display: block; height: 1.7em; line-height: 1.7em;
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.rotator .r-item.on { opacity: 1; transform: translateY(0); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-note { font-size: .92rem; color: #7E8FB4; }

/* hero visual: signing panel */
.hero-visual {
  position: relative;
  background: linear-gradient(165deg, rgba(20,35,82,.92), rgba(8,14,40,.92));
  border: 1px solid rgba(80,163,217,.28);
  border-radius: var(--r-lg);
  padding: 34px 30px 30px;
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
}
.hv-head {
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--light-soft); font-weight: 700; margin-bottom: 26px;
}
.hv-live { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); animation: blip 1.6s ease-in-out infinite; }

/* fingerspelling tiles */
.tiles { display: flex; gap: 10px; justify-content: center; perspective: 900px; margin-bottom: 28px; }
.tile {
  flex: 1; max-width: 74px; aspect-ratio: 5/6;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; color: var(--light-soft);
  background: linear-gradient(180deg, #182a63, #0d1738);
  border: 2px solid rgba(80,163,217,.42); border-radius: 14px;
  opacity: 0; transform: rotateX(90deg);
}
.tile.in { animation: tileFlip .55s var(--ease) forwards; }
@keyframes tileFlip {
  0%   { opacity: 0; transform: rotateX(90deg) translateY(10px); }
  100% { opacity: 1; transform: rotateX(0) translateY(0); }
}
.tile.hot { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 24px rgba(245,185,66,.28); }

/* translation output bubble */
.hv-arrow { display: flex; justify-content: center; margin-bottom: 22px; }
.hv-arrow svg { color: var(--light); opacity: .6; animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.bubble {
  background: rgba(80,163,217,.12); border: 1px solid rgba(80,163,217,.34);
  border-radius: 18px; padding: 20px 22px; min-height: 92px;
}
.bubble .who {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--light); font-weight: 700; margin-bottom: 8px;
}
.bubble .said { color: #fff; font-size: 1.12rem; font-weight: 600; line-height: 1.5; }
.bubble .caret {
  display: inline-block; width: 2px; height: 1.05em; background: var(--gold);
  vertical-align: text-bottom; margin-left: 3px; animation: caretBlink 1s step-end infinite;
}
@keyframes caretBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* hero stat strip */
.hero-stats {
  position: relative; z-index: 2;
  margin-top: clamp(56px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 40px;
}
@media (max-width: 780px) { .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; } }
.hstat .n {
  font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 800; color: var(--gold);
  line-height: 1; letter-spacing: -.02em; margin-bottom: 8px;
}
.hstat .l { font-size: .95rem; color: #9DAECF; line-height: 1.4; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .09s; }
.rv-d2 { transition-delay: .18s; }
.rv-d3 { transition-delay: .27s; }
.rv-d4 { transition-delay: .36s; }
.rv-d5 { transition-delay: .45s; }

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(80,163,217,.5); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.dark .card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.12); box-shadow: none; }
.dark .card:hover { background: rgba(255,255,255,.075); border-color: rgba(80,163,217,.5); }
.dark .card p { color: #9DAECF; }

.ico {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(150deg, var(--deep), var(--light));
  display: grid; place-items: center; color: #fff; margin-bottom: 20px;
  flex: none;
}
.ico svg { width: 28px; height: 28px; }

/* stat cards */
.stat-card {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold);
  border-radius: var(--r-sm); padding: 28px 26px; height: 100%;
}
.dark .stat-card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.12); border-left-color: var(--gold); }
.stat-card .n { font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 800; color: var(--deep); line-height: 1; margin-bottom: 10px; letter-spacing: -.02em; }
.dark .stat-card .n { color: var(--gold); }
.stat-card .l { font-size: 1rem; color: var(--muted); line-height: 1.5; }
.dark .stat-card .l { color: #9DAECF; }

/* quote */
.quote {
  border-left: 5px solid var(--gold); padding: 8px 0 8px 32px;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600;
  color: var(--ink); line-height: 1.4; font-style: italic;
}
.dark .quote { color: #fff; }
.quote cite { display: block; margin-top: 18px; font-size: .95rem; font-weight: 600; font-style: normal; color: var(--muted); }
.dark .quote cite { color: #9DAECF; }

/* comparison: with / without personalization */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.comp-col { border-radius: var(--r-md); padding: 32px 28px; border: 2px solid; }
.comp-col.bad { background: #fff; border-color: var(--line); }
.comp-col.good { background: linear-gradient(160deg, #142352, #080E28); border-color: rgba(80,163,217,.5); color: #C6D2EC; }
.comp-col h3 { font-size: 1.2rem; margin-bottom: 18px; }
.comp-col.good h3 { color: #fff; }
.comp-tag {
  display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 16px;
}
.comp-col.bad .comp-tag { background: var(--paper-3); color: var(--muted); }
.comp-col.good .comp-tag { background: var(--gold); color: var(--ink); }
.comp-list { list-style: none; padding: 0; margin: 0; }
.comp-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 1rem; line-height: 1.5; }
.comp-list li:last-child { margin-bottom: 0; }
.comp-mark { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; font-size: 13px; font-weight: 800; }
.bad .comp-mark { background: #FDE8E8; color: #C0392B; }
.good .comp-mark { background: rgba(245,185,66,.22); color: var(--gold); }

/* animated bridge graphic */
.bridge-fig { width: 100%; max-width: 620px; margin-inline: auto; }
.bridge-fig .node { opacity: 0; }
.bridge-fig.in .node { animation: popNode .5s var(--ease) forwards; }
@keyframes popNode { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.bridge-fig .span {
  stroke: var(--gold); stroke-width: 5; fill: none; stroke-linecap: round;
  stroke-dasharray: 480; stroke-dashoffset: 480;
}
.bridge-fig.in .span { animation: drawSpan 1.5s .5s var(--ease) forwards; }
@keyframes drawSpan { to { stroke-dashoffset: 0; } }
.bridge-fig .pip { opacity: 0; }
.bridge-fig.in .pip { animation: pipRun 2.6s 1.6s linear infinite; }
@keyframes pipRun {
  0%   { opacity: 0; offset-distance: 0%; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; offset-distance: 100%; }
}

/* timeline */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px;
  background: linear-gradient(180deg, var(--light), rgba(80,163,217,.15));
  border-radius: 3px;
}
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -40px; top: 6px;
  width: 25px; height: 25px; border-radius: 50%;
  background: #fff; border: 4px solid var(--light);
}
.dark .tl-item::before { background: var(--navy); }
.tl-item.done::before { background: var(--gold); border-color: var(--gold); }
.tl-item.now::before { border-color: var(--gold); animation: ringPulse 2.4s ease-out infinite; }
.tl-phase {
  font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--light); margin-bottom: 6px;
}
.tl-item h3 { font-size: 1.22rem; margin-bottom: 8px; }
.tl-item p { margin-bottom: 0; font-size: 1rem; }

/* giving levels */
.give-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .give-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .give-grid { grid-template-columns: 1fr; } }
.give {
  background: #fff; border: 2px solid var(--line); border-radius: var(--r-md);
  padding: 30px 26px; display: flex; flex-direction: column; text-align: center;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.give:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.give.featured { border-color: var(--gold); box-shadow: var(--shadow-md); position: relative; }
.give.featured::after {
  content: 'Most impact'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--ink); font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 16px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.give .amt { font-size: 2.5rem; font-weight: 800; color: var(--deep); line-height: 1; margin-bottom: 14px; letter-spacing: -.02em; }
.give .what { font-size: 1rem; color: var(--muted); line-height: 1.55; margin-bottom: 24px; flex: 1; }
.give .btn { width: 100%; }

/* progress bar */
.progress-wrap { max-width: 780px; margin-inline: auto; }
.progress-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.progress-meta .big { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.progress-meta .small { color: #9DAECF; font-size: 1rem; }
.track { height: 18px; border-radius: var(--r-pill); background: rgba(255,255,255,.12); overflow: hidden; }
.fill {
  height: 100%; width: 0; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--light), var(--gold));
  transition: width 1.8s var(--ease);
}

/* forms */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(30px, 5vw, 50px); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 8px; font-size: 1rem; }
.field .hint { font-weight: 500; color: var(--muted); font-size: .9rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 18px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper-2); border: 2px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--light); background: #fff; outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 3px; accent-color: var(--deep); }
.check label { font-weight: 500; color: var(--body); font-size: .98rem; }
.form-note { font-size: .9rem; color: var(--muted); margin-top: 16px; margin-bottom: 0; }

/* contact tiles */
.contact-tile { display: flex; gap: 18px; align-items: flex-start; }
.contact-tile .ico { width: 48px; height: 48px; border-radius: 13px; margin-bottom: 0; }
.contact-tile .ico svg { width: 22px; height: 22px; }
.contact-tile strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 3px; }
.dark .contact-tile strong { color: #fff; }
.contact-tile a, .contact-tile span { color: var(--muted); font-size: 1rem; }
.dark .contact-tile a { color: var(--light-soft); }

/* board */
.person { text-align: left; }
.person .avatar {
  width: 76px; height: 76px; border-radius: 50%; margin-bottom: 18px;
  display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; color: #fff;
  background: linear-gradient(150deg, var(--deep), var(--light));
}
.person h3 { font-size: 1.22rem; margin-bottom: 2px; }
.person .role { font-size: .84rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--light); margin-bottom: 14px; }
.person p { font-size: .98rem; margin-bottom: 0; }

/* language values callout */
.values { background: linear-gradient(150deg, var(--deep), var(--deep-dk)); color: #fff; border-radius: var(--r-lg); padding: clamp(34px, 5vw, 56px); }
.values h3 { color: #fff; }
.values ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.values li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; color: #DCE6F8; }
.values .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 14px; margin-top: 2px; }

/* CTA band */
.cta-band {
  background: linear-gradient(150deg, var(--deep), var(--navy) 75%);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 50% 0%, rgba(245,185,66,.16), transparent 70%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #B9C8E6; margin-inline: auto; margin-bottom: 34px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-legal { margin-top: 26px; font-size: .92rem; color: #8FA1C6; }

/* footer */
.footer { background: var(--navy); color: #8FA1C6; padding: 72px 0 34px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 52px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 11px; }
.footer a { color: #8FA1C6; }
.footer a:hover { color: var(--light); }
.footer .tagline { max-width: 34ch; margin: 20px 0 24px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .88rem; color: #6C7DA0;
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rv { opacity: 1 !important; transform: none !important; }
  .tile { opacity: 1 !important; transform: none !important; }
  .bridge-fig .node { opacity: 1 !important; }
  .bridge-fig .span { stroke-dashoffset: 0 !important; }
  .bridge-fig .pip { display: none; }
  #constellation { display: none; }
  .rotator .r-item { transform: none !important; }
  .rotator .r-item.on { opacity: 1 !important; }
}

/* ==========================================================================
   BLOG
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(80,163,217,.5); }
.post-card.feature { border-color: var(--gold); border-width: 2px; }
.post-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.post-tag { background: var(--paper-3); color: var(--deep); padding: 5px 12px; border-radius: var(--r-pill); letter-spacing: .08em; }
.post-card h3 { font-size: 1.32rem; margin-bottom: 12px; }
.post-card h3 a { color: var(--ink); }
.post-card:hover h3 a { color: var(--deep); }
.post-card p { font-size: 1rem; color: var(--muted); margin-bottom: 20px; flex: 1; }
.post-more { font-weight: 700; color: var(--deep); font-size: .98rem; display: inline-flex; align-items: center; gap: 8px; }
.post-card:hover .post-more { gap: 13px; }
.post-more span { transition: transform .25s var(--ease); }

/* article page */
.article-head { background: var(--navy); color: #C6D2EC; position: relative; overflow: hidden;
  padding: clamp(54px,7vw,86px) 0 clamp(44px,6vw,68px); }
.article-head::before { content:''; position:absolute; inset:0;
  background: radial-gradient(70% 60% at 50% 0%, rgba(37,61,136,.6) 0%, transparent 68%); }
.article-head .wrap-narrow { position: relative; z-index: 2; }
.article-head h1 { color:#fff; font-size: clamp(2.1rem,4.4vw,3.35rem); margin-bottom: 22px; }
.article-head .post-meta { color: var(--light-soft); }
.article-head .post-tag { background: rgba(80,163,217,.18); color: var(--light-soft); }
.article-head .standfirst { font-size: clamp(1.08rem,1.7vw,1.28rem); color:#9DAECF; margin-bottom:0; }

.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--deep); }
.article-head .crumbs, .article-head .crumbs a { color: #8FA1C6; }
.article-head .crumbs a:hover { color: var(--light); }

.prose { font-size: 1.12rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.6rem,2.8vw,2.15rem); margin: 2.2em 0 .6em; }
.prose h3 { font-size: clamp(1.2rem,2vw,1.45rem); margin: 1.8em 0 .5em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin-bottom: 1.4em; }
.prose li { margin-bottom: .7em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose strong { color: var(--ink); }

.callout {
  background: var(--paper-2); border-left: 5px solid var(--light);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 26px 30px; margin: 2em 0;
  font-size: 1.05rem;
}
.callout.warn { border-left-color: var(--gold); background: #FFFBF2; }
.callout p:last-child { margin-bottom: 0; }
.callout strong:first-child { display: block; margin-bottom: 6px; color: var(--ink); }

.keynum {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 2.2em 0;
}
@media (max-width: 620px) { .keynum { grid-template-columns: 1fr; } }
.keynum > div { background: var(--paper-2); border-radius: var(--r-sm); padding: 24px 22px; border-top: 4px solid var(--deep); }
.keynum .n { font-size: 2.1rem; font-weight: 800; color: var(--deep); line-height: 1; margin-bottom: 8px; letter-spacing: -.02em; }
.keynum .l { font-size: .95rem; color: var(--muted); line-height: 1.45; }

.faq { margin: 2em 0; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 20px 24px; margin-bottom: 12px; background: #fff;
}
.faq details[open] { border-color: rgba(80,163,217,.5); }
.faq summary { font-weight: 700; color: var(--ink); cursor: pointer; font-size: 1.06rem; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 1.5rem; color: var(--light); font-weight: 700; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 14px 0 0; font-size: 1.02rem; }

.sources { font-size: .96rem; }
.sources ol { padding-left: 1.3em; }
.sources li { margin-bottom: .6em; color: var(--muted); }
.sources a { word-break: break-word; }

.article-cta {
  background: linear-gradient(150deg, var(--deep), var(--navy) 80%); color:#fff;
  border-radius: var(--r-lg); padding: clamp(32px,5vw,48px); margin: 3em 0 0; text-align: center;
}
.article-cta h3 { color:#fff; font-size: clamp(1.4rem,2.4vw,1.85rem); margin-bottom: 12px; }
.article-cta p { color:#B9C8E6; margin-bottom: 26px; }

.next-posts { border-top: 1px solid var(--line); margin-top: 3em; padding-top: 2.4em; }
