@font-face {
  font-family: "Room Story Serif";
  src: url("assets/fonts/room-story-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.continue-stories { display: flex; justify-content: center; gap: 18px; margin: 20px auto 0; padding: 16px; width: fit-content; color: #5f594b; font: 16px var(--serif); }
.life-stories { --story-paper: #e9e5db; --story-muted: #a8b7ad; --story-gold: #c4aa7e; position: relative; padding: 160px 0 0; background: #151d1c; color: var(--story-paper); letter-spacing: 0; }
.life-stories::before { content: ""; position: absolute; inset: 0 0 auto; height: 76px; background: #ddd5c5; clip-path: polygon(0 0,100% 0,100% 16%,0 100%); pointer-events: none; }
.story-intro { max-width: 1240px; margin: 0 auto; padding: 0 48px 100px; }
.story-kicker { margin: 0 0 28px; color: var(--story-muted); font: 12px/1.5 "Microsoft YaHei",sans-serif; }
.story-intro h2 { margin: 0; font: 400 64px/1.4 "Room Story Serif",var(--serif); letter-spacing: 0; }
.story-intro h2 > span { color: var(--story-gold); }
.story-deck { margin: 18px 0 54px; color: var(--story-muted); font: 16px/1.8 "Room Story Serif",var(--serif); }
.story-preface { max-width: 680px; margin: 0; font: 400 27px/1.9 "Room Story Serif",var(--serif); }
.story-nav { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); position: sticky; top: 0; z-index: 12; width: 100%; height: 72px; padding: 0 max(48px,calc((100% - 1144px)/2)); gap: 0; background: #151d1cf5; border-bottom: 1px solid #3b4742; }
.story-nav a { position: relative; display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; color: #a8b7ad; font: 24px/1 Georgia,serif; transition: color .3s; }
.story-nav small { font: 11px/1 "Room Story Serif",var(--serif); }
.story-nav a::after { content: ""; position: absolute; bottom: 13px; left: calc(50% - 12px); width: 24px; height: 1px; background: var(--story-gold); transform: scaleX(0); transition: transform .3s; }
.story-nav a[aria-current] { color: var(--story-paper); }
.story-nav a[aria-current]::after { transform: scaleX(1); }
.story-nav-progress { position: absolute; bottom: -1px; left: 0; right: 0; height: 1px; background: var(--story-gold); transform: scaleX(var(--story-progress,0)); transform-origin: left; pointer-events: none; }
.story-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); column-gap: 9%; align-items: start; max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.story-stage { position: sticky; top: 122px; height: 650px; max-height: calc(100svh - 140px); margin-top: 74px; }
.story-still { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(20px); transition: opacity .7s ease,transform .9s var(--ease); pointer-events: none; }
.story-still.is-current { opacity: 1; transform: none; }
.story-age { height: 184px; display: flex; align-items: baseline; gap: 16px; color: var(--story-paper); font: 400 174px/.9 Georgia,serif; font-variant-numeric: lining-nums tabular-nums; }
.story-age small { font: 20px "Room Story Serif",var(--serif); color: var(--story-gold); }
.story-still img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; }
.story-still figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 18px; color: var(--story-muted); font: 12px/1.7 "Microsoft YaHei",sans-serif; }
.story-still figcaption > span:first-child { color: var(--story-gold); font: 17px/1.2 Georgia,serif; }
.story-chapter { min-height: 94svh; padding: 100px 0 92px; scroll-margin-top: 96px; outline: none; }
.story-chapter + .story-chapter { border-top: 1px solid #3b4742; }
.story-context { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 22px; color: var(--story-muted); font: 12px/1.7 "Microsoft YaHei",sans-serif; }
.story-context > span:first-child { font: 24px/1 Georgia,serif; color: var(--story-gold); }
.story-context small { margin-left: 4px; font: 12px "Room Story Serif",var(--serif); }
.story-context > span:last-child { flex-basis: 100%; }
.story-chapter h3 { margin: 0 0 36px; font: 400 38px/1.5 "Room Story Serif",var(--serif); letter-spacing: 0; overflow-wrap: anywhere; }
.story-prose { margin: 0 0 26px; font: 400 20px/2 "Room Story Serif",var(--serif); letter-spacing: 0; overflow-wrap: anywhere; }
.story-excerpt { margin: 38px 0 0; padding-left: 20px; border-left: 1px solid var(--story-gold); color: var(--story-gold); font: 400 22px/1.9 "Room Story Serif",var(--serif); }
.story-word { display: inline-block; white-space: nowrap; }
.story-sr-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.story-mobile-image { display: none; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; margin-bottom: 30px; }
.story-ending { padding: 130px 24px 44px; text-align: center; background: #101817; }
.story-final-line { width: fit-content; max-width: 100%; margin: 0 auto 40px; font: 400 42px/1.9 "Room Story Serif",var(--serif); }
.story-signature { color: var(--story-muted); font: 15px/1.8 "Room Story Serif",var(--serif); }
.story-return { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 64px 0 60px; }
.story-return a { display: flex; align-items: center; gap: 16px; padding: 16px 6px; border-bottom: 1px solid #3b4742; font: 14px/1.5 "Room Story Serif",var(--serif); }
.story-fiction { color: #a8b7ad; font: 11px/1.8 "Microsoft YaHei",sans-serif; margin: 0; }
.life-stories:not(.stories-ready) .story-stage { display: none; }
.life-stories:not(.stories-ready) .story-layout { display: block; max-width: 800px; }
.life-stories:not(.stories-ready) .story-mobile-image { display: block; }
@media (max-height: 730px) and (min-width: 901px) {
  .story-stage { top: 104px; }
  .story-age { height: 136px; font-size: 126px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .story-layout { column-gap: 6%; padding: 0 36px; }
  .story-prose { font-size: 18px; }
  .story-chapter h3 { font-size: 32px; }
}
@media (max-width: 900px) {
  .life-stories { padding-top: 120px; }
  .story-intro { padding: 0 28px 72px; }
  .story-intro h2 { font-size: 46px; }
  .story-preface { font-size: 23px; }
  .story-layout { display: block; max-width: 650px; padding: 0 28px; }
  .story-stage { display: none; }
  .story-mobile-image { display: block; }
  .story-chapter { min-height: 0; padding: 64px 0 76px; scroll-margin-top: 74px; }
  .story-chapter h3 { font-size: 32px; margin-bottom: 28px; }
  .story-prose { font-size: 19px; line-height: 2; }
  .story-nav { height: 64px; padding: 0 20px; }
  .story-nav a { font-size: 21px; }
}
@media (max-width: 700px) {
  .masthead nav { gap: 16px; }
  .masthead nav button { font-size: 12px; letter-spacing: 0; }
  .masthead nav button span { margin-left: 3px; }
  .story-intro { padding: 0 24px 66px; }
  .story-intro h2 { font-size: 40px; }
  .story-deck { margin-bottom: 38px; font-size: 14px; }
  .story-preface { font-size: 21px; line-height: 2; }
  .story-nav { height: 58px; padding: 0 12px; }
  .story-nav a { font-size: 19px; gap: 3px; }
  .story-nav small { font-size: 9px; }
  .story-nav a::after { bottom: 8px; }
  .story-layout { padding: 0 24px; }
  .story-context > span:first-child { font-size: 36px; }
  .story-chapter h3 { font-size: 30px; }
  .story-prose { font-size: 18px; }
  .story-excerpt { font-size: 21px; padding-left: 15px; }
  .story-ending { padding-top: 94px; }
  .story-final-line { font-size: 29px; }
}
@media (max-width: 360px) {
  .story-intro h2 { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-still,.story-nav a,.story-nav a::after { transition: none; }
  [data-story-reveal],.story-word { transform: none !important; opacity: 1 !important; filter: none !important; }
}
@media (max-width: 900px) and (max-height: 550px) and (orientation: landscape) {
  .story-layout { max-width: 760px; }
  .story-chapter { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); column-gap: 24px; padding-top: 28px; }
  .story-mobile-image { margin: 0 0 28px; align-self: start; }
  .story-chapter header { align-self: start; }
  .story-context { margin-bottom: 12px; }
  .story-context > span:last-child { font-size: 11px; }
  .story-chapter h3 { font-size: 27px; margin-bottom: 28px; }
  .story-prose,.story-excerpt { grid-column: 1 / -1; }
}
