:root {
  --bg: #06131e;
  --surface: rgba(8, 20, 31, 0.74);
  --surface-strong: #091f30;
  --surface-soft: #0f2a3f;
  --text: #f4f7fb;
  --muted: #b6c7d7;
  --line: rgba(255, 255, 255, 0.1);
  --lime: #d8ff3e;
  --orange: #ff6f3c;
  --cyan: #50d3ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(80, 211, 255, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 111, 60, 0.2), transparent 34%),
    linear-gradient(140deg, #031018 0%, #071522 36%, #0a2335 100%);
  min-height: 100vh;
}

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

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

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 36px;
}

.topbar,
.footer,
.hero,
.info-panel,
.feature-card,
.split-section,
.timeline article,
.discipline-card,
.story-card,
.spotlight-card,
.curiosity-grid article,
.page-hero,
.facts-strip {
  backdrop-filter: blur(16px);
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 26px;
  background: rgba(5, 16, 26, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  color: #031018;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--lime), #f8ffb5);
  box-shadow: inset 0 0 0 1px rgba(3, 16, 24, 0.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 1.05rem;
}

.brand-text small,
.panel-kicker,
.eyebrow {
  color: var(--lime);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-text small {
  font-size: 0.72rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: #031018;
  background: linear-gradient(135deg, var(--cyan), #c7f5ff);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 999px;
}

.hero,
.split-section,
.page-hero,
.facts-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(9, 31, 48, 0.94), rgba(7, 20, 31, 0.82));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero::before,
.page-hero::before,
.split-section::before,
.facts-strip::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(216, 255, 62, 0.15), transparent 68%);
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 36px;
  border-radius: var(--radius-xl);
}

.hero-home .hero-visual img {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 28px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 10px 0 18px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.4rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.button-primary {
  color: #031018;
  background: linear-gradient(135deg, var(--lime), #f6ffb1);
  box-shadow: 0 14px 30px rgba(216, 255, 62, 0.22);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  color: var(--orange);
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
}

.floating-card {
  position: absolute;
  left: -12px;
  bottom: 18px;
  width: min(78%, 260px);
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(3, 16, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.floating-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-grid,
.feature-band,
.timeline-section,
.discipline-layout,
.curiosity-section {
  margin-top: 28px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-panel {
  padding: 28px;
  background: rgba(9, 31, 48, 0.75);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.accent-panel {
  background:
    linear-gradient(145deg, rgba(255, 111, 60, 0.18), transparent 52%),
    rgba(9, 31, 48, 0.82);
}

.info-panel h2,
.section-heading h2,
.split-copy h2,
.discipline-content h2,
.spotlight-copy h2 {
  margin: 10px 0 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.info-panel p,
.feature-card p,
.split-copy p,
.discipline-content p,
.story-card p,
.curiosity-grid p,
.timeline p,
.footer p,
.mini-facts p {
  color: var(--muted);
  line-height: 1.75;
}

.feature-band {
  padding: 6px 0 0;
}

.section-heading {
  margin-bottom: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card,
.discipline-card,
.spotlight-card,
.story-card,
.curiosity-grid article {
  background: rgba(9, 31, 48, 0.76);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-card img,
.discipline-card img,
.spotlight-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.feature-card-body,
.discipline-content,
.spotlight-copy,
.story-card,
.curiosity-grid article {
  padding: 22px;
}

.feature-card h3,
.timeline h3,
.story-card h3,
.curiosity-grid h3,
.mini-facts strong {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  margin-top: 28px;
  border-radius: var(--radius-xl);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.split-copy {
  padding: 34px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  padding: 24px;
  border-radius: 24px;
  background: rgba(9, 31, 48, 0.78);
  border: 1px solid var(--line);
}

.timeline-badge,
.curiosity-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  color: #031018;
  background: linear-gradient(135deg, var(--orange), #ffbc78);
}

.page-hero {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.page-hero-compact h1 {
  max-width: 14ch;
}

.discipline-layout {
  display: grid;
  gap: 20px;
}

.wide-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.reverse-card {
  grid-template-columns: 0.9fr 1.1fr;
}

.reverse-card img {
  order: 2;
}

.two-column-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.facts-strip {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.mini-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mini-facts article {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.magazine-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  margin-top: 28px;
}

.spotlight-card img {
  height: 420px;
}

.story-stack {
  display: grid;
  gap: 18px;
}

.story-card {
  padding: 24px;
}

.curiosity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 8px 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--lime);
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .wide-card,
  .reverse-card,
  .magazine-grid,
  .card-grid,
  .timeline,
  .curiosity-grid,
  .mini-facts,
  .two-column-cards,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-home .hero-visual img,
  .split-media img,
  .spotlight-card img {
    min-height: 320px;
  }

  .reverse-card img {
    order: 0;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 14px;
  }

  .topbar {
    top: 10px;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

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

  .nav a {
    text-align: center;
  }

  .hero,
  .page-hero,
  .facts-strip {
    padding: 24px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .footer {
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
  }
}
