/* ============ HEXIANG STUDIO ============ */
:root {
  --paper: #f6f1e8;
  --paper-2: #efe7da;
  --ink: #221d18;
  --ink-soft: #5d554b;
  --cinnabar: #a33327;
  --cinnabar-deep: #7e241b;
  --jade: #4a6b5a;
  --gold: #b98a3c;
  --card: #fbf8f2;
  --line: #ddd2c0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(34,29,24,.10);
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:"Jost","Noto Sans SC",system-ui,sans-serif;
  color:var(--ink); background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.brand-word,.eyebrow { font-family:"Jost","Noto Serif SC",serif; }
img { display:block; max-width:100%; }
button { font:inherit; cursor:pointer; background:none; border:none; color:inherit; }
a { color:inherit; text-decoration:none; }
.zh { font-family:"Noto Serif SC",serif; }

/* ============ NAV ============ */
.nav {
  position:fixed; inset:0 0 auto 0; z-index:60;
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center;
  padding:14px 28px;
  background:rgba(246,241,232,.82); backdrop-filter:blur(12px);
  border-bottom:1px solid transparent; transition:border-color .3s;
}
.nav.scrolled { border-bottom-color:var(--line); }
.brand { display:flex; align-items:center; gap:10px; }
.brand-logo { height:44px; width:auto; display:block; object-fit:contain; }
.nav .brand-logo { filter:brightness(.62) saturate(1.35); }
.footer-brand .brand-logo { height:52px; }
.brand-mark {
  width:32px; height:32px; border-radius:8px;
  display:grid; place-items:center;
  background:var(--cinnabar); color:#fff;
  font-family:"Noto Serif SC",serif; font-weight:600; font-size:17px;
}
.brand-word { font-size:17px; letter-spacing:.14em; font-weight:600; }
.brand-word em { font-style:normal; font-weight:300; color:var(--ink-soft); margin-left:4px; }
.nav .brand { justify-self:start; }
.nav-links { display:flex; gap:26px; font-size:13.5px; letter-spacing:.04em; justify-self:center; }
.nav-right { justify-self:end; display:flex; align-items:center; gap:14px; }
.lang-sel {
  appearance:none; border:1px solid var(--line); background:var(--cream); color:var(--ink-soft);
  font:inherit; font-size:12.5px; padding:5px 22px 5px 10px; border-radius:999px; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%236b5c48' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 8px center; background-size:10px;
}
.lang-sel:hover { color:var(--cinnabar); border-color:var(--cinnabar); }
.nav-links a { color:var(--ink-soft); transition:color .2s; }
.nav-links a:hover { color:var(--cinnabar); }
.nav-links a.is-active { color:var(--cinnabar); font-weight:600; }
.cart-btn { position:relative; display:flex; padding:6px; }
.cart-count {
  position:absolute; top:-4px; right:-6px; min-width:17px; height:17px;
  border-radius:9px; background:var(--cinnabar); color:#fff;
  font-size:10.5px; font-weight:600; display:grid; place-items:center; padding:0 4px;
}

/* ============ HERO ============ */
.hero { position:relative; background:#25150c; min-height:88svh; display:flex; overflow:hidden; }
.hero-img { position:absolute; inset:0; }
.hero-img img { width:100%; height:100%; object-fit:cover; object-position:70% center; display:block; }
.hero-img::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(22,12,6,.94) 0%, rgba(22,12,6,.72) 34%, rgba(22,12,6,.18) 60%, rgba(22,12,6,0) 78%);
}
.hero-copy {
  position:relative; z-index:1; width:100%; max-width:1440px; margin:0 auto;
  padding:150px 6vw 100px; display:flex; flex-direction:column;
  justify-content:center; align-items:flex-start; color:#f4ead6;
}
.hero-logo { height:58px; width:auto; object-fit:contain; object-position:left center; margin-bottom:44px; }
.hero h1 { font-size:clamp(42px,4.8vw,72px); line-height:1.06; font-weight:400; letter-spacing:-.01em; max-width:560px; }
.hero-sub { margin:24px 0 40px; font-size:16px; line-height:1.7; color:#d9c7a6; max-width:430px; font-weight:300; }
.btn-gold {
  background:linear-gradient(180deg,#e4bb6c,#c69c48); color:#2a1c0f; font-weight:600;
  box-shadow:0 10px 26px rgba(198,156,72,.32); padding:15px 42px;
}
.btn-gold:hover { transform:translateY(-1px); filter:brightness(1.06); }

.btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 26px; border-radius:999px; font-size:14px; font-weight:500;
  letter-spacing:.02em; transition:transform .2s, box-shadow .2s, background .2s;
}
.btn:active { transform:scale(.97); }
.btn-solid { background:var(--cinnabar); color:#fff; box-shadow:0 8px 20px rgba(163,51,39,.35); }
.btn-solid:hover { background:var(--cinnabar-deep); transform:translateY(-1px); }
.btn-solid:disabled { background:#b7a996; box-shadow:none; cursor:not-allowed; }
.btn-ghost { border:1px solid rgba(248,243,234,.55); color:#f8f3ea; }
.btn-ghost:hover { background:rgba(248,243,234,.12); }
.btn-wide { width:100%; }

/* ============ SECTIONS ============ */
.section { padding:110px 6vw; }
.page-section { padding-top:150px; min-height:100vh; }
.section-alt { background:var(--paper-2); }
.section-head { max-width:720px; margin:0 auto 54px; text-align:center; }
.eyebrow {
  font-size:12px; letter-spacing:.3em; text-transform:uppercase;
  color:var(--cinnabar); margin-bottom:14px; font-family:"Jost","Noto Sans SC",sans-serif; font-weight:600;
}
.eyebrow.light { color:#e8c8a0; }
.section-head h2 { font-size:clamp(30px,4vw,46px); font-weight:500; letter-spacing:-.01em; }
.price-inline { color:var(--cinnabar); }
.lede { margin-top:16px; color:var(--ink-soft); font-size:15.5px; line-height:1.7; font-weight:300; }

/* ============ DIY BUILDER ============ */
.builder {
  display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:40px;
  max-width:1240px; margin:0 auto; align-items:start;
}
.builder-left { position:sticky; top:96px; order:2; }
.builder-right { order:1; }
.size-row { display:flex; gap:10px; justify-content:center; margin-bottom:18px; }
.size-pill {
  border:1px solid var(--line); border-radius:999px; padding:9px 18px;
  display:flex; flex-direction:column; align-items:center; gap:1px;
  font-size:14px; font-weight:500; background:var(--card); transition:all .2s;
}
.size-pill small { font-size:10.5px; color:var(--ink-soft); font-weight:400; }
.size-pill.is-active { border-color:var(--cinnabar); color:var(--cinnabar); box-shadow:0 0 0 3px rgba(163,51,39,.12); }
.size-pill.is-active small { color:var(--cinnabar); }

.strand-wrap { position:relative; background:radial-gradient(circle at 50% 42%, #fffdf8, var(--card) 72%); border:1px solid var(--line); border-radius:var(--radius); padding:18px; box-shadow:var(--shadow); }
#strandSvg { width:100%; height:auto; display:block; }
.strand-hint {
  position:absolute; left:50%; bottom:14px; transform:translateX(-50%);
  font-size:12px; color:var(--ink-soft); background:rgba(251,248,242,.9);
  padding:5px 14px; border-radius:999px; border:1px solid var(--line);
  white-space:nowrap; pointer-events:none; transition:opacity .3s;
}
.strand-hint.hide { opacity:0; }
.strand-tools { display:flex; gap:10px; justify-content:center; margin-top:14px; }
.tool {
  border:1px solid var(--line); border-radius:999px; padding:8px 20px;
  font-size:13px; background:var(--card); color:var(--ink-soft); transition:all .2s;
}
.tool:hover { border-color:var(--ink-soft); color:var(--ink); }
.tool.is-active { border-color:var(--cinnabar); color:var(--cinnabar); box-shadow:0 0 0 3px rgba(163,51,39,.12); }

.lib-tabs { display:flex; gap:8px; margin-bottom:14px; }
.lib-tab {
  padding:8px 16px; border-radius:999px; border:1px solid var(--line);
  font-size:13px; color:var(--ink-soft); background:var(--card); transition:all .2s;
}
.lib-tab.is-active { background:var(--ink); color:var(--paper); border-color:var(--ink); }

.bead-lib {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(58px,1fr));
  gap:8px; max-height:330px; overflow-y:auto; padding:4px 2px;
}
.swatch {
  display:flex; flex-direction:column; align-items:center; gap:6px;
  padding:10px 4px 8px; border-radius:12px; border:1px solid transparent;
  transition:all .15s; text-align:center;
}
.swatch:hover { background:var(--card); border-color:var(--line); }
.swatch.is-active { background:var(--card); border-color:var(--cinnabar); box-shadow:0 0 0 3px rgba(163,51,39,.12); }
.swatch-dot {
  width:30px; height:30px; border-radius:50%;
  box-shadow:inset -3px -4px 6px rgba(0,0,0,.28), inset 3px 4px 6px rgba(255,255,255,.22), 0 2px 5px rgba(0,0,0,.18);
}
.swatch-bead {
  width:38px; height:38px; object-fit:contain;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.25));
}
.swatch-name { font-size:10px; line-height:1.25; color:var(--ink-soft); }

.bead-detail {
  margin-top:14px; border:1px solid var(--line); border-radius:var(--radius);
  background:var(--card); padding:16px 18px; min-height:118px;
}
.bead-detail-empty { color:var(--ink-soft); font-size:13.5px; padding-top:30px; text-align:center; }
.bead-detail h4 { font-family:"Jost","Noto Serif SC",sans-serif; font-size:17px; font-weight:600; display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.bead-detail h4 .zh { font-weight:400; color:var(--ink-soft); font-size:14px; }
.bead-detail .tagline { font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--jade); margin:2px 0 8px; }
.bead-detail .formula { font-size:12.5px; color:var(--ink-soft); margin-bottom:8px; line-height:1.5; }
.bead-detail { max-height:360px; overflow-y:auto; }
.bead-detail .bene-title { margin-top:10px; }
.herb-table {
  display:flex; flex-direction:column; margin-top:8px; margin-bottom:6px;
  border-top:1px solid var(--line);
}
.herb-row {
  display:grid; grid-template-columns:minmax(110px,32%) 1fr; gap:12px;
  align-items:baseline; padding:7px 2px;
  border-bottom:1px solid var(--line); font-size:12.5px;
}
.herb-name { font-weight:500; color:var(--cinnabar); letter-spacing:.02em; }
.herb-name .zh { margin-right:6px; }
.herb-role { color:var(--ink-soft); line-height:1.45; }
.bead-detail ul { list-style:none; display:flex; flex-wrap:wrap; gap:6px; }
.bead-detail li {
  font-size:11.5px; padding:4px 10px; border-radius:999px;
  background:rgba(74,107,90,.1); color:var(--jade); border:1px solid rgba(74,107,90,.2);
}

.price-panel { margin-top:14px; border-top:1px solid var(--line); padding-top:14px; }
.price-lines { font-size:13px; color:var(--ink-soft); display:flex; flex-direction:column; gap:5px; margin-bottom:10px; min-height:20px; }
.price-lines .pl { display:flex; justify-content:space-between; }
.price-total { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; font-size:14px; }
.price-total strong { font-family:"Jost","Noto Serif SC",sans-serif; font-size:26px; font-weight:600; }

/* ============ PRODUCT CARDS ============ */
.filter-pills { display:flex; gap:10px; justify-content:center; margin-top:26px; }
.fpill {
  padding:9px 22px; border-radius:999px; border:1px solid var(--line);
  font-size:13.5px; color:var(--ink-soft); background:var(--card); transition:all .2s;
}
.fpill.is-active { background:var(--ink); color:var(--paper); border-color:var(--ink); }

.card-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(272px,1fr));
  gap:22px; max-width:1280px; margin:0 auto;
}
.card {
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column; transition:transform .25s, box-shadow .25s;
}
.card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.card-img { position:relative; aspect-ratio:1; background:var(--paper-2); overflow:hidden; }
.card-img img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.card:hover .card-img img { transform:scale(1.05); }
.card-img .dot-ph {
  width:100%; height:100%; display:grid; place-items:center;
}
.card-img .dot-ph span {
  width:88px; height:88px; border-radius:50%;
  box-shadow:inset -8px -10px 18px rgba(0,0,0,.3), inset 8px 10px 18px rgba(255,255,255,.22), 0 6px 14px rgba(0,0,0,.2);
}
.card-line {
  position:absolute; top:10px; left:10px; font-size:10px; letter-spacing:.14em;
  text-transform:uppercase; padding:4px 10px; border-radius:999px;
  background:rgba(20,14,10,.62); color:#f3ead9; backdrop-filter:blur(4px);
}
.card-body { padding:16px 18px 18px; display:flex; flex-direction:column; flex:1; }
.card-title { font-family:"Jost","Noto Serif SC",sans-serif; font-size:18px; font-weight:600; }
.card-sub { font-size:12.5px; color:var(--ink-soft); margin-top:2px; }
.card-sub .zh { margin-right:6px; }
.card-src { font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); margin-top:8px; }
.card-formula { font-size:12px; color:var(--ink-soft); line-height:1.5; margin-top:8px; }
.bene-title { font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--jade); margin-top:12px; font-weight:600; }
.bene-toggle {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  margin-top:12px; padding:8px 12px; width:100%;
  font-size:10.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--jade); font-weight:600;
  border:1px solid rgba(74,107,90,.25); border-radius:999px;
  background:rgba(74,107,90,.06); transition:background .2s;
}
.bene-toggle:hover { background:rgba(74,107,90,.12); }
.bene-toggle svg { transition:transform .25s; flex:none; }
.bene-toggle.open svg { transform:rotate(180deg); }
.card-bene { list-style:none; margin-top:7px; display:flex; flex-direction:column; gap:4px; }
.card-bene[hidden] { display:none; }
.card-bene li {
  font-size:12px; color:var(--ink-soft); line-height:1.45; padding-left:14px; position:relative;
}
.card-bene li::before { content:""; position:absolute; left:0; top:7px; width:6px; height:6px; border-radius:50%; background:var(--jade); opacity:.5; }
.card-foot { margin-top:auto; padding-top:16px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.card-price { font-family:"Jost","Noto Serif SC",sans-serif; font-size:21px; font-weight:600; }
.size-mini { display:flex; gap:5px; margin-top:10px; }
.size-mini button {
  font-size:11px; padding:4px 9px; border-radius:999px; border:1px solid var(--line); color:var(--ink-soft);
}
.size-mini button.is-active { border-color:var(--cinnabar); color:var(--cinnabar); }
.add-btn {
  padding:10px 18px; border-radius:999px; background:var(--ink); color:var(--paper);
  font-size:13px; font-weight:500; transition:background .2s, transform .15s;
}
.add-btn:hover { background:var(--cinnabar); }
.add-btn:active { transform:scale(.96); }

/* ============ HOME ENTRY CARDS ============ */
.entry-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
  max-width:1280px; margin:0 auto;
}
.entry-grid.two { grid-template-columns:repeat(2,1fr); max-width:900px; }
.entry-card {
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform .25s, box-shadow .25s;
}
.entry-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); }
.entry-img { aspect-ratio:4/3; overflow:hidden; background:var(--paper-2); }
.entry-img img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.entry-card:hover .entry-img img { transform:scale(1.06); }
.entry-body { padding:24px 26px 28px; display:flex; flex-direction:column; flex:1; }
.entry-body .eyebrow { margin-bottom:8px; }
.entry-body h3 { font-size:22px; font-weight:600; margin-bottom:10px; }
.entry-body p { font-size:14px; color:var(--ink-soft); line-height:1.65; font-weight:300; }
.entry-go {
  margin-top:auto; padding-top:18px; font-size:13.5px; font-weight:600;
  color:var(--cinnabar); letter-spacing:.02em;
}
.entry-card:hover .entry-go { text-decoration:underline; }

/* ============ STORY PAGE ============ */
.story-hero {
  position:relative; min-height:86vh; display:flex; align-items:center; justify-content:center;
  background:#25150c url('assets/img/process-bg.webp') center/cover no-repeat;
}
.story-hero::before { content:""; position:absolute; inset:0; background:rgba(24,15,9,.42); }
.story-hero-inner { text-align:center; padding:120px 6vw 140px; color:#f4ead6; }
.story-hero-logo, .story-hero h2 { position:relative; z-index:1; }
.story-hero-logo { height:52px; width:auto; margin-bottom:26px; }
.story-hero h2 { font-size:clamp(30px,3.6vw,52px); font-weight:400; letter-spacing:-.01em; }
.proc-steps {
  position:absolute; left:6vw; right:6vw; bottom:44px; z-index:1;
  display:flex; justify-content:space-between; list-style:none; padding:0; margin:0;
}
.proc-steps li { display:flex; flex-direction:column; align-items:center; gap:4px; position:relative; flex:1; }
.proc-steps li:not(:last-child)::after {
  content:""; position:absolute; top:11px; left:calc(50% + 34px); width:calc(100% - 68px);
  height:1px; background:linear-gradient(90deg, rgba(226,187,105,.85), rgba(226,187,105,.35));
}
.proc-steps li:not(:last-child)::before {
  content:"›"; position:absolute; top:6px; left:calc(50% + 34px + (100% - 68px) - 6px);
  color:#e2bb69; font-size:13px; line-height:1;
}
.proc-steps span { font-size:12px; letter-spacing:.28em; color:#e2bb69; font-family:"Jost","Noto Sans SC",sans-serif; }
.proc-steps b { font-size:13px; letter-spacing:.22em; text-transform:uppercase; color:#f4ead6; font-weight:500; font-family:"Jost","Noto Sans SC",sans-serif; }
.story-page { min-height:70vh; display:flex; align-items:center; }
.story-page .story-inner { padding-top:170px; }
.process-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
  max-width:1180px; margin:0 auto;
}
.process-step {
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:26px 24px;
}
.step-no {
  font-family:"Jost","Noto Serif SC",sans-serif; font-size:15px; color:var(--cinnabar);
  letter-spacing:.1em; display:block; margin-bottom:12px;
}
.process-step h3 { font-size:19px; font-weight:600; margin-bottom:8px; }
.process-step p { font-size:13.5px; color:var(--ink-soft); line-height:1.6; font-weight:300; }

/* ============ STORY ============ */
.story {
  background:#241c16 url('assets/img/lifestyle.webp') center/cover fixed;
  position:relative; color:#f3ead9;
}
.story::before { content:""; position:absolute; inset:0; background:rgba(24,17,12,.78); }
.story-inner { position:relative; max-width:760px; margin:0 auto; padding:120px 6vw; text-align:center; }
.story h1, .story h2 { font-size:clamp(28px,4vw,44px); font-weight:400; margin-bottom:26px; }
.story p { font-size:15.5px; line-height:1.85; color:#ddd2be; font-weight:300; }
.story em { font-family:"Lora","Noto Serif SC",serif; font-style:normal; color:#e8c8a0; }
.story-points { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:52px; }
.story-points div { border-top:1px solid rgba(232,200,160,.3); padding-top:18px; }
.story-points strong { display:block; font-family:"Jost","Noto Serif SC",sans-serif; font-size:17px; font-weight:500; margin-bottom:6px; }
.story-points span { font-size:12.5px; color:#b7a996; line-height:1.5; }

/* ============ FOOTER ============ */
.footer {
  background:#1a140f; color:#c8baa4; padding:70px 6vw 30px;
  font-family:"Source Sans 3","Noto Sans SC",system-ui,sans-serif;
  font-weight:400; letter-spacing:.01em;
}
.footer-grid { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,.85fr) minmax(0,1fr) minmax(0,1.2fr); gap:clamp(24px,3vw,44px); max-width:1180px; margin:0 auto 40px; }
@media (min-width:981px) {
  .footer-grid > :first-child { position:relative; inset-inline-start:-24px; }
}
.footer-brand .brand-word { color:#f3ead9; }
.footer h4 {
  font-family:"Lora","Noto Serif SC",serif;
  font-size:13px; font-weight:500; letter-spacing:.12em; text-transform:uppercase;
  margin-bottom:16px; color:#e8c8a0;
}
.footer a { display:block; font-size:14.5px; line-height:1.55; margin-bottom:10px; color:#d2c5b0; transition:color .2s; }
.footer a:hover { color:#f6eee0; }
.footer .muted { color:#a69885; font-size:14px; line-height:1.7; margin-top:12px; }
.footer .small { font-size:13px; line-height:1.68; }
.muted { color:#8a7f6f; font-size:13.5px; line-height:1.6; margin-top:12px; }
.small { font-size:12px; }
.disclaimer {
  max-width:820px; margin:30px auto 0; padding-top:24px; border-top:1px solid rgba(232,200,160,.12);
  font-size:12px; line-height:1.65; color:#7c7060; text-align:center;
}
.copyright { text-align:center; font-size:12px; color:#665a4c; margin-top:16px; }

/* ============ CART DRAWER ============ */
.drawer-veil {
  position:fixed; inset:0; background:rgba(20,14,10,.45); z-index:80;
  opacity:0; pointer-events:none; transition:opacity .3s;
}
.drawer-veil.open { opacity:1; pointer-events:auto; }
.cart-drawer {
  position:fixed; top:0; right:0; bottom:0; width:min(420px,94vw); z-index:90;
  background:var(--paper); transform:translateX(105%); transition:transform .35s cubic-bezier(.2,.8,.2,1);
  display:flex; flex-direction:column; box-shadow:-20px 0 60px rgba(0,0,0,.25);
}
.cart-drawer.open { transform:translateX(0); }
.cart-head { display:flex; align-items:center; justify-content:space-between; padding:22px 24px; border-bottom:1px solid var(--line); }
.cart-head h3 { font-size:20px; font-weight:600; }
.cart-items { flex:1; overflow-y:auto; padding:16px 24px; display:flex; flex-direction:column; gap:14px; }
.cart-empty { text-align:center; color:var(--ink-soft); font-size:14px; padding-top:60px; }
.cart-item { display:flex; gap:12px; border:1px solid var(--line); border-radius:12px; padding:12px; background:var(--card); }
.cart-item img, .cart-item .ci-dot { width:56px; height:56px; border-radius:10px; object-fit:cover; flex:none; }
.cart-item .ci-dot { border-radius:50%; width:40px; height:40px; margin:8px; }
.ci-info { flex:1; min-width:0; }
.ci-name { font-size:13.5px; font-weight:600; }
.ci-meta { font-size:11.5px; color:var(--ink-soft); margin-top:2px; }
.ci-bottom { display:flex; align-items:center; gap:10px; margin-top:8px; }
.ci-qty { display:flex; align-items:center; gap:8px; font-size:13px; }
.ci-qty button { width:22px; height:22px; border:1px solid var(--line); border-radius:50%; font-size:13px; line-height:1; }
.ci-price { margin-left:auto; font-weight:600; font-size:13.5px; }
.ci-remove { font-size:11px; color:var(--ink-soft); text-decoration:underline; }
.cart-foot { border-top:1px solid var(--line); padding:20px 24px; }
.cart-subtotal { display:flex; justify-content:space-between; font-size:15px; margin-bottom:8px; }
.cart-subtotal strong { font-family:"Jost","Noto Serif SC",sans-serif; font-size:22px; }

/* ============ TOAST ============ */
.toast {
  position:fixed; bottom:30px; left:50%; transform:translate(-50%,80px); z-index:100;
  background:var(--ink); color:var(--paper); padding:13px 26px; border-radius:999px;
  font-size:13.5px; opacity:0; transition:all .35s; pointer-events:none;
  box-shadow:0 12px 30px rgba(0,0,0,.3);
}
.toast.show { opacity:1; transform:translate(-50%,0); }

/* strand svg bead */
.slot { cursor:pointer; }
.slot circle.halo { transition:all .15s; }
.slot:hover circle.halo { stroke:var(--cinnabar); stroke-width:2; opacity:.9; }

/* ============ BLOG ============ */
@font-face {
  font-family:"Source Sans 3";
  src:url("assets/fonts/SourceSans3-Upright.woff2") format("woff2");
  font-weight:200 900; font-style:normal; font-display:swap;
}
@font-face {
  font-family:"Chill Duan Hei Song";
  src:url("assets/fonts/ChillDuanHeiSong-Journal.woff2?v=wuxing-dayi") format("woff2");
  font-weight:400; font-style:normal; font-display:swap;
  unicode-range:U+3000-303F,U+3400-4DBF,U+4E00-9FFF,U+FF00-FFEF;
}
body[data-page="blog"] { background:#f7f4ee; }
body[data-page="blog"] main {
  font-family:"Source Sans 3","Chill Duan Hei Song","Noto Sans SC",system-ui,sans-serif;
  color:#26231e;
}
body[data-page="blog"] .section-head h1 {
  font-family:"Lora","Noto Serif SC",Georgia,serif;
  font-size:clamp(32px,3.6vw,46px); font-weight:400; line-height:1.2; letter-spacing:-.015em; color:#231f1a;
}
body[data-page="blog"] .section-head .eyebrow { font-family:inherit; font-weight:500; letter-spacing:.12em; }
body[data-page="blog"] .section-head .lede { font-size:17px; line-height:1.7; font-weight:400; color:#4f483f; }
.post-list { max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:20px; }
.post {
  background:#fdfbf7; border:1px solid rgba(35,31,26,.10); border-radius:var(--radius);
  overflow:hidden; transition:box-shadow .25s, border-color .25s;
}
.post:hover { box-shadow:var(--shadow); border-color:rgba(35,31,26,.18); }
.post-head { display:block; width:100%; text-align:left; padding:30px 34px; }
.post-head:focus-visible { outline-offset:-4px; }
.post-meta {
  font-size:12.5px; letter-spacing:.08em; text-transform:uppercase;
  color:#6c6458; font-weight:500;
}
.post-head h2 {
  font-family:"Lora","Noto Serif SC",Georgia,serif; font-size:clamp(22px,2.4vw,27px);
  font-weight:400; line-height:1.28; letter-spacing:-.01em; margin:10px 0 10px; color:#231f1a;
}
.post-excerpt { font-size:16.5px; color:#4a443c; line-height:1.68; font-weight:400; }
.post-more {
  display:inline-flex; align-items:center; gap:6px; margin-top:16px;
  font-size:14.5px; font-weight:500; color:var(--cinnabar);
}
.post-page { max-width:1240px; margin-inline:auto; }
.post-reading { max-width:860px; margin-inline:auto; }
.post-page .post-back { margin-top:0; font-size:14.5px; color:#5a5248; }
.post-article { margin-top:26px; }
.post-article header { margin-bottom:28px; }
.post-article h1,.post-body h2,.post-body h3,.post-related h2 {
  font-family:"Lora","Noto Serif SC",Georgia,serif; font-weight:400; color:#231f1a;
}
.post-article h1 {
  margin:0 0 14px; font-size:clamp(32px,4.2vw,48px); line-height:1.16; letter-spacing:-.02em;
}
.post-cover { width:100%; height:auto; border-radius:12px; }
.post-article h1[data-i18n="wuxing_title"] { font-size:clamp(30px,3.6vw,44px); text-wrap:balance; }
.post-book-pages { display:grid; grid-template-columns:repeat(2,minmax(0,235px)); justify-content:center; gap:clamp(10px,2vw,24px); padding:clamp(16px,4vw,34px); border-radius:12px; background:#eadbc7; }
.post-book-pages img { width:100%; height:auto; box-shadow:0 6px 18px rgba(60,35,21,.18); }
.post-book-facsimile figcaption { margin-top:10px; font-size:13.5px; line-height:1.6; color:#5e564c; }
.post-book-facsimile figcaption a,.post-source { text-decoration:underline; text-underline-offset:3px; color:var(--cinnabar); }
.post-table-wrap { overflow-x:auto; margin:30px 0 12px; }
.post-elements-table,.post-compare-table {
  width:100%; margin:28px 0 10px; border-collapse:collapse;
  font-size:clamp(16.5px,1.3vw,18px); line-height:1.65; text-align:left; color:#26231e;
}
.post-table-wrap .post-compare-table { margin:0; }
.post-elements-table :is(th,td),.post-compare-table :is(th,td) {
  padding:20px 22px 20px 0; vertical-align:top;
  border-bottom:1px solid rgba(35,31,26,.10);
}
.post-elements-table :is(th,td):last-child,.post-compare-table :is(th,td):last-child { padding-right:0; }
.post-elements-table thead th,.post-compare-table thead th {
  padding-top:10px; padding-bottom:18px;
  font-weight:500; font-size:clamp(16px,1.25vw,17.5px); color:#4f483f;
  border-bottom:1px solid rgba(35,31,26,.16);
}
.post-elements-table tbody th,.post-compare-table tbody th { font-weight:500; color:#231f1a; white-space:nowrap; }
.post-elements-table small { display:inline-block; margin-inline-start:.5em; color:#6c6458; font-weight:400; }
.post-body .post-quiz-link { margin-top:24px; font-size:17px; }
.post-body {
  margin-top:40px; font-size:clamp(17.5px,1.4vw,19.5px); line-height:1.8;
  color:#26231e; font-weight:400;
}
.post-body h2 {
  margin:2.1em 0 .65em; font-size:clamp(28px,3.4vw,38px);
  line-height:1.22; letter-spacing:-.015em; color:#231f1a; scroll-margin-top:110px;
}
.post-body h2:first-child { margin-top:0; }
.post-body p + p { margin-top:1.3em; }
.post-body strong { font-weight:600; color:#161310; }
.post-body em { color:#231f1a; font-style:italic; font-weight:400; }
.post-body a:not(.post-quiz-link):not(.btn) { text-decoration:underline; text-underline-offset:3px; color:var(--cinnabar); }
.post-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:13.5px; color:#6c6458; }
.post-breadcrumb a { color:#5a5248; }
.post-breadcrumb a:hover { color:var(--cinnabar); }
.post-lead { margin-top:16px; font-size:clamp(17.5px,1.5vw,20px); line-height:1.72; color:#4a443c; }
.post-toc { margin-top:28px; padding:22px 26px; border:1px solid rgba(35,31,26,.11); border-radius:12px; background:#fdfbf7; }
.post-toc-title { font-size:12px; letter-spacing:.12em; text-transform:uppercase; font-weight:600; color:#6c6458; margin:0 0 12px; }
.post-toc ol { margin:0; padding-left:20px; display:grid; gap:8px; font-size:15.5px; line-height:1.55; }
.post-toc ol a { color:#231f1a; text-decoration:none; }
.post-toc ol a:hover { color:var(--cinnabar); text-decoration:underline; text-underline-offset:3px; }
.post-toc-cta { margin:16px 0 0; padding-top:14px; border-top:1px solid rgba(35,31,26,.09); font-size:14.5px; color:#5a5248; }
.post-toc-cta a { color:var(--cinnabar); font-weight:500; text-decoration:underline; text-underline-offset:3px; }
.post-cta-box { margin:34px 0 12px; padding:clamp(22px,3.5vw,34px); border:1px solid rgba(35,31,26,.12); border-radius:14px; background:linear-gradient(125deg,#f0e5d4,#fdfbf7 68%); }
.post-cta-copy h3 { margin:0 0 10px; font-size:clamp(22px,2.5vw,28px); line-height:1.3; }
.post-cta-copy p { margin:0; font-size:16px; line-height:1.7; color:#4a443c; }
.post-cta-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 16px; margin-top:20px; }
.btn-ghost-dark { border:1px solid rgba(35,31,26,.28); color:#231f1a; background:transparent; }
.btn-ghost-dark:hover { border-color:var(--cinnabar); color:var(--cinnabar); }
.post-faq { display:grid; gap:12px; margin-top:16px; }
.post-faq-item { border:1px solid rgba(35,31,26,.11); border-radius:10px; background:#fdfbf7; padding:16px 20px; }
.post-faq-item summary { cursor:pointer; font-family:"Lora","Noto Serif SC",Georgia,serif; font-size:clamp(17px,1.4vw,19.5px); line-height:1.45; color:#231f1a; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.post-faq-item summary::-webkit-details-marker { display:none; }
.post-faq-item summary::after { content:"+"; font-family:inherit; font-size:22px; color:#6c6458; flex:none; }
.post-faq-item[open] summary::after { content:"−"; color:var(--cinnabar); }
.post-faq-item p { margin:12px 0 0; font-size:16px; line-height:1.75; color:#4a443c; }
.post-related { margin-top:clamp(56px,7vw,96px); padding-top:36px; border-top:1px solid rgba(35,31,26,.12); }
.post-related h2 { margin:0 0 24px; font-size:clamp(26px,3vw,34px); letter-spacing:-.015em; }
.post-related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(18px,2.6vw,30px); }
.post-related-card { display:block; }
.post-related-card img { width:100%; height:auto; aspect-ratio:5 / 3; object-fit:cover; border-radius:8px; }
.post-related-card .post-meta { display:block; margin-top:12px; }
.post-related-card h3 { margin-top:6px; font:400 20px/1.3 "Lora","Noto Serif SC",Georgia,serif; color:#231f1a; }
.post-related-card:hover h3 { color:var(--cinnabar); }
@media (max-width:620px) {
  .post-related-grid { grid-template-columns:1fr; gap:26px; }
  .post-head { padding:24px 22px; }
  .post-toc { padding:18px 18px; }
  .post-elements-table :is(th,td),.post-compare-table :is(th,td) { padding:14px 12px 14px 0; font-size:15px; }
  .post-compare-table tbody th { white-space:normal; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero { min-height:78svh; }
  .hero-img img { object-position:62% center; }
  .hero-img::after { background:linear-gradient(100deg, rgba(22,12,6,.92) 0%, rgba(22,12,6,.62) 55%, rgba(22,12,6,.3) 100%); }
  .hero-copy { padding:130px 6vw 70px; }
  .builder { grid-template-columns:1fr; }
  .builder-left { position:static; order:1; }
  .builder-right { order:2; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .nav-links { display:none; }
  .entry-grid { grid-template-columns:1fr; }
  .process-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 560px) {
  .section { padding:80px 5vw; }
  .bead-lib { grid-template-columns:repeat(auto-fill,minmax(50px,1fr)); }
  .story-points { grid-template-columns:1fr; }
  .hero-logo { height:42px; }
}

/* Wish shopping, product stories and birthday discovery */
[hidden] { display:none !important; }
:focus-visible { outline:2px solid var(--cinnabar); outline-offset:4px; }
.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; }
.nav { gap:0 16px; padding:12px 24px; }
.nav-links { gap:16px; font-size:12px; letter-spacing:0; align-items:center; }
.announcement { grid-column:1/-1; text-align:center; padding-top:10px; font-size:11px; line-height:1.5; color:var(--ink-soft); }
.wish-menu { position:relative; }
.wish-menu summary { cursor:pointer; color:var(--ink-soft); }
.wish-menu summary.is-active { color:var(--cinnabar); }
.wish-dropdown { position:absolute; top:calc(100% + 14px); left:-18px; width:220px; padding:12px; border:1px solid var(--line); border-radius:12px; background:var(--card); box-shadow:var(--shadow); display:flex; flex-direction:column; gap:3px; }
.wish-dropdown a { padding:10px; border-radius:7px; }
.wish-dropdown a:hover { background:var(--paper-2); }
.menu-toggle { display:none; font-size:12px; padding:8px; }
.hero-copy { padding-top:155px; padding-bottom:65px; }
.hero-logo { margin-bottom:28px; }
.hero h1 { font-size:clamp(38px,4.8vw,68px); max-width:600px; }
.hero-title-detail { display:block; font-size:clamp(20px,2.2vw,30px); line-height:1.35; letter-spacing:0; margin-top:18px; max-width:530px; }
.hero-sub { max-width:500px; margin:22px 0 26px; font-size:15px; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; }
.hero-quiz { margin-top:22px; font-size:12.5px; line-height:1.6; color:#e8c8a0; text-decoration:underline; text-underline-offset:4px; }
.page-section { padding-top:170px; }
.section-head h1 { font-size:clamp(32px,4.2vw,52px); font-weight:500; line-height:1.14; }
.product-profile { font-size:12.5px; line-height:1.65; color:var(--jade); margin:9px 0 4px; overflow-wrap:anywhere; }
.shipping-notice { font-size:12px; line-height:1.7; margin-top:16px; color:var(--ink-soft); }
.wish-discovery { padding-bottom:32px; }
.wish-discovery + .section { padding-top:40px; }
.wish-tiles { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; max-width:1240px; margin:auto; }
.wish-tile { position:relative; background:var(--card); border:1px solid var(--line); border-radius:14px; padding:26px 20px; transition:transform .2s,box-shadow .2s; }
.wish-tile:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.wish-tile span { display:block; font-family:"Jost","Noto Serif SC",serif; font-size:20px; line-height:1.3; }
.wish-tile small { display:block; font-size:12px; line-height:1.7; color:var(--ink-soft); margin-top:12px; }
.wish-filter-wrap { max-width:1240px; margin:0 auto 30px; text-align:center; }
.wish-description { margin:18px auto 0; max-width:650px; color:var(--ink-soft); font-size:14px; line-height:1.7; }
.filter-pills { flex-wrap:wrap; }
.text-link { display:inline-block; color:var(--cinnabar); text-decoration:underline; text-underline-offset:4px; font-size:13px; line-height:1.7; margin-top:18px; }
.quiz-teaser { background:var(--paper-2); }
.quiz-teaser .section-head { margin-bottom:0; }
.quiz-teaser .btn { margin-top:28px; }
.premium-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.set-grid { max-width:900px; margin:auto; }
.set-images { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); background:var(--paper-2); gap:4px; padding:16px; }
.set-images img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:8px; }
.set-card .card-body { padding:28px; }
.set-piece-count { font-size:14px; margin:12px 0; }
.set-members { list-style:none; display:grid; gap:0; margin-top:8px; }
.set-members li { display:flex; justify-content:space-between; gap:16px; font-size:13px; line-height:1.5; padding:10px 0; border-bottom:1px solid var(--line); }
.set-members li span:last-child { color:var(--jade); }
.element-form { max-width:650px; margin:auto; background:var(--card); border:1px solid var(--line); border-radius:18px; padding:30px; }
.element-form label { font-size:14px; display:block; margin-bottom:12px; }
.element-form .quiz-source { margin-top:14px; }
.birthday-row { display:flex; gap:12px; }
.birthday-row input { flex:1; min-width:0; font:inherit; background:var(--paper); border:1px solid var(--line); border-radius:10px; padding:12px; color:var(--ink); }
.form-error { color:var(--cinnabar); font-size:13px; line-height:1.6; margin-top:10px; }
.quiz-result { --quiz-accent:var(--jade); --quiz-tint:#eaf0e9; max-width:980px; margin:42px auto 0; padding:32px; background:var(--card); border:1px solid rgba(185,138,60,.18); border-radius:20px; scroll-margin-top:150px; }
.quiz-result[data-element="fire"] { --quiz-accent:#9d4132; --quiz-tint:#f3e7df; }
.quiz-result[data-element="earth"] { --quiz-accent:#8a6b3a; --quiz-tint:#f1eadb; }
.quiz-result[data-element="metal"] { --quiz-accent:#716b5c; --quiz-tint:#eeece5; }
.quiz-result[data-element="water"] { --quiz-accent:#486475; --quiz-tint:#e7edf0; }
.quiz-result-heading { display:grid; grid-template-columns:76px 1fr auto; gap:22px; align-items:center; padding-bottom:28px; border-bottom:1px solid rgba(185,138,60,.15); }
.quiz-symbol { width:76px; aspect-ratio:1; display:grid; place-items:center; border-radius:50%; color:var(--quiz-accent); background:var(--quiz-tint); font-family:"Noto Serif SC",serif; font-size:34px; }
.quiz-result-copy { min-width:0; overflow-wrap:anywhere; }
.quiz-result-copy .eyebrow { font-size:10px; letter-spacing:.18em; margin:0 0 6px; color:var(--quiz-accent); }
#quizElement { font-size:36px; font-weight:400; line-height:1.25; }
#quizIntro { font-size:13px; line-height:1.8; margin-top:9px; color:var(--ink-soft); }
.quiz-again { font-size:12px; line-height:1.6; white-space:nowrap; align-self:start; margin-top:7px; }
.quiz-recommendation.card { display:grid; grid-template-columns:minmax(190px,34%) minmax(0,1fr); gap:32px; align-items:center; margin-top:28px; background:none; border:0; border-radius:0; overflow:visible; }
.quiz-recommendation.card:hover { transform:none; box-shadow:none; }
.quiz-product-image { display:block; width:100%; aspect-ratio:1; border-radius:12px; overflow:hidden; background:var(--paper-2); }
.quiz-product-image img { width:100%; height:100%; object-fit:cover; }
.quiz-product-copy { min-width:0; }
.quiz-match-label { color:var(--quiz-accent); font-size:10px; letter-spacing:.14em; line-height:1.6; margin-bottom:8px; }
.quiz-product-copy h3 { font-size:30px; font-weight:400; line-height:1.25; }
.quiz-product-copy .card-sub { font-size:11px; margin-top:5px; }
.quiz-product-copy .product-profile { font-size:13px; line-height:1.8; margin-top:13px; }
.quiz-product-note { color:var(--ink-soft); font-size:13px; line-height:1.8; margin-top:9px; }
.quiz-size-row { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:20px; }
.quiz-size-row > span { font-size:11px; color:var(--ink-soft); }
.quiz-size-row .size-mini { margin-top:0; }
.quiz-size-row .size-mini button { padding:5px 10px; }
.quiz-product-actions { display:flex; align-items:center; flex-wrap:wrap; gap:14px; margin-top:20px; }
.quiz-product-price { font-family:"Jost","Noto Serif SC",sans-serif; font-size:25px; margin-right:auto; }
.quiz-product-actions .btn { font-size:12px; padding:11px 22px; }
.quiz-product-actions .text-link { font-size:12px; margin-top:0; }
.quiz-result .btn-solid { box-shadow:none; }
.quiz-reading { max-width:650px; margin:30px auto 0; padding:24px 20px 12px; text-align:center; scroll-margin-top:140px; }
.book-scene { display:grid; place-items:center; width:min(100%,430px); height:clamp(190px,48vw,290px); margin:0 auto 22px; perspective:1100px; }
.reading-book { position:relative; width:clamp(106px,31vw,166px); aspect-ratio:3 / 4; transform:rotateX(9deg) rotateY(-10deg); transform-style:preserve-3d; }
.book-back { position:absolute; inset:-3px -5px -4px -3px; background:#69382d; border-radius:3px 7px 7px 3px; transform:translateZ(-9px); box-shadow:10px 20px 30px rgba(56,35,21,.18); }
.book-paper { position:absolute; inset:3px 0 3px 3px; background:linear-gradient(90deg,#e1ccb0,#fbf3e4 12%,#f1e0c7); border:1px solid #d4bea0; border-radius:1px 5px 5px 1px; transform-origin:left center; transform-style:preserve-3d; }
.book-last { transform:translateZ(-7px); box-shadow:inset -3px 0 0 #e4cfaf,inset -5px 0 0 #f6ead6; }
.book-leaf { --page-depth:calc(-1px - var(--leaf) * .85px); transform:translateZ(var(--page-depth)); }
.book-page-lines { position:absolute; inset:30px 26px; background:repeating-linear-gradient(90deg,transparent 0 18px,rgba(115,81,49,.2) 18px 19px); opacity:.7; }
.book-element-seal { position:absolute; right:clamp(14px,4vw,34px); top:clamp(12px,3vw,27px); font-family:"Noto Serif SC",serif; font-size:clamp(14px,4.2vw,22px); line-height:1.42; color:#7c4b35; z-index:1; background:#f6ead6; padding:0 6px; }
.book-cover { position:absolute; inset:0; background:#7f352b; border:1px solid #5c2b23; border-radius:3px 7px 7px 3px; transform-origin:left center; transform-style:preserve-3d; box-shadow:inset 8px 0 0 rgba(39,18,10,.15),inset -1px 0 1px #b66b51; }
.book-cover-frame { position:absolute; inset:7% 8% 7% 11%; display:flex; flex-direction:column; justify-content:center; align-items:center; border:1px solid rgba(232,201,145,.6); color:#ecd1a1; backface-visibility:hidden; transform:translateZ(1px); }
.book-brand { font-size:7px; letter-spacing:.19em; margin-bottom:clamp(5px,1.6vw,14px); }
.book-cover strong { font-family:"Noto Serif SC",serif; writing-mode:vertical-rl; font-size:clamp(17px,4.5vw,27px); font-weight:400; letter-spacing:.18em; line-height:1.45; }
.book-cover-caption { font-family:"Noto Serif SC",serif; font-size:8px; letter-spacing:.1em; margin-top:clamp(5px,1.6vw,14px); }
.book-cover::after { content:""; position:absolute; inset:0; border:8px solid #7f352b; background:linear-gradient(90deg,#efe0c9,#fbf1df); border-radius:3px 7px 7px 3px; transform:rotateY(180deg) translateZ(1px); backface-visibility:hidden; }
.quiz-reading .eyebrow { line-height:1.8; letter-spacing:.12em; margin-bottom:8px; }
.reading-caption { font-size:13px; line-height:1.7; color:var(--ink-soft); }
.quiz-reading.is-reading .reading-book {
  animation:book-grow 640ms cubic-bezier(.2,.7,.24,1) both,book-center-open 400ms 640ms ease-in-out both;
}
.quiz-reading.is-reading .book-cover { animation:book-open 400ms 640ms ease-in-out both; }
.quiz-reading.is-reading .book-leaf {
  animation:book-page-turn 320ms calc(1040ms + var(--leaf) * 130ms) cubic-bezier(.33,.13,.52,.94) both;
}
.quiz-result.is-revealed { animation:quiz-result-in .55s ease-out both; }
@keyframes book-grow {
  from { opacity:.4; transform:translateY(20px) scale(.29) rotateX(12deg) rotateY(-16deg); }
  to { opacity:1; transform:scale(1.12) rotateX(9deg) rotateY(-8deg); }
}
@keyframes book-center-open { from { translate:0 0; } to { translate:44% 0; } }
@keyframes book-open { from { transform:rotateY(0deg); } to { transform:rotateY(-158deg); } }
@keyframes book-page-turn {
  from { transform:translateZ(var(--page-depth)) rotateY(0deg); }
  55% { transform:translateZ(var(--page-depth)) rotateY(-103deg); }
  to { transform:translateZ(var(--page-depth)) rotateY(-156deg); }
}
@keyframes quiz-result-in { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .quiz-reading.is-reading .reading-book,.quiz-reading.is-reading .book-cover,.quiz-reading.is-reading .book-leaf,.quiz-result.is-revealed { animation:none; }
  .quiz-reading .reading-book { translate:44% 0; }
  .quiz-reading .book-cover { transform:rotateY(-158deg); }
  .quiz-reading .book-leaf { visibility:hidden; }
}
.coupon-reward { display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:24px; margin-top:28px; padding:18px 22px; border:0; border-radius:11px; background:var(--paper); }
.coupon-reward p { font-size:12px; line-height:1.7; color:var(--ink-soft); }
.coupon-reward output { display:block; font-size:22px; font-weight:500; letter-spacing:.1em; }
.coupon-reward .btn { font-size:12px; padding:10px 20px; }
.footer { background:linear-gradient(180deg,#241c16,#1a140f 120px); }
.footer-shipping { margin-top:26px; }
.footer-news { margin:24px 0 4px; max-width:340px; }
.footer-news-title {
  font-family:"Source Sans 3","Noto Sans SC",system-ui,sans-serif;
  font-size:clamp(19px,1.8vw,22px); font-weight:600; line-height:1.28;
  color:#f6eee0; margin-bottom:14px; letter-spacing:-.01em;
}
.footer-news-pill {
  display:flex; align-items:center; gap:8px;
  padding:5px 5px 5px 18px; border-radius:999px;
  border:1px solid rgba(232,200,160,.26);
  background:rgba(255,255,255,.03);
  transition:border-color .2s, background .2s;
}
.footer-news-pill:focus-within {
  border-color:rgba(232,200,160,.62);
  background:rgba(255,255,255,.05);
}
.footer-news-pill input {
  flex:1; min-width:0; border:0; background:transparent; outline:none;
  font:inherit; font-size:14.5px; color:#f4ead6; padding:6px 0;
}
.footer-news-pill input::placeholder { color:#9a8d7b; }
.footer-news-pill button {
  flex:none; width:38px; height:38px; border-radius:50%;
  display:grid; place-items:center;
  background:rgba(232,200,160,.22); color:#f6eee0;
  transition:background .2s, transform .15s;
}
.footer-news-pill button:hover { background:rgba(232,200,160,.34); transform:translateX(1px); }
.footer-news-pill button:disabled { opacity:.55; cursor:wait; transform:none; }
.footer-news-privacy { margin-top:11px; font-size:13px; line-height:1.55; color:#9a8d7b; }
.footer .footer-news-privacy a {
  display:inline; margin:0; font-size:inherit; color:#d2c5b0;
  text-decoration:underline; text-underline-offset:3px;
}
.footer .footer-news-privacy a:hover { color:#fff; }
.footer-news-status { margin-top:8px; font-size:13px; line-height:1.45; min-height:0; color:#d2c5b0; }
.footer-news-status.is-ok { color:#9ec8a7; }
.footer-news-status.is-error { color:#e29a8c; }
.footer .disclaimer { border-top:0; }
.footer a { margin-top:10px; }
.cart-foot { max-height:56svh; overflow-y:auto; flex-shrink:0; }
.cart-head { flex-shrink:0; }
.cart-items { min-height:80px; }
.cart-checkout { flex-shrink:0; padding:12px 24px 20px; background:var(--paper); border-top:1px solid var(--line); }
.cart-foot .muted { margin-top:8px; }
.cart-foot .text-link { margin-top:10px; }
.coupon-row { display:flex; gap:8px; margin-top:14px; }
.coupon-row input { flex:1; width:0; min-width:0; font:inherit; font-size:13px; border:1px solid var(--line); border-radius:9px; padding:10px; background:var(--card); color:var(--ink); }
.coupon-row .tool { padding:8px 14px; }
.coupon-status { color:var(--jade); line-height:1.5; margin-top:8px; min-height:0; }
.cart-discount { display:flex; justify-content:space-between; color:var(--jade); font-size:13px; margin:12px 0; }
.cart-perk { font-size:13px; color:var(--jade); line-height:1.6; margin-top:14px; }
.gift-picker { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; font-size:12px; }
.gift-picker select { max-width:60%; border:1px solid var(--line); padding:8px; border-radius:8px; background:var(--card); color:var(--ink); font:inherit; }
.product-detail.card { display:block; max-width:1180px; margin:auto; box-shadow:none; }
.product-detail.card:hover { transform:none; box-shadow:none; }
.product-overview { display:grid; grid-template-columns:1.1fr 1fr; }
.product-gallery { background:var(--paper-2); min-width:0; }
.product-main-image { width:100%; height:100%; max-height:650px; object-fit:contain; }
.product-gallery figcaption { font-size:11px; padding:10px 16px; color:var(--ink-soft); text-align:center; }
.product-gallery-carousel { position:relative; display:flex; flex-direction:column; }
.product-closeups { position:relative; flex:1 0 auto; aspect-ratio:2.35 / 1; overflow:hidden; }
.product-closeups img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .65s ease; }
.product-closeups img.is-active { opacity:1; }
.product-gallery-carousel figcaption,.carousel-dots,.carousel-playback { position:absolute; bottom:12px; border-radius:999px; background:rgba(34,29,24,.74); color:#fff; }
.product-gallery-carousel figcaption { left:12px; padding:6px 10px; pointer-events:none; }
.carousel-dots { left:50%; transform:translateX(-50%); display:flex; padding:2px 4px; }
.carousel-dots button { display:grid; place-items:center; width:24px; height:28px; border-radius:999px; }
.carousel-dots button::after { content:""; width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.6); }
.carousel-dots button[aria-current="true"]::after { width:9px; height:9px; background:#fff; }
.carousel-playback { right:12px; width:32px; height:32px; display:grid; place-items:center; }
.carousel-playback span { width:0; height:0; margin-left:2px; border-left:8px solid currentColor; border-block:5px solid transparent; }
.carousel-playback[aria-pressed="true"] span { width:9px; height:11px; margin:0; border:0 solid currentColor; border-inline-width:3px; }
.carousel-dots button:focus-visible,.carousel-playback:focus-visible { outline:2px solid #fff; outline-offset:-2px; }
@media (prefers-reduced-motion:reduce) {
  .product-closeups img { transition:none; }
}
.product-buy { padding:40px; }
.product-buy h1 { font-size:clamp(30px,3.5vw,45px); line-height:1.12; }
.product-buy .product-profile { font-size:14px; margin-top:20px; }
.detail-formula { font-size:13px; line-height:1.7; color:var(--ink-soft); margin-top:18px; }
.detail-price { font-size:34px; font-family:"Jost","Noto Serif SC",sans-serif; margin-top:24px; }
.product-buy .btn-wide { margin-top:24px; }
.detail-jumps { display:flex; flex-wrap:wrap; justify-content:center; gap:12px 24px; margin:36px auto 0; max-width:1180px; padding:20px; background:var(--card); border-radius:12px; }
.detail-jumps a { font-size:12px; line-height:1.7; color:var(--cinnabar); }
.detail-section { max-width:1000px; margin:65px auto 0; scroll-margin-top:150px; }
.detail-section h2 { font-size:clamp(25px,3vw,34px); font-weight:500; margin-bottom:22px; }
.detail-section h3 { font-size:18px; font-weight:500; margin-top:28px; }
.detail-section > p { font-size:14px; line-height:1.8; }
.detail-pending { color:var(--ink-soft); padding:24px; background:var(--paper-2); border-radius:12px; }
.product-story { margin-top:38px; }
.product-story-page { padding:clamp(24px,4vw,42px); border-radius:14px; background:linear-gradient(120deg,#f0e6d6,var(--card) 70%); }
.product-story-page .story-kicker { font-size:10px; letter-spacing:.17em; color:var(--cinnabar); line-height:1.7; margin:0 0 15px; }
.product-story-page h3 { font-family:"Noto Serif SC",serif; font-size:clamp(23px,2.8vw,30px); line-height:1.5; font-weight:400; margin:0 0 20px; }
.product-story-page > p { max-width:780px; font-size:15px; line-height:1.95; margin:14px 0 0; }
.product-story-page .story-context { color:var(--ink-soft); }
.product-story-page .story-source { font-size:11px; line-height:1.8; margin-top:24px; color:var(--ink-soft); }
.story-source a { color:var(--jade); text-decoration:underline; text-underline-offset:3px; }
.media-pending { display:grid; place-items:center; min-height:160px; border:1px dashed var(--line); border-radius:14px; background:var(--card); color:var(--ink-soft); font-size:13px; line-height:1.7; padding:28px; text-align:center; }
.video-pending { min-height:210px; margin-top:20px; }
.detail-photo-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.detail-photo-grid img { width:100%; max-height:650px; object-fit:contain; border-radius:12px; }
.detail-photo-grid figcaption { font-size:12px; line-height:1.7; color:var(--ink-soft); margin-top:10px; }
.detail-section > .detail-image-note { font-size:12px; color:var(--ink-soft); margin-top:12px; }
.aroma-video { display:block; width:100%; max-height:620px; border-radius:14px; background:var(--ink); margin-top:20px; }
body[data-page="policies"] { background:#f7f4ee; }
body[data-page="policies"] main {
  font-family:"Source Sans 3","Noto Sans SC",system-ui,sans-serif;
  color:#26231e;
}
.policy-page { max-width:1080px; margin-inline:auto; padding-inline:clamp(20px,4vw,48px); padding-bottom:120px; }
.policy-page .section-head {
  max-width:none; margin:0 auto 30px; text-align:left;
}
.policy-page .section-head .eyebrow { display:none; }
.policy-page .section-head h1 {
  font-family:"Lora","Noto Serif SC",Georgia,serif;
  font-size:clamp(38px,5vw,56px); font-weight:400; line-height:1.18;
  letter-spacing:-.015em; color:#231f1a; text-align:center; margin-bottom:34px;
}
.policy-page .section-head .lede {
  font-size:clamp(17.5px,1.4vw,19.5px); line-height:1.85; color:#26231e;
  font-weight:400; max-width:none; margin:0;
}
.policy-updated { margin-top:16px; font-size:15.5px; line-height:1.65; color:#6b6358; }
.policy-toc {
  display:flex; flex-wrap:wrap; justify-content:flex-start; gap:10px 28px;
  margin:32px 0 14px; padding:18px 0;
  border-top:1px solid rgba(35,31,26,.10); border-bottom:1px solid rgba(35,31,26,.10);
}
.policy-toc a {
  padding:4px 0; border:0; border-radius:0; background:none;
  color:#5b5349; font-size:16px; font-weight:400; letter-spacing:.01em;
  border-bottom:1.5px solid transparent; transition:color .2s, border-color .2s;
}
.policy-toc a:hover, .policy-toc a:focus-visible {
  color:#231f1a; border-bottom-color:var(--cinnabar); background:none;
}
.policy-page .detail-section {
  max-width:none; margin:60px 0 0; padding:50px 0 0;
  border:0; border-top:1px solid rgba(35,31,26,.10); border-radius:0; background:transparent;
  scroll-margin-top:130px;
}
.policy-page .policy-toc + .detail-section { margin-top:42px; padding-top:0; border-top:0; }
.policy-page .detail-section h2 {
  font-family:"Lora","Noto Serif SC",Georgia,serif;
  font-size:clamp(28px,3.4vw,38px); font-weight:400; line-height:1.25;
  letter-spacing:-.015em; color:#231f1a; margin:0 0 22px; padding:0; border:0;
}
.policy-page .detail-section h3 {
  font-family:"Lora","Noto Serif SC",Georgia,serif;
  margin:36px 0 14px; font-size:clamp(21px,2.3vw,25px); font-weight:400;
  line-height:1.35; color:#231f1a; letter-spacing:-.005em;
}
.policy-page .detail-section h2 + h3 { margin-top:16px; }
.policy-page .detail-section p {
  color:#26231e; font-size:clamp(17.5px,1.4vw,19.5px); line-height:1.85; font-weight:400;
}
.policy-page .detail-section p + p { margin-top:18px; }
.policy-list {
  margin:14px 0 22px; padding-left:24px; color:#26231e;
  font-size:clamp(17.5px,1.4vw,19.5px); line-height:1.85; font-weight:400;
}
.policy-list li + li { margin-top:12px; }
.policy-page strong { color:#161310; font-weight:600; }
.measurement-scroll { overflow-x:auto; }
.measurement-table { width:100%; border-collapse:collapse; font-size:13px; text-align:left; }
.measurement-table th,.measurement-table td { padding:15px 16px; border-bottom:1px solid var(--line); line-height:1.6; }
.measurement-table th { font-weight:500; color:var(--ink-soft); }
.product-breadcrumb { margin-bottom:20px; }
.detail-subhead { margin:24px 0 8px; font-size:15px; font-weight:500; color:var(--ink); }
.related-grid { grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:20px; }
@media (max-width:980px) { .related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) { .related-grid { grid-template-columns:1fr; } }
@media (max-width:1200px) {
  .nav-links { gap:11px; font-size:11px; }
  .nav .brand-logo { height:36px; }
  .nav-right { gap:9px; }
}
@media (max-width:980px) {
  .product-overview { grid-template-columns:1fr; }
  .product-closeups { aspect-ratio:16 / 9; }
  .product-main-image { max-height:500px; }
  .menu-toggle { display:block; }
  .nav.is-open .nav-links { display:flex; }
  .nav-links { position:absolute; top:100%; left:0; right:0; padding:18px 6vw 26px; flex-direction:column; align-items:stretch; gap:0; background:var(--paper); box-shadow:var(--shadow); max-height:75svh; overflow-y:auto; font-size:14px; }
  .nav-links > a,.wish-menu summary { padding:13px 0; }
  .wish-dropdown { position:static; width:100%; box-shadow:none; margin:0 0 10px; }
  .wish-tiles { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .hero-copy { padding:155px 6vw 60px; }
  .premium-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px) {
  .product-buy { padding:26px 22px; }
  .detail-photo-grid { grid-template-columns:1fr; }
  .nav { padding:12px 16px; gap:0 8px; grid-template-columns:1fr auto; }
  .nav-right { gap:6px; }
  .nav .brand-logo { height:32px; max-width:112px; }
  .announcement { font-size:10px; }
  .lang-sel { font-size:11px; padding-left:8px; }
  .hero-copy { padding:155px 6vw 50px; }
  .hero h1 { font-size:40px; }
  .hero-title-detail { font-size:21px; }
  .hero-logo { height:38px; margin-bottom:24px; }
  .hero-sub { font-size:14px; }
  .hero-actions .btn { padding:12px 22px; font-size:13px; }
  .page-section { padding-top:165px; }
  .wish-discovery { padding-bottom:24px; }
  .wish-discovery + .section { padding-top:32px; }
  .wish-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .wish-tile { padding:22px 16px; }
  .wish-tile span { font-size:18px; }
  .premium-grid { grid-template-columns:1fr; }
  .element-form { padding:24px 20px; }
  .birthday-row { flex-direction:column; }
  .birthday-row input { width:100%; min-height:48px; }
  .quiz-result { padding:22px 18px; margin-top:30px; border-radius:16px; }
  .quiz-result-heading { grid-template-columns:54px minmax(0,1fr); gap:12px 16px; padding-bottom:22px; }
  .quiz-symbol { width:54px; font-size:27px; }
  #quizElement { font-size:30px; }
  #quizIntro { font-size:12px; }
  .quiz-again { grid-column:2; justify-self:start; margin-top:0; }
  .quiz-recommendation.card { grid-template-columns:1fr; gap:22px; margin-top:22px; }
  .quiz-product-image { max-width:280px; justify-self:center; }
  .quiz-product-copy h3 { font-size:28px; }
  .quiz-product-actions { gap:12px; }
  .quiz-product-actions .btn { padding:11px 18px; }
  .coupon-reward { grid-template-columns:minmax(0,1fr) auto; gap:14px; padding:16px; margin-top:24px; }
  .coupon-reward p { font-size:11px; }
  .coupon-reward output { font-size:20px; }
  .coupon-reward .btn { grid-column:1/-1; justify-self:stretch; }
  .set-images { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .set-card .card-body { padding:22px; }
  .entry-grid.two { grid-template-columns:1fr; }
}

.order-card {
  max-width:640px; margin:0 auto; padding:42px 36px;
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.order-card h1 { font-size:clamp(28px,3.6vw,40px); font-weight:500; margin:8px 0 14px; }
.order-badge {
  display:inline-block; margin-bottom:16px; padding:5px 12px; border-radius:999px;
  background:#f4e6c8; color:#6d4b12; font-size:12px; font-weight:500;
}
.order-meta { margin:22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:16px 0; display:grid; gap:10px; }
.order-row { display:flex; justify-content:space-between; gap:16px; font-size:14.5px; }
.order-row span { color:var(--ink-soft); }
.order-items { list-style:none; margin:14px 0 24px; display:grid; gap:10px; }
.order-items li { display:flex; justify-content:space-between; gap:16px; font-size:14px; padding-bottom:10px; border-bottom:1px dashed var(--line); }
.order-actions { margin-top:26px; display:flex; gap:14px; flex-wrap:wrap; }
