/* ============ TOKENS ============ */
:root {
  --bg: #0b1416;
  --bg-2: #0e1a1d;
  --bg-3: #122226;
  --ink: #e9efee;
  --ink-dim: #9db4b2;
  --ink-faint: #5d7472;
  --accent: #e8b54d;
  --accent-soft: rgba(232, 181, 77, 0.12);
  --teal: #2e6e6a;
  --line: rgba(157, 180, 178, 0.14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Space Grotesk", -apple-system, sans-serif;
  --pad: clamp(1.25rem, 5vw, 6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
em { font-family: var(--serif); font-style: italic; }

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.preloader-name { font-family: var(--serif); font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: 0.04em; }
.preloader-bar { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.preloader-fill { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: load 1.1s ease forwards; }
@keyframes load { to { transform: scaleX(1); } }

/* ============ NAV ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  z-index: 60;
}
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}
.nav.scrolled {
  background: rgba(11, 20, 22, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.8rem var(--pad);
  border-bottom: 1px solid var(--line);
}
.nav-logo { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; letter-spacing: 0.02em; }
.nav-logo-dot { color: var(--accent); }
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-dim); position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0;
  background: var(--accent); transition: width 0.35s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 26px; position: relative; z-index: 70; }
.nav-toggle span { position: absolute; left: 4px; right: 4px; height: 1.5px; background: var(--ink); transition: transform 0.35s, top 0.35s; }
.nav-toggle span:nth-child(1) { top: 8px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle.open span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { top: 12px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 65;
  background: rgba(11, 20, 22, 0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem;
  padding: 0 var(--pad);
  opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0.45s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 3rem); color: var(--ink-dim);
  transform: translateY(20px); opacity: 0; transition: transform 0.5s ease, opacity 0.5s ease, color 0.3s;
}
.mobile-menu.open a { transform: translateY(0); opacity: 1; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu.open a:nth-child(7) { transition-delay: 0.35s; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem var(--pad) 3rem;
  overflow: hidden;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 2; max-width: 1100px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 0.9rem;
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim);
  margin-bottom: 2rem;
}
.line-accent { display: inline-block; width: 52px; height: 1px; background: var(--accent); }
.hero-title {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(2.5rem, 10vw, 8.5rem);
  line-height: 0.98; letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: inline-block; transform: translateY(110%); }
.hero-line-serif { font-family: var(--serif); font-weight: 300; font-style: italic; text-transform: none; color: var(--accent); }
.hero-title em { color: var(--accent); font-style: normal; }
.hero-sub {
  max-width: 540px; margin-top: 2rem; color: var(--ink-dim);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  opacity: 0;
}
.hero-cta { display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; opacity: 0; }
.btn {
  display: inline-flex; align-items: center; padding: 0.95rem 2rem;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--accent); border-radius: 100px;
  position: relative; overflow: hidden; transition: color 0.4s;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: translateY(101%); transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.btn:hover::before { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary::before { background: var(--ink); }
.btn-ghost { color: var(--accent); }
.btn-ghost:hover { color: var(--bg); }

.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-top: clamp(3rem, 7vh, 5.5rem);
  padding-top: 2rem; border-top: 1px solid var(--line);
  opacity: 0;
}
.stat-num { display: block; font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.6rem); color: var(--ink); }
.stat-label { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.hero-funders {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  margin-top: clamp(2rem, 4vh, 3rem); padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  opacity: 0;
}
.funders-label {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-faint); white-space: nowrap;
}
.funders-logos { display: flex; align-items: center; gap: clamp(1.4rem, 3.5vw, 3rem); flex-wrap: wrap; }
.funders-logos img {
  height: clamp(40px, 5vw, 58px); width: auto;
  opacity: 0.62; transition: opacity 0.35s ease;
}
.funders-logos img:hover { opacity: 1; }

.hero-scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero-scroll-hint span {
  display: block; width: 1px; height: 48px; background: var(--ink-faint);
  animation: scrollHint 2s ease-in-out infinite; transform-origin: top;
}
@keyframes scrollHint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============ MARQUEE ============ */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; background: var(--bg-2); }
.marquee-track { display: flex; white-space: nowrap; width: max-content; animation: marquee 36s linear infinite; }
.marquee-track span {
  font-family: var(--serif); font-style: italic; font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--ink-faint); padding-right: 1rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: clamp(5rem, 12vh, 9rem) var(--pad); position: relative; }
.section-head { margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.section-index { font-size: 0.8rem; letter-spacing: 0.25em; color: var(--accent); display: block; margin-bottom: 0.6rem; }
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.05; letter-spacing: -0.01em;
}
.section-sub { margin-top: 1rem; color: var(--ink-dim); font-size: 0.95rem; max-width: 560px; }
.funding-total { color: var(--accent); font-family: var(--serif); font-size: 1.15em; }

/* word-reveal helper */
.reveal-words .word { display: inline-block; overflow: hidden; vertical-align: top; }
.reveal-words .word > span { display: inline-block; transform: translateY(110%); }

/* ============ ABOUT ============ */
.about { background: var(--bg-2); }
.about-grid {
  display: grid; grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.about-portrait { position: sticky; top: 7rem; }
.portrait-frame {
  position: relative; border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.portrait-frame::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(232, 181, 77, 0.25); border-radius: 4px;
  transform: translate(14px, 14px); pointer-events: none;
}
.portrait-frame img { width: 100%; filter: saturate(0.92); transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.about-portrait:hover .portrait-frame img { transform: scale(1.035); }
.portrait-caption { display: flex; flex-direction: column; gap: 0.2rem; margin-top: 1.6rem; }
.portrait-caption span:first-child { font-family: var(--serif); font-size: 1.15rem; }
.portrait-caption span:last-child { font-size: 0.8rem; color: var(--ink-faint); letter-spacing: 0.04em; }
.about-lead {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.35; margin-bottom: 1.8rem;
}
.about-lead em { color: var(--accent); }
.about-text > p:not(.about-lead) { color: var(--ink-dim); max-width: 60ch; margin-bottom: 1.3rem; }
.about-text strong { color: var(--ink); font-weight: 500; }
.about-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.about-tags span {
  font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-dim);
  transition: border-color 0.3s, color 0.3s;
}
.about-tags span:hover { border-color: var(--accent); color: var(--accent); }

/* ============ RESEARCH ============ */
.research-list { display: flex; flex-direction: column; }
.research-item {
  display: grid; grid-template-columns: 180px 1fr; gap: 2rem;
  padding: 2.6rem 0; border-top: 1px solid var(--line);
}
.research-item:last-child { border-bottom: 1px solid var(--line); }
.research-year { font-size: 0.82rem; letter-spacing: 0.14em; color: var(--accent); text-transform: uppercase; padding-top: 0.4rem; }
.research-body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin-bottom: 0.8rem; }
.research-body p { color: var(--ink-dim); max-width: 68ch; }
.research-meta { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.1rem; }
.research-meta span, .research-meta a {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; background: var(--accent-soft); color: var(--accent); border-radius: 100px;
}
.research-meta a { background: var(--accent); color: var(--bg); transition: opacity 0.3s; }
.research-meta a:hover { opacity: 0.85; }

/* ============ PUBLICATIONS ============ */
.publications { background: var(--bg-2); }
.pub-list { display: flex; flex-direction: column; }
.pub-item {
  display: grid; grid-template-columns: 60px 1fr 240px; gap: 1.6rem; align-items: center;
  padding: 1.8rem 0.5rem; border-top: 1px solid var(--line);
  transition: background 0.35s, padding-left 0.35s; cursor: default;
}
.pub-item:last-child { border-bottom: 1px solid var(--line); }
.pub-item:hover { background: rgba(232, 181, 77, 0.04); padding-left: 1.2rem; }
.pub-num { font-family: var(--serif); font-style: italic; color: var(--ink-faint); font-size: 1.1rem; }
.pub-body h3 { font-weight: 400; font-size: clamp(0.98rem, 1.8vw, 1.18rem); line-height: 1.4; margin-bottom: 0.3rem; }
.pub-body p { font-size: 0.82rem; color: var(--ink-faint); }
.pub-venue { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); text-align: right; }
.pub-more { margin-top: 2rem; }
.pub-more p { color: var(--ink-faint); font-size: 0.9rem; font-style: italic; font-family: var(--serif); }

/* ============ ACHIEVEMENTS ============ */
.awards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem;
}
.award-card {
  border: 1px solid var(--line); border-radius: 6px; padding: 1.8rem;
  background: var(--bg-2); position: relative; overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s;
}
.award-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.award-card:hover { transform: translateY(-6px); border-color: rgba(232, 181, 77, 0.4); }
.award-card:hover::before { transform: scaleX(1); }
.award-card-featured { grid-column: span 2; background: linear-gradient(135deg, var(--bg-3), var(--bg-2)); }
.award-amount { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--accent); display: block; margin-bottom: 0.7rem; }
.award-card h3 { font-weight: 500; font-size: 1rem; line-height: 1.45; margin-bottom: 0.5rem; }
.award-card p { font-size: 0.85rem; color: var(--ink-faint); }
.honors-strip { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 3rem; }
.honor {
  display: flex; gap: 0.9rem; align-items: baseline;
  font-size: 0.92rem; color: var(--ink-dim);
  padding: 1rem 1.3rem; border-left: 2px solid var(--accent); background: var(--bg-2); border-radius: 0 6px 6px 0;
}

/* ============ SPOTLIGHT ============ */
.spotlight-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem;
}
.spotlight-card {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  background: var(--bg-2); display: flex; flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s, box-shadow 0.5s;
}
.spotlight-card:hover {
  transform: translateY(-8px); border-color: rgba(232, 181, 77, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.spotlight-media { overflow: hidden; aspect-ratio: 16 / 9; }
.spotlight-card-tall .spotlight-media { aspect-ratio: 1 / 1; }
.spotlight-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.spotlight-card:hover .spotlight-media img { transform: scale(1.045); }
.spotlight-caption { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 0.45rem; }
.spotlight-tag {
  align-self: flex-start;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 100px;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 0.35rem;
}
.spotlight-caption h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.1rem, 2.2vw, 1.45rem); line-height: 1.3; }
.spotlight-caption p { font-size: 0.88rem; color: var(--ink-dim); }

/* ============ VENTURES ============ */
.ventures { background: var(--bg-2); }
.venture-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: clamp(3rem, 8vh, 5rem); }
.venture-card {
  border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.8rem, 3.5vw, 2.8rem);
  background: var(--bg); display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s, box-shadow 0.5s;
}
.venture-card:hover {
  transform: translateY(-8px); border-color: rgba(232, 181, 77, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.venture-top { display: flex; justify-content: space-between; align-items: center; }
.venture-role { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.venture-arrow { font-size: 1.3rem; color: var(--ink-faint); transition: transform 0.4s, color 0.4s; }
.venture-card:hover .venture-arrow { transform: translate(4px, -4px); color: var(--accent); }
.venture-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.venture-card p { color: var(--ink-dim); font-size: 0.95rem; }
.venture-loc { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-top: auto; }

.timeline-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 2rem; }
.timeline-item {
  display: grid; grid-template-columns: 170px 1fr; gap: 1.6rem;
  padding: 1.4rem 0; border-top: 1px solid var(--line);
}
.tl-date { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); padding-top: 0.25rem; }
.tl-body h4 { font-weight: 500; font-size: 1.05rem; margin-bottom: 0.25rem; }
.tl-body p { font-size: 0.86rem; color: var(--ink-faint); }

/* ============ CONTACT ============ */
.contact { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
#contactCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact-inner { position: relative; z-index: 2; max-width: 900px; }
.contact-eyebrow { font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 1.6rem; }
.contact-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 6.5vw, 4.6rem); line-height: 1.15; }
.contact-title em { color: var(--accent); }
.contact-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 3rem; }
.contact-link {
  display: inline-flex; gap: 0.7rem; align-items: center;
  padding: 0.9rem 1.8rem; border: 1px solid var(--line); border-radius: 100px;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim);
  transition: border-color 0.35s, color 0.35s, transform 0.35s;
}
.contact-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

/* ============ TOPMATE PROMO ============ */
.topmate { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vh, 2rem); z-index: 60; }
.topmate-card {
  display: flex; gap: 1rem; align-items: center;
  width: min(340px, calc(100vw - 2.5rem));
  padding: 1.1rem 1.2rem;
  background: rgba(18, 34, 38, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 181, 77, 0.35); border-radius: 14px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  position: relative;
  transform: translateY(calc(100% + 3rem)); opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease,
              border-color 0.35s;
  pointer-events: none;
}
.topmate.show .topmate-card { transform: translateY(0); opacity: 1; pointer-events: auto; }
.topmate-card:hover { border-color: var(--accent); }
.topmate-close {
  position: absolute; top: 0.4rem; right: 0.65rem;
  background: none; border: 0; color: var(--ink-faint);
  font-size: 1.15rem; line-height: 1; cursor: pointer; padding: 0.2rem;
  transition: color 0.3s;
}
.topmate-close:hover { color: var(--ink); }
.topmate-avatar { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; overflow: hidden; border: 2px solid var(--accent); }
.topmate-avatar img { width: 100%; height: 100%; object-fit: cover; }
.topmate-body { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.topmate-title { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
.topmate-text { font-size: 0.78rem; color: var(--ink-dim); line-height: 1.45; }
.topmate-cta {
  margin-top: 0.4rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 0.35rem;
}
.topmate-cta strong { font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 0.85rem; }
.topmate-dot { width: 9px; height: 9px; border-radius: 50%; background: #e0344c; display: inline-block; }
.topmate-badge {
  position: absolute; right: 0; bottom: 0;
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--accent); overflow: visible;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  transform: scale(0); opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  pointer-events: none;
}
.topmate.collapsed .topmate-badge { transform: scale(1); opacity: 1; pointer-events: auto; }
.topmate.collapsed .topmate-card { transform: translateY(calc(100% + 3rem)); opacity: 0; pointer-events: none; }
.topmate-badge img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.topmate-badge:hover { transform: scale(1.08); }
.topmate-badge-dot {
  position: absolute; top: -2px; right: -2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #e0344c; border: 2px solid var(--bg);
  animation: topmatePulse 2.2s ease-in-out infinite;
}
@keyframes topmatePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 52, 76, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(224, 52, 76, 0); }
}

/* ============ FOOTER ============ */
.footer {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.6rem var(--pad); border-top: 1px solid var(--line);
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .award-card-featured { grid-column: span 1; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { position: static; max-width: 380px; }
  .venture-grid { grid-template-columns: 1fr; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .pub-item { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.5rem 0.25rem; }
  .pub-num { display: none; }
  .pub-venue { text-align: left; }
  .research-item, .timeline-item { grid-template-columns: 1fr; gap: 0.6rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
  .hero-scroll-hint { display: none; }
}
@media (max-width: 480px) {
  .hero { padding-top: 6rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
