.story-site-header {
  display: flex;
  width: var(--page);
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.story-site-header nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.story-site-header nav a {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.story-site-header nav a:not(.nav-cta):hover,
.back-link:hover,
.chapter-list a:hover,
.guide-card h2 a:hover {
  color: var(--amber);
}

.stories-intro {
  width: var(--page);
  margin: 0 auto;
  padding: 7rem 0 5rem;
}

.stories-intro h1 {
  max-width: 900px;
  font-size: clamp(4rem, 9vw, 8rem);
}

.stories-lead {
  max-width: 720px;
  margin: 2rem 0;
  color: var(--mist);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.fiction-note,
.fiction-inline {
  max-width: 760px;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--amber);
  color: #dfe5e9;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.fiction-note strong,
.fiction-inline strong {
  color: var(--amber);
}

.guide-grid {
  width: var(--page);
  margin: 0 auto;
}

.guide-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  min-height: 520px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.guide-card:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.guide-card:nth-child(even) .guide-card-image {
  order: 2;
}

.guide-card-image {
  min-height: 420px;
  overflow: hidden;
}

.guide-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.guide-card-image:hover img {
  transform: scale(1.035);
}

.guide-card-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--midnight);
}

.guide-card-copy .section-kicker {
  margin: 1.5rem 0 0.6rem;
}

.guide-card h2,
.parent-note h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: -0.035em;
}

.guide-card h2 a {
  text-decoration: none;
}

.guide-card-copy > p:not(.section-kicker) {
  color: var(--mist);
}

.story-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.story-badges span {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  color: #dce4e9;
  background: rgba(10, 13, 19, 0.64);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.story-badges .intensity.mild {
  border-color: #8ebf8a;
  color: #c9edc6;
}

.story-badges .intensity.medium {
  border-color: var(--amber);
  color: #ffd48e;
}

.story-badges .intensity.strong {
  border-color: #de704b;
  color: #ffad91;
}

.content-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.5rem 0 1.7rem;
  padding: 0;
  list-style: none;
}

.content-list li {
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  color: #aeb9c1;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.72rem;
}

.parent-note {
  width: min(900px, calc(100vw - 40px));
  margin: 8rem auto;
  padding: clamp(2rem, 6vw, 5rem);
  color: #181510;
  background: var(--paper);
}

.parent-note .section-kicker {
  color: #9e421d;
}

.parent-note p:not(.section-kicker) {
  max-width: 720px;
  color: #5d5b56;
}

.story-footer {
  margin-top: 5rem;
}

.story-hero {
  position: relative;
  width: var(--page);
  min-height: min(720px, 78vh);
  margin: 2rem auto 0;
  overflow: hidden;
  isolation: isolate;
}

.story-hero > img,
.story-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story-hero > img {
  z-index: -2;
  object-fit: cover;
}

.story-hero-shade {
  z-index: -1;
  background: linear-gradient(0deg, rgba(6, 9, 14, 0.96) 0%, rgba(6, 9, 14, 0.16) 72%), linear-gradient(90deg, rgba(6, 9, 14, 0.45), transparent 60%);
}

.story-hero-copy {
  position: absolute;
  right: clamp(1.5rem, 5vw, 4rem);
  bottom: clamp(1.5rem, 5vw, 4rem);
  left: clamp(1.5rem, 5vw, 4rem);
}

.story-hero h1 {
  max-width: 900px;
  margin-bottom: 1.5rem;
  font-size: clamp(4rem, 9vw, 8rem);
}

.reading-layout {
  display: grid;
  width: min(1080px, calc(100vw - 40px));
  grid-template-columns: 300px minmax(0, 680px);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
  margin: 0 auto;
  padding: 7rem 0 3rem;
}

.reading-sidebar {
  position: sticky;
  top: 2rem;
}

.parent-guide-box {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: var(--midnight);
}

.parent-guide-box h2 {
  margin: 0;
  font-size: 2.1rem;
}

.parent-guide-box > p:not(.section-kicker, .guide-disclaimer) {
  color: var(--mist);
  font-size: 0.88rem;
}

.guide-disclaimer {
  margin: 1rem 0 0;
  color: #87919d;
  font-size: 0.72rem;
}

.sound-guide {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aeb9c1;
  font-size: 0.74rem;
}

.sound-guide span {
  color: var(--amber);
  font-size: 1rem;
}

.chapter-list {
  margin: 1rem 0;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.chapter-list summary {
  font-weight: 700;
  cursor: pointer;
}

.chapter-list ol {
  margin: 0.8rem 0 0;
  padding-left: 1.25rem;
}

.chapter-list li {
  margin: 0.35rem 0;
  color: #98a4ad;
  font-size: 0.76rem;
}

.chapter-list a,
.back-link {
  text-underline-offset: 0.25em;
}

.back-link {
  font-size: 0.82rem;
}

.story-article {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.72;
}

.story-article p {
  margin: 0 0 1.4em;
  text-wrap: pretty;
}

.story-article h2 {
  scroll-margin-top: 2rem;
  margin: 3.2em 0 0.9em;
  color: var(--amber);
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-article h2:first-of-type {
  margin-top: 2.5rem;
}

.story-article .fiction-inline {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.55;
}

.story-shout {
  padding-left: 1rem;
  border-left: 2px solid var(--amber);
  color: #ffd391;
  font-size: 1.05em;
  font-weight: 600;
}

.sound-cue {
  position: relative;
  display: grid;
  gap: 0.55rem;
  margin: 2.2rem 0 2.6rem;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(243, 173, 61, 0.28);
  background:
    radial-gradient(circle at 90% 15%, rgba(243, 173, 61, 0.13), transparent 9rem),
    var(--midnight);
  font-family: var(--sans);
}

.sound-cue-kicker {
  color: var(--amber);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sound-effect-button {
  display: flex;
  width: 100%;
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem;
  border: 0;
  border-radius: 6px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.055);
  font-family: var(--sans);
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.sound-effect-button:hover {
  background: rgba(243, 173, 61, 0.12);
  transform: translateY(-1px);
}

.sound-effect-button[aria-pressed="true"] {
  background: rgba(243, 173, 61, 0.18);
}

.sound-button-icon {
  display: grid;
  flex: 0 0 2.7rem;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 50%;
  color: #19120b;
  background: var(--amber);
  font-size: 0.78rem;
}

.sound-button-copy {
  display: grid;
  gap: 0.08rem;
}

.sound-button-copy strong {
  font-size: 0.88rem;
}

.sound-button-copy small {
  color: #9eabb4;
  font-size: 0.68rem;
}

.sound-status {
  min-height: 1em;
  color: #aeb9c1;
  font-size: 0.66rem;
}

.story-end-nav {
  display: flex;
  width: min(680px, calc(100vw - 40px));
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem auto 8rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.story-end-nav > a:first-child {
  text-underline-offset: 0.3em;
}

@media (max-width: 820px) {
  .guide-card {
    grid-template-columns: 1fr;
  }

  .guide-card:nth-child(even) .guide-card-image {
    order: initial;
  }

  .guide-card-image {
    min-height: 380px;
  }

  .reading-layout {
    grid-template-columns: 1fr;
  }

  .reading-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .story-site-header nav a:not(.nav-cta) {
    display: none;
  }

  .stories-intro {
    padding: 4.5rem 0 3rem;
  }

  .stories-intro h1,
  .story-hero h1 {
    font-size: clamp(3.3rem, 16vw, 5.5rem);
  }

  .guide-card-image {
    min-height: 300px;
  }

  .guide-card-copy {
    padding: 2rem 1.25rem 2.5rem;
  }

  .parent-note {
    width: calc(100vw - 32px);
    margin: 5rem auto;
    padding: 2rem 1.25rem;
  }

  .story-hero {
    width: 100%;
    min-height: 68vh;
    margin-top: 0;
  }

  .reading-layout {
    width: calc(100vw - 32px);
    gap: 2.5rem;
    padding-top: 3rem;
  }

  .story-end-nav {
    width: calc(100vw - 32px);
    align-items: flex-start;
    flex-direction: column;
  }
}
