:root {
  --ink: #000814;
  --navy: #001d3d;
  --blue: #003566;
  --gold: #ffc300;
  --bright-gold: #ffd60a;
  --paper: #f8fbff;
  --muted: #abc0da;
  --line: rgba(255, 214, 10, 0.22);
  --shadow: 0 24px 70px rgba(0, 8, 20, 0.42);
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  min-width: 320px;
}

body::selection {
  background: var(--bright-gold);
  color: var(--ink);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  align-items: center;
  background: rgba(0, 8, 20, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 214, 10, 0.14);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(0, 8, 20, 0.92);
  box-shadow: 0 18px 48px rgba(0, 8, 20, 0.28);
}

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

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--bright-gold), var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  color: var(--ink);
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 0.82rem;
  font-weight: 900;
  justify-content: center;
  line-height: 1;
}

.brand-text {
  color: var(--paper);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.9rem;
  font-weight: 700;
  color: #d7e4f5;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--bright-gold);
  color: #ffffff;
  outline: none;
}

.hero {
  align-items: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  min-height: 94vh;
  overflow: hidden;
  padding: 128px clamp(18px, 4vw, 56px) 52px;
  position: relative;
}

.hero-art,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-art {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
  z-index: 0;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 8, 20, 0.96) 0%, rgba(0, 8, 20, 0.72) 40%, rgba(0, 29, 61, 0.28) 100%),
    linear-gradient(180deg, rgba(0, 8, 20, 0.45) 0%, rgba(0, 8, 20, 0.12) 48%, rgba(0, 8, 20, 0.98) 100%);
  z-index: 1;
}

.hero-content {
  max-width: 790px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--bright-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: #ffffff;
  font-size: clamp(4rem, 12vw, 10.8rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.86;
  margin-bottom: 28px;
  max-width: 8ch;
}

.hero-copy {
  color: #d9e8fb;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.55;
  margin-bottom: 30px;
  max-width: 620px;
}

.hero-actions,
.filter-group {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.filter-button,
.project-link {
  align-items: center;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button {
  padding: 0 18px;
}

.button:hover,
.button:focus-visible,
.project-link:hover,
.project-link:focus-visible,
.filter-button:hover,
.filter-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--bright-gold);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffffff;
}

.button-ghost {
  border: 1px solid rgba(255, 214, 10, 0.36);
  color: #ffffff;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--bright-gold);
  color: var(--bright-gold);
}

.hero-status {
  align-self: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.hero-status div {
  background: rgba(0, 29, 61, 0.72);
  padding: 22px;
}

.metric,
.metric-label {
  display: block;
}

.metric {
  color: var(--bright-gold);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 950;
  line-height: 0.95;
}

.metric-label {
  color: #dce7f6;
  font-size: 0.86rem;
  font-weight: 800;
  margin-top: 6px;
  text-transform: uppercase;
}

.intro-band {
  background: var(--blue);
  border-block: 1px solid rgba(255, 214, 10, 0.16);
}

.intro-inner {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 260px);
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(26px, 5vw, 48px) clamp(18px, 4vw, 28px);
}

.intro-inner p {
  color: #f7fbff;
  font-size: clamp(1.18rem, 2.8vw, 2rem);
  font-weight: 850;
  line-height: 1.25;
  margin-bottom: 0;
  max-width: 920px;
}

.intro-inner span {
  background: linear-gradient(90deg, transparent, var(--bright-gold));
  display: block;
  height: 4px;
  width: 100%;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(70px, 10vw, 116px) clamp(18px, 4vw, 28px);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-heading.compact {
  display: block;
  margin-bottom: 30px;
}

h2 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 4.6rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 0;
  max-width: 780px;
}

.filter-group {
  background: rgba(0, 29, 61, 0.58);
  border: 1px solid rgba(255, 214, 10, 0.18);
  border-radius: 8px;
  padding: 5px;
}

.filter-button {
  background: transparent;
  border: 0;
  color: #dce8f7;
  font: inherit;
  font-size: 0.82rem;
  min-height: 36px;
  padding: 0 12px;
}

.filter-button.is-active {
  background: var(--bright-gold);
  color: var(--ink);
}

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

.project-card {
  background:
    linear-gradient(145deg, rgba(0, 53, 102, 0.86), rgba(0, 29, 61, 0.94)),
    var(--navy);
  border: 1px solid rgba(255, 214, 10, 0.2);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 8, 20, 0.24);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 34px);
  position: relative;
}

.project-card::before {
  background: linear-gradient(90deg, var(--bright-gold), transparent);
  content: "";
  height: 3px;
  inset: 0 0 auto;
  position: absolute;
}

.project-card.is-hidden {
  display: none;
}

.project-card.is-featured {
  background:
    linear-gradient(145deg, rgba(0, 53, 102, 0.96), rgba(0, 8, 20, 0.94)),
    var(--blue);
}

.project-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 38px;
}

.status,
.project-kind {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1;
  padding: 8px 10px;
  text-transform: uppercase;
}

.status-live {
  background: var(--bright-gold);
  color: var(--ink);
}

.status-soon,
.project-kind {
  border: 1px solid rgba(255, 214, 10, 0.28);
  color: #f3f7fc;
}

.project-card h3 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.94;
  margin-bottom: 18px;
}

.project-card p {
  color: #d7e5f6;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 58ch;
}

.project-facts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: auto 0 26px;
}

.project-facts div {
  border-top: 1px solid rgba(255, 214, 10, 0.18);
  padding-top: 12px;
}

.project-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.project-facts dd {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 850;
  margin: 0;
}

.project-link {
  background: rgba(255, 214, 10, 0.1);
  border: 1px solid rgba(255, 214, 10, 0.34);
  color: var(--bright-gold);
  padding: 0 16px;
  width: fit-content;
}

.project-link:hover,
.project-link:focus-visible {
  background: var(--bright-gold);
  color: var(--ink);
}

.project-link.is-disabled {
  color: #ffffff;
}

.release-board {
  background:
    linear-gradient(180deg, rgba(0, 29, 61, 0.9), rgba(0, 8, 20, 0.98)),
    var(--navy);
  border-block: 1px solid rgba(255, 214, 10, 0.15);
}

.release-inner {
  padding-bottom: clamp(56px, 8vw, 96px);
  padding-top: clamp(56px, 8vw, 96px);
}

.timeline {
  border-left: 1px solid rgba(255, 214, 10, 0.24);
  display: grid;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
}

.timeline li {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr);
  position: relative;
}

.timeline-marker {
  background: var(--blue);
  border: 2px solid rgba(255, 214, 10, 0.5);
  border-radius: 999px;
  height: 16px;
  margin-left: -33px;
  margin-top: 4px;
  width: 16px;
}

.timeline-marker.is-live {
  background: var(--bright-gold);
  border-color: #ffffff;
}

.timeline h3 {
  color: #ffffff;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  margin-bottom: 6px;
}

.timeline p {
  color: #cfddf0;
  line-height: 1.6;
  margin-bottom: 0;
}

.updates-panel {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 53, 102, 0.92), rgba(0, 29, 61, 0.94)),
    var(--navy);
  border: 1px solid rgba(255, 214, 10, 0.2);
  border-radius: 8px;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(24px, 5vw, 42px);
}

.updates-panel h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.updates-panel p {
  color: #d6e4f5;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 68ch;
}

.site-footer {
  align-items: center;
  border-top: 1px solid rgba(255, 214, 10, 0.14);
  color: #bbcee6;
  display: flex;
  font-size: 0.9rem;
  font-weight: 750;
  gap: 16px;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 56px);
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  border-bottom: 1px solid transparent;
  color: #dbe7f6;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links a[aria-current="page"] {
  border-color: var(--bright-gold);
  color: #ffffff;
  outline: none;
}

.legal-hero {
  background:
    linear-gradient(135deg, rgba(0, 8, 20, 0.96), rgba(0, 29, 61, 0.88)),
    var(--ink);
  border-bottom: 1px solid rgba(255, 214, 10, 0.16);
  padding: 154px clamp(18px, 4vw, 56px) 58px;
}

.legal-shell {
  margin: 0 auto;
  max-width: 980px;
}

.legal-shell h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  max-width: 11ch;
}

.legal-updated {
  color: #c7d8ee;
  font-size: 0.95rem;
  font-weight: 750;
  margin: 0;
}

.legal-section {
  margin: 0 auto;
  max-width: 980px;
  padding: clamp(42px, 7vw, 78px) clamp(18px, 4vw, 28px);
}

.legal-prose {
  color: #d7e5f6;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.72;
}

.legal-prose h2 {
  color: #ffffff;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.08;
  margin: 38px 0 14px;
  max-width: none;
}

.legal-prose p {
  margin-bottom: 18px;
}

.legal-prose ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-prose li::marker {
  color: var(--bright-gold);
}

.legal-prose a {
  color: var(--bright-gold);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: start;
    flex-direction: column;
    gap: 10px;
    min-height: auto;
  }

  .site-nav {
    justify-content: space-between;
    width: 100%;
  }

  .hero {
    align-items: end;
    grid-template-columns: 1fr;
    min-height: 92vh;
    padding-top: 142px;
  }

  .hero-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 34px;
    width: 100%;
  }

  h1 {
    max-width: 7ch;
  }

  .intro-inner,
  .section-heading,
  .project-grid,
  .updates-panel {
    grid-template-columns: 1fr;
  }

  .filter-group {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .site-nav {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 88vh;
    padding-bottom: 28px;
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 5.5rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .filter-group {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .filter-button,
  .project-link {
    width: 100%;
  }

  .intro-inner span {
    display: none;
  }

  .project-card {
    min-height: 0;
  }

  .project-facts {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
