/* ================================================================
   SITHIK ALIYAR — LIGHT THEME RESEARCH PORTFOLIO
   style.css v2.0
   Design DNA: 40% Apple · 25% Breedlove · 15% NatGeo · 20% Sci-Vis
   ================================================================ */

/* ── TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* ─ Dark (Hero, Nav, Stats, Footer) */
  --hero-bg: #0A1628;
  --nav-bg: #0A1628;
  --stats-bg: #0D1F3C;
  --footer-bg: #071020;

  /* ─ Light (all content sections) */
  --light-bg: #FFFFFF;
  --light-alt: #F4F8FC;
  --light-border: #E2ECF4;

  /* ─ Accent (ocean teal-blue) */
  --accent: #0D9EBA;
  --accent-dark: #0A87A0;
  --accent-glow: rgba(13, 158, 186, 0.12);
  --accent-pale: rgba(13, 158, 186, 0.08);
  --gold: #D4A843;
  --gold-pale: rgba(212, 168, 67, 0.12);

  /* ─ Text on dark bg */
  --t-white: #EEF6FF;
  --t-white-dim: rgba(220, 238, 255, 0.65);
  --t-white-muted: rgba(180, 210, 235, 0.45);

  /* ─ Text on light bg */
  --t-dark: #0F1C2E;
  --t-mid: #3D5872;
  --t-muted: #7A9BB8;

  /* ─ Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  /* ─ Motion */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ── RESET ──────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--light-bg);
  color: var(--t-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* ── SCROLLBAR ──────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #eef2f7;
}

::-webkit-scrollbar-thumb {
  background: #a8c4d8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ================================================================
   NAVIGATION
   ================================================================ */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s var(--ease-out);
}

#site-nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  padding: 0.8rem 2.5rem;
  background: rgba(10, 22, 40, 0.9);
}

/* Logo text (matches reference: SITHIK ALIYAR / RESEARCH SCHOLAR) */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.logo-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.logo-role {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(220, 238, 255, 0.7);
  padding: 0.5rem 0.9rem;
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width 0.25s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-theme-btn {
  display: none !important;
  /* Hidden for now */
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: rgba(220, 238, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: all 0.2s;
}

.nav-theme-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-cv {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 0.45rem 1rem;
  border-radius: 3px;
  transition: all 0.2s;
}

.btn-cv:hover {
  background: var(--accent);
  color: #fff;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: rgba(220, 238, 255, 0.7);
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(280px, 78vw);
  height: 100vh;
  background: var(--nav-bg);
  z-index: 99;
  padding: 5rem 2rem 2rem;
  transition: right 0.35s var(--ease-out);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-menu.open {
  right: 0;
}

.mobile-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  color: rgba(220, 238, 255, 0.6);
  font-size: 1.2rem;
  transition: color 0.2s;
}

.mobile-close:hover {
  color: #fff;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-link {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(220, 238, 255, 0.7);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.mobile-link:hover {
  color: var(--accent);
}

/* ================================================================
   SCENE — HERO
   ================================================================ */
.scene-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--hero-bg);
  overflow: hidden;
}

/* Portrait — left side */
.hero-portrait-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.portrait-img {
  width: 100%;
  height: 94%;
  object-fit: cover;
  object-position: top center;
  /* Blend portrait into dark bg with masks */
  mask-image: linear-gradient(to right,
      transparent 0%,
      rgba(0, 0, 0, 0.4) 6%,
      rgba(0, 0, 0, 0.88) 22%,
      black 45%,
      black 80%,
      rgba(0, 0, 0, 0.5) 92%,
      transparent 100%);
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      rgba(0, 0, 0, 0.4) 6%,
      rgba(0, 0, 0, 0.88) 22%,
      black 45%,
      black 80%,
      rgba(0, 0, 0, 0.5) 92%,
      transparent 100%);
  filter: brightness(0.92) contrast(1.1);
}

/* Wind farm — right side */
.hero-bg-wrap {
  position: absolute;
  right: 0;
  top: 0;
  width: 58%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      var(--hero-bg) 0%,
      rgba(10, 22, 40, 0.75) 35%,
      rgba(10, 22, 40, 0.25) 70%,
      transparent 100%);
}

/* Hero text */
.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0 3.5rem;
  margin-left: 28%;
  max-width: 580px;
}

.hero-roles {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.role-pill {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
}

.role-dot {
  color: var(--t-white-muted);
  font-size: 0.55rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--t-white);
  max-width: 14em;
}

.hero-name-heading {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.hero-accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 900;
}

.hero-divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0.25rem 0;
}

.hero-bio {
  font-size: 0.95rem;
  color: var(--t-white-dim);
  line-height: 1.75;
  max-width: 44ch;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.78rem 1.6rem;
  border-radius: 3px;
  transition: all 0.25s var(--ease-out);
}

.btn-hero-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(13, 158, 186, 0.4);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--t-white);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.78rem 1.6rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  transition: all 0.25s;
}

.btn-hero-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(13, 158, 186, 0.08);
}

/* Hero prev/next arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.25s;
  background: rgba(10, 22, 40, 0.4);
  backdrop-filter: blur(8px);
}

.hero-arrow:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(10, 22, 40, 0.7);
}

.hero-arrow-left {
  left: 1.25rem;
}

.hero-arrow-right {
  right: 1.25rem;
}

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.25s;
  cursor: pointer;
}

.hero-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  width: 22px;
  border-radius: 4px;
}

/* Particles layer */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  opacity: 0;
  animation: pfloat var(--dur, 12s) var(--delay, 0s) infinite ease-in-out;
}

@keyframes pfloat {
  0% {
    opacity: 0;
    transform: translate(0, 40px) scale(0.5);
  }

  20% {
    opacity: 0.5;
  }

  80% {
    opacity: 0.2;
  }

  100% {
    opacity: 0;
    transform: translate(var(--dx, 30px), -60vh) scale(1.5);
  }
}

/* Hero stagger animations */
.hero-roles {
  animation: fadeUp 0.7s 0.3s both;
}

.hero-title {
  animation: fadeUp 0.7s 0.45s both;
}

.hero-divider {
  animation: fadeUp 0.7s 0.6s both;
}

.hero-bio {
  animation: fadeUp 0.7s 0.65s both;
}

.hero-cta {
  animation: fadeUp 0.7s 0.8s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================================================
   SCENE — STATS BAR
   ================================================================ */
.scene-stats {
  background: var(--stats-bg);
  position: relative;
  z-index: 10;
}

.stats-wave-top {
  position: absolute;
  top: -59px;
  left: 0;
  right: 0;
  height: 60px;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}

.stats-wave-top svg {
  width: 100%;
  height: 100%;
  display: block;
}

.stats-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.8rem 2.2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  flex: 1;
  min-width: 150px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon-wrap {
  color: var(--accent);
  opacity: 0.85;
  flex-shrink: 0;
}

.stat-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--t-white);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--t-white-muted);
  margin-top: 2px;
}

/* ================================================================
   WAVE DIVIDER
   ================================================================ */
.wave-divider {
  position: relative;
  z-index: 9;
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  width: 100%;
  display: block;
}

.wave-path-1 {
  animation: waveDrift 8s ease-in-out infinite alternate;
}

.wave-path-2 {
  animation: waveDrift 12s ease-in-out infinite alternate-reverse;
  opacity: 0.7;
}

@keyframes waveDrift {
  0% {
    d: path("M0,45 C240,90 480,0 720,45 C960,90 1200,0 1440,45 L1440,90 L0,90 Z");
  }

  100% {
    d: path("M0,30 C360,80 720,10 1080,50 C1260,70 1380,20 1440,30 L1440,90 L0,90 Z");
  }
}

/* ================================================================
   LIGHT SECTION SHARED STYLES
   ================================================================ */
.light-section {
  background: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  padding: 0 1.5rem;
}

.section-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-title-light {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--t-dark);
  line-height: 1.22;
  max-width: 20em;
  margin: 0 auto;
}

.section-title-light.centered {
  text-align: center;
}

.section-body-light {
  font-size: 1rem;
  color: var(--t-mid);
  line-height: 1.8;
  max-width: 54ch;
}

.section-sub-light {
  font-size: 0.9rem;
  color: var(--t-muted);
  margin-top: 0.5rem;
}

.section-sub-light a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.section-sub-light strong {
  color: var(--t-dark);
}

/* ================================================================
   SCENE — RESEARCH AREAS (Fingerprint)
   ================================================================ */
/* ================================================================
   SCENE — RESEARCH AREAS (Fingerprint)
   ================================================================ */
.scene-research {
  padding: 5rem 2rem 5rem;
}

.fingerprint-icon {
  color: var(--accent);
  vertical-align: middle;
}

.fingerprint-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem auto 1rem;
  max-width: 500px;
}

.fingerprint-tab-btn {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--t-mid);
  padding: 0.45rem 1.25rem;
  border-radius: 3px;
  background: var(--light-alt);
  border: 1px solid var(--light-border);
  transition: all 0.2s ease;
}

.fingerprint-tab-btn:hover {
  background: var(--light-border);
  color: var(--t-dark);
}

.fingerprint-tab-btn.active {
  background: var(--accent);
  /* Consistent Blue Accent */
  color: #FFFFFF;
  border-color: var(--accent);
}

.fingerprint-sort-bar {
  text-align: center;
  font-size: 0.75rem;
  color: var(--t-mid);
  margin-top: 0.8rem;
  font-family: var(--font-mono);
}

.sort-btn {
  color: var(--t-muted);
  font-weight: 600;
  transition: color 0.2s;
  padding: 0 0.5rem;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.sort-btn.active {
  color: var(--accent);
  /* Consistent Blue Accent */
  font-weight: 700;
}

.sort-divider {
  color: var(--light-border);
  font-size: 0.75rem;
}

.fingerprint-container {
  max-width: 1000px;
  margin: 1.5rem auto 0;
}

.fingerprint-group {
  display: none;
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  padding: 2.2rem;
  border-radius: 4px;
  animation: fingerprintFade 0.3s var(--ease-out);
}

.fingerprint-group.active {
  display: block;
}

@keyframes fingerprintFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fingerprint-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.fingerprint-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-dark);
  /* Brand Blue Accent Dark */
  background: var(--accent-pale);
  /* Brand Blue Accent Pale */
  border: 1px solid rgba(13, 158, 186, 0.2);
  /* Brand Blue Accent Border */
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  transition: all 0.2s ease;
  cursor: default;
}

.fingerprint-tag:hover {
  background: var(--accent-glow);
  border-color: rgba(13, 158, 186, 0.4);
}

/* Detailed Research Areas Showcase with Video Placeholders */
.research-showcase {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 5rem;
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.research-showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.research-showcase-item.layout-alt {
  grid-template-columns: 1fr 1fr;
}

.research-showcase-item.layout-alt .showcase-content {
  order: 2;
}

.research-showcase-item.layout-alt .showcase-video-container {
  order: 1;
}

.showcase-content {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.showcase-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-pale);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
  box-shadow: 0 4px 15px rgba(13, 158, 186, 0.05);
}

.showcase-icon-wrap svg {
  stroke: currentColor;
  fill: none;
}

.showcase-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--t-dark);
  line-height: 1.35;
}

.showcase-desc {
  font-size: 0.88rem;
  color: var(--t-mid);
  line-height: 1.75;
}

.showcase-video-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--light-border);
  width: 100%;
}

.showcase-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 37, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: #FFFFFF;
  transition: background 0.3s ease;
  cursor: pointer;
  z-index: 2;
}

.showcase-video-container:hover .showcase-video-overlay {
  background: rgba(7, 21, 37, 0.65);
}

.play-btn-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(13, 158, 186, 0.3);
  transition: transform 0.3s var(--ease-spring);
}

.showcase-video-container:hover .play-btn-circle {
  transform: scale(1.15);
}

.play-btn-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.scene-research-detailed {
  padding: 6rem 2rem;
  background: var(--light-bg);
}

.section-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--t-muted);
  max-width: 600px;
  margin: 0.5rem auto 3rem;
  line-height: 1.65;
}

/* ── WAVE RESPONSIVE HOVER ANIMATION ──────────────────────────── */
.stats-wave-top svg path,
.wave-divider svg path,
.featured-wave-top svg path,
.featured-wave-bottom svg path,
.footer-wave-top svg path {
  transition: transform 0.9s cubic-bezier(0.2, 1, 0.2, 1);
  transform-origin: center;
}

#stats:hover .stats-wave-top svg path {
  transform: translateY(-5px) scaleY(1.18);
}

.scene-about:hover~.wave-divider svg path,
.wave-divider:hover svg path {
  transform: translateY(5px) scaleY(1.15);
}

#featured:hover .featured-wave-top svg path {
  transform: translateY(-5px) scaleY(1.18);
}

#featured:hover .featured-wave-bottom svg path {
  transform: translateY(5px) scaleY(1.18);
}

#contact:hover .footer-wave-top svg path {
  transform: translateY(-5px) scaleY(1.18);
}

.fingerprint-tag:hover {
  background: var(--accent-glow);
  border-color: rgba(13, 158, 186, 0.4);
  transform: translateY(-1px);
}

.tag-weight-ring circle.ring-bg {
  stroke: #E2ECF4;
}

.tag-weight-ring circle.ring-fill {
  stroke: var(--accent);
}

/* ================================================================
   SCENE — ABOUT
   ================================================================ */
.scene-about {
  padding: 2.5rem 2rem 6rem;
  background: var(--light-alt);
}

.about-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* Credential tags */
.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.cred-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--t-mid);
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  transition: all 0.2s;
}

.cred-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cred-tag svg {
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
}

.cred-tag-gold {
  color: var(--gold);
  border-color: rgba(212, 168, 67, 0.4);
  background: var(--gold-pale);
}

.cred-tag-gold:hover {
  border-color: var(--gold);
}

/* Social buttons */
.about-social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.about-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--t-mid);
  border: 1px solid var(--light-border);
  padding: 0.45rem 1rem;
  border-radius: 3px;
  transition: all 0.2s;
}

.about-social-btn svg {
  stroke: currentColor;
  fill: none;
}

.about-social-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-pale);
}

.btn-linkedin-follow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff !important;
  background: #0077b5;
  border: 1px solid #0077b5;
  padding: 0.45rem 1.1rem;
  border-radius: 3px;
  transition: all 0.25s var(--ease-out);
}

.btn-linkedin-follow:hover {
  background: #005987;
  border-color: #005987;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 119, 181, 0.35);
}

.btn-linkedin-follow svg {
  fill: currentColor;
}

/* About visual */
.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.about-img-wrap {
  position: relative;
  width: 260px;
  height: 260px;
  flex-shrink: 0;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  filter: contrast(1.05) saturate(0.9);
}

.about-logo-wrap {
  margin-top: 0.15rem;
  text-align: center;
  z-index: 2;
}

.about-logo-img {
  height: 125px;
  width: auto;
  display: inline-block;
  opacity: 0.95;
  transition: transform 0.3s var(--ease-spring);
}

.about-logo-img:hover {
  transform: scale(1.08);
}

.about-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(13, 158, 186, 0.35);
  animation: ringBreath 4s ease-in-out infinite;
}

.about-ring-2 {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(13, 158, 186, 0.15);
  animation: ringBreath 4s ease-in-out infinite 0.5s;
}

@keyframes ringBreath {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

.about-affil-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  width: 100%;
  max-width: 340px;
}

.affil-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.affil-icon svg {
  stroke: currentColor;
  fill: none;
}

.affil-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.affil-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.affil-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--t-dark);
}

.affil-place {
  font-size: 0.75rem;
  color: var(--t-muted);
}

/* ================================================================
   SCENE — FEATURED PROJECT (Video Background)
   ================================================================ */
.scene-featured {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #071525;
}

.featured-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.featured-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.featured-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(7, 21, 37, 0.85) 0%,
      rgba(7, 21, 37, 0.65) 50%,
      rgba(7, 21, 37, 0.90) 100%);
  z-index: 1;
}

/* Wave masks (top + bottom) */
.featured-wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 2;
}

.featured-wave-top svg {
  width: 100%;
  display: block;
}

.featured-wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 2;
}

.featured-wave-bottom svg {
  width: 100%;
  display: block;
}

/* Featured content */
.featured-content-wrap {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 6rem 2rem;
  max-width: 760px;
}

.featured-eyebrow {
  color: var(--accent);
}

.featured-heading {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  color: #fff;
  margin: 1rem 0 1.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 0 60px rgba(13, 158, 186, 0.3);
}

.featured-para {
  font-size: 1.05rem;
  color: rgba(200, 230, 255, 0.75);
  line-height: 1.75;
  max-width: 50ch;
  margin: 0 auto 2rem;
}

.featured-tech-chips {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13, 196, 255, 0.75);
  border: 1px solid rgba(13, 196, 255, 0.25);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
}

.tech-chip svg {
  stroke: currentColor;
  fill: none;
}

.btn-featured {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  transition: all 0.25s var(--ease-out);
}

.btn-featured:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13, 158, 186, 0.45);
}

.btn-featured svg {
  stroke: currentColor;
  fill: none;
}

/* ================================================================
   SCENE — PUBLICATIONS
   ================================================================ */
.scene-publications {
  padding: 6rem 2rem;
}

.pub-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--t-muted);
  border: 1px solid var(--light-border);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
}

.filter-chip svg {
  stroke: currentColor;
  fill: none;
}

.filter-chip:hover,
.filter-chip.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-pale);
}

.pub-list-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.pub-list {
  display: flex;
  flex-direction: column;
}

.pub-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--light-border);
  transition: background 0.2s;
  position: relative;
}

.pub-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease-out);
  border-radius: 2px;
}

.pub-item:hover::before {
  transform: scaleY(1);
}

.pub-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--t-muted);
  padding-top: 0.2rem;
  text-align: right;
}

.pub-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pub-title-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--t-dark);
  line-height: 1.5;
  transition: color 0.2s;
}

.pub-title-link:hover {
  color: var(--accent);
}

.pub-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--t-muted);
}

.pub-journal {
  font-style: italic;
}

.pub-year {
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.pub-tags {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.pub-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: var(--t-muted);
  background: var(--light-alt);
  border: 1px solid var(--light-border);
  padding: 0.12rem 0.5rem;
  border-radius: 2px;
  text-transform: uppercase;
}

.pub-cite-wrap {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: var(--t-muted);
  white-space: nowrap;
  padding-top: 0.15rem;
}

.pub-cite-wrap svg {
  stroke: var(--accent);
  fill: none;
}

.pub-cite-num {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

.pub-item.hidden {
  display: none;
}

/* ================================================================
   SCENE — AWARDS
   ================================================================ */
.scene-awards {
  padding: 6rem 2rem;
  background: radial-gradient(circle at 10% 20%, rgba(244, 248, 252, 1) 0%, rgba(230, 240, 250, 0.5) 100%);
  position: relative;
}

.awards-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.award-card {
  background: var(--light-bg);
  padding: 2.5rem 2.2rem;
  border-radius: 8px;
  border: 1px solid var(--light-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  cursor: default;
}

.award-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(212, 168, 67, 0.1);
  border-color: rgba(212, 168, 67, 0.3);
}

.award-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--gold), #F4D068);
  transform: scaleX(0.7);
  transition: transform 0.4s var(--ease-out);
}

.award-card:hover::before {
  transform: scaleX(1);
}

.award-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(212, 168, 67, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.award-card:hover .award-card-glow {
  opacity: 1;
}

.award-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.award-card-year {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.award-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}

.award-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--t-dark);
  line-height: 1.35;
}

.award-card-subtitle {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--t-muted);
  letter-spacing: 0.05em;
}

.award-card-desc {
  font-size: 0.85rem;
  color: var(--t-mid);
  line-height: 1.6;
}

/* ================================================================
   SCENE — TEACHING
   ================================================================ */
/* ================================================================
   SCENE — TEACHING
   ================================================================ */
.scene-teaching {
  padding: 6rem 2rem;
  background: var(--light-bg);
}

.teaching-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.teaching-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.teaching-img-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--light-border);
  width: 100%;
}

.teaching-photo {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.05) saturate(0.9);
  transition: transform 0.6s var(--ease-out);
}

.teaching-container:hover .teaching-photo {
  transform: scale(1.03);
}

.teaching-photo-ring {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px dashed rgba(13, 158, 186, 0.2);
  pointer-events: none;
  animation: rotateClockwise 30s linear infinite;
  z-index: -1;
}

.teaching-photo-ring-2 {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1.5px solid rgba(13, 158, 186, 0.1);
  pointer-events: none;
  z-index: -1;
}

.teaching-text-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.teaching-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.teach-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}

.teach-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-pale);
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.teach-icon svg {
  stroke: currentColor;
  fill: none;
  width: 20px;
  height: 20px;
}

.teach-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-dark);
  line-height: 1;
}

.teach-label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--t-mid);
  font-weight: 600;
  text-transform: uppercase;
}

/* ================================================================
   SCENE — COLLABORATORS
   ================================================================ */
.scene-collabs {
  padding: 6rem 2rem;
}

.collab-cards {
  max-width: 1180px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--light-border);
  border: 1px solid var(--light-border);
  border-radius: 4px;
  overflow: hidden;
}

.collab-card {
  background: var(--light-bg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.25s;
  cursor: default;
}

.collab-card:hover {
  background: var(--accent-pale);
}

.collab-flag {
  font-size: 1.8rem;
  line-height: 1;
}

.collab-country-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--t-dark);
}

.collab-institutions {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.collab-inst {
  font-size: 0.72rem;
  color: var(--t-muted);
  line-height: 1.4;
}

.collab-dot-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.collab-pulse {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(13, 158, 186, 0.6);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 158, 186, 0.6);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(13, 158, 186, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(13, 158, 186, 0);
  }
}

.collab-note {
  font-size: 0.68rem;
  color: var(--t-muted);
}

/* Impact strip */
.impact-strip {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--light-border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--light-alt);
}

.impact-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--light-border);
  text-align: center;
}

.impact-item:last-child {
  border-right: none;
}

.impact-item svg {
  stroke: var(--accent);
  fill: none;
  opacity: 0.8;
}

.impact-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--t-dark);
  line-height: 1;
}

.impact-label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--t-muted);
  text-transform: uppercase;
}

/* ================================================================
   SCENE — CONTACT / FOOTER
   ================================================================ */
.scene-contact {
  position: relative;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--footer-bg);
  overflow: hidden;
}

/* Video background in footer */
.footer-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.footer-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(7, 16, 32, 0.85) 0%,
      rgba(7, 16, 32, 0.70) 50%,
      rgba(7, 16, 32, 0.90) 100%);
}

.footer-wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 2;
}

.footer-wave-top svg {
  width: 100%;
  display: block;
}

.contact-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 5rem 2rem 2rem;
  max-width: 700px;
}

.contact-logo-wrap {
  margin-bottom: 1.5rem;
}

.contact-logo {
  height: 55px;
  width: auto;
  margin: 0 auto;
  filter: brightness(10);
  opacity: 0.9;
}

.contact-eyebrow {
  color: var(--accent) !important;
}

.contact-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--t-white);
  line-height: 1.4;
  margin: 1.5rem 0 2.5rem;
}

.contact-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-contact-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: 3px;
  transition: all 0.25s;
}

.btn-contact-primary svg {
  stroke: currentColor;
  fill: none;
}

.btn-contact-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(13, 158, 186, 0.4);
}

.btn-contact-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--t-white);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.8rem 1.75rem;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  transition: all 0.25s;
}

.btn-contact-ghost svg {
  stroke: currentColor;
  fill: none;
}

.btn-contact-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(13, 158, 186, 0.08);
}

.contact-info-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 0.7rem 1.2rem;
  font-size: 0.82rem;
  color: var(--t-muted);
  transition: all 0.2s;
}

.contact-card svg {
  stroke: var(--accent);
  flex-shrink: 0;
}

.contact-card a {
  color: var(--t-white);
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.contact-page-content {
  padding-top: 6rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-social-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(200, 230, 255, 0.5);
  border: 1px solid rgba(200, 230, 255, 0.15);
  border-radius: 50%;
  transition: all 0.2s;
}

.footer-social-btn svg {
  width: 17px;
  height: 17px;
}

.footer-social-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(13, 158, 186, 0.1);
  transform: translateY(-2px);
}

.site-footer {
  width: 100%;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  position: relative;
  z-index: 3;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(220, 240, 255, 0.7);
}

/* ================================================================
   THEME TOGGLE — DARK MODE OVERRIDES
   ================================================================ */
[data-theme="dark"] {
  --light-bg: #0F172A;
  --light-alt: #1E293B;
  --light-border: rgba(255, 255, 255, 0.08);
  --accent-pale: rgba(13, 158, 186, 0.12);
  --gold-pale: rgba(212, 168, 67, 0.12);
  --t-dark: #E2E8F0;
  --t-mid: #CBD5E1;
  --t-muted: #64748B;
}

[data-theme="dark"] .scene-about {
  background: var(--light-alt);
}

[data-theme="dark"] .teaching-text-side {
  background: var(--light-alt);
}

[data-theme="dark"] .teaching-photo-overlay {
  background: linear-gradient(to right, transparent 50%, rgba(15, 23, 42, 0.7) 100%);
}

[data-theme="dark"] .impact-strip {
  background: var(--light-alt);
}

[data-theme="dark"] .awards-grid {
  background: var(--light-border);
}

[data-theme="dark"] .collab-cards {
  background: var(--light-border);
}

[data-theme="dark"] .wave-divider svg path,
[data-theme="dark"] .featured-wave-top svg path,
[data-theme="dark"] .featured-wave-bottom svg path,
[data-theme="dark"] .footer-wave-top svg path {
  fill: #0F172A;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #0F172A;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #334155;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Theme toggle sun/moon icon swap */
.theme-icon-light {
  display: inline;
}

.theme-icon-dark {
  display: none;
}

[data-theme="dark"] .theme-icon-light {
  display: none;
}

[data-theme="dark"] .theme-icon-dark {
  display: inline;
}

/* ================================================================
   HERO VIDEO BACKGROUND
   ================================================================ */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background: #6d8ea6;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.8s ease;
}

.hero-video-standby {
  opacity: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      var(--hero-bg) 0%,
      rgba(10, 22, 40, 0.65) 18%,
      rgba(10, 22, 40, 0.25) 50%,
      transparent 75%);
}

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hero-bg);
  overflow: hidden;
  padding: 6rem 2rem 3rem;
  text-align: center;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--t-white);
  line-height: 1.2;
}

.page-hero-desc {
  font-size: 0.95rem;
  color: var(--t-white-dim);
  line-height: 1.7;
  max-width: 48ch;
  margin: 0.75rem auto 0;
}

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

.reveal-delay-5 {
  transition-delay: 0.40s;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .research-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual {
    order: -1;
  }
}

@media (max-width: 900px) {
  .hero-content {
    padding: 0 2rem;
    margin-left: 22%;
  }

  .hero-portrait-wrap {
    width: 28%;
  }

  .hero-bg-wrap {
    width: 65%;
  }

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

  .teaching-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .teaching-photo-side {
    height: 40vh;
  }

  .teaching-text-side {
    padding: 3.5rem 2.5rem;
  }

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

@media (max-width: 768px) {
  #site-nav {
    padding: 0.85rem 1.5rem;
  }

  #site-nav.scrolled {
    padding: 0.7rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-portrait-wrap {
    opacity: 0.35;
    width: 50%;
    left: -8%;
  }

  .hero-bg-wrap {
    width: 100%;
  }

  .hero-content {
    margin-left: 0;
    padding: 8rem 1.5rem 3rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .research-item {
    border-right: none;
    border-bottom: 1px solid var(--light-border);
  }

  .research-showcase-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .research-showcase-item.layout-alt {
    grid-template-columns: 1fr;
  }

  .research-showcase-item.layout-alt .showcase-content,
  .research-showcase-item.layout-alt .showcase-video-container {
    order: unset;
  }

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

  .impact-strip {
    flex-direction: column;
  }

  .impact-item {
    border-right: none;
    border-bottom: 1px solid var(--light-border);
  }

  .contact-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn-contact-primary,
  .btn-contact-ghost {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .research-grid {
    grid-template-columns: 1fr;
  }

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

  .stat-item {
    border-right: none;
  }

  .teaching-stats {
    gap: 1.5rem;
  }

  .collab-cards {
    grid-template-columns: 1fr;
  }

  .nav-logo-img {
    height: 44px;
  }
}

/* World Map Tooltip Styles */
.map-tooltip {
  position: absolute;
  padding: 0.85rem 1.1rem;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 158, 186, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 15px rgba(13, 158, 186, 0.15);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-sans);
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  transform: translate(-50%, -100%) scale(0.92);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-tooltip.active {
  opacity: 1;
  transform: translate(-50%, -112%) scale(1);
}

.map-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(10, 22, 40, 0.9) transparent transparent transparent;
}

.map-tooltip-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.3rem;
}

.map-tooltip-flag {
  font-size: 1.15rem;
}

.map-tooltip-country {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.map-tooltip-institutions {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.4rem;
}

.map-tooltip-inst {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
}

.map-tooltip-notes {
  font-size: 0.7rem;
  color: var(--accent);
  font-style: italic;
}