.story-page {
  background: #06160c;
}

.story-hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.story-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.06);
}

.story-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.35) 40%, rgba(10, 10, 10, 0.94) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.7) 0%, transparent 55%);
}

.story-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 8rem 1.5rem 4.5rem;
}

.story-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.story-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  max-width: 14ch;
}

.story-lead {
  color: var(--gray-light);
  font-size: 1.08rem;
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

.story-main {
  padding: 2rem 0 4rem;
}

.story-chapter {
  max-width: 1140px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.story-chapter.reverse {
  grid-template-columns: 1.2fr 0.9fr;
}

.story-chapter.reverse .story-chapter-text {
  order: 2;
}

.story-chapter.reverse .story-chapter-media {
  order: 1;
}

.chapter-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.story-chapter-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 1rem;
}

.story-chapter-text p {
  color: var(--gray-light);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.story-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.story-chapter-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.story-chapter-media.trio {
  grid-template-columns: 1fr;
}

.story-chapter-media figure {
  margin: 0;
  background: #141414;
  border: 1px solid rgba(245, 197, 24, 0.1);
  overflow: hidden;
}

.story-chapter-media figure.wide {
  grid-column: 1 / -1;
}

.story-chapter-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.story-chapter-media.trio img {
  max-height: 360px;
}

.story-chapter-media figcaption {
  padding: 0.75rem 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.45;
}

.story-gallery {
  padding: 4rem 0 5rem;
  background: #111;
}

.story-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.story-gallery-grid figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1a1a1a;
}

.story-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.story-gallery-grid figure:hover img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .story-chapter,
  .story-chapter.reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 3rem 1.25rem;
  }

  .story-chapter.reverse .story-chapter-text,
  .story-chapter.reverse .story-chapter-media {
    order: initial;
  }

  .story-chapter-media {
    grid-template-columns: 1fr;
  }

  .story-chapter-media figure.wide {
    grid-column: auto;
  }

  .story-chapter-media img {
    min-height: 220px;
    max-height: 420px;
  }
}
