/* YIZHIMA — site prototype v2
   Palette: smoke (incense / black resin), resin (milky olibanum), amber (resin glow), bark, acacia.
   Type: Newsreader (display), Hanken Grotesk (text), DM Mono (specimen data). */

:root {
  --smoke: #1B1815;
  --smoke-2: #26221E;
  --smoke-3: #36302A;
  --resin: #F3EEE5;
  --resin-2: #E9E1D3;
  --bone: #FBF8F2;
  --amber: #B5832F;
  --amber-hi: #D9A85A;
  --amber-deep: #8A5F1E;
  --bark: #8C857A;
  --acacia: #6E7358;
  --ink: #1B1815;
  --ink-2: #5E574E;
  --line: rgba(27, 24, 21, .14);
  --line-d: rgba(243, 238, 229, .16);

  --serif: "Newsreader", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(20px, 4.4vw, 64px);
  --maxw: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* Chinese: CJK faces first so full-width punctuation (——, “”) sets correctly;
   numerals and Latin names keep the Latin display face. */
:lang(zh) {
  --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: var(--cjk);
  --sans: var(--cjk);
  --mono: "DM Mono", "PingFang SC", "Microsoft YaHei", monospace;
}
:lang(en) {
  --serif: "Newsreader", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
:lang(zh) em, :lang(zh) .entry__pos { font-style: normal; }
:lang(zh) :is(.callout b, .panel__ratio b, .step__n, .calc__out b, .gc__name, .coords b, .prod__latin, .facts dd i, .prod__price b) {
  font-family: "Newsreader", var(--cjk);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--resin); color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--resin); padding: 10px 16px; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* --- type primitives --------------------------------------------------- */
.label {
  font: 400 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
:lang(zh) .label { letter-spacing: .12em; }
.display {
  font-family: var(--serif); font-weight: 300; letter-spacing: -.022em;
  font-optical-sizing: auto; line-height: .98;
}
:lang(zh) .display { letter-spacing: 0; line-height: 1.18; font-weight: 300; }
.h2 { font-size: clamp(40px, 5.6vw, 84px); }
.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.on-dark .lede, .hero .lede { color: rgba(243, 238, 229, .8); }
em, .it { font-style: italic; }
.amber { color: var(--amber); }

/* --- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border: 1px solid currentColor; border-radius: 0;
  background: transparent; cursor: pointer; text-decoration: none;
  font: 500 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
:lang(zh) .btn { letter-spacing: .2em; font-size: 13.5px; }
.btn--solid { background: var(--resin); color: var(--smoke); border-color: var(--resin); }
.btn--solid:hover { background: var(--amber-hi); border-color: var(--amber-hi); }
.btn--ink { background: var(--smoke); color: var(--resin); border-color: var(--smoke); }
.btn--ink:hover { background: var(--amber-deep); border-color: var(--amber-deep); }
.btn--ghost:hover { background: rgba(243, 238, 229, .08); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 500 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 0; border-bottom: 1px solid currentColor;
}
:lang(zh) .link { letter-spacing: .2em; }

/* --- header ------------------------------------------------------------ */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--resin);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-solid { background: rgba(243, 238, 229, .94); color: var(--smoke); border-color: var(--line); backdrop-filter: blur(10px); }
.hdr__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.hdr__nav { display: flex; gap: 30px; }
.hdr__nav a, .hdr__tools a, .hdr__tools button {
  font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  background: none; border: 0; padding: 8px 0; cursor: pointer; position: relative;
}
:lang(zh) .hdr__nav a, :lang(zh) .hdr__tools a, :lang(zh) .hdr__tools button { letter-spacing: .18em; font-size: 13px; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.hdr__nav a:hover::after { right: 0; }
.hdr__brand { display: block; width: 148px; color: inherit; }
.hdr__brand svg { width: 100%; height: auto; fill: currentColor; }
.hdr__tools { display: flex; justify-content: flex-end; align-items: center; gap: 26px; }
.lang { display: inline-flex; align-items: center; gap: 6px; }
.lang button { opacity: .5; }
.lang button[aria-pressed="true"] { opacity: 1; }
.lang span { opacity: .4; }
.bagbtn .count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 5px;
  border: 1px solid currentColor; border-radius: 10px; font: 400 11px/1 var(--mono); letter-spacing: 0;
}
.menubtn { display: none; }

/* --- hero ---------------------------------------------------------------- */
.hero {
  position: relative; min-height: max(720px, 100svh); color: var(--resin); background: var(--smoke);
  display: grid; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.06); animation: drift 26s var(--ease) infinite alternate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 72% 58%, rgba(181, 131, 47, .28), transparent 70%),
    linear-gradient(90deg, rgba(27, 24, 21, .97) 0%, rgba(27, 24, 21, .9) 38%, rgba(27, 24, 21, .62) 62%, rgba(27, 24, 21, .4) 100%),
    linear-gradient(0deg, rgba(27, 24, 21, .95), transparent 38%);
}
.smoke { position: absolute; inset: -20% -10% 0 40%; z-index: -1; pointer-events: none; opacity: .5; filter: blur(30px); }
.smoke i { position: absolute; width: 38%; aspect-ratio: 1 / 2.4; border-radius: 50%; background: radial-gradient(closest-side, rgba(243, 238, 229, .16), transparent); animation: rise 18s linear infinite; }
.smoke i:nth-child(1) { left: 30%; bottom: -30%; }
.smoke i:nth-child(2) { left: 46%; bottom: -40%; animation-delay: -6s; animation-duration: 22s; }
.smoke i:nth-child(3) { left: 20%; bottom: -50%; animation-delay: -12s; animation-duration: 26s; }
@keyframes rise { from { transform: translate3d(0, 0, 0) scale(.8) rotate(0deg); opacity: 0; } 20% { opacity: 1; } to { transform: translate3d(8%, -95%, 0) scale(1.35) rotate(12deg); opacity: 0; } }
@keyframes drift { to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }

.hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 40px; padding: 128px 0 140px; }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; color: var(--amber-hi); margin-bottom: 30px; }
.hero__eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(54px, 8.4vw, 136px); max-width: 9.5em; }
:lang(zh) .hero h1 { font-size: clamp(44px, 6.6vw, 104px); }
.hero h1 em { color: var(--amber-hi); font-weight: 300; }
.hero .lede { margin-top: 34px; max-width: 31em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 44px; }
.hero__bottle { position: relative; justify-self: center; width: min(340px, 100%); }
.hero__bottle .bottle { width: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); animation: float 9s ease-in-out infinite alternate; }
.hero__bottle::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -4%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(217, 168, 90, .35), transparent); filter: blur(6px); }
@keyframes float { to { transform: translateY(-14px) rotate(-1deg); } }
.spec {
  position: absolute; inset: auto 0 0; border-top: 1px solid var(--line-d);
  color: rgba(243, 238, 229, .7);
}
.spec ul { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; overflow-x: auto; scrollbar-width: none; }
.spec li { white-space: nowrap; }
.spec li b { color: var(--resin); font-weight: 400; }

/* --- sections ------------------------------------------------------------- */
.sec { padding: clamp(88px, 11vw, 168px) 0; position: relative; }
.on-dark { background: var(--smoke); color: var(--resin); }
.on-dark .label { color: rgba(243, 238, 229, .6); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec__head .label { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; color: var(--ink-2); }
.on-dark .sec__head .label { color: rgba(243, 238, 229, .6); }
.sec__head .label b { color: var(--amber); font-weight: 400; }

/* manifesto */
.manifesto { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.manifesto__text { font: 300 clamp(30px, 3.5vw, 52px)/1.18 var(--serif); letter-spacing: -.012em; }
:lang(zh) .manifesto__text { line-height: 1.5; letter-spacing: .01em; font-size: clamp(24px, 2.7vw, 40px); }
.manifesto__text em { color: var(--amber-deep); }
.manifesto__sign { margin-top: 44px; display: flex; gap: 18px; align-items: center; color: var(--ink-2); }
.manifesto__sign svg { width: 22px; fill: var(--smoke); }
.entry { border-top: 1px solid var(--smoke); padding-top: 22px; }
.entry__word { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.entry__word svg { width: 168px; fill: var(--smoke); transform: translateY(3px); }
.entry__pron { font: 400 15px/1 var(--mono); color: var(--ink-2); }
.entry__pos { font: italic 400 17px/1 var(--serif); color: var(--ink-2); }
.entry ol { counter-reset: e; margin-top: 22px; }
.entry li { counter-increment: e; display: grid; grid-template-columns: 26px 1fr; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.entry li::before { content: counter(e) "."; font: 400 13px/1.8 var(--mono); color: var(--amber-deep); }
.entry blockquote { font: italic 300 22px/1.35 var(--serif); color: var(--ink); margin-bottom: 8px; }
:lang(zh) .entry blockquote { font-style: normal; font-size: 19px; line-height: 1.6; }

/* collection */
.coll { background: var(--bone); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.prod { display: flex; flex-direction: column; background: var(--resin); border: 1px solid var(--line); }
.prod__stage { position: relative; aspect-ratio: 4 / 4.6; display: grid; place-items: center; overflow: hidden; }
.bottle { aspect-ratio: 200 / 440; }
.box { aspect-ratio: 270 / 410; }
.prod__stage > div { height: 78%; display: flex; justify-content: center; }
.prod__stage .bottle, .prod__stage .box { height: 100%; width: auto; transition: transform .7s var(--ease); filter: drop-shadow(0 24px 30px rgba(27, 24, 21, .28)); }
.prod:hover .prod__stage .bottle, .prod:hover .prod__stage .box { transform: translateY(-8px) rotate(-1.5deg); }
.prod__stage--01 { background: radial-gradient(70% 60% at 50% 62%, #3A3128, var(--smoke) 75%); }
.prod__stage--02 { background: radial-gradient(70% 60% at 50% 62%, #FFFDF8, #E7DDCB 80%); }
.prod__stage--box { background: radial-gradient(70% 60% at 50% 62%, #C99A50, #8A5F1E 85%); }
.prod__tag { position: absolute; top: 18px; left: 18px; padding: 6px 10px; border: 1px solid currentColor; }
.prod__stage--01 .prod__tag, .prod__stage--box .prod__tag { color: var(--resin); }
.prod__body { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 28px; flex: 1; }
.prod__no { color: var(--amber-deep); }
.prod h3 { font: 300 32px/1.05 var(--serif); letter-spacing: -.01em; }
:lang(zh) .prod h3 { font-size: 27px; line-height: 1.3; }
.prod__latin { font: italic 400 17px/1.3 var(--serif); color: var(--ink-2); }
.prod__notes { color: var(--ink-2); font-size: 15px; }
.prod__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prod__price { font: 400 13px/1.3 var(--mono); color: var(--ink-2); }
.prod__price b { display: block; color: var(--ink); font-weight: 400; font-size: 14px; }
.prod .btn { min-height: 46px; padding: 0 18px; }

.compare { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 64px; }
.compare h3 { font: 300 clamp(28px, 3vw, 40px)/1.1 var(--serif); }
.compare p { color: var(--ink-2); margin-top: 16px; max-width: 26em; }
.seg { display: inline-flex; border: 1px solid var(--smoke); margin-bottom: 26px; }
.seg button { border: 0; background: none; padding: 12px 18px; cursor: pointer; font: 400 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.seg button[aria-pressed="true"] { background: var(--smoke); color: var(--resin); }
.meters { display: grid; gap: 0; }
.meter { display: grid; grid-template-columns: 150px 1fr 120px; gap: 18px; align-items: center; padding: 15px 0; border-top: 1px solid var(--line); }
.meter:last-child { border-bottom: 1px solid var(--line); }
.meter__bar { height: 3px; background: var(--resin-2); position: relative; }
.meter__bar i { position: absolute; inset: 0 auto 0 0; background: var(--smoke); transition: width .7s var(--ease); }
.meter__val { font-size: 14px; color: var(--ink-2); text-align: right; }
.profile-note { margin-top: 22px; font: italic 300 21px/1.4 var(--serif); }
:lang(zh) .profile-note { font-style: normal; font-size: 17px; }

/* origin */
.origin-hero { position: relative; height: clamp(520px, 88vh, 900px); overflow: hidden; color: var(--resin); }
.origin-hero img { position: absolute; inset: 0; width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.origin-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 24, 21, .1) 30%, rgba(27, 24, 21, .82)); }
.origin-hero .wrap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(40px, 6vw, 80px); }
.origin-hero .label { color: rgba(243, 238, 229, .82); margin-bottom: 20px; }
.origin-hero h2 { font-size: clamp(48px, 7.6vw, 124px); max-width: 10em; }
.coords { position: absolute; right: var(--gutter); top: 110px; z-index: 1; text-align: right; color: rgba(243, 238, 229, .9); text-shadow: 0 1px 18px rgba(0, 0, 0, .45); }
.coords b { display: block; font: 300 clamp(26px, 3vw, 42px)/1.1 var(--serif); color: var(--resin); letter-spacing: 0; text-transform: none; }

.origin-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); }
.origin-body .lede { color: var(--ink); font: 300 clamp(22px, 2.2vw, 30px)/1.4 var(--serif); max-width: none; }
:lang(zh) .origin-body .lede { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.7; }
.origin-body p + p { margin-top: 18px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--smoke); }
.facts div { padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 20px; }
.facts dt { color: var(--ink-2); margin-bottom: 8px; }
.facts dd { font: 300 24px/1.2 var(--serif); }
:lang(zh) .facts dd { font-size: 20px; }
.origin-pics { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(56px, 7vw, 96px); align-items: end; }
.origin-pics figure { position: relative; overflow: hidden; }
.origin-pics img { width: 100%; height: 100%; object-fit: cover; }
.origin-pics figure:first-child { aspect-ratio: 3 / 4; }
.origin-pics figure:last-child { aspect-ratio: 16 / 11; }
figcaption { margin-top: 12px; color: var(--ink-2); }

/* trace */
.trace { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-d); }
.step { padding: 26px 22px 0 0; border-right: 1px solid var(--line-d); margin-right: 22px; }
.step:last-child { border-right: 0; margin-right: 0; }
.step__n { font: 300 64px/1 var(--serif); color: var(--amber-hi); }
.step figure { margin: 24px 0 22px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--smoke-2); }
.step figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1s var(--ease); }
.step:hover figure img { transform: scale(1.05); }
.step h3 { font: 400 20px/1.25 var(--sans); margin-bottom: 10px; }
.step p { color: rgba(243, 238, 229, .66); font-size: 14.5px; }
.step .where { margin-top: 18px; color: var(--amber-hi); }
.qr { width: 100%; height: 100%; display: grid; place-items: center; background: var(--resin); }
.qr svg { width: 62%; }
.docs { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 12px; }
.docs li { padding: 10px 14px; border: 1px solid var(--line-d); color: rgba(243, 238, 229, .82); }

/* oil / science */
.oil { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.gc { border-top: 1px solid var(--smoke); }
.gc__row { display: grid; grid-template-columns: minmax(150px, 1.1fr) 2fr 72px; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.gc__name { font: 400 17px/1.3 var(--serif); }
.gc__bar { height: 26px; position: relative; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--line) calc(10% - 1px) 10%); }
.gc__bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--smoke); transition: width 1.4s var(--ease); }
.gc__row.is-key .gc__bar i { background: var(--amber); }
.gc__row.is-key .gc__name::after { content: " ●"; color: var(--amber); font-size: 11px; vertical-align: middle; }
.gc__pct { font: 400 15px/1 var(--mono); text-align: right; }
.gc__note { margin-top: 18px; color: var(--ink-2); font-size: 13.5px; max-width: 46em; }
.callouts { display: grid; gap: 0; }
.callout { padding: 28px 0; border-top: 1px solid var(--smoke); }
.callout:last-child { border-bottom: 1px solid var(--smoke); }
.callout b { display: block; font: 300 clamp(48px, 5vw, 76px)/1 var(--serif); letter-spacing: -.02em; margin-bottom: 12px; }
.callout b small { font-size: .42em; letter-spacing: 0; margin-left: 4px; }
.callout p { color: var(--ink-2); font-size: 15.5px; }

.unfold { margin-top: clamp(72px, 9vw, 128px); }
.unfold__band { height: 10px; background: linear-gradient(90deg, #E8DFC0, #D9A85A 36%, #8A5F1E 66%, var(--smoke)); }
.unfold__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.unfold__col { padding-top: 26px; position: relative; }
.unfold__col::before { content: ""; position: absolute; left: 0; top: -14px; width: 1px; height: 26px; background: var(--smoke); }
.unfold__col h4 { font: 300 34px/1.1 var(--serif); margin: 10px 0 12px; }
:lang(zh) .unfold__col h4 { font-size: 26px; }
.unfold__col p { color: var(--ink-2); font-size: 15.5px; max-width: 24em; }
.unfold__col .label { color: var(--amber-deep); }

/* rituals */
.rituals { background: var(--resin-2); }
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--smoke); overflow-x: auto; scrollbar-width: none; }
.tabs button {
  flex: 0 0 auto; background: none; border: 0; cursor: pointer; padding: 18px 26px 16px 0; margin-right: 18px;
  font: 300 clamp(26px, 3vw, 44px)/1 var(--serif); color: rgba(27, 24, 21, .38); position: relative;
}
.tabs button[aria-selected="true"] { color: var(--smoke); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 26px; bottom: -1px; height: 3px; background: var(--amber); }
.panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); padding-top: clamp(40px, 5vw, 64px); }
.panel[hidden] { display: none; }
.panel__ratio b { display: block; font: 300 clamp(64px, 8vw, 120px)/.95 var(--serif); letter-spacing: -.03em; }
:lang(zh) .panel__ratio b { font-size: clamp(54px, 6.4vw, 96px); }
.panel__ratio p { margin-top: 18px; color: var(--ink-2); max-width: 26em; }
.recipes { display: grid; gap: 0; }
.recipe { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.recipe:last-child { border-bottom: 1px solid var(--line); }
.recipe h4 { font: 400 19px/1.3 var(--serif); }
.recipe .label { color: var(--amber-deep); display: block; margin-bottom: 6px; }
.recipe ul li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 15px; }
.recipe ul li span:last-child { font: 400 13.5px/1.6 var(--mono); color: var(--ink-2); white-space: nowrap; }
.recipe p { grid-column: 2; font-size: 14px; color: var(--ink-2); }

.calc { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr); gap: 0; background: var(--bone); border: 1px solid var(--line); }
.calc > div { padding: 28px 28px 30px; border-right: 1px solid var(--line); }
.calc > div:last-child { border-right: 0; background: var(--smoke); color: var(--resin); }
.calc legend, .calc .label { margin-bottom: 14px; display: block; padding: 0; }
.calc fieldset { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 10px 14px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; transition: all .2s; }
.chips input:checked + span { background: var(--smoke); color: var(--resin); border-color: var(--smoke); }
.chips input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.calc__out b { display: block; font: 300 84px/1 var(--serif); letter-spacing: -.03em; }
.calc__out p { color: rgba(243, 238, 229, .66); font-size: 13.5px; margin-top: 10px; }

/* trade */
.trade-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 120px); }
.offer { border-top: 1px solid var(--line-d); }
.offer li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line-d); }
.offer li > span { font: 400 12px/1.9 var(--mono); color: var(--amber-hi); }
.offer h3 { font: 400 21px/1.3 var(--sans); margin-bottom: 6px; }
.offer p { color: rgba(243, 238, 229, .66); font-size: 15px; }
.form { background: var(--smoke-2); padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line-d); }
.form h3 { font: 300 34px/1.1 var(--serif); margin-bottom: 8px; }
.form > p { color: rgba(243, 238, 229, .6); font-size: 14px; margin-bottom: 26px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { color: rgba(243, 238, 229, .6); font: 400 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(243, 238, 229, .3); color: var(--resin);
  padding: 10px 0; min-height: 44px; border-radius: 0; outline: none; transition: border-color .2s;
}
.field textarea { min-height: 92px; resize: vertical; }
.field select option { color: var(--smoke); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber-hi); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.checks label { position: relative; }
.checks input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.checks span { display: inline-block; padding: 9px 13px; border: 1px solid rgba(243, 238, 229, .26); font-size: 13.5px; cursor: pointer; }
.checks input:checked + span { background: var(--resin); color: var(--smoke); border-color: var(--resin); }
.checks input:focus-visible + span { outline: 2px solid var(--amber-hi); outline-offset: 2px; }
.form__foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__status { font-size: 13.5px; color: var(--amber-hi); }
.proto { font: 400 11px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(243, 238, 229, .45); }

/* care */
.care { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.care h2 { font-size: clamp(36px, 4.2vw, 60px); }
.care ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--smoke); }
.care li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); display: grid; grid-template-columns: 30px 1fr; }
.care li::before { content: "—"; color: var(--amber-deep); }

/* footer */
.ftr { background: var(--smoke); color: var(--resin); padding: clamp(72px, 8vw, 120px) 0 28px; overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .7fr)); gap: 40px; }
.ftr h3 { font: 300 clamp(30px, 3vw, 44px)/1.12 var(--serif); max-width: 13em; }
.news { display: flex; margin-top: 28px; max-width: 460px; border-bottom: 1px solid rgba(243, 238, 229, .35); }
.news input { flex: 1; background: none; border: 0; padding: 14px 0; color: var(--resin); outline: none; min-width: 0; }
.news button { background: none; border: 0; color: var(--resin); cursor: pointer; padding: 0 0 0 12px; font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.news-status { margin-top: 10px; font-size: 13px; color: var(--amber-hi); min-height: 20px; }
.ftr__col .label { color: rgba(243, 238, 229, .5); display: block; margin-bottom: 16px; }
.ftr__col li { padding: 4px 0; }
.ftr__col a { text-decoration: none; color: rgba(243, 238, 229, .82); }
.ftr__col a:hover { color: var(--amber-hi); }
.ftr__mark { margin-top: clamp(64px, 9vw, 140px); }
.ftr__mark svg { width: 100%; height: auto; fill: var(--resin); opacity: .96; }
.ftr__base { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; color: rgba(243, 238, 229, .5); }

/* bag drawer */
.scrim { position: fixed; inset: 0; background: rgba(27, 24, 21, .5); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(440px, 100%); background: var(--resin);
  transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 300 30px/1 var(--serif); }
.x { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 26px; line-height: 1; }
.drawer__list { flex: 1; overflow: auto; padding: 8px 26px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line .thumb { height: 84px; display: grid; place-items: center; background: var(--bone); }
.line .thumb svg { height: 76px; width: auto; }
.line h4 { font: 400 18px/1.2 var(--serif); }
.line small { color: var(--ink-2); font-size: 13px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 34px; height: 34px; background: none; border: 0; cursor: pointer; }
.qty span { min-width: 22px; text-align: center; font: 400 13px/1 var(--mono); }
.empty { padding: 40px 0; color: var(--ink-2); }
.drawer__foot { padding: 22px 26px 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer__foot .btn { width: 100%; }
.drawer__foot .proto { color: var(--ink-2); text-align: center; }

/* mobile menu */
.mnav { position: fixed; inset: 0; z-index: 70; background: var(--smoke); color: var(--resin); padding: 96px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px; transform: translateY(-100%); transition: transform .45s var(--ease); visibility: hidden; }
.mnav.is-open { transform: none; visibility: visible; }
.mnav a { font: 300 44px/1.25 var(--serif); text-decoration: none; }
.mnav .lang { margin-top: auto; font: 500 13px/1 var(--sans); letter-spacing: .14em; }
.mnav .lang button { background: none; border: 0; padding: 12px 4px; cursor: pointer; }

/* reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* --- responsive --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .products { grid-template-columns: 1fr 1fr; }
  .prod--box { grid-column: 1 / -1; flex-direction: row; }
  .prod--box .prod__stage { flex: 1; aspect-ratio: auto; min-height: 340px; }
  .prod--box .prod__body { flex: 1; }
  .trace { grid-template-columns: repeat(5, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
  .step { scroll-snap-align: start; }
  .calc { grid-template-columns: 1fr 1fr; }
  .calc > div:last-child { grid-column: 1 / -1; }
  .ftr__top { grid-template-columns: 1fr 1fr 1fr; }
  .ftr__top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hdr__nav, .hdr__tools .lang, .hdr__tools .trade-link { display: none; }
  .hdr__in { grid-template-columns: 44px 1fr auto; }
  .hdr__brand { justify-self: center; width: 124px; }
  .menubtn { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: inherit; padding: 0; }
  .menubtn i { display: block; width: 22px; height: 1px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
  .hero__in { grid-template-columns: 1fr; padding: 112px 0 120px; gap: 28px; }
  .hero__bottle { width: min(230px, 60%); order: -1; justify-self: start; }
  .hero::before { background: radial-gradient(70% 40% at 30% 22%, rgba(181, 131, 47, .28), transparent 70%), linear-gradient(0deg, rgba(27, 24, 21, .97) 30%, rgba(27, 24, 21, .62)); }
  .sec__head, .manifesto, .compare, .origin-body, .oil, .panel, .trade-grid, .care { grid-template-columns: 1fr; }
  .meter { grid-template-columns: 110px 1fr 92px; gap: 12px; }
  .coords { top: 92px; }
  .unfold__grid { grid-template-columns: 1fr; gap: 0; }
  .unfold__col { padding: 26px 0 8px; }
  .unfold__col::before { display: none; }
  .care ul { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .products { grid-template-columns: 1fr; }
  .prod--box { flex-direction: column; }
  .prod--box .prod__stage { min-height: 0; aspect-ratio: 4 / 4.2; }
  .origin-pics { grid-template-columns: 1fr; }
  .origin-pics figure:first-child { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { padding-right: 0; }
  .gc__row { grid-template-columns: 1fr 64px; gap: 8px 12px; }
  .gc__bar { grid-column: 1 / -1; grid-row: 2; height: 14px; }
  .recipe { grid-template-columns: 1fr; gap: 10px; }
  .recipe p { grid-column: 1; }
  .calc { grid-template-columns: 1fr; }
  .calc > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .fgrid { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .spec ul { justify-content: flex-start; gap: 28px; }
  .hdr__tools { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* --- concierge (AI assistant + customer care) ------------------------------- */
.cg { position: fixed; right: 20px; bottom: 20px; z-index: 85; font-family: var(--sans); }
.cg-launch {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 16px; border: 0; cursor: pointer; position: relative;
  background: var(--smoke); color: var(--resin); box-shadow: 0 12px 30px rgba(27, 24, 21, .28);
  font: 500 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: transform .25s var(--ease), background .25s;
}
:lang(zh) .cg-launch { letter-spacing: .2em; font-size: 13.5px; }
.cg-launch:hover { background: var(--smoke-3); transform: translateY(-2px); }
.cg-sym svg, .cg-avatar svg { height: 22px; width: auto; aspect-ratio: 100 / 140; fill: var(--amber-hi); }
.cg-dot { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber-hi); box-shadow: 0 0 0 3px var(--smoke); }
.cg.is-open .cg-launch { display: none; }
.cg-panel {
  position: fixed; right: 20px; bottom: 20px; width: min(400px, calc(100vw - 40px)); height: min(640px, calc(100vh - 40px)); height: min(640px, calc(100dvh - 40px));
  display: flex; flex-direction: column; background: var(--resin); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(27, 24, 21, .35);
}
.cg-panel[hidden] { display: none; }
.cg-head { display: grid; grid-template-columns: 40px 1fr auto 40px; gap: 10px; align-items: center; padding: 14px 10px 14px 16px; background: var(--smoke); color: var(--resin); }
.cg-avatar { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-d); border-radius: 50%; }
.cg-head h2 { font: 400 19px/1.2 var(--serif); }
.cg-status { font: 400 11px/1.4 var(--mono); letter-spacing: .04em; color: rgba(243, 238, 229, .64); margin-top: 2px; }
.cg-restart { background: none; border: 1px solid var(--line-d); color: rgba(243, 238, 229, .8); font: 400 11px/1 var(--mono); padding: 7px 8px; cursor: pointer; }
.cg-restart[hidden] { display: none; }
.cg-x { width: 40px; height: 40px; border: 0; background: none; color: var(--resin); font-size: 24px; cursor: pointer; }
.cg-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.cg-msg { max-width: 86%; display: flex; flex-direction: column; gap: 6px; }
.cg-msg p { padding: 11px 14px; font-size: 14.5px; line-height: 1.55; background: var(--bone); border: 1px solid var(--line); }
.cg-msg--customer { align-self: flex-end; }
.cg-msg--customer p { background: var(--smoke); color: var(--resin); border-color: var(--smoke); }
.cg-msg--agent p { border-left: 3px solid var(--amber); }
.cg-tag { font: 400 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.cg-tag--agent { color: var(--amber-deep); }
.cg-more { align-self: flex-start; font: 400 12px var(--mono); color: var(--amber-deep); text-decoration: none; }
.cg-sys { align-self: center; text-align: center; max-width: 92%; font-size: 12.5px; color: var(--ink-2); padding: 8px 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cg-card { padding: 12px 14px; background: var(--resin-2); font-size: 13.5px; display: grid; gap: 6px; }
.cg-card p { padding: 0; border: 0; background: none; font-size: 13.5px; }
.cg-card .label { color: var(--amber-deep); }
.cg-card .link { justify-self: start; font-size: 11px; padding: 4px 0; }
.cg-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.cg-chips button { border: 1px solid var(--smoke); background: transparent; padding: 8px 12px; font-size: 13px; cursor: pointer; transition: background .2s, color .2s; }
.cg-chips button:hover { background: var(--smoke); color: var(--resin); }
.cg-hand { display: grid; gap: 10px; padding: 14px; background: var(--bone); border: 1px solid var(--amber); }
.cg-hand p { font-size: 13.5px; }
.cg-hand label { display: grid; gap: 4px; font: 400 10.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.cg-hand input { border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 8px 0; font: 400 15px var(--sans); color: var(--ink); outline: none; text-transform: none; letter-spacing: 0; }
.cg-hand input:focus { border-color: var(--amber); }
.cg-hand div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.cg-hand .btn { min-height: 42px; padding: 0 16px; }
.cg-skip { background: none; border: 0; text-decoration: underline; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.cg-typing p { display: flex; gap: 5px; padding: 15px 16px; }
.cg-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--bark); animation: cgdot 1s infinite ease-in-out; }
.cg-typing i:nth-child(2) { animation-delay: .15s; } .cg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cgdot { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.cg-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--bone); }
.cg-form textarea { flex: 1; resize: none; border: 0; background: transparent; padding: 10px 4px; font: 400 15px/1.45 var(--sans); max-height: 120px; outline: none; color: var(--ink); }
.cg-send { width: 44px; height: 44px; border: 0; background: var(--smoke); color: var(--resin); font-size: 18px; cursor: pointer; }
.cg-send:hover { background: var(--amber-deep); }
.cg-note { padding: 6px 14px 10px; font-size: 11px; color: var(--ink-2); background: var(--bone); }
@media (max-width: 600px) {
  .cg { right: 14px; bottom: 14px; }
  .cg-launch { padding: 0 16px 0 12px; height: 48px; }
  .cg-panel { inset: 0; width: 100%; height: 100%; border: 0; }
}
