/* SHAMMAS — botanical ink & amber */
:root {
  --ink: #0f1a16;
  --ink-2: #16241f;
  --ink-3: #213229;
  --parchment: #f6f1e7;
  --parchment-2: #fbf8f2;
  --sand: #ece3d2;
  --stone: #cdbd9f;
  --text: #1a1f1c;
  --text-2: #4a524d;
  --text-3: #6f766f;
  --on-dark: #f6f1e7;
  --on-dark-2: rgba(246, 241, 231, .72);
  --amber: #c98a2e;
  --amber-2: #e0a94f;
  --amber-3: #f3d39a;
  --line: rgba(26, 31, 28, .12);
  --line-strong: rgba(26, 31, 28, .22);
  --line-dark: rgba(246, 241, 231, .14);
  --danger: #a3372b;
  --success: #3d6b4a;

  --font-display: 'El Messiri', 'IBM Plex Sans Arabic', serif;
  --font-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-latin: 'Fraunces', Georgia, serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --pill: 999px;
  --shadow-soft: 0 1px 2px rgba(15, 26, 22, .06), 0 12px 32px -12px rgba(15, 26, 22, .18);
  --shadow-lift: 0 2px 4px rgba(15, 26, 22, .06), 0 24px 48px -16px rgba(15, 26, 22, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23e0a94f' stroke-width='.8'%3E%3Crect x='28' y='28' width='40' height='40'/%3E%3Crect x='28' y='28' width='40' height='40' transform='rotate(45 48 48)'/%3E%3Cpath d='M0 48h8M88 48h8M48 0v8M48 88v8'/%3E%3C/g%3E%3C/svg%3E");
}

html[lang="en"] {
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
}
html[lang="zh-CN"] {
  --font-display: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.75; color: var(--text);
  background: var(--parchment); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.25; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.latin { font-family: var(--font-latin); direction: ltr; unicode-bidi: isolate; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 18px; border-radius: var(--pill); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-block: clamp(48px, 7vw, 80px); }

/* ---------- background system ---------- */
.bg-parchment, .bg-sand, .bg-ink { position: relative; isolation: isolate; }
.bg-parchment { background: radial-gradient(1200px 500px at 85% 0%, rgba(224, 169, 79, .10), transparent 60%), var(--parchment); }
.bg-sand { background: radial-gradient(900px 480px at 10% 100%, rgba(143, 165, 138, .14), transparent 60%), var(--sand); }
.bg-ink {
  color: var(--on-dark);
  background:
    radial-gradient(900px 600px at 12% 8%, rgba(224, 169, 79, .20), transparent 60%),
    radial-gradient(800px 600px at 95% 100%, rgba(47, 92, 68, .45), transparent 65%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.bg-parchment::after, .bg-sand::after, .bg-ink::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .10; mix-blend-mode: multiply;
}
.bg-ink::after { opacity: .18; mix-blend-mode: overlay; }
.bg-ink::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--lattice); background-size: 96px 96px; opacity: .10;
  -webkit-mask-image: radial-gradient(70% 60% at 20% 20%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 20% 20%, #000, transparent 75%);
}
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-latin); font-style: italic; font-size: 15px; color: var(--amber); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-light { color: var(--amber-2); }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.85; color: var(--text-2); max-width: 60ch; }
.bg-ink .lead { color: var(--on-dark-2); }
.note { font-size: 13.5px; color: var(--text-3); line-height: 1.7; }
.bg-ink .note { color: var(--on-dark-2); }
.num { font-family: var(--font-latin); font-feature-settings: "lnum"; direction: ltr; unicode-bidi: isolate; }

.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--text-2); font-size: 17px; }
.bg-ink .section-head p:not(.eyebrow) { color: var(--on-dark-2); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: gap .25s var(--ease), border-color .25s; }
.link-arrow::after { content: "←"; font-family: var(--font-body); transition: transform .25s var(--ease); }
.link-arrow:hover { border-color: var(--amber); }
.link-arrow:hover::after { transform: translateX(-4px); }
.link-light { color: var(--on-dark); border-color: var(--line-dark); }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: var(--pill); border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { min-height: 56px; padding: 14px 32px; font-size: 16px; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }
@media (max-width: 479px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }
.btn-primary { background: linear-gradient(180deg, var(--amber-2), var(--amber)); color: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 8px 20px -8px rgba(201, 138, 46, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 14px 28px -10px rgba(201, 138, 46, .75); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--text); background: rgba(26, 31, 28, .04); }
.btn-ghost-light { background: rgba(246, 241, 231, .04); color: var(--on-dark); border-color: rgba(246, 241, 231, .3); }
.btn-ghost-light:hover { background: rgba(246, 241, 231, .1); border-color: var(--on-dark); }
.btn.is-added { background: var(--success); color: #fff; box-shadow: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row-center { justify-content: center; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px;
  border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--parchment-2);
  font-weight: 500; font-size: 15px; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.chip:hover { border-color: var(--text); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.chip-glass { background: rgba(246, 241, 231, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-color: var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pc, var(--c, var(--amber))); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pc, var(--c, var(--amber))) 22%, transparent); flex-shrink: 0; }
.zone-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid transparent; background: transparent; position: relative; transition: background-color .2s; }
.icon-btn:hover { background: rgba(26, 31, 28, .06); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(246, 241, 231, .82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 241, 231, .92); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; color: var(--amber); }
.brand-word { font-family: var(--font-latin); font-weight: 600; font-size: 21px; letter-spacing: .2em; direction: ltr; }
.brand-light { color: var(--on-dark); }
.main-nav { display: none; }
.main-nav a { position: relative; padding: 8px 14px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--text-2); transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 1.5px; background: var(--amber); transform: scaleX(0); transition: transform .3s var(--ease); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-cta { display: none; }

/* language switcher */
.lang-switch { position: relative; }
.lang-switch summary {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  border-radius: var(--pill); border: 1px solid var(--line-strong);
  font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 1; transition: background-color .2s, border-color .2s, color .2s;
}
.lang-switch summary::after { display: none; }
.lang-switch summary:hover { border-color: var(--text); }
.lang-switch[open] summary { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.lang-switch summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 168px; list-style: none; margin: 0; padding: 6px;
  background: var(--parchment-2); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lift); animation: fadeDown .2s var(--ease);
}
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 14px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 500; }
.lang-menu a:hover { background: var(--sand); }
.lang-menu a[aria-current="true"] { color: var(--amber); }
.lang-menu a[aria-current="true"]::after { content: "✓"; font-weight: 700; }
.lang-menu a[lang="zh-CN"] { font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
.lang-menu a[lang="ar"] { font-family: 'IBM Plex Sans Arabic', 'Segoe UI', sans-serif; }
@media (max-width: 359px) {
  :root { --gutter: 14px; }
  .brand { gap: 6px; }
  .brand-word { font-size: 16px !important; letter-spacing: .12em !important; }
  .header-actions { gap: 2px; }
  .header-actions .icon-btn { width: 40px; height: 40px; }
}
@media (max-width: 479px) {
  .lang-switch summary { padding: 0 11px; }
  .lang-switch summary svg { display: none; }
  .brand-word { font-size: 18px; letter-spacing: .16em; }
  .brand-mark { width: 26px; height: 26px; }
}
.cart-badge { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 19px; height: 19px; padding-inline: 5px; border-radius: var(--pill); background: var(--amber); color: var(--ink); font-size: 11px; font-weight: 700; line-height: 19px; text-align: center; font-family: var(--font-latin); transform: scale(0); transition: transform .3s var(--ease); }
.cart-badge.has-items { transform: scale(1); }
.cart-badge.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
@media (min-width: 1024px) {
  .main-nav { display: flex; gap: 2px; }
  .menu-btn { display: none; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .main-nav a { padding-inline: 10px; font-size: 14.5px; }
  .main-nav a::after { inset-inline: 10px; }
}
@media (min-width: 1280px) {
  .header-cta { display: inline-flex; margin-inline-start: 8px; }
}
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--parchment); padding: 24px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; animation: fadeDown .3s var(--ease); overflow-y: auto; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 16px 4px; font-family: var(--font-display); font-size: 24px; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu nav a[aria-current="page"] { color: var(--amber); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; gap: 24px; align-items: center; }
.hero-copy h1 { font-size: clamp(38px, 6.2vw, 72px); line-height: 1.18; font-weight: 700; }
.hero-copy h1 .accent { background: linear-gradient(100deg, var(--amber-3), var(--amber-2) 45%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy .lead { margin-top: 20px; }
.hero-copy .cta-row { margin-top: 32px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.hero-facts li { display: flex; align-items: baseline; gap: 8px; color: var(--on-dark-2); font-size: 14.5px; }
.hero-facts strong { font-size: 30px; font-weight: 400; color: var(--on-dark); }
.hero-visual { position: relative; min-height: 300px; order: -1; margin-inline: calc(var(--gutter) * -1); }
@media (max-width: 959px) {
  .hero { padding-top: 8px; }
  .hero-facts { gap: 10px 22px; margin-top: 32px; }
  .hero-facts strong { font-size: 24px; }
  .hero-facts li { font-size: 13.5px; }
}
.hero-chip { position: absolute; display: none; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--pill); font-size: 13.5px; color: var(--on-dark); animation: float 7s ease-in-out infinite; }
.hero-chip-a { top: 12%; inset-inline-start: 0; }
.hero-chip-b { bottom: 10%; inset-inline-end: 4%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (min-width: 640px) { .hero-chip { display: inline-flex; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 48px; min-height: min(720px, calc(100vh - var(--header-h) - 80px)); }
  .hero-visual { min-height: 520px; order: 0; margin-inline: 0; }
}

/* ---------- 3D scene containers ---------- */
.scene { position: relative; width: 100%; height: 100%; min-height: inherit; }
.scene canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .8s var(--ease); touch-action: pan-y; }
.scene.is-3d canvas { opacity: 1; }
.scene-fallback { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; object-fit: contain; transition: opacity .6s var(--ease); }
.scene.is-3d .scene-fallback { opacity: 0; }
.scene-hero { position: absolute; inset: 0; }
.scene-hero .scene-fallback { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }

/* ---------- facts strip ---------- */
.facts-strip { border-bottom: 1px solid var(--line); }
.facts-list { list-style: none; display: flex; gap: 12px 28px; overflow-x: auto; padding-block: 18px; scrollbar-width: none; font-weight: 500; font-size: 14.5px; color: var(--text-2); white-space: nowrap; }
.facts-list::-webkit-scrollbar { display: none; }
.facts-list li { display: inline-flex; align-items: center; gap: 10px; }
.facts-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
@media (min-width: 960px) { .facts-list { justify-content: space-between; } }

/* ---------- finder ---------- */
.zone-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.finder-grid { display: grid; gap: 32px; align-items: center; }
.bodymap { position: relative; width: min(300px, 70vw); margin-inline: auto; aspect-ratio: 300 / 560; }
.bodymap .figure { width: 100%; height: 100%; }
.hotspot { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; }
.hotspot span { width: 16px; height: 16px; border-radius: 50%; background: var(--pc); border: 3px solid var(--parchment-2); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.hotspot::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid var(--pc); opacity: 0; transform: scale(.6); }
.hotspot.is-active::before { animation: pulse 2.2s var(--ease) infinite; }
.hotspot.is-active span, .hotspot:hover span { transform: scale(1.3); }
@keyframes pulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }
.finder-card { display: grid; gap: 20px; background: var(--parchment-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-soft); animation: cardIn .45s var(--ease); }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } }
.finder-stage { border-radius: var(--radius); background: radial-gradient(60% 70% at 50% 65%, color-mix(in srgb, var(--pc) 28%, transparent), transparent 70%), linear-gradient(180deg, #fbf7ef, #efe6d4); display: grid; place-items: center; padding: 16px; }
.finder-stage img { width: min(220px, 60%); }
.finder-info h3 { font-size: clamp(26px, 3vw, 32px); margin-block: 8px 6px; }
.finder-info > p:not(.zone-chip) { color: var(--text-2); }
.finder-info .check-list { margin-block: 18px 24px; }
.finder-info .product-actions { gap: 10px; }
@media (min-width: 900px) {
  .finder-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .bodymap { width: 300px; }
  .finder-stage img { width: 150px; }
}
@media (min-width: 1200px) {
  .finder-card { grid-template-columns: .85fr 1.15fr; align-items: center; }
  .finder-stage { height: 100%; }
  .finder-stage img { width: min(220px, 70%); }
}

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-inline-start: 30px; color: var(--text-2); }
.check-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--pc, var(--amber)) 18%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231a1f1c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- product cards ---------- */
.product-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, 1fr); } .product-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.product-card { display: flex; flex-direction: column; background: var(--parchment-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--pc) 40%, transparent); }
.product-stage { display: grid; place-items: center; aspect-ratio: 5 / 4; padding: 20px; background: radial-gradient(55% 60% at 50% 70%, color-mix(in srgb, var(--pc) 32%, transparent), transparent 70%), linear-gradient(180deg, #fbf7ef, #eee4d1); }
.product-stage img { width: 58%; transition: transform .5s var(--ease); }
.product-card:hover .product-stage img { transform: translateY(-8px) rotate(-2deg); }
.product-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.product-body h3 { font-size: 22px; }
.product-body h3 a { text-decoration: none; }
.product-body h3 a:hover { color: var(--amber); }
.product-tagline { color: var(--text-2); font-size: 15px; line-height: 1.7; }
.product-meta { font-size: 13px; color: var(--text-3); margin-top: 2px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; }
.product-card.is-hidden { display: none; }

/* ---------- bento ---------- */
.bento { display: grid; gap: 16px; }
.bento-tile { display: grid; gap: 16px; align-content: start; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--parchment-2); border: 1px solid var(--line); }
.bento-tile h3 { font-size: 23px; margin-bottom: 6px; }
.bento-tile p { color: var(--text-2); }
.tile-art svg { width: 100%; max-width: 220px; height: auto; }
.tile-dark { color: var(--on-dark); background: radial-gradient(500px 300px at 90% 0%, rgba(224, 169, 79, .22), transparent 60%), var(--ink-2); border-color: transparent; }
.tile-dark p { color: var(--on-dark-2); margin-bottom: 18px; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-wide { grid-column: span 2; grid-template-columns: 220px 1fr; align-items: center; gap: 32px; }
}
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento-tile:nth-child(2), .bento-tile:nth-child(3) { grid-column: span 1; }
}

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: s; }
.step { position: relative; border-radius: var(--radius-lg); padding: 28px; }
.step-num { position: absolute; top: 20px; inset-inline-end: 24px; font-family: var(--font-latin); font-size: 44px; line-height: 1; color: rgba(246, 241, 231, .14); }
.step-icon { width: 56px; height: 56px; fill: none; stroke: var(--amber-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.step-icon .fill { fill: var(--amber-2); stroke: none; }
.step h3 { font-size: 23px; margin-bottom: 6px; }
.step p { color: var(--on-dark-2); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- civilizations ---------- */
.civ-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .civ-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .civ-grid { grid-template-columns: repeat(4, 1fr); } }
.civ-card { display: grid; gap: 12px; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--parchment-2); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.civ-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.civ-card img { width: 72px; height: 72px; transition: transform .6s var(--ease); }
.civ-card:hover img { transform: rotate(-12deg); }
.civ-card h3 { font-size: 21px; }
.civ-card p { color: var(--text-2); font-size: 15px; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(40px, 6vw, 72px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stats > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 28px 24px; background: var(--parchment-2); }
.stats dt { color: var(--text-2); font-size: 14.5px; }
.stats dd { margin: 0; font-size: clamp(44px, 6vw, 64px); line-height: 1; color: var(--ink); }
.stats .num { background: linear-gradient(180deg, var(--ink-3), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- quality teaser / notice ---------- */
.quality-teaser { display: grid; gap: 32px; align-items: start; }
.quality-teaser h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 24px; }
.quality-teaser .check-list { margin-bottom: 32px; }
.notice { padding: 28px; border-radius: var(--radius-lg); background: var(--parchment-2); border: 1px solid var(--line); }
.notice svg { width: 36px; height: 36px; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.notice h3 { font-size: 22px; margin-bottom: 8px; }
.notice p { color: var(--text-2); margin-bottom: 16px; }
@media (min-width: 900px) { .quality-teaser { grid-template-columns: 1.2fr .8fr; gap: 64px; } }

/* ---------- final CTA ---------- */
.final-cta-inner { display: grid; gap: 24px; align-items: center; }
.final-cta h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 14px; }
.final-cta p { color: var(--on-dark-2); max-width: 52ch; margin-bottom: 28px; }
.final-cta-art { width: min(520px, 100%); margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
@media (min-width: 900px) { .final-cta-inner { grid-template-columns: 1fr 1fr; gap: 56px; } .final-cta-art { order: 2; } }

/* ---------- page hero ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 700; max-width: 22ch; margin-block: 18px 16px; }
.page-hero-slim { padding-block: 40px 44px; }
.page-hero-slim h1 { margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--on-dark-2); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--amber-2); }
.breadcrumb-dark { color: var(--text-3); margin-bottom: 20px; }
.breadcrumb-dark a:hover { color: var(--amber); }

/* ---------- shop ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar-count { color: var(--text-3); font-size: 14.5px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--parchment-2); }
.table-wrap:focus-visible { outline-offset: 4px; }
.compare { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding: 16px 18px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-size: 17px; font-weight: 600; background: var(--sand); }
.compare thead th a { text-decoration: none; }
.compare thead th a:hover { color: var(--amber); }
.compare tbody th { font-weight: 600; color: var(--text); white-space: nowrap; }
.compare td { color: var(--text-2); }
.compare tr:last-child > * { border-bottom: 0; }
.compare th:first-child { position: sticky; inset-inline-start: 0; background: inherit; }
.compare tbody th:first-child { background: var(--parchment-2); }
.table-wrap + .note { margin-top: 16px; }
.order-how { display: grid; gap: 8px; }
.mini-steps { list-style: none; display: grid; gap: 16px; }
.mini-steps li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--parchment-2); border: 1px solid var(--line); }
.mini-steps span { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--amber-2); font-family: var(--font-latin); font-size: 18px; }
.mini-steps h3 { font-size: 19px; margin-bottom: 4px; }
.mini-steps p { color: var(--text-2); font-size: 15px; }
@media (min-width: 860px) { .mini-steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- PDP ---------- */
.pdp { padding-block: 28px clamp(56px, 8vw, 96px); }
.pdp-grid { display: grid; gap: 32px; }
.pdp-stage { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(60% 55% at 50% 72%, color-mix(in srgb, var(--pc) 36%, transparent), transparent 70%), radial-gradient(80% 60% at 20% 10%, rgba(224, 169, 79, .18), transparent 60%), linear-gradient(180deg, #fbf7ef, #ebe0cb); border: 1px solid var(--line); }
.pdp-stage .scene { position: absolute; inset: 0; }
.pdp-stage .scene-fallback { width: 70%; height: 80%; }
.scene-product canvas { cursor: grab; }
.scene-product canvas:active { cursor: grabbing; }
.scene-controls { position: absolute; inset-inline: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drag-hint { font-size: 13px; color: var(--text-3); background: rgba(246, 241, 231, .7); padding: 6px 12px; border-radius: var(--pill); }
.pdp-code { font-size: 14px; font-style: italic; color: var(--amber); }
.pdp-info h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; margin-block: 6px 10px; }
.pdp-tagline { font-size: 19px; color: var(--text-2); }
.pdp-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-block: 20px; }
.pdp-tags li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--pill); background: var(--parchment-2); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.pdp-desc { color: var(--text-2); max-width: 58ch; }
.buy-box { margin-block: 28px; padding: 22px; border-radius: var(--radius-lg); background: var(--parchment-2); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.price-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.price-label { color: var(--text-3); font-size: 14px; }
.price-value { font-weight: 600; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.buy-row .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; height: 56px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: #fff; }
.qty button { width: 46px; height: 100%; border: 0; background: transparent; font-size: 20px; border-radius: var(--pill); }
.qty button:hover { background: rgba(26, 31, 28, .05); }
.qty input { width: 44px; border: 0; background: transparent; text-align: center; font-family: var(--font-latin); font-size: 17px; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 40px; }
.qty-sm button { width: 36px; font-size: 17px; }
.qty-sm input { width: 34px; font-size: 15px; }
.benefit-list { list-style: none; display: grid; gap: 12px; }
.benefit-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.benefit-list svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--pc) 22%, transparent); fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 960px) {
  .pdp-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
  .pdp-media { position: sticky; top: calc(var(--header-h) + 20px); }
}

.usage { display: grid; gap: 8px; }
.usage-steps { list-style: none; display: grid; gap: 14px; }
.usage-steps li { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--parchment-2); border: 1px solid var(--line); }
.usage-num { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--amber-2); font-family: var(--font-latin); font-size: 19px; }
.usage-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 24px 0 0; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.usage-meta div { background: var(--parchment); padding: 16px; }
.usage-meta dt { font-size: 13px; color: var(--text-3); }
.usage-meta dd { margin: 4px 0 0; font-weight: 600; }
@media (min-width: 860px) { .usage-steps { grid-template-columns: repeat(3, 1fr); } }

.specs-layout { display: grid; gap: 40px; }
.spec-table { margin: 0; border-top: 1px solid var(--line); }
.spec-table div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--text-3); }
.spec-table dd { margin: 0; }
.specs-side { display: grid; gap: 20px; align-content: start; }
.audience { padding: 24px; border-radius: var(--radius-lg); background: var(--parchment-2); border: 1px solid var(--line); }
.audience h3 { font-size: 21px; margin-bottom: 14px; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 6px 14px; border-radius: var(--pill); background: var(--sand); font-size: 14.5px; }
@media (min-width: 960px) { .specs-layout { grid-template-columns: 1.3fr 1fr; gap: 64px; } }

details { border-radius: var(--radius); }
.safety-details { padding: 4px 24px; border: 1px solid var(--line); background: var(--parchment-2); }
.safety-details ul { padding-inline-start: 20px; display: grid; gap: 8px; color: var(--text-2); margin-bottom: 12px; }
.safety-details > p { font-size: 14px; color: var(--text-3); padding-bottom: 20px; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; font-family: var(--font-display); font-size: 19px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--font-body); font-size: 20px; font-weight: 400; transition: transform .3s var(--ease); }
details[open] > summary::after { transform: rotate(45deg); }

.sticky-buy { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 40; transform: translateY(120%); transition: transform .4s var(--ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy-inner { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; padding-inline-start: 10px; border-radius: var(--pill); background: rgba(15, 26, 22, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--on-dark); box-shadow: var(--shadow-lift); }
.sticky-buy img { width: 34px; height: auto; }
.sticky-name { flex: 1; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 960px) { .sticky-buy { display: none; } }

/* ---------- heritage page ---------- */
.civ-detail-list { display: grid; gap: clamp(40px, 6vw, 72px); }
.civ-detail { display: grid; gap: 24px; align-items: center; }
.civ-emblem { display: grid; place-items: center; width: 180px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffaf0, var(--sand)); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.civ-emblem img { width: 68%; }
.civ-detail h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 10px; }
.civ-detail p:not(.eyebrow) { color: var(--text-2); font-size: 17px; max-width: 56ch; }
@media (min-width: 800px) {
  .civ-detail { grid-template-columns: 220px 1fr; gap: 48px; }
  .civ-detail:nth-child(even) { grid-template-columns: 1fr 220px; }
  .civ-detail:nth-child(even) .civ-emblem { order: 2; }
  .civ-emblem { width: 220px; }
}
.timeline { list-style: none; display: grid; gap: 14px; }
.timeline li { position: relative; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); }
.t-num { font-family: var(--font-latin); font-size: 15px; color: var(--amber-2); }
.timeline h3 { font-size: 21px; margin-block: 8px 6px; }
.timeline p { color: var(--on-dark-2); font-size: 15px; }
@media (min-width: 960px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .timeline li::after { content: ""; position: absolute; top: 34px; inset-inline-end: -13px; width: 14px; height: 1px; background: var(--amber-2); opacity: .5; }
  .timeline li:last-child::after { display: none; }
}
.values-layout { display: grid; gap: 16px; }
.values { list-style: none; counter-reset: v; display: grid; }
.values li { counter-increment: v; display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding-block: 22px; border-top: 1px solid var(--line); }
.values li::before { content: "0" counter(v); grid-row: span 2; font-family: var(--font-latin); font-size: 26px; color: var(--amber); line-height: 1.2; }
.values h3 { font-size: 22px; }
.values h3 .latin { font-size: 14px; font-style: italic; font-weight: 400; color: var(--text-3); margin-inline-start: 8px; }
.values p { color: var(--text-2); }
@media (min-width: 960px) { .values-layout { grid-template-columns: .8fr 1.2fr; gap: 64px; } .values-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.markets { display: grid; gap: 14px; margin-bottom: 40px; }
.markets article { padding: 24px; border-radius: var(--radius-lg); background: var(--parchment-2); border: 1px solid var(--line); }
.markets h3 { font-size: 20px; margin-bottom: 6px; }
.markets p { color: var(--text-2); font-size: 15px; }
@media (min-width: 700px) { .markets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .markets { grid-template-columns: repeat(4, 1fr); } }

/* ---------- quality page ---------- */
.pillars { display: grid; gap: 16px; }
.pillar { padding: 28px; border-radius: var(--radius-lg); background: var(--parchment-2); border: 1px solid var(--line); }
.pillar svg { width: 44px; height: 44px; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.pillar h3 { font-size: 21px; margin-bottom: 6px; }
.pillar p { color: var(--text-2); font-size: 15px; }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.safety-layout { display: grid; gap: 16px; }
.warn-list { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; }
.warn-list li { padding: 18px 20px; padding-inline-start: 52px; position: relative; border-radius: var(--radius); background: var(--parchment-2); border: 1px solid var(--line); color: var(--text-2); }
.warn-list li::before { content: "!"; position: absolute; inset-inline-start: 18px; top: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); color: var(--ink); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.warn-list strong { color: var(--text); }
.storage-card { padding: 24px; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark); }
.storage-card h3 { font-size: 21px; margin-bottom: 12px; }
.storage-card dl { margin: 0; display: grid; gap: 1px; }
.storage-card dl div { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-top: 1px solid var(--line-dark); }
.storage-card dt { color: var(--on-dark-2); }
.storage-card dd { margin: 0; font-weight: 600; }
@media (min-width: 960px) { .safety-layout { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.disclaimer { display: flex; gap: 20px; align-items: flex-start; max-width: 880px; }
.disclaimer svg { width: 40px; height: 40px; flex-shrink: 0; fill: none; stroke: var(--amber-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.disclaimer h2 { font-size: 24px; margin-bottom: 8px; }
.disclaimer p { color: var(--on-dark-2); }
.faq-layout { display: grid; gap: 16px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); border-radius: 0; }
.faq details p { padding-bottom: 20px; color: var(--text-2); max-width: 64ch; }
.faq details a { color: var(--amber); }
@media (min-width: 960px) { .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 64px; } }

/* ---------- forms ---------- */
.contact-layout { display: grid; gap: 32px; }
.form-card, .panel { padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--parchment-2); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: 14.5px; }
.optional { color: var(--text-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%234a524d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left 14px center / 18px; padding-inline-end: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(201, 138, 46, .18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13.5px; }
.form-status { min-height: 1.5em; font-size: 14.5px; color: var(--danger); }
.form-status:empty { display: none; }
.form button[type="submit"][aria-busy="true"] { opacity: .7; pointer-events: none; }
.form-success, .order-done { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 24px; }
.form-success svg, .order-done svg { width: 64px; height: 64px; fill: none; stroke: var(--success); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-success h2, .order-done h2 { font-size: 30px; }
.form-success p, .order-done p { color: var(--text-2); max-width: 46ch; }
.contact-aside { display: grid; gap: 14px; align-content: start; }
.aside-block { padding: 22px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.aside-block h2 { font-size: 20px; margin-bottom: 6px; }
.aside-block p { color: var(--text-2); font-size: 15px; }
.aside-block a { color: var(--amber); }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.4fr .8fr; gap: 48px; } }

/* ---------- cart ---------- */
.checkout { display: grid; gap: 24px; align-items: start; }
.checkout-main { display: grid; gap: 24px; }
.panel-title { font-size: 22px; margin-bottom: 18px; }
.cart-lines { list-style: none; display: grid; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding-block: 16px; border-top: 1px solid var(--line); }
.cart-line:first-child { border-top: 0; padding-top: 0; }
.cart-thumb { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 70%, color-mix(in srgb, var(--pc) 30%, transparent), transparent 70%), #f3ecdf; }
.cart-thumb img { width: 44px; }
.cart-line h3 { font-size: 17px; }
.cart-line h3 a { text-decoration: none; }
.cart-line p { font-size: 13px; color: var(--text-3); }
.cart-line-actions { display: flex; align-items: center; gap: 6px; }
.cart-line > *, .checkout > *, .checkout-main > * { min-width: 0; }
@media (max-width: 519px) {
  .cart-line { grid-template-columns: 56px 1fr; row-gap: 10px; }
  .cart-thumb { width: 56px; height: 56px; }
  .cart-line-actions { grid-column: 2; justify-content: space-between; }
}
.remove-btn { border: 0; background: transparent; color: var(--text-3); font-size: 13px; text-decoration: underline; padding: 8px; }
.remove-btn:hover { color: var(--danger); }
.summary { position: static; }
.summary-rows { margin: 0 0 20px; }
.summary-rows div { display: flex; justify-content: space-between; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.summary-rows dt { color: var(--text-3); }
.summary-rows dd { margin: 0; font-weight: 600; text-align: end; }
.summary-steps { padding-inline-start: 20px; display: grid; gap: 8px; color: var(--text-2); font-size: 14.5px; margin-bottom: 18px; }
.summary .note a { color: var(--amber); }
.cart-empty { text-align: center; display: grid; justify-items: center; gap: 12px; padding-block: 24px; }
.cart-empty img { width: min(320px, 80%); }
.cart-empty h2 { font-size: 30px; }
.cart-empty p { color: var(--text-2); margin-bottom: 12px; }
.done-lines { list-style: none; display: grid; gap: 6px; margin-block: 8px 16px; color: var(--text-2); }
@media (min-width: 960px) {
  .checkout { grid-template-columns: 1.4fr .8fr; gap: 32px; }
  .summary { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ---------- drawer & toast ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 26, 22, .45); animation: fade .3s var(--ease); }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 92vw); display: flex; flex-direction: column; background: var(--parchment); box-shadow: -20px 0 60px rgba(0, 0, 0, .2); animation: slideIn .4s var(--ease); }
.drawer-panel:focus { outline: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(-100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 24px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer-empty { text-align: center; padding: 48px 8px; color: var(--text-2); display: grid; gap: 16px; justify-items: center; }
.toast-region { position: fixed; bottom: 24px; inset-inline-start: 50%; transform: translateX(50%); z-index: 90; display: grid; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: var(--pill); background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-lift); font-size: 14.5px; animation: toastIn .4s var(--ease); pointer-events: auto; }
.toast a { color: var(--amber-2); font-weight: 600; }
.toast.is-leaving { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px); } }

/* ---------- footer ---------- */
.site-footer { padding-block: 64px 28px; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-brand p { color: var(--on-dark-2); max-width: 38ch; margin-top: 14px; font-size: 15px; }
.footer-company { font-size: 13.5px !important; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h2 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--amber-2); margin-bottom: 4px; }
.footer-col a { color: var(--on-dark-2); text-decoration: none; font-size: 15px; width: fit-content; }
.footer-col a:hover { color: var(--on-dark); }
.footer-legal { display: grid; gap: 8px; padding-top: 24px; font-size: 13px; color: rgba(246, 241, 231, .55); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-legal { grid-template-columns: 1fr auto; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound-inner { text-align: center; display: grid; justify-items: center; gap: 16px; }
.notfound-num { font-family: var(--font-latin); font-size: clamp(96px, 18vw, 180px); line-height: 1; background: linear-gradient(180deg, var(--amber-3), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-size: clamp(30px, 4vw, 44px); }

.toast-action { border: 0; background: none; color: var(--amber-2); font-weight: 600; padding: 4px; white-space: nowrap; }

/* ---------- left-to-right languages (English, Chinese) ---------- */
.drawer-panel { box-shadow: 20px 0 60px rgba(0, 0, 0, .2); }
[dir="ltr"] .drawer-panel { animation-name: slideInLtr; box-shadow: -20px 0 60px rgba(0, 0, 0, .2); }
@keyframes slideInLtr { from { transform: translateX(100%); } }
[dir="ltr"] .toast-region { transform: translateX(-50%); }
[dir="ltr"] .link-arrow::after { content: "→"; }
[dir="ltr"] .link-arrow:hover::after { transform: translateX(4px); }
[dir="ltr"] .field select { background-position: right 14px center; }

/* ---------- per-language typography ---------- */
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-weight: 600; letter-spacing: -.01em; }
html[lang="en"] .hero-copy h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.1; }
html[lang="en"] .page-hero h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.15; }
html[lang="en"] .lead { line-height: 1.7; }
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3 { font-weight: 600; letter-spacing: .02em; word-break: keep-all; overflow-wrap: anywhere; }
html[lang="zh-CN"] .hero-copy h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.3; }
html[lang="zh-CN"] body { line-height: 1.85; }
html[lang="zh-CN"] .brand-word, html[lang="en"] .brand-word { font-family: 'Fraunces', Georgia, serif; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
