/* =========================================================
   The Generation Trust — Design System
   Modern static site: HTML / CSS / JS
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette — genomics-inspired deep space + bio-luminescence */
  --navy-900: #060a1f;
  --navy-800: #0b1030;
  --navy-700: #121a45;
  --navy-600: #1b265f;

  --ink: #0a0f24;
  --paper: #f7f9ff;
  --paper-soft: #eef2fb;

  --cyan: #22e3c0;
  --teal: #12b9d6;
  --violet: #7b5cff;
  --indigo: #4b6bff;
  --coral: #ff6b8b;
  --amber: #ffc65c;

  /* Text */
  --text-strong: #eaf0ff;
  --text-muted: #a7b2d6;
  --text-dim: #7d88ad;
  --text-dark: #1a2140;
  --text-dark-muted: #4c567d;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--cyan) 0%, var(--indigo) 55%, var(--violet) 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(34,227,192,0.16), rgba(123,92,255,0.16));
  --grad-warm: linear-gradient(120deg, var(--coral), var(--amber));

  /* Surfaces */
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-lg: 0 30px 80px -30px rgba(3, 8, 30, 0.75);
  --shadow-glow: 0 0 60px -12px rgba(75, 107, 255, 0.55);

  /* Layout */
  --maxw: 1320px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --gutter: clamp(1.5rem, 5vw, 4rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: clamp(16px, 14.2px + 0.42vw, 19px); }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--navy-900);
  color: var(--text-strong);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1rem; }

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

::selection { background: var(--violet); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 18ch;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 60ch;
}

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad-brand);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: #05122a;
  background: var(--btn-bg);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), filter 0.35s var(--ease);
  box-shadow: 0 12px 30px -10px rgba(34, 227, 192, 0.5);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(75, 107, 255, 0.6); filter: brightness(1.05); }
.btn:active { transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--text-strong);
  border: 1px solid var(--glass-border);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--glass-strong); box-shadow: none; }

.btn--warm { --btn-bg: var(--grad-warm); color: #2a0d14; box-shadow: 0 12px 30px -10px rgba(255, 107, 139, 0.5); }

.btn .btn-arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Ambient background ---------- */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 60vw at 12% -8%, rgba(123, 92, 255, 0.22), transparent 60%),
    radial-gradient(50vw 50vw at 95% 8%, rgba(18, 185, 214, 0.20), transparent 60%),
    radial-gradient(55vw 55vw at 50% 110%, rgba(75, 107, 255, 0.18), transparent 60%),
    var(--navy-900);
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 90%);
  pointer-events: none;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding-block: 1.1rem;
}
.site-header.is-scrolled {
  background: rgba(8, 12, 32, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--glass-border);
  padding-block: 0.7rem;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand__mark {
  width: 38px; height: 38px;
  flex: none;
  filter: drop-shadow(0 4px 12px rgba(34, 227, 192, 0.4));
}
.brand__logo {
  height: 68px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(34, 227, 192, 0.28));
  transition: height 0.4s var(--ease);
}
.site-header.is-scrolled .brand__logo { height: 54px; }
.footer-brand .brand__logo { height: 80px; }
.brand__text { font-size: 1.02rem; line-height: 1.1; }
.brand__text small { display: block; font-family: var(--font-sans); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-links a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text-strong); background: var(--glass); }
.nav-links a.is-active { color: var(--text-strong); background: var(--glass-strong); }

.nav-cta { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--text-strong);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after { transform: translate(-50%, 7px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translate(-50%, 0) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}
#dna-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.9;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero__content { max-width: 40rem; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem 0.45rem 0.5rem;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  backdrop-filter: blur(8px);
}
.hero__badge b { color: var(--text-strong); font-weight: 600; }
.hero__badge .pill {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--grad-brand);
  color: #05122a;
  font-weight: 700;
  font-size: 0.72rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.02;
  margin-bottom: 1.2rem;
}
.hero__sub {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { font-size: 0.86rem; color: var(--text-dim); margin-top: 0.35rem; }

/* Hero side card */
.hero__aside {
  position: relative;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}
.hero__aside h3 { font-size: 1.15rem; }
.hero__aside .aside-tag {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}
.hero__aside p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }
.hero__aside .aside-foot {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero__aside .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; color: #05122a;
  font-size: 0.95rem;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 1.8rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim);
}
.scroll-hint .mouse {
  width: 24px; height: 38px;
  border: 2px solid var(--glass-border);
  border-radius: 14px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute; top: 7px; left: 50%;
  width: 4px; height: 8px; border-radius: 2px;
  background: var(--cyan);
  transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0);} 40%{opacity:1;} 80%{opacity:0; transform: translate(-50%, 12px);} 100%{opacity:0;} }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--glass-border);
  background: rgba(8, 12, 32, 0.5);
  overflow: hidden;
  padding-block: 1.1rem;
}
.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-display);
  font-size: 1.05rem; color: var(--text-dim);
  white-space: nowrap;
}
.marquee__item svg { color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / Pillars ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(75,107,255,0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: rgba(34,227,192,0.4); background: var(--glass-strong); }
.card:hover::before { opacity: 1; }

.card__icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--grad-brand-soft);
  border: 1px solid var(--glass-border);
  margin-bottom: 1.3rem;
  color: var(--cyan);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--text-muted); margin-bottom: 0; }
.card__num {
  position: absolute; top: 1.4rem; right: 1.6rem;
  font-family: var(--font-display);
  font-size: 0.85rem; color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  box-shadow: var(--shadow-lg);
}
.helix-visual {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}

.feature-list { display: grid; gap: 1rem; margin-top: 1.8rem; }
.feature-list li {
  display: flex; gap: 0.9rem; align-items: flex-start;
  color: var(--text-muted);
}
.feature-list .tick {
  flex: none;
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--grad-brand-soft);
  border: 1px solid var(--glass-border);
  color: var(--cyan);
  margin-top: 0.15rem;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 1.5rem;
}
.timeline::before {
  content: "";
  position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--cyan), var(--violet), transparent);
}
.timeline__item { position: relative; padding: 0 0 2.2rem 1.8rem; }
.timeline__item::before {
  content: "";
  position: absolute; left: -6px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--navy-900);
  border: 3px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(34,227,192,0.12);
}
.timeline__year {
  font-family: var(--font-display);
  font-weight: 600; color: var(--cyan);
  font-size: 0.95rem; letter-spacing: 0.05em;
}
.timeline__item h4 { font-size: 1.15rem; margin: 0.2rem 0 0.4rem; }
.timeline__item p { color: var(--text-muted); margin: 0; }

/* ---------- Impact / story cards ---------- */
.story {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.story:hover { transform: translateY(-5px); border-color: rgba(123,92,255,0.4); }
.story__avatar {
  width: 72px; height: 72px; border-radius: 20px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  color: #05122a;
  background: var(--grad-brand);
}
.story__meta { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.4rem; flex-wrap: wrap; }
.story__tag {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan);
  padding: 0.2rem 0.6rem; border-radius: 999px;
  background: var(--grad-brand-soft); border: 1px solid var(--glass-border);
}
.story h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.story p { color: var(--text-muted); }
.story__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--cyan); font-weight: 600; font-size: 0.92rem;
  transition: gap 0.3s var(--ease);
}
.story__link:hover { gap: 0.7rem; }

/* ---------- Trustees ---------- */
.people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.person {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 1.3rem;
  align-content: start;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.person:hover { transform: translateY(-4px); border-color: rgba(34,227,192,0.4); }
.person__photo,
.person__avatar {
  grid-row: span 2;
  width: 92px; height: 92px; border-radius: 50%;
  border: 2px solid rgba(34,227,192,0.35);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}
.person__photo {
  object-fit: cover; object-position: center top;
}
.person__avatar {
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
  color: #05122a; font-size: 1.5rem;
  background: var(--grad-brand);
}
.person h4 { font-size: 1.08rem; margin: 0; align-self: end; }
.person__role { font-size: 0.82rem; color: var(--text-dim); align-self: start; }
.person__bio {
  grid-column: 1 / -1;
  margin-top: 1rem;
  max-height: 7.5em;
  overflow: hidden;
  position: relative;
  color: var(--text-dim);
  font-size: 0.92rem;
  transition: max-height 0.5s var(--ease);
}
.person__bio p { margin: 0 0 0.7rem; }
.person__bio p:last-child { margin-bottom: 0; }
.person__bio::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 2.8em;
  background: linear-gradient(rgba(12,17,38,0), rgba(12,17,38,0.9));
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.person.is-expanded .person__bio { max-height: 260em; }
.person.is-expanded .person__bio::after { opacity: 0; }
.person--short .person__bio { max-height: none; }
.person--short .person__bio::after { display: none; }
.person__actions {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 1.2rem;
  margin-top: 0.9rem;
}
.person__more {
  background: none; border: none; cursor: pointer;
  color: var(--cyan); font: inherit; font-size: 0.85rem; font-weight: 600;
  padding: 0;
}
.person__more:hover { text-decoration: underline; }
.person__linkedin {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 600; color: var(--text-dim);
  transition: color 0.3s var(--ease);
}
.person__linkedin:hover { color: var(--cyan); }
.person__linkedin svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(34,227,192,0.14), rgba(123,92,255,0.14));
  border: 1px solid var(--glass-border);
  text-align: center;
}
.cta-band::after {
  content: "";
  position: absolute; inset: -40% -10% auto -10%; height: 120%;
  background: radial-gradient(50% 60% at 50% 0%, rgba(75,107,255,0.35), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 0.8rem; }
.cta-band p { color: var(--text-muted); max-width: 52ch; margin: 0 auto 2rem; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding-top: clamp(9rem, 16vw, 12rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40vw 40vw at 85% -10%, rgba(34,227,192,0.18), transparent 60%),
    radial-gradient(40vw 40vw at 5% 20%, rgba(123,92,255,0.18), transparent 60%);
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.breadcrumb { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--cyan); }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose p { color: var(--text-muted); font-size: 1.05rem; }
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(34,227,192,0.35); transition: border-color 0.3s; }
.prose a:hover { border-color: var(--cyan); }
.prose h2 { margin-top: 2.2rem; font-size: 1.7rem; }
.prose h3 { margin-top: 1.8rem; font-size: 1.3rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.info-card {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1rem;
  transition: border-color 0.3s var(--ease);
}
.info-card:hover { border-color: rgba(34,227,192,0.4); }
.info-card__icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-brand-soft); border: 1px solid var(--glass-border);
  color: var(--cyan);
}
.info-card h4 { margin: 0 0 0.2rem; font-size: 1rem; }
.info-card p, .info-card a { color: var(--text-muted); margin: 0; font-size: 0.95rem; }
.info-card a:hover { color: var(--cyan); }

.form {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
}
.field { margin-bottom: 1.2rem; }
.field label {
  display: block; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 0.5rem; color: var(--text-strong);
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(6, 10, 31, 0.6);
  border: 1px solid var(--glass-border);
  color: var(--text-strong);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34,227,192,0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: 0.82rem; color: var(--text-dim); margin: 0.8rem 0 0; }

/* ---------- Donate ---------- */
.donate-card {
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}
.freq-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(6, 10, 31, 0.6);
  border: 1px solid var(--glass-border);
  margin-bottom: 1.8rem;
}
.freq-toggle button {
  padding: 0.55rem 1.3rem;
  border: none; background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  transition: color 0.3s var(--ease);
}
.freq-toggle button.is-active { background: var(--grad-brand); color: #05122a; }

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.amount-btn {
  padding: 1.1rem;
  border-radius: var(--radius);
  background: rgba(6, 10, 31, 0.5);
  border: 1px solid var(--glass-border);
  color: var(--text-strong);
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.amount-btn:hover { transform: translateY(-3px); border-color: rgba(34,227,192,0.5); }
.amount-btn.is-active { border-color: var(--cyan); background: var(--grad-brand-soft); }
.amount-btn small { display: block; font-family: var(--font-sans); font-weight: 400; font-size: 0.72rem; color: var(--text-dim); margin-top: 0.2rem; }

.custom-amount {
  position: relative;
  margin-bottom: 1.6rem;
}
.custom-amount span {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--text-dim); font-size: 1.1rem;
}
.custom-amount input {
  width: 100%;
  padding: 1rem 1rem 1rem 2.2rem;
  border-radius: var(--radius);
  background: rgba(6, 10, 31, 0.6);
  border: 1px solid var(--glass-border);
  color: var(--text-strong);
  font-family: var(--font-display); font-size: 1.1rem;
}
.custom-amount input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,227,192,0.15); }

.impact-hint {
  display: flex; gap: 0.7rem; align-items: center;
  padding: 0.9rem 1.1rem; border-radius: var(--radius);
  background: var(--grad-brand-soft); border: 1px solid var(--glass-border);
  font-size: 0.9rem; color: var(--text-muted);
  margin-bottom: 1.6rem;
}
.impact-hint b { color: var(--text-strong); }

/* ---------- Resources ---------- */
.resource {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.resource:hover { transform: translateX(6px); border-color: rgba(34,227,192,0.4); }
.resource__icon {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-brand-soft); border: 1px solid var(--glass-border);
  color: var(--cyan);
}
.resource__body { flex: 1; }
.resource__body h4 { margin: 0 0 0.15rem; font-size: 1.05rem; }
.resource__body p { margin: 0; font-size: 0.88rem; color: var(--text-dim); }
.resource__dl {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--cyan); font-weight: 600; font-size: 0.9rem;
  white-space: nowrap;
}

.empty-note {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px dashed var(--glass-border);
  color: var(--text-dim);
  text-align: center;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 4rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(6, 10, 31, 0.6);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand p { color: var(--text-dim); font-size: 0.92rem; max-width: 32ch; }
.footer-col h5 {
  font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 1rem;
}
.footer-col a { display: block; color: var(--text-muted); padding: 0.3rem 0; font-size: 0.95rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  padding-top: 1.8rem; border-top: 1px solid var(--glass-border);
  font-size: 0.85rem; color: var(--text-dim);
}
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--text-muted); transition: all 0.3s var(--ease);
}
.footer-social a:hover { color: var(--cyan); border-color: rgba(34,227,192,0.4); transform: translateY(-3px); }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__aside { max-width: 420px; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { min-height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 320px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.4rem;
    padding: 6rem 1.5rem 2rem;
    background: rgba(8, 12, 32, 0.92);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 90;
  }
  body.nav-open .nav-links { display: flex; transform: translateX(0); }
  .nav-links a { padding: 0.9rem 1rem; font-size: 1.05rem; }
  .brand__logo { height: 52px; }
  .site-header.is-scrolled .brand__logo { height: 46px; }
  .footer-brand .brand__logo { height: 64px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story__avatar { width: 60px; height: 60px; }
  .amount-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
