/* ============================================================
   Haenyo 海女 · website styles
   Built on the Haenyo design system (cream page, yellow fields,
   red action colour, 2px ink borders, hard "sticker" shadows,
   Gluten display + Outfit text).
   ============================================================ */

:root {
  /* color */
  --bg-base: #fff8e6;
  --surface: #ffffff;
  --brand: #ffcb2e;
  --brand-soft: #ffe9a8;
  --ink: #141414;
  --muted: #5e5849;
  --accent: #e3101c;
  --on-accent: #ffffff;
  --success: #1f7a3e;
  --error: #b3261e;

  /* type (Chinese falls back to rounded ZCOOL KuaiLe for display, Noto Sans SC for text) */
  --font-sans: "Outfit", "Noto Sans SC", system-ui, sans-serif;
  --font-display: "Gluten", "ZCOOL KuaiLe", "Outfit", "Noto Sans SC", system-ui, sans-serif;

  /* spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* radius, border, shadow */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --border-width: 2px;
  --shadow-sm: 2px 2px 0 0 #141414;
  --shadow-md: 4px 4px 0 0 #141414;
  --shadow-lg: 6px 6px 0 0 #141414;

  /* layout */
  --nav-h: 72px;
  --gutter: var(--space-4);
  --maxw: 1200px;
}
@media (min-width: 768px) { :root { --gutter: var(--space-5); } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* type scale */
.display-xl { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1.05; letter-spacing: -0.03em; }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.03em; }
.h3 { font-family: var(--font-sans); font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -0.3px; }
.body-lg { font-size: 18px; line-height: 1.6; letter-spacing: -0.2px; }
.caption { font-size: 14px; line-height: 1.5; color: var(--muted); }
.kicker { font-size: 12px; line-height: 1; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); }
/* CJK glyphs do not take negative tracking */
:root[data-lang="zh"] .display-xl, :root[data-lang="zh"] .h2 { letter-spacing: 0; }
:root[data-lang="zh"] .kicker { letter-spacing: 2px; }

/* ---------- components ---------- */

/* Button */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  background: var(--accent); color: var(--on-accent);
  border: var(--border-width) solid var(--ink); border-radius: var(--radius-pill);
  padding: 14px 28px; min-height: 48px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-sans); font-weight: 600; font-size: 16px; letter-spacing: -0.2px; line-height: 1; white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translate(4px, 4px); box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--secondary { background: var(--brand); color: var(--ink); }
.btn--sm { padding: 10px 20px; min-height: 40px; font-size: 14px; box-shadow: var(--shadow-sm); }
.btn--sm:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 0 var(--ink); }
.btn--sm:active { transform: translate(2px, 2px); box-shadow: none; }
.btn--block { width: 100%; }
.btn.is-done { background: var(--success); }

/* Pill toggle (language, filters) */
.pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  height: 40px; padding: 0 18px;
  background: var(--surface); color: var(--ink);
  border: var(--border-width) solid var(--ink); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: 14px; letter-spacing: -0.2px; line-height: 1;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.pill:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 0 var(--ink); background: var(--brand-soft); }
.pill:active { transform: translate(2px, 2px); box-shadow: none; }
.pill[aria-pressed="true"] { background: var(--brand); }
.pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Icon button */
.ib {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  background: var(--surface); color: var(--ink);
  border: var(--border-width) solid var(--ink); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.ib:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 0 var(--ink); }
.ib:active { transform: translate(2px, 2px); box-shadow: none; }
.ib svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ib img { width: 26px; height: 26px; }
.ib__count {
  position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 5px;
  display: none; align-items: center; justify-content: center;
  background: var(--accent); color: var(--on-accent);
  border: var(--border-width) solid var(--ink); border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; line-height: 1;
}
.ib__count.show { display: inline-flex; }

/* Badge */
.bd {
  display: inline-flex; align-items: center; height: 28px; padding: 0 var(--space-3);
  background: var(--brand); color: var(--ink);
  border: var(--border-width) solid var(--ink); border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 0.6px; text-transform: uppercase;
  width: max-content;
}

/* Quantity stepper */
.qs { display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1); background: var(--surface); border: var(--border-width) solid var(--ink); border-radius: var(--radius-pill); }
.qs button { width: 36px; height: 36px; padding: 0; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.qs button:hover { background: var(--brand); }
.qs button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.qs output { min-width: 28px; text-align: center; font-weight: 600; font-size: 16px; line-height: 1; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: var(--space-3);
  padding-inline: var(--gutter);
  background: var(--bg-base); border-bottom: var(--border-width) solid var(--ink);
}
.nav__brand { display: block; margin-right: auto; }
.nav__brand img { height: 36px; width: auto; }
.nav__link { font-weight: 600; font-size: 15px; padding: 6px 4px; border-bottom: var(--border-width) solid transparent; }
.nav__link:hover { border-bottom-color: var(--ink); }
.nav__link[aria-current="page"] { border-bottom-color: var(--accent); }
@media (max-width: 520px) {
  .nav { gap: var(--space-2); }
  .nav__brand img { height: 30px; }
  .nav .btn--sm { padding: 8px 14px; }
  .nav .pill { padding: 0 12px; }
}

/* ---------- home: scroll story ---------- */
/* Default (no JS / reduced motion): photos stack, each in its own frame. */
.story__stage { padding: var(--space-5) var(--gutter) var(--space-7); max-width: var(--maxw); margin-inline: auto; }
.story__frame { display: grid; gap: var(--space-6); }
.slide {
  position: relative; min-height: max(70vh, 480px); overflow: hidden;
  background: var(--brand); border: var(--border-width) solid var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cap {
  position: absolute; left: var(--space-5); bottom: var(--space-5);
  width: min(480px, calc(100% - 2 * var(--space-5)));
  display: grid; gap: var(--space-3); justify-items: start;
  padding: var(--space-5);
  background: var(--surface); border: var(--border-width) solid var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.slide--hero .cap { width: min(560px, calc(100% - 2 * var(--space-5))); }
.cap__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; }
:root[data-lang="zh"] .cap__title { letter-spacing: 0; }
.slide--hero .cap__title { font-size: clamp(2.25rem, 5.2vw, 4rem); line-height: 1.05; }
.cap p { color: var(--muted); }
.cap .btn { margin-top: var(--space-2); }
.hud, .hint { display: none; }

/* Pinned: one frame stays on screen while the photos change as you scroll. */
.story--pinned { height: calc(100vh + (var(--n) - 1) * 80vh); height: calc(100svh + (var(--n) - 1) * 80svh); }
.story--pinned .story__stage {
  position: sticky; top: var(--nav-h);
  height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h));
  max-width: none; padding: var(--space-4) var(--gutter);
}
.story--pinned .story__frame {
  display: block; position: relative; height: 100%; overflow: hidden;
  background: var(--brand); border: var(--border-width) solid var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.story--pinned .slide {
  position: absolute; inset: 0; min-height: 0; border: 0; border-radius: 0; box-shadow: none;
  opacity: 0; visibility: hidden;
  transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}
.story--pinned .slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.8s ease, visibility 0s; }
.story--pinned .slide__img { transform: scale(1.09); transition: transform 1.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.story--pinned .slide.is-active .slide__img { transform: scale(1); }
.story--pinned .cap { opacity: 0; transform: translateY(18px); transition: opacity 0.4s ease, transform 0.4s ease; }
.story--pinned .slide.is-active .cap { opacity: 1; transform: none; transition-delay: 0.35s; }

.story--pinned .hud {
  position: absolute; z-index: 3; top: var(--space-4); right: var(--space-4);
  display: flex; align-items: center; gap: var(--space-3);
  padding: 8px 14px; background: var(--surface);
  border: var(--border-width) solid var(--ink); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
}
.hud__bars { display: flex; gap: 6px; }
.hud__bar { width: 26px; height: 8px; padding: 0; background: var(--surface); border: var(--border-width) solid var(--ink); border-radius: var(--radius-pill); }
.hud__bar.is-past { background: var(--ink); }
.hud__bar.is-active { background: var(--brand); }
.hud__count { font-family: var(--font-display); font-size: 16px; line-height: 1; min-width: 3.2em; text-align: right; }
.story--pinned .hint {
  position: absolute; z-index: 3; bottom: var(--space-5); right: 96px;
  display: none; align-items: center; gap: var(--space-2);
  padding: 8px 16px; background: var(--surface);
  border: var(--border-width) solid var(--ink); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: 14px; transition: opacity 0.3s ease;
}
.story--pinned .hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.story--pinned .hint.gone { opacity: 0; pointer-events: none; }
@media (min-width: 900px) { .story--pinned .hint { display: inline-flex; } }
@media (max-width: 640px) {
  .cap { left: var(--space-3); right: var(--space-3); width: auto; padding: var(--space-4); }
  .slide--hero .cap { width: auto; }
  .story--pinned .cap { bottom: 92px; }
  .hud__bar { width: 18px; }
}

/* ---------- shop ---------- */
.shop-hero {
  position: relative; overflow: hidden; margin-top: var(--space-5);
  padding: var(--space-7) var(--space-6);
  background: var(--brand); border: var(--border-width) solid var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.shop-hero__text { position: relative; z-index: 1; display: grid; gap: var(--space-3); max-width: 34rem; }
.shop-hero .kicker { color: var(--ink); }
.shop-hero p { font-size: 18px; letter-spacing: -0.2px; }
.shop-hero__mark { position: absolute; right: -24px; bottom: -40px; width: clamp(180px, 30vw, 340px); opacity: 0.16; pointer-events: none; }

.filters { scroll-margin-top: calc(var(--nav-h) + var(--space-3)); display: flex; flex-wrap: wrap; gap: var(--space-3); padding: var(--space-6) 0 var(--space-5); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); padding-bottom: var(--space-9); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } .shop-hero { padding: var(--space-6) var(--space-5); } }

.pc {
  display: flex; flex-direction: column; padding: var(--space-3);
  background: var(--surface); border: var(--border-width) solid var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.pc__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand); border-radius: var(--radius-md); }
.pc__img img { width: 100%; height: 100%; object-fit: cover; }
.pc__img .bd { position: absolute; top: var(--space-3); left: var(--space-3); background: var(--bg-base); }
.pc__body { display: flex; flex-direction: column; flex: 1; gap: var(--space-1); padding: var(--space-4) var(--space-2) var(--space-2); }
.pc__name { margin-top: var(--space-2); }
.pc__desc { font-size: 14px; line-height: 1.5; color: var(--muted); flex: 1; }
.pc__code { font-size: 12px; letter-spacing: 0.6px; color: var(--muted); }
.pc__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-4); }
.price { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.price__n { font-family: var(--font-display); font-size: 32px; line-height: 1; letter-spacing: -1px; }
.price__u { font-size: 14px; color: var(--muted); }
.pc .btn { margin-top: var(--space-4); }

/* order drawer */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(20, 20, 20, 0.4); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(430px, 100vw);
  display: flex; flex-direction: column;
  background: var(--bg-base); border-left: var(--border-width) solid var(--ink);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  transform: translateX(105%); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.drawer.open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-5); border-bottom: var(--border-width) solid var(--ink); }
.drawer__items { flex: 1; overflow-y: auto; display: grid; align-content: start; gap: var(--space-4); padding: var(--space-5); }
.drawer__empty { text-align: center; color: var(--muted); padding: var(--space-8) var(--space-4); }
.drawer__empty svg { width: 48px; height: 48px; margin: 0 auto var(--space-3); fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.citem { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--space-3); align-items: center; padding: var(--space-3); background: var(--surface); border: var(--border-width) solid var(--ink); border-radius: var(--radius-md); }
.citem__img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); background: var(--brand); }
.citem__name { font-weight: 600; line-height: 1.25; }
.citem__sub { font-size: 13px; color: var(--muted); }
.citem__side { display: grid; justify-items: end; gap: var(--space-1); }
.citem__price { font-weight: 600; }
.citem .qs button { width: 28px; height: 28px; }
.citem .qs output { min-width: 22px; font-size: 14px; }
.citem__rm { background: none; border: 0; padding: 0; font-size: 12px; color: var(--muted); text-decoration: underline; }
.drawer__foot { display: grid; gap: var(--space-3); padding: var(--space-5); border-top: var(--border-width) solid var(--ink); background: var(--surface); }
.drawer__total { display: flex; align-items: baseline; justify-content: space-between; }
.drawer__total b { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -1px; }
.drawer__foot .caption { font-size: 13px; }
.linkbtn { background: none; border: 0; padding: var(--space-2); font-size: 14px; color: var(--muted); text-decoration: underline; justify-self: center; }

/* ---------- footer ---------- */
.footer { background: var(--brand); border-top: var(--border-width) solid var(--ink); padding: var(--space-9) var(--gutter) var(--space-6); }
.footer__grid { max-width: var(--maxw); margin-inline: auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--space-7); }
.footer__logo { height: 48px; width: auto; margin-bottom: var(--space-4); }
.footer__tag { font-size: 18px; max-width: 18rem; }
.footer h4 { margin: 0 0 var(--space-3); font-size: 12px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; }
:root[data-lang="zh"] .footer h4 { letter-spacing: 2px; }
.footer p, .footer a.fl { display: block; margin: 0 0 var(--space-2); }
.footer a.fl { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.footer__social { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.footer__bar { max-width: var(--maxw); margin: var(--space-8) auto 0; padding-top: var(--space-4); border-top: var(--border-width) solid var(--ink); font-size: 14px; display: grid; gap: var(--space-1); justify-items: start; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); } .footer { padding-top: var(--space-8); } }

/* ---------- floating WhatsApp ---------- */
.wa { position: fixed; right: var(--space-4); bottom: var(--space-4); z-index: 60; display: flex; align-items: flex-end; flex-direction: row-reverse; gap: var(--space-3); }
.wa__btn { width: 60px; height: 60px; box-shadow: var(--shadow-md); }
.wa__btn:hover { box-shadow: var(--shadow-sm); }
.wa__btn img { width: 34px; height: 34px; }
.wa__tip {
  position: relative; max-width: 230px; padding: var(--space-3) var(--space-5) var(--space-3) var(--space-4);
  background: var(--surface); border: var(--border-width) solid var(--ink);
  border-radius: var(--radius-md) var(--radius-md) 4px var(--radius-md); box-shadow: var(--shadow-sm);
  font-size: 14px; line-height: 1.45; transition: opacity 0.25s ease, transform 0.25s ease; transform-origin: bottom right;
}
.wa__tip.hide { opacity: 0; transform: scale(0.92); pointer-events: none; }
.wa__x { position: absolute; top: 4px; right: 6px; width: 24px; height: 24px; padding: 0; background: none; border: 0; font-size: 18px; line-height: 1; color: var(--muted); }
@media (max-width: 520px) { .wa__tip { max-width: 190px; } }

/* ---------- skip link inside a pinned story ---------- */
.skip { display: none; }
.story--pinned .skip {
  position: absolute; z-index: 3; top: var(--space-4); left: var(--space-4);
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  background: var(--surface); color: var(--ink);
  border: var(--border-width) solid var(--ink); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: 14px; line-height: 1;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.story--pinned .skip:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 0 var(--ink); }
.story { scroll-margin-top: var(--nav-h); }
@media (max-width: 640px) {
  .hud__bar { width: 12px; }
  .hud { gap: var(--space-2); padding: 8px 12px; }
  .story--pinned .skip { padding: 0 12px; }
}

/* ---------- about us ---------- */
.about { max-width: var(--maxw); margin-inline: auto; padding: var(--space-9) var(--gutter); scroll-margin-top: var(--nav-h); }
.about__top { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-7); align-items: center; }
.about__text { display: grid; gap: var(--space-4); justify-items: start; }
.about__text .body-lg { color: var(--muted); max-width: 34rem; }
.stat {
  display: grid; gap: var(--space-2); justify-items: start; align-content: center;
  padding: var(--space-6); min-height: 220px;
  background: var(--brand); border: var(--border-width) solid var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.stat__figure { font-family: var(--font-display); font-size: clamp(4.5rem, 10vw, 6.5rem); line-height: 1; letter-spacing: -0.03em; display: flex; align-items: baseline; gap: var(--space-2); }
:root[data-lang="zh"] .stat__figure { letter-spacing: 0; }
.stat__unit { font-size: 0.42em; letter-spacing: 0; }
.stat p { font-size: 18px; font-weight: 500; }

.points { list-style: none; margin: var(--space-7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.point {
  display: grid; gap: var(--space-2); justify-items: start; align-content: start;
  padding: var(--space-5); background: var(--surface);
  border: var(--border-width) solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.point__ic {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: var(--space-3);
  background: var(--brand); border: var(--border-width) solid var(--ink); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
}
.point__ic svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.point .caption { font-size: 16px; }
@media (max-width: 900px) {
  .about { padding-block: var(--space-8); }
  .about__top { grid-template-columns: 1fr; gap: var(--space-6); }
  .stat { min-height: 0; }
  .points { grid-template-columns: 1fr; gap: var(--space-5); }
}

/* ---------- opening hours (footer) ---------- */
.hours { margin-top: var(--space-5); }
.hours p { margin: 0 0 var(--space-1); }
.hours__time { font-weight: 600; font-size: 18px; }
.hours__note { font-size: 14px; }

/* ---------- language switch (CN / BM / EN) ---------- */
.lang { display: inline-flex; gap: 2px; padding: 3px; background: var(--surface); border: var(--border-width) solid var(--ink); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.lang button { height: 32px; padding: 0 11px; background: transparent; color: var(--ink); border: 0; border-radius: var(--radius-pill); font-weight: 600; font-size: 13px; line-height: 1; letter-spacing: 0.2px; }
.lang button:hover { background: var(--brand-soft); }
.lang button[aria-pressed="true"] { background: var(--brand); }

/* ---------- opening hours, centred in the nav (wide screens) ---------- */
.nav__hours { display: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; font-size: 14px; white-space: nowrap; text-align: center; }
.nav__hours b { font-weight: 600; }
@media (min-width: 1100px) { .nav__hours { display: block; } }
@media (max-width: 520px) {
  .nav__brand img { height: 26px; }
  .nav { gap: 6px; }
  .lang button { padding: 0 8px; }
  .nav .btn--sm { padding: 8px 10px; }
}

/* faded logo mark behind the 50-year card (same treatment as the shop banner) */
.stat { position: relative; overflow: hidden; }
.stat > :not(.stat__mark) { position: relative; z-index: 1; }
.stat__mark { position: absolute; right: -28px; bottom: -44px; width: clamp(170px, 24vw, 260px); opacity: 0.16; pointer-events: none; }

/* keep the last footer line clear of the floating WhatsApp button on phones */
@media (max-width: 600px) { .footer { padding-bottom: calc(var(--space-6) + 72px); } }
