:root {
  --bg: #0f1626;
  --bg-soft: #1b2a3a;
  --surface: #1f344a;
  --ink: #f4f7fb;
  --muted: #bfd0df;
  --accent: #ffd166;
  --accent-2: #06d6a0;
  --ring: rgba(255, 209, 102, 0.45);
  --border: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(6, 214, 160, 0.18),
      transparent 36%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(255, 209, 102, 0.2),
      transparent 32%
    ),
    linear-gradient(145deg, var(--bg), #0b111f 62%, #09131f);
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-120%);
  background: var(--accent);
  color: #17202d;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 0 0 0.6rem 0;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
.site-footer {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  padding: 2.5rem 0 1.25rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  max-width: 20ch;
}

.lede {
  max-width: 64ch;
  color: var(--muted);
}

.cta {
  margin-top: 1rem;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ffec99);
  color: #202020;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
}

.cta:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 2rem;
}

.image-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.8rem;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.image-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 209, 102, 0.6);
}

.image-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.8rem;
}

.timeline,
.crew,
.dispatch {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.1rem;
  margin-bottom: 1rem;
}

.timeline ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.timeline li {
  margin-bottom: 0.6rem;
}

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

.crew-card {
  min-height: 180px;
  padding: 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid var(--border);
  background: linear-gradient(
    165deg,
    rgba(6, 214, 160, 0.13),
    rgba(255, 255, 255, 0.04)
  );
}

.dispatch {
  border-color: rgba(255, 209, 102, 0.45);
}

#dispatchText {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #fff0ba;
}

.site-footer {
  padding: 1rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .site-header {
    padding-top: 1.5rem;
  }
}

@media (max-width: 600px) {
  .lede,
  .timeline li,
  .crew-card p,
  .site-footer {
    font-size: 0.9rem;
  }
}
