.story-page {
  --story-measure: 680px;
  --story-nav-height: 68px;
  --story-ease: cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans-ko);
  font-size: 18px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: var(--text-secondary) var(--bg-primary);
}
.story-page ::selection { background: var(--text-primary); color: var(--bg-primary); }
.story-page :focus-visible { outline: 2px solid var(--ember); outline-offset: 5px; }
.story-page a { color: inherit; text-underline-offset: 5px; }
.story-page button { color: inherit; font: inherit; touch-action: manipulation; }
.story-page img { display: block; width: 100%; }
.story-page svg { width: 20px; height: 20px; flex: none; }
.story-page svg[hidden] { display: none; }
.skip-story {
  position: fixed; top: -100px; left: 16px; z-index: 100;
  background: var(--text-primary); color: var(--bg-primary) !important; padding: 14px 18px;
}
.skip-story:focus { top: 10px; }
.story-nav {
  position: fixed; inset: 0 0 auto; z-index: 20;
  height: var(--story-nav-height); padding: 0 clamp(20px, 4vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--bg-primary); border-bottom: 1px solid var(--border-subtle);
}
.story-brand { font-family: var(--font-brand-ko); font-size: 21px; text-decoration: none; }
.story-nav-actions { display: flex; align-items: center; gap: 24px; }
.story-back, .motion-toggle {
  min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; text-decoration: none;
}
.motion-toggle { background: transparent; border: 0; cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.reading-progress {
  position: fixed; z-index: 21; top: var(--story-nav-height); left: 0;
  width: 100%; height: 2px; border: 0; appearance: none;
  background: transparent; color: var(--ember);
}
.reading-progress::-webkit-progress-bar { background: transparent; }
.reading-progress::-webkit-progress-value { background: var(--ember); }
.reading-progress::-moz-progress-bar { background: var(--ember); }
.story-hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: var(--story-nav-height); min-height: 630px;
  height: min(820px, calc(100svh - var(--story-nav-height)));
  color: var(--bg-primary);
}
.story-hero-image { position: absolute; inset: -4% 0; height: 108%; object-fit: cover; object-position: 50% 56%; }
.story-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20, 32, 27, .62), rgba(20, 32, 27, .12) 78%),
    linear-gradient(0deg, rgba(20, 32, 27, .52), transparent 45%);
}
.story-hero-image { z-index: -2; }
.story-hero-inner {
  width: min(1200px, calc(100% - 112px)); height: 100%; margin: auto;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding-bottom: 48px; position: relative;
}
.story-hero h1 {
  max-width: 950px; font-size: clamp(52px, 6.5vw, 90px); font-weight: 700;
  letter-spacing: -.035em; line-height: 1.16; text-wrap: balance;
}
.story-hero h1 span { display: block; }
.hero-meta { margin-top: 30px; font-size: 15px; font-weight: 400; line-height: 1.8; }
.hero-meta span { display: block; }
.read-link {
  position: absolute; bottom: 46px; left: 0; display: inline-flex; align-items: center;
  min-height: 44px; gap: 14px; font-size: 14px; text-decoration: none;
  border-bottom: 1px solid rgba(249, 246, 240, .6);
}
.hero-location { position: absolute; right: 0; bottom: 62px; font-size: 13px; }
.copy-column { width: min(var(--story-measure), calc(100% - 48px)); margin-inline: auto; }
.letter-chapter { padding-block: 76px; }
.letter-begin { padding-top: 106px; scroll-margin-top: 100px; }
.letter-copy p, .letter-copy h2 {
  /* Tighten character advance by 5% of the font size from normal tracking. */
  letter-spacing: -.05em;
  line-height: 1.5795; word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty;
}
.letter-copy p { margin: 0 0 28.6px; }
.letter-copy p:last-child { margin-bottom: 0; }
.letter-copy .salutation { margin-bottom: 52.8px; font-weight: 600; font-size: 18px; }
.letter-copy h2 {
  font-size: clamp(24px, 2.5vw, 31px); font-weight: 600; letter-spacing: -.07em;
  line-height: 1.296; margin: 57.2px 0 33px; text-wrap: balance;
}
.letter-copy .origin { font-size: 23px; font-weight: 500; line-height: 1.377; }
.letter-copy .closing-heading { margin-top: 0; }
.quiet-rule { width: 64px; height: 1px; margin: 0 auto; background: var(--border-hover); border: 0; }
.evening-section { padding-block: 58px 90px; }
.letter-copy .evening-quote { margin: 0 0 30.8px; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.134; }
.table-image {
  width: min(980px, calc(100% - 96px)); margin: 70px auto 0;
  height: clamp(260px, 35vw, 440px); object-fit: cover; object-position: center 58%;
}
.journey-section { padding: 60px 0 80px; background: var(--bg-secondary); }
.journey-heading { padding-bottom: 60px; }
.crowd-panorama { width: min(1200px, calc(100% - 112px)); margin: 0 auto 90px; }
.crowd-panorama img { height: auto; }
.crowd-panorama figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 13px; line-height: 1.8; }
.crowd-panorama figcaption span { color: var(--text-secondary); font-size: 12px; }
.scenery-reading {
  width: min(1200px, calc(100% - 112px)); margin: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(44px, 5vw, 80px);
  align-items: start;
}
.scenery-window { position: sticky; top: 100px; margin: 0; }
.scenery-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--text-primary); }
.scene-image {
  position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0;
  transition: opacity 600ms var(--story-ease);
}
.scene-image.is-active { opacity: 1; }
.scene-caption { padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.scene-place { font-size: 15px; font-weight: 500; }
.scene-count { font-size: 12px; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.scene-controls { display: flex; gap: 18px; margin-top: 12px; flex-wrap: wrap; }
.scene-controls[hidden] { display: none; }
.scene-button {
  padding: 0; border: 0; border-bottom: 1px solid transparent;
  min-height: 44px; background: transparent; cursor: pointer; font-size: 13px !important;
  color: var(--text-secondary) !important; transition: color 150ms ease-out, border-color 150ms ease-out;
}
.scene-button[aria-pressed="true"] { color: var(--text-primary) !important; border-color: var(--text-primary); font-weight: 600; }
.scenery-copy { padding-top: 6px; }
.scenery-passage { padding-bottom: 72px; scroll-margin-top: 100px; }
.scenery-passage:last-child { padding-bottom: 0; }
.scenery-passage h2:first-child { margin-top: 0; }
.return-section { padding-top: 100px; }
.memory-section { padding-top: 40px; padding-bottom: 110px; }
.letter-copy .remembered-quote { font-size: 25px; font-weight: 500; line-height: 1.377; margin: 17.6px 0; }
.thanks-group { margin-top: 68.2px; }
.letter-copy .signature { font-family: var(--font-sans-ko); font-size: 26px; margin-top: 44px; }
.signature-brand { font-family: var(--font-brand-ko); }
.store-close { padding-block: 64px 76px; border-top: 1px solid var(--border-subtle); }
.store-pair { width: min(980px, calc(100% - 96px)); margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.store-link { text-decoration: none; display: block; }
.store-link img { aspect-ratio: 8 / 5; object-fit: cover; }
.store-link-label { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 17px; }
.story-footer { width: min(980px, calc(100% - 96px)); margin: auto; padding: 0 0 48px; font-size: 12px; line-height: 1.8; color: var(--text-secondary); }
.footer-return { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 14px; }
.photo-credits { border-top: 1px solid var(--border-subtle); padding-top: 22px; }
.photo-credits summary { cursor: pointer; min-height: 44px; padding: 10px 0; }
.photo-credits p { margin: 10px 0; }
.photo-credits ul { margin: 12px 0 20px; list-style: none; padding: 0; }
.photo-credits li { margin: 8px 0; }
.legal-line { margin-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legal-links { display: flex; gap: 18px; }
@media (hover: hover) {
  .story-back:hover, .motion-toggle:hover, .footer-return:hover { color: var(--ember); }
  .scene-button:hover { color: var(--text-primary) !important; }
  .store-link:hover .store-link-label { color: var(--ember); }
}
@media (max-width: 900px) {
  .story-page { --story-measure: 640px; }
  .story-hero-inner { width: calc(100% - 64px); }
  .scenery-reading { grid-template-columns: 1fr; width: min(640px, calc(100% - 48px)); gap: 42px; }
  .scenery-window { position: relative; top: auto; }
  .crowd-panorama { width: min(640px, calc(100% - 48px)); margin-bottom: 60px; }
  .scenery-passage { padding-bottom: 32px; }
  .scenery-passage h2 { font-size: 26px; }
  .journey-heading { padding-bottom: 42px; }
}
@media (max-width: 600px) {
  .story-page { --story-nav-height: 60px; font-size: 17px; }
  .story-nav { padding-inline: 18px; gap: 10px; }
  .story-brand { font-size: 17px; }
  .story-nav-actions { gap: 12px; }
  .story-back { gap: 6px; font-size: 12px; }
  .motion-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .motion-toggle { width: 44px; justify-content: center; }
  .story-hero { min-height: 570px; height: calc(88svh - var(--story-nav-height)); max-height: 760px; }
  .story-hero-image { object-position: 55% 50%; }
  .story-hero-inner { width: calc(100% - 48px); padding-bottom: 94px; }
  .story-hero h1 { font-size: clamp(37px, 9.7vw, 56px); letter-spacing: -.03em; line-height: 1.25; }
  .story-hero h1 span:last-child { max-width: 9.2em; text-wrap: balance; }
  .hero-meta { font-size: 13px; margin-top: 25px; }
  .read-link { bottom: 34px; font-size: 13px; gap: 10px; }
  .hero-location { right: 0; bottom: 50px; font-size: 11px; }
  .copy-column { width: calc(100% - 48px); }
  .letter-chapter { padding-block: 50px; }
  .letter-begin { padding-top: 66px; }
  .letter-copy p { line-height: 1.539; margin-bottom: 27.5px; }
  .letter-copy .salutation { font-size: 16px; margin-bottom: 39.6px; }
  .letter-copy .origin { font-size: 21px; line-height: 1.4175; }
  .letter-copy h2 { font-size: 25px; margin-top: 46.2px; margin-bottom: 28.6px; }
  .evening-section { padding-block: 50px 64px; }
  .letter-copy .evening-quote { font-size: 34px; letter-spacing: -.085em; }
  .table-image { width: calc(100% - 48px); height: 250px; margin-top: 40px; }
  .journey-section { padding-block: 54px 58px; }
  .scenery-reading { width: calc(100% - 48px); gap: 35px; }
  .crowd-panorama { width: calc(100% - 48px); margin-bottom: 48px; }
  .crowd-panorama figcaption { flex-direction: column; gap: 2px; font-size: 12px; margin-top: 12px; }
  .scene-caption { padding-top: 16px; }
  .scene-controls { gap: 16px; margin-top: 4px; }
  .scene-button { font-size: 12px !important; }
  .scenery-passage h2 { font-size: 24px; }
  .return-section { padding-top: 70px; }
  .memory-section { padding-top: 30px; padding-bottom: 78px; }
  .letter-copy .remembered-quote { font-size: 24px; }
  .thanks-group { margin-top: 50.6px; }
  .letter-copy .signature { font-size: 24px; }
  .store-close { padding-block: 36px 45px; }
  .store-pair { width: calc(100% - 48px); gap: 18px; }
  .store-link img { aspect-ratio: 1; }
  .store-link-label { font-size: 14px; }
  .store-link-label svg { width: 16px; }
  .story-footer { width: calc(100% - 48px); }
}
@media (prefers-reduced-motion: reduce) {
  .story-hero-image { transform: none !important; }
  .scene-image { transition: none; }
  .scene-button { transition: none; }
}
@media print {
  .story-nav, .reading-progress, .story-hero-image, .scenery-window, .crowd-panorama, .table-image, .store-close, .story-footer { display: none; }
  .story-hero { color: #000; height: auto; min-height: 0; margin: 0; overflow: visible; }
  .story-hero::after, .read-link, .hero-location { display: none; }
  .story-hero-inner { width: 100%; display: block; padding: 0; }
  .story-hero h1 { font-size: 24pt; }
  .hero-meta { margin: 10pt 0; }
  .story-page { color: #000; background: #fff; font-size: 11pt; }
  .copy-column, .scenery-reading { width: 100%; max-width: none; display: block; }
  .letter-chapter, .journey-section, .evening-section, .scenery-passage { padding: 10pt 0; background: none; }
}
