.story {
  position: relative;
  color: #ffead4;
  background: #2d1813;
  padding-block: clamp(46px,7.5vw,112px) clamp(48px,7vw,90px);
}
.story-intro {
  display: grid;
  grid-template-columns: 1.2fr .7fr;
  align-items: end;
  gap: clamp(24px,5vw,80px);
  margin-bottom: clamp(32px,6vw,85px);
}
.story-intro h2 { font-size: clamp(2.85rem,6.5vw,6rem); line-height: .95; color: #ffe8ce; letter-spacing: -.04em }
.story-intro h2:focus, #extra h2:focus { outline: none }
.story-intro p { color: #f4cdb5; max-width: 37ch; margin: 0; font-size: clamp(1rem,1.55vw,1.19rem) }
.chapters { display: grid; gap: clamp(28px,5vw,74px) }
.chapter {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  border: 1px solid #d6a68351;
  background: #3a2018;
}
.chapter:nth-child(even) { grid-template-columns: .85fr 1.15fr; background: #233832 }
.chapter:nth-child(even) .chapter-art { order: 2 }
.chapter-art { margin: 0; overflow: hidden; background: #4a2b21 }
.chapter-art img { display: block; width: 100%; height: auto; aspect-ratio: 2.03; object-fit: cover }
.chapter-arrived .chapter-art img { animation: story-frame .67s var(--ease-out) both }
.chapter-copy { padding: clamp(24px,5vw,76px) }
.chapter-copy h3 { font-size: clamp(2rem,4.3vw,4rem); line-height: .99; color: #ffead4; letter-spacing: -.04em; text-wrap: balance }
.chapter-copy p { color: #f3d8c3; max-width: 36ch; margin-bottom: 0 }
.chapter-copy .chapter-step { color: #f3c096; margin: 0 0 12px; font-weight: 750; font-size: .86rem }
.story-close { margin-top: clamp(34px,6vw,70px); text-align: center }
.story-close p { font-family: Georgia,serif; font-size: clamp(1.65rem,3vw,2.45rem); line-height: 1.05; margin: 0 0 15px; color: #ffdfbb }
.story-close a { border-radius: 8px; color: #3a1d13; background: #ffdbb8 }
.story-close a:hover { background: #fff0df !important }
.extra-showcase { background: #412219; color: #ffefdf; padding: clamp(16px,3vw,38px); margin-block: 24px 40px; border-radius: 16px }
.extra-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 20px; margin-bottom: 17px }
.extra-heading h3 { font-size: clamp(1.95rem,4vw,3.55rem); letter-spacing: -.04em; color: #ffead4 }
.extra-heading p { margin: 6px 0 0; color: #ffdec5 }
.extra-heading a { color: #ffe0c3; font-weight: 750; text-underline-offset: .24em }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px }
.feature-grid .card { color: var(--ink); border-radius: 12px; border: 1px solid #ffe2c7 }
.feature-grid .card:hover { transform: translateY(-2px) }
.feature-grid .card img { aspect-ratio: 1.6 }
.feature-grid .card-copy { padding: clamp(12px,2vw,25px) }
.feature-grid h3 { font-size: clamp(1.35rem,2.75vw,2.4rem); letter-spacing: -.033em }
.feature-grid .button { color: #fff3e6; background: #8a321f; border-color: transparent; border-radius: 8px }
.feature-grid .button[aria-pressed=true] { color: #78311f; background: #f7dfcf; border-color: #ad6c54 }
.extra-next { display: flex; gap: 12px 17px; align-items:center; flex-wrap: wrap; margin-top: 19px }
.extra-next .button { border-radius: 8px; color: #3a1d13; background: #ffdbb8 }
.extra-next .button:hover { background: #fff0df }
.extra-next span { font-size: .9rem; color: #ffdfc8 }
.extra-catalog { scroll-margin-top: 115px }
.extra-catalog > h3 { font-size: clamp(1.9rem,4vw,3.2rem) }
@keyframes story-frame {
  from { transform: scale(1.045); filter: brightness(.8) }
  to { transform: scale(1); filter: brightness(1) }
}
@media (max-width:700px) {
  .story-intro, .chapter, .chapter:nth-child(even) { grid-template-columns: 1fr }
  .story-intro { gap: 14px }
  .chapter:nth-child(even) .chapter-art { order: 0 }
  .chapter-art img { aspect-ratio: 1.93 }
  .feature-grid { grid-template-columns: 1fr }
  .feature-grid .card { display: grid; grid-template-columns: minmax(95px,.72fr) 1fr }
  .feature-grid .card img { height: 100%; object-fit: cover; aspect-ratio: auto }
  .feature-grid .card-copy p { margin: 6px 0 9px; font-size: .92rem }
}
@media(prefers-reduced-motion:reduce) {
  .chapter-arrived .chapter-art img { animation: none }
}

.opening-image { transform-origin: 73% 53% }
.chapter-art { align-self: stretch }
.chapter-art img { height: 100%; max-height: 470px }
.chapter-copy { padding: clamp(24px,3.5vw,56px) }
#extra.section { padding-top: clamp(34px,4.5vw,65px) }
.feature-grid .card img { aspect-ratio: 1.78 }
@media (max-width:700px) {
  .chapter-art img { height: auto }
  .feature-grid .card img { aspect-ratio: auto }
}
