/* Gentle Hearth · 川香静庐 — design system
 * North star: a lacquer night kitchen over rice paper. Red appears only where the heat rises.
 * Fonts: /assets/css/fonts.css (Archivo variable + Noto Serif SC subset, self-hosted).
 * CSP: style-src 'self' — no inline styles anywhere; JS sets CSSOM properties only. */

/* ------------------------------------------------------------------ tokens */
:root {
  --rice: #F3ECDF;
  --steam: #FBF7F0;
  --ink: #16110E;
  --ink-2: #221A15;
  --chili: #B8281B;
  --chili-d: #9F2116;
  --seal: #E0452B;
  --ox: #6A140E;
  --hj: #4E6A2E;
  --sesame: #E9D8B4;
  --kraft: #C9A77C;
  --enamel: #FDFCF8;
  --cobalt: #2A4B8D;
  --smoke: #675B52;
  --n-muted: #B5A898;
  --heat-0: #EDE3CF;
  --heat-1: #F0B98A;
  --heat-2: #DF6A3A;
  --heat-3: #9E1F14;
  --hero-heat-0: #F3ECDF;
  --hero-heat-1: #F0B98A;
  --hero-heat-2: #EE7A45;
  --hero-heat-3: #F2583A;

  /* semantic (paper) */
  --bg: var(--rice);
  --surface: var(--steam);
  --surface-2: #EAE0CF;
  --fg: var(--ink);
  --fg-2: #3A302A;
  --muted: var(--smoke);
  --rule: rgba(22, 17, 14, .14);
  --rule-strong: rgba(22, 17, 14, .55);
  --accent: var(--chili);
  --accent-fg: var(--steam);
  --link: var(--chili);
  --hj-text: var(--hj);
  --kraft-bg: var(--kraft);

  --f-ui: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-zh: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  --gutter: clamp(16px, 4.4vw, 64px);
  --max: 1360px;
  --measure: 42rem;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1B1511;
    --surface: #241C17;
    --surface-2: #2C231D;
    --fg: #F3ECDF;
    --fg-2: #D9CFC2;
    --muted: #B5A898;
    --rule: rgba(243, 236, 223, .14);
    --rule-strong: rgba(243, 236, 223, .5);
    --accent: #E5553A;
    --accent-fg: #16110E;
    --link: #F07A5C;
    --hj-text: #9DBE6A;
    --kraft-bg: #6B5539;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1B1511;
  --surface: #241C17;
  --surface-2: #2C231D;
  --fg: #F3ECDF;
  --fg-2: #D9CFC2;
  --muted: #B5A898;
  --rule: rgba(243, 236, 223, .14);
  --rule-strong: rgba(243, 236, 223, .5);
  --accent: #E5553A;
  --accent-fg: #16110E;
  --link: #F07A5C;
  --hj-text: #9DBE6A;
  --kraft-bg: #6B5539;
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-ui);
  font-size: 17px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[lang|="zh"] { font-family: var(--f-zh); word-break: keep-all; line-break: strict; }
[lang="zh-Latn-pinyin"] { font-family: var(--f-ui); }
.gh-pinyin { font-family: var(--f-ui); font-weight: 600; letter-spacing: .01em; }
.visually-hidden, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.fr { font-variant-numeric: diagonal-fractions tabular-nums; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.gh-header :focus-visible, .gh-hero :focus-visible, .gh-footer :focus-visible, .gh-band--ink :focus-visible, .gh-menu :focus-visible { outline-color: var(--rice); }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 60;
  background: var(--rice); color: var(--ink); padding: 10px 14px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.gh-kicker, .gh-eyebrow {
  margin: 0 0 16px;
  font-size: 12.5px; font-weight: 650; font-stretch: 80%;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}

/* ------------------------------------------------------------------ mark + header */
.gh-mark { width: 30px; height: 30px; flex: none; }
.gh-header {
  position: relative; z-index: 20;
  display: flex; align-items: center; gap: 20px;
  padding: 18px var(--gutter);
  background: var(--ink); color: var(--rice);
}
.gh-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; margin: 0; flex: none; }
.gh-brand__en { font-weight: 780; font-stretch: 88%; font-size: 19px; letter-spacing: -.005em; white-space: nowrap; }
.gh-brand__zh { font-weight: 500; font-size: 14px; letter-spacing: .28em; opacity: .74; padding-left: 12px; border-left: 1px solid rgba(243, 236, 223, .28); white-space: nowrap; }
.gh-nav { margin-left: auto; }
.gh-nav ul { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.gh-nav a {
  display: block; padding: 10px 11px; text-decoration: none;
  font-size: 14.5px; font-weight: 560; letter-spacing: .01em;
  color: rgba(243, 236, 223, .84);
}
.gh-nav a:hover { color: var(--rice); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.gh-nav a[aria-current="page"] { color: var(--rice); text-decoration: underline; text-decoration-color: var(--seal); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.gh-menu-btn {
  display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  background: transparent; border: 1.5px solid rgba(243, 236, 223, .4); color: var(--rice);
  font-weight: 650; font-size: 14px; cursor: pointer;
}
.gh-menu-btn svg { width: 18px; height: 18px; }

/* the modal menu (JS only) */
.gh-menu { border: 0; padding: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: var(--ink); color: var(--rice); overscroll-behavior: contain; }
html:has(.gh-menu[open]) { overflow: hidden; }
.gh-menu::backdrop { background: rgba(0, 0, 0, .6); }
.gh-menu__inner { padding: 16px var(--gutter) 40px; }
.gh-menu__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gh-menu__close { min-height: 44px; padding: 0 16px; background: transparent; border: 1.5px solid rgba(243, 236, 223, .4); color: var(--rice); font-weight: 650; cursor: pointer; }
.gh-menu ul { list-style: none; margin: 32px 0 0; padding: 0; }
.gh-menu li a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(243, 236, 223, .14); text-decoration: none; font-weight: 820; font-stretch: 75%; font-size: 32px; line-height: 1.1; text-transform: uppercase; }
.gh-menu li a span { font-weight: 900; font-size: 26px; color: var(--n-muted); }

/* ------------------------------------------------------------------ buttons + links */
.gh-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 22px;
  font-weight: 680; font-size: 16px; letter-spacing: .005em; line-height: 1.2; text-decoration: none; text-align: center;
  background: var(--chili); color: var(--steam);
  border: 1.5px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.gh-button:hover { background: var(--chili-d); }
.gh-button svg { width: 22px; height: 12px; flex: none; transition: transform .25s var(--ease); }
.gh-button:hover svg { transform: translateX(4px); }
.gh-button--ghost { background: transparent; border-color: currentColor; color: inherit; }
.gh-button--ghost:hover { background: rgba(127, 110, 95, .1); }
.gh-hero .gh-button--ghost { border-color: rgba(243, 236, 223, .5); color: var(--rice); }
.gh-hero .gh-button--ghost:hover { border-color: var(--rice); background: rgba(243, 236, 223, .06); }
.gh-button--ink { background: var(--fg); color: var(--bg); }
.gh-button--ink:hover { background: var(--fg-2); }
.gh-button--light { background: var(--rice); color: var(--ink); }
.gh-button--light:hover { background: #fff; }
.gh-button--small { min-height: 44px; padding: 0 16px; font-size: 15px; }
.gh-link { color: var(--link); font-weight: 650; text-underline-offset: 4px; }
.gh-link:hover { text-decoration-thickness: 2px; }
.gh-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ seals: 待试 draft / 已试 cooked */
.gh-seal {
  display: inline-grid; place-items: center;
  font-family: var(--f-zh); font-weight: 900; font-size: 13px; line-height: 1; letter-spacing: .06em;
  padding: 3px 4px 2px; margin-right: 6px; vertical-align: .1em;
  -webkit-mask: url(/assets/img/seal-mask.svg) center / 100% 100%;
  mask: url(/assets/img/seal-mask.svg) center / 100% 100%;
}
.gh-seal--draft { color: var(--accent); border: 1.5px solid currentColor; }
.gh-seal--cooked { color: var(--steam); background: var(--chili); border: 1.5px solid var(--chili); }
.gh-seal--big { font-size: 22px; width: 52px; height: 52px; padding: 0; writing-mode: vertical-rl; letter-spacing: .1em; }
.gh-draftnote { display: flow-root; font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.gh-draftnote > .gh-seal { float: left; margin: 0 10px 2px 0; }

/* ------------------------------------------------------------------ pips (麻) */
.gh-pips { display: inline-flex; gap: 4px; vertical-align: middle; }
.gh-pips i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--hj-text); }
.gh-pips[data-pips="1"] i:nth-child(-n+1), .gh-pips[data-pips="2"] i:nth-child(-n+2), .gh-pips[data-pips="3"] i { background: var(--hj-text); }

/* ------------------------------------------------------------------ the hero: night kitchen */
.gh-hero {
  --h: 2;
  position: relative; isolation: isolate;
  min-height: max(760px, min(calc(100svh - 76px), 980px));
  padding: 28px var(--gutter) 44px;
  display: grid;
  grid-template-columns: minmax(0, 29rem) minmax(0, 1fr) auto;
  grid-template-areas: "left bowl name";
  align-items: center;
  column-gap: clamp(24px, 3.4vw, 56px);
  color: var(--rice);
  background: radial-gradient(70% 85% at 60% 50%, transparent 30%, rgba(5, 3, 2, .72) 100%), var(--ink);
  overflow: hidden;
  overflow: clip; /* clip, unlike hidden, keeps the landscape bowl's position: sticky working */
}
.gh-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(/assets/img/grain.png); opacity: .06; mix-blend-mode: screen;
}
.gh-hero__left { grid-area: left; display: flex; flex-direction: column; align-self: center; }
.gh-hero .gh-kicker { color: var(--n-muted); margin-bottom: 14px; }
.gh-hero h1 {
  margin: 0;
  font-weight: 860; font-stretch: 68%;
  font-size: clamp(3.4rem, 6.1vw, 5.6rem);
  line-height: .88; letter-spacing: -.008em;
  text-transform: uppercase; color: var(--rice);
  max-width: 6.2em;
}
.gh-hero__line { margin: 16px 0 0; max-width: 27rem; font-size: 17.5px; line-height: 1.45; color: rgba(243, 236, 223, .82); }
.gh-hero__line strong { color: var(--rice); font-weight: 700; }

.gh-hero__bowl { grid-area: bowl; margin: 0; position: relative; justify-self: center; width: min(100%, calc(100svh - 150px), 700px); min-width: 0; }
.gh-hero__pool {
  position: absolute; inset: -38%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side at 47% 45%, rgba(255, 206, 150, .3), rgba(255, 176, 104, .12) 42%, rgba(255, 150, 80, .04) 70%, transparent 100%);
}
.gh-hero__pool::after {
  content: ""; position: absolute; inset: 26%;
  background: radial-gradient(closest-side, rgba(232, 72, 36, .26), transparent 72%);
  opacity: .66; transition: opacity .8s var(--ease);
}
.gh-hero[data-h="0"] .gh-hero__pool::after { opacity: 0; }
.gh-hero[data-h="1"] .gh-hero__pool::after { opacity: .33; }
.gh-hero[data-h="3"] .gh-hero__pool::after { opacity: 1; }
.gh-hero__bowl .gh-bowl { width: 100%; height: auto; overflow: visible; }
.gh-hero__caption { margin: 6px auto 0; max-width: 34rem; text-align: center; font-size: 13.5px; line-height: 1.4; color: var(--n-muted); }
.gh-hero__caption b { color: var(--rice); font-weight: 650; }
.gh-sticker {
  position: absolute; right: 1%; top: 5%; z-index: 2; margin: 0;
  width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-content: center; justify-items: center; gap: 2px;
  background: var(--steam); color: var(--ink);
  transform: rotate(-12deg);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
  font-weight: 820; font-stretch: 78%; text-transform: uppercase; line-height: 1; font-size: 12.5px; letter-spacing: .06em;
}
.gh-sticker span { display: flex; align-items: baseline; gap: 5px; }
.gh-sticker b { font-size: 30px; font-stretch: 90%; letter-spacing: 0; }
.gh-sticker i { display: block; width: 62px; border-top: 2px solid var(--chili); }

/* dish name set like a menu board */
.gh-dishname {
  grid-area: name; align-self: center;
  writing-mode: vertical-rl;
  margin: 0; display: flex; gap: 12px; align-items: flex-start;
  color: var(--rice);
}
.gh-dishname .zh { font-weight: 900; font-size: clamp(60px, 8.6vh, 110px); line-height: 1; letter-spacing: .06em; }
.gh-dishname .swap { display: inline-block; transition: opacity .22s ease, filter .22s ease; }
.gh-dishname .swap.out { opacity: 0; filter: blur(6px); }
.gh-dishname .py, .gh-dishname .en { font-family: var(--f-ui); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--n-muted); padding-top: 8px; }
.gh-dishname .py { color: var(--rice); font-weight: 600; letter-spacing: .14em; text-transform: none; font-size: 15px; }

/* the dial */
.gh-dial { margin-top: 18px; }
.gh-readout { display: flex; align-items: center; gap: 18px; }
.gh-heatword { font-weight: 900; font-size: 84px; line-height: 1; letter-spacing: .02em; color: var(--hero-heat-2); transition: color .5s var(--ease); }
.gh-hero[data-h="0"] .gh-heatword { color: var(--hero-heat-0); }
.gh-hero[data-h="1"] .gh-heatword { color: var(--hero-heat-1); }
.gh-hero[data-h="3"] .gh-heatword { color: var(--hero-heat-3); }
.gh-heatgloss { display: grid; gap: 1px; }
.gh-heatgloss .py { font-size: 20px; font-weight: 640; color: var(--rice); }
.gh-heatgloss .en { font-size: 15px; color: var(--n-muted); }
.gh-ma { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; color: var(--n-muted); }
.gh-ma__k { font-weight: 900; color: #A9C77C; font-size: 15px; }
.gh-ma [data-ma] { color: var(--rice); font-weight: 500; }
.gh-hero .gh-pips i { border-color: #8FAF5E; }
.gh-hero .gh-pips[data-pips="1"] i:nth-child(-n+1), .gh-hero .gh-pips[data-pips="2"] i:nth-child(-n+2), .gh-hero .gh-pips[data-pips="3"] i { background: #8FAF5E; }

.gh-dial__label { display: block; margin: 16px 0 0; font-size: 12.5px; font-weight: 650; font-stretch: 80%; letter-spacing: .16em; text-transform: uppercase; color: var(--n-muted); }
.gh-range-wrap { --thumb: 40px; position: relative; }
.gh-range {
  --h: 2;
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; height: 50px; margin: 0; background: transparent; cursor: pointer;
}
.gh-range::-webkit-slider-runnable-track {
  height: 50px;
  background:
    radial-gradient(circle, rgba(243, 236, 223, .6) 0 2.5px, transparent 3px) calc(var(--thumb) / 2 - 3px) 50% / calc((100% - var(--thumb)) / 3) 6px repeat-x,
    linear-gradient(var(--seal), var(--seal)) calc(var(--thumb) / 2) 50% / calc((100% - var(--thumb)) * var(--h) / 3) 4px no-repeat,
    linear-gradient(rgba(243, 236, 223, .26), rgba(243, 236, 223, .26)) calc(var(--thumb) / 2) 50% / calc(100% - var(--thumb)) 2px no-repeat;
}
.gh-range::-moz-range-track { height: 2px; background: rgba(243, 236, 223, .26); }
.gh-range::-moz-range-progress { height: 4px; background: var(--seal); }
.gh-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: var(--thumb); height: var(--thumb); margin-top: 5px; border-radius: 50%; border: 0;
  background:
    radial-gradient(circle at 60% 39%, #FFD2A6 0 1.2px, #E0452B 2px 5.8px, #9E1F14 6.6px, transparent 7.2px),
    radial-gradient(circle, #FDFCF8 0 13.5px, #2A4B8D 14px 18.6px, transparent 19.2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .55), 0 0 0 7px rgba(255, 190, 120, .1);
  transition: transform .2s var(--ease);
}
.gh-range::-moz-range-thumb {
  width: var(--thumb); height: var(--thumb); border-radius: 50%; border: 0;
  background:
    radial-gradient(circle at 60% 39%, #E0452B 0 5.8px, transparent 6.6px),
    radial-gradient(circle, #FDFCF8 0 13.5px, #2A4B8D 14px 18.6px, transparent 19.2px);
}
.gh-range:active::-webkit-slider-thumb { transform: scale(1.08); }
.gh-range:focus-visible { outline: 2px solid var(--rice); outline-offset: 4px; border-radius: 26px; }

.gh-ticks {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-inline: calc(var(--thumb) / 2 - (100% - var(--thumb)) / 6);
}
.gh-ticks li { display: grid; }
.gh-ticks button, .gh-ticks .tick {
  display: grid; justify-items: center; align-content: start; gap: 0;
  min-height: 48px; min-width: 44px; padding: 2px 0 4px;
  background: none; border: 0; cursor: pointer; text-align: center;
}
.gh-ticks b { font-family: var(--f-zh); font-weight: 900; font-size: 19px; line-height: 1.25; }
.gh-ticks span { font-size: 12.5px; font-weight: 600; }
.gh-ticks em { font-style: normal; font-size: 11.5px; color: rgba(243, 236, 223, .74); }
.gh-ticks b, .gh-ticks span { opacity: .6; transition: opacity .3s; }
.gh-ticks .on b, .gh-ticks .on span { opacity: 1; }
.gh-ticks .on b { color: var(--rice); text-decoration: underline; text-decoration-color: var(--seal); text-underline-offset: 7px; text-decoration-thickness: 2px; }
.gh-ticks button:hover :is(b, span) { opacity: .9; }
.gh-ticks .tick, .gh-ticks button:disabled, .gh-range:disabled { cursor: default; }
.gh-dial__noscript { margin: 8px 0 0; font-size: 13.5px; color: rgba(243, 236, 223, .74); }

.gh-perbowl { margin-top: 12px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: start; padding-top: 14px; border-top: 1px solid rgba(243, 236, 223, .14); }
.gh-perbowl__k { display: block; font-size: 12.5px; font-weight: 650; font-stretch: 80%; letter-spacing: .16em; text-transform: uppercase; color: var(--n-muted); margin-bottom: 6px; }
.gh-amounts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-height: 5.2em; }
.gh-amounts li { display: grid; grid-template-columns: 4.6em 1fr; align-items: baseline; gap: 10px; font-size: 16.5px; line-height: 1.3; color: var(--rice); }
.gh-amounts .n { font-weight: 860; font-stretch: 72%; font-size: 26px; line-height: 1; white-space: nowrap; }
.gh-amounts .n small { font-size: 12px; font-weight: 750; font-stretch: 90%; letter-spacing: .08em; color: var(--seal); margin-left: 3px; }
.gh-amounts .clear { grid-template-columns: 1fr; font-size: 17px; }
.gh-amounts .clear b { font-family: var(--f-zh); font-weight: 900; font-size: 22px; margin-right: 8px; }
.gh-draftstamp { margin: 0; display: grid; justify-items: center; gap: 6px; text-align: center; }
.gh-draftstamp b { display: block; color: var(--seal); font-weight: 700; font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; font-size: 10.5px; }
.gh-hero .gh-seal--draft { color: var(--seal); }

.gh-tray-strip { margin: 14px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.gh-tray-strip__k { font-size: 11.5px; font-weight: 750; font-stretch: 80%; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--kraft); padding: 4px 8px 3px; white-space: nowrap; }
.gh-tray-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: rgba(243, 236, 223, .84); }
.gh-tray-strip li { display: inline-flex; align-items: center; gap: 6px; }
.gh-tray-strip li i { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px rgba(253, 252, 248, .7); }
.gh-tray-strip .d-oil { background: #B8281B; }
.gh-tray-strip .d-hj { background: #7B5A35; }
.gh-tray-strip .d-vin { background: #2A1A12; }
.gh-tray-strip .d-sc { background: #7FB04A; }
.gh-hero .gh-ctas { margin-top: 20px; }
.gh-hero__note { margin: 12px 0 0; font-size: 13.5px; color: var(--n-muted); }
.gh-hero__note .gh-ma__k { font-size: 14px; }

/* ------------------------------------------------------------------ paper sections */
.gh-paper { position: relative; background: var(--bg); color: var(--fg); }
.gh-paper--edge::after {
  content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 10px; background: var(--bg);
  -webkit-mask: conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) 0 0 / 14px 10px repeat-x;
  mask: conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) 0 0 / 14px 10px repeat-x;
}
.gh-section { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 128px) var(--gutter); }
.gh-section + .gh-section { border-top: 1px solid var(--rule); }
.gh-sec-head { max-width: 46rem; }
.gh-paper h2, .gh-h2 {
  margin: 0; font-weight: 860; font-stretch: 72%; text-transform: uppercase;
  font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: .94; letter-spacing: -.01em;
}
.gh-lede { font-size: 19px; line-height: 1.5; max-width: 38rem; margin: 20px 0 0; color: var(--fg-2); }

/* how it works */
.gh-moves { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 72px); }
.gh-move { display: grid; gap: 24px; align-content: start; }
.gh-move__art img { margin: 0 auto; }
.gh-move__art .pot { width: min(100%, 340px); }
.gh-move__n { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; }
.gh-num { font-weight: 800; font-size: 13px; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-grid; place-items: center; align-self: center; flex: none; }
.gh-move__zh { font-family: var(--f-zh); font-weight: 900; font-size: 30px; line-height: 1; }
.gh-move__py { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.gh-move h3, .gh-finish h3 { margin: 0; font-weight: 820; font-stretch: 78%; font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.gh-move p:not(.gh-move__n), .gh-finish__head p:not(.gh-move__n) { margin: 10px 0 0; max-width: 34rem; color: var(--fg-2); }
.gh-traykey { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; font-size: 13px; line-height: 1.3; color: var(--fg-2); text-align: center; }
.gh-traykey b { display: block; font-family: var(--f-zh); font-weight: 900; font-size: 20px; color: var(--fg); }
.gh-traykey span { display: block; font-weight: 650; font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }

/* the four bowls on a kraft band */
.gh-finish { margin-top: clamp(64px, 8vw, 110px); }
.gh-finish__head { display: grid; grid-template-columns: minmax(0, 36rem) auto; justify-content: space-between; align-items: end; gap: 24px; }
.gh-rungs {
  list-style: none; margin: 36px calc(var(--gutter) * -1) 0; padding: 40px var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.4vw, 32px);
  background: var(--kraft-bg);
  background-image: url(/assets/img/grain.png); background-blend-mode: multiply;
}
.gh-rung { display: grid; gap: 0; align-content: start; }
.gh-rung img { width: min(100%, 260px); margin: 0 auto -18px; position: relative; z-index: 1; filter: drop-shadow(0 16px 18px rgba(60, 35, 10, .35)); }
.gh-rung__tag { background: var(--steam); color: var(--ink); padding: 26px 16px 16px; box-shadow: 0 16px 28px -18px rgba(60, 35, 10, .6); position: relative; }
.gh-rung__tag::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--heat-0); }
.gh-rung[data-v="1"] .gh-rung__tag::before { background: var(--heat-1); }
.gh-rung[data-v="2"] .gh-rung__tag::before { background: var(--heat-2); }
.gh-rung[data-v="3"] .gh-rung__tag::before { background: var(--heat-3); }
.gh-rung__word { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.gh-rung__word b { font-family: var(--f-zh); font-weight: 900; font-size: 30px; line-height: 1.1; }
.gh-rung[data-v="3"] .gh-rung__word b { color: var(--chili); }
.gh-rung__word span { font-weight: 650; font-size: 14px; }
.gh-rung__word em { font-style: normal; font-size: 13.5px; color: var(--smoke); width: 100%; }
.gh-rung__ma { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); }
.gh-rung__ma .gh-pips i { border-color: var(--hj); }
.gh-rung__ma .gh-pips[data-pips="1"] i:nth-child(-n+1), .gh-rung__ma .gh-pips[data-pips="2"] i:nth-child(-n+2), .gh-rung__ma .gh-pips[data-pips="3"] i { background: var(--hj); }
.gh-rung__amt { margin: 10px 0 0; font-size: 14.5px; line-height: 1.4; font-weight: 520; border-top: 1px solid rgba(22, 17, 14, .16); padding-top: 10px; }
.gh-finish__foot { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.gh-honest { font-size: 17px; font-weight: 600; max-width: 40rem; margin: 0; }

/* pantry decoder (on an ink band) */
.gh-band--ink { background: var(--ink); color: var(--rice); }
.gh-band--ink .gh-kicker { color: var(--seal); }
.gh-band--ink .gh-lede { color: rgba(243, 236, 223, .8); }
.gh-decoder { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.gh-jar {
  position: relative; justify-self: center;
  background: linear-gradient(180deg, #D6B98F, #C9A77C 60%, #C19D71);
  padding: 46px 40px 26px; color: var(--ink);
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .7);
  clip-path: polygon(0 10px, 5% 0, 10% 10px, 15% 0, 20% 10px, 25% 0, 30% 10px, 35% 0, 40% 10px, 45% 0, 50% 10px, 55% 0, 60% 10px, 65% 0, 70% 10px, 75% 0, 80% 10px, 85% 0, 90% 10px, 95% 0, 100% 10px, 100% 100%, 0 100%);
  isolation: isolate;
}
.gh-jar::after { content: ""; position: absolute; inset: 0; background: url(/assets/img/grain.png); opacity: .16; mix-blend-mode: multiply; z-index: -1; pointer-events: none; }
.gh-jar__inner { display: grid; grid-template-columns: auto auto; gap: 30px; align-items: stretch; border: 2px solid var(--chili); padding: 24px 30px 24px 24px; }
.gh-jar__zh { writing-mode: vertical-rl; margin: 0; font-weight: 900; font-size: clamp(76px, 7.6vw, 112px); line-height: 1; color: var(--ink); }
.gh-gloss-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: 1fr 1fr 2fr; font-size: 15px; line-height: 1.25; }
.gh-gloss-list li { display: flex; flex-direction: column; justify-content: center; padding-left: 16px; position: relative; }
.gh-gloss-list li::after { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; border-left: 1.5px solid rgba(22, 17, 14, .55); }
.gh-gloss-list li::before { content: ""; position: absolute; left: -26px; top: 50%; width: 26px; border-top: 1.5px solid rgba(22, 17, 14, .55); }
.gh-gloss-list b { font-family: var(--f-zh); font-weight: 900; font-size: 24px; color: var(--ox); line-height: 1.1; }
.gh-gloss-list span { font-weight: 700; font-size: 17px; }
.gh-jar__foot { margin: 16px 0 0; font-size: 12px; font-weight: 700; font-stretch: 85%; letter-spacing: .12em; text-transform: uppercase; }
.gh-cues { list-style: none; margin: 28px 0 0; padding: 0; display: grid; }
.gh-cues li { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 15px 0; border-top: 1px solid rgba(243, 236, 223, .16); font-size: 18px; }
.gh-cues li:last-child { border-bottom: 1px solid rgba(243, 236, 223, .16); }
.gh-cues p { margin: 0; }
.gh-cues b { font-family: var(--f-zh); font-weight: 900; font-size: 21px; }
.gh-cues .gl { font-size: 14px; color: var(--n-muted); font-weight: 600; }
.gh-cues .gh-num { margin-top: 2px; }
.gh-decoder__aside { font-size: 14.5px; color: var(--n-muted); margin: 18px 0 26px; max-width: 34rem; }

/* kitchen log */
.gh-log { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; max-width: 46rem; }
.gh-log li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 14px 0; border-top: 1px solid var(--rule); font-size: 17px; }
.gh-log li:last-child { border-bottom: 1px solid var(--rule); }
.gh-log__dish { font-weight: 650; }
.gh-log__dish [lang] { font-weight: 500; color: var(--muted); margin-left: 6px; }
.gh-log__stove { font-size: 14px; color: var(--muted); }
.gh-log__state { margin-left: auto; font-size: 12.5px; font-weight: 700; font-stretch: 85%; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gh-log time { margin-left: auto; color: var(--muted); font-size: 15px; }
.gh-log__note { font-size: 15px; color: var(--muted); margin: 16px 0 0; max-width: 40rem; }
.gh-stove { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }

/* shelf */
.gh-products { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.gh-product { display: grid; grid-template-rows: auto 1fr; gap: 24px; }
.gh-obj { height: 320px; display: grid; place-items: center; background: var(--surface-2); position: relative; overflow: hidden; text-decoration: none; color: var(--ink); }
.gh-obj::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: #8A6A45; box-shadow: inset 0 3px 0 rgba(22, 17, 14, .25); }
.gh-product h3 { margin: 0; font-weight: 820; font-stretch: 78%; font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.gh-product h3 a { text-decoration: none; }
.gh-product h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.gh-product__sub { margin: 4px 0 0; font-size: 14px; font-weight: 650; color: var(--muted); }
.gh-product__text > p:not(.gh-product__sub) { margin: 10px 0 0; color: var(--fg-2); font-size: 16px; }
.gh-tagline { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.gh-price { font-weight: 880; font-stretch: 72%; font-size: 28px; line-height: 1; color: var(--fg); }
.gh-price small { font-size: .55em; vertical-align: .6em; margin-right: 1px; }
.gh-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; font-stretch: 85%; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1.5px solid var(--rule-strong); padding: 5px 8px 4px; }
.gh-state [lang] { letter-spacing: .06em; }
.gh-shelf__book { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 17px; max-width: 46rem; }

/* paper objects (CSS drawings of the real products) */
.gh-sheet, .gh-card, .gh-planner, .gh-planner__title, .gh-planner__sub, .gh-card__title, .gh-card__sub, .gh-card__field, .gh-lab { display: block; }
.gh-sheet { width: 250px; background: var(--steam); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; box-shadow: 0 24px 40px -18px rgba(60, 35, 10, .45); transform: rotate(-3deg); }
.gh-lab { border: 1.5px solid var(--chili); padding: 6px 7px 5px; display: grid; background: #fff; }
.gh-lab b { font-family: var(--f-zh); font-weight: 900; font-size: 17px; line-height: 1.1; }
.gh-lab i { font-style: normal; font-size: 10px; font-weight: 650; }
.gh-lab em { font-style: normal; font-size: 9.5px; color: var(--smoke); }
.gh-lab--wide { grid-column: span 2; background: var(--sesame); }
.gh-lab u { text-decoration: none; font-size: 9.5px; border-top: 1px dashed rgba(22, 17, 14, .35); margin-top: 4px; padding-top: 3px; }
.gh-card { position: absolute; width: 206px; height: 262px; background: var(--steam); box-shadow: 0 24px 40px -18px rgba(60, 35, 10, .45); }
.gh-card--back { transform: rotate(6deg) translate(26px, 8px); background: var(--kraft); }
.gh-card--front { transform: rotate(-2deg); padding: 20px 18px; display: grid; align-content: start; gap: 6px; border-top: 6px solid var(--chili); }
.gh-card__title { margin: 0; font-weight: 880; font-stretch: 70%; font-size: 27px; line-height: .92; text-transform: uppercase; }
.gh-card__sub { margin: 0 0 6px; font-size: 11px; font-weight: 650; color: var(--smoke); }
.gh-card__field { margin: 0; display: flex; align-items: baseline; gap: 8px; padding: 7px 0 4px; border-bottom: 1px solid rgba(22, 17, 14, .3); font-size: 10.5px; color: var(--smoke); }
.gh-card__field b { font-family: var(--f-zh); font-weight: 900; font-size: 13px; color: var(--ink); }
.gh-card__foot { margin: 8px 0 0; font-size: 8.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--smoke); white-space: nowrap; }
.gh-planner { width: 226px; background: var(--steam); padding: 16px 16px 14px; box-shadow: 0 24px 40px -18px rgba(60, 35, 10, .45); transform: rotate(2.5deg); color: var(--ink); }
.gh-planner img { width: 150px; margin: 0 auto 10px; }
.gh-planner__title { margin: 0; font-weight: 880; font-stretch: 70%; font-size: 25px; line-height: .95; text-transform: uppercase; }
.gh-planner__sub { margin: 2px 0 10px; font-size: 11px; font-weight: 650; color: var(--smoke); }
.gh-planner__tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.gh-planner__tabs span { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--ink); padding: 2px 5px; }
.gh-planner__tabs span:last-child { border-color: var(--chili); color: var(--chili); }

/* hot pot band */
.gh-hotpot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.gh-hotpot img { width: min(100%, 420px); margin: 0 auto; }

/* ------------------------------------------------------------------ signup + buy */
.gh-signup {
  max-width: var(--measure); margin: 48px auto; padding: 28px clamp(20px, 3vw, 32px);
  background: var(--surface); border: 1.5px solid var(--fg); position: relative;
}
main > .gh-signup { margin-inline: auto; width: calc(100% - var(--gutter) * 2); }
.gh-section .gh-signup, .gh-article .gh-signup { margin-inline: 0; width: auto; }
.gh-signup__title { margin: 0; font-weight: 820; font-stretch: 78%; font-size: 24px; line-height: 1.1; text-transform: uppercase; }
.gh-signup__note { margin: 8px 0 0; color: var(--fg-2); font-size: 16px; }
.gh-signup__note a { color: var(--link); font-weight: 650; }
.gh-signup__row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.gh-signup__row input {
  flex: 1 1 16rem; min-height: 52px; padding: 0 14px; background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--fg); border-radius: 0; font-size: 16px;
}
.gh-signup__row input:focus-visible { outline-offset: 2px; }
.gh-signup__fine { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.gh-signup__fine a { color: inherit; }
.gh-signup__status { margin: 8px 0 0; font-weight: 650; min-height: 1em; }
.gh-signup--soon { border-style: dashed; }
.gh-signup--notify { margin: 16px 0 0; }
.gh-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.gh-buy { margin: 20px 0 0; }
.gh-buy--live .gh-button { min-width: 14rem; }
.gh-buy__fine { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }
.gh-price-line { display: flex; align-items: center; gap: 12px; margin: 0; }

/* ------------------------------------------------------------------ article pages */
.gh-page { display: block; }
.gh-page--article, .gh-page--legal { padding: clamp(40px, 6vw, 88px) var(--gutter) 24px; }
.gh-article { max-width: 52rem; margin: 0 auto; }
.gh-article__head { position: relative; padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1.5px solid var(--fg); }
.gh-article__head h1 {
  margin: 0; font-weight: 860; font-stretch: 72%; text-transform: uppercase;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: .94; letter-spacing: -.01em; max-width: 15em;
}
.gh-zhname { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.gh-zhname .gh-zh { font-weight: 900; font-size: clamp(40px, 6vw, 64px); line-height: 1; color: var(--accent); letter-spacing: .04em; }
.gh-zhname .gh-pinyin { font-size: 18px; color: var(--fg); }
.gh-answer {
  margin: 24px 0 0; padding: 18px 20px; font-size: 19px; line-height: 1.5;
  background: var(--surface); border-left: 5px solid var(--accent);
}
.gh-answer strong:first-child { font-weight: 800; }
.gh-meta { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.gh-article p, .gh-article li { max-width: var(--measure); }
.gh-article > p, .gh-sec > p, .gh-sec li { font-size: 18px; line-height: 1.62; color: var(--fg-2); }
.gh-sec { padding-top: 40px; }
.gh-sec h2 {
  margin: 0 0 14px; font-weight: 840; font-stretch: 76%; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1; letter-spacing: -.005em;
}
.gh-sec h3 { margin: 28px 0 8px; font-weight: 780; font-stretch: 85%; font-size: 21px; line-height: 1.2; }
.gh-sec a:not(.gh-button) { color: var(--link); text-underline-offset: 3px; }
.gh-sec ul, .gh-sec ol { padding-left: 1.3em; }
.gh-sec li { margin: 6px 0; }
.gh-sec li::marker { color: var(--accent); }
.gh-table { margin: 20px 0 8px; overflow-x: auto; border: 1.5px solid var(--fg); background: var(--surface); }
.gh-table table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 15.5px; line-height: 1.45; }
.gh-table caption { caption-side: top; text-align: left; padding: 12px 14px; font-size: 12.5px; font-weight: 700; font-stretch: 82%; letter-spacing: .12em; text-transform: uppercase; background: var(--fg); color: var(--bg); }
.gh-table th, .gh-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--rule); }
.gh-table thead th { font-size: 13px; font-weight: 750; font-stretch: 88%; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.gh-table tbody th { font-weight: 700; }
.gh-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.gh-note { margin: 28px 0; padding: 18px 20px; border: 1.5px solid var(--fg); background: var(--surface); }
.gh-note p { margin: 0; font-size: 16.5px; line-height: 1.55; }
.gh-note p + p { margin-top: 10px; }
.gh-note--safety { border-color: var(--accent); border-width: 2px; }
.gh-note--safety::before { content: "Safety"; display: block; margin-bottom: 8px; font-size: 12.5px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.gh-note--tip { border-style: dashed; }
.gh-note--tip::before { content: "Tip"; display: block; margin-bottom: 8px; font-size: 12.5px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--hj-text); }
.gh-steps { counter-reset: step; list-style: none; padding: 0 !important; }
.gh-steps > li { counter-increment: step; position: relative; padding-left: 46px !important; margin: 14px 0 !important; }
.gh-steps > li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--fg); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.gh-gloss { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 18px 0; padding: 18px 20px; background: var(--surface); border: 1.5px solid var(--fg); }
.gh-gloss dt { font-family: var(--f-zh); font-weight: 900; font-size: 26px; line-height: 1.1; color: var(--accent); }
.gh-gloss dt .gh-pinyin, .gh-gloss dt [lang="zh-Latn-pinyin"] { display: block; font-family: var(--f-ui); font-size: 13px; color: var(--fg); font-weight: 650; }
.gh-gloss dd { margin: 0; align-self: center; font-size: 16.5px; color: var(--fg-2); }
.gh-callout { margin: 28px 0; padding: 22px 24px; background: var(--ink); color: var(--rice); }
.gh-callout a { color: var(--rice); }
.gh-callout p { color: var(--rice) !important; margin: 0; }
.gh-sources ol, .gh-sources ul { font-size: 15px !important; }
.gh-sources li { font-size: 15px !important; color: var(--muted) !important; word-break: break-word; }
.gh-related { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 10px; }
.gh-related li { margin: 0 !important; }
.gh-related a { display: block; padding: 14px 16px; border: 1.5px solid var(--fg); text-decoration: none; font-weight: 700; color: var(--fg) !important; background: var(--surface); height: 100%; }
.gh-related a:hover { background: var(--fg); color: var(--bg) !important; }
.gh-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; background: var(--surface-2); padding: 1px 5px; }
.gh-tool { margin: 24px 0; padding: 22px; border: 2px solid var(--fg); background: var(--surface); display: grid; gap: 14px; max-width: var(--measure); }
.gh-tool label { display: grid; gap: 6px; font-weight: 650; font-size: 15px; }
.gh-tool input, .gh-tool select { min-height: 48px; padding: 0 12px; border: 1.5px solid var(--fg); background: var(--bg); color: var(--fg); border-radius: 0; font-size: 16px; max-width: 16rem; }
.gh-tool output, .gh-tool [data-paste-out] { display: block; padding: 14px 16px; background: var(--ink); color: var(--rice); font-size: 17px; font-weight: 600; min-height: 1.5em; }
.gh-tool p { margin: 0; font-size: 15px; color: var(--muted); }
.gh-bowls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0; }
.gh-bowlfig { margin: 0; text-align: center; }
.gh-bowlfig svg, .gh-bowlfig img { width: 100%; height: auto; }
.gh-bowlfig figcaption { margin-top: 6px; font-size: 14px; font-weight: 650; }
.gh-ladder { margin: 20px 0; }
.gh-ladder table { border-collapse: collapse; width: 100%; background: var(--surface); border: 1.5px solid var(--fg); font-size: 16px; }
.gh-ladder caption { caption-side: top; text-align: left; padding: 12px 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--fg); color: var(--bg); }
.gh-ladder th, .gh-ladder td { padding: 12px 14px; border-top: 1px solid var(--rule); text-align: left; vertical-align: top; }
.gh-ladder tbody th { font-weight: 700; white-space: nowrap; }
.gh-ladder tbody th [lang="zh-Hans"] { font-weight: 900; font-size: 19px; }
.gh-ladder__en::before { content: " · "; }
.gh-ladder__ma { font-size: 15.5px; margin: 12px 0 0; }

/* hubs and cards */
.gh-hub-head { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--gutter) 0; }
.gh-hub-head h1 { margin: 0; font-weight: 860; font-stretch: 70%; text-transform: uppercase; font-size: clamp(2.8rem, 7vw, 6rem); line-height: .9; letter-spacing: -.01em; }

/* shop + product pages */
.gh-product__h { margin: 0; font-weight: 820; font-stretch: 78%; font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.gh-product__h a { text-decoration: none; }
.gh-product__h a:hover { text-decoration: underline; text-underline-offset: 5px; }
.gh-product__gate { font-size: 14px !important; color: var(--muted) !important; }
.gh-shop__fine { margin: 28px 0 0; font-size: 15px; color: var(--muted); max-width: 46rem; }
.gh-prod { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 5vw, 72px) var(--gutter) clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.gh-prod__media { position: sticky; top: 16px; }
.gh-prod__info h1 { margin: 0; font-weight: 860; font-stretch: 70%; text-transform: uppercase; font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: .92; }
.gh-prod__sub { margin: 8px 0 0; font-size: 18px; font-weight: 650; color: var(--muted); }
.gh-prod__pitch { margin: 18px 0 0; font-size: 19px; line-height: 1.5; color: var(--fg-2); }
.gh-prod__info > p { max-width: 38rem; }
.gh-prod__sec { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); }
.gh-prod__sec h2 { margin: 0 0 10px; font-weight: 820; font-stretch: 78%; font-size: 22px; text-transform: uppercase; }
.gh-prod__sec li, .gh-prod__sec p { font-size: 16.5px; color: var(--fg-2); max-width: 40rem; }
.gh-prod__sec li { margin: 6px 0; }
.gh-prod__sec a, .gh-prod__why a { color: var(--link); }
.gh-prod__why { margin: 28px 0 0; padding: 14px 16px; border: 1.5px dashed var(--rule-strong); font-size: 15.5px; display: grid; gap: 8px; justify-items: start; }
.gh-obj--big { height: auto; aspect-ratio: 1 / 1; max-height: 620px; }
.gh-obj--big .gh-sheet { width: min(76%, 380px); gap: 10px; padding: 18px; }
.gh-obj--big .gh-card { width: min(56%, 300px); height: auto; aspect-ratio: 206 / 262; }
.gh-obj--big .gh-planner { width: min(62%, 320px); }
.gh-obj--big .gh-planner img { width: 70%; }
.gh-book { display: grid; justify-items: center; gap: 10px; width: min(64%, 330px); aspect-ratio: 3 / 4; padding: 26px 22px; background: var(--ink); color: var(--rice); box-shadow: 0 30px 50px -24px rgba(22, 17, 14, .7); text-align: center; align-content: center; }
.gh-book img { width: 62%; }
.gh-book__title { display: block; font-weight: 880; font-stretch: 68%; font-size: 34px; line-height: .92; text-transform: uppercase; }
.gh-book__sub { display: block; font-size: 12px; color: var(--n-muted); }
.gh-book__zh { display: block; font-weight: 900; font-size: 22px; color: var(--seal); letter-spacing: .1em; }
.gh-previews { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gh-previews li:first-child { grid-column: 1 / -1; }
.gh-previews { grid-template-columns: 1fr 1fr; }
.gh-previews img { width: 100%; height: auto; box-shadow: 0 20px 40px -24px rgba(22, 17, 14, .55); background: #fff; }

/* hubs: shelf cards */
.gh-hub-head .gh-lede { margin-bottom: 0; }
.gh-shelfcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 16px; }
.gh-shelfcard a { position: relative; display: grid; gap: 6px; align-content: start; height: 100%; min-height: 250px; padding: 22px 20px 20px 88px; text-decoration: none; color: var(--fg); background: var(--surface); border: 1.5px solid var(--fg); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.gh-shelfcard a:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -18px rgba(22, 17, 14, .55); }
.gh-shelfcard__zh { position: absolute; left: 16px; top: 18px; bottom: 18px; writing-mode: vertical-rl; font-weight: 900; font-size: 34px; line-height: 1.05; color: var(--accent); overflow: hidden; }
.gh-shelfcard__eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gh-shelfcard__py { font-size: 13px; font-weight: 650; color: var(--accent); }
.gh-shelfcard__title { font-weight: 820; font-stretch: 80%; font-size: 22px; line-height: 1.08; text-transform: uppercase; }
.gh-shelfcard__desc { font-size: 15px; color: var(--fg-2); }

/* free printables */
.gh-freecards { display: grid; gap: 28px; }
.gh-freecard { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: 24px; background: var(--surface); border: 1.5px solid var(--fg); scroll-margin-top: 16px; }
.gh-freecard__img { width: 100%; height: auto; box-shadow: 0 18px 36px -20px rgba(22, 17, 14, .55); background: #fff; }
.gh-freecard__ph { display: grid; place-items: center; aspect-ratio: 8.5 / 11; background: var(--ink); color: var(--seal); font-weight: 900; font-size: 64px; writing-mode: vertical-rl; }
.gh-freecard h2 { margin: 0; font-weight: 840; font-stretch: 76%; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; }
.gh-freecard h2 [lang] { color: var(--accent); font-size: .7em; margin-left: 8px; }
.gh-freecard h2 .gh-freecard__py { font-size: .42em; font-weight: 650; text-transform: none; margin-left: 4px; }
.gh-freecard p { font-size: 17px; color: var(--fg-2); max-width: 36rem; }
.gh-freecard__note { font-size: 14.5px !important; color: var(--muted) !important; }

/* status pages */
.gh-page--status { min-height: 60vh; display: grid; place-items: center; padding: 64px var(--gutter); }
.gh-status { max-width: 36rem; text-align: left; }
.gh-status h1 { margin: 0; font-weight: 860; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: .92; }
.gh-status p { font-size: 18px; color: var(--fg-2); }
.gh-status .gh-button { margin-top: 8px; }

/* ------------------------------------------------------------------ footer */
.gh-footer { background: var(--ink); color: var(--rice); padding: 64px var(--gutter) 28px; }
.gh-footer__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .7fr .7fr 1.2fr; gap: 36px; }
.gh-footer .gh-brand { color: var(--rice); }
.gh-footer p { font-size: 15px; color: rgba(243, 236, 223, .8); margin: 10px 0 0; }
.gh-footer__line { font-weight: 700; color: var(--rice) !important; margin-top: 18px !important; }
.gh-footer h2 { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; font-stretch: 82%; letter-spacing: .16em; text-transform: uppercase; color: var(--n-muted); }
.gh-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.gh-footer ul a { display: inline-block; padding: 4px 0; text-decoration: none; font-weight: 600; font-size: 15px; }
.gh-footer ul a:hover { text-decoration: underline; text-underline-offset: 5px; }
.gh-footer .gh-seal--draft { color: var(--seal); }
.gh-footer .gh-seal--cooked { background: var(--seal); border-color: var(--seal); color: var(--ink); }
.gh-footer__base { max-width: var(--max); margin: 44px auto 0; padding-top: 18px; border-top: 1px solid rgba(243, 236, 223, .14); font-size: 13px; color: var(--n-muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.gh-footer__base a { color: inherit; display: inline-block; padding: 12px 2px; }

/* ------------------------------------------------------------------ interactive bowl layers */
.gh-bowl--hero .a1, .gh-bowl--hero .a2, .gh-bowl--hero .a3, .gh-bowl--hero .c2 { opacity: 0; transition: opacity .45s var(--ease); }
.gh-bowl--hero[data-heat="1"] .a1,
.gh-bowl--hero[data-heat="2"] :is(.a1, .a2, .c2),
.gh-bowl--hero[data-heat="3"] :is(.a1, .a2, .a3) { opacity: 1; }
.gh-bowl--hero .film, .gh-bowl--hero .sheen { transition: opacity .7s var(--ease), stroke-opacity .7s var(--ease); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1240px) {
  .gh-hero { grid-template-columns: minmax(0, 26rem) minmax(0, 1fr) auto; }
  .gh-heatword { font-size: 72px; }
  .gh-dishname .zh { font-size: clamp(54px, 7.4vh, 90px); }
  .gh-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .gh-nav { display: none; }
  .js .gh-menu-btn { display: inline-flex; }
  html:not(.js) .gh-nav { display: block; width: 100%; margin-left: 0; }
  html:not(.js) .gh-header { flex-wrap: wrap; row-gap: 6px; }
  html:not(.js) .gh-nav ul { flex-wrap: wrap; }
  html:not(.js) .gh-nav a { padding: 8px 12px 8px 0; font-size: 14px; }
}

@media (max-width: 960px) {
  .gh-hero {
    min-height: 0;
    padding: 18px var(--gutter) 40px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "line" "bowl" "readout" "label" "range" "cta" "perbowl" "tray" "note";
    align-items: start;
  }
  .gh-hero__left, .gh-dial { display: contents; }
  .gh-hero__copy { grid-area: copy; }
  .gh-hero__line { grid-area: line; margin-top: 12px; max-width: 34rem; }
  .gh-readout { grid-area: readout; margin-top: 6px; }
  .gh-dial__label { grid-area: label; }
  .gh-range-wrap { grid-area: range; }
  .gh-perbowl { grid-area: perbowl; margin-top: 18px; }
  .gh-tray-strip { grid-area: tray; }
  .gh-hero .gh-ctas { grid-area: cta; margin-top: 12px; }
  .gh-hero__note { grid-area: note; }
  .gh-hero noscript { grid-column: 1 / -1; }
  .gh-hero h1 { max-width: none; font-size: clamp(3rem, 10.4vw, 5.4rem); }
  .gh-hero__bowl { grid-area: bowl; width: min(62vw, 470px); margin: 10px auto 0; justify-self: center; }
  .gh-sticker { width: 84px; height: 84px; font-size: 10px; right: -8%; top: -2%; gap: 1px; }
  .gh-sticker b { font-size: 23px; }
  .gh-sticker i { width: 48px; }
  .gh-dishname { grid-area: bowl; justify-self: start; align-self: center; z-index: 2; gap: 4px 6px; margin-left: -2px; flex-direction: column; }
  .gh-dishname .zh { font-size: clamp(26px, 6.8vw, 52px); letter-spacing: .04em; }
  .gh-dishname .py { font-size: 11px; padding-top: 2px; letter-spacing: .06em; }
  .gh-dishname .en { font-size: 9.5px; padding-top: 2px; letter-spacing: .12em; }

  .gh-moves { grid-template-columns: 1fr; }
  .gh-finish__head { grid-template-columns: 1fr; justify-content: start; }
  .gh-rungs { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .gh-decoder { grid-template-columns: 1fr; }
  .gh-products { grid-template-columns: 1fr; max-width: 34rem; }
  .gh-stove, .gh-hotpot { grid-template-columns: 1fr; }
  .gh-prod { grid-template-columns: 1fr; }
  .gh-prod__media { position: static; max-width: 560px; order: 1; }
  .gh-prod__info { display: contents; }
  .gh-prod__info > * { order: 2; }
  .gh-prod__info > :is(.gh-eyebrow, h1, .gh-prod__sub, .gh-zhname, .gh-prod__pitch, .gh-buy) { order: 0; }
  .gh-prod { row-gap: 0; }
  .gh-prod__media { margin: 24px 0 8px; }
  .gh-freecard { grid-template-columns: 1fr; }
  .gh-freecard__media { max-width: 22rem; }
  .gh-bowls { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .gh-header { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .gh-brand { gap: 9px; }
  .gh-brand__en { font-size: 16.5px; }
  .gh-brand__zh { font-size: 11.5px; letter-spacing: .16em; padding-left: 9px; }
  .gh-mark { width: 26px; height: 26px; }
  .gh-menu-btn { padding: 0 12px; }
  .gh-menu-btn span { font-size: 13.5px; }
  .gh-hero { padding-top: 14px; padding-bottom: 32px; }
  .gh-hero .gh-kicker { font-size: 10.5px; margin-bottom: 8px; letter-spacing: .12em; }
  .gh-hero h1 { font-size: clamp(2.5rem, 12.6vw, 3.4rem); }
  .gh-hero__line { font-size: 15px; margin-top: 10px; }
  .gh-hero__bowl { margin-top: 6px; width: min(66vw, 270px); }
  .gh-dishname .en { display: none; }
  .gh-hero__caption { display: none; }
  .gh-readout { gap: 14px; }
  .gh-heatword { font-size: 52px; }
  .gh-heatgloss .py { font-size: 17px; }
  .gh-heatgloss .en { font-size: 13.5px; }
  .gh-ma { margin-top: 3px; }
  .gh-dial__label { margin-top: 6px; }
  .gh-perbowl { padding-top: 10px; gap: 12px; }
  .gh-amounts { min-height: 0; }
  .gh-amounts li { font-size: 15px; grid-template-columns: 4.2em 1fr; }
  .gh-amounts .n { font-size: 22px; }
  .gh-ticks b { font-size: 17px; }
  .gh-tray-strip { grid-template-columns: 1fr; gap: 6px; }
  .gh-hero .gh-ctas { flex-direction: column; }
  .gh-hero .gh-ctas .gh-button { width: 100%; }
  .gh-paper h2 { font-size: clamp(2.1rem, 11vw, 3rem); }
  .gh-lede { font-size: 17px; }
  .gh-traykey { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .gh-rungs { column-gap: 12px; }
  .gh-rung__word b { font-size: 24px; }
  .gh-rung__amt { font-size: 13.5px; }
  .gh-rung__tag { padding: 22px 12px 12px; }
  .gh-jar { padding: 30px 16px 18px; width: 100%; }
  .gh-jar__inner { padding: 16px 12px; gap: 18px; grid-template-columns: auto minmax(0, 1fr); }
  .gh-jar__zh { font-size: 68px; }
  .gh-gloss-list { font-size: 13.5px; }
  .gh-gloss-list li { padding-left: 12px; }
  .gh-gloss-list li::before { left: -18px; width: 14px; }
  .gh-gloss-list b { font-size: 19px; }
  .gh-obj { height: 290px; }
  .gh-footer__grid { grid-template-columns: 1fr; }
  .gh-answer { font-size: 17.5px; padding: 16px; }
  .gh-article > p, .gh-sec > p, .gh-sec li { font-size: 17px; }
  .gh-gloss { grid-template-columns: 1fr; gap: 4px; }
  .gh-gloss dd { margin-bottom: 10px; }
  .gh-bowls { gap: 8px; }
  .gh-ladder tbody th { white-space: normal; }
  .gh-ladder tbody th .gh-pinyin, .gh-ladder__en { display: block; }
  .gh-ladder__en::before { content: none; }
  /* comparison tables stack into one card per row; build.py copies each header into data-label */
  .gh-table { overflow: visible; }
  .gh-table table { min-width: 0; }
  .gh-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .gh-table tbody tr { display: block; padding: 4px 0 8px; border-top: 1.5px solid var(--fg); }
  .gh-table tbody tr:first-child { border-top: 0; }
  .gh-table tbody th, .gh-table tbody td { display: block; border-top: 0; padding: 6px 14px; }
  .gh-table tbody th { padding-top: 10px; font-size: 17px; }
  .gh-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 750; font-stretch: 88%; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .gh-table td:empty { display: none; }
}

/* short landscape phones: a designed side-by-side state, nothing clipped */
@media (orientation: landscape) and (max-height: 520px) and (min-width: 640px) {
  .gh-hero {
    padding-top: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 40%) auto;
    grid-template-areas: "left bowl name";
    align-items: start;
    column-gap: 20px;
  }
  .gh-hero__left { display: flex; }
  .gh-hero h1 { font-size: 3rem; }
  .gh-hero__bowl { width: min(100%, calc(100vh - 96px)); margin: 8px 0 0; position: sticky; top: 16px; }
  .gh-dishname { grid-area: name; justify-self: end; align-self: start; margin: 8px 0 0; flex-direction: row; }
  .gh-dishname .zh { font-size: 34px; }
  .gh-hero__bowl { grid-area: bowl; }
  .gh-heatword { font-size: 52px; }
  .gh-sticker { display: none; }
}

/* ------------------------------------------------------------------ motion + print */
html.calm *, html.calm *::before, html.calm *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  html, body { background: #fff !important; color: #000 !important; }
  .gh-header, .gh-footer, .gh-signup, .skip-link, .gh-menu, .gh-related, .gh-hp { display: none !important; }
  .gh-page--article, .gh-page--legal { padding: 0; }
  .gh-article__head h1 { font-size: 28pt; }
  .gh-answer, .gh-table, .gh-note, .gh-gloss, .gh-tool { background: #fff !important; border-color: #000 !important; }
  .gh-table caption, .gh-ladder caption { background: #000 !important; color: #fff !important; }
  .gh-sec { break-inside: avoid-page; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
}
