:root {
  --bg: #120d19;
  --bg-soft: #1a1224;
  --panel: rgba(34, 22, 49, 0.7);
  --panel-strong: rgba(22, 14, 34, 0.9);
  --panel-light: rgba(255, 255, 255, 0.06);
  --text: #f6f1ff;
  --muted: #c7bfd6;
  --accent: #9d72df;
  --accent-strong: #7c50c6;
  --accent-soft: rgba(157, 114, 223, 0.16);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 28px 80px rgba(6, 4, 11, 0.42);
  --max-width: min(1180px, calc(100% - 2rem));
}

* {
  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(157, 114, 223, 0.22), transparent 26%),
    radial-gradient(circle at 85% 12%, rgba(95, 58, 156, 0.28), transparent 24%),
    linear-gradient(180deg, #171020 0%, #100b17 100%);
}

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

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

.moonshot-body {
  min-height: 100vh;
}

.moonshot-hero,
.moonshot-story-hero,
.moonshot-section {
  width: var(--max-width);
  margin: 0 auto;
}

.moonshot-hero {
  padding: 1.5rem 0 4rem;
}

.moonshot-story-hero {
  padding: 1.5rem 0 3rem;
}

.moonshot-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.moonshot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.moonshot-brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.7), transparent 24%),
    linear-gradient(135deg, #c8a8ff, #8e5de0 62%, #4f2b8e);
  box-shadow: inset -10px -10px 18px rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
}

.moonshot-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.moonshot-brand-kicker,
.moonshot-eyebrow,
.moonshot-proof-label,
.moonshot-stat-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--muted);
}

.moonshot-brand-name {
  font-family: "Oswald", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
}

.moonshot-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.moonshot-nav-link {
  color: var(--muted);
  font-weight: 700;
}

.moonshot-nav-link:hover {
  color: var(--text);
}

.moonshot-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #130b1f;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.moonshot-button:hover {
  transform: translateY(-2px);
  background: #b58aef;
}

.moonshot-button-ghost,
.moonshot-button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.moonshot-button-ghost:hover,
.moonshot-button-secondary:hover {
  background: var(--panel-light);
}

.moonshot-hero-grid,
.moonshot-story-hero-grid,
.moonshot-split-grid,
.moonshot-story-promo,
.moonshot-visual-grid,
.moonshot-story-grid,
.moonshot-method-grid,
.moonshot-value-grid,
.moonshot-proof-grid,
.moonshot-timeline,
.moonshot-cta-card,
.moonshot-race-card,
.moonshot-story-promo {
  display: grid;
}

.moonshot-hero-grid,
.moonshot-story-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.5rem;
  align-items: stretch;
}

.moonshot-story-hero-grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
}

.moonshot-hero-copy h1,
.moonshot-story-hero-copy h1,
.moonshot-heading h2,
.moonshot-panel h3,
.moonshot-value-card h3,
.moonshot-proof-card strong,
.moonshot-proof-card h3,
.moonshot-timeline-card h3,
.moonshot-cta-card h2,
.moonshot-race-copy h2 {
  font-family: "Oswald", sans-serif;
  line-height: 0.96;
  margin: 0;
}

.moonshot-hero-copy h1,
.moonshot-story-hero-copy h1 {
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  text-transform: uppercase;
  max-width: 9ch;
}

.moonshot-lead,
.moonshot-sublead,
.moonshot-panel p,
.moonshot-value-card p,
.moonshot-proof-card p,
.moonshot-timeline-card p,
.moonshot-cta-card p,
.moonshot-race-copy p,
.moonshot-visual-card figcaption,
.moonshot-story-promo-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.moonshot-sublead {
  max-width: 42rem;
  margin-top: -0.2rem;
}

.moonshot-story-hero-copy .moonshot-sublead {
  margin-top: 0.55rem;
  max-width: 34rem;
}

.moonshot-hero-actions,
.moonshot-cta-actions,
.moonshot-card-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.moonshot-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.moonshot-hero-focus {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 1.4rem;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(157, 114, 223, 0.14), rgba(255, 255, 255, 0.04));
  text-align: center;
}

.moonshot-hero-focus-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--muted);
}

.moonshot-hero-focus strong {
  font-family: "Oswald", sans-serif;
  font-size: 1.6rem;
  line-height: 1;
  text-transform: uppercase;
}

.moonshot-hero-focus span:last-child {
  color: var(--muted);
  line-height: 1.5;
}

.moonshot-stat-card,
.moonshot-panel,
.moonshot-proof-card,
.moonshot-value-card,
.moonshot-timeline-card,
.moonshot-cta-card,
.moonshot-race-card,
.moonshot-story-promo,
.moonshot-visual-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.moonshot-stat-card,
.moonshot-panel,
.moonshot-proof-card,
.moonshot-value-card,
.moonshot-timeline-card {
  border-radius: 1.6rem;
  padding: 1.2rem;
}

.moonshot-stat-number {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
}

.moonshot-hero-photo,
.moonshot-story-hero-photo {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  min-height: 32rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.moonshot-story-hero-photo {
  min-height: 28rem;
}

.moonshot-hero-photo::before,
.moonshot-story-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 7, 16, 0.04), rgba(10, 7, 16, 0.2));
  pointer-events: none;
}

.moonshot-hero-photo img,
.moonshot-story-hero-photo img {
  height: 100%;
  object-fit: cover;
}

.moonshot-hero-photo img {
  object-position: 60% 18%;
}

.moonshot-hero-photo .moonshot-hero-image-selfie {
  object-position: 58% 54%;
}

.moonshot-section {
  padding: 1.4rem 0 4rem;
}

.moonshot-heading {
  margin-bottom: 1.2rem;
}

.moonshot-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  text-transform: uppercase;
  max-width: 14ch;
}

.moonshot-split-grid {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.moonshot-panel-highlight {
  background:
    linear-gradient(135deg, rgba(157, 114, 223, 0.18), rgba(62, 34, 105, 0.1)),
    var(--panel);
}

.moonshot-section-band .moonshot-panel-highlight {
  margin-bottom: 1.35rem;
  margin-inline: 0.55rem;
}

.moonshot-proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.moonshot-proof-card strong {
  display: block;
  font-size: 2rem;
  margin: 0.35rem 0 0.6rem;
  text-transform: uppercase;
}

.moonshot-section-band {
  position: relative;
}

.moonshot-section-band::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(104, 69, 163, 0.18), rgba(14, 10, 20, 0.24)),
    url("flint-hills-116.jpg") center 34%/cover;
  opacity: 0.9;
  z-index: -1;
}

.moonshot-value-grid,
.moonshot-method-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.moonshot-section-band .moonshot-value-grid {
  padding-inline: 0.55rem;
}

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

.moonshot-visual-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.moonshot-visual-card {
  border-radius: 1.8rem;
  overflow: hidden;
}

.moonshot-visual-card img {
  height: 21rem;
  object-fit: cover;
}

.moonshot-visual-card figcaption {
  padding: 1rem 1.1rem 1.2rem;
}

.moonshot-story-promo {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 0;
  overflow: hidden;
  border-radius: 2rem;
}

.moonshot-story-promo-copy {
  padding: 1.5rem;
  background: var(--panel-strong);
}

.moonshot-story-promo-photo {
  height: clamp(20rem, 30vw, 27rem);
}

.moonshot-story-promo-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moonshot-story-promo-image-looking-away {
  object-position: center 23%;
}

.moonshot-content-grid {
  align-items: stretch;
}

.moonshot-content-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.moonshot-content-card strong {
  font-size: 1.55rem;
}

.moonshot-card-actions {
  margin-top: auto;
}

.moonshot-cta-card,
.moonshot-race-card {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  border-radius: 2rem;
  padding: 1.5rem;
}

.moonshot-race-card {
  grid-template-columns: 1fr;
  background:
    linear-gradient(135deg, rgba(33, 22, 51, 0.92), rgba(58, 35, 94, 0.8)),
    url("flint-hills-116.jpg") center 34%/cover;
}

.moonshot-full-story-body .moonshot-section-band::before {
  background:
    linear-gradient(135deg, rgba(104, 69, 163, 0.18), rgba(14, 10, 20, 0.24)),
    url("story-background-chase.jpg") center 44%/cover;
}

.moonshot-full-story-body .moonshot-race-card {
  background:
    linear-gradient(135deg, rgba(33, 22, 51, 0.92), rgba(58, 35, 94, 0.78)),
    url("story-background-open-road.jpg") center 48%/cover;
}

.moonshot-race-copy {
  max-width: 44rem;
}

.moonshot-story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.moonshot-card-index {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 0.9rem;
}

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

@media (max-width: 1100px) {
  .moonshot-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .moonshot-hero-grid,
  .moonshot-story-hero-grid,
  .moonshot-split-grid,
  .moonshot-proof-grid,
  .moonshot-visual-grid,
  .moonshot-story-grid,
  .moonshot-method-grid,
  .moonshot-timeline,
  .moonshot-story-promo,
  .moonshot-cta-card {
    grid-template-columns: 1fr;
  }

  .moonshot-timeline-card-wide {
    grid-column: auto;
  }

  .moonshot-hero-photo,
  .moonshot-story-hero-photo {
    min-height: 24rem;
  }

  .moonshot-story-promo-photo {
    height: 23rem;
  }
}

@media (max-width: 720px) {
  :root {
    --max-width: min(100% - 1.25rem, 1180px);
  }

  .moonshot-topbar,
  .moonshot-nav,
  .moonshot-cta-actions,
  .moonshot-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .moonshot-stat-row,
  .moonshot-value-grid,
  .moonshot-proof-grid {
    grid-template-columns: 1fr;
  }

  .moonshot-hero-photo,
  .moonshot-story-hero-photo {
    min-height: 20rem;
    border-radius: 1.6rem;
  }

  .moonshot-hero-photo img {
    object-position: 60% 18%;
  }

  .moonshot-hero-photo .moonshot-hero-image-selfie {
    object-position: 58% 55%;
  }

  .moonshot-section {
    padding: 1.2rem 0 3.2rem;
  }

  .moonshot-stat-card,
  .moonshot-panel,
  .moonshot-proof-card,
  .moonshot-value-card,
  .moonshot-timeline-card,
  .moonshot-cta-card,
  .moonshot-race-card,
  .moonshot-story-promo-copy {
    padding: 1.1rem;
  }
}
