@font-face{font-family:Noto Site Sans;src:url('/assets/noto-sans.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Noto Site Serif;src:url('/assets/noto-serif.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
:root {
  color-scheme: light;
  --paper:#f7f2e8;
  --panel:#eee5d5;
  --red:#8b2f24;
  --ink:#29241f;
  --muted:#64564b;
  --line:#d9ceba;
  --serif:"Noto Site Serif","Songti SC","STSong",serif;
  --sans:"Noto Site Sans","PingFang SC","Microsoft YaHei",sans-serif;
}
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.65 var(--sans); }
h1,h2,h3 { font-family:var(--serif); font-weight:500; line-height:1.24; margin:0; }
p { margin:0; }
a { color:inherit; text-decoration:none; }
button,input,textarea { font:inherit; color:inherit; }
button { cursor:pointer; }
button:disabled { cursor:default; }
img { display:block; }
[hidden] { display:none!important; }
:focus-visible { outline:2px solid var(--red); outline-offset:4px; }
.sr-only,.skip-link:not(:focus) { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip-link:focus { position:fixed; left:16px; top:10px; padding:8px 12px; z-index:3; background:var(--paper); }
.wrap { max-width:1240px; width:90%; margin-inline:auto; }
.brand { color:var(--red); font:500 23px/1.25 var(--serif); white-space:nowrap; }
.brand small { display:inline-block; margin-left:8px; font:400 10px/1.3 var(--sans); color:var(--muted); }
.eyebrow { color:var(--red); font-size:13px; }
.button { display:inline-flex; min-height:52px; padding:11px 23px; align-items:center; justify-content:center; gap:10px; text-align:center; border-radius:999px; border:1px solid transparent; line-height:1.4; transition:background .2s,color .2s,border-color .2s; }
.button img { flex:none; }
.primary { background:var(--red); color:var(--paper); }
.primary:hover { background:#872318; }
.secondary { border-color:var(--line); background:transparent; }
.secondary:hover { border-color:var(--red); color:var(--red); }
.text-link { color:var(--red); background:none; border:0; padding:0; }
.text-link:hover,.foot-links a:hover,.desktop-nav a:not(.button):hover { text-decoration:underline; text-underline-offset:4px; }
.site-head { position:relative; background:#fbf7ef; border-bottom:1px solid var(--line); }
.head-inner { min-height:79px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.head-inner .brand { display:inline-flex; align-items:center; gap:11px; }
.head-inner .brand img { border-radius:8px; }
.head-inner .brand small { display:block; margin:3px 0 0; letter-spacing:.16em; }
.desktop-nav { display:flex; align-items:center; gap:clamp(18px,2.5vw,38px); font-size:14px; }
.desktop-nav .button { min-height:43px; padding:10px 15px; }
.mobile-nav,.mobile-listen,.echo-cta { display:none; }
.hero { display:grid; grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr); align-items:center; gap:3%; min-height:clamp(520px,45vw,668px); padding-block:52px 55px; }
.hero-eyebrow { display:flex; gap:10px; align-items:center; letter-spacing:.09em; }
.hero-eyebrow span { width:22px; height:1px; background:currentColor; }
.hero h1 { font-size:clamp(49px,6vw,86px); line-height:1.15; letter-spacing:-.06em; margin:20px 0 22px; }
.hero h1 em { color:var(--red); font-style:normal; }
.hero-intro { color:var(--muted); line-height:1.85; }
.hero-actions { display:flex; flex-wrap:wrap; gap:11px; margin-top:27px; }
.hero-demo { width:100%; min-width:0; }
.hero-stack { display:grid; place-items:center; aspect-ratio:1.57; }
[data-finish="deng"] { --base:#792e26; --reverse:#2c1e1a; --card-ink:#fff2da; --etch:#ead0aa; }
[data-finish="ling"] { --base:#704827; --reverse:#2b2319; --card-ink:#fff3d9; --etch:#eed5a6; }
[data-finish="shou"] { --base:#264d44; --reverse:#1b2c26; --card-ink:#fcf3dd; --etch:#e5d9ac; }
.card-flip {
  position:relative; width:89%; aspect-ratio:85.6/54; padding:0;
  background:none; border:0; border-radius:15px; text-align:left;
}
.card-side { position:absolute; inset:0; display:block; animation:show-card .16s ease-out; }
@keyframes show-card { from { opacity:.75; } to { opacity:1; } }
.card-face,.card-back {
  position:relative; display:block; width:100%; aspect-ratio:85.6/54; container-type:inline-size;
  overflow:hidden; border-radius:clamp(10px,1.35vw,19px); border:1px solid var(--base); isolation:isolate;
}
.card-face { color:var(--card-ink); background:var(--base); }
.card-face::before {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:url('/assets/foil.webp') center / cover;
  mix-blend-mode:screen; opacity:.21;
}
[data-finish="ling"].card-face::before { transform:scaleX(-1); }
[data-finish="shou"].card-face::before { transform:rotate(180deg); }
.card-brand,.card-series,.card-caption,.card-origin { position:absolute; line-height:1.15; }
.card-brand { left:7.5%; top:13%; font:500 3.75cqw/1.2 var(--serif); }
.card-series { right:7.5%; top:13.5%; font-size:2.7cqw; letter-spacing:.12em; }
.paper-art { position:absolute; left:42%; top:25%; width:52.5%; aspect-ratio:257.79/184.136; }
.art-piece { position:absolute; display:block; inset:var(--inset); }
.art-piece img { width:100%; height:100%; }
.card-caption { left:7.5%; top:52%; font:500 7.7cqw/1.15 var(--serif); letter-spacing:-.025em; white-space:nowrap; }
.card-origin { left:7.6%; top:73%; font-size:2.8cqw; letter-spacing:.045em; }
.card-back {
  color:#f3e8d7; background:var(--reverse);
  border-color:color-mix(in srgb,var(--etch) 28%,var(--reverse));
}
.back-top {
  position:absolute; inset:11% 7.5% auto; display:flex; justify-content:space-between; align-items:center;
  padding-bottom:3.8cqw; border-bottom:1px solid color-mix(in srgb,var(--etch) 25%,transparent);
  font-size:3.65cqw; color:var(--etch);
}
.back-top span:last-child { font-size:2.7cqw; letter-spacing:.12em; }
.back-content { position:absolute; left:7.5%; right:35%; top:39%; display:grid; gap:2.1cqw; }
.back-word {
  color:var(--etch); font:500 7.5cqw/1.15 var(--serif); letter-spacing:.015em;
  text-shadow:0 -1px 0 #060806,0 1px 0 #ffeec04a;
}
.back-definition { font-size:3.7cqw; line-height:1.45; }
.back-credit { margin-top:1.1cqw; font-size:2.7cqw; color:#cabca7; }
.back-qr {
  position:absolute; width:23%; right:7.5%; bottom:10%; text-align:center; line-height:1.3;
  display:grid; gap:1.35cqw; font-size:3cqw; color:var(--etch);
}
.back-qr img { width:100%; height:auto; aspect-ratio:1; border-radius:5%; background:#fff; }
.flip-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; width:89%; margin:6px auto 0; }
.card-choices,.segmented { display:flex; border:1px solid var(--line); border-radius:999px; padding:3px; background:#fbf7ef; gap:3px; }
.card-choices button,.segmented button { min-height:44px; min-width:44px; padding:5px 14px; border:0; border-radius:999px; background:none; font-size:13px; white-space:nowrap; }
.card-choices button { display:flex; align-items:center; gap:6px; }
.card-choices button[aria-pressed="true"] { background:#ede4d3; font-weight:600; }
.segmented button[aria-pressed="true"] { color:#faf2e5; background:var(--ink); }
.card-choices button:not([aria-pressed="true"]):hover,.segmented button:not([aria-pressed="true"]):hover { background:#eee6d8; }
.finish-dot { width:9px; height:9px; border-radius:50%; background:var(--base); }
.collection { border-top:1px solid var(--line); background:#fbf7ef; padding:clamp(50px,5.2vw,74px) 0 clamp(55px,6.5vw,95px); }
.section-heading { margin:15px 0 35px; display:flex; align-items:baseline; justify-content:space-between; gap:20px; }
.section-heading h2,.experience h2 { font-size:clamp(32px,3.45vw,50px); letter-spacing:-.04em; }
.section-heading p,.gallery p { color:var(--muted); font-size:14px; }
.gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(14px,3vw,42px); }
.gallery-visual { display:block; border-radius:clamp(10px,1.35vw,19px); }
.gallery-visual:hover { outline:1px solid var(--red); outline-offset:3px; }
.gallery-body { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-top:16px; padding-top:7px; border-top:1px solid var(--line); }
.gallery-body .text-link { display:inline-flex; align-items:center; min-height:44px; flex:none; font-size:13px; }
.collection-note { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; margin-top:30px; color:var(--muted); font-size:12px; }
.experience { padding:clamp(46px,5vw,74px) 0 clamp(55px,6.8vw,100px); background:var(--panel); }
.experience ol { list-style:none; margin:30px 0 0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(20px,3.4vw,48px); }
.experience li { border-top:1px solid var(--line); padding-top:13px; }
.experience li div { display:flex; justify-content:space-between; gap:10px; align-items:baseline; }
.experience li span { color:var(--red); font-size:13px; }
.experience li h3 { font-size:clamp(19px,2vw,26px); }
.experience li p { color:var(--muted); margin-top:14px; font-size:14px; }
.echo-banner { background:#783229; color:var(--paper); }
.echo-inner { display:grid; grid-template-columns:1fr 1fr; gap:3%; align-items:center; padding-block:clamp(68px,8vw,115px); }
.echo-inner h2 { font-size:clamp(38px,4vw,58px); margin:19px 0; }
.echo-inner .eyebrow,.echo-inner p:last-child { color:var(--paper); }
.home-echo-input { display:flex; min-height:62px; border-radius:10px; background:var(--paper); color:var(--ink); }
.home-echo-input input { flex:1; min-width:0; background:none; border:0; padding:12px 16px; }
.home-echo-input button { background:none; border:0; color:var(--red); padding:8px 16px; white-space:nowrap; }
.home-echo-input button:hover { text-decoration:underline; }
.suggestions { display:flex; flex-wrap:wrap; gap:9px; margin-block:12px; }
.suggestions button { min-height:44px; border:1px solid var(--line); border-radius:999px; padding:5px 12px; background:transparent; color:var(--muted); font-size:14px; }
.suggestions button:hover { color:var(--red); border-color:var(--red); }
.home-echo-form .suggestions button { color:var(--paper); border-color:#f8f4ea91; }
.home-echo-form .suggestions button:hover { background:#f8f4ea21; }
.echo-banner :focus-visible { outline-color:var(--paper); }
.home-echo-input :focus-visible { outline-color:var(--ink); outline-offset:-3px; }
.site-foot { color:var(--muted); padding:40px 0 46px; font-size:13px; }
.foot-content { display:flex; justify-content:space-between; align-items:start; flex-wrap:wrap; gap:20px; }
.foot-content p { margin-top:8px; }
.foot-links { display:grid; gap:5px; }

.inner-page { width:min(90%,1050px); margin-inline:auto; }
.subnav { min-height:84px; border-bottom:1px solid var(--line); display:grid; grid-template-columns:1fr auto 1fr; align-items:center; margin-bottom:32px; gap:12px; }
.subnav .brand { font-size:20px; }
.subnav .back-link { display:grid; place-items:center; width:44px; min-height:44px; margin-left:-10px; }
.subnav-right { text-align:right; color:var(--muted); font-size:14px; }
.subnav-right a:hover { color:var(--red); }
.listen-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(32px,6vw,86px); padding-bottom:65px; }
.track-heading { margin:24px 0 19px; }
.track-heading h1 { font-size:clamp(32px,4vw,48px); }
.track-heading p { margin-top:5px; color:var(--muted); font-size:14px; }
.player { display:grid; }
.player-label,.time-row { display:flex; justify-content:space-between; gap:10px; color:var(--muted); font-size:13px; }
.player-label span:first-child { color:var(--red); }
#seek {
  width:100%; margin:9px 0 0; height:24px; --progress:0%; appearance:none; background:transparent; cursor:pointer;
}
#seek:disabled { cursor:default; }
#seek::-webkit-slider-runnable-track { background:linear-gradient(to right,var(--red) var(--progress),var(--line) var(--progress)); height:3px; }
#seek::-moz-range-track { background:linear-gradient(to right,var(--red) var(--progress),var(--line) var(--progress)); height:3px; }
#seek::-webkit-slider-thumb { appearance:none; width:12px; height:12px; margin-top:-4.5px; border-radius:50%; background:var(--red); border:0; }
#seek::-moz-range-thumb { width:12px; height:12px; border-radius:50%; background:var(--red); border:0; }
#seek:disabled::-webkit-slider-thumb { opacity:.5; }
.player-controls { display:flex; justify-content:space-evenly; align-items:center; gap:4px; margin:19px 0; }
.icon-button,.main-play { display:inline-grid; place-items:center; border:0; padding:0; background:none; width:44px; height:44px; min-width:44px; font-size:14px; }
.icon-button:disabled { opacity:.38; }
.icon-button:not(:disabled):hover { background:var(--panel); }
.main-play { width:64px; height:64px; border-radius:50%; background:var(--red); color:var(--paper); }
.main-play:hover { background:#872318; }
.play-symbol { width:0; height:0; border:10px solid transparent; border-right:0; border-left:16px solid currentColor; margin-left:4px; }
.main-play.is-playing .play-symbol { margin-left:0; width:15px; height:18px; border:0; border-inline:5px solid currentColor; }
.main-play[aria-busy="true"] .play-symbol { margin-left:0; width:18px; height:18px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:spin .75s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.audio-status,.audio-error { border-radius:8px; padding:12px 14px; background:var(--panel); color:var(--muted); font-size:13px; }
.audio-error { margin-top:10px; }
.audio-error p { font:500 19px/1.4 var(--serif); color:var(--red); }
.audio-error div { display:flex; flex-wrap:wrap; margin-top:12px; gap:8px; }
.audio-error .button { flex:1; min-width:125px; min-height:44px; padding:8px 12px; }
.verse { border-top:1px solid var(--line); padding-top:24px; }
.verse-text { font:500 clamp(26px,3vw,39px)/1.55 var(--serif); margin:14px 0 10px; }
.annotations { font-size:13px; color:var(--muted); }
.meaning { margin-top:20px; font-size:15px; }
.meaning strong { font-weight:400; }
.word { display:flex; border-radius:9px; align-items:baseline; gap:14px; margin-top:14px; padding:14px 16px; background:var(--panel); }
.word strong { font:500 18px/1.4 var(--serif); white-space:nowrap; color:var(--red); }
.word p { font-size:14px; color:var(--muted); }
.meaning-reveal { border-radius:9px; margin-top:14px; padding:11px 13px; border:1px solid var(--line); font-size:14px; }
.meaning-reveal summary { cursor:pointer; color:var(--red); }
.meaning-reveal p { margin-top:8px; }
.meaning-reveal a { display:inline-block; margin-top:8px; }
.source { border-top:1px solid var(--line); margin-top:24px; padding-top:25px; }
.source h2 { font-size:24px; }
.source p { margin:10px 0 9px; color:var(--muted); font-size:13px; }
.source a,.listen-links { font-size:14px; }
.listen-links { margin-top:26px; display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; }
.listen-links input { max-width:100%; padding:4px; }

.find-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; gap:clamp(38px,7vw,110px); margin-top:52px; padding-bottom:65px; }
.find-layout h1 { font-size:clamp(47px,5vw,72px); line-height:1.3; margin:20px 0; }
.find-intro { color:var(--muted); margin-bottom:23px; }
.mood-field { border-radius:12px; padding:13px 15px 10px; border:1px solid var(--line); background:#fffcf6; }
.mood-field:focus-within { outline:2px solid var(--red); outline-offset:1px; }
.mood-field textarea { width:100%; padding:0; border:0; resize:vertical; background:none; font-size:17px; }
.mood-field textarea:focus-visible { outline:0; }
.mood-field > div { display:flex; align-items:baseline; justify-content:space-between; color:var(--muted); gap:8px; font-size:12px; }
.find-entry .suggestions { justify-content:space-between; gap:6px; }
.find-submit { width:100%; }
.match-note { color:var(--muted); margin-top:11px; font-size:13px; }
.find-result { border:1px solid var(--line); border-radius:17px; padding:clamp(18px,3vw,30px); background:var(--panel); }
.result-placeholder { color:var(--muted); margin-bottom:12px; }
.result-header { margin-bottom:16px; }
.find-result h2 { font-size:clamp(24px,2.6vw,32px); margin:15px 0; }
.matched-verse { font:500 clamp(22px,2.35vw,30px)/1.5 var(--serif); padding-block:2px 17px; }
.match-reason { color:var(--muted); margin:5px 0 18px; overflow-wrap:anywhere; }
.manual-list { margin-top:20px; display:grid; gap:0; }
.manual-list h3 { font-size:21px; margin-bottom:8px; }
.manual-list a { display:flex; align-items:center; justify-content:space-between; min-height:44px; gap:10px; font-size:14px; }
.manual-list a + a { border-top:1px solid var(--line); }
.manual-list a span:last-child { color:var(--red); }
.manual-list a:hover { color:var(--red); }
@media (max-width:960px) {
  .desktop-nav { gap:14px; }
  .head-inner .brand small { display:none; }
  .hero { min-height:505px; }
  .hero-actions .button { padding-inline:13px; }
  .flip-controls { width:96%; }
  .card-choices button,.segmented button { padding-inline:9px; }
}
@media (max-width:700px) {
  .wrap,.inner-page { width:calc(100% - 36px); max-width:470px; }
  .site-head { border-bottom:0; }
  .head-inner { min-height:65px; border-bottom:1px solid var(--line); }
  .head-inner .brand { gap:8px; }
  .head-inner .brand img { width:28px; height:28px; }
  .brand { font-size:19px; }
  .mobile-nav { display:block; position:relative; z-index:1; font-size:14px; }
  .mobile-nav summary { display:flex; align-items:center; gap:6px; list-style:none; cursor:pointer; min-height:44px; padding-inline:6px; }
  .mobile-nav summary::-webkit-details-marker { display:none; }
  .mobile-nav nav { position:absolute; right:0; top:46px; width:max-content; display:grid; background:var(--paper); border:1px solid var(--line); border-radius:10px; box-shadow:0 6px 18px #2d302916; }
  .mobile-nav nav a { display:block; padding:11px 18px; }
  .mobile-nav nav a:hover { background:var(--panel); }
  .desktop-nav,.hero-actions,.home-echo-form { display:none; }
  .hero { display:block; min-height:0; padding-block:25px 34px; }
  .hero h1 { font-size:clamp(41px,9.8vw,56px); margin:12px 0; }
  .hero .eyebrow { font-size:12px; }
  .hero-intro { font-size:14px; }
  .hero-demo { margin-top:15px; }
  .hero-stack { aspect-ratio:1.52; }
  .card-flip { width:96%; }
  .flip-controls { width:96%; margin-top:9px; }
  .mobile-listen { display:flex; width:100%; margin-top:13px; }
  .collection { border-top:1px solid var(--line); padding:28px 0 30px; }
  .section-heading { display:block; margin:11px 0 20px; }
  .section-heading p { margin-top:6px; }
  .section-heading h2,.experience h2 { font-size:30px; }
  .gallery { display:grid; grid-template-columns:1fr; gap:22px; }
  .gallery-item { display:grid; grid-template-columns:minmax(0,1fr); }
  .gallery-body { margin-top:8px; padding-top:0; border-top:0; }
  .gallery p { font-size:14px; }
  .collection-note { margin-top:21px; display:grid; }
  .experience { padding:26px 0 30px; }
  .experience ol { grid-template-columns:1fr; margin-top:16px; gap:14px; }
  .experience li { border:0; padding:0; display:grid; grid-template-columns:31px 1fr; }
  .experience li div { display:contents; }
  .experience li h3 { font-size:18px; }
  .experience li p { grid-column:2; margin-top:3px; }
  .echo-inner { display:block; padding:27px 0; }
  .echo-inner h2 { font-size:35px; margin:11px 0; }
  .echo-inner p:last-child { font-size:14px; }
  .echo-cta { display:flex; margin-top:17px; width:100%; color:var(--red); background:var(--paper); }
  .site-foot { padding:27px 0; }
  .foot-content { display:grid; gap:12px; }
  .foot-links { gap:9px; }
  .subnav { min-height:63px; margin-bottom:15px; border:0; }
  .subnav .brand { font-size:17px; }
  .subnav-right { font-size:13px; }
  .listen-layout,.find-layout { grid-template-columns:1fr; gap:25px; }
  .find-layout { margin-top:18px; }
  .find-layout h1 { margin:21px 0 14px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; }
}
