:root {
  --binding: #18332e;
  --archive: #294d45;
  --paper: #f4f1ea;
  --paper-shade: #e7e6db;
  --ochre: #b4874b;
  --ink: #263b34;
  --muted: #667268;
  --rule: #c9cec2;
  --title: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; line-height: 1.75; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }
button { font: inherit; }
.skip-link { position: absolute; top: -60px; left: 12px; z-index: 10; padding: 9px 14px; color: var(--ink); background: var(--paper); }
.skip-link:focus { top: 12px; }
.site-header { min-height: 82px; padding: 14px max(28px, calc((100vw - 1320px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 22px; color: var(--paper); background: var(--binding); }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; font: 600 20px/1.2 var(--title); letter-spacing: .07em; }
.brand img, .footer-brand img { flex: none; }
.brand small { display: block; margin-top: 5px; color: #c3d0c6; font: 10px/1.4 var(--body); letter-spacing: .12em; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3.2vw, 46px); font-size: 14px; }
.main-nav a { text-decoration: none; color: #e7ece6; }
.main-nav a:hover { color: #e7c997; }
.hero { max-width: 1440px; margin: 0 auto; padding: 64px max(28px, calc((100vw - 1320px)/2)) 73px; display: grid; grid-template-columns: minmax(0,.9fr) minmax(480px,1.1fr); gap: 40px; align-items: center; color: var(--paper); background: var(--binding); }
.hero-copy { max-width: 510px; padding-bottom: 15px; }
.eyebrow { margin: 0 0 18px; color: #9cae9f; font-size: 12px; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--title); font-weight: 500; }
h1 { margin-bottom: 23px; font-size: clamp(44px, 4.1vw, 58px); line-height: 1.42; letter-spacing: .025em; }
.hero-intro { max-width: 465px; margin-bottom: 28px; color: #d5dfd7; font-size: 17px; line-height: 2; }
.primary-link { display: inline-flex; min-height: 50px; align-items: center; padding: 9px 18px; color: var(--binding); background: #e5d4b4; text-decoration: none; font-size: 14px; }
.primary-link:hover { background: #f0dfbe; }
.hero-note { margin: 18px 0 0; color: #aebdb1; font-family: var(--title); font-size: 14px; }
.folio-wrap { max-width: 760px; width: 100%; justify-self: end; }
.folio-kicker { display: flex; justify-content: space-between; gap: 12px; padding: 0 3px 10px; color: #c3d0c6; font-size: 11px; letter-spacing: .04em; }
.folio { min-height: 376px; position: relative; padding-top: 50px; color: var(--ink); background: var(--paper); box-shadow: 0 16px 40px #0e211d55; }
.folio::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 16px; background: #e3dfd3; border-left: 1px solid #d3cfc2; border-right: 1px solid #d3cfc2; }
.folio-tabs { position: absolute; z-index: 2; left: 27px; top: 0; right: 27px; min-height: 50px; display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid #d7d6ca; }
.folio-tab { position: relative; border: 0; padding: 10px 5px; color: #59665e; background: transparent; font-size: 13px; cursor: pointer; }
.folio-tab + .folio-tab { border-left: 1px solid #e3e1d8; }
.folio-tab.is-active { color: var(--binding); font-weight: 600; }
.folio-tab.is-active::after { content: ""; position: absolute; height: 2px; left: 15px; right: 15px; bottom: -1px; background: var(--ochre); }
.folio-page { position: relative; z-index: 1; width: calc(100% - 72px); min-height: 326px; margin-left: 36px; padding: 33px clamp(20px,4vw,54px) 70px; transition: opacity .15s ease, transform .15s ease; }
.folio-page.is-changing { opacity: .25; transform: translateY(5px); }
.folio-index { display: inline-block; margin-bottom: 15px; color: #9a7745; font-size: 11px; letter-spacing: .06em; }
.folio-page h2 { max-width: 430px; margin: 0 0 13px; font-size: clamp(24px, 3vw, 34px); line-height: 1.5; }
.folio-page p { max-width: 450px; margin: 0; color: #5f6d63; font-size: 14px; line-height: 1.9; }
.folio-notation { position: absolute; left: clamp(20px,4vw,54px); right: clamp(20px,4vw,54px); bottom: 22px; display: flex; align-items: center; gap: 13px; color: #67746a; font-size: 11px; }
.sound-lines { height: 27px; display: flex; align-items: center; gap: 3px; }
.sound-lines i { display: block; width: 2px; height: 9px; background: var(--archive); }
.sound-lines i:nth-child(3n) { height: 18px; }
.sound-lines i:nth-child(4n) { height: 25px; background: var(--ochre); }
.folio-next { position: absolute; z-index: 3; right: 20px; bottom: 17px; border: 0; padding: 8px; color: var(--archive); background: transparent; font-size: 12px; cursor: pointer; }
.folio-next span { margin-left: 5px; color: var(--ochre); }
.folio-spine { position: absolute; z-index: 2; left: 16px; top: 51px; bottom: 0; border-left: 1px solid #d0cbbc; pointer-events: none; }
.approach { max-width: 1184px; margin: 0 auto; padding: 96px 0 102px; display: grid; grid-template-columns: minmax(250px,.75fr) minmax(0,1.25fr); gap: 12%; }
.section-heading { max-width: 390px; }
.section-heading .eyebrow, .family-copy .eyebrow { color: #8a754f; }
h2 { margin: 0 0 16px; font-size: clamp(30px,3vw,40px); line-height: 1.5; }
.section-heading > p:last-child, .family-copy > p:not(.eyebrow) { color: #627066; line-height: 1.95; margin-bottom: 0; }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.process-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.process-mark { width: 34px; height: 34px; display: grid; place-items: center; color: var(--archive); border: 1px solid #b9c3b7; border-radius: 50%; font: 16px var(--title); }
.process-list h3 { margin: 0 0 5px; font-size: 19px; }
.process-list p { max-width: 570px; margin: 0; color: #627066; font-size: 14px; line-height: 1.85; }
.family-section { padding: 83px max(28px, calc((100vw - 1184px)/2)); display: grid; grid-template-columns: minmax(300px,.9fr) minmax(0,1fr); gap: 11%; align-items: center; background: var(--paper-shade); }
.family-diagram { min-height: 300px; position: relative; display: grid; place-items: center; overflow: hidden; }
.family-ring { width: 185px; height: 185px; position: absolute; border: 1px solid #71867a; border-radius: 50%; display: grid; place-items: start center; padding-top: 24px; color: var(--archive); font-family: var(--title); font-size: 14px; }
.ring-one { transform: translateX(-63px); }
.ring-two { transform: translateX(63px); border-color: #a27e49; color: #80623b; }
.family-common { position: relative; z-index: 1; width: 82px; height: 82px; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--archive); text-align: center; font-family: var(--title); font-size: 14px; line-height: 1.5; }
.diagram-note { position: absolute; bottom: 0; margin: 0; color: #657269; font-size: 12px; }
.family-copy { max-width: 490px; }
.family-copy h2 { font-size: clamp(32px,3.4vw,44px); }
.quiet-link { display: inline-block; margin-top: 24px; color: var(--archive); font-size: 14px; }
.availability { max-width: 1184px; margin: 0 auto; padding: 48px 0 56px; display: grid; grid-template-columns: 105px 1fr; gap: 26px; border-bottom: 1px solid var(--rule); }
.availability-label { padding-top: 5px; color: #8a754f; font-size: 12px; }
.availability h2 { margin-bottom: 5px; font-size: 23px; }
.availability p { max-width: 760px; margin-bottom: 0; color: #627066; font-size: 14px; line-height: 1.9; }
.site-footer { max-width: 1184px; margin: 0 auto; padding: 34px 0 26px; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; }
.footer-brand { color: var(--archive); font-size: 17px; }
.footer-main > p { margin: 6px 0 0 43px; color: #667268; font-size: 11px; }
.legal-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; font-size: 12px; }
.legal-nav a { color: #4e5f54; }
.copyright { grid-column: 1 / -1; margin: 14px 0 0; color: #7a857c; font-size: 11px; }
.icp-link { color: inherit; text-underline-offset: 3px; }

/* Legal pages are composed only from the approved legal source document. */
.legal-header { min-height: 74px; color: var(--paper); background: var(--binding); }
.legal-main { max-width: 860px; min-height: calc(100vh - 180px); margin: 0 auto; padding: 46px 28px 88px; }
.breadcrumb { margin-bottom: 27px; font-size: 13px; }
.breadcrumb a { color: #52675b; }
.legal-title { padding-bottom: 23px; border-bottom: 1px solid var(--rule); }
.legal-title h1 { margin-bottom: 8px; color: var(--ink); font-size: clamp(34px,5vw,52px); }
.legal-title p { margin: 0; color: var(--muted); font-size: 13px; }
.legal-notice { display: grid; grid-template-columns: 94px 1fr; gap: 18px; margin-top: 25px; padding: 17px 20px; border-left: 3px solid var(--ochre); background: #ebe8de; }
.legal-notice strong { color: #68512f; font-family: var(--title); font-weight: 500; }
.legal-notice p { margin: 0; line-height: 1.85; font-size: 14px; }
.legal-content { padding-top: 15px; }
.legal-content h2 { margin: 30px 0 10px; font-size: 22px; }
.legal-content p { margin-bottom: 12px; line-height: 2; overflow-wrap: anywhere; }
.legal-content ul { padding-left: 1.4em; }
.legal-content li { margin: 5px 0; }
.legal-related { display: flex; flex-wrap: wrap; gap: 12px 22px; padding-top: 23px; border-top: 1px solid var(--rule); }
.legal-footer { border-top: 1px solid var(--rule); }

@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0,.78fr) minmax(470px,1.22fr); gap: 35px; padding-top: 56px; }
  .folio-page { padding-inline: 28px; }
  .approach, .availability, .site-footer { margin-inline: 36px; }
  .family-section { padding-inline: 36px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 72px; padding-inline: 20px; }
  .brand { font-size: 18px; }
  .brand img { width: 33px; height: 33px; }
  .main-nav { gap: 17px; font-size: 12px; }
  .hero { display: block; padding: 43px 20px 50px; }
  .hero-copy { max-width: 580px; padding-bottom: 30px; }
  h1 { font-size: clamp(32px,9.4vw,52px); }
  .hero-intro { font-size: 16px; }
  .folio-wrap { max-width: none; }
  .folio { min-height: 345px; }
  .folio-page { min-height: 295px; }
  .approach { display: block; margin: 0; padding: 68px 20px 72px; }
  .section-heading { max-width: 540px; margin-bottom: 31px; }
  .family-section { grid-template-columns: 1fr; gap: 30px; padding: 56px 20px 62px; }
  .family-diagram { min-height: 235px; max-width: 400px; width: 100%; }
  .family-ring { width: 150px; height: 150px; padding-top: 17px; font-size: 12px; }
  .ring-one { transform: translateX(-50px); }
  .ring-two { transform: translateX(50px); }
  .family-common { width: 72px; height: 72px; font-size: 12px; }
  .family-copy { max-width: 580px; }
  .availability { margin: 0; padding: 39px 20px 44px; grid-template-columns: 55px 1fr; gap: 10px; }
  .site-footer { margin: 0; padding: 26px 20px 23px; grid-template-columns: 1fr; }
  .legal-nav { grid-column: 1; justify-content: flex-start; padding-top: 11px; }
  .copyright { grid-column: 1; margin-top: 5px; }
  .legal-main { padding: 32px 20px 65px; }
  .legal-notice { grid-template-columns: 1fr; gap: 4px; padding: 15px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .hero { display: block; padding-inline: 36px; }
  .hero-copy { max-width: 650px; }
  .folio-wrap { max-width: 760px; margin-left: auto; }
}
@media (max-width: 390px) {
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 11px; }
  .folio-tabs { left: 12px; right: 12px; }
  .folio-tab { font-size: 11px; }
  .folio-page { width: calc(100% - 48px); margin-left: 24px; padding-inline: 18px; }
  .folio-page h2 { font-size: 23px; }
  .folio-page p { font-size: 13px; }
  .folio-notation { left: 18px; right: 18px; }
  .folio-next { right: 11px; font-size: 11px; }
  .availability { grid-template-columns: 1fr; gap: 4px; }
  .family-diagram { min-height: 215px; }
}
@media (max-width: 360px) {
  .site-header { flex-wrap: wrap; padding-block: 12px 9px; }
  .main-nav { width: 100%; justify-content: space-between; gap: 8px; }
  .main-nav a { font-size: 11px; }
  .hero h1 { font-size: clamp(30px,8.9vw,32px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* The book is the site's single expressive motion: a tangible family archive, not a floating card. */
.hero { grid-template-columns: minmax(390px,.84fr) minmax(500px,1.16fr); gap: clamp(30px,4.5vw,68px); }
.hero-copy { max-width: 540px; }
.hero h1 { max-width: 560px; font-size: clamp(42px,3.85vw,56px); line-height: 1.38; letter-spacing: .01em; }
.folio-wrap { max-width: 740px; }
.archive-kicker { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 0 3px 4px; color: #c3d0c6; font-size: 11px; }
.archive-kicker span:last-child { color: #aabbb0; }
.archive-scene { position: relative; min-height: 530px; isolation: isolate; overflow: clip; }
.sound-trail { position: absolute; z-index: -1; inset: 24px -12px 24px -12px; width: calc(100% + 24px); height: calc(100% - 48px); overflow: visible; opacity: .64; }
.sound-trail path { fill: none; stroke-linecap: round; }
.sound-trail-back { stroke: #54786a; stroke-width: 15; opacity: .12; filter: blur(5px); }
.sound-trail-front { stroke: #c9ad78; stroke-width: 1.5; stroke-dasharray: 10 13; animation: archive-signal 15s linear infinite; }
.archive-stage { position: relative; min-height: 440px; display: grid; place-items: center; perspective: 1500px; perspective-origin: 48% 45%; }
.book-shadow { position: absolute; left: 19%; right: 9%; bottom: 27px; height: 40px; border-radius: 50%; background: #07140f; filter: blur(19px); opacity: .55; transform: rotate(-7deg); }
.archive-book { --book-width: 315px; --book-height: 416px; --tilt-x: 3deg; --tilt-y: -20deg; width: var(--book-width); height: var(--book-height); position: relative; transform-style: preserve-3d; transform: rotateX(calc(var(--tilt-x) + var(--pointer-x, 0deg))) rotateY(calc(var(--tilt-y) + var(--pointer-y, 0deg))); transition: transform 480ms cubic-bezier(.2,.75,.25,1); }
.book-back, .book-page-block, .book-cover, .book-spine { position: absolute; inset: 0; transform-style: preserve-3d; }
.book-back { transform: translateZ(-13px); background: #142c26; border: 1px solid #b08c53; box-shadow: inset 0 0 0 7px #1e3c33; }
.book-page-block { inset: 7px -7px 7px 10px; transform: translateZ(1px); background: repeating-linear-gradient(180deg,#eeece2 0 2px,#d5d5ca 2px 3px); box-shadow: 7px 2px 10px #101b1770; }
.sample-page { position: absolute; inset: 15px 14px 15px 20px; display: flex; flex-direction: column; padding: 31px 27px 19px; color: #284038; background: #f4f1ea; }
.sample-page-label { width: max-content; margin-bottom: 25px; color: #86683c; font: 13px/1.3 var(--title); }
.sample-page-rule { display: block; height: 1px; width: 76%; margin: 0 0 13px; background: #cbd0c4; }
.sample-page-rule.rule-long { width: 100%; }
.sample-page-rule.rule-short { width: 51%; margin-top: 14px; }
.page-wave { width: 100%; max-width: 270px; height: 72px; margin: 13px 0 15px; overflow: visible; }
.page-wave path { fill: none; stroke: #9a7745; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 370; animation: page-current 12s ease-in-out infinite alternate; }
.sample-page-foot { margin-top: auto; color: #778078; font-size: 10px; letter-spacing: .04em; }
.book-spine { inset: 0 auto 0 0; width: 30px; transform: translateX(-30px) rotateY(-90deg); transform-origin: right center; background: linear-gradient(90deg,#17332b,#315247 50%,#19372f); box-shadow: inset 0 0 0 1px #a0804d; }
.book-spine span { display: block; position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: grid; place-items: center; color: #d8c39b; font: 12px/1.4 var(--title); writing-mode: vertical-rl; letter-spacing: .23em; }
.book-cover { z-index: 3; transform-origin: left center; transform: translateZ(20px); border: 1px solid #ad8b56; background: linear-gradient(125deg,#28483e,#1e3b33 57%,#29483e); box-shadow: inset 0 0 0 9px #244238, inset 0 0 0 10px #95784c, 12px 9px 13px #0c171370; backface-visibility: visible; transition: transform 760ms cubic-bezier(.18,.75,.2,1), box-shadow 760ms ease; }
.book-cover::after { content: ""; position: absolute; inset: 18px; border: 1px solid #ffffff26; pointer-events: none; }
.cover-mark, .cover-rule, .cover-title, .cover-subtitle, .cover-wave, .cover-foot { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; backface-visibility: hidden; }
.cover-inside { position: absolute; inset: 28px; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #e5d9bd; transform: rotateY(180deg) translateZ(1px); backface-visibility: hidden; }
.cover-inside span { font: 500 22px/1.4 var(--title); letter-spacing: .12em; }
.cover-inside i { width: 34px; height: 1px; background: #bda36f; }
.cover-inside small { max-width: 130px; color: #bdc8be; text-align: center; font-size: 9px; line-height: 1.7; white-space: normal; }
.cover-mark { top: 51px; opacity: .92; }
.cover-rule { top: 118px; width: 38px; height: 1px; background: #bda36f; }
.cover-title { top: 150px; color: #f1e8d5; font: 500 35px/1.3 var(--title); letter-spacing: .1em; }
.cover-subtitle { top: 202px; color: #cfcebd; font-size: 12px; letter-spacing: .08em; }
.cover-wave { top: 265px; height: 34px; display: flex; align-items: center; gap: 5px; }
.cover-wave i { display: block; width: 1px; height: 7px; background: #c6aa73; opacity: .85; transform-origin: center; animation: cover-signal 2.4s ease-in-out infinite alternate; }
.cover-wave i:nth-child(3n) { height: 16px; animation-delay: -.8s; }
.cover-wave i:nth-child(4n) { height: 25px; animation-delay: -.35s; }
.cover-wave i:nth-child(5n) { height: 11px; animation-delay: -1.2s; }
.cover-foot { bottom: 53px; color: #b5c0b6; font-size: 10px; letter-spacing: .18em; }
.archive-book[data-open="true"] .book-cover { transform: translateZ(20px) rotateY(-157deg); box-shadow: inset 0 0 0 9px #244238, inset 0 0 0 10px #95784c, -6px 9px 10px #0c171360; }
.archive-book[data-open="true"] { --tilt-y: -12deg; transform: translateX(140px) rotateX(calc(var(--tilt-x) + var(--pointer-x, 0deg))) rotateY(calc(var(--tilt-y) + var(--pointer-y, 0deg))); }
.archive-book.pointer-left { --pointer-y: -3deg; }
.archive-book.pointer-right { --pointer-y: 3deg; }
.archive-book.pointer-high { --pointer-x: -2deg; }
.archive-book.pointer-low { --pointer-x: 2deg; }
.archive-controls { position: relative; z-index: 4; display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: -1px; }
.book-toggle, .motion-toggle { min-height: 46px; border: 1px solid #c5cbbb; padding: 9px 18px; color: #e7ece6; background: #24443b; cursor: pointer; font-size: 13px; }
.book-toggle { min-width: 154px; border-color: #cfb27c; color: #20372f; background: #e5d4b4; }
.book-toggle:hover { background: #f1dfbd; }
.motion-toggle { color: #dbe4dc; background: #18332e; }
.motion-toggle:hover { border-color: #d7bd8f; color: #fff1d4; }
.archive-caption { max-width: 490px; margin: 11px auto 0; color: #b7c5ba; text-align: center; font-size: 12px; line-height: 1.7; }
.archive-scene.motion-paused *, .archive-scene.motion-paused *::before, .archive-scene.motion-paused *::after { animation-play-state: paused !important; }
.folio { min-height: 0; margin-top: 0; padding-top: 48px; box-shadow: 0 13px 32px #0e211d37; }
.folio-page { min-height: 256px; padding-bottom: 66px; }
.folio-next { bottom: 14px; }
.folio-notation { bottom: 19px; }
.folio-spine { display: none; }
.process-mark { border-radius: 2px; }
@keyframes archive-signal { to { stroke-dashoffset: -184; } }
@keyframes page-current { to { stroke-dashoffset: 190; opacity: .55; } }
@keyframes cover-signal { to { transform: scaleY(.48); opacity: .52; } }

@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(340px,.8fr) minmax(400px,1.2fr); gap: 32px; }
  .archive-book { --book-width: 280px; --book-height: 380px; }
  .archive-stage { min-height: 400px; }
  .archive-scene { min-height: 490px; }
}
@media (max-width: 900px) {
  .hero { display: block; padding-inline: 36px; }
  .hero-copy { max-width: 680px; }
  .hero h1 { font-size: clamp(42px,7.6vw,56px); }
  .folio-wrap { max-width: 690px; margin-left: auto; }
}
@media (max-width: 760px) {
  .hero { padding: 43px 20px 50px; }
  .hero h1 { max-width: 500px; font-size: clamp(35px,9.2vw,52px); line-height: 1.38; }
  .archive-kicker { align-items: flex-start; font-size: 10px; }
  .archive-kicker span:last-child { text-align: right; }
  .archive-scene { min-height: 482px; margin-inline: -6px; }
  .archive-stage { min-height: 370px; perspective: 1150px; }
  .archive-book { --book-width: min(66vw, 270px); --book-height: min(87vw, 355px); --tilt-x: 2deg; --tilt-y: -14deg; }
  .archive-book[data-open="true"] { translate: 48px 0; transform: scale(.9) rotateX(calc(var(--tilt-x) + var(--pointer-x, 0deg))) rotateY(calc(var(--tilt-y) + var(--pointer-y, 0deg))); }
  .archive-book[data-open="true"] .book-cover { transform: translateZ(20px) rotateY(-112deg); }
  .sample-page { padding: 25px 20px 16px; }
  .book-shadow { left: 12%; right: 6%; bottom: 20px; }
  .sound-trail { inset: 12px -15px 20px; width: calc(100% + 30px); height: calc(100% - 32px); opacity: .4; }
  .archive-controls { gap: 10px; }
  .book-toggle, .motion-toggle { min-height: 48px; padding-inline: 15px; font-size: 12px; }
  .archive-caption { padding-inline: 12px; font-size: 11px; }
  .folio { margin-inline: 0; }
  .folio-page { min-height: 276px; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: clamp(30px,8.9vw,32px); }
  .archive-scene { min-height: 450px; }
  .archive-stage { min-height: 340px; }
  .archive-book { --book-width: 232px; --book-height: 315px; --tilt-x: 2deg; --tilt-y: -12deg; }
  .archive-book[data-open="true"] { translate: 42px 0; transform: scale(.82) rotateX(calc(var(--tilt-x) + var(--pointer-x, 0deg))) rotateY(calc(var(--tilt-y) + var(--pointer-y, 0deg))); }
  .archive-book[data-open="true"] .book-cover { transform: translateZ(20px) rotateY(-106deg); }
  .cover-mark { top: 36px; }
  .cover-rule { top: 94px; }
  .cover-title { top: 122px; font-size: 27px; }
  .cover-subtitle { top: 164px; font-size: 10px; }
  .cover-wave { top: 214px; transform: translateX(-50%) scale(.82); }
  .cover-foot { bottom: 40px; }
  .book-toggle { min-width: 140px; }
  .motion-toggle { padding-inline: 11px; }
}
@media (max-width: 340px) {
  .archive-book { --book-width: 210px; --book-height: 290px; }
  .archive-book[data-open="true"] { translate: 32px 0; transform: scale(.75) rotateX(calc(var(--tilt-x) + var(--pointer-x, 0deg))) rotateY(calc(var(--tilt-y) + var(--pointer-y, 0deg))); }
  .archive-book[data-open="true"] .book-cover { transform: translateZ(20px) rotateY(-104deg); }
  .archive-controls { gap: 7px; }
  .book-toggle { min-width: 130px; }
  .motion-toggle { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .sound-trail-front, .page-wave path, .cover-wave i { animation: none !important; }
  .archive-book, .book-cover { transition: none !important; }
}
