:root {
  color-scheme: dark;
  --sand: oklch(91% 0.035 75);
  --sand-dim: oklch(77% 0.042 65);
  --sand-faint: oklch(65% 0.046 60);
  --clay: oklch(55% 0.125 35);
  --ember: oklch(66% 0.15 40);
  --night: oklch(19% 0.026 40);
  --hairline: oklch(86% 0.025 65 / .23);
  --gutter: clamp(24px, 4.4vw, 88px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --progress: 0;
  --hold: 0;
  --pointer-x: 0;
  --pointer-y: 0;
  font-family: "Manrope", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  background: var(--night);
  color: var(--sand);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.sky { background:radial-gradient(ellipse at 76% 34%,oklch(32% .055 35),oklch(19% .031 29) 44%,oklch(12% .015 25) 85%); }
* { box-sizing: border-box; }
html { scroll-behavior: auto; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; overflow-x: hidden; overscroll-behavior-y: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--sand); outline-offset: 7px; }
button:disabled { cursor: default; opacity: .45; }
[hidden] { display: none !important; }
::selection { background: var(--clay); color: var(--sand); }

.world { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.sky { position: absolute; inset: 0; background: radial-gradient(ellipse at 76% 35%, oklch(44% .093 38) 0, oklch(32% .068 35) 32%, oklch(20% .035 35) 75%); transition: opacity 1.5s var(--ease); }
.sun-haze { position: absolute; width: 42vw; height: 42vw; right: 2vw; top: -12vw; border-radius: 50%; background: radial-gradient(circle, oklch(65% .13 49 / .17), transparent 66%); mix-blend-mode: screen; }
#memory-canvas { width: 100%; height: 100%; display: block; position: absolute; inset: 0; }
.world-shade { position: absolute; inset: 0; background: linear-gradient(90deg, oklch(12% .021 35 / .35), transparent 53%), linear-gradient(0deg, oklch(12% .025 35 / .9), transparent 26%, transparent 79%, oklch(12% .025 35 / .2)); transition: opacity 1s; }
.grain { position: absolute; inset: -50%; opacity: .028; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.8' filter='url(%23n)'/%3E%3C/svg%3E"); }

.site-header { position: fixed; z-index: 20; top: 0; left: 0; right: 0; padding: 32px var(--gutter); display: flex; align-items: center; gap: 42px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; }
.wordmark svg { width: 32px; height: 38px; stroke: currentColor; stroke-width: 1.5; }
.wordmark-name { font-size: 25px; letter-spacing: .23em; line-height: 1.22; font-weight: 500; }
.wordmark-name > span { display: block; font-size: 8px; letter-spacing: .16em; margin-top: 4px; font-weight: 600; }
.wordmark-name > b { font-weight: 500; }
.wordmark-name { line-height:1; }
.experiment-label { text-transform:none; }
.edition-link {font-size:10px;letter-spacing:.035em;white-space:nowrap;color:var(--sand-dim);}
.language-switch {display:flex;padding:.2rem;border:1px solid var(--hairline);border-radius:2rem;background:color-mix(in oklch,var(--night) 75%,transparent);}
.language-switch button {min-width:2.55rem;border:0;border-radius:2rem;padding:.46rem .58rem;background:transparent;color:var(--sand-dim);font-family:inherit;font-size:.65rem;letter-spacing:.08em;cursor:pointer;transition:background .35s,color .35s;}
.language-switch button[aria-pressed="true"] {background:var(--sand);color:var(--night);}
.language-switch button:disabled {cursor:wait;}
@media(max-width:600px){.site-header{flex-wrap:wrap;row-gap:12px}.header-actions{margin-left:auto}.about-toggle{display:none}.language-switch button{min-width:2rem}.edition-link{font-size:9px}}
.edition-switch { display:flex; align-items:center; padding:4px; border:1px solid var(--hairline); font-size:10px; letter-spacing:.045em; }
.edition-switch a, .edition-switch > span { padding:8px 12px; white-space:nowrap; }
.edition-switch a { color:var(--sand-dim); transition:color .4s,background .4s; }
.edition-switch a:hover { color:var(--sand); background:oklch(90% .02 75 / .09); }
.edition-switch > span { background:oklch(90% .025 75 / .12); }
.experiment-label { font-size: 10px; color: var(--sand-dim); letter-spacing: .13em; opacity: .7; margin-top: 3px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 29px; font-size: 11px; }
.header-actions [hidden] {display:none!important;}
.home-user {max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
@media(max-width:1000px){.site-header .header-actions{gap:12px}.site-header .experiment-label{display:none}.home-user{max-width:90px}}
@media(max-width:600px){.site-header .header-actions{flex-wrap:wrap;justify-content:flex-end;font-size:10px;row-gap:10px}.home-user{max-width:70px}}
.text-button { padding: 10px 0; background: transparent; }
.text-button:hover { color: var(--sand-dim); }
.language-button { font-size: 10px; letter-spacing: .1em; }
.studio-link { display: inline-flex; align-items: center; gap: 23px; padding: 12px 16px; border: 1px solid var(--hairline); border-radius: 2px; background: oklch(15% .021 35 / .1); transition: border-color .3s, background .3s; }
.studio-link > span:last-child { font-size: 17px; line-height: 12px; }
.studio-link:hover { background: oklch(90% .035 75 / .1); border-color: var(--sand); }

.scroll-track { height: 460vh; position: relative; pointer-events: none; }
.scroll-track > div { position: absolute; height: 1px; left: 0; }
#arrival { top: 0; } #wind { top: 115.2vh; } #room { top: 237.6vh; } #return { bottom: 100vh; }
.story-stage { position: fixed; inset: 0; z-index: 4; pointer-events: none; }
.chapter { position: absolute; left: clamp(42px, 8.8vw, 180px); top: 31%; width: 520px; max-width: 44vw; pointer-events: none; opacity: 0; transform: none; --text-dissolve:var(--copy-dissolve,0); }
.chapter.is-active { opacity: 1; transform: translate3d(calc(var(--pointer-x) * -4px), calc(var(--pointer-y) * 3px), 0); pointer-events: auto; }
.site-header,.experience-footer,#about-panel,.pointer-guide,.experience-settings { --text-dissolve:var(--culture-dissolve,0); }
.spatial-caption { --text-dissolve:var(--copy-dissolve,0); }
.copy-word { display:inline-block; }
.copy-grain { display:inline-block; opacity:clamp(0,calc(1 - var(--text-dissolve,0) * 1.18),1); transform:translate3d(calc(var(--grain-x) * var(--text-dissolve,0)),calc(var(--grain-y) * var(--text-dissolve,0)),0) rotate(calc(var(--grain-turn) * var(--text-dissolve,0))); filter:blur(calc(var(--text-dissolve,0) * 1.2px)); mask-image:radial-gradient(circle,black calc(100% - var(--text-dissolve,0) * 86%),transparent calc(101% - var(--text-dissolve,0) * 86%)); mask-size:3px 3px; }
body[data-motion="still"] .copy-grain { transform:none;opacity:1;filter:none;mask-image:none; }
/* Borders, SVG strokes and pseudo-elements share their nearby text's phase.
   Keep chapter navigation visible during chapter travel, but dissolve it with
   the whole UI during language/edition transitions. Hit targets do not move. */
.arrow-circle,.tiny-spark,.wind-line,.live-dot,.caption-line,.wordmark svg,
.scroll-stem,.dissolve-button svg,.sound-bars,.language-switch,#journey-range {
  opacity:clamp(0,calc(1 - var(--text-dissolve,0) * 1.18),1);
  translate:calc(var(--text-dissolve,0) * 12px) calc(var(--text-dissolve,0) * -22px);
  filter:blur(calc(var(--text-dissolve,0) * 1.2px));
  mask-image:radial-gradient(circle,black calc(100% - var(--text-dissolve,0) * 86%),transparent calc(101% - var(--text-dissolve,0) * 86%));
  mask-size:3px 3px;
}
#about-panel {opacity:calc(1 - var(--culture-dissolve,0));}
.chapter-index { display: flex; align-items: center; gap: 11px; color: var(--sand-dim); font-size: 10px; letter-spacing: .18em; margin-bottom: 26px; }
.tiny-spark { position: relative; display: block; width: 10px; height: 10px; }
.tiny-spark::before, .tiny-spark::after { content: ""; position: absolute; background: currentColor; }
.tiny-spark::before { width: 1px; height: 10px; left: 4px; }
.tiny-spark::after { width: 10px; height: 1px; top: 4px; }
h1, h2, p { margin: 0; }
.chapter h1, .chapter h2 { font-size: clamp(42px, 4.65vw, 88px); font-weight: 400; letter-spacing: -.035em; line-height: 1.37; text-wrap: balance; }
.chapter-description { font-size: clamp(11px, .86vw, 15px); line-height: 2; color: var(--sand-dim); margin-top: 25px; letter-spacing: .065em; max-width: 42ch; }
.narrative-link { display: inline-flex; background: none; align-items: center; gap: 22px; margin-top: 37px; padding: 0; font-size: 12px; letter-spacing: .07em; }
.arrow-circle { width: 30px; height: 30px; border: 1px solid var(--hairline); border-radius: 50%; display: inline-grid; place-items: center; font-size: 17px; transition: transform .6s var(--ease), background .4s, border-color .4s; }
.narrative-link:hover .arrow-circle { transform: translate(4px, -4px); background: oklch(90% .04 75 / .1); border-color: var(--sand); }
.chapter-wind { top: 35%; max-width: 58vw; width: 760px; }
.chapter-wind h2 { font-size: clamp(35px, 3.8vw, 70px); }
.wind-caption { display: flex; align-items: center; gap: 18px; color: var(--sand-faint); font-size: 10px; margin-top: 42px; letter-spacing: .1em; }
.wind-line { width: 55px; height: 1px; background: linear-gradient(90deg, var(--sand-dim), transparent); }
.chapter-room { left: auto; right: var(--gutter); max-width: 35vw; width: 490px; top: 32%; text-shadow: 0 2px 30px oklch(8% .02 35 / .5); }
.chapter-room h2 { font-size: clamp(38px, 4vw, 76px); }
.chapter-room .chapter-description { max-width: 34ch; }
.room-note { display: flex; align-items: center; gap: 8px; color: var(--sand-dim); font-size: 9px; margin-top: 35px; letter-spacing: .07em; }
.live-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 9px var(--sand); }
.chapter-return { max-width: 52vw; width: 700px; top: 30%; }
.chapter-return h2 { font-size: clamp(38px, 4.15vw, 76px); }
.return-link { display: block; background: none; padding: 8px 0; margin-top: 30px; color: var(--sand-faint); font-size: 10px; letter-spacing: .09em; }
.return-link:hover { color: var(--sand); }

.spatial-caption { position: fixed; right: 14.3vw; bottom: 26%; z-index: 3; display: flex; gap: 12px; font-size: 9px; align-items: center; letter-spacing: .1em; opacity: .8; transition: opacity .8s; }
.spatial-caption small { display: block; font-size: 7px; letter-spacing: .2em; opacity: .55; margin-top: 7px; }
.caption-line { width: 38px; height: 1px; background: var(--hairline); position: relative; }
.caption-line::before { content: ""; position: absolute; width: 3px; height: 3px; border: 1px solid var(--sand-dim); border-radius: 50%; left: -4px; top: -2px; }
.pointer-guide { position: fixed; left: 63%; top: 20%; z-index: 4; font-size: 9px; letter-spacing: .1em; color: var(--sand-dim); display: flex; gap: 8px; align-items: center; opacity: .6; transition: opacity .8s; pointer-events: none; }
.pointer-guide > span:first-child { font-size: 15px; font-weight: 400; }
body[data-chapter="1"] .spatial-caption, body[data-chapter="2"] .spatial-caption, body[data-chapter="3"] .pointer-guide, body.is-holding .pointer-guide { opacity: 0; }
body[data-chapter="2"] .world-shade { background: linear-gradient(270deg, oklch(11% .022 35 / .78), transparent 70%), linear-gradient(0deg, oklch(11% .022 35 / .95), transparent 26%, transparent 83%, oklch(11% .022 35 / .45)); }

.experience-footer { position: fixed; z-index: 10; left: var(--gutter); right: var(--gutter); bottom: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.scroll-prompt { display: flex; align-items: center; gap: 13px; font-size: 9px; color: var(--sand-dim); letter-spacing: .08em; min-width: 150px; }
.scroll-stem { width: 1px; height: 35px; background: var(--hairline); position: relative; overflow: hidden; }
.scroll-stem::after { content: ""; position: absolute; left: 0; top: -10px; width: 1px; height: 12px; background: var(--sand); animation: scroll-fall 2.6s ease-out infinite; }
@keyframes scroll-fall { from { transform: translateY(0); } to { transform: translateY(50px); } }
.chapter-navigation { display: flex; align-items: center; justify-content: center; padding-top: 8px; }
.chapter-navigation button { background: none; padding: 10px 8px; display: inline-flex; gap: 8px; align-items: center; color: var(--sand-faint); font-size: 9px; transition: color .5s; }
.chapter-navigation b { font-weight: 400; letter-spacing: .06em; }
.chapter-navigation button span { font-size: 8px; opacity: .6; }
.chapter-navigation button.is-current, .chapter-navigation button:hover { color: var(--sand); }
.chapter-connector { height: 1px; background: var(--hairline); width: clamp(18px, 2.3vw, 45px); }
.dissolve-control { display: flex; align-items: center; gap: 16px; min-width: 166px; justify-content: flex-end; }
.dissolve-copy { text-align: right; font-size: 10px; line-height: 1.6; letter-spacing: .09em; }
.dissolve-copy small { display: block; font-size: 8px; margin-top: 3px; color: var(--sand-faint); letter-spacing: .06em; }
.dissolve-button { padding: 0; width: 54px; height: 54px; background: none; touch-action: none; user-select: none; border-radius: 50%; }
.dissolve-button svg { width: 100%; height: 100%; fill: none; stroke: var(--sand); }
.dissolve-button path { stroke-width: 1; transform-origin: center; transform: rotate(calc(var(--hold) * 90deg)) scale(calc(1 - var(--hold) * .3)); }
.hold-track { stroke: var(--sand-faint); stroke-dasharray: 1 4; opacity: .7; }
.hold-meter { stroke-width: 1; stroke-dasharray: 164; stroke-dashoffset: calc(164 * (1 - var(--hold))); transform: rotate(-90deg); transform-origin: center; }
.dissolve-button:hover .hold-track { stroke: var(--sand); }
.experience-settings { position: fixed; bottom: 22px; right: var(--gutter); display: flex; align-items: center; gap: 11px; font-size: 8px; color: var(--sand-faint); z-index: 12; }
.experience-settings button { background: none; padding: 6px 0; font-size: inherit; letter-spacing: .04em; }
.experience-settings button:hover { color: var(--sand); }
.settings-separator { color: var(--hairline); }
.sound-button { display: inline-flex; align-items: center; gap: 7px; }
.sound-bars { height: 11px; display: inline-flex; align-items: center; gap: 2px; }
.sound-bars i { display: inline-block; width: 1px; height: 3px; background: currentColor; transition: height .4s; }
.sound-button[aria-pressed="true"] i:nth-child(2) { height: 10px; }
.sound-button[aria-pressed="true"] i:nth-child(3) { height: 7px; }
.sound-button[aria-pressed="true"] i:nth-child(4) { height: 5px; }
.loading-status { position: fixed; bottom: 23px; left: var(--gutter); z-index: 12; display: flex; align-items: center; gap: 8px; color: var(--sand-faint); font-size: 8px; letter-spacing: .06em; transition: opacity .6s; }
.loading-status.is-complete { opacity: 0; pointer-events: none; }
.loading-dot { height: 3px; width: 3px; border-radius: 50%; background: currentColor; }
#loading-percent { opacity: .6; min-width: 25px; }
.failure-notice { position: fixed; z-index: 25; left: var(--gutter); bottom: 155px; width: min(360px, calc(100vw - 48px)); padding: 22px; background: oklch(22% .035 35 / .95); border: 1px solid var(--hairline); }
.failure-notice strong { font-size: 15px; font-weight: 500; }
.failure-notice p { margin-top: 12px; font-size: 11px; line-height: 1.8; color: var(--sand-dim); }
.failure-notice button { display: inline-block; background: none; border-bottom: 1px solid var(--sand-dim); padding: 4px 0; margin-top: 14px; font-size: 11px; }

.about-panel { position: fixed; z-index: 30; right: var(--gutter); top: 102px; bottom: 105px; max-height: 570px; overflow-y: auto; width: min(430px, calc(100vw - 48px)); padding: 47px 36px 25px; background: oklch(23% .043 34 / .98); border: 1px solid var(--hairline); box-shadow: 0 20px 80px oklch(8% .02 35 / .3); }
.close-about { position: absolute; top: 13px; right: 18px; font-size: 24px; background: none; font-weight: 300; padding: 5px; }
.about-symbol { font-size: 34px; letter-spacing: .12em; color: var(--sand-faint); }
.about-panel h2 { font-size: 24px; font-weight: 400; line-height: 1.55; margin: 30px 0 18px; }
.about-panel p { font-size: 12px; line-height: 2; color: var(--sand-dim); }
.about-panel .about-detail { font-size: 10px; color: var(--sand-faint); margin-top: 22px; }
.about-panel > a { display: inline-block; font-size: 11px; margin-top: 22px; padding-bottom: 7px; border-bottom: 1px solid var(--hairline); }
.about-bottom { margin-top: 36px; display: flex; justify-content: space-between; font-size: 8px; color: var(--sand-faint); }
.live-message { position: fixed; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--sand); color: var(--night); padding: 15px; }
.skip-link:focus { top: 15px; }
.noscript { position: fixed; inset: auto 24px 150px; background: var(--night); padding: 24px; line-height: 1.8; z-index: 40; }
.noscript a { text-decoration: underline; }

body[data-language="en"] .chapter h1, body[data-language="en"] .chapter h2 { font-size: clamp(46px, 5.2vw, 94px); line-height: 1.11; letter-spacing: -.055em; font-weight: 500; }
body[data-language="en"] .chapter-description { line-height: 1.8; letter-spacing: .005em; font-size: 13px; }
body[data-language="en"] .chapter-wind h2 { font-size: clamp(39px, 4.4vw, 77px); }
body[data-language="en"] .chapter-room h2 { font-size: clamp(39px, 4.5vw, 80px); }
body[data-language="en"] .chapter-return h2 { font-size: clamp(42px, 4.5vw, 80px); }

body[data-motion="still"] *, body[data-motion="reduced"] .scroll-stem::after { animation: none !important; }
body[data-motion="still"] .chapter { transition: none; transform: none !important; }
body[data-motion="reduced"] .chapter.is-active { transform: none; }
body[data-motion="still"] .dissolve-control { opacity: .45; }
body[data-motion="still"] .pointer-guide { opacity: 0; }

@media (min-width: 1800px) {
  .site-header { padding-top: 42px; }
  .chapter { top: 32%; }
  .chapter-description { margin-top: 32px; }
  .chapter-index { font-size: 12px; }
  .header-actions, .narrative-link { font-size: 13px; }
  .experience-footer { bottom: 70px; }
  .chapter-navigation button { font-size: 11px; }
}
@media (max-height: 700px) and (min-width: 800px) {
  .site-header { padding-top: 22px; }
  .chapter { top: 28%; }
  .chapter-index { margin-bottom: 16px; }
  .chapter h1, .chapter h2 { font-size: 49px; }
  .chapter-description { margin-top: 15px; }
  .narrative-link { margin-top: 22px; }
  .experience-footer { bottom: 45px; }
  .room-note { margin-top: 20px; }
}
@media (max-width: 800px) {
  .site-header { padding-top: 22px; gap: 18px; }
  .wordmark svg { width: 27px; height: 33px; }
  .wordmark-name { font-size: 22px; }
  .wordmark-name > span { font-size: 6.5px; }
  .experiment-label { display: none; }
  .header-actions { gap: 20px; }
  .about-toggle { display: none; }
  .studio-link { padding: 10px 12px; gap: 13px; font-size: 10px; }
  .chapter { top: 31%; left: var(--gutter); max-width: 65vw; width: 500px; }
  .chapter h1, .chapter h2 { font-size: clamp(38px, 6.8vw, 58px); }
  .chapter-index { font-size: 9px; margin-bottom: 20px; }
  .chapter-description { font-size: 11px; }
  .chapter-room { left: var(--gutter); right: auto; top: 28%; max-width: 65vw; }
  .chapter-room .chapter-description { max-width: 36ch; }
  .chapter-wind { max-width: 80vw; }
  .chapter-wind h2 { font-size: 5.8vw; }
  .chapter-return { max-width: 85vw; }
  .spatial-caption { right: 12%; bottom: 25%; }
  .pointer-guide { display: none; }
  .scroll-prompt { display: none; }
  .experience-footer { bottom: 61px; }
  .chapter-navigation button { gap: 5px; font-size: 9px; padding: 9px 5px; }
  .chapter-connector { width: 18px; }
  .dissolve-control { min-width: 130px; gap: 10px; }
  .dissolve-button { width: 46px; height: 46px; }
  .dissolve-copy { font-size: 9px; }
  .dissolve-copy small { font-size: 7px; }
  .experience-settings { right: var(--gutter); bottom: 21px; font-size: 8px; }
  body[data-chapter="2"] .world-shade { background: linear-gradient(90deg, oklch(11% .022 35 / .8), transparent 100%), linear-gradient(0deg, oklch(11% .022 35 / .95), transparent 35%); }
}
@media (max-width: 520px) {
  .chapter { top: 29%; max-width: calc(100vw - 48px); }
  .chapter h1, .chapter h2 { font-size: 42px; line-height: 1.4; }
  .chapter-index { font-size: 8px; }
  .chapter-description { font-size: 10px; line-height: 2; max-width: 34ch; }
  .chapter-description br { display: none; }
  .chapter-wind h2 { font-size: 32px; line-height: 1.6; }
  .chapter-room { top: 29%; }
  .chapter-room h2 { font-size: 41px; }
  .chapter-return h2 { font-size: 34px; }
  .narrative-link { margin-top: 27px; font-size: 10px; gap: 15px; }
  .spatial-caption { right: 10%; bottom: 28%; font-size: 8px; }
  .spatial-caption small { font-size: 6px; }
  .experience-footer { bottom: 74px; gap: 10px; }
  .chapter-navigation { justify-content: flex-start; }
  .chapter-navigation button { padding: 8px 4px; display: flex; flex-direction: column; gap: 7px; }
  .chapter-navigation button span { font-size: 7px; }
  .chapter-connector { width: 15px; }
  .dissolve-control { min-width: auto; gap: 10px; }
  .dissolve-copy { font-size: 8px; }
  .dissolve-copy small { max-width: 58px; font-size: 7px; }
  .dissolve-button { width: 46px; height: 46px; }
  .experience-settings { left: var(--gutter); right: var(--gutter); justify-content: center; bottom: 27px; }
  .loading-status { bottom: 12px; font-size: 6px; }
  .wordmark { gap: 7px; }
  .header-actions { gap: 16px; }
  .about-panel { top: 90px; right: 24px; bottom: 130px; padding: 38px 26px 22px; }
  .wind-caption { font-size: 8px; margin-top: 25px; }
  body[data-language="en"] .chapter h1 { font-size: 49px; }
  body[data-language="en"] .chapter h2 { font-size: 42px; }
  body[data-language="en"] .chapter-description { font-size: 11px; }
  body[data-language="en"] .chapter-wind h2 { font-size: 38px; }
  body[data-language="en"] .chapter-return h2 { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chapter { transition: opacity .3s; }
  .scroll-stem::after { animation: none; }
}

/* Space's two cultural palettes change the whole environment, not just copy. */
body[data-language="zh"] .sky { background:radial-gradient(ellipse at 76% 34%,oklch(32% .055 35),oklch(19% .031 29) 44%,oklch(12% .015 25) 85%); }
body[data-language="zh"] .sun-haze {opacity:.30;}
html[data-language="en"] { --night:oklch(17% .039 259); --sand:oklch(94% .018 86); --sand-dim:oklch(81% .023 78); --sand-faint:oklch(71% .029 245); --hairline:oklch(91% .02 84 / .24); }
.sky::after { content:""; position:absolute; inset:0; opacity:0; background:radial-gradient(ellipse at 76% 35%,oklch(27% .055 257),oklch(20% .052 257) 38%,oklch(15% .046 259) 78%); transition:opacity 2.8s cubic-bezier(.45,0,.2,1); }
body[data-language="en"] .sky::after { opacity:1; }
body[data-language="en"] .sun-haze { background:radial-gradient(circle,oklch(80% .04 230 / .19),transparent 66%); }
body[data-language="en"] .world-shade { background:linear-gradient(90deg,oklch(12% .025 259 / .35),transparent 53%),linear-gradient(0deg,oklch(12% .025 259 / .9),transparent 26%,transparent 79%,oklch(12% .025 259 / .2)); }
body[data-language="en"][data-chapter="2"] .world-shade { background:linear-gradient(270deg,oklch(11% .025 259 / .78),transparent 70%),linear-gradient(0deg,oklch(11% .025 259 / .95),transparent 26%); }
body[data-language="en"] .about-panel, body[data-language="en"] .failure-notice { background:oklch(23% .043 257 / .98); }
body[data-language="en"] .wordmark-name { font-size:21px; letter-spacing:-.035em; }
body[data-language="en"] .wordmark-name > span { letter-spacing:.16em; }
body[data-chapter="3"] .spatial-caption { right:9%; bottom:24%; }
body[data-chapter="3"] .chapter-return { max-width:40vw; }
body[data-chapter="3"] .chapter-return h2 { font-size:clamp(36px,3.7vw,68px); }
@media(max-width:800px) { .edition-switch a,.edition-switch > span {padding:7px 8px;} .header-actions {gap:14px;} body[data-chapter="3"] .chapter-return {max-width:80vw;} }
@media(max-width:520px) { .edition-switch {font-size:8px;padding:3px;} .edition-switch a,.edition-switch > span {padding:7px 7px;} .header-actions {gap:12px;} body[data-chapter="3"] .chapter-return h2 {font-size:34px;} .wordmark-name {font-size:20px;} }
/* Keep the luminous sculpture above the story on narrow screens. */
@media (max-width: 759px) {
  .chapter, .chapter-room { top: 46%; max-width: calc(100vw - 48px); }
  .chapter-index { margin-bottom: 13px; }
  .chapter-description { margin-top: 15px; }
  .narrative-link { margin-top: 22px; }
  .return-link { margin-top: 16px; }
  body[data-language="en"] .chapter h1 { font-size: clamp(34px,9.5vw,49px); }
  body[data-language="en"] .chapter h2 { font-size: clamp(32px,9vw,42px); }
  .about-toggle { display: block; position: absolute; top: 76px; right: 24px; font-size: 10px; }
  .spatial-caption { display: none; }
  .world-shade, body[data-language="en"] .world-shade, body[data-chapter="2"] .world-shade,
  body[data-language="en"][data-chapter="2"] .world-shade {
    background: linear-gradient(0deg,var(--night) 0%, transparent 92%),linear-gradient(0deg,var(--night) 0%,transparent 67%);
  }
}
.journey-timeline {width:clamp(290px,34vw,620px);align-self:end;}
.journey-timeline label {display:block;text-align:center;color:var(--sand-faint);font-size:8px;letter-spacing:.12em;margin-bottom:3px;}
#journey-range {appearance:none;-webkit-appearance:none;display:block;width:100%;height:24px;padding:0;margin:0;background:transparent;cursor:ew-resize;touch-action:none;}
#journey-range::-webkit-slider-runnable-track {height:2px;background:linear-gradient(to right,var(--sand) calc(var(--progress)*100%),var(--hairline) 0);}
#journey-range::-webkit-slider-thumb {appearance:none;width:10px;height:10px;margin-top:-4px;border:1px solid var(--sand);border-radius:50%;background:var(--night);box-shadow:0 0 0 4px oklch(90% .02 70 / .06);}
#journey-range::-moz-range-track {height:2px;background:var(--hairline);}
#journey-range::-moz-range-progress {height:2px;background:var(--sand);}
#journey-range::-moz-range-thumb {width:9px;height:9px;border:1px solid var(--sand);border-radius:50%;background:var(--night);}
#journey-range:focus-visible {outline:1px solid var(--sand-dim);outline-offset:4px;}
.journey-timeline .chapter-navigation {justify-content:space-between;padding-top:0;}
.journey-timeline .chapter-navigation button {padding:5px 0;}
body[data-chapter="3"] .chapter-return {top:17%;max-width:44vw;}
body[data-chapter="3"] .chapter-return h2 {font-size:clamp(34px,3.25vw,61px);}
body[data-chapter="3"] .chapter-description {margin-top:18px;}
body[data-chapter="3"] .narrative-link {margin-top:22px;}
body[data-chapter="3"] .spatial-caption {display:none;}
@media(max-width:800px){.journey-timeline{width:40vw;min-width:240px}.journey-timeline label{font-size:7px;letter-spacing:.03em}}
@media(max-width:520px){.journey-timeline{width:54vw;min-width:0}.journey-timeline label{font-size:6px}.journey-timeline .chapter-navigation button{font-size:8px;gap:5px}.journey-timeline .chapter-navigation button span{display:none}body[data-chapter="3"] .chapter-return{top:46%;max-width:calc(100vw - 48px)}body[data-chapter="3"] .chapter-return h2{font-size:33px}}
