/* ═══════════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════════ */
:root {
  /* Dark surfaces */
  --dark:    #050e11;
  --dark-2:  #091618;
  --dark-3:  #0e1c20;
  --dark-4:  #142224;
  --dark-b:  rgba(255,255,255,.07);
  --dark-b2: rgba(255,255,255,.12);

  /* Accent palette — primary: emerald-green */
  --sky:        #0d8a9e;
  --sky-d:      #0a6a7a;
  --sky-soft:   rgba(13,138,158,.12);
  --sky-glow:   rgba(13,138,158,.32);

  --gold:       #f59e0b;
  --gold-d:     #d97706;
  --gold-soft:  rgba(245,158,11,.12);
  --gold-glow:  rgba(245,158,11,.35);

  --violet:     #8b5cf6;
  --violet-d:   #7c3aed;
  --violet-soft:rgba(139,92,246,.12);
  --violet-glow:rgba(139,92,246,.35);

  --coral:      #f97316;
  --coral-d:    #ea580c;
  --coral-soft: rgba(249,115,22,.12);

  --emerald:    #0d8a9e;
  --emerald-d:  #0a6a7a;
  --emerald-soft:rgba(13,138,158,.12);

  /* Light surfaces */
  --paper:   #ffffff;
  --surface: #f1f5f9;
  --panel:   #f8fafc;
  --line:    #e2e8f0;

  /* Ink (light bg) */
  --ink:     #0f172a;
  --ink-600: #334155;
  --ink-400: #64748b;
  --ink-300: #94a3b8;

  /* On-dark text */
  --tx1:  #f1f5f9;
  --tx2:  rgba(241,245,249,.62);
  --tx3:  rgba(241,245,249,.35);

  /* Radii */
  --r-xl: 24px;
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 9px;
  --r-xs: 6px;

  /* Shadows */
  --sh:    0 8px 32px rgba(6,15,30,.12);
  --sh-lg: 0 24px 64px rgba(6,15,30,.2);
  --sh-sky:   0 8px 32px rgba(13,138,158,.28);
  --sh-gold:  0 8px 32px rgba(245,158,11,.28);
  --sh-violet:0 8px 32px rgba(139,92,246,.28);

  --max-w: 1160px;
  --nav-h: 68px;
  --t: .22s ease;
}

/* ═══════════════════════════════════════════════════════
   RESET + BASE
   ═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--dark);
  color: var(--ink);
  font-family: "Public Sans","Segoe UI",sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Page transition overlay ── */
#pg-overlay {
  display: none;
}

h1,h2,h3,h4 {
  font-family: "Cormorant Garamond",Georgia,serif;
  line-height: 1.12; margin: 0 0 .5rem;
}
h1 { font-size: clamp(2.8rem,5.5vw,4.8rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.9rem,3.5vw,2.8rem); }
h3 { font-size: clamp(1.1rem,2vw,1.55rem); }
h4 { font-size: .97rem; font-weight: 600; line-height: 1.42; }

p,ul,ol { margin: 0 0 .8rem; }
a { color: var(--sky); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--sky-d); text-decoration: underline; }
img { max-width: 100%; }

/* ═══════════════════════════════════════════════════════
   FIXED DARK NAVIGATION
   ═══════════════════════════════════════════════════════ */
/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
  background: transparent;
}
.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--sky), var(--gold), var(--coral));
  border-radius: 0 2px 2px 0;
  transition: width .08s linear;
  box-shadow: 0 0 8px rgba(13,138,158,.5);
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(6,15,30,.88);
  border-bottom: 1px solid var(--dark-b);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .22s cubic-bezier(.4,0,.2,1), height .18s ease, background var(--t), box-shadow var(--t);
}
.site-nav.scrolled {
  background: rgba(6,15,30,.97);
  box-shadow: 0 4px 32px rgba(0,0,0,.4);
}
/* Smart hide: slides up when scrolling down */
.site-nav.nav-hidden {
  transform: translateY(-100%);
}
/* Compact: slightly shorter on scroll */
.site-nav.compact {
  height: 54px;
}
.site-nav.compact .nav-name small { display: none; }
.site-nav.compact .nav-badge { width: 32px; height: 32px; font-size: .9rem; border-radius: 9px; }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Brand: monogram badge + name */
.nav-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-badge {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--sky-d), #07505e);
  display: flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond",serif;
  font-size: 1.1rem; font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  flex-shrink: 0;
  box-shadow: var(--sh-sky);
}
.nav-name {
  font-family: "Cormorant Garamond",serif;
  font-size: 1.05rem; font-weight: 600;
  color: var(--tx1);
  line-height: 1.15;
}
.nav-name small {
  display: block;
  font-family: "Public Sans",sans-serif;
  font-size: .62rem; font-weight: 400;
  color: var(--tx3);
  text-transform: uppercase; letter-spacing: .1em;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand:hover .nav-badge { transform: scale(1.06); }
.nav-badge { transition: transform var(--t); }

/* Page links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin-left: auto;
  position: relative;  /* needed for sliding pill */
}

/* Sliding background pill — moved by JS */
.nav-pill {
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  pointer-events: none;
  z-index: 0;
  transition:
    left   .22s cubic-bezier(.4,0,.2,1),
    width  .22s cubic-bezier(.4,0,.2,1),
    top    .22s cubic-bezier(.4,0,.2,1),
    height .22s cubic-bezier(.4,0,.2,1),
    opacity .15s ease;
}

.nav-links a {
  color: var(--tx2);
  font-size: .84rem; font-weight: 500;
  padding: .4rem .72rem;
  border-radius: 999px;
  transition: color .18s ease, transform .1s ease;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  z-index: 1;           /* above the sliding pill */
  overflow: hidden;     /* for ripple clipping */
}
.nav-links a:hover { color: var(--tx1); text-decoration: none; }
.nav-links a:active { transform: scale(0.91); }

/* Active page — green text + subtle dot indicator */
.nav-links a.active-page {
  color: var(--sky);
  font-weight: 600;
}
.nav-links a.active-page::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--sky);
}

/* ── Click-ripple element (injected by JS) ── */
.nav-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(13,138,158,.28);
  transform: scale(0);
  animation: navRipple .32s cubic-bezier(.4,0,.2,1) forwards;
  pointer-events: none;
  z-index: 0;
}
@keyframes navRipple {
  to { transform: scale(5); opacity: 0; }
}

/* Nav-brand press feel */
.nav-brand:active .nav-badge { transform: scale(0.9); }

/* CTA button (desktop only — duplicate of the nav-links Contact on mobile) */
.nav-cta {
  margin-left: .8rem;
  display: inline-flex; align-items: center;
  background: var(--sky);
  color: #fff;
  font: inherit; font-size: .82rem; font-weight: 600;
  padding: .42rem 1rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  transition: all var(--t);
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--sky-d);
  color: #fff;
  box-shadow: var(--sh-sky);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Contact link inside nav-links — hidden on desktop (nav-cta handles it) */
.nav-contact-link {
  display: none !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--dark-b2);
  border: 1px solid var(--dark-b2);
  color: var(--tx1);
  border-radius: 8px;
  padding: .35rem .55rem;
  font: inherit; font-size: .85rem;
  cursor: pointer;
}

/* Anchor offset so fixed nav doesn't cover section targets */
[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center;
  border-radius: 999px;
  padding: .62rem 1.4rem;
  border: 1.5px solid transparent;
  font: inherit; font-size: .9rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all var(--t);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-sky {
  background: var(--sky);
  color: #fff; border-color: var(--sky);
}
.btn-sky:hover { background: var(--sky-d); border-color: var(--sky-d); box-shadow: var(--sh-sky); color: #fff; }

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,.82);
  border-color: rgba(255,255,255,.22);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.45);
  color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--sky);
  border-color: var(--sky);
}
.btn-outline-dark:hover {
  background: var(--sky-soft);
  box-shadow: var(--sh-sky);
  color: var(--sky-d);
}

/* ═══════════════════════════════════════════════════════
   HERO — full viewport (index.html only)
   ═══════════════════════════════════════════════════════ */
.hero-full {
  min-height: 100vh;
  padding-top: var(--nav-h);
  background: var(--dark);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Animated ambient glow mesh */
.hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 12% 48%, rgba(13,138,158,.14) 0%, transparent 60%),
    radial-gradient(ellipse 45% 60% at 88% 18%, rgba(245,158,11,.09) 0%, transparent 60%),
    radial-gradient(ellipse 38% 45% at 58% 88%, rgba(249,115,22,.06) 0%, transparent 60%),
    radial-gradient(ellipse 35% 35% at 42% 28%, rgba(139,92,246,.05) 0%, transparent 60%);
  animation: meshDrift 14s ease-in-out infinite alternate;
}
.hero-mesh::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,138,158,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,138,158,.018) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.032) 1px, transparent 0);
  background-size: 80px 80px, 80px 80px, 28px 28px;
}

@keyframes meshDrift {
  from { transform: scale(1) translate(0,0); }
  to   { transform: scale(1.06) translate(-2%,1.5%); }
}

.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem,7vw,6rem) 1.5rem clamp(2rem,4vw,3rem);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

.hero-text { max-width: 65ch; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--sky);
  background: linear-gradient(135deg, rgba(13,138,158,.18), rgba(13,138,158,.06));
  border: 1px solid rgba(13,138,158,.32);
  border-radius: 999px;
  padding: .3rem .9rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 0 20px rgba(13,138,158,.12);
}
.hero-eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--sky);
  animation: liveBlink 2s ease-in-out infinite;
}
@keyframes liveBlink {
  0%,100% { opacity: 1; }
  50%     { opacity: .25; }
}

/* Gradient animated name — emerald → gold → coral */
.grad-text {
  background: linear-gradient(135deg, #5bc3d8 0%, #fbbf24 38%, #f97316 65%, #5bc3d8 100%);
  background-size: 260% 260%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 8s ease-in-out infinite;
}

@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--tx2);
  max-width: 54ch;
  line-height: 1.82;
  margin: .9rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(13,138,158,.38);
}

.hero-role {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .97rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .35rem;
  letter-spacing: .01em;
}
.hero-role::before {
  content: '';
  width: 22px; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-actions {
  margin-top: 2rem;
  display: flex; gap: .75rem; flex-wrap: wrap;
}

/* Hero expertise tags */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1rem;
}
.htag {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .22rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--dark-b2);
  color: var(--tx3);
  background: rgba(255,255,255,.04);
  transition: all .22s ease;
  cursor: default;
}
.htag:hover { color: var(--sky); border-color: rgba(13,138,158,.38); background: rgba(13,138,158,.09); }
.htag-sky    { border-color: rgba(13,138,158,.22);  color: rgba(13,138,158,.7); }
.htag-gold   { border-color: rgba(245,158,11,.22);  color: rgba(245,158,11,.7); }
.htag-violet { border-color: rgba(139,92,246,.22);  color: rgba(139,92,246,.7); }
.htag-coral  { border-color: rgba(249,115,22,.22);  color: rgba(249,115,22,.7); }
.htag-sky:hover    { background: rgba(13,138,158,.1);  color: var(--sky);    border-color: rgba(13,138,158,.4); }
.htag-gold:hover   { background: rgba(245,158,11,.1);  color: var(--gold);   border-color: rgba(245,158,11,.4); }
.htag-violet:hover { background: rgba(139,92,246,.1);  color: var(--violet); border-color: rgba(139,92,246,.4); }
.htag-coral:hover  { background: rgba(249,115,22,.1);  color: var(--coral);  border-color: rgba(249,115,22,.4); }

/* ── Hero credential row ── */
.hero-credential-row {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1.3rem;
  flex-wrap: wrap;
}
.hero-cred-badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(13,138,158,.1);
  border: 1px solid rgba(13,138,158,.3);
  border-radius: 5px;
  padding: .18rem .52rem;
}
.hero-cred-dot {
  color: var(--tx3);
  font-size: .85rem;
  line-height: 1;
}
.hero-cred-title {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .88;
}

/* ── Hero social links ── */
.hero-social {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.25rem;
  margin-bottom: .25rem;
}
.hero-social-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tx3);
  margin-right: .3rem;
}
.hsocial-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: var(--tx3);
  text-decoration: none;
  transition: all .22s ease;
  flex-shrink: 0;
}
.hsocial-link:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.hsocial-linkedin:hover { background: rgba(10,102,194,.18); border-color: rgba(10,102,194,.45); color: #5aadff; }
.hsocial-twitter:hover  { background: rgba(255,255,255,.1);  border-color: rgba(255,255,255,.3);  color: #e7e9ea; }
.hsocial-facebook:hover { background: rgba(24,119,242,.18); border-color: rgba(24,119,242,.45); color: #5b9ef8; }

/* ── Footer social row ── */
.footer-social-row {
  display: flex;
  gap: .45rem;
  margin-top: .9rem;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: var(--tx3);
  text-decoration: none;
  transition: all .22s ease;
  flex-shrink: 0;
}
.footer-social-link:hover { transform: translateY(-2px); }
.fsocial-linkedin:hover { background: rgba(10,102,194,.18); border-color: rgba(10,102,194,.4); color: #5aadff; }
.fsocial-twitter:hover  { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #e7e9ea; }
.fsocial-facebook:hover { background: rgba(24,119,242,.18); border-color: rgba(24,119,242,.4); color: #5b9ef8; }

/* ── Hero dot-grid overlay ── */
.hero-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 5%, rgba(0,0,0,.35) 25%, rgba(0,0,0,.35) 75%, transparent 95%);
  mask-image: linear-gradient(to bottom, transparent 5%, rgba(0,0,0,.35) 25%, rgba(0,0,0,.35) 75%, transparent 95%);
}

/* Floating monogram orb (right side) */
.hero-orb {
  width: 340px; height: 340px;
  flex-shrink: 0;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

/* Orb backdrop glow */
.hero-orb::before {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,138,158,.16) 0%, transparent 70%);
  animation: orbPulse 6s ease-in-out infinite;
  z-index: 0;
}

.orb-core {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 38%, rgba(13,138,158,.22), rgba(245,158,11,.1) 60%, transparent);
  border: 1px solid rgba(13,138,158,.35);
  display: flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond",serif;
  font-size: 3.5rem; font-weight: 700;
  color: rgba(255,255,255,.88);
  letter-spacing: .08em;
  animation: orbPulse 6s ease-in-out infinite;
  position: relative; z-index: 2;
}

@keyframes orbPulse {
  0%,100% { box-shadow: 0 0 40px rgba(13,138,158,.18), inset 0 0 28px rgba(13,138,158,.08); }
  50%     { box-shadow: 0 0 80px rgba(13,138,158,.32), inset 0 0 44px rgba(13,138,158,.13); }
}

.orb-core.orb-photo {
  background: #0c1a2e;
  border: 3px solid rgba(13,138,158,.55);
  overflow: hidden;
  padding: 0;
  display: block;
  box-shadow:
    0 0 0 7px rgba(13,138,158,.07),
    0 0 0 8px rgba(245,158,11,.06),
    0 0 55px rgba(13,138,158,.28),
    0 0 90px rgba(13,138,158,.1);
}
.orb-photo img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.orb-r1 {
  width: 248px; height: 248px;
  border: 1px dashed rgba(13,138,158,.28);
  animation: spinRing 22s linear infinite;
}
.orb-r2 {
  width: 300px; height: 300px;
  border: 1px solid rgba(139,92,246,.18);
  animation: spinRing 36s linear infinite reverse;
}
.orb-r3 {
  width: 336px; height: 336px;
  border: 1px dashed rgba(255,255,255,.06);
  animation: spinRing 52s linear infinite;
}

/* Research area chips floating around orb */
.orb-chip {
  position: absolute;
  font-size: .67rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .26rem .7rem;
  border-radius: 999px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  z-index: 10;
  cursor: default;
}
.orb-chip-1 {
  top: 14%; left: -8px; transform: translateX(-100%);
  background: rgba(13,138,158,.14); border: 1px solid rgba(13,138,158,.35); color: #5bc3d8;
  animation: chipBob 5s ease-in-out infinite;
}
.orb-chip-2 {
  bottom: 18%; left: -8px; transform: translateX(-100%);
  background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.32); color: var(--gold);
  animation: chipBob 5s ease-in-out infinite .8s;
}
.orb-chip-3 {
  top: 10%; right: -8px; transform: translateX(100%);
  background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.32); color: var(--violet);
  animation: chipBob 5s ease-in-out infinite 1.6s;
}
.orb-chip-4 {
  bottom: 12%; right: -8px; transform: translateX(100%);
  background: rgba(249,115,22,.1); border: 1px solid rgba(249,115,22,.3); color: var(--coral);
  animation: chipBob 5s ease-in-out infinite 2.4s;
}
@keyframes chipBob {
  0%,100% { transform: translateX(-100%) translateY(0); }
  50%     { transform: translateX(-100%) translateY(-7px); }
}
.orb-chip-3, .orb-chip-4 {
  animation-name: chipBobRight;
}
@keyframes chipBobRight {
  0%,100% { transform: translateX(100%) translateY(0); }
  50%     { transform: translateX(100%) translateY(-7px); }
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Stats strip (bottom of hero) ─── */
.stats-strip {
  position: relative; z-index: 2;
  border-top: none;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  background: rgba(255,255,255,.02);
}

.stat-cell {
  padding: 1.5rem 1.6rem;
  border-right: 1px solid var(--dark-b);
  border-top: 2px solid transparent;
  transition: background var(--t), border-top-color var(--t);
  cursor: default;
  position: relative;
}
.stat-cell:nth-child(1) { border-top-color: rgba(13,138,158,.6); }
.stat-cell:nth-child(2) { border-top-color: rgba(245,158,11,.6); }
.stat-cell:nth-child(3) { border-top-color: rgba(139,92,246,.6); }
.stat-cell:nth-child(4) { border-top-color: rgba(249,115,22,.6); }
.stat-cell:nth-child(1):hover { background: rgba(13,138,158,.05); }
.stat-cell:nth-child(2):hover { background: rgba(245,158,11,.05); }
.stat-cell:nth-child(3):hover { background: rgba(139,92,246,.05); }
.stat-cell:nth-child(4):hover { background: rgba(249,115,22,.05); }
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: rgba(255,255,255,.03); }

.stat-num {
  display: block;
  font-family: "Cormorant Garamond",serif;
  font-size: 2.4rem; font-weight: 700;
  line-height: 1; margin-bottom: .28rem;
}
.stat-num.c-sky    { color: var(--sky); }
.stat-num.c-gold   { color: var(--gold); }
.stat-num.c-violet { color: var(--violet); }
.stat-num.c-coral  { color: var(--coral); }
.stat-num.c-emerald{ color: var(--emerald); }

.stat-label {
  font-size: .78rem;
  color: var(--tx3);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════
   PAGE HEADER (sub-pages)
   ═══════════════════════════════════════════════════════ */
.page-header {
  padding-top: var(--nav-h);
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(13,138,158,.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 30%, rgba(245,158,11,.07) 0%, transparent 55%);
}
.page-header-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 3.5rem;
}
.page-header .kicker {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--sky);
  background: var(--sky-soft);
  border: 1px solid rgba(13,138,158,.22);
  border-radius: 999px;
  padding: .25rem .7rem;
  display: inline-block;
  margin-bottom: 1rem;
}
.page-header h1 { color: var(--tx1); }
.page-header .subtitle {
  color: var(--tx2);
  font-size: 1.05rem;
  max-width: 60ch;
  margin-top: .6rem;
}

/* ═══════════════════════════════════════════════════════
   CONTENT WRAPPER
   ═══════════════════════════════════════════════════════ */
.content-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ═══════════════════════════════════════════════════════
   SECTIONS — light + dark variants
   ═══════════════════════════════════════════════════════ */
.section-light {
  background: var(--surface);
  padding: clamp(3rem,6vw,5rem) 0;
}

.section-dark {
  background: var(--dark-2);
  padding: clamp(3rem,6vw,5rem) 0;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(13,138,158,.08) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 15% 70%, rgba(245,158,11,.04) 0%, transparent 55%);
  pointer-events: none;
}

/* Section headings */
.sec-head { margin-bottom: 2.5rem; }

.sec-kicker {
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: .35rem;
  display: block;
}
.sec-kicker.on-dark { color: var(--sky); }

.sec-head h2 {
  position: relative;
  display: inline-block;
  padding-bottom: .6rem;
}
.sec-head h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 56px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--sky), var(--violet));
}
.sec-head.on-dark h2 { color: var(--tx1); }
.sec-head.on-dark h2::after { background: linear-gradient(to right, var(--sky), var(--gold)); }

.sec-lead {
  font-size: .97rem;
  color: var(--ink-400);
  max-width: 72ch;
  margin-top: .5rem;
}
.sec-lead.on-dark { color: var(--tx2); }

/* "View all" link row */
.see-all-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1.5rem;
}
.see-all {
  font-size: .85rem; font-weight: 600;
  color: var(--sky);
  border: 1.5px solid rgba(13,138,158,.3);
  border-radius: 999px;
  padding: .38rem .85rem;
  transition: all var(--t);
  text-decoration: none;
}
.see-all:hover {
  background: var(--sky-soft);
  border-color: var(--sky);
  text-decoration: none;
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════
   GRID HELPERS
   ═══════════════════════════════════════════════════════ */
.grid-2 { display: grid; gap: 1.1rem; grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-3 { display: grid; gap: 1rem; grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid-4 { display: grid; gap: 1rem; grid-template-columns: repeat(4,minmax(0,1fr)); }

/* ═══════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════ */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  position: relative; overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--sky), var(--violet));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.card:hover { box-shadow: var(--sh); transform: translateY(-4px); }
.card:hover::before { transform: scaleX(1); }

.card h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: .6rem; }
.card ul { margin: 0; padding-left: 1.1rem; }
.card li { font-size: .9rem; color: var(--ink-600); margin-bottom: .4rem; }
.card li strong { color: var(--ink); }

/* Glass card (on dark sections) */
.glass-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--dark-b2);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--t), box-shadow var(--t), transform var(--t);
}
.glass-card:hover {
  background: rgba(255,255,255,.07);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
  transform: translateY(-4px);
}
.glass-card h3 { color: var(--tx1); }
.glass-card p  { color: var(--tx2); font-size: .92rem; }

/* Colored stat/metric cards */
.metric-card {
  border-radius: var(--r-lg);
  padding: 1.5rem 1.3rem;
  position: relative; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
  cursor: default;
}
.metric-card:hover { transform: translateY(-5px); }

.metric-card.sky    { background: linear-gradient(145deg,#040d1a,#061530); border: 1px solid rgba(13,138,158,.2); }
.metric-card.gold   { background: linear-gradient(145deg,#1a1505,#231b08); border: 1px solid rgba(245,158,11,.2); }
.metric-card.violet { background: linear-gradient(145deg,#120d2a,#180f33); border: 1px solid rgba(139,92,246,.2); }
.metric-card.emerald{ background: linear-gradient(145deg,#040c1e,#06153a); border: 1px solid rgba(13,138,158,.2); }

.metric-card.sky:hover    { box-shadow: var(--sh-sky); }
.metric-card.gold:hover   { box-shadow: var(--sh-gold); }
.metric-card.violet:hover { box-shadow: var(--sh-violet); }

.metric-label {
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--tx3); margin-bottom: .55rem;
}
.metric-num {
  font-family: "Cormorant Garamond",serif;
  font-size: 2.6rem; font-weight: 700;
  line-height: 1; margin-bottom: .3rem;
}
.metric-card.sky .metric-num    { color: var(--sky); }
.metric-card.gold .metric-num   { color: var(--gold); }
.metric-card.violet .metric-num { color: var(--violet); }
.metric-card.emerald .metric-num{ color: var(--emerald); }

.metric-sub { font-size: .8rem; color: var(--tx3); }

/* Metric card glow spot */
.metric-card::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -20px;
  width: 130px; height: 130px;
  border-radius: 50%;
  pointer-events: none;
}
.metric-card.sky::after    { background: radial-gradient(circle, var(--sky-glow) 0%, transparent 65%); }
.metric-card.gold::after   { background: radial-gradient(circle, var(--gold-glow) 0%, transparent 65%); }
.metric-card.violet::after { background: radial-gradient(circle, var(--violet-glow) 0%, transparent 65%); }
.metric-card.emerald::after{ background: radial-gradient(circle, rgba(13,138,158,.3) 0%, transparent 65%); }

/* ═══════════════════════════════════════════════════════
   RESEARCH PILLARS
   ═══════════════════════════════════════════════════════ */
.pillars { display: grid; gap: 1rem; grid-template-columns: repeat(2,minmax(0,1fr)); }

.pillar {
  border-radius: var(--r-lg);
  padding: 1.5rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.pillar::before {
  content: attr(data-num);
  position: absolute;
  top: -.5rem; right: .8rem;
  font-family: "Cormorant Garamond",serif;
  font-size: 5.5rem; font-weight: 700;
  line-height: 1; pointer-events: none;
  user-select: none;
  opacity: .07;
  color: currentColor;
}

.pillar[data-color="sky"]    { color: var(--sky); }
.pillar[data-color="gold"]   { color: var(--gold); }
.pillar[data-color="violet"] { color: var(--violet); }
.pillar[data-color="coral"]  { color: var(--coral); }

.pillar .pillar-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: .9rem;
}
.pillar[data-color="sky"]    .pillar-icon { background: var(--sky-soft); }
.pillar[data-color="gold"]   .pillar-icon { background: var(--gold-soft); }
.pillar[data-color="violet"] .pillar-icon { background: var(--violet-soft); }
.pillar[data-color="coral"]  .pillar-icon { background: var(--coral-soft); }

.pillar .pillar-left {
  width: 4px;
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-radius: 4px 0 0 4px;
}
.pillar[data-color="sky"]    .pillar-left { background: var(--sky); }
.pillar[data-color="gold"]   .pillar-left { background: var(--gold); }
.pillar[data-color="violet"] .pillar-left { background: var(--violet); }
.pillar[data-color="coral"]  .pillar-left { background: var(--coral); }

.pillar h3 { color: var(--ink); font-size: 1.08rem; margin-bottom: .4rem; }
.pillar p  { font-size: .9rem; color: var(--ink-400); margin: 0; }

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
}
.pillar[data-color="sky"]:hover    { border-color: rgba(13,138,158,.35); box-shadow: 0 12px 40px rgba(13,138,158,.12); }
.pillar[data-color="gold"]:hover   { border-color: rgba(245,158,11,.35); box-shadow: 0 12px 40px rgba(245,158,11,.12); }
.pillar[data-color="violet"]:hover { border-color: rgba(139,92,246,.35); box-shadow: 0 12px 40px rgba(139,92,246,.12); }
.pillar[data-color="coral"]:hover  { border-color: rgba(249,115,22,.35); box-shadow: 0 12px 40px rgba(249,115,22,.12); }

/* ═══════════════════════════════════════════════════════
   TIMELINE (education, roles)
   ═══════════════════════════════════════════════════════ */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: .6rem;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .9rem; align-items: baseline;
}
.timeline li:last-child { border-bottom: none; }
.timeline-year { font-weight: 700; color: var(--gold); font-size: .82rem; }

/* ═══════════════════════════════════════════════════════
   ENTRY ROWS (projects, grants)
   ═══════════════════════════════════════════════════════ */
.entry-list { display: grid; gap: .7rem; }

.entry {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid transparent;
  border-radius: var(--r-md);
  padding: .95rem 1.1rem;
  transition: all var(--t);
}
.entry:hover { border-left-color: var(--sky); transform: translateX(4px); box-shadow: 0 4px 20px rgba(13,138,158,.09); }

.entry-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .7rem; margin-bottom: .25rem;
}
.entry-head h4 { flex: 1; margin: 0; font-size: .96rem; color: var(--ink); line-height: 1.42; }
.entry .meta { font-size: .82rem; color: var(--ink-400); margin-bottom: .22rem; }

.entry-link {
  display: inline-block;
  margin-top: .5rem;
  font-size: .82rem; font-weight: 600;
  color: var(--sky);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t);
}
.entry-link:hover { border-bottom-color: var(--sky); }

.grant-amount {
  font-family: "Cormorant Garamond",serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--sky); white-space: nowrap; flex-shrink: 0;
}
.grant-funder { font-size: .82rem; color: var(--ink-400); font-style: italic; margin: 0; }

/* STATUS PILLS */
.pill {
  display: inline-block;
  font-size: .67rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .15rem .46rem;
  border-radius: 999px; white-space: nowrap; flex-shrink: 0;
}
.pill-active   { background: rgba(13,138,158,.1); color: #043d47; border: 1px solid rgba(13,138,158,.22); }
.pill-review   { background: rgba(245,158,11,.1);  color: #78350f; border: 1px solid rgba(245,158,11,.22); }
.pill-planned  { background: var(--sky-soft);      color: #043d47; border: 1px solid rgba(13,138,158,.22); }

/* ═══════════════════════════════════════════════════════
   PUBLICATIONS
   ═══════════════════════════════════════════════════════ */
.pub-toolbar {
  display: flex; align-items: center;
  gap: .8rem; flex-wrap: wrap;
  margin-bottom: 1.3rem;
}
.count-chip {
  display: inline-block;
  font-size: .77rem; font-weight: 600;
  background: var(--sky-soft);
  color: var(--sky-d);
  border: 1px solid rgba(13,138,158,.2);
  padding: .15rem .55rem;
  border-radius: 999px;
}

.filter-row { display: flex; flex-wrap: wrap; gap: .4rem; }

.filter-btn {
  font: inherit; font-size: .8rem; font-weight: 500;
  border-radius: 999px;
  padding: .3rem .72rem;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink-400);
  cursor: pointer;
  transition: all var(--t);
}
.filter-btn:hover { border-color: var(--sky); color: var(--sky); }
.filter-btn.active {
  border-color: var(--sky);
  background: var(--sky-soft);
  color: var(--sky-d);
  font-weight: 600;
}

.pub-list { display: grid; gap: .75rem; }

.pub-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--r-md);
  padding: 1.05rem 1.15rem 1.05rem 1.2rem;
  transition: all var(--t);
}
.pub-item:hover {
  border-left-color: var(--sky);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(13,138,158,.09);
}

.pub-year-tag {
  display: inline-block;
  font-size: .68rem; font-weight: 700;
  color: var(--gold-d);
  background: rgba(245,158,11,.1);
  border-radius: 999px;
  padding: .1rem .44rem;
  margin-bottom: .38rem;
  letter-spacing: .04em;
}

.pub-item h4 { font-size: .96rem; color: var(--ink); line-height: 1.42; margin-bottom: .25rem; }
.pub-authors { font-size: .82rem; color: var(--ink-400); margin-bottom: .2rem; line-height: 1.4; }
.pub-journal { font-size: .85rem; color: var(--ink-600); margin-bottom: .38rem; }

.pub-foot { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }

.doi-link {
  font-size: .8rem; font-weight: 600;
  color: var(--sky); transition: color var(--t);
}
.doi-link:hover { color: var(--sky-d); text-decoration: underline; }
.doi-link.muted { color: var(--ink-300); font-weight: 400; }

.badges { display: flex; flex-wrap: wrap; gap: .28rem; }
.badge {
  font-size: .67rem; font-weight: 500;
  background: #eff6ff; color: #1e40af;
  border: 1px solid #bfdbfe;
  padding: .1rem .4rem;
  border-radius: 999px;
  text-transform: capitalize;
}

/* Under review */
.under-review-mark {
  display: inline-block;
  font-size: .66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--gold-d);
  background: var(--gold-soft);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: 999px;
  padding: .12rem .48rem;
  margin-bottom: .42rem;
}

/* Year bar chart */
.year-chart { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 2rem; }
.year-bar-row {
  display: grid;
  grid-template-columns: 3rem 1fr 2rem;
  align-items: center;
  gap: .65rem;
}
.year-bar-label { font-size: .78rem; font-weight: 600; color: var(--ink-400); text-align: right; }
.year-bar-track {
  height: 10px;
  background: var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.year-bar-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(to right, var(--sky), var(--violet));
  width: 0;
  transition: width 1.1s cubic-bezier(.4,0,.2,1);
}
.year-bar-count { font-size: .75rem; color: var(--ink-300); text-align: left; }

/* ═══════════════════════════════════════════════════════
   FUNDING PAGE: DONUT CHART + BARS
   ═══════════════════════════════════════════════════════ */
.funding-visual {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.donut-wrap {
  position: relative;
  width: 220px; height: 220px;
  flex-shrink: 0;
}

.donut-chart {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: conic-gradient(
    var(--sky)     0%    54.3%,
    var(--gold)   54.3%  94.8%,
    var(--coral)  94.8%  100%
  );
  -webkit-mask: radial-gradient(transparent 42%, black 43%);
  mask: radial-gradient(transparent 42%, black 43%);
  animation: donutSpin 1.2s cubic-bezier(.4,0,.2,1) both;
  filter: drop-shadow(0 4px 24px rgba(13,138,158,.2));
}

@keyframes donutSpin {
  from { opacity: 0; transform: scale(.7) rotate(-90deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

.donut-center {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.donut-total {
  font-family: "Cormorant Garamond",serif;
  font-size: 1.55rem; font-weight: 700;
  color: var(--tx1); line-height: 1;
}
.donut-sub { font-size: .7rem; color: var(--tx3); margin-top: .2rem; }

.donut-legend { display: flex; flex-direction: column; gap: .7rem; }
.legend-item { display: flex; align-items: center; gap: .65rem; }
.legend-dot {
  width: 13px; height: 13px;
  border-radius: 4px; flex-shrink: 0;
}
.legend-dot.sky    { background: var(--sky); }
.legend-dot.gold   { background: var(--gold); }
.legend-dot.coral  { background: var(--coral); }

.legend-text strong { font-size: .88rem; color: var(--tx1); display: block; line-height: 1.3; }
.legend-text span   { font-size: .78rem; color: var(--tx2); }

/* Horizontal animated bars */
.grant-bars { display: flex; flex-direction: column; gap: 1rem; }

.grant-bar-item { }
.grant-bar-meta {
  display: flex; align-items: baseline;
  justify-content: space-between;
  margin-bottom: .35rem;
}
.grant-bar-title { font-size: .88rem; color: var(--ink); font-weight: 500; flex: 1; padding-right: .7rem; }
.grant-bar-amount { font-family: "Cormorant Garamond",serif; font-size: 1rem; font-weight: 700; color: var(--sky); flex-shrink: 0; }

.grant-bar-track {
  height: 10px; background: var(--line);
  border-radius: 6px; overflow: hidden;
}
.grant-bar-fill {
  height: 100%; border-radius: 6px;
  width: 0;
  transition: width 1.3s cubic-bezier(.4,0,.2,1);
}
.grant-bar-fill.c-sky    { background: linear-gradient(to right, var(--sky), #5bc3d8); }
.grant-bar-fill.c-gold   { background: linear-gradient(to right, var(--gold), #fcd34d); }
.grant-bar-fill.c-violet { background: linear-gradient(to right, var(--violet), #a78bfa); }
.grant-bar-fill.c-coral  { background: linear-gradient(to right, var(--coral), #fb923c); }
.grant-bar-fill.c-emerald{ background: linear-gradient(to right, var(--emerald), #5bc3d8); }

/* ═══════════════════════════════════════════════════════
   MEDIA CARDS
   ═══════════════════════════════════════════════════════ */
.media-grid {
  display: grid; gap: .8rem;
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.media-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.05rem 1.1rem;
  position: relative; overflow: hidden;
  transition: all var(--t);
}
.media-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--sky), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .32s ease;
}
.media-card:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.media-card:hover::before { transform: scaleX(1); }

.media-meta { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin-bottom: .3rem; }
.media-date { font-size: .78rem; color: var(--ink-400); font-weight: 500; }
.media-type {
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  background: #eff6ff; color: #1e40af;
  border: 1px solid #bfdbfe;
  padding: .1rem .42rem; border-radius: 999px;
}
.media-card h4 { margin: 0 0 .22rem; font-size: .93rem; font-weight: 600; }
.media-card h4 a { color: var(--ink); transition: color var(--t); }
.media-card h4 a:hover { color: var(--sky); text-decoration: underline; }
.media-outlet { margin: 0; font-size: .8rem; color: var(--ink-400); font-style: italic; }

/* ═══════════════════════════════════════════════════════
   DARK FOOTER (4 columns)
   ═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-b);
  padding: 4rem 0 0;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-col h4 {
  font-family: "Public Sans",sans-serif;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--tx3);
  margin-bottom: 1.1rem;
}

.footer-brand { display: flex; align-items: center; gap: .65rem; margin-bottom: .9rem; }
.footer-badge {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--sky-d), #07505e);
  display: flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond",serif;
  font-size: 1.2rem; font-weight: 700;
  color: #fff;
}
.footer-name { color: var(--tx1); font-family: "Cormorant Garamond",serif; font-size: 1.1rem; font-weight: 600; }

.footer-bio { font-size: .88rem; color: var(--tx3); line-height: 1.7; max-width: 34ch; }

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .88rem; color: var(--tx2); transition: color var(--t); text-decoration: none; }
.footer-links a:hover { color: var(--sky); text-decoration: none; }

.footer-areas { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.footer-areas li { font-size: .86rem; color: var(--tx3); padding-left: .8rem; position: relative; }
.footer-areas li::before { content: '·'; position: absolute; left: 0; color: var(--sky); }

.footer-contact { display: flex; flex-direction: column; gap: .55rem; }
.contact-line { display: flex; align-items: flex-start; gap: .5rem; }
.contact-icon { font-size: .9rem; opacity: .5; flex-shrink: 0; margin-top: .1rem; }
.contact-line span, .contact-line a {
  font-size: .86rem; color: var(--tx2); text-decoration: none; line-height: 1.5;
}
.contact-line a:hover { color: var(--sky); }

.footer-bottom {
  border-top: 1px solid var(--dark-b);
  padding: 1.3rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-copy { font-size: .8rem; color: var(--tx3); }
.footer-tag  { font-size: .78rem; color: var(--tx3); }
.footer-tag a { color: var(--sky); text-decoration: none; }
.footer-tag a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════
   BACK TO PORTAL (MAIN MENU)
   ═══════════════════════════════════════════════════════ */
#back-portal {
  position: fixed;
  bottom: 1.8rem; left: 1.5rem;
  z-index: 90;
  display: inline-flex; align-items: center; gap: .38rem;
  padding: .42rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--dark-b2);
  background: rgba(6,15,30,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--tx2);
  font-size: .78rem; font-weight: 600; letter-spacing: .03em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: all .25s ease;
}
#back-portal:hover {
  background: var(--dark-3);
  color: var(--sky);
  border-color: rgba(13,138,158,.35);
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(13,138,158,.2);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════════════════ */
#back-top {
  position: fixed;
  bottom: 1.8rem; right: 1.5rem;
  z-index: 90;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--dark-b2);
  background: rgba(6,15,30,.85);
  backdrop-filter: blur(10px);
  color: var(--tx1);
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, background .2s;
}
#back-top.vis { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-top:hover { background: var(--sky); border-color: var(--sky); box-shadow: var(--sh-sky); }

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s cubic-bezier(0,.55,.45,1), transform .5s cubic-bezier(0,.55,.45,1);
}
.reveal.vis { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════
   COPY EMAIL
   ═══════════════════════════════════════════════════════ */
.copy-status {
  min-height: 1rem;
  margin-top: .45rem;
  font-size: .82rem;
  color: var(--emerald);
  font-weight: 500;
}

/* Contact section (dark variant) */
.contact-block {
  background: var(--dark-3);
  border: 1px solid var(--dark-b2);
  border-radius: var(--r-lg);
  padding: 1.6rem;
}
.contact-block h3 { color: var(--tx1); margin-bottom: .8rem; }
.contact-block p  { color: var(--tx2); font-size: .92rem; }
.contact-block a  { color: var(--sky); }

/* ═══════════════════════════════════════════════════════
   MISC HELPERS
   ═══════════════════════════════════════════════════════ */
.card-row { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; margin-bottom: .85rem; }
.card-row h3 { margin: 0; }

.section-divider {
  border: none;
  border-top: 2px dashed var(--line);
  margin: 2rem 0;
}

.subsec-head { margin: 2.5rem 0 1rem; padding-top: 2rem; border-top: 2px dashed var(--line); }
.subsec-head h3 { font-size: 1.35rem; color: var(--ink); }
.subsec-lead   { font-size: .9rem; color: var(--ink-400); margin-top: .25rem; }

/* Impact highlight on dark */
.impact-num {
  font-family: "Cormorant Garamond",serif;
  font-size: clamp(3rem,6vw,5.5rem);
  font-weight: 700; line-height: 1;
}
.impact-label { font-size: .88rem; color: var(--tx2); }

/* Collaboration CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--sky-d) 0%, #07505e 50%, var(--gold-d) 100%);
  padding: clamp(2.5rem,5vw,4rem) 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 24px 24px;
}
.cta-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p  { color: rgba(255,255,255,.75); margin: .4rem 0 0; font-size: .96rem; }
.cta-band-actions { display: flex; gap: .75rem; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(6,15,30,.97);
    border-bottom: 1px solid var(--dark-b);
    padding: 1rem 1.5rem;
    gap: .25rem;
    backdrop-filter: blur(18px);
  }
  .nav-links.open a { border-radius: var(--r-md); padding: .55rem .8rem; }
  /* Show the Contact link in the mobile dropdown */
  .nav-links.open .nav-contact-link {
    display: flex !important;
    color: var(--sky);
    font-weight: 600;
    border-top: 1px solid var(--dark-b);
    margin-top: .35rem;
    padding-top: .75rem !important;
  }

  .hero-body { grid-template-columns: 1fr; display: flex; flex-direction: column-reverse; align-items: center; gap: 1rem; }
  .hero-orb  { width: 180px; height: 180px; margin: 0 auto 1.5rem; }
  .orb-core  { width: 120px; height: 120px; }
  .orb-photo img { width: 120px; height: 120px; }
  .orb-r1    { width: 148px; height: 148px; }
  .orb-r2    { width: 175px; height: 175px; }
  .orb-r3    { display: none; }
  .orb-chip  { display: none; }
  .hero-orb::before { width: 150px; height: 150px; }

  .stats-strip { grid-template-columns: repeat(2,1fr); }

  .pillars,
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .funding-visual { grid-template-columns: 1fr; }

  .media-grid { grid-template-columns: 1fr; }

  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-actions { justify-content: center; }
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .hero-body { padding: 2rem 1.2rem; }
  .content-wrap { padding: 0 1.1rem; }
  .page-header-inner { padding: 2rem 1.2rem 2.5rem; }
  .stats-strip { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════
   DESIGN ENHANCEMENTS v2 — richer academic pages
   ═══════════════════════════════════════════════════════ */

/* ── Light sections: dot grid + ambient glows ── */
.section-light {
  position: relative;
  overflow: hidden;
}
.section-light::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(13,138,158,.022) 1px, transparent 0);
  background-size: 30px 30px;
  pointer-events: none; z-index: 0;
}
.section-light::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 94% 12%, rgba(13,138,158,.06) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at 6%  88%, rgba(139,92,246,.045) 0%, transparent 55%);
  pointer-events: none; z-index: 0;
}
.section-light .content-wrap { position: relative; z-index: 1; }

/* ── Page header: stronger ambient + second glow spot ── */
.page-header::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 88% 55%, rgba(13,138,158,.11) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 25% 25%, rgba(245,158,11,.07) 0%, transparent 55%);
  pointer-events: none;
}

/* ── Hero stats strip: animated gradient top edge ── */
.stats-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right,
    transparent 0%, var(--sky) 30%, var(--gold) 70%, transparent 100%);
  opacity: .45;
}

/* ── Stat cells: bottom highlight on hover ── */
.stat-cell { position: relative; }
.stat-cell::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%; height: 2px;
  background: linear-gradient(to right, transparent, var(--sky), transparent);
  transition: transform .3s ease;
  border-radius: 2px;
}
.stat-cell:hover::after { transform: translateX(-50%) scaleX(1); }
.stat-cell:hover .stat-num { filter: drop-shadow(0 0 8px currentColor); }
.stat-num { transition: filter .3s ease; }

/* ── Cards: shimmer sweep on hover ── */
.card::after {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.45) 50%, transparent 100%);
  transform: skewX(-14deg);
  transition: left .7s ease;
  pointer-events: none;
}
.card:hover::after { left: 145%; }

/* ── Metric cards: animated glow on hover ── */
@keyframes glowPulse {
  0%,100% { opacity: .5; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.2); }
}
.metric-card:hover::after { animation: glowPulse 1.9s ease infinite; }

/* ── Pillars: corner glow on hover ── */
.pillar::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
.pillar[data-color="sky"]::after    { background: radial-gradient(ellipse 70% 60% at 90% 10%, rgba(13,138,158,.08) 0%, transparent 60%); }
.pillar[data-color="gold"]::after   { background: radial-gradient(ellipse 70% 60% at 90% 10%, rgba(245,158,11,.08) 0%, transparent 60%); }
.pillar[data-color="violet"]::after { background: radial-gradient(ellipse 70% 60% at 90% 10%, rgba(139,92,246,.08) 0%, transparent 60%); }
.pillar[data-color="coral"]::after  { background: radial-gradient(ellipse 70% 60% at 90% 10%, rgba(249,115,22,.08) 0%, transparent 60%); }
.pillar:hover::after { opacity: 1; }

/* ── Stagger entrance for grid children ── */
.pillars .pillar:nth-child(2) { transition-delay: .07s; }
.pillars .pillar:nth-child(3) { transition-delay: .14s; }
.pillars .pillar:nth-child(4) { transition-delay: .21s; }
.grid-2 > *:nth-child(2)  { transition-delay: .09s; }
.grid-3 > *:nth-child(2)  { transition-delay: .09s; }
.grid-3 > *:nth-child(3)  { transition-delay: .18s; }
.grid-4 > *:nth-child(2)  { transition-delay: .07s; }
.grid-4 > *:nth-child(3)  { transition-delay: .14s; }
.grid-4 > *:nth-child(4)  { transition-delay: .21s; }

/* ── Publication items: soft left-glow on hover ── */
.pub-item { position: relative; }
.pub-item::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r-md);
  background: linear-gradient(90deg, rgba(13,138,158,.05) 0%, transparent 45%);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.pub-item:hover::after { opacity: 1; }

/* ── Entry items: soft left-glow on hover ── */
.entry { position: relative; }
.entry::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r-md);
  background: linear-gradient(90deg, rgba(13,138,158,.05) 0%, transparent 40%);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.entry:hover::after { opacity: 1; }

/* ── Glass cards: animated gradient top border ── */
.glass-card { position: relative; }
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--sky), var(--violet), var(--gold));
  border-radius: 2px 2px 0 0;
  opacity: 0;
  transform: scaleX(.4);
  transform-origin: left;
  transition: opacity .35s ease, transform .45s ease;
}
.glass-card:hover::before { opacity: 1; transform: scaleX(1); }

/* ── Filter buttons: hover glow ── */
.filter-btn:hover { box-shadow: 0 0 12px rgba(13,138,158,.2); }
.filter-btn.active { box-shadow: 0 0 14px rgba(13,138,158,.22); }

/* ── Media cards: shimmer ── */
.media-card { position: relative; overflow: hidden; }
.media-card::after {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.4) 50%, transparent 100%);
  transform: skewX(-14deg);
  transition: left .65s ease;
  pointer-events: none;
}
.media-card:hover::after { left: 145%; }

/* ── Kicker entrance animation ── */
@keyframes kickerIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}
.sec-head.reveal.vis .sec-kicker { animation: kickerIn .45s .1s ease both; }

/* ── H2 underline: animated on scroll-reveal ── */
.sec-head.reveal.vis h2::after {
  animation: underlineGrow .55s .25s cubic-bezier(.4,0,.2,1) both;
}
@keyframes underlineGrow {
  from { width: 0; opacity: 0; }
  to   { width: 56px; opacity: 1; }
}

/* ── Section-dark: subtle floating orb (no overlay needed) ── */
.section-dark::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,138,158,.05) 0%, transparent 65%);
  pointer-events: none;
  animation: orbDrift 10s ease-in-out infinite alternate;
}
@keyframes orbDrift {
  from { transform: translate(0, 0); }
  to   { transform: translate(-20px, -15px); }
}

/* ── Back-to-top: pulse ring on hover ── */
#back-top:hover::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--sky);
  opacity: .4;
  animation: btPulse .6s ease both;
}
@keyframes btPulse {
  from { transform: scale(.7); opacity: .7; }
  to   { transform: scale(1.3); opacity: 0; }
}

/* ── CTA band: dot-grid pulse ── */
.cta-band::before { animation: gridPan 20s linear infinite; }
@keyframes gridPan {
  from { background-position: 0 0; }
  to   { background-position: 24px 24px; }
}

/* ── See-all links: glow on hover ── */
.see-all:hover {
  text-decoration: none;
  box-shadow: 0 0 18px rgba(13,138,158,.22);
}

/* ═══════════════════════════════════════════════════════
   DESIGN ENHANCEMENTS v3 — color richness & advanced visuals
   ═══════════════════════════════════════════════════════ */

/* ── Light sections: colorful gradient + animated orb ── */
.section-light {
  background: linear-gradient(155deg,
    rgba(236,250,252,.75) 0%,
    var(--surface) 44%,
    rgba(246,243,255,.75) 100%);
}
.section-light::after {
  background:
    radial-gradient(ellipse 70% 75% at 97% 6%,  rgba(13,138,158,.11) 0%, transparent 55%),
    radial-gradient(ellipse 55% 60% at 3%  94%, rgba(139,92,246,.09) 0%, transparent 55%),
    radial-gradient(ellipse 45% 45% at 52% 52%, rgba(245,158,11,.03) 0%, transparent 60%);
  animation: orbFloat 14s ease-in-out infinite;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0, 0); }
  40%     { transform: translate(-16px, -10px); }
  70%     { transform: translate(10px, 8px); }
}

/* Tech cross-grid in light sections (replaces dot-only grid) */
.section-light::before {
  background-image:
    linear-gradient(rgba(13,138,158,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,138,158,.028) 1px, transparent 1px),
    radial-gradient(rgba(13,138,158,.02) 1.5px, transparent 0);
  background-size: 80px 80px, 80px 80px, 28px 28px;
}

/* ── Page header h1: animated gradient ── */
.page-header h1 {
  background: linear-gradient(120deg, var(--tx1) 0%, #5bc3d8 55%, var(--gold) 100%);
  background-size: 220%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 7s ease-in-out infinite;
}

/* ── Light section h2 headings: ink → emerald gradient ── */
.section-light .sec-head h2 {
  background: linear-gradient(118deg, var(--ink) 5%, var(--sky-d) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Section kicker: more vibrant in light sections ── */
.section-light .sec-kicker {
  color: var(--sky-d);
  background: linear-gradient(135deg, rgba(13,138,158,.18), rgba(13,138,158,.06));
  border-color: rgba(13,138,158,.3);
  font-weight: 800;
}

/* ── Cards: tiny accent stub always visible ── */
.card::before { transform: scaleX(.14); }

/* ── Cards: light tint on hover ── */
.card:hover {
  background: linear-gradient(145deg, #ffffff 55%, rgba(236,250,252,.65) 100%);
}

/* ── Timeline: glowing gold dot before each year ── */
.timeline-year {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.timeline-year::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold), var(--gold-d));
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(245,158,11,.55);
}

/* ── Publication year tags: richer gradient ── */
.pub-year-tag {
  background: linear-gradient(135deg, rgba(245,158,11,.2), rgba(245,158,11,.07));
  border: 1px solid rgba(245,158,11,.3);
  font-weight: 700;
  letter-spacing: .05em;
}

/* ── Pub badges: colorful by position ── */
.badges .badge:nth-child(1) { background: rgba(13,138,158,.1);  color: #043d47; border-color: rgba(13,138,158,.24); }
.badges .badge:nth-child(2) { background: rgba(139,92,246,.1);  color: #4c1d95; border-color: rgba(139,92,246,.24); }
.badges .badge:nth-child(3) { background: rgba(249,115,22,.1);  color: #7c2d12; border-color: rgba(249,115,22,.24); }

/* ── Count chip: gradient background ── */
.count-chip {
  background: linear-gradient(135deg, rgba(13,138,158,.2), rgba(13,138,158,.07));
  border-color: rgba(13,138,158,.3);
  color: var(--sky-d);
  font-weight: 700;
}

/* ── Filter buttons: gradient active state ── */
.filter-btn.active {
  background: linear-gradient(135deg, rgba(13,138,158,.22), rgba(13,138,158,.07));
  border-color: var(--sky);
  font-weight: 700;
  box-shadow: 0 2px 14px rgba(13,138,158,.22), inset 0 1px 0 rgba(255,255,255,.45);
}

/* ── Pub items: tinted background on hover ── */
.pub-item:hover {
  border-left-color: var(--sky);
  background: linear-gradient(90deg, rgba(13,138,158,.04) 0%, transparent 35%);
}

/* ── Entry items: tinted background on hover ── */
.entry:hover {
  background: linear-gradient(90deg, rgba(13,138,158,.04) 0%, transparent 30%);
}

/* ── Grant amounts: subtle text glow ── */
.grant-amount { text-shadow: 0 0 18px rgba(13,138,158,.28); }

/* ── Pill badges: gradient backgrounds ── */
.pill-active  { background: linear-gradient(135deg, rgba(13,138,158,.18), rgba(13,138,158,.06)); }
.pill-review  { background: linear-gradient(135deg, rgba(245,158,11,.18), rgba(245,158,11,.06)); }
.pill-planned { background: linear-gradient(135deg, rgba(13,138,158,.15), rgba(13,138,158,.05)); }

/* ── Media type badges: green tint ── */
.media-type {
  background: linear-gradient(135deg, rgba(13,138,158,.13), rgba(13,138,158,.05));
  color: #043d47;
  border-color: rgba(13,138,158,.24);
}

/* ── Under-review mark: gradient ── */
.under-review-mark {
  background: linear-gradient(135deg, rgba(245,158,11,.2), rgba(245,158,11,.06));
  border-color: rgba(245,158,11,.3);
}

/* ── Stat numbers: color glow on hover ── */
.stat-cell:hover .stat-num.c-sky    { text-shadow: 0 0 24px rgba(13,138,158,.55); }
.stat-cell:hover .stat-num.c-gold   { text-shadow: 0 0 24px rgba(245,158,11,.55); }
.stat-cell:hover .stat-num.c-violet { text-shadow: 0 0 24px rgba(139,92,246,.55); }
.stat-cell:hover .stat-num.c-coral  { text-shadow: 0 0 24px rgba(249,115,22,.55); }

/* ── Year bar chart: animated gradient fill ── */
.year-bar-fill {
  background: linear-gradient(to right, var(--sky), var(--violet), var(--gold));
  background-size: 300%;
  animation: barShift 5s ease infinite alternate;
}
@keyframes barShift {
  from { background-position: 0%; }
  to   { background-position: 100%; }
}

/* ── Grant bar fills: per-color glow on load ── */
.grant-bar-fill.c-sky    { box-shadow: 0 0 8px rgba(13,138,158,.3); }
.grant-bar-fill.c-gold   { box-shadow: 0 0 8px rgba(245,158,11,.3); }
.grant-bar-fill.c-violet { box-shadow: 0 0 8px rgba(139,92,246,.3); }
.grant-bar-fill.c-coral  { box-shadow: 0 0 8px rgba(249,115,22,.3); }

/* ── Glass cards: gradient top line ── */
.glass-card {
  background: linear-gradient(160deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.03) 100%);
}

/* ── Ghost section numbers (added via JS) ── */
.section-ghost-num {
  position: absolute;
  bottom: -1rem; right: .5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(13,138,158,.042);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -.04em;
  animation: ghostPulse 8s ease-in-out infinite;
}
@keyframes ghostPulse {
  0%,100% { opacity: .85; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.015); }
}

/* ── Section entry stagger (pub-list & entry-list) ── */
.pub-list  .pub-item:nth-child(even) { transition-delay: .05s; }
.entry-list .entry:nth-child(even)   { transition-delay: .05s; }

/* ── Hero gradient h1 ── */
.grad-text {
  background: linear-gradient(135deg, #5bc3d8 0%, #fbbf24 38%, #f97316 65%, #5bc3d8 100%);
  background-size: 280%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 6s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(13,138,158,.18));
}

/* ── Hero orb: more vibrant pulse ── */
@keyframes orbPulse {
  0%,100% { box-shadow: 0 0 50px rgba(13,138,158,.22), inset 0 0 28px rgba(13,138,158,.08); }
  50%     { box-shadow: 0 0 100px rgba(13,138,158,.42), inset 0 0 44px rgba(13,138,158,.16); }
}

/* ── Subsection head kicker ── */
.subsec-head h3 {
  background: linear-gradient(120deg, var(--ink) 20%, var(--sky-d) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
