/* QIYUAN — "handscroll" world.
   Ground: Song celadon mist, not cream. Ink: pine-black. Accent: bronze patina.
   Seal red only on the seal itself. One Latin family (EB Garamond) + Noto Serif SC. */
:root {
  --ground: #e3e8e2;
  --ground-2: #d4ddd5;
  --paper: #eef1ec;
  --ink: #1d2622;
  --ink-2: #3f4a45;
  --mute: #5b6761;
  --line: #b4c0b8;
  --celadon: #7f9d90;
  --bronze: #7d6038;
  --seal: #a23b2c;
  --pine: #1c2925;
  --pine-2: #26352f;
  --on-pine: #e3e8e2;
  --on-pine-2: #b7c4bc;
  --serif: "EB Garamond", "Noto Serif SC", Georgia, serif;
  --zh: "Noto Serif SC", "Songti SC", serif;
  --max: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--ground); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1000; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .45 0 0 0 0 .42 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }
::selection { background: var(--celadon); color: #fff; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
.zh { font-family: var(--zh); font-weight: 400; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 48px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(46px, 6.4vw, 92px); }
h2 { font-size: clamp(34px, 4.2vw, 58px); }
h3 { font-size: clamp(26px, 2.4vw, 34px); }
h4 { font-size: 23px; }
p { text-wrap: pretty; }
p.lede { font-size: clamp(20px, 1.7vw, 23px); line-height: 1.55; color: var(--ink-2); max-width: 38em; }
em { font-style: italic; }

/* small labels: quiet, sentence case, never tracked caps */
.eyebrow { font-family: var(--zh); font-size: 15px; letter-spacing: .12em; color: var(--bronze); font-weight: 400; }
.seal { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--seal); color: #f3ece0; font-family: var(--zh); font-size: 14px; line-height: 1; border-radius: 3px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.14); }
.seal.lg { width: 58px; height: 58px; font-size: 22px; line-height: 1.1; padding: 4px; text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; font-size: 17px; border: 1px solid var(--ink); border-radius: 2px; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.btn:hover { background: var(--ink); color: var(--ground); }
.btn.solid { background: var(--pine); border-color: var(--pine); color: var(--on-pine); }
.btn.solid:hover { background: var(--bronze); border-color: var(--bronze); }
.btn.light { border-color: rgba(227,232,226,.6); color: var(--on-pine); }
.btn.light:hover { background: var(--on-pine); color: var(--pine); }
.link { font-size: 17px; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .3s; }
.link:hover { color: var(--bronze); }

/* header */
.topbar { background: var(--pine); color: var(--on-pine-2); font-size: 14px; text-align: center; padding: 8px 16px; }
header.site { position: sticky; top: 0; z-index: 50; background: rgba(227,232,226,.9); backdrop-filter: saturate(1.2) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
header.site.scrolled { border-color: var(--line); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 74px; }
.nav-links { display: flex; gap: 30px; font-size: 17px; }
.nav-links a { position: relative; padding: 4px 0; color: var(--ink-2); transition: color .3s; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-links a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo .word { font-family: var(--serif); font-size: 25px; letter-spacing: .28em; margin-right: -.28em; }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; font-size: 16px; color: var(--ink-2); }
.cur select { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
.lang { font-family: var(--zh); font-size: 14px; border: 1px solid var(--line); padding: 4px 10px; border-radius: 2px; }
.lang:hover { border-color: var(--ink); color: var(--ink); }
.bag { display: flex; align-items: center; gap: 8px; }
.bag .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: var(--pine); color: var(--on-pine); font-size: 12px; }
.burger { display: none; }

/* ---------- the handscroll (home hero) ---------- */
.scroll-hero { padding: 0; position: relative; background: var(--ground); }
.scroll-intro { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; padding-top: 56px; padding-bottom: 28px; }
.scroll-intro h1 { max-width: 12ch; }
.scroll-intro p { max-width: 30em; color: var(--ink-2); margin-top: 18px; font-size: 20px; }
.scroll-intro .hint { font-size: 15px; color: var(--mute); text-align: right; }
.scroll-intro .hint b { font-weight: 400; color: var(--ink); }
.scroll-frame { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #d9e0d9; }
.scroll-frame::before, .scroll-frame::after { content: ""; position: absolute; top: 0; bottom: 0; width: 22px; z-index: 3; pointer-events: none; background: linear-gradient(90deg, #6d5534, #a3855a 45%, #5c4628); box-shadow: 0 0 24px rgba(30,25,15,.35); }
.scroll-frame::before { left: 0; border-radius: 0 3px 3px 0; }
.scroll-frame::after { right: 0; border-radius: 3px 0 0 3px; }
.scroller { overflow-x: auto; overflow-y: hidden; cursor: grab; scrollbar-width: none; overscroll-behavior-x: contain; }
.scroller::-webkit-scrollbar { display: none; }
.scroller.drag { cursor: grabbing; }
.scroll-track { position: relative; width: 4200px; height: min(66vh, 620px); min-height: 460px; }
.scroll-track > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.station { position: absolute; top: 9%; width: 330px; color: var(--ink); }
.station .zh-v { position: absolute; left: -54px; top: 0; writing-mode: vertical-rl; font-family: var(--zh); font-size: 22px; letter-spacing: .4em; color: var(--ink); }
.station h3 { font-size: 34px; margin-bottom: 10px; }
.station p { font-size: 17px; color: var(--ink-2); margin-bottom: 14px; max-width: 26em; }
.station .seal { position: absolute; right: -14px; top: -6px; transform: rotate(-3deg); }
.station.colophon { top: 12%; width: 380px; }
.station.colophon h2 { font-family: var(--zh); font-size: 84px; letter-spacing: .12em; line-height: 1; }
.station.colophon p { font-size: 21px; }
.scroll-progress { position: relative; height: 2px; background: var(--line); margin-top: 18px; }
.scroll-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--bronze); }
.scroll-nav { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 18px; font-size: 16px; color: var(--mute); padding-bottom: 8px; }
.scroll-nav button { color: var(--mute); transition: color .3s; }
.scroll-nav button:hover, .scroll-nav button.on { color: var(--ink); }
.scroll-nav button .zh { margin-right: 6px; color: var(--bronze); }

section { padding: 130px 0; }
.center { text-align: center; }

/* idea */
.philo .grid2 { display: grid; grid-template-columns: 200px 1fr; gap: 60px; align-items: start; }
.philo .big-zh { font-family: var(--zh); font-size: 168px; line-height: .9; color: var(--ink); writing-mode: vertical-rl; }
.philo .lede { margin-top: 0; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.5; color: var(--ink); max-width: 30em; }
.philo .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 70px; padding-top: 34px; border-top: 1px solid var(--line); }
.philo .pillars div { background: none; padding: 0; }
.philo .pillars .zh { font-size: 34px; color: var(--bronze); display: block; line-height: 1; }
.philo .pillars h4 { margin: 14px 0 8px; }
.philo .pillars p { color: var(--ink-2); font-size: 17px; }

.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; }
.sec-head h2 { max-width: 16ch; margin-top: 10px; }

/* sanctuary teaser (home): editorial rows */
.sanct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.sanct-card { display: block; color: var(--ink); }
.sanct-card .bg { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
.sanct-card .bg svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.6s var(--ease); }
.sanct-card:hover .bg svg { transform: scale(1.035); }
.sanct-card .txt { padding-top: 22px; }
.sanct-card .txt .zh { font-size: 15px; letter-spacing: .2em; color: var(--bronze); }
.sanct-card h3 { margin: 8px 0 10px; }
.sanct-card p { color: var(--ink-2); font-size: 17px; margin-bottom: 14px; }
.sanct-card.tall { grid-row: auto; }

/* purple star band */
.reading-band { background: var(--pine); color: var(--on-pine); }
.reading-band .eyebrow { color: #c9a873; }
.reading-band .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.reading-band p.lede { color: var(--on-pine-2); }
.reading-band .art { border-radius: 2px; overflow: hidden; }
.reading-band ul { list-style: none; margin: 30px 0 38px; }
.reading-band li { border-top: 1px solid #3a4a43; padding: 14px 0; display: flex; gap: 18px; font-size: 18px; color: var(--on-pine-2); }
.reading-band li span.zh { color: #c9a873; min-width: 22px; }

/* products */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 52px 28px; }
.pcard { display: block; }
.pcard .img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); border-radius: 2px; }
.pcard .img svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pcard:hover .img svg { transform: scale(1.04); }
.pcard .tag { position: absolute; left: 14px; bottom: 12px; font-size: 14px; color: var(--mute); }
.pcard .quick { display: none; }
.pcard .meta { padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.pcard h4 { font-size: 22px; }
.pcard .zh { font-size: 14px; color: var(--mute); letter-spacing: .1em; margin-top: 4px; }
.pcard .price { font-size: 17px; color: var(--ink-2); white-space: nowrap; font-variant-numeric: oldstyle-nums; }

.craft { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; border-top: 1px solid var(--line); padding-top: 36px; }
.craft div { padding: 0; }
.craft .n { font-family: var(--zh); font-size: 30px; color: var(--bronze); line-height: 1; }
.craft h4 { margin: 14px 0 8px; font-size: 22px; }
.craft p { font-size: 16px; color: var(--ink-2); }

.quote { text-align: left; }
.quote .wrap { display: grid; grid-template-columns: 80px 1fr; gap: 40px; align-items: start; }
.quote .seal.lg { margin: 0 !important; }
.quote blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.3; max-width: 26em; }
.quote cite { display: block; grid-column: 2; margin-top: 18px; font-style: normal; font-size: 16px; color: var(--mute); }

.circle-band { background: var(--ground-2); }
.circle-band .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* footer */
footer { background: var(--pine); color: var(--on-pine-2); padding: 96px 0 40px; font-size: 16px; }
footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 50px; }
footer h5 { font-size: 15px; color: var(--on-pine); margin-bottom: 16px; font-weight: 400; font-family: var(--zh); letter-spacing: .1em; }
footer a { display: block; padding: 4px 0; }
footer a:hover { color: #fff; }
footer .logo .word { color: var(--on-pine); }
footer .fine { border-top: 1px solid #34443d; margin-top: 64px; padding-top: 26px; display: flex; justify-content: space-between; gap: 30px; font-size: 14px; color: #8fa097; }
footer .disc { max-width: 760px; }

/* shop page */
.page-head { padding: 80px 0 40px; }
.page-head p { margin-top: 18px; }
.page-head.wrap { text-align: left; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 56px; }
.filters button { padding: 8px 18px; border: 1px solid var(--line); border-radius: 2px; font-size: 16px; color: var(--ink-2); transition: all .3s var(--ease); }
.filters button.on, .filters button:hover { border-color: var(--pine); background: var(--pine); color: var(--on-pine); }
.filters button .zh { color: inherit; opacity: .7; }

/* product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; padding: 56px 0 110px; }
.pdp .gallery { position: sticky; top: 100px; align-self: start; }
.pdp .gallery .main { aspect-ratio: 1; background: var(--paper); border-radius: 2px; overflow: hidden; }
.pdp .gallery .main svg { width: 100%; height: 100%; }
.crumbs { font-size: 15px; color: var(--mute); margin-bottom: 22px; }
.crumbs a { border-bottom: 1px solid var(--line); }
.pdp h1 { font-size: clamp(42px, 4.4vw, 62px); }
.pdp .zhline { font-family: var(--zh); color: var(--mute); letter-spacing: .24em; margin: 10px 0 18px; font-size: 16px; }
.pdp .price { font-size: 24px; margin-bottom: 22px; }
.pdp .edition { display: inline-flex; gap: 10px; align-items: center; font-size: 15px; color: var(--bronze); margin-bottom: 16px; }
.pdp .short { font-size: 22px; line-height: 1.5; color: var(--ink-2); margin-bottom: 30px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; }
.qty button { width: 44px; height: 50px; font-size: 18px; }
.qty span { width: 30px; text-align: center; }
.buy { display: flex; gap: 12px; margin-bottom: 16px; }
.buy .btn { flex: 1; }
.assure { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; color: var(--mute); margin: 18px 0 36px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; font-size: 19px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 22px; color: var(--mute); transition: transform .4s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .body { padding: 0 0 24px; color: var(--ink-2); font-size: 17px; }
.acc ul { padding-left: 18px; }
.story-block { background: var(--ground-2); padding: 110px 0; }
.story-block .inner { display: grid; grid-template-columns: 160px 1fr; gap: 60px; max-width: 980px; margin: 0 auto; }
.story-block .vzh { writing-mode: vertical-rl; font-family: var(--zh); font-size: 40px; letter-spacing: .3em; color: var(--ink); justify-self: center; }
.story-block p { font-size: 25px; line-height: 1.55; color: var(--ink-2); }

/* drawer */
.scrim { position: fixed; inset: 0; background: rgba(20,28,25,.4); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 80; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--ground); z-index: 90; transform: translateX(100%); transition: transform .55s var(--ease); display: flex; flex-direction: column; box-shadow: none; visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
.drawer.on { transform: none; visibility: visible; transition: transform .55s var(--ease); box-shadow: -20px 0 60px rgba(20,28,25,.18); }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 24px 30px; border-bottom: 1px solid var(--line); font-size: 19px; }
.drawer .items { flex: 1; overflow: auto; padding: 10px 30px; }
.line-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-item .thumb { background: var(--paper); aspect-ratio: 1; border-radius: 2px; overflow: hidden; }
.line-item h5 { font-family: var(--serif); font-size: 19px; font-weight: 400; }
.line-item .sub { font-size: 14px; color: var(--mute); }
.line-item .qty { margin-top: 8px; width: max-content; }
.line-item .qty button { width: 30px; height: 30px; font-size: 14px; }
.line-item .rm { font-size: 14px; color: var(--mute); text-decoration: underline; margin-top: 6px; }
.drawer footer { background: none; color: var(--ink); padding: 24px 30px; border-top: 1px solid var(--line); font-size: 17px; }
.drawer .row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.drawer .gift { font-size: 15px; color: var(--ink-2); background: var(--ground-2); padding: 14px 16px; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; border-radius: 2px; }
.drawer .btn { width: 100%; margin-top: 12px; }
.empty { text-align: center; padding: 80px 10px; color: var(--mute); font-size: 22px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(20,28,25,.5); opacity: 0; pointer-events: none; transition: opacity .5s; }
.modal.on { opacity: 1; pointer-events: auto; }
.modal .card { position: relative; width: min(860px, 100%); background: var(--ground); display: grid; grid-template-columns: 1fr 1.1fr; transform: translateY(14px); transition: transform .7s var(--ease); max-height: 92vh; overflow: auto; border-radius: 3px; }
.modal.on .card { transform: none; }
.modal .art { background: var(--pine); color: var(--on-pine); position: relative; overflow: hidden; min-height: 420px; }
.modal .art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.modal .art .invite { position: absolute; inset: 22px; border: 1px solid rgba(227,232,226,.3); display: grid; place-items: center; text-align: center; padding: 20px; }
.modal .art .invite .zh { font-size: 46px; letter-spacing: .2em; }
.modal .art .invite .eyebrow { color: var(--on-pine-2) !important; }
.modal .body { padding: 52px 46px; }
.modal .body h3 { font-size: 40px; margin: 10px 0 14px; }
.modal .body p { color: var(--ink-2); font-size: 17px; }
.modal .close { position: absolute; right: 16px; top: 10px; font-size: 28px; z-index: 3; color: var(--mute); }
.modal input, .form input, .form select, .form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; font: inherit; font-size: 17px; color: var(--ink); outline: none; border-radius: 0; }
.modal input:focus, .form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); }
.modal .no { display: block; margin-top: 16px; font-size: 15px; color: var(--mute); text-decoration: underline; }
.check { margin: 18px 0; font-size: 15px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }

.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); background: var(--pine); color: var(--on-pine); padding: 12px 24px; font-size: 16px; opacity: 0; transition: all .45s var(--ease); z-index: 200; border-radius: 2px; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* sanctuary page */
.journey { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; margin-bottom: 36px; background: var(--paper); border-radius: 2px; overflow: hidden; }
.journey:nth-child(even) { grid-template-columns: 1fr 1.25fr; }
.journey:nth-child(even) .pic { order: 2; }
.journey .pic { min-height: 420px; position: relative; overflow: hidden; }
.journey .pic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.journey .info { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.journey .info .zh { color: var(--bronze); letter-spacing: .24em; font-size: 15px; }
.journey h3 { font-size: 38px; margin: 8px 0 12px; }
.journey .when { font-size: 16px; color: var(--mute); margin-bottom: 16px; }
.journey p { color: var(--ink-2); margin-bottom: 24px; font-size: 17px; }
.stays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stay .pic { aspect-ratio: 4/5; position: relative; overflow: hidden; border-radius: 2px; }
.stay .pic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stay h4 { font-size: 26px; margin: 20px 0 8px; }
.stay p { color: var(--ink-2); font-size: 17px; }
.residence { position: relative; color: var(--on-pine); min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.residence .bg, .residence .bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.residence::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,30,26,.82), rgba(20,30,26,.15)); }
.residence .wrap { position: relative; z-index: 2; width: 100%; }
.residence .txt { max-width: 560px; }
.residence .eyebrow { color: #c9a873 !important; }
.residence p { color: rgba(227,232,226,.86); margin: 18px 0 28px; }
.residence .facts { display: flex; gap: 50px; margin: 26px 0 34px; }
.residence .facts b { display: block; font-size: 44px; font-weight: 400; line-height: 1.1; }
.residence .facts span { font-size: 15px; opacity: .8; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 40px; }
.form .full { grid-column: 1 / -1; }
.form label { font-size: 15px; color: var(--mute); display: block; margin-top: 18px; }
.enquire { display: grid; grid-template-columns: 1fr 1.3fr; gap: 90px; }

/* reading page */
.zw-form { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: end; background: var(--paper); padding: 32px; border-radius: 2px; }
.zw-form label { font-size: 15px; color: var(--mute); }
.zw-form input, .zw-form select { width: 100%; border: 0; border-bottom: 1px solid var(--ink-2); background: transparent; padding: 10px 0; font: inherit; outline: none; }
.board { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, minmax(150px, auto)); border: 1px solid var(--ink); background: #f3f5f1; margin-top: 46px; }
.cell { border: .5px solid #aebaaf; padding: 10px 12px; position: relative; font-family: var(--zh); font-size: 13px; min-height: 150px; }
.cell.ming { background: #e7ece3; box-shadow: inset 0 0 0 2px var(--bronze); }
.cell .stars { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.cell .maj { font-size: 17px; color: var(--ink); }
.cell .maj.zi { color: var(--seal); }
.cell .hua { display: inline-block; background: var(--seal); color: #fff; font-size: 10px; padding: 0 3px; margin-left: 2px; vertical-align: 2px; border-radius: 1px; }
.cell .hua.科 { background: #3b6e57; } .cell .hua.权 { background: var(--bronze); } .cell .hua.忌 { background: #2f2b26; }
.cell .min { font-size: 11.5px; color: var(--mute); margin-top: 6px; line-height: 1.6; }
.cell .foot { position: absolute; left: 12px; right: 12px; bottom: 8px; display: flex; justify-content: space-between; align-items: end; }
.cell .pname { font-size: 14px; color: var(--bronze); }
.cell .pname small { display: block; font-family: var(--serif); font-size: 12px; color: var(--mute); }
.cell .gz { font-size: 12px; color: var(--ink-2); }
.cell .age { font-family: var(--serif); font-size: 12px; color: var(--mute); }
.center-cell { grid-column: 2 / 4; grid-row: 2 / 4; border: .5px solid #aebaaf; padding: 26px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: var(--ground); }
.center-cell .zh { font-size: 26px; letter-spacing: .3em; }
.center-cell dl { display: grid; grid-template-columns: auto auto; gap: 4px 18px; margin: 18px 0; font-size: 14px; text-align: left; }
.center-cell dt { color: var(--mute); font-size: 13px; }
.center-cell dd { font-family: var(--zh); }
.zw-insight { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 50px; }
.zw-insight .card { border: 1px solid var(--line); padding: 40px; border-radius: 2px; background: var(--paper); }
.elem-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; align-items: center; }

/* story */
.story-hero { position: relative; height: 70vh; min-height: 520px; overflow: hidden; color: var(--on-pine); display: flex; align-items: flex-end; }
.story-hero .bg, .story-hero .bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(18,26,23,.66)); }
.story-hero .wrap { position: relative; z-index: 2; padding-bottom: 64px; width: 100%; }
.story-hero .eyebrow { color: #d6c29c !important; }
.essay { max-width: 720px; margin: 0 auto; }
.essay p { font-size: 23px; line-height: 1.65; color: var(--ink-2); margin-bottom: 28px; }
.essay p:first-child::first-letter { float: left; font-size: 88px; line-height: .8; padding: 8px 12px 0 0; color: var(--bronze); }

/* checkout */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; padding: 56px 0 110px; }
.summary { background: var(--paper); padding: 38px; align-self: start; position: sticky; top: 100px; border-radius: 2px; }
.pay-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.pay-opts label { border: 1px solid var(--line); padding: 12px; text-align: center; font-size: 16px; cursor: pointer; margin: 0; color: var(--ink); border-radius: 2px; }
.pay-opts input { display: none; }
.pay-opts label:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.demo-note { font-size: 14px; color: var(--mute); margin-top: 14px; }
.thanks { text-align: center; padding: 110px 0 150px; }
.thanks .letter { max-width: 600px; margin: 40px auto; background: var(--paper); border: 1px solid var(--line); padding: 52px; font-size: 22px; line-height: 1.6; color: var(--ink-2); position: relative; text-align: left; }
.thanks .letter .seal { position: absolute; right: 28px; bottom: 28px; }

/* motion: only the scroll's opening unroll is authored; nothing fades in on scroll */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Chinese mode */
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3, html[lang="zh-CN"] h4 { font-family: var(--zh); letter-spacing: .04em; line-height: 1.25; }
html[lang="zh-CN"] p, html[lang="zh-CN"] .lede, html[lang="zh-CN"] li, html[lang="zh-CN"] .essay p, html[lang="zh-CN"] .story-block p { font-family: var(--zh); line-height: 1.9; }
html[lang="zh-CN"] .essay p, html[lang="zh-CN"] .story-block p { font-size: 19px; }
html[lang="zh-CN"] p.lede { font-size: 19px; }
html[lang="zh-CN"] em { font-style: normal; }
html[lang="zh-CN"] .nav-links, html[lang="zh-CN"] .btn, html[lang="zh-CN"] .link { font-family: var(--zh); font-size: 15px; letter-spacing: .06em; }

/* responsive */
@media (max-width: 1024px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .craft { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .wrap { padding: 0 22px; }
  section { padding: 84px 0; }
  .nav { grid-template-columns: auto 1fr auto; height: 62px; }
  .nav-links { display: none; position: fixed; top: 62px; left: 0; right: 0; bottom: 0; background: var(--ground); flex-direction: column; padding: 36px 26px; gap: 22px; font-size: 24px; }
  .nav-links.open { display: flex; }
  .burger { display: block; width: 28px; }
  .burger span { display: block; height: 1.5px; background: var(--ink); margin: 7px 0; }
  .logo { justify-content: center; }
  .logo .word { font-size: 19px; letter-spacing: .22em; }
  .logo .seal { width: 24px; height: 24px; font-size: 12px; }
  .nav-right { gap: 12px; }
  .nav-right .cur { display: none; }
  .nav-right .bag .lbl { display: none; }
  .lang { padding: 3px 7px; font-size: 12px; }
  .topbar { font-size: 12px; padding: 6px 10px; }
  .topbar .more { display: none; }
  .scroll-intro { grid-template-columns: 1fr; gap: 14px; padding-top: 34px; }
  .scroll-intro .hint { text-align: left; }
  .scroll-track { width: 3400px; height: 520px; min-height: 0; }
  .station { width: 270px; }
  .station h3 { font-size: 28px; }
  .station.colophon { width: 280px; }
  .station.colophon h2 { font-size: 60px; }
  .scroll-frame::before, .scroll-frame::after { width: 12px; }
  .philo .grid2 { grid-template-columns: 1fr; gap: 24px; }
  .philo .big-zh { writing-mode: horizontal-tb; font-size: 110px; }
  .philo .pillars, .sanct-grid, .reading-band .grid, .circle-band .grid, .pdp, .enquire, .checkout, .zw-insight, .stays, .elem-card { grid-template-columns: 1fr; }
  .reading-band .grid { gap: 44px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .grid-products { gap: 36px 14px; }
  .pcard h4 { font-size: 18px; }
  .pcard .meta { flex-direction: column; gap: 2px; }
  .craft { grid-template-columns: 1fr; gap: 30px; }
  .quote .wrap { grid-template-columns: 1fr; gap: 20px; }
  .quote cite { grid-column: 1; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  footer .cols > div:first-child { grid-column: 1 / -1; }
  footer .fine { flex-direction: column; }
  .pdp { gap: 30px; padding-top: 18px; }
  .pdp .gallery { position: static; }
  .story-block .inner { grid-template-columns: 1fr; gap: 18px; }
  .story-block .vzh { writing-mode: horizontal-tb; font-size: 30px; justify-self: start; }
  .story-block p { font-size: 20px; }
  .modal .card { grid-template-columns: 1fr; }
  .modal .art { min-height: 170px; }
  .modal .body { padding: 32px 24px; }
  .journey, .journey:nth-child(even) { grid-template-columns: 1fr; }
  .journey:nth-child(even) .pic { order: 0; }
  .journey .pic { min-height: 260px; }
  .journey .info { padding: 32px 24px; }
  .form { grid-template-columns: 1fr; }
  .zw-form { grid-template-columns: 1fr 1fr; padding: 20px; }
  .zw-form .go { grid-column: 1 / -1; }
  .board { grid-template-rows: repeat(4, minmax(110px, auto)); }
  .cell { min-height: 110px; padding: 6px; font-size: 11px; }
  .cell .maj { font-size: 13px; }
  .cell .min, .cell .pname small, .cell .age { display: none; }
  .cell .foot { left: 6px; right: 6px; bottom: 4px; }
  .center-cell { padding: 10px; }
  .center-cell .zh { font-size: 18px; }
  .center-cell dl { grid-template-columns: 1fr; text-align: center; font-size: 11px; gap: 2px; }
  .center-cell dt, .center-cell .seal { display: none; }
  .residence::after { background: rgba(20,30,26,.66); }
  .residence .facts { gap: 26px; }
  .summary { position: static; }
  .essay p { font-size: 20px; }
  .page-head { padding: 50px 0 30px; }
  .zw-insight .card { padding: 26px 20px; }
}
@media (max-width: 860px) {
  .scroll-nav { flex-wrap: nowrap; overflow-x: auto; gap: 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .scroll-nav::-webkit-scrollbar { display: none; }
  .scroll-nav button { white-space: nowrap; flex: none; }
}
