:root {
  --bg: #051521;
  --bg-soft: #0b2333;
  --panel: rgba(8, 33, 51, 0.82);
  --panel-strong: rgba(8, 33, 51, 0.94);
  --line: rgba(111, 194, 255, 0.22);
  --text: #edf8ff;
  --muted: #a5c8df;
  --brand: #2ba0e0;
  --brand-strong: #155f9c;
  --brand-soft: #74d5ff;
  --glow: rgba(43, 160, 224, 0.35);
  --shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Instrument Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(43, 160, 224, 0.38), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(21, 95, 156, 0.45), transparent 24%),
    linear-gradient(180deg, #07253a 0%, #04121d 52%, #020b13 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    url("assets/muster-console.png") center top / cover no-repeat;
  background-blend-mode: screen, screen, soft-light;
  opacity: 0.18;
  pointer-events: none;
}

a {
  color: inherit;
}

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

.page-shell {
  position: relative;
  isolation: isolate;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.site-header,
.status-panel,
.story-card,
.legacy-quote,
.future-panel,
.thanks-card,
.site-footer,
.hero-card,
.hero-badge {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 21, 33, 0.72);
  position: sticky;
  top: 18px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand img {
  width: 44px;
  height: 44px;
}

.site-nav {
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.future-links a:hover,
.future-links a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--brand-soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 40px;
  align-items: center;
  padding: 72px 0 48px;
}

.eyebrow {
  margin: 0 0 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-soft);
}

.hero h1,
.section-heading h2,
.legacy-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3.6rem, 10vw, 7rem);
  max-width: 10ch;
}

.hero-lead,
.status-panel p,
.story-card p,
.legacy-copy p,
.legacy-quote p,
.future-grid p,
.thanks-card p,
.thanks-section .section-heading p,
.site-footer p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 62ch;
}

.hero-lead-secondary {
  margin-top: 14px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--brand-soft), var(--brand));
  color: #032238;
  box-shadow: 0 20px 40px rgba(43, 160, 224, 0.28);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-facts li {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(116, 213, 255, 0.22);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(12, 36, 54, 0.96), rgba(4, 15, 25, 0.92));
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-main {
  inset: 14% 0 0 12%;
  height: 72%;
}

.hero-card-detail {
  width: 38%;
  left: 0;
  bottom: 2%;
  aspect-ratio: 0.88;
}

.hero-badge {
  position: absolute;
  top: 8%;
  right: 2%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(116, 213, 255, 0.34);
  background: rgba(8, 33, 51, 0.9);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.hero-badge span {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-soft);
}

.hero-badge strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
}

.status-panel,
.future-panel,
.site-footer {
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
}

.status-panel {
  margin-bottom: 88px;
}

.story-grid,
.thanks-section,
.legacy-layout,
.future-panel {
  margin-bottom: 88px;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.section-heading h2,
.legacy-copy h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  max-width: 14ch;
}

.section-heading p {
  margin-top: 16px;
}

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

.story-grid .section-heading {
  grid-column: 1 / -1;
}

.story-card,
.thanks-card,
.legacy-quote {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
}

.story-year {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(43, 160, 224, 0.12);
  color: var(--brand-soft);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-card h3,
.thanks-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
}

.story-card p,
.thanks-card p,
.thanks-card ul {
  margin: 14px 0 0;
}

.legacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.legacy-copy {
  padding-right: 20px;
}

.legacy-quote {
  position: relative;
  overflow: hidden;
}

.legacy-quote::before {
  content: "";
  position: absolute;
  inset: -20% 30% 35% -12%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
}

.legacy-quote p {
  position: relative;
  margin: 0;
  font-size: 1.18rem;
}

.future-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 26px;
  align-items: start;
}

.future-links {
  display: grid;
  gap: 14px;
}

.future-links a {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  font-weight: 600;
}

.thanks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.thanks-card-accent {
  background: linear-gradient(180deg, rgba(43, 160, 224, 0.22), rgba(5, 21, 33, 0.88));
  border-color: rgba(116, 213, 255, 0.34);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1024px) {
  .hero,
  .legacy-layout,
  .future-grid,
  .thanks-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    max-width: 12ch;
  }

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

  .hero-card-main {
    inset: 12% 2% 0 14%;
    height: 68%;
  }

  .hero-card-detail {
    width: 34%;
    left: 4%;
  }

  .story-grid .section-heading {
    margin-bottom: 8px;
  }

  .legacy-copy {
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 12px;
  }

  .site-header,
  .site-footer {
    border-radius: 28px;
  }

  .site-header,
  .site-footer,
  .status-panel,
  .future-panel,
  .story-card,
  .thanks-card,
  .legacy-quote {
    padding: 20px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 12px;
  }

  .hero {
    gap: 22px;
    padding: 42px 0 30px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 16vw, 4.4rem);
  }

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

  .hero-card-main {
    inset: 14% 0 0 8%;
    height: 64%;
  }

  .hero-card-detail {
    width: 42%;
    left: 0;
    bottom: 0;
  }

  .hero-badge {
    right: 0;
  }

  .status-panel,
  .story-grid,
  .thanks-section,
  .legacy-layout,
  .future-panel {
    margin-bottom: 56px;
  }

  .section-heading h2,
  .legacy-copy h2 {
    max-width: none;
  }
}