:root {
  color-scheme: dark;
  --bg-900: #040915;
  --bg-800: #091326;
  --surface: rgba(12, 21, 42, 0.85);
  --surface-strong: rgba(13, 24, 48, 0.92);
  --border: rgba(96, 165, 250, 0.35);
  --border-subtle: rgba(148, 163, 184, 0.2);
  --text-100: #f8fafc;
  --text-300: #d5dcfb;
  --text-500: #9aa5c4;
  --accent: #60a5fa;
  --accent-strong: #38bdf8;
  --shadow-soft: 0 18px 40px rgba(6, 11, 25, 0.45);
  --shadow-subtle: 0 8px 20px rgba(8, 13, 26, 0.35);
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(96, 165, 250, 0.08), transparent 55%),
    linear-gradient(160deg, rgba(59, 130, 246, 0.08), transparent 70%), var(--bg-900);
  color: var(--text-100);
  line-height: 1.65;
  overflow-x: hidden;
}

::selection {
  background: rgba(96, 165, 250, 0.35);
  color: var(--text-100);
}

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

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.12"/></svg>');
  opacity: 0.22;
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(4, 9, 21, 0.95), rgba(4, 9, 21, 0.7));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.78), rgba(168, 85, 247, 0.72));
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--bg-900);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  color: var(--text-300);
  font-weight: 500;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text-100);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.ghost-btn {
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.5);
  color: var(--text-100);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.ghost-btn:hover,
.ghost-btn:focus-visible {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.65);
  box-shadow: var(--shadow-subtle);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-100);
}

main {
  width: min(1100px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 4rem;
}

.hero__content {
  position: relative;
  z-index: 2;
}
.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  margin-bottom: clamp(3rem, 8vw, 6rem);
}

.hero__content .kicker {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-500);
}

.hero__content h1 {
  margin: 0.75rem 0 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  letter-spacing: -0.01em;
  color: var(--text-100);
}

.hero__content .lead {
  margin: 0 0 1.8rem;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--text-300);
  max-width: 60ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent-strong), #a855f7);
  color: #031126;
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.35);
}

.secondary-btn {
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--text-100);
}

.secondary-btn--reel {
  border-color: rgba(250, 204, 21, 0.7);
  color: #fff7c2;
  background: rgba(250, 204, 21, 0.15);
  box-shadow: 0 14px 32px rgba(250, 204, 21, 0.25);
}

.primary-btn:hover,
.primary-btn:focus-visible,
.secondary-btn:hover,
.secondary-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(56, 189, 248, 0.38);
}

.secondary-btn--reel:hover,
.secondary-btn--reel:focus-visible {
  box-shadow: 0 22px 48px rgba(250, 204, 21, 0.48), 0 0 24px rgba(250, 204, 21, 0.35);
  border-color: rgba(250, 204, 21, 0.85);
  background: rgba(250, 204, 21, 0.28);
  color: #fffbe8;
}

.hero__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-500);
}

.hero__contact a {
  color: var(--text-100);
  font-weight: 500;
}

.hero__contact span {
  font-weight: 500;
}

.hero__badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero__badges li {
  padding: 1.1rem 1.3rem;
  border-radius: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.badge-title {
  display: block;
  font-weight: 600;
  color: var(--accent);
}

.badge-sub {
  font-size: 0.85rem;
  color: var(--text-500);
}

.hero__stage {
  position: relative;
  z-index: 1;
  pointer-events: none;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1.6rem;
  padding: clamp(1.8rem, 5vw, 2.6rem);
  box-shadow: var(--shadow-soft);
  perspective: 1400px;
  overflow: visible;
  min-height: clamp(360px, 55vw, 520px);
}

.stage__halo {
  position: absolute;
  inset: auto;
  bottom: -140px;
  width: clamp(320px, 55vw, 520px);
  height: clamp(200px, 40vw, 240px);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.32), transparent 65%);
  filter: blur(70px);
  opacity: 0.6;
  pointer-events: none;
}

.carousel {
  --panel-count: 8;
  --radius: clamp(200px, 32vw, 320px);
  position: relative;
  width: clamp(260px, 40vw, 360px);
  height: clamp(300px, 48vw, 420px);
  transform-style: preserve-3d;
  animation: spin 26s linear infinite;
  pointer-events: auto;
}

.hero__stage:hover .carousel,
.hero__stage:focus-within .carousel {
  animation-play-state: paused;
}

@keyframes spin {
  to {
    transform: rotateY(-360deg);
  }
}

.carousel__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(200px, 30vw, 240px);
  height: clamp(240px, 38vw, 300px);
  padding: 1.4rem;
  border-radius: 1.4rem;
  background: rgba(11, 22, 46, 0.78);
  border: 1px solid var(--border);
  box-shadow: 0 24px 46px rgba(8, 13, 30, 0.55);
  transform: rotateY(calc(var(--i) * (360deg / var(--panel-count)))) translateZ(var(--radius))
    translate(-50%, -50%);
  display: grid;
  gap: 0.85rem;
}

.carousel__panel::after {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.carousel__panel:hover::after,
.carousel__panel:focus-within::after {
  opacity: 1;
}

.carousel__panel h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.carousel__panel p {
  margin: 0;
  color: var(--text-500);
  font-size: 0.94rem;
}

.panel__icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: rgba(96, 165, 250, 0.18);
  color: var(--accent);
  font-size: 1.6rem;
}

.carousel__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(150px, 22vw, 210px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 30px 52px rgba(5, 12, 28, 0.55);
  background:
    radial-gradient(circle at 35% 35%, rgba(250, 204, 21, 0.22), transparent 65%),
    rgba(4, 8, 18, 0.78);
  z-index: 2;
}

.carousel__hub img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.carousel__core {
  position: absolute;
  inset: auto;
  bottom: 0;
  display: grid;
  place-items: center;
  transform: translateY(58%);
}

.core__pulse {
  width: clamp(200px, 36vw, 320px);
  height: clamp(90px, 16vw, 140px);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4), transparent 70%);
  filter: blur(40px);
  animation: pulseCore 5s ease-in-out infinite;
}

@keyframes pulseCore {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.core__pedestal {
  position: relative;
  padding: 1.2rem 2rem;
  border-radius: 999px;
  background: rgba(9, 18, 38, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 18px 42px rgba(7, 12, 28, 0.55), inset 0 0 22px rgba(56, 189, 248, 0.2);
  text-align: center;
  z-index: 1;
}

.core__badge {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.8);
}

.core__caption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.72);
}

.section {
  margin-bottom: clamp(3rem, 8vw, 6rem);
}

.section__heading {
  max-width: 620px;
  margin-bottom: clamp(1.8rem, 5vw, 2.8rem);
}

.section__heading .kicker {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-500);
}

.section__heading h2 {
  margin: 0 0 0.7rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
  color: var(--text-100);
}

.section__heading p {
  margin: 0;
  color: var(--text-300);
}

.photo-gallery__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.photo-gallery__card {
  border-radius: 1.2rem;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
}

.photo-gallery__card:hover,
.photo-gallery__card:focus-within {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.photo-gallery__card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.photo-gallery__card:hover img,
.photo-gallery__card:focus-within img {
  transform: scale(1.08);
}

.photo-gallery__caption {
  margin: 0;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-500);
  border-top: 1px solid rgba(96, 165, 250, 0.12);
  background: linear-gradient(180deg, rgba(15, 27, 50, 0.92), rgba(9, 14, 28, 0.88));
}

.achievement-grid,
.publications-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.tile,
.lab-card,
.publication-card,
.timeline__track li,
.stat-card {
  padding: 1.5rem;
  border-radius: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
}

.tile:hover,
.tile:focus-within,
.lab-card:hover,
.lab-card:focus-within,
.publication-card:hover,
.publication-card:focus-within,
.timeline__track li:hover,
.timeline__track li:focus-within {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.tile span.icon {
  font-size: 1.5rem;
  color: var(--accent);
}

.tile h3 {
  margin: 0.9rem 0 0.6rem;
  font-size: 1.1rem;
  color: var(--text-100);
}

.tile p {
  margin: 0 0 0.9rem;
  color: var(--text-500);
}

.tile__meta {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(168, 85, 247, 0.22));
  border: 1px solid rgba(96, 165, 250, 0.35);
  position: relative;
  overflow: hidden;
}

.tile .icon {
  margin-bottom: 1rem;
}

.icon::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.45));
}

.icon--atom::before {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="64" height="64" stroke="%2360a5fa" fill="none" stroke-width="2"%3E%3Cellipse cx="32" cy="32" rx="22" ry="8"/%3E%3Cellipse transform="rotate(60 32 32)" cx="32" cy="32" rx="22" ry="8"/%3E%3Cellipse transform="rotate(120 32 32)" cx="32" cy="32" rx="22" ry="8"/%3E%3Ccircle cx="32" cy="32" r="3" fill="%2360a5fa"/%3E%3C/svg%3E');
}

.icon--book::before {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="64" height="64" stroke="%2360a5fa" fill="none" stroke-width="2"%3E%3Cpath d="M18 16h18a6 6 0 0 1 6 6v26h-18a6 6 0 0 0-6 6V16z"/%3E%3Cpath d="M46 16h-18a6 6 0 0 0-6 6v26h18a6 6 0 0 1 6 6V16z"/%3E%3C/svg%3E');
}

.icon--laptop::before {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="64" height="64" stroke="%2360a5fa" fill="none" stroke-width="2"%3E%3Crect x="14" y="18" width="36" height="24" rx="3"/%3E%3Cpath d="M10 46h44l4 6H6l4-6z"/%3E%3C/svg%3E');
}

.icon--globe::before {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="64" height="64" stroke="%2360a5fa" fill="none" stroke-width="2"%3E%3Ccircle cx="32" cy="32" r="18"/%3E%3Cpath d="M14 32h36M32 14c6 6 9 18 6 30-1.5 6-3.5 9-6 12-2.5-3-4.5-6-6-12-3-12 0-24 6-30z"/%3E%3C/svg%3E');
}

.icon--laurel::before {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="64" height="64" stroke="%2360a5fa" fill="none" stroke-width="2"%3E%3Cpath d="M25 14c-7 5-11 13-11 22 0 9 4 17 11 22M39 14c7 5 11 13 11 22 0 9-4 17-11 22"/%3E%3Cpath d="M32 20v28"/%3E%3C/svg%3E');
}

.icon--star::before {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="64" height="64" stroke="%2360a5fa" fill="none" stroke-width="2"%3E%3Cpolygon points="32 12 37.5 26.5 53 26.5 40 36 44.5 50 32 41.5 19.5 50 24 36 11 26.5 26.5 26.5 32 12"/%3E%3C/svg%3E');
}

.icon--wave::before {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="64" height="64" stroke="%2360a5fa" fill="none" stroke-width="2"%3E%3Cpath d="M12 36c8 0 8-8 16-8s8 8 16 8 8-8 16-8"/%3E%3Cpath d="M12 28c8 0 8-8 16-8s8 8 16 8 8-8 16-8"/%3E%3C/svg%3E');
}

.icon--compass::before {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="64" height="64" stroke="%2360a5fa" fill="none" stroke-width="2"%3E%3Ccircle cx="32" cy="32" r="18"/%3E%3Cpolygon points="32 22 42 32 32 42 22 32 32 22"/%3E%3Ccircle cx="32" cy="32" r="4" fill="%2360a5fa"/%3E%3C/svg%3E');
}

.lab-slider {
  display: grid;
  gap: 1.5rem;
}

.lab-slider__nav {
  display: none;
}

.lab-slider__track {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.lab-card header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.lab-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-100);
}

.lab-card span {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
}

.lab-card p {
  margin: 0 0 1rem;
  color: var(--text-500);
}

.lab-card ul {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  color: var(--text-500);
}

.lab-card li + li {
  margin-top: 0.4rem;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-weight: 500;
}

.inline-link::after {
  content: '↗';
  font-size: 0.85rem;
}

.publication-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
  color: var(--text-100);
}

.publication-card p {
  margin: 0 0 1rem;
  color: var(--text-500);
}

.timeline__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.timeline__track li {
  position: relative;
  padding-left: 2rem;
}

.timeline__track li::before {
  content: '';
  position: absolute;
  left: 0.35rem;
  top: 0.6rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.7);
}

.timeline__track li::after {
  content: '';
  position: absolute;
  left: 0.8rem;
  top: 1.2rem;
  bottom: -1.5rem;
  width: 1px;
  background: rgba(96, 165, 250, 0.25);
}

.timeline__track li:last-child::after {
  display: none;
}

.timeline .year {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-500);
}

.timeline h3 {
  margin: 0.4rem 0 0.6rem;
  font-size: 1.1rem;
  color: var(--text-100);
}

.timeline p {
  margin: 0;
  color: var(--text-500);
}

.stats-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-card {
  text-align: center;
  display: grid;
  gap: 0.4rem;
}

.stat-card .stat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-card p {
  margin: 0;
  color: var(--text-500);
}

.contact {
  position: relative;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 1.8rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: 0 32px 60px rgba(8, 14, 32, 0.55);
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: -40% 10% auto;
  height: 70%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.4), transparent 60%);
  pointer-events: none;
  opacity: 0.6;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: clamp(1.5rem, 4vw, 2.4rem);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-300);
}

.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(5, 11, 24, 0.75);
  color: var(--text-100);
  padding: 0.8rem 1rem;
  font: inherit;
  line-height: 1.5;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
  outline: none;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group--hidden {
  display: none;
}

.contact-form .primary-btn {
  justify-self: start;
  margin-top: 0.5rem;
}

.site-footer {
  padding: 2.5rem clamp(1.5rem, 5vw, 3rem) 3rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(4, 9, 21, 0.92);
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.site-footer strong {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-footer span {
  color: var(--text-500);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-500);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.legal {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.6);
}

@media (max-width: 960px) {
  .main-nav {
    position: absolute;
    top: 72px;
    right: clamp(1.25rem, 4vw, 3rem);
    width: clamp(240px, 70vw, 320px);
    padding: 1.4rem;
    border-radius: 1rem;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(4, 9, 21, 0.96);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .ghost-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
}
.hero__content {
  position: relative;
  z-index: 2;
}
.hero {
    grid-template-columns: 1fr;
  }

  .hero__stage {
  pointer-events: none;
  z-index: 1;
    perspective: none;
    order: 2;
    min-height: auto;
    padding: 1.6rem;
  }

  .stage__halo,
  .carousel__core {
    display: none;
  }

  .carousel {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    transform: none;
    animation: none;
  }

  .carousel__panel {
    position: relative;
    transform: none !important;
    width: 100%;
    height: auto;
  }

  .carousel__hub {
    position: static;
    transform: none;
    width: min(240px, 70%);
    margin: 0 auto 1.4rem;
  }
}

@media (max-width: 720px) {
  main {
    width: min(100%, calc(100% - 2rem));
  }

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

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

  .achievement-grid,
  .publications-grid,
  .lab-slider__track,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .timeline__track li::after {
    left: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    width: 100%;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}
