/* =============================================================
   PeptiCore — Design System
   Editorial + scientific + premium (not pure Apple-minimal)
   ============================================================= */

:root {
  /* palette */
  --bg: #FAF8F4;        /* matched exactly to hero.jpg corners — zero visible edge */
  --bg-alt: #F3EFE8;
  --bg-dark: #0F1011;
  --ink: #111113;
  --ink-2: #2A2A2D;
  --muted: #6E6E74;
  --muted-2: #A3A3A8;
  --line: rgba(15,16,17,0.08);
  --line-2: rgba(15,16,17,0.14);
  --accent: #2E5339;       /* deep apothecary green */
  --accent-soft: #E6EDE7;
  --bronze: #9A7B4F;
  --bronze-soft: #EFE7DA;
  --wa: #25D366;
  --wa-ink: #128C7E;

  /* type */
  --serif: "Fraunces", "Instrument Serif", ui-serif, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-s: cubic-bezier(0.32, 0.72, 0, 1);

  /* layout */
  --nav-h: 64px;
  --page-max: 1280px;
  --detail-max: 920px;
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

/* selection */
::selection { background: var(--ink); color: var(--bg); }

/* subtle page grain */
body::before{
  content:"";
  position: fixed; inset:0;
  background-image: radial-gradient(rgba(15,16,17,0.028) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 0;
  opacity: .6;
}

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(250,248,244,0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
  z-index: 60;
}
.nav-inner {
  max-width: var(--page-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav-menu { justify-self: start; }
.nav-right { justify-self: end; }
.nav-menu {
  width: 40px; height: 40px;
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: 10px;
}
.nav-menu span {
  display:block; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .28s var(--ease), opacity .18s var(--ease);
  transform-origin: center;
}
.nav-menu:hover { background: rgba(15,16,17,0.04); }
body[data-side="open"] .nav-menu span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
body[data-side="open"] .nav-menu span:nth-child(2){ opacity: 0; }
body[data-side="open"] .nav-menu span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.nav-brand {
  display: inline-flex; align-items: center; gap: 0;
  justify-self: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.015em;
  line-height: 1;
}
.nav-brand .brand-mark { display: none; } /* logo removed per request */
.brand-mark { width: 22px; height: 22px; color: var(--ink); }
.brand-word { line-height: 1; }

.nav-right { display: inline-flex; gap: 10px; align-items: center; }
.nav-search-btn,
.nav-cart-btn {
  height: 36px;
  padding: 0 12px 0 12px;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  background: rgba(255,255,255,0.5);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.nav-search-btn:hover,
.nav-cart-btn:hover { color: var(--ink); border-color: var(--line-2); background: #fff; }
.nav-search-btn kbd {
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted-2);
  background: #fff;
}
.nav-cart-btn b {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}
.nav-cart-btn[data-count="0"] b { display: none; }
.nav-wa {
  height: 36px;
  padding: 0 14px;
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(37,211,102,0.24);
  border-radius: 999px;
  background: rgba(255,255,255,0.58);
  color: var(--wa-ink);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 28px -22px rgba(18,140,126,0.6);
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.nav-wa:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(37,211,102,0.38);
  color: var(--wa);
  transform: translateY(-1px);
}

@media (max-width: 680px) {
  .nav-inner { padding: 0 16px; }
  .nav-search-btn span, .nav-search-btn kbd, .nav-cart-btn span { display: none; }
  .nav-search-btn, .nav-cart-btn { padding: 0; width: 36px; justify-content: center; }
  .nav-wa span { display: none; }
  .nav-wa { padding: 0; width: 36px; justify-content: center; }
}

@media (max-width: 820px) {
  .nav-inner {
    position: relative;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 16px;
  }

	  .nav-menu,
	  .nav-search-btn,
	  .nav-cart-btn,
	  .nav-house-btn,
	  .nav-wa {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

	  .nav-menu { left: 16px; }
	  .nav-search-btn { left: 64px; }
	  .nav-house-btn { display: none; }
	  .nav-cart-btn { right: 64px; }
	  .nav-wa { right: 16px; }
  .nav-cart-btn b {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 9px;
  }

  .nav-brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
  }

  .nav-right { display: contents; }

	  .nav-search-btn span,
	  .nav-search-btn kbd,
	  .nav-cart-btn span,
	  .nav-house-btn span,
  .nav-wa span {
    display: none;
  }

  .nav-house-btn svg {
    display: block;
  }
}

/* =============================================================
   SIDEBAR
   ============================================================= */
.backdrop {
  position: fixed; inset: 0;
  background: rgba(15,16,17,0.22);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity .28s var(--ease);
  z-index: 70;
}
body[data-side="open"] .backdrop { opacity: 1; pointer-events: auto; }
body[data-side="open"] { overflow: hidden; }

.sidebar {
  position: fixed; top: 0; bottom: 0; left: 0;
  width: 340px; max-width: 86vw;
  background: #fff;
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
  transition: transform .36s var(--ease-s);
  z-index: 80;
  display: flex; flex-direction: column;
  padding-top: calc(var(--nav-h) + 8px);
}
body[data-side="open"] .sidebar { transform: none; }

.side-head { position: relative; padding: 16px 28px 22px; border-bottom: 1px solid var(--line); }
.side-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255,255,255,0.72);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.side-close:hover {
  color: var(--ink);
  border-color: var(--line-2);
  background: #fff;
}
.side-kicker {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); font-weight: 600;
}
.side-title {
  font-family: var(--serif); font-weight: 400;
  font-size: 32px; letter-spacing: -0.02em;
  margin: 6px 0 4px;
}
.side-sub { color: var(--muted); font-size: 13px; }

.side-nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.side-item {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  padding: 14px 28px;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.side-item:hover { background: var(--bg-alt); }
.side-item[aria-current="true"] {
  background: var(--bg-alt);
  border-left-color: var(--accent);
  font-weight: 600;
}
.side-item .side-item-label {
  font-size: 15px; letter-spacing: -0.005em;
}
.side-item .side-item-count {
  font-family: var(--mono);
  font-size: 12px; color: var(--muted-2);
}

.side-foot { padding: 18px 28px 24px; border-top: 1px solid var(--line); }
.side-disclaimer {
  font-size: 11.5px; color: var(--muted);
  line-height: 1.55;
}
.side-disclaimer strong { color: var(--ink-2); font-weight: 600; }

/* =============================================================
   SEARCH
   ============================================================= */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(15,16,17,0.38);
  backdrop-filter: blur(6px);
  z-index: 100;
  opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 12vh 16px 0;
}
body[data-search="open"] .search-overlay { opacity: 1; pointer-events: auto; }
.search-box {
  width: 100%; max-width: 640px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(15,16,17,0.4);
  overflow: hidden;
  transform: translateY(-8px);
  transition: transform .24s var(--ease);
}
body[data-search="open"] .search-box { transform: none; }
.search-head {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 12px; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.search-head input {
  border: 0; outline: 0; background: none;
  font-size: 17px; font-family: var(--sans); color: var(--ink);
  padding: 4px 0;
}
.search-close {
  font-family: var(--mono); font-size: 11px;
  padding: 3px 7px; border-radius: 5px; border: 1px solid var(--line); color: var(--muted);
}
.search-results { max-height: 60vh; overflow-y: auto; padding: 6px 0; }
.search-empty { padding: 28px 18px; color: var(--muted); font-size: 13px; text-align: center; }
.search-empty-rich {
  padding: 18px;
  text-align: left;
}
.search-empty-kicker {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.search-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.search-quick-link {
  min-height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(250,248,244,0.62);
  color: var(--ink-2);
}
.search-quick-link:hover {
  border-color: var(--line-2);
  background: rgba(250,248,244,0.92);
}
.search-quick-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-quick-link b {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 500;
}
.search-result {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 14px;
  padding: 12px 18px;
  cursor: pointer;
  border-top: 1px solid var(--line);
}
.search-result:first-of-type { border-top: 0; }
.search-result:hover { background: var(--bg-alt); }
.search-result-mark {
  width: 36px; height: 36px;
  background: var(--bg-alt);
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.search-result-title { font-weight: 500; letter-spacing: -0.01em; }
.search-result-meta { font-size: 12px; color: var(--muted); }
.search-result-price { font-family: var(--mono); color: var(--ink); font-weight: 500; font-size: 13px; }

/* =============================================================
   CART
   ============================================================= */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(15,16,17,0.34);
  backdrop-filter: blur(6px);
  z-index: 101;
  opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 12vh 16px 0;
}
body[data-cart="open"] .cart-overlay { opacity: 1; pointer-events: auto; }
.cart-box {
  width: 100%; max-width: 560px;
  background: #fff;
  border: 1px solid rgba(15,16,17,0.08);
  border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(15,16,17,0.38);
  overflow: hidden;
  transform: translateY(-8px);
  transition: transform .24s var(--ease);
}
body[data-cart="open"] .cart-box { transform: none; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--line);
}
.cart-kicker {
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.cart-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1;
}
.cart-close {
  font-family: var(--mono); font-size: 11px;
  padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted);
}
.cart-body {
  max-height: 48vh;
  overflow-y: auto;
  padding: 8px 0;
}
.cart-empty {
  padding: 28px 20px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}
.cart-item:first-child { border-top: 0; }
.cart-item-name {
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cart-item-meta {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
}
.cart-remove {
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}
.cart-remove:hover {
  border-color: var(--line-2);
  color: var(--ink);
  background: var(--bg-alt);
}
.cart-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
  background: rgba(250,248,244,0.68);
}
.cart-clear,
.cart-send {
  height: 38px;
  padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.cart-clear {
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}
.cart-clear:disabled {
  opacity: 0.45;
  cursor: default;
}
.cart-send {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 26px -18px rgba(18,140,126,0.9);
}
.cart-send[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}
.cart-send:hover { background: var(--wa-ink); }

/* =============================================================
   MAIN
   ============================================================= */
.view {
  position: relative; z-index: 1;
  padding-top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
}

/* entry animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.fade-in { animation: fadeUp .6s var(--ease) both; }
.fade-in-d1 { animation-delay: .06s; }
.fade-in-d2 { animation-delay: .12s; }
.fade-in-d3 { animation-delay: .18s; }
.fade-in-d4 { animation-delay: .24s; }
.fade-in-d5 { animation-delay: .3s; }

/* shared container */
.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 680px) { .wrap { padding: 0 16px; } }

/* =============================================================
   HERO (home) — two-column editorial + portrait plate
   ============================================================= */
.hero {
  padding: 88px 0 72px;
  position: relative;
}
@media (max-width: 1320px) {
  .hero.wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  grid-template-areas:
    "title vial"
    "body  vial";
  column-gap: clamp(48px, 7vw, 120px);
  row-gap: 32px;
  align-items: center;
}
.hero-title-block { grid-area: title; min-width: 0; align-self: end; max-width: 720px; }
.hero-body-block  { grid-area: body;  min-width: 0; max-width: 560px; align-self: start; }
.hero-portrait    { grid-area: vial; }

/* ---- portrait plate ---- */
.hero-portrait {
  margin: 0;
  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: min(36vw, 440px);
  display: flex;
  flex-direction: column;
}
.hero-portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;        /* locks the shape — no distortion, no edges */
  isolation: isolate;
}
/* the image itself — cover crops, never letterbox, never stretch.
   background baked into the image matches page #FAF8F4 exactly (Δ=0),
   so no blend-mode tricks needed — full fidelity rendering. */
.hero-portrait-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.hero-portrait-frame[data-img="loaded"] .hero-portrait-img { opacity: 1; }
.hero-portrait-frame[data-img="missing"] .hero-portrait-fallback { display: flex; }

/* fallback SVG centered — only shown when image missing, has its own
   cream gradient since there is no frame bg anymore */
.hero-portrait-fallback {
  position: absolute; inset: 0;
  display: none; align-items: center; justify-content: center;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(154,123,79,0.14), transparent 60%),
    linear-gradient(160deg, #F6F3EA 0%, #E8DFCA 100%);
  border-radius: 3px;
}
.hero-portrait-fallback svg { width: 62%; height: auto; }

.hero-portrait-vignette { display: none; }

.hero-portrait-cap {
  margin-top: 18px;
  padding: 0 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* tablet / mid: same 2-col area layout, slightly tighter */
@media (max-width: 920px) {
  .hero-grid { column-gap: 18px; row-gap: 32px; }
  .hero-portrait { max-width: 320px; justify-self: start; }
}
/* phones: 2-row grid — title+vial (equal halves), body full-width below.
   buttons centered, whitespace uniform. */
@media (max-width: 640px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid {
    grid-template-columns: 1fr 1fr;   /* equal halves */
    grid-template-areas:
      "title vial"
      "body  body";
    column-gap: 18px;
    row-gap: 28px;
    align-items: end;
  }
  .hero-title-block { align-self: end; max-width: none; }
  .hero-body-block { max-width: none; text-align: center; }
  .hero-portrait { max-width: none; justify-self: center; width: 100%; }
  .hero-portrait-frame { aspect-ratio: 4 / 5; }
  .hero-portrait-cap { display: none; }
  /* title sized to fit the 1fr column */
  .hero-title {
    font-size: 34px !important;
    line-height: 1;
    letter-spacing: -0.025em;
    margin-bottom: 0;
  }
  .hero-kicker { margin-bottom: 16px; font-size: 10px; letter-spacing: 0.12em; }
  .hero-sub {
    font-size: 14.5px; line-height: 1.55;
    max-width: 480px;
    margin: 0 auto 26px;
  }
  /* buttons: centered row */
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  .btn-wa, .btn-ghost {
    height: 44px; padding: 0 18px; font-size: 13.5px;
    white-space: nowrap;
  }
}
/* smaller phones ≤420 */
@media (max-width: 420px) {
  .hero-title { font-size: 30px !important; }
  .hero-kicker { font-size: 9.5px; }
}
/* very narrow 360 or below */
@media (max-width: 360px) {
  .hero-title { font-size: 26px !important; }
  .btn-wa, .btn-ghost { height: 42px; padding: 0 14px; font-size: 12.5px; }
}
.hero-kicker {
  display: block;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
  font-weight: 500;
}
.hero-kicker::before { display: none; }
.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(64px, 8.4vw, 122px);
  line-height: 0.94;
  letter-spacing: -0.038em;
  margin: 0 0 34px;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.hero-sub {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 44px;
  font-weight: 400;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 22px; height: 52px;
  background: var(--wa);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  box-shadow: 0 8px 24px -6px rgba(37, 211, 102, 0.35);
}
.btn-wa:hover { background: var(--wa-ink); transform: translateY(-1px); box-shadow: 0 14px 30px -6px rgba(37,211,102,0.45); }
.btn-wa svg { width: 17px; height: 17px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 22px; height: 52px;
  border: 1px solid var(--line-2);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.btn-ghost:hover { background: #fff; border-color: var(--ink); }
.btn-ghost svg { width: 14px; height: 14px; }

/* hero facts — quiet horizontal bar */
.hero-facts {
  margin-top: 84px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.hero-fact {
  display: flex; flex-direction: column;
  gap: 6px;
}
.hero-fact-v {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero-fact-v sup {
  font-family: var(--sans);
  font-size: 42%;
  font-weight: 400;
  color: var(--muted);
  margin-left: 1px;
  top: -0.8em;
  position: relative;
}
.hero-fact-k {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
@media (max-width: 760px) {
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 72px; padding-top: 28px; }
  .hero-fact-v { font-size: 30px; }
}

/* =============================================================
   CATEGORY INDEX (home)
   ============================================================= */
.section {
  padding: 160px 0 80px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 28px;
  padding-bottom: 8px;
}
.section-head-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
  max-width: 780px;
}
.section-head-title em { color: var(--accent); font-style: italic; font-weight: 300; }
.section-kicker {
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.section-head-meta {
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--mono);
  white-space: nowrap;
}

@media (max-width: 780px) {
  .section { padding: 96px 0 32px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* =============================================================
   CATEGORY GRID — one consistent style, quiet
   ============================================================= */
.cat-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cat-card {
  position: relative;
  padding: 36px 32px 32px;
  background: var(--bg);
  display: flex; flex-direction: column;
  min-height: 240px;
  color: inherit;
  transition: background .3s var(--ease);
}
.cat-card:hover { background: var(--bg-alt); }
.cat-card-idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-bottom: 40px;
}
.cat-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 10px;
}
.cat-card-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  font-weight: 300;
  flex: 1;
}
.cat-card-foot {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: var(--muted);
}
.cat-card-count {
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.cat-card-arrow {
  width: 13px; height: 13px;
  color: var(--ink);
  transition: transform .25s var(--ease);
}
.cat-card:hover .cat-card-arrow { transform: translateX(4px); }

@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { min-height: 200px; padding: 28px 22px 24px; }
  .cat-card-idx { margin-bottom: 24px; }
}

/* =============================================================
   HERO DECO + KICKER REFINEMENT
   ============================================================= */
.hero { position: relative; }
.hero-deco {
  position: absolute;
  right: -120px; top: 20px;
  width: 620px; height: 620px;
  pointer-events: none;
  opacity: .9;
  z-index: 0;
}
.hero-deco svg { width: 100%; height: 100%; }
.hero-grid { position: relative; z-index: 1; }
.hero-lead { max-width: 720px; }

.hero-kicker-ring {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  margin-right: 12px;
  opacity: .8;
}
.hero-kicker-link {
  font: inherit;
  letter-spacing: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-transform: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(46,83,57,0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color .25s var(--ease), color .25s var(--ease);
}
.hero-kicker-link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.hero-kicker::before { display: none; }

.hero-sub em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-stat-num sup { font-family: var(--sans); font-size: 40%; font-weight: 400; margin-left: 2px; top: -1em; position: relative; color: var(--muted); }

/* =============================================================
   SECTION HEADER — refined hierarchy
   ============================================================= */
.section-head-title em { color: var(--accent); font-style: italic; font-weight: 300; }

/* =============================================================
   THE STANDARD — quiet, single column, deep
   ============================================================= */
.standard {
  margin-top: 0;
  padding: 160px 0 140px;
  background: var(--bg-dark);
  color: #F1EEE6;
  position: relative;
  overflow: hidden;
}
.standard-inner {
  position: relative; z-index: 1;
  max-width: 920px;
}
.standard-kicker {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: rgba(241,238,230,0.45);
  margin-bottom: 56px;
  text-transform: uppercase;
  font-weight: 500;
}
.standard-quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.22;
  letter-spacing: -0.018em;
  margin: 0 0 72px;
  color: #F6F3EA;
}
.standard-quote em {
  font-style: italic;
  color: #D4B98F;
  font-weight: 300;
}

.standard-signature {
  display: flex; flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid rgba(241,238,230,0.14);
}
.standard-sig-name {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.005em;
  color: rgba(241,238,230,0.7);
  font-weight: 300;
}
.standard-sig-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 36px;
  border: 1px solid rgba(241,238,230,0.22);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #F6F3EA;
  background: transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer;
}
.standard-sig-link svg { width: 11px; height: 11px; transition: transform .25s var(--ease); }
.standard-sig-link:hover { background: rgba(241,238,230,0.06); border-color: rgba(212,185,143,0.6); }
.standard-sig-link:hover svg { transform: translateX(3px); }

@media (max-width: 760px) {
  .standard { padding: 96px 0 88px; }
  .standard-kicker { margin-bottom: 36px; }
  .standard-quote { margin-bottom: 48px; }
  .standard-signature { flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 28px; }
}

/* =============================================================
   FEATURED SERIES — text-led, quiet
   ============================================================= */
.featured { padding: 160px 0 120px; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 56px;
}
.feat-series {
  position: relative;
  background: var(--bg);
  padding: 44px 40px 40px;
  display: flex; flex-direction: column;
  color: inherit;
  transition: background .35s var(--ease);
}
.feat-series:hover { background: var(--bg-alt); }
.feat-series-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-bottom: 56px;
}
.feat-series-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 14px;
  font-weight: 500;
}
.feat-series-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  line-height: 1.05;
}
.feat-series-lede {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink-2);
  margin: 0 0 20px;
  font-weight: 300;
}
.feat-series-lede em { color: var(--accent); font-weight: 300; }
.feat-series-body-copy {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 28px;
  flex: 1;
}
.feat-series-foot {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.feat-series-price {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
}
.feat-series-price small {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
  margin-right: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.feat-series-cta {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: 0.02em;
}
.feat-series-cta svg {
  width: 11px; height: 11px;
  transition: transform .25s var(--ease);
}
.feat-series:hover .feat-series-cta svg { transform: translateX(4px); }

@media (max-width: 920px) {
  .feat-grid { grid-template-columns: 1fr; gap: 1px; }
}
@media (max-width: 640px) {
  .featured { padding: 96px 0 40px; }
  .feat-series { padding: 32px 22px 32px; }
  .feat-series-num { margin-bottom: 28px; }
  .feat-series-name { font-size: 26px; }
  .feat-series-lede { font-size: 16px; }
}

/* =============================================================
   FIELD GUIDE — editorial chapter list
   ============================================================= */
.guide { padding: 88px 0 40px; }
.guide-list {
  margin-top: 40px;
  border-top: 1px solid var(--line-2);
}
.guide-row {
  display: grid;
  grid-template-columns: 56px 1fr auto 28px;
  gap: 32px;
  align-items: center;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition: padding .3s var(--ease), background .3s var(--ease);
}
.guide-row:hover {
  padding-left: 16px;
  background: linear-gradient(90deg, transparent, var(--bg-alt) 40%, transparent);
}
.guide-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}
.guide-main { min-width: 0; }
.guide-label {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.guide-lede {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: -0.005em;
}
.guide-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.guide-arrow {
  width: 16px; height: 16px;
  color: var(--muted-2);
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.guide-row:hover .guide-arrow {
  color: var(--accent);
  transform: translateX(4px);
}
@media (max-width: 700px) {
  .guide-row {
    grid-template-columns: 40px 1fr auto;
    gap: 16px;
    padding: 22px 2px;
  }
  .guide-arrow { display: none; }
  .guide-label { font-size: 22px; }
  .guide-lede { font-size: 14px; }
  .guide-meta { font-size: 10.5px; }
}

/* =============================================================
   CLOSING CTA
   ============================================================= */
.closing {
  padding: 112px 0 96px;
  background: var(--bg-alt);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.closing-inner { max-width: 860px; margin: 0 auto; }
.closing-kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--bronze);
  margin-bottom: 24px;
}
.closing-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 24px;
}
.closing-title em { color: var(--accent); font-style: italic; font-weight: 300; }
.closing-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 auto 36px;
  max-width: 620px;
}
.closing-body em { color: var(--accent); font-style: italic; }
.closing-cta { margin: 0 auto; }
@media (max-width: 640px) {
  .closing { padding: 72px 0 64px; }
  .closing-body { font-size: 14.5px; }
}

/* =============================================================
   CATEGORY CARD — decorative layer + refinement
   ============================================================= */
.cat-card { color: inherit; }
.cat-card-deco {
  position: absolute;
  right: 20px; top: 20px;
  width: 120px; height: 120px;
  color: var(--accent);
  pointer-events: none;
  transition: transform .55s var(--ease), opacity .4s var(--ease);
  opacity: 1;
}
.cat-card-deco svg { width: 100%; height: 100%; }
.cat-card:hover .cat-card-deco { transform: translate(-8px, 8px) rotate(-4deg); }
.cat-card.feat-1 .cat-card-deco { color: #D4B98F; opacity: 0.9; }
@media (max-width: 760px) {
  .cat-card-deco { width: 86px; height: 86px; right: 14px; top: 14px; }
}

/* =============================================================
   SCROLL REVEAL
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =============================================================
   DETAIL PAGE UPGRADES
   ============================================================= */
.detail-img-wrap { position: relative; }
.detail-img-deco {
  position: absolute; inset: 0;
  opacity: .9;
  pointer-events: none;
  z-index: 0;
}
.detail-img-deco svg { width: 100%; height: 100%; }
.detail-vial, .detail-vial-label, .detail-vial-mini { z-index: 2; }

.detail-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.detail-sub em { font-style: italic; font-weight: 400; color: var(--ink); }

/* MECHANISM block */
.detail-about {
  margin-top: 48px;
  padding: 40px 44px;
  background: rgba(255,255,255,0.42);
  border-radius: 18px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
}
.detail-about-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--bronze);
  padding-top: 6px;
}
.detail-about-body {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  font-weight: 300;
}
@media (max-width: 760px) {
  .detail-about {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 22px;
  }
  .detail-about-body { font-size: 16.5px; }
}

.detail-sku-title em { color: var(--accent); font-style: italic; font-weight: 300; }

/* SPEC grid */
.spec-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.spec-cell {
  padding: 20px 22px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spec-cell:nth-child(4n) { border-right: 0; }
.spec-cell:nth-last-child(-n+4) { border-bottom: 0; }
.spec-k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.spec-v {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.3;
}
@media (max-width: 860px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-cell { border-right: 1px solid var(--line) !important; }
  .spec-cell:nth-child(2n) { border-right: 0 !important; }
  .spec-cell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 440px) {
  .spec-cell { padding: 16px 18px 18px; }
  .spec-v { font-size: 14.5px; }
}

/* RELATED */
.related { margin-top: 56px; }
.related-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}
.related-kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--bronze);
}
.related-all {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
}
.related-all svg {
  width: 11px; height: 11px;
  transition: transform .25s var(--ease);
}
.related-all:hover svg { transform: translateX(3px); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.related-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}
.related-card:hover { transform: translateY(-2px); border-color: var(--line-2); }
.related-media {
  position: relative;
  background: #F5F1E9;
  overflow: hidden;
}
.related-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
}
.related-vial {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 46%;
  height: 68%;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(230,237,231,0.94) 65%);
  border: 1px solid rgba(15,16,17,0.14);
  border-radius: 6px 6px 5px 5px;
  box-shadow: 0 4px 8px -4px rgba(15,16,17,0.2);
}
.related-vial::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14%;
  background: linear-gradient(180deg, #3A3A3D, #1e1e20);
  border-radius: 6px 6px 0 0;
}
.related-label {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: 10px;
  padding: 1px 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  max-width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 2;
}
.related-body {
  padding: 14px 16px;
  display: flex; flex-direction: column; justify-content: center;
}
.related-name {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
  line-height: 1.2;
}
.related-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
@media (max-width: 860px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* COMPLIANCE */
.compliance {
  margin-top: 40px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: center;
  background: transparent;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
}
.compliance-mark {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 500;
}
.compliance-body {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
.compliance-body strong { color: var(--ink-2); font-weight: 600; }

/* =============================================================
   CATEGORY PAGE
   ============================================================= */
.page-head {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.page-crumb {
  font-size: 12px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.page-crumb a { color: var(--ink); }
.page-crumb svg { width: 10px; height: 10px; color: var(--muted-2); }

.page-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 8vw, 72px);
  letter-spacing: -0.03em; line-height: 1.02;
  margin: 0 0 14px;
}
.page-sub {
  color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 560px;
  margin: 0;
}
.page-side {
  display: flex; flex-direction: column; gap: 14px;
}
.search-input-wrap {
  position: relative;
}
.search-input-wrap input {
  width: 100%; height: 46px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit; color: var(--ink);
  transition: border-color .2s var(--ease);
}
.search-input-wrap input:focus { outline: 0; border-color: var(--ink); }
.search-input-wrap svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--muted);
}
.page-side-meta {
  display: flex; justify-content: space-between; font-size: 12px; color: var(--muted);
  padding: 0 4px;
}
.page-side-meta b { color: var(--ink); font-weight: 600; font-family: var(--mono); }

@media (max-width: 860px) {
  .page-head { grid-template-columns: 1fr; gap: 24px; }
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 40px 0 80px;
}
.series-card {
  background: rgba(255,255,255,0.64);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
  display: flex; flex-direction: column;
}
.series-card:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 14px 34px -24px rgba(15,16,17,0.24); }
.series-card-img {
  position: relative;
  aspect-ratio: 1/1;
  background: #F5F1E9;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.series-card-img::before {
  display: none;
}
.series-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.08);
  transition: transform .32s var(--ease), filter .32s var(--ease);
}
.series-card:hover .series-card-photo {
  transform: scale(1.12);
  filter: saturate(1.02) contrast(1.01);
}
.series-card-vial {
  position: relative;
  width: 42%;
  height: 66%;
  background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(234,240,235,0.9) 62%, rgba(255,255,255,0.72) 100%);
  border: 1px solid rgba(15,16,17,0.11);
  border-radius: 12px 12px 10px 10px;
  display: flex; flex-direction: column;
  box-shadow: inset 0 -12px 22px rgba(15,16,17,0.03), 0 7px 16px -12px rgba(15,16,17,0.2);
  overflow: hidden;
}
.series-card-vial::before {
  content:""; height: 14%;
  background: linear-gradient(180deg, #343437, #242426);
  border-bottom: 1px solid rgba(15,16,17,0.16);
}
.series-card-vial::after {
  content:""; flex: 1;
  background:
    linear-gradient(180deg, transparent 28%, rgba(255,255,255,0.55) 30%, transparent 34%),
    linear-gradient(180deg, transparent 50%, rgba(46,83,57,0.08) 80%);
}
.series-card-initial {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 5px 12px -10px rgba(15,16,17,0.28);
  z-index: 2;
  letter-spacing: 0.02em;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.series-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.series-card-name {
  font-family: var(--serif); font-weight: 400;
  font-size: 20px; letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.series-card-meta { font-size: 12.5px; color: var(--muted); margin-bottom: auto; }
.series-card-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.series-card-price {
  font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--ink);
}
.series-card-price small { color: var(--muted); font-family: var(--sans); font-weight: 400; font-size: 10.5px; margin-right: 3px; letter-spacing: 0.08em; text-transform: uppercase; }
.series-card-cta {
  font-size: 12.5px; color: var(--accent); font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}
.series-card-cta svg { width: 12px; height: 12px; transition: transform .22s var(--ease); }
.series-card:hover .series-card-cta svg { transform: translateX(3px); }

.empty-note {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.research-section {
  margin-top: -28px;
  padding: 0 0 96px;
}
.research-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.research-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -24px rgba(15,16,17,0.36);
}
.research-mark svg { width: 20px; height: 20px; }
.research-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 8px;
}
.research-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
}
.research-title em {
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
}
.research-sub {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.research-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.research-card {
  min-height: 210px;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.62)),
    radial-gradient(circle at 16% 0%, rgba(46,83,57,0.05), transparent 42%);
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
}
.research-card-badge {
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(46,83,57,0.08);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.research-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: 0 18px 38px -28px rgba(15,16,17,0.34);
}
.research-card-source {
  font-size: 11px;
  line-height: 1.35;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.research-card-title {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.42;
  font-weight: 650;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.research-card-meta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
}
.research-card-authors {
  margin: 10px 0 16px;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.45;
  font-style: italic;
}
.research-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 650;
}
.research-card-link svg {
  width: 12px;
  height: 12px;
  transition: transform .22s var(--ease);
}
.research-card:hover .research-card-link svg { transform: translate(2px, -2px); }

.detail .research-section {
  margin-top: 44px;
  padding-bottom: 12px;
}
.detail .research-head {
  padding-top: 36px;
}
.detail .research-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.detail .research-card {
  min-height: 196px;
}

@media (max-width: 1180px) {
  .research-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail .research-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .research-section {
    margin-top: -22px;
    padding-bottom: 72px;
  }
  .research-head {
    gap: 12px;
    margin-bottom: 18px;
    padding-top: 26px;
  }
  .research-mark {
    width: 36px;
    height: 36px;
  }
  .research-mark svg {
    width: 18px;
    height: 18px;
  }
  .research-kicker { font-size: 10px; }
  .research-title { font-size: 28px; }
  .research-sub { font-size: 12.5px; }
  .research-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .research-card {
    min-height: 176px;
    padding: 18px 18px 16px;
  }
  .detail .research-section {
    margin-top: 32px;
    padding-bottom: 6px;
  }
  .detail .research-head {
    padding-top: 28px;
  }
  .research-card-source { margin-bottom: 10px; }
  .research-card-title { font-size: 14px; margin-bottom: 12px; }
}

/* =============================================================
   SERIES DETAIL PAGE
   ============================================================= */
.detail {
  max-width: var(--detail-max);
  margin: 0 auto;
  padding: 48px 28px 96px;
}
.detail-back {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px;
  font-size: 13px; color: var(--muted);
  margin-bottom: 28px;
  padding: 0 12px 0 4px;
  border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.detail-back:hover { color: var(--ink); background: rgba(15,16,17,0.04); }
.detail-back svg { width: 12px; height: 12px; }

.detail-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 12px 0 40px;
  border-bottom: 1px solid var(--line);
}
.detail-img-wrap {
  aspect-ratio: 1/1;
  max-width: 420px;
  width: 100%;
  position: relative;
  background: #F5F1E9;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.detail-img-wrap::before {
  display: none;
}
.detail-product-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.detail-vial {
  position: relative;
  width: 42%;
  height: 70%;
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(234,240,235,0.9) 65%);
  border: 1px solid rgba(15,16,17,0.12);
  border-radius: 14px 14px 12px 12px;
  box-shadow: 0 16px 32px -22px rgba(15,16,17,0.26), inset 0 -16px 26px rgba(15,16,17,0.035);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.detail-vial::before {
  content:""; height: 14%;
  background: linear-gradient(180deg, #343437, #232325);
}
.detail-vial::after {
  content:""; flex: 1;
  background:
    linear-gradient(180deg, transparent 25%, rgba(255,255,255,0.5) 28%, transparent 32%),
    linear-gradient(180deg, transparent 45%, rgba(46,83,57,0.1) 85%);
}
.detail-vial-label {
  position: absolute; top: 48%; left: 50%; transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 10px 5px;
  border-radius: 4px;
  font-family: var(--serif); font-size: 13px;
  z-index: 2;
  max-width: 85%;
  text-align: center;
  box-shadow: 0 5px 12px -10px rgba(15,16,17,0.28);
  letter-spacing: 0.01em;
}
.detail-vial-mini {
  position: absolute; bottom: 48%; left: 50%; transform: translateX(-50%);
  z-index: 2;
  font-family: var(--mono); font-size: 9px;
  color: var(--accent); letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-head { display: flex; flex-direction: column; justify-content: center; }
.detail-kicker {
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  margin-bottom: 10px;
}
.detail-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.025em; line-height: 1.02;
  margin: 0 0 14px;
}
.detail-sub { color: var(--muted); font-size: 15px; margin: 0 0 24px; max-width: 420px; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-size: 11px; letter-spacing: 0.08em;
  padding: 5px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink-2);
}
.badge.accent { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 600; }
.badge.bronze { background: var(--bronze-soft); border-color: transparent; color: var(--bronze); font-weight: 600; }

@media (max-width: 780px) {
  .detail-top { grid-template-columns: 1fr; gap: 32px; }
  .detail-img-wrap { max-width: 320px; margin: 0 auto; }
}

/* SKU table */
.detail-sku {
  margin-top: 44px;
}
.detail-sku-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
}
.detail-sku-title {
  font-family: var(--serif); font-weight: 400;
  font-size: 28px; letter-spacing: -0.02em;
  margin: 0;
}
.detail-sku-meta { font-size: 12px; color: var(--muted); font-family: var(--mono); }

.sku-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sku-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  transition: background .2s var(--ease);
}
.sku-row:first-child { border-top: 0; }
.sku-row:hover { background: var(--bg-alt); }
.sku-code {
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
}
.sku-spec {
  font-size: 15px; color: var(--ink); letter-spacing: -0.005em;
}
.sku-price {
  font-family: var(--mono); font-size: 18px; font-weight: 500; color: var(--ink);
  min-width: 72px; text-align: right;
}
.sku-price small {
  font-family: var(--sans); font-size: 10px; color: var(--muted); font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  display: block; margin-bottom: -2px;
}
.sku-cart {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; min-width: 62px; padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: 13px; font-weight: 600;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.sku-cart:hover {
  border-color: rgba(46,83,57,0.24);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.sku-cart.is-added {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}
.sku-order {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 14px;
  background: var(--wa);
  color: #fff;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.sku-order:hover { background: var(--wa-ink); transform: translateY(-1px); }
.sku-order svg { width: 13px; height: 13px; }

@media (max-width: 640px) {
  .sku-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 10px;
  }
  .sku-code { grid-column: 1 / 2; grid-row: 1; }
  .sku-price { grid-column: 2; grid-row: 1; text-align: right; font-size: 16px; min-width: 0; }
  .sku-spec { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  .sku-cart,
  .sku-order { grid-row: 3; justify-content: center; width: 100%; }
  .sku-cart { grid-column: 1; }
  .sku-order { grid-column: 2; }
}

.detail-foot {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.detail-foot-card {
  padding: 22px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.detail-foot-title { font-size: 12px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.detail-foot-body { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 640px) { .detail-foot { grid-template-columns: 1fr; } }

/* =============================================================
   FOOTER
   ============================================================= */
.foot {
  margin-top: 80px;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 28px;
  position: relative; z-index: 1;
}
.foot-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
}
.foot-brand { max-width: 360px; }
.foot-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 22px; color: #fff;
  margin-bottom: 16px;
}
.foot-logo .brand-mark { color: #fff; }
.foot-line { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.55); }
.foot-kicker {
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); font-weight: 600;
  margin-bottom: 16px;
}
.foot ul li { margin-bottom: 9px; font-size: 13.5px; }
.foot ul li a { color: rgba(255,255,255,0.75); transition: color .18s var(--ease); }
.foot ul li a:hover { color: #fff; }
.foot-base {
  max-width: var(--page-max);
  margin: 56px auto 0;
  padding: 22px 28px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.4);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
@media (max-width: 920px) {
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot-brand { grid-column: 1 / -1; max-width: none; }
  .foot-base { flex-direction: column; gap: 10px; }
}
@media (max-width: 560px) {
  .foot-inner { grid-template-columns: 1fr; }
}

/* =============================================================
   NAV — House button (desktop only)
   ============================================================= */
.nav-house-btn {
  height: 36px;
  padding: 0 14px;
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.nav-house-btn svg { display: none; }
.nav-house-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

@media (max-width: 820px) {
  .nav-house-btn {
    background: rgba(255,255,255,0.5);
    font-family: var(--sans);
  }

  .nav-house-btn svg {
    display: block;
  }

  .nav-house-btn:hover {
    background: rgba(255,255,255,0.9);
    color: var(--ink);
    border-color: var(--line-2);
  }
}

/* =============================================================
   THE HOUSE — full-screen editorial modal
   ============================================================= */
.house-overlay {
  position: fixed; inset: 0;
  background: rgba(15,16,17,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 110;
  opacity: 0; pointer-events: none;
  transition: opacity .36s var(--ease);
  overflow-y: auto;
  padding: 32px;
}
body[data-house="open"] .house-overlay { opacity: 1; pointer-events: auto; }
body[data-house="open"] { overflow: hidden; }

.house-panel {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 50px 120px -30px rgba(0,0,0,0.6);
  transform: translateY(24px) scale(0.98);
  transition: transform .5s var(--ease);
}
body[data-house="open"] .house-panel { transform: none; }

.house-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(15,16,17,0.04);
  color: var(--ink);
  z-index: 5;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), transform .3s var(--ease);
  border: 1px solid transparent;
}
.house-close:hover {
  background: var(--ink);
  color: var(--bg);
  transform: rotate(90deg);
}

.house-scroll {
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 0;
  scroll-behavior: smooth;
}

/* ---- COVER (photo hero) ---- */
.house-cover {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 100px 64px 72px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(46,83,57,0.08), transparent 60%),
    linear-gradient(180deg, #1c1e21 0%, #0F1011 100%);
  color: #F6F3EA;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.house-cover-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .6s var(--ease);
  z-index: 0;
}
.house-cover-img.is-loaded { opacity: 0.88; }
.house-cover-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,16,17,0.55) 0%, rgba(15,16,17,0.15) 40%, rgba(15,16,17,0.78) 100%),
    linear-gradient(90deg, rgba(15,16,17,0.3) 0%, rgba(15,16,17,0.0) 50%, rgba(15,16,17,0.3) 100%);
  z-index: 1;
  pointer-events: none;
}
.house-cover-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.house-cover-inner .house-crest { color: #D4B98F; opacity: 1; }
.house-cover-inner .house-hero-kicker { color: rgba(212,185,143,0.9); }
.house-cover-inner .house-hero-title { color: #F6F3EA; }
.house-cover-inner .house-hero-mark {
  background: linear-gradient(180deg, #F6F3EA 0%, #D4B98F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.house-cover-inner .house-hero-zh { color: rgba(241,238,230,0.65); }
.house-cover-inner .house-hero-sub { color: rgba(241,238,230,0.8); }
.house-cover-addr {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(241,238,230,0.15);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241,238,230,0.55);
}

/* ---- fallback state (no image file found) ---- */
.house-img[data-fallback="true"] {
  background:
    radial-gradient(circle at 30% 40%, rgba(154,123,79,0.25), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(46,83,57,0.3), transparent 55%),
    linear-gradient(135deg, #2a2c30 0%, #1a1b1d 100%);
  opacity: 1;
}
.house-img[data-fallback="true"]::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.house-cover-img[data-fallback="true"] { opacity: 1; }

/* ---- HERO (unused now, kept for back-compat) ---- */
.house-hero {
  padding: 120px 64px 80px;
  text-align: center;
  background:
    radial-gradient(ellipse at center top, rgba(46,83,57,0.05), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.house-crest {
  width: 78px; height: 78px;
  color: var(--accent);
  margin: 0 auto 28px;
  opacity: 0.85;
}
.house-crest svg { width: 100%; height: 100%; }
.house-hero-kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.house-hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 11vw, 150px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0 0 12px;
  color: var(--ink);
}
.house-hero-mark {
  display: inline-block;
  background: linear-gradient(180deg, var(--ink) 0%, #3a3a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 6px;
}
.house-hero-zh {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin: 0 0 26px;
  font-weight: 300;
}
.house-hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 auto;
  letter-spacing: -0.005em;
}

/* ---- LEDE ---- */
.house-lede-section {
  padding: 88px 64px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.house-lede-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.house-lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
}
.house-lede em {
  font-style: italic;
  color: var(--accent);
}
.house-lede strong {
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* ---- SECTION SHARED ---- */
.house-section {
  padding: 96px 64px;
  max-width: 1120px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.house-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.house-section-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.house-section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin: 0 0 16px;
}
.house-section-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.house-section-lede {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

/* ---- DOCTRINE — 6 tenets ---- */
.tenet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.tenet {
  padding: 32px 30px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background .3s var(--ease);
}
.tenet:hover { background: var(--bg-alt); }
.tenet-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--bronze);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.tenet-label {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  line-height: 1.15;
}
.tenet-body {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 300;
}

/* ---- CAMPUS aerial shot ---- */
.house-campus {
  margin: 0;
  padding: 0 64px 96px;
  max-width: 1120px;
  margin: 0 auto;
}
.house-campus-img {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1c1e21;
  box-shadow: 0 28px 60px -30px rgba(15,16,17,0.35);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.house-campus-img.is-loaded { opacity: 1; }
.house-campus-img[data-fallback="true"] { opacity: 1; }
.house-campus-cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  padding: 0 4px;
  border-top: 0;
  gap: 20px;
  flex-wrap: wrap;
}
.cap-k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}
.cap-v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}

/* ---- FACILITIES — 4 cells ---- */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.facility {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.facility:hover { transform: translateY(-3px); border-color: var(--line-2); }
.facility-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1c1e21;
  opacity: 0;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
  transform: scale(1);
}
.facility-photo.is-loaded { opacity: 1; }
.facility-photo[data-fallback="true"] { opacity: 1; }
.facility:hover .facility-photo { transform: scale(1.035); }
.facility-body-wrap {
  padding: 28px 30px 32px;
}
.facility-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.facility-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.facility-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ---- FACTSHEET ---- */
.factsheet {
  max-width: 760px;
  margin: 0 auto;
  display: block;
  border-top: 1px solid var(--line-2);
}
.factsheet-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.factsheet-row dt {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.factsheet-row dd {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.45;
}
.factsheet-zh {
  display: inline-block;
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ---- CLOSING MOTTO ---- */
.house-motto-section {
  padding: 96px 64px 108px;
  text-align: center;
  background: var(--bg-dark);
  color: #F1EEE6;
  position: relative;
  overflow: hidden;
}
.house-motto-section::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(154,123,79,0.16), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(46,83,57,0.22), transparent 55%);
  pointer-events: none;
}
.house-motto-line {
  width: 56px; height: 1px;
  background: #D4B98F;
  margin: 0 auto 36px;
  opacity: 0.7;
}
.house-motto {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 auto 22px;
  color: #F6F3EA;
  max-width: 820px;
  position: relative;
  z-index: 1;
}
.house-motto em {
  font-style: italic;
  color: #D4B98F;
  font-weight: 300;
}
.house-motto-zh {
  font-family: var(--serif);
  font-size: 17px;
  color: rgba(241,238,230,0.62);
  letter-spacing: 0.26em;
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
}
.house-motto-sign {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: rgba(241,238,230,0.45);
  text-transform: uppercase;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.house-ctas {
  display: inline-flex;
  gap: 14px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}
.house-close-cta {
  background: transparent;
  border-color: rgba(241,238,230,0.3);
  color: #F1EEE6;
}
.house-close-cta:hover {
  background: rgba(241,238,230,0.08);
  border-color: rgba(241,238,230,0.6);
}

/* ---- responsive ---- */
@media (max-width: 860px) {
  .house-overlay { padding: 0; }
  .house-panel { border-radius: 0; min-height: 100vh; }
  .house-scroll { max-height: 100vh; }
  .house-close { top: 14px; right: 14px; width: 40px; height: 40px; }

  .house-hero { padding: 80px 22px 56px; }
  .house-crest { width: 62px; height: 62px; margin-bottom: 22px; }
  .house-hero-sub { font-size: 16px; }
  .house-hero-zh { font-size: 15px; }

  /* cover */
  .house-cover { min-height: 460px; padding: 72px 22px 48px; }
  .house-cover-addr { font-size: 10px; letter-spacing: 0.15em; margin-top: 22px; padding-top: 18px; }

  /* campus */
  .house-campus { padding: 0 22px 64px; }
  .house-campus-img { border-radius: 12px; aspect-ratio: 16 / 10; }
  .house-campus-cap { flex-direction: column; gap: 4px; }

  /* facility photos */
  .facility-photo { aspect-ratio: 5 / 3; }
  .facility-body-wrap { padding: 22px 22px 26px; }

  .house-lede-section { padding: 56px 22px; }
  .house-lede { font-size: 19px; }

  .house-section { padding: 64px 22px; }
  .house-section-head { margin-bottom: 36px; }

  .tenet-grid { grid-template-columns: 1fr; border-left: 0; }
  .tenet { padding: 24px 20px 26px; }
  .tenet:first-child { border-top: 0; }

  .facility-grid { grid-template-columns: 1fr; gap: 14px; }
  .facility { padding: 24px 22px 26px; }
  .facility-title { font-size: 22px; }

  .factsheet-row { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .factsheet-row dd { font-size: 16px; }

  .house-motto-section { padding: 72px 22px 80px; }
  .house-motto-line { margin-bottom: 28px; }
  .house-motto-zh { font-size: 14px; letter-spacing: 0.18em; }
  .house-ctas { flex-direction: column; width: 100%; }
  .house-ctas .btn-wa, .house-ctas .btn-ghost { width: 100%; justify-content: center; }
}

/* =============================================================
   FLOATING CTA (mobile only)
   ============================================================= */
.fab {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 55;
  padding: 0 18px;
  height: 52px;
  background: var(--wa);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  align-items: center;
  gap: 9px;
  box-shadow: 0 14px 38px -10px rgba(37,211,102,0.55), 0 2px 6px rgba(15,16,17,0.14);
  transition: transform .24s var(--ease);
}
.fab:hover { transform: translateY(-2px); }
.fab svg { width: 16px; height: 16px; }

/* =============================================================
   MOBILE REFINEMENT (≤ 760px)
   tightens type scale, padding, rhythm
   ============================================================= */
@media (max-width: 760px) {
  :root {
    --nav-h: 56px;
    --radius: 12px;
    --radius-lg: 18px;
  }

  /* FAB removed per request — was floating "Order on WhatsApp" bottom-right */
  .fab { display: none; }

  /* hide desktop WhatsApp in nav on mobile */
  .nav-wa { display: none; }
  .nav-house-btn { display: none; } /* collapsed into sidebar on mobile */
  .nav-inner {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 14px;
    gap: 10px;
  }
  .nav-menu { width: 36px; height: 36px; }
  .nav-menu span { width: 16px; }
  .nav-brand { font-size: 24px; gap: 0; letter-spacing: -0.015em; }
  .brand-mark { width: 20px; height: 20px; }
  .nav-search-btn { width: 36px; height: 36px; padding: 0; border-radius: 50%; }

  /* HERO — condense (2-col layout preserved from hero section rules) */
  .hero { padding: 36px 0 24px; }
  .hero-kicker { font-size: 10.5px; letter-spacing: 0.18em; margin-bottom: 18px; }
  .hero-kicker::before { width: 20px; }
  .hero-title { margin-bottom: 22px; letter-spacing: -0.03em; }
  .hero-ctas { gap: 10px; }

  /* hero stats — 2x2 premium grid */
  .hero-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 26px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .hero-stat {
    display: block;
    padding: 18px 18px 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-stat:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
  .hero-stat:nth-child(even) { padding-left: 18px; }
  .hero-stat:nth-last-child(-n+2) { border-bottom: 0; }
  .hero-stat-num {
    font-size: 34px;
    margin-bottom: 10px;
  }
  .hero-stat-body { font-size: 12.5px; line-height: 1.45; }
  .hero-stat-body strong { font-size: 13px; margin-bottom: 3px; }

  /* marquee */
  .hero-marquee { margin-top: 40px; padding: 16px 0; }
  .marquee-track { gap: 36px; }
  .marquee-track span { font-size: 16px; }

  /* sections */
  .section { padding: 56px 0 24px; }
  .section-head { margin-bottom: 30px; gap: 14px; }
  .section-head-title { line-height: 1.08; }
  .section-kicker { font-size: 10.5px; letter-spacing: 0.18em; padding: 5px 9px; height: 26px; }
  .section-head-meta {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.08em;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  /* category grid — tighter */
  .cat-grid { gap: 12px; }
  .cat-card,
  .cat-card.feat-1, .cat-card.feat-2, .cat-card.feat-3,
  .cat-card.feat-4, .cat-card.feat-5, .cat-card.feat-6, .cat-card.feat-7 {
    grid-column: span 12;
    padding: 22px 22px 20px;
    min-height: 0;
    border-radius: var(--radius-lg);
  }
  .cat-card.feat-1 { padding: 26px 22px 22px; }
  .cat-card-idx { font-size: 10.5px; }
  .cat-card-title { font-size: 24px; margin: 10px 0 6px; letter-spacing: -0.018em; }
  .cat-card-tag { font-size: 13px; line-height: 1.45; }
  .cat-card-foot { margin-top: 18px; padding-top: 12px; font-size: 12px; }

  /* hero deco shrink on mobile */
  .hero-deco { right: -180px; top: 160px; width: 420px; height: 420px; opacity: 0.5; }

  /* detail */
  .detail-about { padding: 22px 20px; gap: 12px; }

  /* closing */
  .closing { padding: 72px 0 56px; }

  /* featured */
  .featured { padding: 64px 0 16px; }

  /* field guide */
  .guide { padding: 60px 0 20px; }
  .guide-list { margin-top: 24px; }

  /* category page */
  .page-head { padding: 32px 0 24px; gap: 20px; grid-template-columns: 1fr; }
  .page-crumb { font-size: 11.5px; margin-bottom: 14px; }
  .page-sub { font-size: 14px; line-height: 1.5; }
  .page-side-meta {
    justify-content: flex-start;
    gap: 18px;
  }
  .search-input-wrap input { height: 44px; font-size: 14px; }

  /* series grid — single column but shorter cards with side-by-side layout */
  .series-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0 60px;
  }
  .series-card {
    display: grid;
    grid-template-columns: 104px 1fr;
    align-items: stretch;
  }
  .series-card-img { aspect-ratio: 1/1; width: 104px; }
  .series-card-photo,
  .series-card:hover .series-card-photo { transform: none; }
  .series-card-img::before { background-size: 20px 20px; }
  .series-card-vial { width: 52%; height: 64%; border-radius: 7px 7px 6px 6px; }
  .series-card-initial { font-size: 11px; padding: 2px 5px; }
  .series-card-body { padding: 14px 16px 14px; }
  .series-card-name { font-size: 18px; margin-bottom: 3px; }
  .series-card-meta { font-size: 12px; }
  .series-card-foot { margin-top: 10px; padding-top: 10px; }
  .series-card-price { font-size: 13px; }
  .series-card-cta { font-size: 11.5px; }

  /* detail page */
  .detail { padding: 24px 16px 80px; }
  .detail-back { margin-bottom: 18px; }
  .detail-top { grid-template-columns: 1fr; gap: 24px; padding: 4px 0 26px; }
  .detail-img-wrap {
    max-width: 360px;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    margin: 0 auto;
  }
  .detail-img-wrap::before { background-size: 28px 28px; }
  .detail-vial { width: 28%; height: 72%; }
  .detail-vial-label { font-size: 12px; padding: 5px 8px 4px; }
  .detail-vial-mini { display: none; }
  .detail-kicker { font-size: 10.5px; letter-spacing: 0.16em; }
  .detail-title { font-size: clamp(30px, 8vw, 48px); line-height: 1.02; letter-spacing: -0.025em; }
  .detail-sub { font-size: 14px; margin-bottom: 18px; }
  .badge { font-size: 10.5px; padding: 4px 9px; }

  .detail-sku { margin-top: 28px; }
  .detail-sku-title { font-size: 22px; }
  .detail-sku-head { margin-bottom: 10px; }
  .detail-sku-meta { font-size: 11.5px; }

  .sku-list { border-radius: var(--radius); }
  .sku-row { padding: 14px 16px; gap: 10px; }
  .sku-code { font-size: 10.5px; }
  .sku-price { font-size: 16px; }
  .sku-order { height: 36px; padding: 0 14px; font-size: 12.5px; }

  .detail-foot { grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
  .detail-foot-card { padding: 18px; }
  .detail-foot-title { font-size: 11px; }
  .detail-foot-body { font-size: 13px; }

  /* footer */
  .foot { padding: 56px 0 24px; margin-top: 56px; }
  .foot-inner { padding: 0 16px; gap: 28px; }
  .foot-logo { font-size: 20px; }
  .foot-line { font-size: 13px; }
  .foot-kicker { margin-bottom: 12px; font-size: 10.5px; letter-spacing: 0.18em; }
  .foot ul li { margin-bottom: 7px; font-size: 13px; }
  .foot-base { padding: 16px 16px 0; margin-top: 36px; font-size: 11px; }

  /* sidebar — make it edge-to-edge */
  .sidebar { width: 85vw; max-width: 360px; padding-top: calc(var(--nav-h) + 6px); }
  .side-head { padding: 14px 22px 20px; }
  .side-title { font-size: 28px; }
  .side-item { padding: 13px 22px; }
  .side-foot { padding: 16px 22px 22px; }
}

/* very small phones (hero-title handled above in ≤420 / ≤360 blocks) */
@media (max-width: 380px) {
  .nav-inner { padding: 0 12px; }
  .detail { padding: 20px 14px 72px; }
  .series-card { grid-template-columns: 92px 1fr; }
  .series-card-img { width: 92px; }
  .series-card-photo,
  .series-card:hover .series-card-photo { transform: none; }
  .fab { right: 12px; bottom: 14px; padding: 0 16px; height: 48px; }
}

/* =============================================================
   MOBILE POLISH — touch, sheets, first-screen density
   ============================================================= */
@media (max-width: 760px) {
  .nav {
    background: rgba(250,248,244,0.9);
  }

  .nav-inner {
    position: relative;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 16px;
  }

  .nav-menu,
  .nav-search-btn,
  .nav-cart-btn {
    width: 44px;
    height: 44px;
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
  }

  .nav-right {
    display: contents;
  }

  .nav-search-btn,
  .nav-cart-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .nav-search-btn { left: 64px; }
  .nav-cart-btn { right: 64px; }
  .nav-cart-btn b {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 9px;
  }

  .nav-search-btn span,
  .nav-search-btn kbd,
  .nav-cart-btn span {
    display: none;
  }

  .nav-house-btn,
  .nav-wa {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-house-btn {
    display: none;
  }

  .nav-wa span {
    display: none;
  }

  .nav-wa {
    right: 16px;
    border: 1px solid rgba(37,211,102,0.24);
    background: rgba(255,255,255,0.72);
    color: var(--wa-ink);
    box-shadow: 0 10px 28px -18px rgba(18,140,126,0.55);
    transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  }

  .nav-wa:hover {
    background: rgba(255,255,255,0.92);
    border-color: rgba(37,211,102,0.38);
    color: var(--wa);
  }

  .search-overlay {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    background: rgba(15,16,17,0.42);
  }

  .search-box {
    max-width: none;
    height: 100dvh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    transform: translateY(10px);
  }

  .search-head {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 68px;
    padding: max(14px, env(safe-area-inset-top)) 16px 14px;
  }

  .search-head input {
    min-width: 0;
    font-size: 16px;
  }

  .search-close {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
  }

  .search-close::before {
    content: "×";
    font-family: var(--sans);
    font-size: 24px;
    line-height: 1;
  }

  .search-results {
    flex: 1;
    max-height: none;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .cart-overlay {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    background: rgba(15,16,17,0.42);
  }

  .cart-box {
    max-width: none;
    height: 100dvh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    transform: translateY(10px);
  }

  .cart-head {
    min-height: 68px;
    padding: max(14px, env(safe-area-inset-top)) 16px 14px;
  }

  .cart-head h2 {
    font-size: 28px;
  }

  .cart-close {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  .cart-close::before {
    content: "×";
    font-family: var(--sans);
    font-size: 24px;
    line-height: 1;
  }

  .cart-body {
    flex: 1;
    max-height: none;
  }

  .cart-foot {
    padding: 12px 16px max(16px, env(safe-area-inset-bottom));
  }

  .cart-clear,
  .cart-send {
    flex: 1;
  }

  .search-empty-rich {
    padding: 22px 16px;
  }

  .search-quick {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .search-result {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .search-result-price {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
  }

  .sidebar {
    width: min(92vw, 390px);
    max-width: none;
  }

  .side-close {
    top: 12px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .side-nav {
    padding: 10px 0;
  }

  .side-item {
    min-height: 52px;
  }

  .hero {
    padding: 30px 0 36px;
  }

  .hero.wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(150px, 1.04fr);
    grid-template-areas:
      "title vial"
      "body  body";
    column-gap: 16px;
    row-gap: 24px;
    align-items: center;
  }

  .hero-title-block {
    align-self: center;
    max-width: none;
  }

  .hero-body-block {
    max-width: none;
    text-align: center;
  }

  .hero-portrait {
    width: min(100%, 248px);
    max-width: 248px;
    justify-self: center;
    align-self: center;
  }

  .hero-portrait-frame {
    aspect-ratio: 4 / 5;
  }

  .hero-portrait-cap {
    display: none;
  }

  .hero-kicker {
    max-width: 100%;
    line-height: 1.45;
    overflow-wrap: anywhere;
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: clamp(36px, 7.2vw, 54px) !important;
    line-height: 0.98;
    margin-bottom: 0;
  }

  .hero-sub {
    max-width: 520px;
    font-size: 15px;
    margin: 0 auto 24px;
  }

  .hero-ctas {
    width: min(100%, 360px);
    margin: 0 auto;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn-wa,
  .hero-ctas .btn-ghost {
    width: 100%;
    justify-content: center;
    height: 48px;
  }

  .hero-facts {
    margin-top: 42px;
    gap: 0;
    padding-top: 24px;
  }

  .hero-fact {
    padding: 0 14px 18px;
  }

  .hero-fact-v {
    font-size: 32px;
  }

  .featured {
    padding-top: 72px;
  }

  .detail {
    padding-top: 20px;
  }

  .detail-top {
    gap: 18px;
  }

  .detail-head {
    order: -1;
  }

  .detail-img-wrap {
    max-height: none;
    max-width: 360px;
    aspect-ratio: 1 / 1;
  }

  .detail-vial {
    width: 24%;
    min-width: 76px;
  }

  .detail-sub {
    max-width: none;
  }

  .detail-sku-head {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
  }

  .sku-order {
    min-height: 42px;
  }
}

@media (max-width: 420px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(132px, 1.08fr);
  }

  .hero-title {
    font-size: clamp(28px, 8.4vw, 32px) !important;
  }

  .hero-kicker {
    font-size: 9.5px;
    letter-spacing: 0.11em;
  }
}

@media (max-width: 360px) {
  .nav-brand {
    font-size: 23px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(118px, 1.12fr);
  }

  .hero-title {
    font-size: 26px !important;
  }

  .search-result {
    padding: 14px 12px;
  }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none !important; }
}
