.fold-story {
  --fold-one: #663c4c;
  --fold-two: #50677c;
  --fold-line: #dedfe5;
  --fold-muted: #62636e;
  --fold-body: var(--serif);
}
.fold-story [hidden] { display: none !important; }
.fold-story button { font: inherit; cursor: pointer; }
.fold-story button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.fold-intro { padding-block: 30px 0; }
.fold-breadcrumbs { display: flex; gap: 12px; align-items: center; font-size: .8125rem; color: var(--muted); }
.fold-breadcrumbs a { color: var(--accent); }
.fold-title-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 70px; align-items: end; margin-top: 40px; }
.fold-eyebrow { color: var(--accent); font: .8125rem/1.5 var(--sans); margin-bottom: 18px; }
.fold-title-row h1 { font: 400 clamp(3rem, 5.3vw, 4.6rem)/1.11 var(--serif); letter-spacing: -.045em; }
.fold-deck { max-width: 375px; font-size: 1.0625rem; line-height: 1.85; padding-bottom: 6px; }
.fold-deck span { display: block; color: var(--muted); margin-top: 18px; font-size: .875rem; }
.fold-present { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-top: 40px; padding-block: 22px; border-block: 1px solid var(--fold-line); }
.fold-present > div { display: flex; flex-direction: column; gap: 6px; }
.fold-clock-label { font-size: .75rem; color: var(--muted); }
.fold-present [data-story-clock=date] { font-size: 1rem; }
.fold-clock-face { text-align: right; }
.fold-clock-face [data-story-clock=time] { font-size: clamp(1.4rem,2.5vw,1.85rem); font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.3; min-width: 10ch; }
.fold-clock-face [data-story-clock=zone] { font-size: .75rem; color: var(--muted); }
.fold-prologue, .fold-return { max-width: 680px; width: calc(100% - 48px); margin: 0 auto; padding-block: 58px 60px; }
.fold-prologue p, .fold-return > p:not(.fold-eyebrow), .fold-branch p { font: 400 1.0625rem/1.95 var(--fold-body); }
.fold-prologue p + p, .fold-return p + p, .fold-branch p + p { margin-top: 20px; }
.fold-prologue p:first-child { font-size: 1.25rem; line-height: 1.8; }
.fold-reading-bar { position: sticky; top: 0; z-index: 18; border-block: 1px solid var(--fold-line); background: rgba(255,255,255,.98); }
.fold-reading-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 64px; }
.fold-reading-label { font-size: .8125rem; color: var(--muted); }
.fold-view-options { display: flex; align-items: center; gap: 5px; }
.fold-view-options button { border: 1px solid transparent; background: none; min-height: 40px; padding: 8px 16px; border-radius: 3px; font-size: .875rem; color: var(--muted); }
.fold-view-options button:hover { background: var(--wash); }
.fold-view-options button[aria-pressed=true] { border-color: #cbb6c2; color: var(--accent); background: #f5eff2; }
.fold-ending-link { font-size: .8125rem; color: var(--muted); padding-block: 12px; }
.fold-ending-link span { margin-left: 14px; }
.fold-reading-progress { position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; pointer-events: none; }
.fold-reading-progress span { display: block; height: 100%; width: 0; background: var(--accent); opacity: .6; }
.fold-reading-layout { display: grid; grid-template-columns: 135px minmax(0,1fr); gap: 42px; align-items: start; padding-top: 38px; }
.fold-chapter-nav { position: sticky; top: 96px; padding-top: 6px; max-height: calc(100dvh - 120px); overflow-y: auto; scrollbar-width: thin; }
.fold-chapter-nav > p { font-size: .75rem; color: var(--muted); margin-bottom: 17px; }
.fold-chapter-nav nav { display: flex; flex-direction: column; gap: 6px; }
.fold-chapter-nav a { display: flex; gap: 10px; padding: 9px 0 9px 12px; border-left: 2px solid var(--line); font-size: .8125rem; color: var(--muted); line-height: 1.7; }
.fold-chapter-nav a span { color: #9596a0; font-size: .75rem; }
.fold-chapter-nav a[aria-current=location] { color: var(--accent); border-color: var(--accent); }
.fold-chapter-nav a[aria-current=location] span { color: var(--accent); }
.fold-worlds { min-width: 0; }
.fold-world-headings { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 56px; padding-bottom: 26px; border-bottom: 1px solid var(--fold-line); }
.fold-world-headings > div { display: flex; align-items: center; gap: 18px; }
.fold-world-number { font: 400 2.25rem/1 var(--serif); letter-spacing: -.05em; color: var(--fold-one); }
.fold-world-headings [data-reality=two] .fold-world-number { color: var(--fold-two); }
.fold-world-headings > div > div { display: flex; flex-direction: column; gap: 4px; }
.fold-world-headings strong { font-weight: 500; font-size: .9375rem; }
.fold-world-headings > div > div > span { font-size: .75rem; color: var(--muted); }
.fold-chapter { padding-block: 29px 42px; border-bottom: 1px solid var(--fold-line); scroll-margin-top: 88px; }
.fold-chapter:last-child { border-bottom: 0; }
.fold-chapter-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.fold-chapter-heading > span { font-size: .75rem; color: var(--muted); }
.fold-chapter-heading h2 { font-size: .875rem; font-weight: 500; text-align: right; line-height: 1.7; }
.fold-branches { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 56px; }
.fold-branch { min-width: 0; }
.fold-branch-label { font: 500 .75rem/1.6 var(--sans); color: var(--fold-one); margin-bottom: 17px; }
.fold-branch[data-reality=two] .fold-branch-label { color: var(--fold-two); }
.fold-branch p { font-size: 1rem; line-height: 1.95; }
.fold-story[data-reading=one] .fold-worlds, .fold-story[data-reading=two] .fold-worlds { width: 100%; max-width: 680px; margin-inline: auto; }
.fold-story[data-reading=one] .fold-branches, .fold-story[data-reading=two] .fold-branches, .fold-story[data-reading=one] .fold-world-headings, .fold-story[data-reading=two] .fold-world-headings { grid-template-columns: minmax(0,1fr); }
.fold-story[data-reading=one] .fold-branch p, .fold-story[data-reading=two] .fold-branch p { font-size: 1.0625rem; }
.fold-mobile-chapters { display: none; }
.fold-return { padding-block: 58px 80px; border-top: 1px solid var(--fold-line); margin-top: 20px; scroll-margin-top: 85px; }
.fold-return h2 { font: 400 2.3rem/1.3 var(--serif); letter-spacing: -.035em; margin-bottom: 28px; }
.fold-return-clock { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-block: 22px; border-block: 1px solid var(--fold-line); margin-top: 38px; }
.fold-return-clock > span { font-size: .8125rem; color: var(--muted); }
.fold-return-clock time { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.fold-end-links { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 30px; padding-top: 20px; }
.fold-end-links a { color: var(--accent); font-size: .875rem; padding-block: 10px; }
.fold-end-links a span { margin-left: 12px; }
.fold-noscript { margin-top: 12px; font-size: .875rem; color: var(--muted); }
.stories-hero { padding-block: 65px 60px; }
.stories-hero h1 { font: 400 3.5rem/1.15 var(--serif); letter-spacing: -.04em; margin-bottom: 25px; }
.stories-hero > p:last-child { max-width: 580px; font-size: 1.125rem; line-height: 1.8; color: var(--muted); }
.stories-list { padding-block: 0 90px; }
.stories-entry { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; border-block: 1px solid var(--line); padding-block: 42px; }
.stories-entry h2 { font: 400 2.35rem/1.4 var(--serif); letter-spacing: -.03em; }
.stories-entry > div > p { font-size: 1.0625rem; line-height: 1.8; }
.stories-entry .text-link { margin-top: 17px; }
.stories-meta { font-size: .8125rem !important; color: var(--muted); margin-bottom: 12px; }
@media (max-width: 1150px) {
  .fold-reading-layout { grid-template-columns: 114px minmax(0,1fr); gap: 26px; }
  .fold-world-headings, .fold-branches { gap: 35px; }
}
@media (max-width: 1000px) {
  .fold-reading-layout { display: block; padding-top: 30px; }
  .fold-chapter-nav { display: none; }
  .fold-reading-label, .fold-ending-link { display: none; }
  .fold-mobile-chapters { display: block; position: relative; font-size: .875rem; }
  .fold-mobile-chapters summary { list-style: none; cursor: pointer; padding: 12px 0 12px 18px; }
  .fold-mobile-chapters summary::-webkit-details-marker { display: none; }
  .fold-mobile-chapters summary::after { content: '⌄'; margin-left: 10px; }
  .fold-mobile-chapters[open] summary::after { content: '⌃'; }
  .fold-mobile-chapters nav { position: absolute; top: 100%; right: 0; width: 260px; max-height: calc(100dvh - 90px); overflow-y: auto; background: white; border: 1px solid var(--line); box-shadow: 0 10px 25px -20px #432b38; padding: 10px; }
  .fold-mobile-chapters a { display: block; padding: 11px 12px; font-size: .875rem; color: var(--muted); }
  .fold-mobile-chapters a[aria-current] { color: var(--accent); background: #f5eff2; }
}
@media (max-width: 760px) {
  .fold-title-row { grid-template-columns: 1fr; gap: 22px; margin-top: 32px; }
  .fold-title-row h1 { font-size: clamp(3rem,9vw,4.1rem); }
  .fold-deck { max-width: 550px; }
  .fold-deck span { margin-top: 8px; }
  .fold-present { margin-top: 27px; gap: 16px; }
  .fold-prologue { padding-block: 40px; }
  .fold-world-headings { display: none; }
  .fold-branches { grid-template-columns: minmax(0,1fr); gap: 29px; }
  .fold-branch { border-left: 2px solid #cbb6c2; padding-left: 19px; }
  .fold-branch[data-reality=two] { border-color: #bac8d3; }
  .fold-branch p { font-size: 1rem; }
  .fold-branch-label { margin-bottom: 14px; font-size: .8125rem; }
  .fold-chapter { padding-block: 23px 31px; }
  .fold-chapter-heading { flex-direction: column; gap: 7px; margin-bottom: 24px; }
  .fold-chapter-heading h2 { text-align: left; font-size: 1rem; }
  .fold-return { margin-top: 0; padding-top: 42px; }
  .stories-entry { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 520px) {
  .fold-story .shell { width: calc(100% - 40px); }
  .fold-present { align-items: start; }
  .fold-present [data-story-clock=date] { font-size: .875rem; max-width: 175px; }
  .fold-clock-face [data-story-clock=time] { font-size: 1.25rem; }
  .fold-clock-face [data-story-clock=zone] { max-width: 170px; font-size: .75rem; }
  .fold-reading-inner { gap: 10px; min-height: 62px; }
  .fold-view-options { gap: 2px; }
  .fold-view-options button { padding: 8px 9px; font-size: .8125rem; }
  .fold-mobile-chapters { font-size: .8125rem; }
  .fold-mobile-chapters summary { padding-left: 4px; }
  .fold-prologue p, .fold-return > p:not(.fold-eyebrow) { font-size: 1rem; }
  .fold-return h2 { font-size: 2rem; }
}
@media print {
  .fold-reading-bar, .fold-chapter-nav, .fold-end-links, .fold-clock-face, .fold-return-clock { display: none !important; }
  .fold-reading-layout { display: block; }
  .fold-branch { break-inside: avoid; }
}
