:root {
  --paper: #f0ebe0;
  --paper-deep: #e3dac9;
  --ink: #211f1a;
  --muted: #6f685c;
  --wood: #6f3525;
  --wood-dark: #321c17;
  --brick: #a34d35;
  --moss: #5c6549;
  --night: #12110f;
  --early-night: #0a0907;
  --line: rgba(33, 31, 26, .19);
  --serif: "Songti SC", "STSong", "SimSun", Georgia, serif;
  --serif-en: Georgia, "Times New Roman", serif;
  --sans: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
img { background: #d8d0c2; }
a { color: inherit; }
figure { margin: 0; }
button, summary { font: inherit; }

.en-translation {
  display: block;
  margin-top: .45em;
  color: inherit;
  font-family: var(--serif-en);
  font-size: .82em;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .012em;
  line-height: 1.55;
  opacity: .68;
  text-transform: none;
}
h1 > .en-translation { margin-top: 1rem; font-size: .17em; letter-spacing: .12em; line-height: 1.25; text-transform: uppercase; }
h2 > .en-translation, h3 > .en-translation { margin-top: .75rem; font-size: .38em; letter-spacing: .025em; line-height: 1.3; }
.chapter-no > .en-translation { margin-top: .15rem; font-family: var(--sans); font-size: .78em; letter-spacing: .1em; }
.lead > .en-translation { font-size: .68em; line-height: 1.65; }
figcaption > .en-translation { margin-top: .35rem; font-size: .88em; line-height: 1.5; opacity: .72; }
blockquote > .en-translation { font-size: .76em; line-height: 1.7; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .6rem 1rem;
  color: white;
  background: var(--night);
  font-family: var(--sans);
}
.skip-link:focus { top: 1rem; }

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 3px;
  background: rgba(255,255,255,.12);
}
.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #d17955;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem clamp(1.2rem, 4vw, 4.5rem);
  color: white;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .08em;
  transition: color .35s ease, background-color .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-mark { display: inline-flex; align-items: baseline; gap: .8rem; text-decoration: none; }
.site-mark span { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; letter-spacing: .14em; }
.site-mark small { opacity: .7; }
.site-mark .en-translation { margin-top: .05rem; font-size: .58em; letter-spacing: .06em; line-height: 1.2; }
.site-header nav { display: flex; gap: 1.4rem; }
.site-header nav a { text-align: center; text-decoration: none; opacity: .78; }
.site-header nav .en-translation { margin-top: .05rem; font-size: .72em; letter-spacing: .035em; line-height: 1.2; opacity: .82; }
.site-header nav a:hover, .site-header nav a:focus-visible { opacity: 1; }
.site-header nav a[aria-current="true"] { opacity: 1; }
.site-header nav a[aria-current="true"]::after { content: ""; display: block; height: 1px; margin-top: .3rem; background: currentColor; transform-origin: left; animation: nav-line .35s ease both; }
.site-header.is-scrolled { position: fixed; color: var(--ink); background: rgba(240,235,224,.9); box-shadow: 0 10px 30px rgba(44,31,22,.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-top: .8rem; padding-bottom: .8rem; }
.sample-badge { justify-self: end; padding: .15rem .55rem; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; opacity: .75; }

.hero {
  position: relative;
  min-height: 100svh;
  color: white;
  overflow: hidden;
  background: #050505;
}
.hero > img { position: absolute; left: 0; top: -18vh; width: 100%; height: calc(100% + 36vh); object-fit: cover; object-position: center 55%; filter: saturate(.78) contrast(1.05); transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.08); backface-visibility: hidden; will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.26), rgba(0,0,0,.08) 35%, rgba(0,0,0,.72)); }
.hero-copy { position: absolute; left: clamp(1.4rem, 8vw, 9rem); bottom: clamp(4.8rem, 9vh, 7.5rem); max-width: 780px; transform: translate3d(0, var(--copy-parallax-y, 0), 0); backface-visibility: hidden; will-change: transform; }
.eyebrow, .chapter-no { margin: 0 0 .65rem; font-family: var(--sans); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(4rem, 10.4vw, 9.2rem); font-weight: 500; line-height: .92; letter-spacing: .06em; text-shadow: 0 8px 40px rgba(0,0,0,.28); }
.hero h1 > .en-translation { margin-top: .65rem; font-size: .18em; letter-spacing: .17em; line-height: 1.2; opacity: .78; }
.hero h1::after { content: ""; display: block; width: min(100%, 620px); height: 1px; margin: clamp(1rem, 2.3vh, 1.6rem) 0 clamp(.85rem, 1.8vh, 1.25rem); background: linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.18)); transform: scaleX(0); transform-origin: left; animation: hero-rule-in 1.1s .35s cubic-bezier(.2,.75,.2,1) forwards; }
.hero-subtitle { margin: 0 0 .3rem; font-size: clamp(1.2rem, 2.35vw, 1.9rem); letter-spacing: .3em; }
.hero-intro { margin: .8rem 0 0; font-size: .96rem; opacity: .8; }
.scroll-cue { position: absolute; right: clamp(1.2rem, 4vw, 4.5rem); bottom: 2.2rem; font-family: var(--sans); font-size: .75rem; letter-spacing: .1em; text-decoration: none; }
.scroll-cue span[aria-hidden="true"] { display: inline-block; margin-left: .45rem; animation: bob 1.8s ease-in-out infinite; }

.early-dark {
  color: #eee8dd;
  background: var(--early-night);
}
.early-dark .en-translation { color: inherit; opacity: .64; }
.early-dark figcaption { color: rgba(238,232,221,.58); }
.early-dark .chapter-no { color: #d98967; }
.early-window { margin: 0; padding: clamp(1.6rem, 3vw, 2.8rem) clamp(1.3rem, 8vw, 10rem) clamp(1.7rem, 3vw, 2.5rem); background: var(--early-night); }
.early-window::before { content: ""; display: block; width: min(18vw, 10rem); height: 1px; margin: 0 auto clamp(1.35rem, 2.4vw, 2rem); background: rgba(238,232,221,.38); }
.early-window img { width: min(52vw, 700px); margin: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--early-night); box-shadow: 0 0 90px rgba(0,0,0,.38); }

.prose-section, .chapter { padding: clamp(6rem, 11vw, 11rem) clamp(1.3rem, 8vw, 10rem); }
.opening { position: relative; max-width: none; margin: 0; color: #eee8dd; background: #3b312a; }
.opening .en-translation { color: inherit; opacity: .64; }
.opening h2, .chapter h2, .epilogue h2 { margin: 0; font-size: clamp(2.7rem, 6vw, 6rem); font-weight: 500; line-height: 1.15; letter-spacing: .02em; }
.opening .chapter-no { color: #d98967; }
.chapter-no { color: var(--brick); }
.early-dark .opening .chapter-no, .early-dark .chapter-no { color: #d98967; }
.two-column-prose { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 8vw, 9rem); margin-top: 4rem; }
.prose p { margin: 0 0 1.5rem; }
.lead { font-size: clamp(1.25rem, 2.1vw, 1.75rem); line-height: 1.75; }
.margin-note { max-width: 42rem; margin: 3rem 0 0 auto; padding-left: 1rem; border-left: 2px solid var(--brick); color: var(--muted); font-family: var(--sans); font-size: .77rem; line-height: 1.7; }

figcaption { margin-top: .8rem; color: var(--muted); font-family: var(--sans); font-size: .75rem; line-height: 1.65; }
[data-lightbox] { cursor: zoom-in; }
.wide-figure { width: min(59vw, 1065px); margin: 0 auto clamp(5rem, 10vw, 10rem); }
.wide-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.wide-figure figcaption { max-width: 42rem; }
.wide-figure-transition { padding: clamp(2rem, 4vw, 4rem) 0 clamp(5rem, 10vw, 10rem); background: #3b312a; }
.wide-figure-transition .wide-figure { margin-bottom: 0; }
.wide-figure-transition figcaption { color: rgba(238,232,221,.64); }

.chapter { position: relative; }
.motion-chapter::before { content: ""; position: absolute; left: clamp(.65rem, 3vw, 3.2rem); top: clamp(4.5rem, 8vw, 8rem); width: 1px; height: clamp(5.5rem, 11vw, 10rem); background: linear-gradient(180deg, var(--brick), rgba(163,77,53,.08)); opacity: 0; pointer-events: none; transform: scaleY(0); transform-origin: top; transition: transform 1.2s cubic-bezier(.16,.78,.24,1), opacity .5s ease; }
.motion-chapter.section-in-view::before { opacity: .75; transform: scaleY(1); }
.chapter-opera.motion-chapter::before, .chapter-survey.motion-chapter::before { background: linear-gradient(180deg, #d98967, rgba(217,137,103,.05)); }
.chapter-heading { display: grid; grid-template-columns: minmax(230px, .85fr) 1.15fr; column-gap: clamp(3rem, 10vw, 12rem); align-items: end; max-width: 1350px; margin: 0 auto clamp(5rem, 9vw, 9rem); }
.chapter-heading .chapter-no { grid-column: 1; }
.chapter-heading h2 { grid-column: 1; }
.chapter-heading > p:last-child { grid-column: 2; grid-row: 1 / span 2; max-width: 36rem; margin: 0; font-size: 1.15rem; }

.chapter-origin { color: var(--ink); background: var(--paper); }
.chapter-origin .chapter-heading > p:last-child { color: var(--muted); }
.origin-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center; max-width: 1500px; margin: auto; }
.aerial-card { width: min(100%, 680px); justify-self: center; }
.aerial-card img, .aerial-card video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #181715; }
.origin-copy { max-width: 38rem; }
.origin-copy p { margin: 0 0 clamp(1.7rem, 2.4vw, 2.25rem); }
.origin-copy > p:last-of-type { margin-bottom: 0; }
.origin-copy .en-translation { margin-top: .6rem; line-height: 1.62; }
.source-note { margin-top: 2.5rem; padding: 1.2rem 1.3rem; color: var(--muted); border: 1px solid var(--line); font-family: var(--sans); font-size: .73rem; line-height: 1.65; }
.source-note strong { color: var(--ink); font-weight: 600; }
.time-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 1100px; margin: clamp(5rem, 9vw, 9rem) auto; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.time-notes article { padding: 2rem clamp(1.1rem, 3vw, 2.5rem); background: var(--paper); }
.time-notes time { display: block; color: var(--brick); font-family: var(--sans); font-size: .76rem; letter-spacing: .06em; }
.early-dark .time-notes time { color: #d98967; }
.time-notes p { margin: .6rem 0 0; font-size: .92rem; line-height: 1.7; }
.media-frame { max-width: 1100px; margin: auto; }
.media-frame video { width: 100%; background: #181715; }
.media-frame figcaption { display: flex; justify-content: space-between; gap: 2rem; }
.media-frame figcaption span { color: var(--ink); }

.chapter-people { overflow: clip; }
.photo-pair { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(1.4rem, 5vw, 6rem); align-items: center; max-width: 1300px; margin: auto; }
.photo-pair figure:first-child { transform: translateY(4rem); }
.photo-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.narrow-prose { max-width: 980px; margin: clamp(8rem, 13vw, 13rem) auto; text-align: center; }
.narrow-prose p { max-width: 920px; margin: 0 auto; }
.narrow-prose p + p { margin-top: clamp(2.6rem, 4.5vw, 4.2rem); }
.narrow-prose .lead { font-size: clamp(1.05rem, 1.55vw, 1.3rem); line-height: 1.95; }
.narrow-prose .en-translation { margin-top: .7rem; line-height: 1.68; }
.life-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1rem, 3vw, 2.5rem); max-width: 1400px; margin: auto; }
.life-grid figure:nth-child(1) { grid-row: span 2; }
.life-grid figure:nth-child(4) { grid-column: 1 / -1; width: 72%; margin: 3rem 0 0 auto; }
.life-grid img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.horizontal-story { --horizontal-height: 270vh; position: relative; width: 100vw; height: var(--horizontal-height); margin: clamp(7rem, 12vw, 12rem) 0 clamp(8rem, 13vw, 13rem) calc(50% - 50vw); }
.horizontal-sticky { position: sticky; top: 0; display: flex; align-items: center; width: 100%; height: 100svh; overflow: hidden; background: linear-gradient(180deg, rgba(240,235,224,0), rgba(227,218,201,.45) 48%, rgba(240,235,224,0)); }
.horizontal-track.life-grid { display: flex; align-items: stretch; gap: clamp(1.2rem, 2.5vw, 2.5rem); width: max-content; max-width: none; margin: 0; padding: 0 max(6vw, 2rem); transform: translate3d(var(--horizontal-x, 0), 0, 0); will-change: transform; }
.horizontal-track.life-grid figure,
.horizontal-track.life-grid figure:nth-child(1),
.horizontal-track.life-grid figure:nth-child(4) { flex: 0 0 min(48vw, 560px); width: auto; margin: 0; grid-column: auto; grid-row: auto; }
.horizontal-track.life-grid img { width: 100%; height: min(43vh, 420px); min-height: 0; object-fit: cover; }
.horizontal-track.life-grid figcaption { max-width: 36rem; }
.craft-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; max-width: 1250px; margin: clamp(9rem, 15vw, 15rem) auto; }
.craft-story h3, .sound-story h3 { margin: 0 0 2rem; font-size: clamp(2.1rem, 4vw, 4rem); font-weight: 500; line-height: 1.25; }
.craft-copy { font-size: clamp(.92rem, 1.1vw, 1rem); line-height: 1.9; }
.craft-copy > p { margin: 0; }
.craft-copy > p + p { margin-top: clamp(2.4rem, 4vw, 3.8rem); }
.craft-copy .en-translation { margin-top: .65rem; line-height: 1.65; }
.craft-story figure img { aspect-ratio: 4 / 3; object-fit: cover; }
.sound-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 10vw, 12rem); align-items: center; max-width: 1200px; margin: auto; padding: clamp(2.5rem, 6vw, 5rem); color: #f2ece1; background: var(--wood-dark); }
.sound-story p { margin-top: 0; }
.sound-story blockquote { margin: 1.4rem 0 0 clamp(1rem, 5vw, 3rem); color: rgba(255,255,255,.9); font-size: 1.06rem; line-height: 2; }
.audio-card { padding: 1.5rem 0 1rem; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.audio-card audio { width: 100%; margin: 1rem 0; }
.audio-card small { color: rgba(255,255,255,.62); font-family: var(--sans); font-size: .72rem; }

.chapter-opera { padding-bottom: clamp(7rem, 14vw, 14rem); color: #f3e9dc; background: #161313; }
.chapter-opera .en-translation, .chapter-survey .en-translation, .sound-story .en-translation { color: inherit; opacity: .64; }
.opera-intro { max-width: 860px; margin: 0 auto clamp(5rem, 10vw, 10rem); text-align: center; }
.opera-intro .chapter-no { color: #d98967; }
.opera-intro p:last-child { max-width: 620px; margin: 2rem auto 0; color: rgba(255,255,255,.7); }
.opera-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(.8rem, 2vw, 1.5rem); max-width: 1500px; margin: auto; }
.opera-grid figure { position: relative; }
.opera-grid figcaption { color: rgba(255,255,255,.6); }
.opera-backstage { grid-row: span 2; }
.opera-backstage img { height: calc(100% - 2.4rem); object-fit: cover; }
.opera-stage img, .opera-side img { aspect-ratio: 16 / 9; object-fit: cover; }
.opera-audience { grid-column: 1 / -1; width: 70%; margin: 4rem auto 0; }

.chapter-wish { background: #d8cbb7; }
.detail-ribbon { display: grid; grid-template-columns: 1fr 1.05fr .95fr; gap: clamp(1rem, 2.2vw, 2rem); max-width: 1500px; margin: auto; }
.detail-ribbon img { width: 100%; height: clamp(330px, 42vw, 620px); object-fit: cover; }
.detail-ribbon figure:nth-child(2) { margin-top: 6rem; }

.chapter-survey { color: #ede9df; background: #20201d; }
.survey-intro { max-width: 900px; margin: 0 0 clamp(5rem, 9vw, 9rem) 8vw; }
.survey-intro .chapter-no { color: #d98967; }
.survey-intro p:last-child { max-width: 660px; color: rgba(255,255,255,.68); }
.survey-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.survey-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.survey-strip figcaption { color: rgba(255,255,255,.55); }
.chapter-supplement { max-width: 1500px; margin: clamp(7rem, 12vw, 12rem) auto 0; }
.supplement-heading { display: grid; grid-template-columns: minmax(9rem, .65fr) minmax(0, 1.35fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; max-width: 1050px; margin: 0 auto clamp(3.5rem, 7vw, 7rem); }
.supplement-heading-simple { grid-template-columns: 1fr; }
.supplement-heading .chapter-no { margin-top: .8rem; }
.supplement-heading h3 { margin: 0; font-size: clamp(2.2rem, 4.8vw, 4.8rem); font-weight: 500; line-height: 1.18; }
.supplement-heading p:last-child { max-width: 640px; margin: 1.7rem 0 0; color: var(--muted); }
.chapter-supplement-dark .supplement-heading p:last-child { color: rgba(255,255,255,.66); }
.supplement-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.7rem); }
.supplement-grid figure { grid-column: span 4; }
.supplement-grid figure.half { grid-column: span 6; }
.supplement-grid figure.wide { grid-column: span 8; }
.supplement-grid figure.portrait { grid-column: span 4; }
.supplement-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.supplement-grid figure.wide img { aspect-ratio: 16 / 9; }
.supplement-grid figure.portrait img { aspect-ratio: 3 / 4; object-position: center; }
.supplement-grid figcaption, .detail-notebook figcaption, .survey-additions figcaption { max-width: 34rem; }
.chapter-supplement-dark figcaption { color: rgba(255,255,255,.6); }
.roof-overview { margin-bottom: clamp(4rem, 8vw, 8rem); }
.detail-notebook { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.7rem); padding-top: clamp(2.5rem, 5vw, 5rem); border-top: 1px solid rgba(66,48,36,.22); }
.detail-notebook img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.survey-additions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.7rem); max-width: 1500px; margin: clamp(5rem, 9vw, 9rem) auto 0; }
.survey-additions img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.survey-additions figcaption { color: rgba(255,255,255,.55); }
.future-link { max-width: 760px; margin: clamp(5rem, 9vw, 9rem) auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.72); }

.epilogue { position: relative; min-height: 92svh; display: flex; align-items: flex-end; color: white; background: #18130e; overflow: hidden; }
.epilogue > img { position: absolute; left: 0; top: -17vh; width: 100%; height: calc(100% + 34vh); object-fit: cover; transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.07); backface-visibility: hidden; will-change: transform; }
.epilogue::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,10,.08), rgba(20,15,10,.82)); }
.epilogue-copy { position: relative; z-index: 1; max-width: 850px; margin: clamp(1.5rem, 7vw, 8rem); transform: translate3d(0, var(--copy-parallax-y, 0), 0); backface-visibility: hidden; will-change: transform; }
.epilogue h2 { font-size: clamp(2.6rem, 5.2vw, 5.2rem); }
.epilogue-copy .chapter-no { color: #e1a184; }
.epilogue-copy p:last-child { max-width: 660px; font-size: 1.1rem; }

.archive { padding: clamp(5rem, 9vw, 9rem) clamp(1.3rem, 6vw, 7rem); background: #e6dfd3; }
.archive details { max-width: 1450px; margin: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.archive summary { display: flex; justify-content: space-between; gap: 2rem; padding: 1.5rem 0; cursor: pointer; font-family: var(--sans); list-style: none; }
.archive summary::-webkit-details-marker { display: none; }
.archive summary small { color: var(--muted); }
.archive-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; padding: 4rem 0 2rem; }
.archive-heading h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 5rem); font-weight: 500; }
.archive-heading p { margin: 0; color: var(--muted); }
.archive-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; padding: 2rem 0 4rem; }
.archive-card { margin: 0; cursor: zoom-in; }
.archive-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.archive-card strong { display: block; margin-top: .55rem; font-size: .86rem; font-weight: 500; }
.archive-card strong .en-translation { margin-top: .2rem; font-size: .76em; line-height: 1.35; }
.archive-card small { color: var(--muted); font-family: var(--sans); font-size: .66rem; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 4rem clamp(1.3rem, 6vw, 7rem); color: rgba(255,255,255,.65); background: var(--night); font-family: var(--sans); font-size: .72rem; line-height: 1.7; }
.site-footer strong { color: white; font-family: var(--serif); font-size: 1rem; }
.site-footer p { margin: .5rem 0 0; }
.site-footer .footer-meta { max-width: 58rem; }
.site-footer .footer-meta p:first-child { color: rgba(255,255,255,.78); }
.site-footer .en-translation { margin-top: .18rem; font-size: .78em; line-height: 1.4; opacity: .56; }
.site-footer strong > .en-translation { font-size: .74em; }

.lightbox { width: min(94vw, 1500px); max-height: 94vh; padding: 0; border: 0; color: white; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(12, 10, 8, .93); }
.lightbox img { width: 100%; max-height: 84vh; object-fit: contain; background: transparent; }
.lightbox p { margin: .8rem 3rem 0 0; font-family: var(--sans); font-size: .77rem; white-space: pre-line; }
.lightbox-close { position: fixed; right: 1.25rem; top: 1rem; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: white; background: rgba(0,0,0,.28); cursor: pointer; }

.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translate3d(0, 42px, 0) scale(.985); filter: blur(3px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform 1.05s cubic-bezier(.16,.76,.22,1), filter .85s ease, clip-path 1.15s cubic-bezier(.16,.76,.22,1); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform, filter, clip-path; }
.motion-ready .reveal.reveal-fade { transform: none; filter: none; }
.motion-ready .reveal.reveal-up-strong { transform: translate3d(0, 82px, 0) scale(.975); filter: blur(7px); }
.motion-ready .reveal.reveal-pop { transform: translate3d(0, 34px, 0) scale(.88); filter: blur(9px); }
.motion-ready .reveal.reveal-mask { clip-path: inset(15% 0 15% 0); transform: translate3d(0, 58px, 0) scale(1.045); filter: blur(5px); }
.motion-ready .reveal.reveal-tilt-left { transform: translate3d(-52px, 66px, 0) rotate(-2.2deg) scale(.97); filter: blur(5px); }
.motion-ready .reveal.reveal-tilt-right { transform: translate3d(52px, 66px, 0) rotate(2.2deg) scale(.97); filter: blur(5px); }
.motion-ready .reveal.reveal-left { transform: translate3d(-42px, 18px, 0) scale(.985); }
.motion-ready .reveal.reveal-right { transform: translate3d(42px, 18px, 0) scale(.985); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; filter: none; clip-path: inset(0); }

@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes nav-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hero-rule-in { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

@media (min-width: 901px) {
  html { scroll-snap-type: y proximity; }
  .scroll-beat { scroll-snap-align: start; scroll-snap-stop: normal; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .site-mark small { display: none; }
  .site-mark span > .en-translation { display: inline; margin-left: .55rem; font-size: .5em; white-space: nowrap; }
  .hero h1 { font-size: clamp(3.9rem, 18vw, 6.5rem); }
  .hero h1 > .en-translation { font-size: .19em; letter-spacing: .12em; }
  .two-column-prose, .chapter-heading, .origin-grid, .craft-story, .sound-story, .archive-heading { grid-template-columns: 1fr; }
  .chapter-heading > p:last-child { grid-column: 1; grid-row: auto; margin-top: 2rem; }
  .photo-pair { grid-template-columns: 1fr; }
  .photo-pair figure:first-child { transform: none; width: 82%; }
  .horizontal-story { width: 100vw; height: auto !important; margin: clamp(6rem, 14vw, 9rem) 0 clamp(7rem, 16vw, 10rem) calc(50% - 50vw); }
  .horizontal-sticky { position: relative; height: auto; overflow: visible; background: none; }
  .horizontal-track.life-grid { display: flex; gap: 1rem; width: 100%; max-width: none; padding: 0 1.3rem 1.5rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 1.3rem; transform: none !important; touch-action: pan-x; scrollbar-width: thin; }
  .horizontal-track.life-grid figure,
  .horizontal-track.life-grid figure:nth-child(1),
  .horizontal-track.life-grid figure:nth-child(4) { flex: 0 0 min(68vw, 420px); width: auto; margin: 0; scroll-snap-align: center; }
  .horizontal-track.life-grid img { height: min(40vh, 360px); }
  .time-notes { grid-template-columns: 1fr; }
  .time-notes article { border-bottom: 1px solid var(--line); }
  .media-frame figcaption { display: block; }
  .opera-grid { grid-template-columns: 1fr; }
  .opera-backstage { grid-row: auto; }
  .opera-audience { grid-column: auto; width: 100%; margin-top: 0; }
  .detail-ribbon { grid-template-columns: 1fr; }
  .detail-ribbon figure:nth-child(2) { margin-top: 0; }
  .detail-ribbon img { height: auto; aspect-ratio: 4 / 3; }
  .supplement-heading { grid-template-columns: 1fr; gap: .5rem; }
  .supplement-heading .chapter-no { margin-top: 0; }
  .supplement-grid { grid-template-columns: 1fr 1fr; }
  .supplement-grid figure, .supplement-grid figure.half, .supplement-grid figure.portrait { grid-column: auto; }
  .supplement-grid figure.wide { grid-column: 1 / -1; }
  .detail-notebook { grid-template-columns: 1fr 1fr; }
  .survey-additions { grid-template-columns: 1fr 1fr; }
  .survey-intro { margin-left: 0; }
  .survey-strip { grid-template-columns: 1fr 1fr; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 520px) {
  .en-translation { font-size: .86em; }
  h1 > .en-translation { font-size: .19em; }
  h2 > .en-translation, h3 > .en-translation { font-size: .42em; }
  .hero-copy { left: 1.2rem; right: 1.2rem; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 4.8rem); letter-spacing: .035em; }
  .hero h1 > .en-translation { font-size: .2em; letter-spacing: .09em; }
  .hero h1::after { width: min(84vw, 360px); }
  .hero-subtitle { letter-spacing: .2em; }
  .sample-badge { font-size: .65rem; }
  .wide-figure { width: 66vw; }
  .early-window { padding-right: 1rem; padding-left: 1rem; }
  .early-window img { width: 78vw; }
  .supplement-grid, .detail-notebook, .survey-additions, .survey-strip, .archive-grid { grid-template-columns: 1fr; }
  .supplement-grid figure, .supplement-grid figure.half, .supplement-grid figure.wide, .supplement-grid figure.portrait { grid-column: auto; }
  .archive summary { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .scroll-cue span[aria-hidden="true"] { animation: none; }
  .site-header { transition: none; }
  .motion-ready .reveal { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: inset(0) !important; transition: none !important; }
  .motion-chapter::before { opacity: .55; transform: scaleY(1); transition: none; }
  .hero h1::after { animation: none; transform: scaleX(1); }
  [data-parallax] { transform: none !important; }
  [data-parallax-copy] { transform: none !important; }
  .horizontal-story { height: auto !important; }
  .horizontal-sticky { position: relative; height: auto; overflow: visible; }
  .horizontal-track.life-grid { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 1400px; margin: auto; padding: 0; transform: none !important; }
  .horizontal-track.life-grid figure,
  .horizontal-track.life-grid figure:nth-child(1),
  .horizontal-track.life-grid figure:nth-child(4) { width: 100%; }
}
