@font-face {
  font-family: "Xu Serif";
  src: url("assets/site-serif.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #2b211a;
  --muted: #65594e;
  --dark: #201410;
  --paper: #fbf8f2;
  --gold: #e7be85;
  --bronze: #835429;
  --red: #862d25;
  --display: "Xu Serif", "Noto Serif SC", "Songti SC", SimSun, serif;
  --body: "PingFang SC", "Microsoft YaHei", system-ui, "Leelawadee UI", "Myanmar Text", sans-serif;
}

:root:not(:lang(zh)) {
  --display: Georgia, "Leelawadee UI", "Myanmar Text", serif;
  --body: system-ui, "Leelawadee UI", "Myanmar Text", sans-serif;
}

:is(:lang(th), :lang(km), :lang(lo), :lang(my)) .eyebrow { letter-spacing: normal; }

*, *::after, *::before { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.7 var(--body); }
figure, dl, dd, p, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { color: inherit; cursor: pointer; font: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #b77c3b; outline-offset: 4px; }
section[id] { scroll-margin-top: 5.5rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.3; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

.shell { width: min(1280px, calc(100% - clamp(2.5rem, 10vw, 10rem))); margin-inline: auto; }
.section-pad { padding-block: clamp(4rem, 7.4vw, 7.5rem); }
.eyebrow { color: var(--bronze); font-size: .875rem; font-weight: 600; letter-spacing: .18em; }
.story-copy .eyebrow { margin-bottom: .9rem; }
.skip-link { position: fixed; z-index: 5; inset: .75rem auto auto .75rem; padding: .5rem 1rem; background: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 3; background: var(--dark); color: #f7eddd; border-bottom: 1px solid #52372c; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.75rem; gap: clamp(.85rem, 2.3vw, 2rem); }
.brand { display: flex; align-items: center; flex-shrink: 0; gap: .75rem; min-width: 0; text-decoration: none; }
.brand .brand-crest { width: 3.45rem; aspect-ratio: 1; height: auto; flex: 0 0 auto; object-fit: contain; }
.brand-identity { display: grid; gap: .2rem; min-width: 0; line-height: 1.25; }
.brand-company { color: #f9ead6; font-size: 1rem; font-weight: 600; }
.brand-motto { color: #e2bd8a; font-size: .765rem; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 1.9rem); }
.nav a { padding-block: .52rem; font-size: .9rem; line-height: 1.4; text-align: center; text-decoration: none; text-wrap: balance; }
.nav > a:not(.nav-contact), .nav-products > a { border-bottom: 1px solid transparent; }
:is(.nav > a:not(.nav-contact), .nav-products > a):is(:hover, [aria-current]) { color: var(--gold); border-bottom-color: currentColor; }
.nav-products { position: relative; display: flex; align-items: center; gap: .05rem; }
.nav-series summary {
  display: grid;
  width: 1.85rem;
  min-height: 2.5rem;
  place-items: center;
  list-style: none;
  border-radius: .25rem;
  color: var(--gold);
  cursor: pointer;
}
.nav-series summary::-webkit-details-marker { display: none; }
.nav-series summary::after {
  width: .42rem;
  height: .42rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-.1rem) rotate(45deg);
  content: "";
}
.nav-series[open] summary::after { transform: translateY(.1rem) rotate(225deg); }
.nav-series summary:hover, .nav-series[open] summary { background: #f0c18318; }
.nav-series summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; }
.nav-series-links {
  position: absolute;
  inset: calc(100% + .45rem) auto auto 0;
  min-width: 13rem;
  margin: 0;
  padding: .4rem;
  list-style: none;
  border: 1px solid #8c6646;
  border-radius: .45rem;
  background: #2b1b15;
  box-shadow: 0 .85rem 2rem #180e0ca6;
}
.nav-series-links a { display: block; padding: .65rem .75rem; border-radius: .2rem; text-align: start; }
.nav-series-links a:is(:hover, :focus-visible, [aria-current]) { color: var(--gold); background: #f0c18318; }
.nav .nav-contact { border: 1px solid #9b7353; padding: .48rem 1.05rem; color: var(--gold); }
.nav .nav-contact:is(:hover, [aria-current]) { color: #1e1510; background: var(--gold); }
.header-controls { display: flex; align-items: center; gap: .65rem; }
.language-form { margin: 0; }
.language-form select {
  appearance: none;
  min-height: 2.65rem;
  max-width: 10.5rem;
  padding: .35rem 1.9rem .35rem .65rem;
  border: 1px solid #8f6c49;
  border-radius: 0;
  color: #ffe8c5;
  background: linear-gradient(45deg, transparent 50%, #e7be85 50%) right .85rem center / .25rem .25rem no-repeat,
              linear-gradient(135deg, #e7be85 50%, transparent 50%) right .6rem center / .25rem .25rem no-repeat,
              #201410;
  font: .875rem/1.45 var(--body);
}
.menu-toggle { display: none; }

.hero {
  color: #fcf0df;
  background:
    radial-gradient(ellipse at 76% 45%, #d79b567a, transparent 42%),
    radial-gradient(ellipse at 80% 87%, #754429 0%, #502b20 35%, transparent 63%),
    linear-gradient(113deg, #211411 18%, #301c16 58%, #3d251b);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; min-height: clamp(35rem, 45vw, 43rem); }
.hero-copy { z-index: 1; padding: 4rem 0 4.5rem; }
.hero h1 { font-size: clamp(2.35rem, 4.1vw, 4.15rem); letter-spacing: -.035em; line-height: 1.15; text-wrap: balance; overflow-wrap: anywhere; }
.hero em { display: block; color: #e8c695; font-style: normal; margin-top: .22em; }
.hero-description { max-width: 28rem; line-height: 1.78; margin-top: 1.35rem; color: #eddbc6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.65rem; margin-top: 1.65rem; }
.button {
  display: inline-flex;
  min-height: 2.75rem;
  justify-content: center;
  align-items: center;
  padding: .55rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 600;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.button-gold { background: var(--gold); color: #2c1c12; }
.button-gold:hover { background: #f3d6a9; }
.button-gold:active { background: #d0a877; }
.button-dark { background: #3d2a1f; color: #fff4e3; }
.button-dark:hover { background: #66432b; }
.button-dark:active { background: #2c1d15; }
.text-link { text-underline-offset: .4em; text-decoration-thickness: 1px; font-size: .9375rem; }
.text-link-light { color: #f0dcc0; text-decoration-color: #95734e; }
.text-link:hover { text-decoration-color: currentColor; }

.hero-stage { position: relative; align-self: stretch; min-width: 0; isolation: isolate; }
.dial { position: absolute; z-index: -1; width: min(86%, 34rem); aspect-ratio: 1; top: 7%; left: 9%; border-radius: 50%; border: 1px solid #efc38a53; }
.dial::before, .dial::after, .dial i { position: absolute; content: ""; border-radius: 50%; }
.dial::before { inset: 5%; border: 1px solid #d8ae7a31; }
.dial::after { inset: 10%; border: 1px solid #d8ae7a27; }
.dial i { inset: 1.6%; background: repeating-conic-gradient(from -1deg, #d8aa733f 0deg .25deg, transparent .25deg 6deg); mask: radial-gradient(transparent 67%, #000 67.3%); }
.stage-ground {
  position: absolute;
  z-index: -1;
  height: 25%;
  width: 102%;
  bottom: 6%;
  left: 1%;
  background:
    radial-gradient(ellipse at 52% 47%, #1a090ad9, transparent 44%),
    radial-gradient(ellipse at 51% 39%, #db995c89, #9b5a3680 36%, transparent 66%);
}
.hero-stage > img { position: absolute; height: auto; object-fit: contain; object-position: bottom; }
.hero-stage .hero-box { width: 44%; max-height: 77%; bottom: 17%; left: 43%; filter: drop-shadow(.9rem 1rem 1.15rem #1a0a08a8); }
.hero-stage .hero-bottle { width: 34%; max-height: 77%; bottom: 15%; left: 21%; filter: drop-shadow(.7rem .85rem .85rem #170904b5); }
.catalog-banner { padding-block: clamp(2.55rem, 5.5vw, 5rem); background: radial-gradient(ellipse at 50% 100%, #644029, #291a14 82%); color: #fff2d9; text-align: center; }
.catalog-banner h1 { font-size: clamp(2.4rem, 5.3vw, 4.45rem); line-height: 1.15; }
.catalog-motto { display: flex; flex-wrap: wrap; gap: .65rem 0; padding: 0; margin: 1rem 0 0; list-style: none; color: #f0d5b2; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.catalog-motto li { padding-inline: clamp(.75rem, 1.6vw, 1.45rem); overflow-wrap: anywhere; }
.catalog-motto li:first-child { padding-inline-start: 0; }
.catalog-motto li + li { border-inline-start: 1px solid #aa805575; }
.collection { padding-block: clamp(2rem, 4.5vw, 4.2rem) clamp(3.1rem, 6vw, 5.5rem); }
.catalog-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 1.75rem; padding-bottom: 1.2rem; margin-bottom: 1.6rem; border-bottom: 1px solid #e1d3c3; }
.catalog-search { position: relative; flex: 1 1 18rem; max-width: 29rem; }
.catalog-search input { width: 100%; min-height: 2.85rem; padding: .5rem 1rem .5rem 2.65rem; background: #fffdf9; color: var(--ink); border: 1px solid #cdb79f; border-radius: 7px; font: inherit; }
.catalog-search input:focus-visible, .zoom-stage:focus-visible { outline: 2px solid #a36b38; outline-offset: 3px; }
.search-icon { position: absolute; top: .85rem; left: 1rem; width: .86rem; height: .86rem; color: #7e5b3f; border: 1.5px solid currentColor; border-radius: 50%; pointer-events: none; }
.search-icon::after { position: absolute; right: -.32rem; bottom: -.16rem; width: .44rem; height: 1.5px; background: currentColor; transform: rotate(45deg); content: ""; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filters button { background: #fffaf3; border: 1px solid #e4d3c2; border-radius: 5px; padding: .45rem 1.05rem; min-height: 2.75rem; font-size: .9375rem; }
.filters button:hover { color: var(--red); border-color: #be8e71; }
.filters button[aria-pressed="true"] { border-color: #632e24; background: #632e24; color: #fff3df; font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.45rem clamp(1.15rem, 2.4vw, 2.1rem); }
.product-card { position: relative; min-width: 0; display: flex; flex-direction: column; background: #fffdf8; border: 1px solid #e8dac9; border-radius: 10px; overflow: hidden; box-shadow: 0 .35rem 1.15rem #3a26120b; transition: border-color .18s, box-shadow .18s; }
.product-card:hover { border-color: #c79f78; box-shadow: 0 .7rem 1.5rem #3a26121a; }
.product-card:focus-within { outline: 2px solid #b77c3b; outline-offset: 5px; }
.product-visual { display: grid; place-items: center; height: clamp(14rem, 22vw, 19rem); padding: 1.3rem 1rem; overflow: hidden; background: radial-gradient(ellipse at 47% 40%, var(--light), var(--shade) 94%); }
.shade-0 { --light: #f1e4d3; --shade: #e2c9ac; }
.shade-1 { --light: #e8ede9; --shade: #cad5d4; }
.shade-2 { --light: #e9e7e4; --shade: #d2ceca; }
.shade-3 { --light: #eee3d6; --shade: #d8c2b0; }
.shade-4 { --light: #f4e2d8; --shade: #e1c5b9; }
.shade-5 { --light: #f3e9df; --shade: #e1ccb7; }
.product-visual img { width: auto; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(.65rem .7rem .65rem #31231838); transition: transform .24s ease; }
.product-card:hover img { transform: scale(1.045); }
.product-summary { display: flex; flex: 1; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .65rem .8rem; padding: 1rem 1.1rem 1.15rem; }
.product-summary h3 { font-size: clamp(1.25rem, 1.85vw, 1.58rem); }
.product-summary p { color: var(--muted); margin-top: .26rem; }
.product-link { display: inline-flex; align-items: center; min-height: 2.3rem; padding: .25rem .8rem; color: #78372a; background: #f6e9dc; border: 1px solid #e4cfba; border-radius: 6px; font-size: .875rem; font-weight: 600; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.product-link::after { content: ""; position: absolute; inset: 0; }
.product-link:focus-visible { outline: 0; }
.product-card:hover .product-link { background: #78372a; color: #fff7eb; border-color: #78372a; }

.origin { background: #2d211a; color: #fff4e4; padding-block: clamp(2.8rem, 5.7vw, 5.8rem); }
.origin-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.6rem, 5vw, 5.1rem); align-items: center; scroll-margin-top: 6rem; }
.origin-image { width: 100%; aspect-ratio: 1.65; object-fit: cover; object-position: 50% 58%; border-radius: 5px; }
.heritage-story { padding-block: clamp(2.65rem, 4.6vw, 4.5rem); background: #eee4d6; }
.heritage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4.2vw, 4.15rem); align-items: center; }
.heritage-photo img { width: 100%; aspect-ratio: 1.6; object-fit: cover; border-radius: 5px; }
.heritage-photo figcaption { margin-top: .6rem; color: var(--muted); font-size: .875rem; }
.story-copy p { max-width: 35rem; margin-top: 1rem; color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.8; }
.story-copy .story-history { padding-top: .85rem; border-top: 1px solid #d6c0a8; }
.story-copy h2 { text-wrap: balance; }
.origin h2 { font-size: clamp(2rem, 3.65vw, 3.1rem); }
.origin-tagline { margin-top: .45rem; color: #f2d9af; font-size: clamp(1.12rem, 1.8vw, 1.45rem); }
.origin-summary { max-width: 34rem; margin-top: .9rem; color: #e4cfb9; line-height: 1.85; }
.origin-topics { display: flex; flex-wrap: wrap; gap: .7rem 1.35rem; margin-top: 1.35rem; padding-top: 1rem; border-top: 1px solid #95734e; }

.contact { padding-block: clamp(3rem, 5.3vw, 5.4rem); color: #f6ecdf; background: #40231c; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(2rem, 5vw, 4.2rem); }
.contact-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 2.5vw, 2.65rem); }
.contact h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.contact .contact-company { margin-top: .7rem; color: #f4ddbb; font-size: clamp(1.2rem, 1.65vw, 1.6rem); font-weight: 600; line-height: 1.45; }
.business-phone { display: grid; gap: .2rem; margin-top: 1.35rem; }
.phone-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: .18rem .65rem; color: #ebd9c5; font-size: clamp(1rem, 1.18vw, 1.15rem); }
.contact-person { color: #e1bd8d; }
.phone-number { color: #ffedcf; font-size: clamp(1.35rem, 1.75vw, 1.8rem); line-height: 1.45; font-variant-numeric: tabular-nums; font-weight: 600; user-select: text; }
.qr { width: clamp(7.25rem, 11vw, 10rem); text-align: center; }
.qr img { width: 100%; background: #fff; }
.qr figcaption { margin-top: .5rem; color: #e0cbb1; font-size: .9375rem; line-height: 1.45; }
.collaboration-message { padding-inline-start: clamp(1.3rem, 4.2vw, 4rem); border-inline-start: 1px solid #bd98745e; }
.collaboration-message:lang(zh) { text-align: center; }
.collaboration-message h3 { color: #f7e4ca; font-size: clamp(1.65rem, 2.1vw, 2.15rem); }
.collaboration-message p { margin-top: .75rem; color: #ebd9c5; font-size: clamp(1.0625rem, 1.24vw, 1.25rem); line-height: 1.68; white-space: pre-line; }
.collaboration-message:lang(zh) p + p { margin-top: 0; }
.footer { background: var(--dark); color: #d6c0a8; }
.footer .contact { background: #442a1d; }
.footer .collaboration-message:lang(zh) :is(h3, p) { color: #ead0a1; }
.footer-inner { display: flex; align-items: center; min-height: 5.35rem; gap: .75rem 1.25rem; flex-wrap: wrap; padding-block: 1.15rem; }
.footer-inner > p { font-size: .8125rem; }
.return-top {
  position: fixed;
  z-index: 5;
  right: clamp(.8rem, 2.4vw, 2.25rem);
  bottom: calc(clamp(2.35rem, 4.5vw, 4rem) + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  max-width: min(55vw, 14rem);
  padding: .55rem 1rem;
  border: 1px solid #926333;
  border-radius: .65rem;
  background: linear-gradient(155deg, #fff0ce, #ebbc80);
  color: #301c10;
  font-weight: 650;
  box-shadow: 0 .35rem 1rem #24170e42;
  text-decoration: none;
  font-size: .875rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.return-top:hover { background: #ffe7b8; }
.content-link { color: var(--red); text-underline-offset: .33em; }
.story-copy .content-link { display: inline-block; margin-top: 1rem; }

.source-note { padding-block: 1rem; color: var(--muted); font-size: .875rem; }
.product-page { padding: 1.6rem 0 clamp(3.5rem, 7.4vw, 6.5rem); }
.product-breadcrumb { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.3rem; color: var(--muted); font-size: .875rem; }
.product-breadcrumb a { color: var(--red); text-underline-offset: .25em; }
.product-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(2rem, 4.25vw, 4rem); }
.product-detail-image { position: relative; z-index: 2; min-width: 0; }
.zoom-stage, .zoom-preview { aspect-ratio: 1; background: radial-gradient(ellipse, var(--light), var(--shade)); }
.zoom-stage { position: relative; overflow: hidden; }
.zoom-stage.zoom-ready { cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.zoom-stage.is-pinned { touch-action: none; cursor: move; }
.zoom-stage img, .zoom-enlargement img {
  position: absolute;
  inset: 7%;
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(.65rem .7rem .65rem #31231838);
  pointer-events: none;
}
.zoom-lens {
  position: absolute;
  inset: 0 auto auto 0;
  border: 1px solid #6b4a33b8;
  background: #ffefd15e;
  pointer-events: none;
}
.zoom-preview {
  position: absolute;
  inset: 0 auto auto calc(100% + .85rem);
  width: min(100%, 29rem);
  overflow: hidden;
  border: 1px solid #b89d80;
  box-shadow: 0 .45rem 1.55rem #25191136;
  pointer-events: none;
}
.zoom-enlargement { position: absolute; inset: 0 auto auto 0; background: inherit; }
.product-detail-copy h1 { color: #896033; font-size: clamp(2.35rem, 4.55vw, 4.45rem); line-height: 1.12; text-wrap: balance; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .product-detail-copy h1 { background: linear-gradient(155deg, #a8793e 4%, #8a5a28 55%, #674425 94%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
@media (forced-colors: active) {
  .product-detail-copy h1 { background: none; color: CanvasText; }
}
.product-purchase { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .8rem 1.25rem; margin-top: 1.4rem; padding-bottom: 1.3rem; border-bottom: 1px solid #dbcec0; }
.product-retail dt { color: var(--bronze); font-weight: 600; }
.product-retail dd { display: flex; flex-wrap: wrap; gap: .15rem .65rem; align-items: baseline; margin-top: .2rem; }
.product-retail data { color: var(--red); font: 600 clamp(2.4rem, 4vw, 3.55rem)/1.08 var(--display); font-variant-numeric: tabular-nums; }
.product-retail dd span { color: var(--muted); font-size: .875rem; }
.product-introduction {
  max-width: 64rem;
  margin: clamp(1.85rem, 4vw, 3.75rem) auto 0;
  padding: clamp(1.5rem, 3.4vw, 3rem);
  background: #f2e9db;
  border: 1px solid #e2d2be;
  border-radius: 5px;
  text-align: center;
}
.product-introduction h2, .product-record h2 { font-size: clamp(1.45rem, 2.16vw, 1.95rem); margin-bottom: .65rem; }
.product-introduction p { max-width: 60ch; margin-inline: auto; color: var(--muted); line-height: 1.83; white-space: pre-line; }
.product-introduction p:lang(zh) { max-width: none; font-family: var(--display); font-size: clamp(1rem, 1.35vw, 1.06rem); text-wrap: balance; }
.product-record { margin-top: clamp(1.6rem, 3vw, 2.2rem); container-type: inline-size; }
.product-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #e3d2bf;
  border-radius: .48rem;
  background: #e3d2bf;
}
.product-facts > div {
  display: grid;
  align-content: start;
  gap: .2rem;
  padding: .65rem clamp(.65rem, 1.2vw, 1rem);
  background: #fffdf8;
  font-size: .9375rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.product-facts > div:is(:nth-child(4n + 3), :nth-child(4n + 4)) { background: #f8f0e5; }
.product-facts dt { color: var(--bronze); font-weight: 650; }
.product-facts dd { color: var(--muted); }

@container (min-width: 32rem) {
  .product-facts > div { grid-template-columns: 4.9em minmax(0, 1fr); align-items: baseline; gap: .5rem; }
}

.chapter-banner { background: linear-gradient(105deg, #291b15, #593624); color: #fff1dc; }
.chapter-banner-inner { display: grid; align-items: center; gap: clamp(1.5rem, 4vw, 4.8rem); padding-block: clamp(3.1rem, 6vw, 6rem); }
.chapter-banner-inner:has(.chapter-cover) { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
.chapter-banner h1 { max-width: 18ch; font-size: clamp(2.45rem, 5.25vw, 4.75rem); line-height: 1.16; text-wrap: balance; }
.chapter-banner p { margin-top: 1rem; max-width: 34rem; color: #ecdbc7; }
.chapter-cover img { width: 100%; max-height: 22rem; object-fit: contain; object-position: center; }
.chapter-cover figcaption { margin-top: .65rem; color: #e6cdb1; text-align: center; font-size: .875rem; }
.chapter-banner-landscape { position: relative; isolation: isolate; overflow: hidden; background: #261d18; }
.chapter-banner-landscape .chapter-banner-inner { grid-template-columns: minmax(0, 1fr); min-height: clamp(24rem, 31vw, 34rem); }
.chapter-banner-landscape .chapter-banner-inner > div { max-width: 36rem; }
.chapter-banner-landscape .chapter-cover { position: absolute; inset: 0; z-index: -2; }
.chapter-banner-landscape .chapter-cover img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center 53%; }
.chapter-banner-landscape::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #201813f5 0%, #251c16db 29%, #2c23187c 54%, #271e1417 100%); content: ""; }
.chapter-banner-landscape .chapter-cover figcaption { position: absolute; right: clamp(1rem, 4.5vw, 5rem); bottom: .75rem; padding: .23rem .55rem; background: #211810c9; color: #fff2da; }
.chapter-layout { max-width: 66rem; padding-block: clamp(2.6rem, 5.7vw, 5.3rem); }
.chapter-nav { background: #f3ebe0; border-bottom: 1px solid #dfd1c1; }
.chapter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(.3rem, 2vw, 1.9rem); }
.chapter-nav a { padding: .85rem clamp(.52rem, 1.5vw, 1.2rem); border-bottom: 2px solid transparent; font-size: .9375rem; text-align: center; text-decoration: none; overflow-wrap: anywhere; scroll-margin-top: 6rem; }
.chapter-nav a:is(:hover, [aria-current]) { color: var(--red); border-bottom-color: #8a493a; }
.chapter-nav a[aria-current] { font-weight: 600; }
.chapter-section + .chapter-section { margin-top: clamp(2rem, 4vw, 3.8rem); padding-top: clamp(1.7rem, 3vw, 2.8rem); border-top: 1px solid #e2d5c5; }
.chapter-section h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); text-wrap: balance; }
.chapter-section > p { margin-top: .85rem; max-width: 68ch; color: var(--muted); line-height: 1.9; }
.chapter-figure { max-width: min(100%, 37rem); margin-top: 1.4rem; }
.chapter-figure img { width: auto; max-height: 32rem; object-fit: contain; }
.chapter-figure figcaption { margin-top: .5rem; color: var(--muted); font-size: .875rem; }
.seal-poem {
  margin: 1.35rem 0 0;
  padding: clamp(1.25rem, 3.4vw, 2.65rem);
  border: 1px solid #dccebd;
  border-radius: .45rem;
  background: linear-gradient(145deg, #fff9ee50, #f7eddb22), url("/assets/inscription-mountains.webp") center bottom / cover no-repeat #fbf7ef;
  color: #503527;
  line-height: 1.9;
}
.seal-poem:lang(zh) {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.35rem clamp(.3rem, 1vw, 1.05rem);
  font: 600 clamp(1.05rem, 1.38vw, 1.4rem)/1.4 var(--display);
}
.seal-poem:lang(zh) > div { writing-mode: vertical-rl; text-orientation: mixed; letter-spacing: .035em; }
@media (max-width: 600px) {
  .seal-poem:lang(zh) {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    direction: rtl;
    background-size: cover, 100% 100%;
  }
  .seal-poem:lang(zh) > div { justify-self: center; direction: ltr; }
}
.chapter-list { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; padding: 0; margin: 1.25rem 0 0; list-style-position: inside; }
ol.chapter-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
ol.chapter-sequence { display: block; max-width: 52rem; border-top: 1px solid #dcc7b1; }
.chapter-sequence li::marker { color: var(--red); font-weight: 600; }
ul.chapter-list { list-style: none; }
.chapter-list li { padding: 1.05rem; border: 1px solid #e2d5c5; background: #f8f1e6; }
.chapter-sequence li { padding: 1rem .15rem; background: transparent; border: 0; border-bottom: 1px solid #dcc7b1; }
.chapter-list h3 { display: inline; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.chapter-list p { margin-top: .42rem; color: var(--muted); }
.chapter-products { margin-top: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.article-language { margin-bottom: 1.25rem; padding: .7rem .85rem; background: #eee3d6; color: var(--muted); font-size: .875rem; }
.article-language a { color: var(--red); }
.language-links { display: flex; flex-wrap: wrap; gap: .5rem; max-width: 17rem; }

@media (max-width: 980px) {
  .header-inner { min-height: 4.25rem; gap: .75rem; }
  .brand { flex-shrink: 1; }
  .menu-toggle { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border: 1px solid #8f6c49; background: transparent; color: var(--gold); }
  .menu-toggle span { width: 1rem; height: .7rem; border-block: 1px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; }
  .nav { position: absolute; inset: 100% 0 auto; display: none; align-items: stretch; gap: 0; padding: 0 1.25rem 1rem; max-height: calc(100dvh - 4.25rem); overflow: auto; background: var(--dark); box-shadow: 0 1rem 2rem #140e0a55; }
  .nav.open { display: grid; }
  .nav > a, .nav > a.nav-contact { padding: .65rem .3rem; border: 0; border-top: 1px solid #49382a; text-align: start; }
  .nav-products { display: block; }
  .nav-products > a { display: block; padding: .65rem 3.3rem .65rem .3rem; text-align: start; border: 0; }
  .nav-series summary { position: absolute; inset: 0 0 auto auto; width: 2.75rem; min-height: 2.75rem; }
  .nav-series-links { position: static; min-width: 0; margin: .6rem 0; box-shadow: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; min-height: 35rem; }
  .hero-stage .hero-box { width: 49%; left: 43%; bottom: 20%; }
  .hero-stage .hero-bottle { width: 41%; left: 16%; bottom: 18%; }
  .dial { width: 108%; top: 13%; left: -3%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .collaboration-message { border-inline-start: 0; border-top: 1px solid #bd98745e; padding: 1.4rem 0 0; }
}

@media (max-width: 680px) {
  .brand { gap: .55rem; }
  .brand .brand-crest { width: 2.65rem; }
  .brand-company { font-size: .84rem; }
  .brand-motto { font-size: .69rem; }
  .language-form select { max-width: 6.25rem; }
  .hero { background: radial-gradient(ellipse at 60% 75%, #8f5633 0%, #563021 31%, #291815 64%, #201410 100%); }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 2.65rem 0 .5rem; }
  .hero h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); text-wrap: initial; }
  .hero-description { margin-top: 1rem; }
  .hero-actions { margin-top: 1.4rem; }
  .hero-stage { aspect-ratio: 1.15; min-height: 17.5rem; }
  .dial { top: 2%; left: 17%; width: 72%; }
  .hero-stage .hero-box { width: 42%; top: auto; bottom: 15%; left: 47%; max-height: 80%; }
  .hero-stage .hero-bottle { width: 33%; bottom: 13%; left: 23%; max-height: 81%; }
  .filters button { padding-inline: .63rem; }
  .heritage-grid, .origin-grid, .product-detail, .chapter-banner-inner:has(.chapter-cover) { grid-template-columns: minmax(0, 1fr); }
  .heritage-photo { order: 1; }
  .chapter-nav a { padding-block: .68rem; font-size: .875rem; }
  .chapter-cover img { max-height: 15.5rem; }
  .chapter-banner-landscape .chapter-banner-inner { min-height: 24rem; }
  .chapter-banner-landscape::after { background: linear-gradient(90deg, #201813e8, #281d16ad 75%, #281d1670); }
  .product-grid { gap: 1.7rem; }
  .product-visual { height: clamp(12rem, 49vw, 16rem); }
  .zoom-preview { inset: 0 auto auto 0; width: 100%; }
  .zoom-lens { visibility: hidden; }
  .footer-inner > p { order: 3; width: 100%; }
  .footer-inner { padding-bottom: calc(5.65rem + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 480px) {
  .brand { gap: .35rem; }
  .brand .brand-crest { width: 2.15rem; }
  .brand-company { font-size: .765rem; }
  .brand-motto { font-size: .65rem; }
  .header-controls { gap: .45rem; }
  .language-form select { max-width: 5rem; padding-inline: .45rem 1.25rem; }
  .language-form select, .menu-toggle { min-height: 2.75rem; }
  .menu-toggle { width: 2.75rem; height: 2.75rem; }
  .catalog-motto { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-motto li { padding-inline: .35rem; }
  .catalog-motto li:nth-child(odd) { padding-inline-start: 0; border: 0; }
  .product-grid { gap: 1.25rem .85rem; }
  .product-visual { height: clamp(8rem, 39vw, 12rem); padding: .65rem .4rem; }
  .product-summary { align-items: start; padding: .65rem .7rem; }
  .product-summary h3 { font-size: 1.15rem; }
  .product-summary p { display: none; }
  .chapter-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
  .contact-intro { grid-template-columns: minmax(0, 1fr); }
  .contact-intro .qr { justify-self: center; }
}

@media (hover: none) {
  .zoom-preview { inset: 0 auto auto 0; width: 100%; }
  .zoom-lens { visibility: hidden; }
}

@media (max-width: 355px) {
  .header-inner { width: calc(100% - 1.25rem); gap: .45rem; }
  .header-controls { gap: .3rem; }
  .brand .brand-crest { width: 1.95rem; }
  .language-form select { max-width: 4.45rem; }
  .product-summary h3 { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
