/* Story page styles — minimal, leveraging base.css for layout, spacing, and typography */

.page-story .story-hero {
  position: relative;
  padding: 3.5rem 0 1.5rem;
  background: linear-gradient(180deg, rgba(8, 30, 20, 0.85) 0%, rgba(8, 30, 20, 0.6) 100%);
}

.page-story .story-hero__content {
  max-width: 760px;
}

.page-story .story-hero__content .lead {
  margin-top: 0.75rem;
  color: var(--text-muted, #cfd7d2);
}

.page-story .story-hero__media {
  margin-top: 1.25rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Table of contents */
.page-story .toc {
  margin-top: 1rem;
}
.page-story .toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
}
.page-story .toc a {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  background: rgba(21, 48, 38, 0.6);
  color: #e6f0ec;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.page-story .toc a:focus,
.page-story .toc a:hover {
  background: rgba(25, 90, 65, 0.8);
  transform: translateY(-1px);
}

/* Sections */
.section--alt {
  background: linear-gradient(180deg, rgba(10, 24, 18, 0.6), rgba(10, 24, 18, 0.6)), #0b1612;
}
.section--tight {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Grid */
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}
.story-grid--media-right {
  grid-template-columns: 1fr 1.1fr;
}
@media (max-width: 960px) {
  .story-grid,
  .story-grid--media-right {
    grid-template-columns: 1fr;
  }
}

/* Media */
.media {
  margin: 0;
}
.media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.media figcaption {
  font-size: 0.95rem;
  color: var(--text-muted, #b9c5bf);
  margin-top: 0.5rem;
}

/* Feature cards */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
@media (max-width: 960px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
}
.info-card {
  background: rgba(13, 40, 32, 0.6);
  border: 1px solid rgba(80, 120, 100, 0.2);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.info-card h3 {
  margin-top: 0;
}

/* CTAs */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

/* Closing */
.section--closing {
  text-align: center;
}
.section--closing .closing-text {
  color: var(--text-muted, #cfd7d2);
  margin-bottom: 0.5rem;
}

/* Utilities */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
