/* ═══════════════════════════════════════════════════════════
   g_enesis — Design System
   ═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --void:   #09183A;
  --core:   #1748CC;
  --signal: #4169E8;
  --trace:  #E6ECFC;
  --fog:    #F4F5F8;
  --white:  #FAFAFA;
  --ink:    #0D1224;
  --mist:   #8B92A8;
  --border: #DDE1EE;

  --mono:  'Courier Prime', monospace;
  --serif: 'EB Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;

  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --speed: 300ms;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── WORDMARK ───────────────────────────────────────────── */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  text-decoration: none;
}
.wordmark .g-prefix {
  font-family: var(--mono);
  font-weight: 400;
  color: var(--core);
}
.wordmark .g-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--void);
}
.wordmark.on-dark .g-prefix { color: #6B9BFF; }
.wordmark.on-dark .g-name   { color: var(--white); }

/* ─── PROGRESS BAR ───────────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--core);
  z-index: 1000;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ─── NAVIGATION ─────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(250, 250, 250, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100px;
  gap: 12px;
  padding: 0 80px;
  transition: height var(--speed) var(--ease), gap var(--speed) var(--ease);
}
#main-nav.scrolled .nav-inner { height: 70px; gap: 6px; }
.nav-wordmark { font-size: 34px; transition: font-size var(--speed) var(--ease); }
#main-nav.scrolled .nav-wordmark { font-size: 23px; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--core);
  border-bottom-color: var(--core);
}
.hamburger {
  display: none;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all var(--speed) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  transition: color var(--speed) var(--ease);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--core); }

/* ─── SECTION BASE ───────────────────────────────────────── */
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 48px;
}
.section-full { padding: 120px 48px; }
.section-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--core);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--void);
  line-height: 1.15;
  margin-bottom: 24px;
}
.section-title em { font-style: italic; }
.section-rule {
  width: 64px;
  height: 3px;
  background: var(--core);
  border: none;
  margin-bottom: 64px;
}
.dark-rule { background: rgba(255,255,255,0.15); }

/* ─── HERO ───────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--void);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(65, 105, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 105, 232, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-nodes-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.node-line {
  stroke: rgba(65, 105, 232, 0.18);
  stroke-width: 1;
  fill: none;
  animation: lineFade 4s ease-in-out infinite;
}
.node-line:nth-child(2) { animation-delay: 0.6s; }
.node-line:nth-child(3) { animation-delay: 1.2s; }
.node-line:nth-child(4) { animation-delay: 1.8s; }
.node-line:nth-child(5) { animation-delay: 0.3s; }
.node-line:nth-child(6) { animation-delay: 0.9s; }
.node-line:nth-child(7) { animation-delay: 1.5s; }
@keyframes lineFade {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}
.node-dot {
  fill: rgba(65, 105, 232, 0.5);
  animation: dotPulse 3s ease-in-out infinite;
}
.node-dot.bright { fill: rgba(107, 155, 255, 0.8); animation-delay: 1s; }
.node-dot:nth-child(odd) { animation-delay: 0.5s; }
@keyframes dotPulse {
  0%, 100% { opacity: 0.5; r: 3; }
  50%       { opacity: 1; r: 4.5; }
}
.node-ring {
  fill: none;
  stroke: rgba(65, 105, 232, 0.12);
  stroke-width: 1;
  animation: ringExpand 3s ease-out infinite;
}
@keyframes ringExpand {
  0%   { r: 6; opacity: 0.6; }
  100% { r: 24; opacity: 0; }
}
.hero-cursor-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65,105,232,0.1) 0%, transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: left 0.15s ease, top 0.15s ease;
  z-index: 1;
  left: 50%; top: 50%;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}
.hero-wordmark .g-prefix { font-size: 96px; color: #6B9BFF; }
.hero-wordmark .g-name   { font-size: 96px; color: var(--white); }

/* Typing cursor for hero wordmark */
.wordmark-cursor {
  display: inline-block;
  width: 4px;
  background: #6B9BFF;
  vertical-align: baseline;
  animation: typingBlink 0.7s step-end infinite;
  flex-shrink: 0;
  align-self: baseline;
}
.hero-wordmark .wordmark-cursor { height: 78px; }
@keyframes typingBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-tagline {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 32px;
  max-width: 580px;
  line-height: 1.7;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.hero-tagline.visible { opacity: 1; }
.hero-vdivider {
  width: 1px;
  height: 0;
  background: var(--core);
  margin: 36px auto 0;
  opacity: 0.7;
  transition: height 0.5s var(--ease);
}
.hero-vdivider.visible { height: 56px; }
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.hero-scroll-hint.visible { opacity: 1; }
.hero-scroll-hint span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
  animation: scrollBounce 2s ease-in-out 0.6s infinite;
}
.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}
.hero-bottom-rule {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--core);
}

/* ─── ABOUT ──────────────────────────────────────────────── */
#about { background: var(--white); }
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 32px;
}
.about-text p {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 20px;
  text-wrap: pretty;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { font-weight: 600; color: var(--void); }
.pull-quote-wrap {
  border-left: 3px solid var(--core);
  padding-left: 28px;
  margin-bottom: 32px;
}
.pull-quote {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--void);
  line-height: 1.5;
  min-height: 1.5em;
}
.pull-quote .cursor {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: var(--core);
  margin-left: 3px;
  vertical-align: baseline;
  animation: blink 0.75s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ─── FUNCTIONS GRID ────────────────────────────────────── */
.functions-section {
  margin-top: 96px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}
.functions-section-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 12px;
}
.functions-section h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  color: var(--void);
  margin-bottom: 40px;
  line-height: 1.3;
}
.functions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.fn-card {
  background: var(--white);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: background var(--speed) var(--ease);
}
.fn-card:hover { background: var(--fog); }
.fn-num {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  color: var(--core);
  margin-bottom: 16px;
  line-height: 1;
}
.fn-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--void);
  margin-bottom: 12px;
  line-height: 1.3;
}
.fn-desc {
  font-size: 13px;
  color: var(--mist);
  line-height: 1.65;
  text-wrap: pretty;
}

/* ─── CENTERPIECE / THESIS ──────────────────────────────── */
#thesis {
  background: var(--void);
  padding: 160px 48px;
  position: relative;
  overflow: hidden;
}
#thesis::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(65,105,232,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65,105,232,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
#thesis::after {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65,105,232,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.thesis-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.thesis-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #6B9BFF;
  margin-bottom: 32px;
}
.thesis-text {
  font-family: var(--serif);
  font-size: 80px;
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}
.thesis-text .accent { color: #6B9BFF; font-style: italic; }
.thesis-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  margin: 0 auto 36px;
}
.thesis-sub {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

/* ─── STATS ──────────────────────────────────────────────── */
#stats { background: var(--fog); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}
.stat-item {
  background: var(--fog);
  padding: 48px 32px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 400;
  color: var(--void);
  line-height: 1;
  margin-bottom: 14px;
}
.stat-number .accent { color: var(--core); }
.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
  line-height: 1.6;
  flex-grow: 1;
}
.stat-source {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--mist);
  font-style: italic;
}
.stat-source a {
  color: var(--mist);
  border-bottom: 1px dotted var(--mist);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.stat-source a:hover { color: var(--core); border-color: var(--core); }

/* ─── PRINCIPLES ─────────────────────────────────────────── */
#principles {
  background: var(--void);
  background-image:
    linear-gradient(rgba(65,105,232,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65,105,232,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
#principles .section-label { color: #6B9BFF; }
#principles .section-title { color: var(--white); }
.principles-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 48px;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
  margin-top: 64px;
}
.principle-card {
  background: rgba(255,255,255,0.02);
  padding: 44px 36px;
  border: 1px solid transparent;
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease);
  position: relative;
}
.principle-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(65,105,232,0.35);
}
.principle-card:hover .principle-num { color: #6B9BFF; }
.principle-card:hover .principle-icon { color: #6B9BFF; transform: translateY(-2px); }
.principle-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.principle-icon {
  width: 28px;
  height: 28px;
  color: rgba(107,155,255,0.55);
  flex-shrink: 0;
  transition: color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.principle-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.principle-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  color: rgba(107,155,255,0.55);
  line-height: 1;
  display: block;
  transition: color var(--speed) var(--ease);
}
.principle-name {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.principle-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.42);
  line-height: 1.7;
  text-wrap: pretty;
}

/* ─── PHOTO PLACEHOLDER ─────────────────────────────────── */
.photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--fog);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--speed) var(--ease);
}
.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(65,105,232,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65,105,232,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.photo-placeholder span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  color: var(--mist);
  z-index: 1;
  opacity: 0.55;
}
.photo-placeholder.small { aspect-ratio: 1 / 1; margin-bottom: 20px; }
.photo-placeholder.small span { font-size: 48px; }
.team-card:hover .photo-placeholder { border-color: var(--core); }

/* ─── CONTACT ICONS ─────────────────────────────────────── */
.person-contacts {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.contact-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--mist);
  transition: border-color var(--speed) var(--ease), color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.contact-icon:hover {
  border-color: var(--core);
  color: var(--core);
  background: var(--trace);
}
.contact-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ─── TEAM ───────────────────────────────────────────────── */
#team { background: var(--white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.team-card {
  padding: 28px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color var(--speed) var(--ease);
}
.team-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px;
  height: 0;
  background: var(--core);
  transition: height 0.5s var(--ease);
}
.team-card:hover { border-color: var(--core); }
.team-card:hover::before { height: 100%; }
.team-name {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  color: var(--void);
  margin-bottom: 6px;
}
.team-role {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--core);
  margin-bottom: 18px;
  line-height: 1.5;
}
.team-bio {
  font-size: 14px;
  color: var(--mist);
  line-height: 1.7;
  text-wrap: pretty;
}

/* ─── ADVISORS ───────────────────────────────────────────── */
#advisors { background: var(--fog); }
.advisors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.advisor-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color var(--speed) var(--ease);
}
.advisor-card:hover { border-color: var(--core); }
.advisor-card:hover .photo-placeholder { border-color: var(--core); }
.advisor-name {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--void);
  line-height: 1.2;
  margin-bottom: 4px;
}
.advisor-role {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--core);
  margin-bottom: 12px;
}
.advisor-affil {
  font-size: 13px;
  color: var(--mist);
  line-height: 1.55;
  margin-bottom: 8px;
  font-style: italic;
}

/* ─── RESEARCH ───────────────────────────────────────────── */
#research { background: var(--white); }
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.research-card {
  background: var(--fog);
  padding: 44px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background var(--speed) var(--ease);
}
.research-card:hover { background: var(--white); }
.research-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--core);
  transition: width 0.45s var(--ease);
}
.research-card:hover::after { width: 100%; }
.research-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--core);
  background: var(--trace);
  padding: 4px 10px;
  margin-bottom: 22px;
}
.research-title {
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  color: var(--void);
  margin-bottom: 14px;
  line-height: 1.25;
}
.research-desc {
  font-size: 15px;
  color: var(--mist);
  line-height: 1.7;
  text-wrap: pretty;
  margin-bottom: 24px;
}
.status-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px solid var(--border);
  padding: 4px 10px;
}

/* ─── EVENTS / ROADMAP ─────────────────────────────────── */
#roadmap { background: var(--fog); }
.timeline {
  margin-top: 64px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 148px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-item {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 48px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  align-items: start;
}
.timeline-item:first-child { border-top: 1px solid var(--border); }
.timeline-date {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  text-align: right;
  padding-right: 36px;
  padding-top: 5px;
  line-height: 1.4;
}
.timeline-marker {
  position: absolute;
  left: 142px;
  top: 36px;
  width: 13px;
  height: 13px;
  background: var(--fog);
  border: 2px solid var(--border);
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.timeline-item:hover .timeline-marker {
  border-color: var(--core);
  background: var(--core);
}
.timeline-marker.past { background: var(--core); border-color: var(--core); }
.timeline-type {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--core);
  margin-bottom: 8px;
}
.timeline-title {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--void);
  margin-bottom: 8px;
  line-height: 1.3;
}
.timeline-desc {
  font-size: 14px;
  color: var(--mist);
  line-height: 1.7;
  max-width: 580px;
}

/* ─── PARTNERS MARQUEE ──────────────────────────────────── */
#partners { background: var(--white); }
.marquee {
  position: relative;
  overflow: hidden;
  margin-top: 56px;
  padding: 48px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 96px;
  width: max-content;
  animation: marqueeScroll 90s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marq-item {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--void);
  filter: grayscale(1) brightness(1.4);
  opacity: 0.45;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
  white-space: nowrap;
}
.marq-item:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  color: var(--core);
  transform: scale(1.05);
}

/* ─── CONTACT ────────────────────────────────────────────── */
#contact {
  background: var(--void);
  background-image:
    linear-gradient(rgba(65,105,232,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65,105,232,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
#contact .section-label { color: #6B9BFF; }
#contact .section-title { color: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  margin-top: 64px;
  align-items: start;
}
.contact-item { margin-bottom: 36px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-lbl {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 6px;
}
.contact-val {
  font-size: 16px;
  color: var(--white);
  line-height: 1.5;
}
.contact-val a {
  color: #6B9BFF;
  transition: opacity var(--speed) var(--ease);
  border-bottom: 1px solid rgba(107,155,255,0.3);
  padding-bottom: 1px;
}
.contact-val a:hover { opacity: 0.7; }
.newsletter-box h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.newsletter-box p {
  font-size: 14px;
  color: rgba(255,255,255,0.42);
  margin-bottom: 28px;
  line-height: 1.7;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.form-field {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  padding: 13px 16px;
  outline: none;
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease);
  border-radius: 0;
  -webkit-appearance: none;
}
.form-field::placeholder { color: rgba(255,255,255,0.22); }
.form-field:focus {
  border-color: rgba(65,105,232,0.6);
  background: rgba(255,255,255,0.09);
}
.form-submit {
  width: 100%;
  margin-top: 4px;
  padding: 14px 32px;
  background: var(--core);
  color: var(--white);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 0;
  transition: background var(--speed) var(--ease);
}
.form-submit:hover { background: var(--signal); }
.form-note {
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  line-height: 1.5;
}
.form-note a { color: rgba(255,255,255,0.4); }
.form-note a:hover { color: rgba(255,255,255,0.7); }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--void);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 40px 48px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-wordmark { font-size: 15px; }
.footer-tagline {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
}
.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-links a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  transition: color var(--speed) var(--ease);
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-links a.admin {
  color: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 8px;
}
.footer-links a.admin:hover {
  color: rgba(107,155,255,0.9);
  border-color: rgba(107,155,255,0.4);
}
.footer-copy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.14);
}

/* ─── BACK TO TOP ────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--void);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), background var(--speed) var(--ease), border-color var(--speed) var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#back-to-top:hover {
  background: var(--core);
  border-color: var(--core);
}

/* ─── NEWSLETTER MODAL ──────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 24, 58, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  padding: 24px;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-card {
  background: var(--white);
  max-width: 520px;
  width: 100%;
  padding: 48px 44px 40px;
  position: relative;
  border-top: 3px solid var(--core);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.45s var(--ease);
}
.modal-overlay.open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  font-size: 22px;
  color: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.modal-close:hover { color: var(--core); background: var(--fog); }
.modal-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--core);
  margin-bottom: 16px;
  display: block;
}
.modal-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--void);
  line-height: 1.2;
  margin-bottom: 12px;
}
.modal-title em { font-style: italic; }
.modal-desc {
  font-size: 14px;
  color: var(--mist);
  line-height: 1.7;
  margin-bottom: 28px;
}
.modal-form .form-field {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ink);
}
.modal-form .form-field::placeholder { color: var(--mist); }
.modal-form .form-field:focus { border-color: var(--core); background: var(--fog); }
.modal-form .form-note { color: var(--mist); }
.modal-form .form-note a { color: var(--mist); }
.modal-form .form-note a:hover { color: var(--core); }

/* ─── NEWS PAGE ─────────────────────────────────────────── */
.news-section { background: var(--white); }
.news-list {
  margin-top: 64px;
  border-top: 1px solid var(--border);
}
.news-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--speed) var(--ease);
  align-items: start;
}
.news-item:hover { background: var(--fog); }
.news-date {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  padding-top: 6px;
  text-align: right;
  padding-right: 24px;
}
.news-content { display: flex; flex-direction: column; }
.news-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--core);
  background: var(--trace);
  padding: 3px 10px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.news-title {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  color: var(--void);
  line-height: 1.25;
  margin-bottom: 12px;
}
.news-excerpt {
  font-size: 15px;
  color: var(--mist);
  line-height: 1.7;
  text-wrap: pretty;
  max-width: 720px;
}
.news-readmore {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--core);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.news-readmore:hover { border-bottom-color: var(--core); }

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .principles-grid  { grid-template-columns: repeat(2, 1fr); }
  .about-cols       { grid-template-columns: 1fr; gap: 48px; }
  .functions-grid   { grid-template-columns: repeat(3, 1fr); }
  .advisors-grid    { grid-template-columns: repeat(2, 1fr); }
  .thesis-text      { font-size: 60px; }
}

@media (max-width: 768px) {
  .section-inner,
  .section-full,
  .principles-inner { padding: 80px 24px; }
  .section-title    { font-size: 36px; }
  .hero-wordmark .g-prefix,
  .hero-wordmark .g-name { font-size: 56px; }
  .hero-wordmark .wordmark-cursor { height: 50px; }
  .hero-tagline     { font-size: 10px; letter-spacing: 0.2em; }
  .nav-links        { display: none; }
  .hamburger        { display: flex; }
  .nav-inner {
    flex-direction: row;
    height: 64px;
    gap: 0;
    padding: 0 56px 0 24px;
    justify-content: flex-start;
  }
  #main-nav.scrolled .nav-inner { height: 60px; }
  .nav-wordmark               { font-size: 26px; }
  #main-nav.scrolled .nav-wordmark { font-size: 21px; }
  .team-grid        { grid-template-columns: 1fr; gap: 16px; }
  .research-grid    { grid-template-columns: 1fr; }
  .principles-grid  { grid-template-columns: 1fr; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .contact-grid     { grid-template-columns: 1fr; gap: 56px; }
  .form-row         { grid-template-columns: 1fr; }
  .functions-grid   { grid-template-columns: 1fr; }
  .advisors-grid    { grid-template-columns: 1fr; }
  .timeline::before { left: 80px; }
  .timeline-item    { grid-template-columns: 80px 1fr; gap: 28px; }
  .timeline-marker  { left: 74px; }
  .footer-inner     { flex-direction: column; align-items: flex-start; gap: 16px; }
  footer            { padding: 40px 24px; }
  #back-to-top      { bottom: 18px; right: 18px; width: 42px; height: 42px; }
  .modal-card       { padding: 36px 24px 28px; }
  .modal-title      { font-size: 26px; }
  .marq-item        { font-size: 17px; }
  .marquee-track    { gap: 64px; }
  .principle-num    { font-size: 36px; }
  #thesis           { padding: 100px 24px; }
  .thesis-text      { font-size: 42px; }
  .thesis-sub       { font-size: 17px; }
  .news-item        { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .news-date        { text-align: left; padding-right: 0; }
  .news-title       { font-size: 24px; }
}
