/* ── Local Fonts ── */
@font-face { font-family: 'Space Grotesk'; font-weight: 300; font-style: normal; font-display: swap; src: url('../fonts/SpaceGrotesk-300.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/SpaceGrotesk-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/SpaceGrotesk-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 300; font-style: normal; font-display: swap; src: url('../fonts/Inter-300.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/Inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/Inter-500.woff2') format('woff2'); }
@font-face { font-family: 'TT Octosquares'; font-weight: 900; font-style: normal; font-display: swap; src: url('../fonts/TTOctosquares-Black.ttf') format('truetype'); }
@font-face { font-family: 'Nasalization'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/nasalization-rg.otf') format('opentype'); }

/* Halverstone brand utilities — wordmark + inline mark.
   Rule: every textual mention of the word "Halverstone" on this site is rendered
   in TT Octosquares Black via .hv-brand. The mark icon (.hv-mark-inline) is
   applied to headings/labels of Halverstone entities, not to inline body text. */
.hv-brand { font-family: 'TT Octosquares', 'Space Grotesk', sans-serif; font-weight: 900; letter-spacing: 0.04em; font-size: 0.9em; }
.hv-mark-inline { display: inline-block; height: 0.85em; width: auto; vertical-align: -0.08em; margin-right: 0.5em; }

/* Global Continuity Initiative — Design System v1 (Cold Institutional)
   Forked from Humanitas Trust v3 with token overrides for the apex-tier
   apparatus voice. Token names preserved for component class compatibility. */

:root {
  --bg:       #0A0B0E;
  --bg-2:     #131418;
  --bg-3:     #1C1D22;
  --dark:     #050608;
  --dark-2:   #0F1014;
  --ink:      #E4E6EA;
  --text:     #B8BCC2;
  --dim:      #6E7278;
  --teal:     #5B8A9A;
  --accent:   #C8CCD2;
  --accent-dim: rgba(200,204,210,0.06);
  --accent-hi: rgba(200,204,210,0.14);
  --border:   #26282E;
  --border-dark: rgba(228,230,234,0.07);
  --shadow:   0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:0 12px 48px rgba(0,0,0,0.7);
  --display:  'Nasalization', 'Space Grotesk', sans-serif;
  --body:     'Inter', sans-serif;
  --mono:     'IBM Plex Mono', 'Menlo', monospace;
}

/* Nasalization is wide and Rg-only; relax letter-spacing and weight on headlines */
h1, h2, h3, h4, .hero-v2-headline { font-weight: 400 !important; letter-spacing: -0.01em !important; }
.nav-wordmark, .footer-wordmark { font-weight: 400 !important; letter-spacing: 0.14em !important; }

/* GCI component overrides — points where HT hardcoded light colors */
.nav { background: rgba(10,11,14,0.92) !important; }
.dropdown { background: var(--bg-2) !important; border-color: var(--border) !important; }
.dropdown a:hover { background: var(--bg-3) !important; }
footer { background: var(--dark) !important; color: var(--text) !important; }
.cta-band { background: var(--bg-2) !important; }
.who-feature, .global-feature, .lifestages-feature { background: var(--bg-2) !important; }
.who-feature-veil, .global-feature-veil, .lifestages-veil, .hero-glow-track { display: none !important; }
.hero-reel-video, .global-feature-video, video { display: none !important; }
.region-block, .initiative-block, .partner-block, .stat-cell, .capability-cell, .program-card, .news-item {
  background: var(--bg-2) !important; border: 1px solid var(--border) !important;
}
.card { background: var(--bg-2) !important; border: 1px solid var(--border) !important; }
.eyebrow { color: var(--teal) !important; letter-spacing: 0.22em; }
.accent-rule { background: var(--teal) !important; }
.btn-primary { background: var(--teal) !important; color: var(--dark) !important; }
.btn-outline, .btn-ghost { border-color: var(--border) !important; color: var(--ink) !important; }
.hero-v2-databar { background: var(--bg-2) !important; border-top: 1px solid var(--border) !important; }
.hero-v2-databar .data-num { color: var(--ink) !important; }
.hero-v2-databar .data-lbl { color: var(--dim) !important; }
.hero-v2-databar .data-divider { background: var(--border) !important; }
.hero-v2-headline { font-weight: 300 !important; color: var(--ink) !important; }
.hero-v2-sub { color: var(--text) !important; }
.who-headline, .global-headline, .lifestages-headline { color: var(--ink) !important; }
.who-copy, .global-copy, .lifestages-copy { color: var(--text) !important; }
section h1, section h2, section h3, section h4 { color: var(--ink) !important; }
.cinematic { background: var(--bg-2) !important; }
.cinematic blockquote { color: var(--ink) !important; }
/* GCI: institutional voice reads better as static type, not as a reveal animation.
   Force all word-reveal spans visible immediately. */
.word-reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

/* GCI-specific protocol number style */
.protocol-num { font-family: var(--mono); font-size: 0.78em; letter-spacing: 0.08em; color: var(--dim); }
.charter-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.85rem; border: 1px solid var(--teal); border-radius: 999px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal);
  width: max-content; max-width: max-content;
  background: rgba(10,11,14,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.charter-badge .badge-pulse {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 0 var(--teal); animation: gci-pulse 2.4s infinite;
}
@keyframes gci-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(91,138,154,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(91,138,154,0); }
  100% { box-shadow: 0 0 0 0 rgba(91,138,154,0); }
}
.notice-band {
  background: var(--bg-2); border-left: 3px solid var(--teal);
  padding: 1.5rem 2rem; margin: 2.5rem 0;
  font-family: var(--mono); font-size: 0.86rem; line-height: 1.7; color: var(--text);
}
.article-block { border-top: 1px solid var(--border); padding: 2rem 0; }
.article-block:last-child { border-bottom: 1px solid var(--border); }
.article-block .article-num {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em;
  color: var(--teal); text-transform: uppercase; margin-bottom: 0.5rem;
}
.spec-table {
  width: 100%; border-collapse: collapse; margin: 2rem 0;
  font-family: var(--mono); font-size: 0.86rem;
}
.spec-table th, .spec-table td {
  text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--border);
}
.spec-table th { color: var(--dim); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.7rem; }
.spec-table td { color: var(--ink); }
.grid-overlay-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.18;
  background-image:
    linear-gradient(rgba(228,230,234,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228,230,234,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.metric-card {
  background: var(--bg-2); border: 1px solid var(--border); padding: 2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.metric-card .metric-num { font-family: var(--display); font-size: 3.2rem; font-weight: 300; color: var(--teal); line-height: 1; }
.metric-card .metric-lbl { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.metric-card .metric-sub { font-size: 0.92rem; color: var(--text); margin-top: 0.5rem; }
.dispatch-list { display: flex; flex-direction: column; gap: 0; }
.dispatch-item {
  display: grid; grid-template-columns: 200px 1fr; gap: 2rem;
  padding: 1.5rem 0; border-top: 1px solid var(--border);
  align-items: baseline;
}
.dispatch-item:last-child { border-bottom: 1px solid var(--border); }
.dispatch-ref { font-family: var(--mono); font-size: 0.82rem; color: var(--teal); letter-spacing: 0.04em; }
.dispatch-title { color: var(--ink); font-size: 1.05rem; }
.dispatch-meta { font-family: var(--mono); font-size: 0.72rem; color: var(--dim); margin-top: 0.35rem; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 720px) {
  .dispatch-item { grid-template-columns: 1fr; gap: 0.5rem; }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); }
h1 { font-size: clamp(3.2rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 400; }
p  { font-size: 1.05rem; max-width: 66ch; }
a  { color: inherit; text-decoration: none; }
img { display: block; }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); padding: 0 2.5rem; height: 72px;
  display: flex; align-items: center; justify-content: space-between; transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }

.nav-logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav-mark  { height: 38px; width: auto; }
.nav-wordmark { font-family: var(--display); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-item { position: relative; }
.nav-item > a {
  display: block; padding: 0.4rem 0.9rem;
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text); transition: color 0.2s; white-space: nowrap;
}
.nav-item > a:hover, .nav-item > a.active { color: var(--dim); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--bg); border: 1px solid var(--border);
  border-top: 1px solid var(--border); min-width: 220px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  opacity: 0; pointer-events: none;
  transform: translateY(-6px); transition: opacity 0.2s, transform 0.2s; z-index: 200;
}
/* Invisible bridge fills the 8px gap so hover stays alive as cursor moves to dropdown */
.dropdown::before {
  content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
}
.nav-item:hover .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown a {
  display: block; padding: 0.7rem 1.25rem;
  font-size: 0.8rem; color: var(--text); border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s; letter-spacing: 0;
  text-transform: none; font-weight: 400;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--bg-2); color: var(--ink); }

.nav-cta {
  background: var(--dark) !important; color: #fff !important;
  padding: 0.55rem 1.4rem !important; border-radius: 2px !important;
  font-weight: 500 !important; font-size: 0.78rem !important;
  letter-spacing: 0.08em !important; transition: background 0.2s !important;
  white-space: nowrap;
}
.nav-cta:hover { background: #0B2545 !important; color: #fff !important; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink); }

/* ── Buttons ── */
.btn { display: inline-block; padding: 0.9rem 2.2rem; font-family: var(--body); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 2px; transition: all 0.2s; border: none; cursor: pointer; }
/* Primary — logo teal */
.btn-primary { background: var(--teal); color: var(--ink); }
.btn-primary:hover { background: #25b5b6; transform: translateY(-1px); }
/* Dark — logo navy */
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--dark); }
/* Outline — teal border on hover */
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
/* Outline white — for dark backgrounds */
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { border-color: var(--teal); color: var(--teal); }

/* ── Layout ── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 2.5rem; }
section { padding: 8rem 0; }
section.tight { padding: 5rem 0; }

/* ── Decorative ── */
.eyebrow { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; display: block; }
.accent-rule { width: 40px; height: 1px; background: var(--border); margin: 1.5rem 0; }
.accent-rule.centered { margin: 1.5rem auto; }
.gold-text { color: var(--dim); }

/* ── Hero V2 (Cinematic White) ── */
.hero-v2 {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--bg); overflow: hidden; padding-top: 72px;
}

/* Video reel background — single looping file, xfades baked in */
.reel-bg { position: absolute; inset: 0; z-index: 0; }
.hero-reel-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.32;
  filter: saturate(0.35) brightness(1.15) contrast(0.9);
}

/* Glow orb */
.hero-glow {
  position: absolute; top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1100px; height: 700px; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(45,206,207,0.09) 0%, rgba(120,170,255,0.06) 40%, transparent 70%);
  animation: glow-breathe 12s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.75; }
  50% { transform: translate(-50%, -50%) scale(1.18); opacity: 1; }
}

/* Hero content */
.hero-v2-content {
  position: relative; z-index: 2;
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding-top: 2rem; padding-bottom: 2rem;
}

/* System status badge */
.hero-system-badge {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--dim); border: 1px solid var(--border);
  padding: 0.4rem 1.1rem 0.4rem 0.7rem; border-radius: 999px;
  width: fit-content; margin-bottom: 2rem;
}
.badge-pulse {
  width: 6px; height: 6px; background: var(--teal); border-radius: 50%;
  animation: badge-pulse 2.4s ease-in-out infinite; flex-shrink: 0;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(45,206,207,0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 0 5px rgba(45,206,207,0); }
}
.badge-sep { color: var(--border); }

/* Hero headline */
.hero-v2-headline {
  font-size: clamp(3.2rem, 8vw, 8.5rem);
  font-weight: 200; letter-spacing: -0.05em; line-height: 0.92;
  color: var(--ink); margin-bottom: 2rem; max-width: 14ch;
}

/* Hero sub */
.hero-v2-sub {
  font-size: 1.05rem; color: var(--text);
  max-width: 46ch; line-height: 1.72; margin-bottom: 2rem;
}

/* Hero actions */
.hero-v2-actions { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.btn-ghost {
  background: transparent; border: none; color: var(--ink);
  font-family: var(--body); font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0;
  cursor: pointer; transition: color 0.2s;
}
.btn-ghost:hover { color: var(--teal); }

/* Data bar (replaces old stats bar) */
.hero-v2-databar {
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.databar-inner { display: flex; align-items: center; height: 80px; }
.data-item {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; padding: 0 2.5rem;
}
.data-item:first-child { padding-left: 0; }
.data-num {
  font-family: var(--display); font-size: 1.4rem; font-weight: 300;
  color: var(--ink); letter-spacing: -0.02em; line-height: 1;
}
.data-lbl {
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--dim); margin-top: 0.3rem;
}
.data-divider { width: 1px; height: 32px; background: var(--border); flex-shrink: 0; }

/* Legacy hero (keep for backward compat) */
.hero { padding-top: 72px; background: var(--bg); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(88vh - 72px); }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 6rem 5rem 6rem 0; }
.hero-mark { height: 72px; width: auto; margin-bottom: 2.5rem; }
.hero h1 { font-size: clamp(3rem, 5.5vw, 5.5rem); font-weight: 200; letter-spacing: -0.04em; margin-bottom: 2rem; line-height: 0.95; }
.accent-text { color: var(--dim); font-weight: 300; }
.hero-sub { font-size: 1.1rem; color: var(--text); max-width: 48ch; margin-bottom: 2.5rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image { position: relative; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(255,255,255,0.15) 0%, transparent 40%); }
.hero-stats { background: var(--dark); }
.hero-stats .container { display: flex; height: 82px; }
.hero-stat-item { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 2rem; border-right: 1px solid rgba(255,255,255,0.08); }
.hero-stat-item:last-child { border-right: none; }
.hero-stat-item:first-child { padding-left: 0; }
.stat-num { font-family: var(--display); font-size: 1.6rem; font-weight: 300; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.stat-lbl { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 0.3rem; }

/* ── System Status Ticker ── */
.marquee-strip { background: var(--dark); border-bottom: 1px solid var(--border-dark); overflow: hidden; }
.marquee-track { display: flex; gap: 5rem; padding: 0.8rem 0; animation: marquee 60s linear infinite; width: max-content; }
.marquee-item { display: flex; align-items: center; gap: 0.7rem; font-size: 0.63rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.28); white-space: nowrap; font-family: var(--body); }
.marquee-dot { width: 4px; height: 4px; background: var(--teal); border-radius: 50%; flex-shrink: 0; opacity: 0.7; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── Section Headers ── */
.section-header { margin-bottom: 5rem; }
.section-header.centered { text-align: center; }
.section-header.centered p, .section-header.centered .accent-rule { margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: var(--text); margin-top: 1rem; }

/* ── Split ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center; }
.split.reverse .split-image { order: -1; }
.split-image { overflow: hidden; aspect-ratio: 4/3; border-radius: 3px; }
.split-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Cards ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card { background: var(--bg); padding: 2.5rem; border: 1px solid var(--border); border-radius: 3px; transition: box-shadow 0.3s, border-color 0.3s; }
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--dim); }
.card-icon { width: 40px; height: 40px; color: var(--dim); margin-bottom: 1.5rem; }
.card h3 { color: var(--ink); margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; }

/* ── Initiative Cards ── */
.initiative-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); }
.initiative-block { background: var(--bg); padding: 3rem; transition: background 0.2s; }
.initiative-block:hover { background: var(--bg-2); }
.initiative-num { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.5rem; display: block; }
.initiative-block h3 { font-size: 1.1rem; font-weight: 500; color: var(--ink); margin-bottom: 0.75rem; }
.initiative-block p { font-size: 0.9rem; max-width: none; }

/* ── Region Grid ── */
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); }
.region-block { background: var(--bg); padding: 3rem 2.5rem; transition: background 0.2s; }
.region-block:hover { background: var(--bg-2); }
.region-name { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.25rem; display: block; }
.region-count { font-family: var(--display); font-size: 3.8rem; font-weight: 200; color: var(--ink); line-height: 1; letter-spacing: -0.04em; margin-bottom: 0.4rem; }
.region-label { font-size: 0.78rem; color: var(--dim); }

/* ── Partners ── */
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); margin-top: 3.5rem; }
.partner-block { background: var(--bg-2); padding: 2rem; transition: background 0.2s; }
.partner-block:hover { background: var(--bg-3); }
.partner-name { font-family: var(--display); font-size: 0.9rem; font-weight: 500; color: var(--ink); margin-bottom: 0.4rem; }
.partner-desc { font-size: 0.8rem; color: var(--dim); max-width: none; line-height: 1.55; }

/* ── Stat Row ── */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); }
.stat-block { background: var(--bg-2); padding: 3rem; text-align: center; }
.stat-block .number { font-family: var(--display); font-size: 3rem; font-weight: 200; color: var(--ink); letter-spacing: -0.04em; }
.stat-block .label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); margin-top: 0.5rem; }

/* ── Cinematic Quote ── */
.cinematic { padding: 10rem 0; text-align: center; background: var(--dark); position: relative; overflow: hidden; }
.cinematic::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(13,13,38,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(13,13,38,0.04) 1px, transparent 1px); background-size: 80px 80px; }
.cinematic blockquote { position: relative; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.6rem); font-weight: 200; color: #fff; max-width: 860px; margin: 0 auto 2rem; line-height: 1.35; letter-spacing: -0.02em; }
.cinematic cite { position: relative; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.35); font-style: normal; }

/* ── CTA Band ── */
.cta-band { background: var(--dark); padding: 9rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 800px; height: 400px; background: none; }
.cta-band h2 { font-weight: 200; margin-bottom: 1rem; position: relative; color: #fff; }
.cta-band p { color: rgba(255,255,255,0.55); margin: 0 auto 3rem; max-width: 54ch; position: relative; }

/* ── Footer ── */
footer { background: var(--dark); color: rgba(255,255,255,0.45); padding: 6rem 0 2.5rem; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 5rem; }
.footer-brand img { height: 70px; margin-bottom: 1.5rem; }
.footer-brand p { font-size: 0.875rem; max-width: 26ch; color: rgba(255,255,255,0.3); }
.footer-logo-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.footer-mark { height: 44px !important; width: auto; margin-bottom: 0 !important; }
.footer-wordmark { font-family: var(--display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.footer-col h4 { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.2); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--dim); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.7rem; color: rgba(255,255,255,0.15); max-width: none; }
.footer-tagline { font-size: 0.65rem !important; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.18) !important; }

/* ── Page Hero (inner pages) ── */
.page-hero { padding: 12rem 0 7rem; background: var(--bg); border-bottom: 1px solid var(--border); }
.page-hero h1 { margin-bottom: 1.5rem; }
.page-hero p { font-size: 1.1rem; max-width: 58ch; }

/* ── Services ── */
.service-item { display: grid; grid-template-columns: 100px 1fr; gap: 3rem; align-items: start; padding: 4rem 0; border-bottom: 1px solid var(--border); }
.service-item:first-child { border-top: 1px solid var(--border); }
.service-number { font-family: var(--display); font-size: 4.5rem; font-weight: 200; color: rgba(13,13,38,0.08); letter-spacing: -0.06em; line-height: 1; }
.service-content h3 { color: var(--ink); font-weight: 400; margin-bottom: 1rem; font-size: 1.5rem; }
.service-content p { margin-bottom: 1.25rem; }
.service-tag { display: inline-block; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.3rem 0.8rem; border: 1px solid var(--border); color: var(--dim); border-radius: 2px; margin-right: 0.5rem; margin-bottom: 0.5rem; }
.credential-note { font-size: 0.72rem; color: var(--dim); letter-spacing: 0.04em; margin-top: 1.5rem; line-height: 1.65; }

/* ── Process Steps ── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); margin-top: 3rem; }
.process-step { background: var(--bg-2); padding: 2.5rem; text-align: center; }
.step-num { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 0.8rem; color: var(--dim); font-weight: 500; }
.process-step h4 { font-family: var(--display); font-size: 0.95rem; font-weight: 500; color: var(--ink); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.875rem; max-width: none; }

/* ── Leadership ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2.5rem; }
.team-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; border-radius: 3px; margin-bottom: 1.25rem; border: 1px solid var(--border); transition: box-shadow 0.3s; }
.team-card:hover .team-photo { box-shadow: var(--shadow-lg); }
.team-name { font-family: var(--display); font-size: 1rem; font-weight: 500; color: var(--ink); margin-bottom: 0.2rem; }
.team-title { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.75rem; display: block; }
.team-bio { font-size: 0.875rem; color: var(--text); line-height: 1.6; }

.board-list { display: flex; flex-direction: column; }
.board-member { display: grid; grid-template-columns: 180px 1fr; gap: 3rem; align-items: start; padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.board-member:first-child { border-top: 1px solid var(--border); }
.board-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; border-radius: 3px; border: 1px solid var(--border); }
.board-name { font-family: var(--display); font-size: 1.2rem; font-weight: 500; color: var(--ink); margin-bottom: 0.2rem; }
.board-title { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.25rem; display: block; }
.board-bio { font-size: 0.925rem; color: var(--text); max-width: 64ch; line-height: 1.65; }

/* ── Centers ── */
.search-band { background: var(--bg-2); padding: 3rem 0; border-bottom: 1px solid var(--border); }
.search-form { display: flex; gap: 1rem; max-width: 560px; }
.search-input { flex: 1; padding: 0.85rem 1.25rem; border: 1px solid var(--border); border-radius: 2px; font-family: var(--body); font-size: 0.95rem; color: var(--ink); background: var(--bg); outline: none; transition: border-color 0.2s; }
.search-input:focus { border-color: var(--dim); }
.search-input::placeholder { color: var(--dim); }

.center-regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 4rem; }
.region-card { padding: 2.5rem; border: 1px solid var(--border); border-radius: 3px; background: var(--bg); transition: border-color 0.3s, box-shadow 0.3s; }
.region-card:hover { border-color: var(--dim); box-shadow: var(--shadow); }
.region-name-lbl { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; display: block; }
.region-count { font-family: var(--display); font-size: 3.2rem; font-weight: 200; color: var(--ink); line-height: 1; margin-bottom: 0.4rem; }
.region-lbl { font-size: 0.8rem; color: var(--dim); }

.center-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.center-entry { padding: 2rem; border: 1px solid var(--border); border-radius: 3px; background: var(--bg); transition: border-color 0.3s, box-shadow 0.3s; }
.center-entry:hover { border-color: var(--dim); box-shadow: var(--shadow); }
.center-badge { display: inline-block; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.25rem 0.7rem; border: 1px solid var(--border); color: var(--dim); border-radius: 2px; margin-bottom: 0.75rem; }
.center-city { font-family: var(--display); font-size: 1.05rem; font-weight: 500; color: var(--ink); margin-bottom: 0.25rem; }
.center-address { font-size: 0.85rem; color: var(--dim); margin-bottom: 0.75rem; max-width: none; }
.center-meta { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }

/* ── Research ── */
.focus-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.focus-area { padding: 2.5rem; background: var(--bg); border: 1px solid var(--border); border-radius: 3px; transition: border-color 0.3s, box-shadow 0.3s; }
.focus-area:hover { border-color: var(--dim); box-shadow: var(--shadow); }
.focus-area h4 { font-family: var(--display); font-weight: 500; color: var(--ink); margin-bottom: 0.6rem; font-size: 1rem; }
.focus-area p { font-size: 0.875rem; max-width: none; }
.publication-list { display: flex; flex-direction: column; }
.publication { padding: 2.5rem 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 80px 1fr; gap: 2.5rem; align-items: start; }
.pub-year { font-family: var(--display); font-size: 0.85rem; color: var(--dim); font-weight: 500; padding-top: 0.2rem; }
.pub-title { font-family: var(--display); font-size: 1rem; font-weight: 500; color: var(--ink); margin-bottom: 0.5rem; }
.pub-journal { font-size: 0.8rem; color: var(--dim); margin-bottom: 0.5rem; max-width: none; }
.pub-abstract { font-size: 0.875rem; color: var(--text); max-width: none; line-height: 1.65; }
.gci-collab { padding: 9rem 0; border-top: 1px solid var(--border); background: var(--bg-2); }
.gci-collab-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: center; }
.gci-detail { border-left: 1px solid var(--border); padding-left: 4rem; }
.gci-detail-item { padding: 1.75rem 0; border-bottom: 1px solid var(--border); }
.gci-detail-item:last-child { border-bottom: none; }
.gci-detail-label { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.4rem; display: block; }
.gci-detail-value { font-size: 0.95rem; color: var(--text); }

/* ── Mission ── */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem 8rem; }
.pillar-num { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.5rem; display: block; }
.pillar h3 { font-weight: 500; color: var(--ink); margin-bottom: 0.75rem; font-size: 1.25rem; }
.history-timeline { display: flex; flex-direction: column; border-left: 1px solid var(--border); margin-top: 3.5rem; padding-left: 2.5rem; }
.history-event { position: relative; padding-bottom: 3rem; }
.history-event::before { content: ''; position: absolute; left: -2.9rem; top: 0.45rem; width: 10px; height: 10px; background: var(--dim); border-radius: 50%; }
.history-year { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.4rem; display: block; }
.history-event h4 { font-family: var(--display); font-size: 1rem; font-weight: 500; color: var(--ink); margin-bottom: 0.5rem; }
.history-event p { font-size: 0.9rem; max-width: none; line-height: 1.65; }

/* ── Mission Quote ── */
.mission-quote { padding: 10rem 0; text-align: center; background: var(--dark); }
.mission-quote blockquote { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 200; color: #fff; max-width: 900px; margin: 0 auto 2rem; line-height: 1.32; letter-spacing: -0.025em; }
.mission-quote cite { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.3); font-style: normal; }

/* ── News ── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem; }
.news-card { border: 1px solid var(--border); border-radius: 3px; overflow: hidden; transition: box-shadow 0.3s; }
.news-card:hover { box-shadow: var(--shadow-lg); }
.news-card-body { padding: 2rem; }
.news-date { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.75rem; display: block; }
.news-card h3 { font-size: 1.05rem; font-weight: 500; color: var(--ink); margin-bottom: 0.75rem; line-height: 1.3; }
.news-card p { font-size: 0.875rem; max-width: none; }
.news-tag { display: inline-block; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.2rem 0.6rem; border: 1px solid var(--border); color: var(--dim); border-radius: 2px; margin-top: 1rem; }

/* ── Careers ── */
.job-list { display: flex; flex-direction: column; }
.job-item { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--border); }
.job-item:first-child { border-top: 1px solid var(--border); }
.job-dept { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.4rem; display: block; }
.job-title { font-family: var(--display); font-size: 1.05rem; font-weight: 500; color: var(--ink); margin-bottom: 0.3rem; }
.job-location { font-size: 0.85rem; color: var(--dim); max-width: none; }

/* ── Technology / Policy page specifics ── */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); border: 1px solid var(--border); margin-top: 3rem; }
.tech-block { background: var(--bg); padding: 3rem; transition: background 0.2s; }
.tech-block:hover { background: var(--bg-2); }
.tech-block h3 { font-size: 1.1rem; font-weight: 500; color: var(--ink); margin-bottom: 0.75rem; }
.tech-block p { font-size: 0.9rem; max-width: none; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
.contact-office { padding: 2.5rem; border: 1px solid var(--border); border-radius: 3px; }
.contact-region { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; display: block; }
.contact-city { font-family: var(--display); font-size: 1.1rem; font-weight: 500; color: var(--ink); margin-bottom: 0.5rem; }
.contact-address { font-size: 0.875rem; color: var(--text); max-width: none; line-height: 1.6; }

/* ── Animations ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1/-1; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .gci-collab-inner { grid-template-columns: 1fr; gap: 3rem; }
  .gci-detail { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 2.5rem; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-text { padding: 5rem 0; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .split.reverse .split-image { order: 0; }
  .region-grid { grid-template-columns: 1fr 1fr; }
  .center-regions { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .focus-areas { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 3rem; }
  .initiative-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; position: fixed; inset: 72px 0 0; background: var(--bg); flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; z-index: 99; border-top: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .hero-stats .container { flex-direction: column; height: auto; }
  .hero-stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; }
  .hero-stat-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .region-grid { grid-template-columns: 1fr; }
  .center-regions { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .service-item { grid-template-columns: 1fr; gap: 1rem; }
  .board-member { grid-template-columns: 100px 1fr; gap: 1.5rem; }
  .process-steps { grid-template-columns: 1fr; }
  .focus-areas { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .initiative-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 5rem 0; }
  .cta-band { padding: 6rem 0; }
  .cinematic { padding: 7rem 0; }
  /* Hero V2 mobile */
  .hero-v2-headline { font-size: clamp(3.5rem, 14vw, 6rem); }
  .hero-system-badge { margin-bottom: 2rem; }
  .databar-inner { flex-wrap: wrap; height: auto; padding: 1.5rem 0; gap: 0; }
  .data-item { flex: 50%; padding: 0.75rem 0; }
  .data-divider { display: none; }
}
@media (max-width: 900px) {
  /* Hero V2 tablet */
  .hero-v2-headline { font-size: clamp(4rem, 10vw, 7rem); }
  .hero-glow { width: 700px; height: 500px; }
}

/* ═══════════════════════════════════════════════════════════════════
   MOTION EFFECTS — premium scroll & cursor interactions
   ═══════════════════════════════════════════════════════════════════ */

/* 1. Parallax background images */
.parallax-bg {
  will-change: transform;
  transition: none;
}

/* 2. Pointer-tracked hero glow wrapper */
.hero-glow-track {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

/* 4. Word-by-word reveal — pronounced, deliberate */
.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.9em);
  filter: blur(8px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 1s cubic-bezier(0.2, 0.8, 0.2, 1),
              filter 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform, filter;
}
.words-visible .word-reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 5. Scale-in on featured images — more visible settle */
.split-image,
.hero-image,
.team-photo,
.board-photo {
  overflow: hidden;
}
.split-image > img,
.split-image > video,
.hero-image > img,
.team-photo,
.board-photo {
  transform: scale(1.15);
  opacity: 0;
  transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: center;
  will-change: transform, opacity;
}
.split-image.scale-settled > img,
.split-image.scale-settled > video,
.hero-image.scale-settled > img,
.team-photo.scale-settled,
.board-photo.scale-settled {
  transform: scale(1);
  opacity: 1;
}
.split-image.scale-settled > img,
.split-image.scale-settled > video,
.hero-image.scale-settled > img,
.team-photo.scale-settled,
.board-photo.scale-settled {
  transform: scale(1);
}

/* 6. Magnetic buttons — use --mx/--my variables for transform */
.btn.magnetic {
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.2s,
              border-color 0.2s,
              color 0.2s;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
}
.nav-cta.magnetic {
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.2s !important;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
}

/* 7. Accent rule draw-in */
.accent-rule {
  width: 0;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}
.accent-rule.rule-drawn {
  width: 40px;
}
.accent-rule.centered.rule-drawn {
  margin-left: auto;
  margin-right: auto;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .word-reveal,
  .split-image > img,
  .split-image > video,
  .hero-image > img,
  .team-photo,
  .board-photo,
  .accent-rule {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    width: 40px;
  }
  .hero-glow-track,
  .parallax-bg {
    transform: none !important;
  }
}

/* ── Who We Are — compact dark statement (no image) ── */
.who-feature {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
  background: var(--dark);
}
/* Subtle teal dot-grid texture so the dark moment isn't visually empty */
.who-feature-veil {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at center, transparent 0%, rgba(10,10,30,0.55) 90%),
    radial-gradient(rgba(45,206,207,0.05) 1px, transparent 1px);
  background-size: cover, 32px 32px;
  pointer-events: none;
}
.who-feature-content {
  position: relative;
  z-index: 2;
  max-width: 68ch;
}
.who-eyebrow {
  color: rgba(255, 255, 255, 0.55) !important;
}
.who-rule {
  background: rgba(255, 255, 255, 0.4) !important;
}
.who-rule.rule-drawn {
  width: 40px !important;
}
.who-headline {
  color: #fff !important;
  font-weight: 200;
  margin-bottom: 2rem;
}
.who-copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 58ch;
  margin-bottom: 2.5rem;
}
.who-cta {
  display: inline-block;
}

@media (max-width: 768px) {
  .who-feature { padding: 5rem 0; }
}

/* ── Global Presence — atmospheric globe background ── */
.global-feature {
  background: var(--dark);
  padding: 12rem 0;
  overflow: hidden;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
/* Globe video as ambient full-bleed background */
.global-feature-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.global-feature-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: screen;
  filter: saturate(1.2) brightness(1.1) contrast(0.95);
}
/* Veil layer — subtle dot-grid + radial vignette to deepen edges */
.global-feature-veil {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at center, transparent 0%, rgba(10,10,30,0.6) 90%),
    radial-gradient(rgba(45,206,207,0.04) 1px, transparent 1px);
  background-size: cover, 32px 32px;
  pointer-events: none;
}
.global-feature-content {
  position: relative;
  z-index: 1;
}
.global-eyebrow { color: rgba(255,255,255,0.55) !important; }
.global-rule {
  background: rgba(255,255,255,0.4) !important;
}
.global-rule.rule-drawn { width: 40px !important; }
.global-headline {
  color: #fff !important;
  font-weight: 200;
  margin-bottom: 2rem;
}
.global-copy {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 3rem;
}
.global-stat-row {
  display: flex;
  gap: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 1rem;
}
.global-stat { display: flex; flex-direction: column; gap: 0.4rem; align-items: center; }
.global-stat-num {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.global-stat-lbl {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
  .global-feature { padding: 7rem 0; min-height: 70vh; }
  .global-stat-row { gap: 2.5rem; flex-wrap: wrap; justify-content: center; }
  .global-stat-num { font-size: 1.6rem; }
}

/* ── Programs Preview — life-stages cinematic banner with parallax scroll ── */
.lifestages-feature {
  position: relative;
  min-height: 85vh;         /* Compact, but still enough scroll for parallax */
  padding: 20vh 0 20vh;     /* Text starts low, scrolls up over the image */
  overflow: hidden;
  background: var(--bg);
}
.lifestages-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.lifestages-bg img {
  width: 160%;
  height: 160%;
  object-fit: cover;
  object-position: center bottom;
  margin: -30%;             /* Large buffer for parallax movement */
  filter: saturate(0.95) contrast(1.02);
}
/* Veil softens the image so text reads cleanly as it passes over */
.lifestages-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.25) 30%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.4) 75%, rgba(255,255,255,0.85) 100%);
  pointer-events: none;
}
.lifestages-content {
  position: relative;
  z-index: 1;
  max-width: 60ch;
}
.lifestages-headline {
  color: var(--ink);
  font-weight: 200;
  margin-bottom: 1.5rem;
  /* Subtle text shadow so text floats cleanly over the figures */
  text-shadow: 0 1px 40px rgba(255,255,255,0.6);
}
.lifestages-copy {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 52ch;
  text-shadow: 0 1px 30px rgba(255,255,255,0.7);
}

@media (max-width: 900px) {
  .lifestages-feature { padding: 15vh 0 15vh; min-height: 70vh; }
  .lifestages-bg img { object-position: 60% bottom; }
  .lifestages-veil {
    background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.3) 40%, rgba(255,255,255,0.7) 100%);
  }
}

/* ── Centers Hero — crossfading reel with white veil ── */
.centers-hero {
  position: relative;
  min-height: 75vh;
  padding: 14rem 0 8rem;
  overflow: hidden;
  background: var(--bg);
}
.centers-hero-reel {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff; /* White base — shows through when images fade out */
}
.centers-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  filter: saturate(0.85) contrast(0.95);
  will-change: opacity;
}
.centers-slide-active {
  opacity: 1;
}
/* Heavy white veil — hides imperfections, lets text dominate */
.centers-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.78) 0%,
    rgba(255,255,255,0.72) 40%,
    rgba(255,255,255,0.85) 100%
  );
  pointer-events: none;
}
.centers-hero-content {
  position: relative;
  z-index: 2;
}
.centers-hero-content h1 {
  /* Slight text-shadow for max legibility over any frame */
  text-shadow: 0 2px 30px rgba(255,255,255,0.8);
}
.centers-hero-content p {
  text-shadow: 0 1px 24px rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
  .centers-hero { padding: 10rem 0 5rem; min-height: 60vh; }
  .centers-hero-veil {
    background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.82) 50%, rgba(255,255,255,0.92) 100%);
  }
}

/* ── Research Hero — embryo video atmospheric background ── */
.research-hero {
  position: relative;
  min-height: 80vh;
  padding: 14rem 0 8rem;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
}
.research-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff;
}
.research-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.4) brightness(1.1) contrast(0.92);
}
.research-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0.7) 100%
  );
  pointer-events: none;
}
.research-hero-content {
  position: relative;
  z-index: 2;
}
.research-hero-content h1 {
  text-shadow: 0 2px 30px rgba(255,255,255,0.7);
}
.research-hero-content p {
  text-shadow: 0 1px 24px rgba(255,255,255,0.8);
}
@media (max-width: 768px) {
  .research-hero { padding: 10rem 0 5rem; min-height: 65vh; }
}

/* ── Service timeline label (Programs page) ── */
.service-item > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
.service-timeline {
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1.65;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
  max-width: 100px;
}
@media (max-width: 700px) {
  .service-timeline { font-size: 0.6rem; max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════
   PAGE HERO CINEMATIC — reusable across all inner pages
   Supports both video and image backgrounds.
   ═══════════════════════════════════════════════════════════════════ */
.page-hero-cinematic {
  position: relative;
  min-height: 72vh;
  padding: 14rem 0 8rem;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
}
.page-hero-cinematic-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff;
  overflow: hidden;
}
.page-hero-cinematic-bg img,
.page-hero-cinematic-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.42;
  filter: saturate(0.6) brightness(1.05) contrast(0.95);
}
.page-hero-cinematic-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.38) 50%,
    rgba(255,255,255,0.7) 100%
  );
  pointer-events: none;
}
.page-hero-cinematic-content {
  position: relative;
  z-index: 2;
}
.page-hero-cinematic-content h1 {
  text-shadow: 0 2px 30px rgba(255,255,255,0.75);
}
.page-hero-cinematic-content p {
  text-shadow: 0 1px 24px rgba(255,255,255,0.85);
}
/* Dark variant — text light on darker veil (for darker images) */
.page-hero-cinematic.is-dark {
  background: var(--dark);
}
.page-hero-cinematic.is-dark .page-hero-cinematic-bg img,
.page-hero-cinematic.is-dark .page-hero-cinematic-bg video {
  opacity: 0.28;
  filter: saturate(0.5) brightness(0.9);
}
.page-hero-cinematic.is-dark .page-hero-cinematic-veil {
  background: linear-gradient(
    180deg,
    rgba(10,10,30,0.65) 0%,
    rgba(10,10,30,0.5) 50%,
    rgba(10,10,30,0.75) 100%
  );
}
.page-hero-cinematic.is-dark .page-hero-cinematic-content h1,
.page-hero-cinematic.is-dark .page-hero-cinematic-content h1 * {
  color: #fff !important;
  text-shadow: 0 2px 30px rgba(10,10,30,0.5);
}
.page-hero-cinematic.is-dark .page-hero-cinematic-content p {
  color: rgba(255,255,255,0.85) !important;
  text-shadow: 0 1px 24px rgba(10,10,30,0.5);
}
.page-hero-cinematic.is-dark .page-hero-cinematic-content .eyebrow {
  color: rgba(255,255,255,0.55) !important;
}
.page-hero-cinematic.is-dark .page-hero-cinematic-content .accent-rule {
  background: rgba(255,255,255,0.4) !important;
}
@media (max-width: 768px) {
  .page-hero-cinematic { padding: 9rem 0 5rem; min-height: 55vh; }
}

/* ── Companion form-factor cards ── */
.form-grid .initiative-block {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.form-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.form-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.form-grid .initiative-block:hover .form-image img {
  transform: scale(1.04);
}
.form-grid .initiative-block > .initiative-num,
.form-grid .initiative-block > h3,
.form-grid .initiative-block > p {
  padding-left: 2rem;
  padding-right: 2rem;
}
.form-grid .initiative-block > .initiative-num { padding-top: 1.75rem; }
.form-grid .initiative-block > p:last-child { padding-bottom: 1.75rem; }

/* ── Lifestyle gallery ── */
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.lifestyle-shot {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}
.lifestyle-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lifestyle-shot:hover img {
  transform: scale(1.05);
}
@media (max-width: 900px) {
  .lifestyle-grid { grid-template-columns: 1fr; gap: 1rem; }
}
