/* ───────── Velroccia · design tokens ───────── */
:root {
  --paper: #efebe6;
  --paper-2: #e6e0d8;
  --stone: #d9d1c7;
  --mist: #b6bdc1;
  --taupe: #a8968a;
  --clay: #8b776b;
  --ink: #1d1a18;
  --ink-2: #5a534d;
  --ink-3: #8a827b;
  --line: rgba(29, 26, 24, .14);
  --white: #f7f4f0;

  --serif: "Playfair Display", "Noto Serif SC", "Songti SC", serif;
  --serif-zh: "Noto Serif SC", "Songti SC", "Playfair Display", serif;
  --sans: "Inter", "Noto Sans SC", "PingFang SC", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.1em; }
figure { margin: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 20px; font-weight: 400;
}
.eyebrow.light { color: rgba(247, 244, 240, .75); }
.display { font-family: var(--serif-zh); font-weight: 300; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.2; letter-spacing: .06em; }
.display-sub { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2vw, 24px); color: var(--clay); margin: 6px 0 36px; }
.lead { font-size: 17px; color: var(--ink); line-height: 1.95; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 34px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  font-weight: 400; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--clay); }
.btn-dark:disabled { background: var(--ink-3); cursor: not-allowed; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--stone); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; }
.link-light { color: var(--white); font-size: 13px; letter-spacing: .14em; border-bottom: 1px solid rgba(247,244,240,.4); padding-bottom: 4px; }
.link-light:hover { border-color: var(--white); }
.tag { display: inline-block; font-size: 10px; letter-spacing: .18em; padding: 2px 10px; border: 1px solid var(--clay); color: var(--clay); margin-left: 8px; vertical-align: middle; line-height: 1.8; }

/* ───────── Header ───────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--white);
  transition: background .4s var(--ease), color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 76px; padding: 0 var(--gutter); max-width: 1600px; margin: 0 auto;
}
.nav { display: flex; gap: 34px; align-items: center; font-size: 12px; letter-spacing: .2em; }
.nav a { position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .4s var(--ease); transform-origin: left; }
.nav a:hover::after { transform: scaleX(1); }
.nav-right { justify-content: flex-end; }
.brand img { height: 22px; width: auto; }
.brand .logo-dark { display: none; }
.lang-toggle { font-size: 11px; letter-spacing: .2em; border: 1px solid currentColor; padding: 3px 9px; opacity: .8; }
.lang-toggle:hover { opacity: 1; }
.cart-btn { position: relative; display: flex; align-items: center; }
.cart-count {
  position: absolute; top: -6px; right: -10px; min-width: 17px; height: 17px; border-radius: 9px;
  background: var(--clay); color: var(--white); font-size: 10px; line-height: 17px; text-align: center; padding: 0 4px;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.has { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.4); } }

.site-header.solid { background: rgba(239, 235, 230, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); border-color: var(--line); }
.site-header.solid .logo-dark { display: block; }
.site-header.solid .logo-light { display: none; }

.menu-toggle { display: none; width: 28px; height: 28px; flex-direction: column; justify-content: center; gap: 7px; }
.menu-toggle span { display: block; height: 1px; background: currentColor; transition: transform .3s; }
.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ───────── Hero ───────── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: #3a3532; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.06); animation: heroIn 2.6s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,16,.62) 0%, rgba(20,18,16,.25) 45%, rgba(20,18,16,0) 70%); }
.hero-content {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) clamp(64px, 12vh, 120px); max-width: 1600px; margin: 0 auto; color: var(--white);
}
.hero-title { font-family: var(--serif); font-size: clamp(40px, 6.4vw, 92px); line-height: 1.04; letter-spacing: -.01em; margin-bottom: 28px; }
.hero-title em { font-style: italic; color: rgba(247,244,240,.82); }
.hero-sub { font-family: var(--serif-zh); font-size: clamp(14px, 1.3vw, 17px); max-width: 30em; color: rgba(247,244,240,.86); letter-spacing: .12em; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.hero-content > * { opacity: 0; transform: translateY(18px); animation: rise 1.2s var(--ease) forwards; }
.hero-content > :nth-child(2) { animation-delay: .15s; }
.hero-content > :nth-child(3) { animation-delay: .3s; }
.hero-content > :nth-child(4) { animation-delay: .45s; }
.hero-content > :nth-child(5) { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 40px; width: 1px; height: 64px; background: rgba(247,244,240,.25); overflow: hidden; z-index: 2; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--white); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { to { top: 100%; } }

/* ───────── Philosophy ───────── */
.philosophy { padding: clamp(96px, 14vw, 180px) 0 clamp(80px, 10vw, 140px); }
.philo-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.philo-text p:not(.eyebrow):not(.display-sub) { color: var(--ink-2); max-width: 34em; }
.philo-text .lead { color: var(--ink); }
.quote { margin: 40px 0 0; padding-left: 22px; border-left: 1px solid var(--taupe); font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.5; color: var(--clay); }
.philo-img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.spectrum { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin-top: clamp(80px, 10vw, 140px); }
.spectrum-label { font-size: 12px; letter-spacing: .16em; color: var(--ink-3); }
.spectrum-line { position: relative; height: 1px; background: linear-gradient(90deg, var(--mist), var(--taupe)); }
.spectrum-dot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--paper); padding: 0 22px; }
.spectrum-dot b { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: .02em; }
.spectrum-dot::before { content: ""; position: absolute; left: 50%; top: -18px; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); transform: translateX(-50%); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.pillar { padding: 40px 36px 8px 0; }
.pillar + .pillar { padding-left: 36px; border-left: 1px solid var(--line); }
.pillar-no { font-family: var(--serif); font-size: 13px; color: var(--taupe); }
.pillar h3 { font-family: var(--serif-zh); font-size: 22px; letter-spacing: .12em; margin-top: 18px; }
.pillar-en { font-family: var(--serif); font-style: italic; color: var(--clay); margin: 2px 0 16px; }
.pillar p:last-child { color: var(--ink-2); font-size: 14px; }

/* ───────── Collections ───────── */
.collections { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper-2); }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.feature { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; max-width: 1600px; margin: 0 auto clamp(64px, 8vw, 120px); }
.feature:last-child { margin-bottom: 0; }
.feature.reverse { grid-template-columns: 1fr 1.15fr; }
.feature.reverse .feature-img { order: 2; }
.feature-img { overflow: hidden; }
.feature-img img { width: 100%; aspect-ratio: 4 / 5; max-height: 92vh; object-fit: cover; transition: transform 1.4s var(--ease), opacity .5s; }
.feature:hover .feature-img img { transform: scale(1.025); }
.feature-text { padding: 40px clamp(32px, 7vw, 120px); max-width: 640px; }
.feature-index { font-family: var(--serif); font-size: 13px; letter-spacing: .2em; color: var(--taupe); }
.feature-title { font-family: var(--serif); font-size: clamp(44px, 5vw, 72px); line-height: 1; margin: 10px 0 18px; }
.feature-title span { font-family: var(--serif-zh); font-size: .32em; letter-spacing: .3em; color: var(--ink-2); margin-left: 12px; vertical-align: middle; }
.feature-meta { font-size: 13px; letter-spacing: .14em; color: var(--clay); margin-bottom: 26px; }
.feature-text > p:not(.feature-index):not(.feature-meta) { color: var(--ink-2); margin-bottom: 34px; }
.swatches { display: flex; gap: 14px; margin: -8px 0 32px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; background: var(--c); outline: 1px solid transparent; outline-offset: 4px; transition: outline-color .3s; }
.swatch.active, .swatch:hover { outline-color: var(--ink); }

/* ───────── Shop ───────── */
.shop { padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 10vw, 120px); }
.shop .section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.shop .section-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter { font-size: 12px; letter-spacing: .14em; padding: 8px 18px; border: 1px solid var(--line); transition: all .3s; }
.filter.active, .filter:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.card { cursor: pointer; animation: rise .7s var(--ease) both; }
.card-media { position: relative; overflow: hidden; background: var(--stone); aspect-ratio: 4 / 5; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; }
.card:hover .card-media img { transform: scale(1.03); }
.card-badge { position: absolute; left: 14px; top: 14px; z-index: 2; font-size: 10px; letter-spacing: .2em; background: var(--white); padding: 4px 10px; }
.card-quick {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; height: 44px;
  background: rgba(247,244,240,.94); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  transform: translateY(calc(100% + 16px)); transition: transform .45s var(--ease), background .3s;
}
.card:hover .card-quick, .card:focus-within .card-quick { transform: none; }
.card-quick:hover { background: var(--ink); color: var(--white); }
.card-body { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; }
.card-name { font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.card-name small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; color: var(--ink-3); margin-top: 6px; }
.card-price { font-size: 14px; white-space: nowrap; padding-top: 3px; }
.card-dots { display: flex; gap: 6px; margin-top: 12px; }
.card-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.shop-note { margin-top: 56px; font-size: 12px; letter-spacing: .1em; color: var(--ink-3); text-align: center; }

/* ───────── Posters ───────── */
.posters { overflow: hidden; padding: 0 0 clamp(80px, 10vw, 140px); }
.poster-track { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; }
.poster-track img { height: clamp(300px, 36vw, 480px); width: auto; aspect-ratio: 1242 / 1660; object-fit: cover; }
.posters:hover .poster-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── About ───────── */
.about { padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--mist) 0%, var(--stone) 55%, var(--taupe) 140%); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-text .eyebrow { color: var(--ink-2); }
.about-text p { max-width: 32em; }
.about-text .display { margin-bottom: 32px; }
.about-en { margin: 36px 0; padding: 28px 0; border-top: 1px solid rgba(29,26,24,.2); border-bottom: 1px solid rgba(29,26,24,.2); font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.about-en p:last-child { margin: 0; }
.signature { font-family: var(--serif-zh); letter-spacing: .14em; color: var(--ink); }

/* ───────── Service ───────── */
.service { padding: clamp(96px, 12vw, 160px) 0; }
.service-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.service-facts { display: grid; gap: 28px; }
.fact { display: flex; align-items: baseline; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.fact b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; min-width: 2.2em; }
.fact span { font-size: 13px; letter-spacing: .14em; color: var(--ink-2); }
.acc-item { border-top: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; text-align: left; font-family: var(--serif-zh); font-size: 17px; letter-spacing: .1em; }
.acc-btn::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 22px; transition: transform .35s var(--ease); }
.acc-item.open .acc-btn::after { transform: rotate(45deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; color: var(--ink-2); font-size: 14px; }
.acc-panel ul { margin: 0 0 24px; padding-left: 18px; }
.acc-panel li { margin-bottom: 6px; }
.acc-panel p { margin-bottom: 14px; }

/* ───────── Footer ───────── */
.site-footer { background: var(--ink); color: rgba(247,244,240,.72); padding: 88px 0 32px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; }
.footer-logo { height: 26px; width: auto; margin-bottom: 20px; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 15px; max-width: 18em; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: var(--white); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 8px; }
.footer-col a:hover { color: var(--white); }
.nl-row { display: flex; border-bottom: 1px solid rgba(247,244,240,.35); }
.nl-row input { flex: 1; min-width: 0; background: none; border: 0; color: var(--white); font: inherit; padding: 10px 0; outline: none; }
.nl-row button { color: var(--white); font-size: 18px; padding: 0 4px; }
.nl-msg { min-height: 1.4em; font-size: 12px; color: var(--stone); margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(247,244,240,.12); font-size: 11px; letter-spacing: .16em; }

/* ───────── Overlay / modals ───────── */
.overlay { position: fixed; inset: 0; background: rgba(29,26,24,.42); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .4s; }
.overlay.show { opacity: 1; pointer-events: auto; }
dialog { border: 0; padding: 0; color: var(--ink); background: var(--paper); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(29,26,24,.42); }
.close-btn { position: absolute; top: 14px; right: 18px; font-size: 28px; font-weight: 300; line-height: 1; width: 40px; height: 40px; z-index: 3; border-radius: 50%; background: rgba(247,244,240,.85); }

.product-modal { width: 100vw; height: 100vh; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; overflow: auto; overscroll-behavior: contain; }
.product-modal > .close-btn { position: fixed; top: 18px; right: 22px; }
.product-modal .pm-grid { max-width: 1320px; margin: 0 auto; align-items: start; }
.product-modal .pm-gallery { position: sticky; top: 0; }
.product-modal .pm-main { max-height: calc(100dvh - 90px); }
.pm-info { padding-top: clamp(48px, 8vh, 96px); }
.pm-assure { list-style: none; padding: 0; margin: 4px 0 28px; font-size: 12px; letter-spacing: .06em; color: var(--ink-2); }
.pm-assure li { padding: 7px 0 7px 22px; position: relative; }
.pm-assure li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 9px; height: 5px; border-left: 1px solid var(--clay); border-bottom: 1px solid var(--clay); transform: rotate(-45deg); }
.pm-more-link { display: inline-block; font-size: 12px; letter-spacing: .14em; color: var(--clay); border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.pm-more { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 120px) var(--gutter) 80px; }
.pm-sec { max-width: 980px; margin: 0 auto clamp(72px, 9vw, 120px); }
.pm-sec-head { text-align: center; margin-bottom: 48px; }
.pm-sec-head p { font-size: 11px; letter-spacing: .3em; color: var(--ink-3); margin: 0 0 6px; }
.pm-sec-head h4 { font-family: var(--serif-zh); font-size: 24px; letter-spacing: .16em; }
html[lang="en"] .pm-sec-head h4 { font-family: var(--serif); letter-spacing: .02em; }
.pm-long { max-width: 44em; margin: 0 auto 56px; color: var(--ink-2); text-align: center; }
.pm-info-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pm-info-grid.single { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }

.dim { padding: 34px 64px 44px 0; }
.dim-stage { position: relative; }
.dim-stage img { width: 100%; aspect-ratio: 1135 / 1182; object-fit: cover; mix-blend-mode: multiply; filter: brightness(1.06); }
.dim-h, .dim-v { position: absolute; font-size: 11px; letter-spacing: .08em; color: var(--ink-3); }
.dim-h { height: 1px; background: var(--ink-3); }
.dim-h::before, .dim-h::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--ink-3); }
.dim-h::before { left: 0; } .dim-h::after { right: 0; }
.dim-h b { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); font-weight: 400; white-space: nowrap; }
.dim-h.below b { bottom: auto; top: 6px; }
.dim-v { right: -28px; width: 1px; background: var(--ink-3); }
.dim-v::before, .dim-v::after { content: ""; position: absolute; left: -4px; width: 9px; height: 1px; background: var(--ink-3); }
.dim-v::before { top: 0; } .dim-v::after { bottom: 0; }
.dim-v b { position: absolute; top: 50%; left: 10px; transform: translateY(-50%); font-weight: 400; white-space: nowrap; }

.spec { margin: 0; font-size: 13px; }
.spec > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec > div:first-child { border-top: 1px solid var(--line); }
.spec dt { color: var(--ink-3); letter-spacing: .06em; }
.spec dt i { font-style: normal; margin: 0 8px; opacity: .5; }
.spec dd { margin: 0; text-align: right; }

.pm-details-list { display: grid; gap: clamp(40px, 6vw, 72px); }
.pd-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.pd-row.flip figure { order: 2; }
.pd-row img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pd-row p { margin: 0; color: var(--ink-2); font-family: var(--serif-zh); font-size: 16px; line-height: 2; letter-spacing: .06em; }
.pd-row p span { display: block; font-family: var(--serif); font-size: 13px; color: var(--taupe); margin-bottom: 12px; letter-spacing: .2em; }

.terms { background: var(--paper-2); padding: clamp(28px, 5vw, 56px); }
.term { display: grid; grid-template-columns: 11em 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.term:last-child { border-bottom: 0; }
.term h5 { margin: 0; font-weight: 400; font-size: 13px; letter-spacing: .08em; color: var(--ink); }
.term > div { color: var(--ink-2); }
.term ul { margin: 0 0 10px; padding-left: 16px; }
.term p { margin: 0 0 10px; }
.pm-ornament { color: var(--taupe); display: flex; justify-content: center; }
html[lang="en"] .hero-zh { display: none; }
.hero-zh { font-family: var(--serif-zh); font-size: clamp(16px, 1.6vw, 20px); letter-spacing: .4em; color: rgba(247,244,240,.92); margin: -8px 0 18px; }
.product-modal[open] { animation: modalIn .5s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px); } }
.pm-grid { display: grid; grid-template-columns: 1.05fr 1fr; }
.pm-gallery { background: var(--stone); }
.pm-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pm-thumbs { display: flex; gap: 8px; padding: 10px; background: var(--paper-2); }
.pm-thumbs button { width: 64px; aspect-ratio: 4 / 5; overflow: hidden; opacity: .55; outline: 1px solid transparent; transition: opacity .3s; }
.pm-thumbs button.active, .pm-thumbs button:hover { opacity: 1; outline-color: var(--ink); }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm-info { padding: clamp(32px, 4vw, 56px); }
.pm-title { font-family: var(--serif); font-size: 44px; line-height: 1.05; }
.pm-title span { display: block; font-family: var(--serif-zh); font-size: 15px; letter-spacing: .3em; color: var(--ink-2); margin-top: 8px; }
.pm-price { font-size: 18px; margin: 18px 0 24px; }
.pm-desc { color: var(--ink-2); }
.pm-points { list-style: none; padding: 0; margin: 0 0 28px; font-size: 13px; color: var(--ink-2); }
.pm-points li { padding: 8px 0 8px 20px; border-bottom: 1px solid var(--line); position: relative; }
.pm-points li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 1px; background: var(--clay); }
.pm-option { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.pm-label { font-size: 11px; letter-spacing: .24em; color: var(--ink-3); width: 56px; }
.pm-colors { display: flex; gap: 10px; flex-wrap: wrap; }
.pm-colors button { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .1em; padding: 6px 14px 6px 8px; border: 1px solid var(--line); transition: border-color .3s; }
.pm-colors button i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); }
.pm-colors button.active { border-color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 36px; height: 36px; font-size: 16px; }
.qty span { min-width: 28px; text-align: center; font-size: 14px; }
.pm-details { border-top: 1px solid var(--line); margin-top: 0; }
.pm-info .btn-block { margin: 8px 0 28px; }
.pm-details:last-child { border-bottom: 1px solid var(--line); }
.pm-details summary { cursor: pointer; list-style: none; padding: 16px 0; font-size: 13px; letter-spacing: .14em; display: flex; justify-content: space-between; }
.pm-details summary::-webkit-details-marker { display: none; }
.pm-details summary::after { content: "+"; }
.pm-details[open] summary::after { content: "−"; }
.pm-details p { font-size: 13px; color: var(--ink-2); }

/* Cart drawer */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 90;
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,.08);
}
.cart-drawer.open { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 26px 28px; border-bottom: 1px solid var(--line); position: relative; }
.cart-head h3 { font-family: var(--serif-zh); font-size: 18px; letter-spacing: .16em; }
.cart-head .close-btn { position: static; }
.cart-items { flex: 1; overflow: auto; padding: 8px 28px; }
.cart-empty { text-align: center; color: var(--ink-3); padding: 80px 0; }
.cart-empty .btn { margin-top: 20px; }
.ci { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ci img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; }
.ci-name { font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.ci-var { font-size: 12px; color: var(--ink-3); margin: 4px 0 12px; letter-spacing: .08em; }
.ci .qty button { width: 28px; height: 28px; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-size: 14px; }
.ci-remove { font-size: 11px; color: var(--ink-3); letter-spacing: .12em; border-bottom: 1px solid currentColor; }
.cart-foot { padding: 22px 28px 28px; border-top: 1px solid var(--line); }
.cart-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.cart-row.muted { color: var(--ink-3); font-size: 13px; }
.cart-row.total { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; font-size: 16px; }
.cart-foot .btn { margin-top: 10px; }
.cart-hint { text-align: center; font-size: 11px; letter-spacing: .12em; color: var(--ink-3); margin: 14px 0 0; }

/* Checkout */
.checkout-modal { width: min(1000px, 94vw); max-height: 92vh; overflow: auto; }
.checkout-modal[open] { animation: modalIn .5s var(--ease); }
.co-grid { display: grid; grid-template-columns: 1.4fr 1fr; }
.co-form { padding: clamp(28px, 4vw, 52px); }
.co-form h3 { font-family: var(--serif-zh); font-size: 26px; letter-spacing: .16em; margin-bottom: 24px; }
.co-step { font-size: 11px; letter-spacing: .26em; color: var(--ink-3); text-transform: uppercase; margin: 22px 0 14px; }
.co-form label { display: block; margin-bottom: 14px; }
.co-form label > span { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 6px; letter-spacing: .08em; }
.co-form input:not([type=radio]):not([type=checkbox]) { width: 100%; height: 46px; border: 1px solid var(--line); background: var(--white); padding: 0 14px; font: inherit; font-size: 14px; color: var(--ink); outline: none; transition: border-color .3s; border-radius: 0; }
.co-form input:focus { border-color: var(--ink); }
.co-form input.invalid { border-color: #a5523f; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row.three { grid-template-columns: 1.3fr 1fr 1fr; }
.co-form select { width: 100%; height: 46px; border: 1px solid var(--line); background: var(--white); padding: 0 12px; font: inherit; font-size: 14px; color: var(--ink); border-radius: 0; outline: none; -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(-45deg, transparent 50%, var(--ink-2) 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }
.co-form select:focus { border-color: var(--ink); }
.co-form select.invalid { border-color: #a5523f; }
.co-ship-note { font-size: 11px; color: var(--ink-3); letter-spacing: .04em; margin: -4px 0 10px; }
.pay-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.co-form .pay { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 12px; margin: 0; font-size: 13px; cursor: pointer; }
.co-form .pay:has(input:checked) { border-color: var(--ink); }
.co-form .pay span { margin: 0; color: var(--ink); display: inline; }
.pay input { accent-color: var(--ink); }
.pay-note { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); padding: 14px 16px; margin-bottom: 18px; font-size: 12px; line-height: 1.8; color: var(--ink-2); }
.pay-note svg { flex: none; margin-top: 2px; color: var(--clay); }
.btn.loading { pointer-events: none; opacity: .7; }
.co-form .agree { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.7; }
.co-form .agree span { display: inline; margin: 0; }
.agree input { margin-top: 4px; accent-color: var(--ink); }
.co-error { color: #a5523f; font-size: 12px; min-height: 1.4em; margin: 6px 0 10px; }
.co-summary { background: var(--paper-2); padding: clamp(28px, 4vw, 52px) clamp(24px, 3vw, 40px); }
.co-summary .co-step { margin-top: 62px; }
.co-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; margin-bottom: 16px; font-size: 13px; }
.co-line img { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; }
.co-line small { display: block; color: var(--ink-3); }
.co-done { padding: 80px 40px; text-align: center; }
.co-done img { margin: 0 auto 24px; border-radius: 50%; }
.co-done h3 { font-family: var(--serif-zh); font-size: 28px; letter-spacing: .16em; margin-bottom: 16px; }
.co-done p { color: var(--ink-2); max-width: 30em; margin: 0 auto 32px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 120; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--white); padding: 14px 26px; font-size: 13px; letter-spacing: .1em; transition: all .45s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-content > * { opacity: 1; transform: none; }
}

/* English mode tweaks */
html[lang="en"] .display { font-family: var(--serif); letter-spacing: 0; }
html[lang="en"] .display-sub { display: none; }
html[lang="en"] .philo-text .display { margin-bottom: 36px; }
html[lang="en"] .pillar h3, html[lang="en"] .acc-btn, html[lang="en"] .signature { font-family: var(--serif); letter-spacing: .02em; }

/* ───────── Responsive ───────── */
@media (max-width: 1024px) {
  .nav a { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .brand { justify-self: center; }
  .nav-left { display: none; }
  .nav-right { gap: 20px; }
  .mobile-menu {
    display: flex; flex-direction: column; gap: 4px; padding: 0 var(--gutter);
    max-height: 0; overflow: hidden; transition: max-height .5s var(--ease), padding .5s;
    background: var(--paper); color: var(--ink);
  }
  .mobile-menu a { font-family: var(--serif-zh); font-size: 20px; letter-spacing: .14em; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .menu-open .mobile-menu { max-height: 420px; padding: 12px var(--gutter) 28px; }
  .menu-open.site-header { background: var(--paper); color: var(--ink); }
  .menu-open .logo-dark { display: block; }
  .menu-open .logo-light { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .philo-grid, .about-grid, .service-grid, .pm-grid, .co-grid { grid-template-columns: 1fr; }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-img { order: 0; }
  .feature-text { padding: 36px var(--gutter) 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 32px 0 8px; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .spectrum { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .spectrum-line { grid-column: 1 / -1; grid-row: 1; }
  .spectrum-end.right { text-align: right; }
  .shop .section-head { grid-template-columns: 1fr; }
  .co-summary .co-step { margin-top: 0; }
  .co-summary { order: -1; }
  .product-modal, .checkout-modal { width: 100vw; max-height: 100vh; height: 100%; margin: 0; }
  .product-modal .pm-gallery { position: static; }
  .pm-info { padding-top: 32px; }
  .pm-info-grid, .pd-row { grid-template-columns: 1fr; }
  .pd-row.flip figure { order: 0; }
  .dim { padding: 30px 84px 40px 0; max-width: 440px; }
  .spec > div { grid-template-columns: 1fr; gap: 2px; }
  .spec dd { text-align: left; }
  .term { grid-template-columns: 1fr; gap: 8px; }
  .hero-shade { background: linear-gradient(0deg, rgba(20,18,16,.7) 0%, rgba(20,18,16,.15) 60%, rgba(20,18,16,0) 100%); }
  .hero-img { object-position: 60% 50%; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .brand img { height: 18px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .card-name { font-size: 17px; }
  .card-body { flex-direction: column; gap: 4px; }
  .card-quick { display: none; }
  .field-row, .pay-opts { grid-template-columns: 1fr; }
  .field-row.three { grid-template-columns: 1fr 1fr; }
  .field-row.three label:first-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .fact b { font-size: 36px; }
  .lang-toggle { padding: 2px 6px; }
}
