:root {
  --bg: #07111f;
  --bg-soft: #0d1b2a;
  --surface: rgba(16, 29, 47, 0.74);
  --surface-strong: rgba(10, 22, 38, 0.9);
  --text: #eff6ff;
  --muted: #aac0d8;
  --line: rgba(137, 187, 255, 0.16);
  --primary: #5eead4;
  --primary-strong: #2dd4bf;
  --accent: #7dd3fc;
  --glow: rgba(94, 234, 212, 0.28);
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.12), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(94, 234, 212, 0.14), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #091424 30%, #07111f 100%);
}

a { color: inherit; text-decoration: none; }
p { line-height: 1.72; }

.site-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.topbar {
  width: min(var(--max), calc(100% - 2rem));
  margin: 1rem auto 0;
  position: sticky;
  top: 0.8rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.58);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.24), rgba(94, 234, 212, 0.18));
  border: 1px solid rgba(125, 211, 252, 0.2);
  font-weight: 800;
  color: var(--primary);
}

.brand-text {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 1.1rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.97rem;
}

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

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.5rem;
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 6.5rem 0;
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

h1, h2, h3 {
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.8rem, 5vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); }
h3 { font-size: 1.2rem; }

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 65ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #04101d;
  box-shadow: 0 18px 40px rgba(94, 234, 212, 0.2);
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-secondary {
  background: rgba(255,255,255,0.02);
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(125, 211, 252, 0.3);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}

.stat-card,
.glass {
  background: linear-gradient(180deg, rgba(18, 33, 55, 0.72), rgba(9, 17, 31, 0.82));
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.stat-card {
  border-radius: 22px;
  padding: 1.15rem;
}

.stat-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 0.35rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.orb-a {
  width: 220px;
  height: 220px;
  background: rgba(94, 234, 212, 0.12);
  top: 8%;
  left: 8%;
}

.orb-b {
  width: 280px;
  height: 280px;
  background: rgba(125, 211, 252, 0.1);
  bottom: 5%;
  right: 8%;
}

.signal-card {
  position: relative;
  width: min(100%, 540px);
  border-radius: 32px;
  padding: 1.25rem;
  overflow: hidden;
}

.signal-card::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.14), transparent 70%);
  pointer-events: none;
}

.signal-top,
.signal-bottom {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-svg {
  width: 100%;
  height: auto;
  margin: 1rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.about-grid,
.pillars,
.research-cards,
.projects-grid,
.links-grid {
  display: grid;
  gap: 1.2rem;
}

.about-grid,
.pillars,
.research-cards,
.projects-grid {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.pillar,
.research-card,
.project-card,
.link-tile,
.timeline-card,
.contact-card {
  border-radius: var(--radius);
}

.info-card,
.pillar,
.research-card,
.project-card {
  padding: 1.5rem;
}

.info-card p,
.pillar p,
.research-card p,
.project-card p,
.timeline-card p,
.contact-text,
.footer p { color: var(--muted); }

.pillar-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(94, 234, 212, 0.08);
  color: var(--primary);
  margin-bottom: 1rem;
}

.pillar-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline {
  display: grid;
  gap: 1.2rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline-year {
  color: var(--primary);
  font-weight: 800;
  padding-top: 0.8rem;
}

.timeline-card {
  padding: 1.35rem 1.5rem;
}

.tag {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.12);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.project-card a,
.link-tile {
  color: var(--primary);
  font-weight: 700;
}

.project-card a:hover,
.link-tile:hover { color: var(--text); }

.links-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-tile {
  padding: 1.15rem 1.2rem;
}

.contact-card {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: center;
}

.footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 2.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero,
  .contact-card,
  .about-grid,
  .pillars,
  .research-cards,
  .projects-grid,
  .links-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .hero-visual { min-height: 380px; }
}

@media (max-width: 760px) {
  .topbar {
    border-radius: 24px;
    align-items: flex-start;
  }

  .menu-toggle { display: block; }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(7, 17, 31, 0.95);
    border: 1px solid var(--line);
  }

  .nav.open { display: flex; }

  .brand-text { font-size: 0.95rem; }

  .section { padding: 5rem 0; }

  .hero-stats,
  .about-grid,
  .pillars,
  .research-cards,
  .projects-grid,
  .links-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-year { padding-top: 0; }

  .footer { flex-direction: column; }
}
