/* ---------- tokens (DESIGN.md §2, §6) ---------- */
:root {
  --ink: #0a0a0a; --text: #1a1a1a; --muted: #4a4a4a;
  --line: #e3e1dc; --line-strong: #8a8a8a; --soft: #f6f5f3; --white: #fff;
  --ease: cubic-bezier(.16,1,.3,1); --ease-in-out: cubic-bezier(.65,0,.35,1);
  --t-fast: 300ms; --t-mid: 700ms; --t-slow: 1400ms;
  --w-muted: 300; --w-body: 400; --w-label: 600; --w-heading: 700;
  color-scheme: light; font-size: 16px;
  font-family: "Chiron Hei HK", "PingFang TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
}
@view-transition { navigation: auto; }

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--text); background: var(--white); font-size: 16px; font-weight: var(--w-body); line-height: 1.8; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 18px; height: 18px; flex-shrink: 0; stroke-width: 1.5; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .drawer-header h2, .drawer-subtitle { text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
h1, h2, h3 { font-weight: var(--w-label); }
.about h2, .drawer-header h2, .faq-page h1 { font-weight: var(--w-heading); }
/* Short marketing copy: keep-all stops Chinese clauses from splitting mid-phrase. */
.hero-description, .about-description, .atelier-copy p, .contact-copy p, .service-text,
.collection-hover p, .drawer-description, .member-panel p, .form-status, .faq-item summary {
  word-break: keep-all; overflow-wrap: anywhere; line-break: strict;
}
.about-description, .collection-hover p, .atelier-copy p { text-wrap: balance; }
.hero-description, .contact-copy p, .service-text, .drawer-description, .member-panel p { text-wrap: pretty; }
.faq-item p { text-wrap: pretty; line-break: strict; }
/* Controls and labels never wrap. */
.button, .text-link, .footer-nav a, .eyebrow, .store-note, .store-name,
.select-trigger, .select-option, .hero-counter, .toggle-button { white-space: nowrap; }
p { font-size: 16px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- type scale (DESIGN.md §3) ---------- */
.eyebrow { margin-bottom: 16px; font-size: 12px; font-weight: var(--w-label); line-height: 1; letter-spacing: .24em; text-transform: uppercase; }
.hero h1 { margin-bottom: 20px; font-size: clamp(36px,4.6vw,64px); font-weight: var(--w-heading); line-height: 1.15; letter-spacing: .02em; }
h2 { font-size: clamp(28px,3.2vw,48px); font-weight: var(--w-heading); line-height: 1.3; letter-spacing: .04em; }
.about h2 { font-size: clamp(30px,3.8vw,56px); line-height: 1.35; }
/* The mask is padded so descenders (g, p, y) survive the overflow clip. */
.line-mask { display: block; overflow: hidden; padding-block: .12em .22em; margin-block: -.12em -.22em; }
.line-mask > span { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 20; transform: translateY(-160%); background: var(--ink); color: var(--white); padding: 12px 16px; font-size: 14px; font-weight: var(--w-label); letter-spacing: .14em; }
.skip-link:focus { transform: none; }

/* ---------- buttons and links (pills; DESIGN.md §5) ---------- */
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; min-height: 52px; padding: 0 30px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: var(--w-label); letter-spacing: .14em; line-height: 1.3; overflow: hidden; isolation: isolate; transition: color var(--t-mid) var(--ease), transform var(--t-fast) var(--ease), border-color var(--t-mid) var(--ease); }
.button::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--white); transform: scaleY(0); transform-origin: bottom; transition: transform var(--t-mid) var(--ease); }
.button:hover, .button:focus-visible { color: var(--ink); }
.button:hover::before, .button:focus-visible::before { transform: scaleY(1); }
.button:active { transform: scale(.98); }
.button:disabled { cursor: default; opacity: .45; }
.button--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.button--light::before { background: var(--ink); }
.button--light:hover, .button--light:focus-visible { color: var(--white); }
.button--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.button--ghost::before { background: var(--ink); }
.button--ghost:hover, .button--ghost:focus-visible { color: var(--white); border-color: var(--ink); }
.button svg { transition: transform var(--t-mid) var(--ease); }
.button:hover svg { transform: translate(2px,-2px); }
.text-link { position: relative; display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; border: 0; padding: 4px 0; background: transparent; color: inherit; font-size: 14px; font-weight: var(--w-label); letter-spacing: .14em; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t-mid) var(--ease); }
.text-link:hover::after, .text-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.text-link svg { transition: transform var(--t-mid) var(--ease); }
.text-link:hover svg { transform: translate(2px,-2px); }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 999px; padding: 0; color: inherit; background: transparent; transition: background-color 600ms var(--ease); }
.icon-button svg { transition: transform 600ms var(--ease); }
.icon-button:hover { background: rgba(10,10,10,.06); }
.icon-button:hover svg { transform: scale(1.08); }
.icon-button.on-dark:hover { background: rgba(255,255,255,.14); }
.round-button { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 0; background: transparent; color: var(--white); transition: background-color 600ms var(--ease), color 600ms var(--ease), opacity 600ms var(--ease); }
.round-button:hover:not(:disabled), .round-button:focus-visible { background: var(--white); color: var(--ink); }
.round-button:disabled { opacity: .3; cursor: default; }

/* ---------- tooltip (one shared, JS-positioned bubble) ---------- */
/* The bubble pops UPWARD into place: it starts 8px low and slightly small, then
   settles with a soft overshoot. left/top are never transitioned — JS measures,
   writes the final position, forces a reflow and only then adds .is-visible.
   --shift is the resting offset: above a control the bubble hangs off its own
   height, below one it sits at the written position. */
.tip { --shift: -100%; position: fixed; left: 0; top: 0; z-index: 100; padding: 8px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: var(--w-label); letter-spacing: .08em; line-height: 1; white-space: nowrap; pointer-events: none; transform-origin: 50% 100%; opacity: 0; transform: translate(-50%,calc(var(--shift) + 8px)) scale(.96); transition: opacity 180ms ease; }
.tip.is-visible { opacity: 1; transform: translate(-50%,var(--shift)) scale(1); transition: opacity 300ms ease, transform 450ms cubic-bezier(.34,1.4,.64,1); transition-delay: 120ms; }
.tip.is-below { --shift: 0%; }
.tip.is-measuring { transform: none; transition: none; }

/* ---------- header: wordmark, preferences, actions ---------- */
/* Solid white: the logo jpg has a white ground and read as a box over a translucent bar. */
.header { position: fixed; inset: 0 0 auto; z-index: 10; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 10px 32px; border-bottom: 1px solid var(--line); background: var(--white); animation: header-in 1200ms var(--ease) both; transition: transform var(--t-mid) var(--ease); }
.header.is-hidden { transform: translateY(-100%); }
@keyframes header-in { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
.wordmark { display: grid; grid-template-columns: auto minmax(0,1fr); column-gap: 12px; row-gap: 3px; align-content: center; align-self: start; width: fit-content; max-width: 100%; color: var(--ink); line-height: 1.2; }
.brand-logo { grid-column: 1; grid-row: 1 / 3; width: 52px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.wordmark span { align-self: end; font-size: 18px; font-weight: var(--w-heading); letter-spacing: .08em; }
.wordmark small { align-self: start; font-size: 11px; font-weight: var(--w-label); letter-spacing: .4em; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.toggle { position: relative; }
.toggle-button { appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; gap: 8px; width: auto; height: 40px; padding: 0 10px; margin: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: var(--w-label); letter-spacing: .08em; font-variant-numeric: tabular-nums; transition: background-color 600ms var(--ease); }
.toggle-button:hover { background: rgba(10,10,10,.05); }
.toggle-button > svg { width: 16px; height: 16px; }
/* Every option is stacked in one grid cell, so the slot is as wide as the widest
   label and the button never reflows when the value changes. */
.toggle-slot { display: grid; overflow: hidden; line-height: 1.6; padding-block: .12em .22em; margin-block: -.12em -.22em; }
.toggle-option { grid-area: 1 / 1; visibility: hidden; }
.toggle-option.is-current { visibility: visible; animation: toggle-swap 600ms var(--ease) both; }
@keyframes toggle-swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.menu-button svg line { transform-origin: center; transition: transform 600ms var(--ease); }
.menu-button:hover svg line:nth-child(1) { transform: translateX(-2px); }
.menu-button:hover svg line:nth-child(2) { transform: translateX(2px); transition-delay: 60ms; }
.menu-button:hover svg line:nth-child(3) { transform: translateX(-2px); transition-delay: 120ms; }

/* ---------- custom select (DESIGN.md §5) ---------- */
.select { position: relative; }
.select.is-open { z-index: 20; }
.select-native { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.select-trigger { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 0; background: transparent; color: var(--ink); font-size: 14px; font-weight: var(--w-label); letter-spacing: .08em; font-variant-numeric: tabular-nums; transition: background-color 600ms var(--ease); }
.select-value { flex: 1; min-width: 0; text-align: left; }
.select-trigger:hover { background: rgba(10,10,10,.05); }
.select-trigger svg:first-child { width: 16px; height: 16px; }
.select-trigger svg:last-child { width: 14px; height: 14px; transition: transform 600ms var(--ease); }
.select.is-open .select-trigger svg:last-child { transform: rotate(180deg); }
.select-list { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: 100%; min-width: 0; margin: 0; padding: 6px 0; list-style: none; background: var(--white); border: 1px solid var(--line); opacity: 0; transform: translateY(-8px); clip-path: inset(0 0 100% 0); pointer-events: none; transition: opacity 350ms var(--ease), transform 350ms var(--ease), clip-path 350ms var(--ease); }
.select.is-open .select-list { opacity: 1; transform: none; clip-path: inset(0); pointer-events: auto; transition-duration: 600ms; }
.select-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: var(--w-label); letter-spacing: .04em; white-space: nowrap; font-variant-numeric: tabular-nums; cursor: pointer; opacity: 0; transition: opacity 500ms var(--ease), background-color 500ms var(--ease); }
.select-option > span { flex: 1; min-width: 0; text-align: left; }
.select.is-open .select-option { opacity: 1; transition-delay: calc(var(--i,0) * 40ms); }
.select-option:hover, .select-option.is-active { background: var(--soft); }
/* The check keeps its slot on every row so nothing shifts between rows or states. */
.select-option svg { width: 16px; height: 16px; flex: 0 0 16px; opacity: 0; }
.select-option[aria-selected="true"] svg { opacity: 1; }

/* ---------- hero ---------- */
.hero { position: relative; height: 84svh; min-height: 580px; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-slides, .hero-slide, .hero-slide img, .hero-shade { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transform: scale(1.1); transition: opacity 1800ms var(--ease-in-out), transform 9000ms ease-out; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { background: linear-gradient(90deg,rgba(0,0,0,.66),rgba(0,0,0,.2) 58%,transparent 80%), linear-gradient(0deg,rgba(0,0,0,.8),rgba(0,0,0,.25) 42%,transparent 66%); }
.hero-copy { position: absolute; left: clamp(24px,6vw,96px); right: 24px; bottom: 120px; max-width: 600px; display: grid; justify-items: start; text-align: left; }
.hero-copy > * { max-width: 100%; }
.hero-description { max-width: 560px; margin: 0 0 28px; font-size: 18px; line-height: 1.7; }
.hero-copy.is-leaving > * { opacity: 0; transform: translateY(-16px); transition: opacity 450ms var(--ease-in-out), transform 450ms var(--ease-in-out); }
.hero-copy.is-entering > *:not(h1) { animation: rise 1300ms var(--ease) both; }
.hero-copy.is-entering > *:nth-child(1) { animation-delay: 0ms; }
.hero-copy.is-entering > *:nth-child(3) { animation-delay: 240ms; }
.hero-copy.is-entering > *:nth-child(4) { animation-delay: 360ms; }
.hero-copy.is-entering > h1 > span { animation: line-rise 1300ms var(--ease) both; animation-delay: 120ms; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes line-rise { from { transform: translateY(105%); } to { transform: none; } }
.hero-controls { position: absolute; left: clamp(24px,6vw,96px); bottom: 28px; display: flex; align-items: center; justify-content: start; gap: 6px; }
.hero-dots { display: flex; align-items: center; gap: 6px; padding-inline: 6px; }
.hero-dot { position: relative; width: 44px; height: 44px; border: 0; border-radius: 999px; padding: 0; background: transparent; }
.hero-dot::before { content: ""; position: absolute; left: 2px; top: calc(50% - 1px); width: 40px; height: 2px; background: rgba(255,255,255,.35); }
.hero-dot-fill { position: absolute; left: 2px; top: calc(50% - 1px); width: 40px; height: 2px; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active .hero-dot-fill { animation: hero-progress 7000ms linear forwards; }
.hero.is-paused .hero-dot-fill, .hero:hover .hero-dot-fill { animation-play-state: paused; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-counter { margin-left: 12px; font-size: 13px; font-weight: var(--w-label); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.hero-cue { position: absolute; right: clamp(20px,5vw,72px); bottom: 32px; display: grid; justify-items: center; gap: 12px; min-width: 44px; min-height: 44px; color: var(--white); }
.hero-cue svg { width: 18px; height: 18px; }
.hero-cue-line { position: relative; width: 1px; height: 56px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero-cue-line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 18px; background: var(--white); animation: drip 2400ms var(--ease-in-out) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(340%); } }

/* ---------- section rhythm (DESIGN.md §4) ---------- */
.section-space { padding: 128px clamp(20px,5vw,72px); }
.section-heading { display: grid; justify-items: center; margin-bottom: 48px; text-align: center; }
.section-heading h2 { margin: 0; }

/* ---------- collections ---------- */
.collections { padding: 0; }
.collections > .section-heading { margin: 0; padding: 96px clamp(20px,5vw,72px) 48px; }
.collections .eyebrow { margin-bottom: 14px; }
.collection-grid { width: 100%; }
.collection-featured, .collection-square { display: grid; gap: 0; }
.collection-featured { grid-template-columns: repeat(5,minmax(0,1fr)); }
.collection-square { grid-template-columns: repeat(3,minmax(0,1fr)); }
.collection { position: relative; min-width: 0; overflow: hidden; background: transparent; isolation: isolate; }
.collection--featured { aspect-ratio: 3 / 5; min-height: 440px; }
.collection--square { aspect-ratio: 1 / 1; }
.collection-media { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform 1800ms var(--ease); }
.collection-mask { position: absolute; inset: auto 0 0; display: grid; justify-items: center; gap: 12px; padding: 88px 16px 30px; color: var(--white); background: linear-gradient(transparent,rgba(0,0,0,.85)); text-align: center; }
.collection-mask svg { width: 22px; height: 22px; }
.collection h3 { margin: 0; font-size: 20px; font-weight: var(--w-label); line-height: 1.4; letter-spacing: .06em; }
.collection--square h3 { font-size: 24px; }
.collection-disclosure { position: absolute; top: 10px; right: 10px; z-index: 3; color: var(--white); }
.collection-disclosure svg { transition: transform 600ms var(--ease); }
.collection-disclosure[aria-expanded="true"] svg { transform: rotate(45deg); }
.collection-hover { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: 18px; padding: 56px 20px; text-align: center; color: var(--ink); background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); visibility: hidden; opacity: 0; overflow-y: auto; transition: opacity 900ms var(--ease), visibility 900ms; }
.collection-hover > * { flex-shrink: 0; opacity: 0; transform: translateY(20px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.collection-hover > :nth-child(2) { transition-delay: 80ms; }
.collection-hover > :nth-child(3) { transition-delay: 160ms; }
.collection-hover > :nth-child(4) { transition-delay: 240ms; }
.collection-hover > svg { width: 32px; height: 32px; stroke-width: 1.25; }
.collection-hover p { max-width: 340px; margin: 0; font-size: 15px; font-weight: var(--w-muted); color: var(--muted); }
.collection.is-expanded .collection-hover, .collection:not(.is-dismissed):focus-within .collection-hover { visibility: visible; opacity: 1; }
.collection.is-expanded .collection-hover > *, .collection:not(.is-dismissed):focus-within .collection-hover > * { opacity: 1; transform: none; }
.collection.is-expanded .collection-disclosure, .collection:not(.is-dismissed):focus-within .collection-disclosure { color: var(--ink); }
@media (hover: hover) {
  .collection:hover img { transform: scale(1.07); }
  .collection:not(.is-dismissed):hover .collection-hover { visibility: visible; opacity: 1; }
  .collection:not(.is-dismissed):hover .collection-hover > * { opacity: 1; transform: none; }
  .collection:not(.is-dismissed):hover .collection-disclosure { color: var(--ink); }
}

/* ---------- atelier band ---------- */
.atelier { position: relative; min-height: 640px; display: grid; align-items: center; color: var(--white); overflow: hidden; }
.atelier-media { position: absolute; inset: 0; overflow: hidden; }
.atelier .cover { width: 100%; height: 100%; object-fit: cover; }
.atelier::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(0,0,0,.6),rgba(0,0,0,.24)); }
.atelier-copy { position: relative; z-index: 1; display: grid; justify-items: center; max-width: 680px; margin-inline: auto; padding: 128px clamp(20px,5vw,72px); text-align: center; }
.atelier h2 { margin-bottom: 20px; }
.atelier p:not(.eyebrow) { margin-bottom: 28px; color: rgba(255,255,255,.88); font-weight: var(--w-muted); }
@supports (animation-timeline: view()) {
  .atelier .cover { position: relative; top: -12%; height: 124%; animation: band-parallax linear both; animation-timeline: view(); }
}
@keyframes band-parallax { from { transform: translateY(-8%); } to { transform: translateY(8%); } }

/* ---------- about + services ---------- */
.about { max-width: 1360px; margin-inline: auto; text-align: center; }
.about-copy { display: grid; justify-items: center; max-width: 780px; margin-inline: auto; }
.about-description { margin: 28px auto 0; max-width: 760px; color: var(--muted); font-weight: var(--w-muted); }
.service-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 96px; border-top: 1px solid var(--line); text-align: left; }
.service { padding: 48px clamp(12px,2.8vw - 16px,28px); border-left: 1px solid var(--line); }
.service:nth-child(4n + 1) { border-left: 0; }
.service:nth-child(n + 5) { border-top: 1px solid var(--line); }
.service > svg { width: 36px; height: 36px; stroke-width: 1.25; margin-bottom: 24px; transition: transform 600ms var(--ease); }
.service:hover > svg { transform: translateY(-4px); }
.service-title { margin: 0 0 10px; font-size: 18px; font-weight: var(--w-label); letter-spacing: .06em; }
.service-text { margin: 0; font-size: clamp(12px,1.05vw + 1.5px,15px); font-weight: var(--w-muted); color: var(--muted); }
/* Each authored line is its own block, so neither of the two ever wraps. */
.service-line { display: block; }

/* ---------- contact ---------- */
.contact-band { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(36px,7vw,96px); align-items: start; background: var(--soft); }
.contact-copy { display: grid; justify-items: start; max-width: 480px; }
.contact-copy p:not(.eyebrow) { margin: 24px 0 32px; color: var(--muted); font-weight: var(--w-muted); }
.inquiry-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; width: 100%; }
.inquiry-form h3, .inquiry-form .wide { grid-column: 1 / -1; }
.inquiry-form h3 { margin: 0; font-size: 22px; font-weight: var(--w-label); letter-spacing: .06em; }
.inquiry-form label { display: grid; gap: 8px; min-width: 0; }
.inquiry-form label > span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; font-weight: var(--w-label); letter-spacing: .1em; }
.inquiry-form label em { font-style: normal; }
.inquiry-form label svg { width: 14px; height: 14px; }
.inquiry-form input, .inquiry-form textarea { width: 100%; min-height: 48px; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: 10px 0; color: var(--text); font-weight: var(--w-body); background-color: transparent; background-image: linear-gradient(var(--ink),var(--ink)); background-size: 0 2px; background-position: left bottom; background-repeat: no-repeat; transition: background-size var(--t-mid) var(--ease); }
/* The drawn 2px underline is the visible focus indicator for these fields. */
.inquiry-form input:focus, .inquiry-form textarea:focus { outline: none; background-size: 100% 2px; }
.inquiry-form textarea { min-height: 120px; resize: vertical; }
.inquiry-form .select-trigger { justify-content: space-between; width: 100%; min-height: 48px; padding: 10px 0; border-bottom: 1px solid var(--line-strong); }
.inquiry-form .select-trigger:hover { background: transparent; }
/* Placeholders read as grey helper text, so they take the light weight. */
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder, .search-input::placeholder { color: var(--muted); font-weight: var(--w-muted); opacity: 1; }
.form-status { min-height: 22px; margin: 0; color: var(--muted); font-size: 15px; font-weight: var(--w-muted); overflow-wrap: anywhere; }
.form-status a { text-decoration: underline; }

/* ---------- social carousel (dark stage) ---------- */
.social-showcase { padding: 128px clamp(20px,5vw,72px); background: var(--ink); color: var(--white); }
.social-showcase > * { max-width: 1360px; margin-inline: auto; }
.social-heading { display: grid; justify-items: center; margin-bottom: 48px; text-align: center; }
.social-heading h2 { margin: 0; }
.social-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.social-track::-webkit-scrollbar { display: none; }
.social-card { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; scroll-snap-align: start; }
.social-frame { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border: 1px solid rgba(255,255,255,.16); background: #141414; overflow: hidden; }
.social-embed { position: relative; aspect-ratio: var(--ratio, 1 / 1); overflow: hidden; }
.social-embed[data-ratio="16 / 9"], .social-embed[data-ratio="1 / 1"] { width: 100%; }
.social-embed[data-ratio="9 / 16"] { height: 100%; }
.social-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.social-iframe { opacity: 0; transition: opacity 900ms var(--ease); }
.social-iframe.is-loaded { opacity: 1; }
/* ponytail: the Instagram embed page stacks a header above the square media and a footer below it.
   Both are cropped by pulling the iframe up by the header height and over-sizing it.
   54px is Instagram's header height, measured 2026-09-18; if Instagram changes that chrome,
   adjust the -54px offset (and the 260px footer allowance) here. */
.social-embed[data-platform="instagram"] iframe { top: -54px; bottom: auto; height: calc(100% + 54px + 260px); }
.social-placeholder { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: #141414; transition: opacity 900ms var(--ease); }
.social-placeholder.is-gone { opacity: 0; }
.social-placeholder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg,transparent 30%,rgba(255,255,255,.09) 50%,transparent 70%); transform: translateX(-100%); animation: shimmer 2600ms var(--ease-in-out) infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.social-placeholder-icon { width: 28px; height: 28px; opacity: .45; }
.social-caption { display: grid; place-items: center; padding-top: 18px; }
.social-caption .social-icon { width: 18px; height: 18px; opacity: .85; }
.social-progress { position: relative; height: 1px; margin-top: 40px; background: rgba(255,255,255,.16); }
.social-progress-bar { position: absolute; inset: 0; background: var(--white); transform: scaleX(var(--progress,0)); transform-origin: left; transition: transform var(--t-fast) var(--ease); }
.social-showcase.is-auto .social-progress-bar { animation: hero-progress 7000ms linear infinite; }
.social-showcase.is-auto.is-paused .social-progress-bar { animation-play-state: paused; }

/* ---------- faq page ---------- */
.faq-page { min-height: 70svh; padding-top: 152px; max-width: 1000px; margin: auto; }
.faq-page > .text-link { margin-bottom: 44px; }
.faq-page h1 { font-size: clamp(28px,3.2vw,48px); line-height: 1.3; letter-spacing: .04em; margin-bottom: 40px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; cursor: pointer; font-size: 16px; font-weight: var(--w-body); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { transition: transform 600ms var(--ease); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item p { margin: 18px 0 0; max-width: 680px; color: var(--muted); font-weight: var(--w-muted); }
.faq-item[open] p { animation: faq-in 700ms var(--ease) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: hidden; transition: height 700ms var(--ease), content-visibility 700ms allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}
.faq-contact { margin-top: 32px; }

/* ---------- footer ---------- */
.footer { padding: 96px clamp(20px,5vw,72px) 32px; font-size: 14px; background: var(--soft); border-top: 1px solid var(--line); }
.footer > div { max-width: 1360px; margin-inline: auto; }
.footer h2 { margin: 0 0 20px; font-size: 12px; font-weight: var(--w-label); line-height: 1; letter-spacing: .24em; text-transform: uppercase; }
.footer-top { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand { display: grid; justify-items: start; gap: 14px; }
.footer-wordmark .brand-logo { width: 56px; height: 56px; }
.footer-wordmark span { font-size: 20px; }
.footer-tagline { margin: 0; font-size: 13px; font-weight: var(--w-muted); letter-spacing: .08em; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font-size: 14px; font-weight: var(--w-label); letter-spacing: .14em; }
.footer-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; }
.footer-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t-mid) var(--ease); }
.footer-nav a:hover::after, .footer-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.footer-main { display: block; }
.footer-row { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.footer-row:last-child { border-bottom: 0; }
.footer-row > h2 { margin: 0; }
.footer-row > .footer-links { justify-self: end; }

/* ---------- footer stores: one row, no boxes, no address ---------- */
#store-list { display: flex; flex-wrap: nowrap; align-items: center; gap: 56px; }
.store-card { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--text); }
.store-card > svg { width: 18px; height: 18px; transition: transform var(--t-mid) var(--ease); }
.store-card:hover > svg { transform: translateY(-2px); }
.store-head { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.store-head svg { width: 16px; height: 16px; transition: transform var(--t-mid) var(--ease); }
.store-card:hover .store-head svg { transform: translate(3px,-3px); }
.store-head::after { content: ""; position: absolute; left: 0; right: 22px; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t-mid) var(--ease); }
.store-card:hover .store-head::after, .store-card:focus-visible .store-head::after { transform: scaleX(1); transform-origin: left; }
.store-name { font-size: 16px; font-weight: var(--w-label); letter-spacing: .04em; color: var(--ink); }
.store-detail { display: inline-flex; align-items: center; gap: 12px; margin-left: 4px; }
.store-note { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: var(--w-label); letter-spacing: .04em; }
.store-note svg { width: 14px; height: 14px; }

/* ---------- social capsules (footer + drawer) ---------- */
#social-links { display: flex; flex-wrap: nowrap; gap: 12px; }
.social-row { display: flex; flex-wrap: wrap; gap: 12px; }
.social-link { position: relative; display: inline-flex; align-items: center; justify-content: center; column-gap: 8px; min-width: 48px; height: 48px; border: 1px solid rgba(10,10,10,.28); border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: var(--w-label); letter-spacing: .08em; background: linear-gradient(var(--ink),var(--ink)) no-repeat center bottom / 100% 0%; transition: transform var(--t-mid) var(--ease), color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), background-size var(--t-mid) var(--ease); }
/* The two YouTube capsules rest as circles; the channel label unrolls on hover.
   It stays in the DOM (width 0, not display:none) so screen readers keep it. */
.social-link--label { padding: 0; transition: transform var(--t-mid) var(--ease), color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), background-size var(--t-mid) var(--ease), padding 700ms var(--ease); }
.social-link--label > span { display: inline-block; max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width 700ms var(--ease), opacity 700ms var(--ease); }
.social-link--label:focus-visible { padding: 0 18px 0 16px; }
.social-link--label:focus-visible > span { max-width: 6em; opacity: 1; }
/* On touch there is no hover state to leave: the capsules stay circles. */
@media (hover: hover) {
  .social-link--label:hover { padding: 0 18px 0 16px; }
  .social-link--label:hover > span { max-width: 6em; opacity: 1; }
}
.social-link:hover, .social-link:focus-visible { color: var(--white); border-color: var(--ink); transform: translateY(-3px); background-size: 100% 100%; }
/* The mark is a line icon in currentColor, so the ink fill turns icon and label
   white together — nothing is inverted or recoloured on its own. */
.social-link .social-icon { width: 20px; height: 20px; flex: 0 0 auto; }
/* Right padding keeps the fixed back-to-top button clear of the locale text. */
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; max-width: 1360px; margin: 40px auto 0; padding: 0; color: var(--muted); font-weight: var(--w-muted); font-size: 13px; }

/* ---------- floating back to top ---------- */
.to-top { position: fixed; right: clamp(16px,3vw,32px); bottom: clamp(16px,3vw,32px); z-index: 8; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); background: linear-gradient(var(--ink),var(--ink)) no-repeat center bottom / 100% 0%, var(--white); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); transition: opacity 600ms var(--ease), transform 600ms var(--ease), visibility 600ms, color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), background-size var(--t-mid) var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.to-top.is-visible:hover, .to-top:focus-visible { color: var(--white); border-color: var(--ink); transform: translateY(-3px); background-size: 100% 100%; }

/* ---------- drawer ---------- */
.drawer { width: min(520px,100%); height: 100svh; max-height: none; margin: 0 0 0 auto; border: 0; padding: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; color: var(--text); background: var(--white); transform: translateX(100%); transition: transform 900ms var(--ease), overlay 900ms allow-discrete, display 900ms allow-discrete; }
.drawer[open] { transform: translateX(0); }
@starting-style { .drawer[open] { transform: translateX(100%); } }
.drawer::backdrop { background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; transition: opacity var(--t-mid) var(--ease), overlay var(--t-mid) allow-discrete, display var(--t-mid) allow-discrete; }
.drawer[open]::backdrop { opacity: 1; }
@starting-style { .drawer[open]::backdrop { opacity: 0; } }
/* Frosted bar: the panel scrolls underneath it, so the blur stays visible. */
.drawer-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 16px 24px; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
.drawer-header h2 { flex: 1; min-width: 0; }
.drawer-back[hidden] { display: none; }
.drawer-header h2 { margin: 0; font-size: 22px; letter-spacing: .06em; }
.drawer-content { display: grid; align-content: start; gap: 24px; padding: 24px; }
.drawer-content.has-media { padding-top: 0; }
.drawer-content.has-media > .drawer-image { width: calc(100% + 48px); max-width: none; margin-inline: -24px; }
.drawer-content.is-entering > * { animation: rise 900ms var(--ease) both; animation-delay: calc(var(--i,0) * 70ms); }
.drawer-content.is-entering > .curtain { animation: curtain 1200ms var(--ease) both; }
@keyframes curtain { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
.drawer-image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.drawer-subtitle { margin: 0; font-size: 20px; font-weight: var(--w-label); letter-spacing: .06em; }
.drawer-description { color: var(--muted); font-weight: var(--w-muted); }
.drawer-list, .drawer-secondary { display: grid; }
.drawer-list { border-top: 1px solid var(--line); }
.drawer-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; border: 0; border-bottom: 1px solid var(--line); padding: 14px 0; color: var(--ink); background: transparent; font-size: 15px; font-weight: var(--w-label); letter-spacing: .04em; text-align: left; transition: transform 600ms var(--ease); }
.drawer-row > span { flex: 1; min-width: 0; }
.drawer-row:hover { transform: translateX(8px); }
.drawer-socials .eyebrow, .drawer-preferences .eyebrow { margin-bottom: 14px; }
.drawer-preference-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.drawer-preference-row .toggle-button { border: 1px solid var(--line); padding: 0 14px; }
.drawer-socials .social-row { justify-content: center; }
.search-label { font-size: 14px; font-weight: var(--w-label); letter-spacing: .1em; }
.search-field { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line-strong); background-image: linear-gradient(var(--ink),var(--ink)); background-size: 0 2px; background-position: left bottom; background-repeat: no-repeat; transition: background-size var(--t-mid) var(--ease); }
.search-field:focus-within { background-size: 100% 2px; }
.search-field > svg { width: 18px; height: 18px; color: var(--muted); }
.search-input { width: 100%; border: 0; border-radius: 0; padding: 14px 0; font-weight: var(--w-body); background: transparent; }
.search-input:focus { outline: none; }
.member-panel { display: grid; justify-items: start; gap: 16px; }
.member-panel > svg { width: 32px; height: 32px; stroke-width: 1.25; }
.member-action { width: 100%; }
.member-status { margin: 0; min-height: 22px; color: var(--muted); font-size: 14px; font-weight: var(--w-muted); }
.search-status { color: var(--muted); font-weight: var(--w-muted); }
.empty-state { display: grid; gap: 16px; }
.empty-state > svg { width: 32px; height: 32px; stroke-width: 1.25; }

/* ---------- reveal system ---------- */
.reveal.is-ready { opacity: 0; transform: translateY(40px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: calc(var(--i,0) * 140ms); }
.reveal.is-ready.is-visible { opacity: 1; transform: none; }
.reveal.is-ready .line-mask > span, .reveal.is-ready.line-mask > span { transform: translateY(105%); transition: transform var(--t-slow) var(--ease); }
.reveal.is-ready.is-visible .line-mask > span, .reveal.is-ready.is-visible.line-mask > span { transform: none; }
/* Chrome counts a target's own clip-path when computing intersection, so a fully
   self-clipped element never intersects: the curtain always sits on a CHILD. */
.reveal-clip.is-ready { opacity: 1; transform: none; }
.reveal-clip.is-ready .collection-media, .reveal-clip.is-ready .collection-mask, .reveal-clip.is-ready .social-frame { clip-path: inset(100% 0 0 0); transition: clip-path 1600ms var(--ease), transform 1600ms var(--ease); transition-delay: calc(var(--i,0) * 110ms); }
.reveal-clip.is-ready.is-visible .collection-media, .reveal-clip.is-ready.is-visible .collection-mask, .reveal-clip.is-ready.is-visible .social-frame { clip-path: inset(0); }
.reveal-clip.is-ready .collection-media { transform: scale(1.18); }
.reveal-clip.is-ready.is-visible .collection-media { transform: none; }
/* A clip-path on the disclosure button would cut its focus ring, so it fades instead. */
.reveal-clip.is-ready .collection-disclosure, .reveal-clip.is-ready .social-caption { opacity: 0; transition: opacity 900ms var(--ease); transition-delay: calc(var(--i,0) * 110ms + 600ms); }
.reveal-clip.is-ready.is-visible .collection-disclosure, .reveal-clip.is-ready.is-visible .social-caption { opacity: 1; }

/* ---------- shop: breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: var(--w-label); letter-spacing: .14em; color: var(--muted); }
.breadcrumb > * { white-space: nowrap; }
.breadcrumb svg { width: 14px; height: 14px; }
.breadcrumb-link { position: relative; color: var(--ink); }
.breadcrumb-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t-mid) var(--ease); }
.breadcrumb-link:hover::after, .breadcrumb-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* ---------- shop: listing ---------- */
.shop-page, .product-page { padding: 152px clamp(20px,5vw,72px) 128px; max-width: 1360px; margin-inline: auto; }
.shop-head { margin-bottom: 44px; }
.shop-page h1 { margin-bottom: 40px; font-size: clamp(28px,3.2vw,48px); font-weight: var(--w-heading); line-height: 1.3; letter-spacing: .04em; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.shop-chips { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.shop-chips::-webkit-scrollbar { display: none; }
.shop-chip { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: var(--w-label); letter-spacing: .08em; white-space: nowrap; background: linear-gradient(var(--ink),var(--ink)) no-repeat center bottom / 100% 0%; transition: color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), background-size var(--t-mid) var(--ease); }
.shop-chip svg { width: 16px; height: 16px; }
.shop-chip:hover, .shop-chip:focus-visible, .shop-chip.is-active { color: var(--white); border-color: var(--ink); background-size: 100% 100%; }
.shop-sort { position: relative; flex: 0 0 auto; }
/* A modal on top of the gallery must never show a stale lens. */
body:has(dialog[open]) .zoom-lens { opacity: 0; visibility: hidden; }
.shop-sort .select-trigger { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; }
.shop-sort .select-list { left: auto; right: 0; width: max-content; min-width: 100%; }

/* ---------- shop: product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); column-gap: 8px; row-gap: 48px; transition: opacity 220ms var(--ease); }
.product-grid.is-swapping { opacity: 0; }
.product-card { display: grid; align-content: start; gap: 12px; min-width: 0; color: var(--ink); }
.product-shot { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.product-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 900ms var(--ease), transform 1800ms var(--ease); }
.product-image.is-secondary { opacity: 0; }
.product-chip { position: absolute; left: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px; background: var(--white); font-size: 12px; font-weight: var(--w-label); letter-spacing: .08em; white-space: nowrap; }
/* Two lines at most: Chinese names break on punctuation, never mid-clause. */
.product-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; font-size: 15px; font-weight: var(--w-label); line-height: 1.5; letter-spacing: .04em; word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.product-price { margin: 0; font-size: 14px; font-weight: var(--w-muted); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) {
  .product-card:hover .product-image { transform: scale(1.04); }
  .product-card:hover .product-image.is-secondary { opacity: 1; }
}
.shop-empty { grid-column: 1 / -1; display: grid; justify-items: start; gap: 16px; padding: 64px 0; }
.shop-empty > svg { width: 36px; height: 36px; stroke-width: 1.25; }
.shop-empty-title { margin: 0; font-size: 20px; font-weight: var(--w-label); letter-spacing: .06em; }
.shop-empty-text { margin: 0; max-width: 520px; color: var(--muted); font-weight: var(--w-muted); }

/* ---------- shop: product detail ---------- */
.product-detail { display: grid; grid-template-columns: minmax(0,58fr) minmax(0,42fr); gap: clamp(32px,5vw,72px); align-items: start; }
.product-gallery { display: grid; gap: 12px; min-width: 0; }
.product-stage { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border: 0; border-radius: 0; padding: 0; background: var(--soft); }
.product-stage.is-zooming { cursor: none; }
.product-main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 600ms var(--ease); }
.product-main.is-entering { opacity: 0; }
/* The lens is centred on the pointer; only the SAMPLED area is clamped, so it
   never shows blank ground at the image edges. */
.zoom-lens { position: absolute; left: 0; top: 0; z-index: 3; width: 200px; height: 200px; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; outline: 1px solid rgba(0,0,0,.25); background-repeat: no-repeat; pointer-events: none; opacity: 0; transform: scale(.9); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.zoom-lens.is-visible { opacity: 1; transform: scale(1); }
@media (hover: none), (pointer: coarse) { .zoom-lens { display: none; } }
.zoom-hint { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; background: var(--white); color: var(--ink); font-size: 12px; font-weight: var(--w-label); letter-spacing: .08em; white-space: nowrap; }
.zoom-hint svg { width: 14px; height: 14px; }
.product-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.product-thumb { width: 72px; flex: 0 0 auto; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); border-radius: 0; padding: 0; background: var(--soft); transition: border-color 500ms var(--ease); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb.is-active { border-color: var(--ink); }
.product-info { position: sticky; top: 112px; display: grid; justify-items: start; gap: 20px; min-width: 0; }
.product-eyebrow { margin: 0; color: var(--muted); }
.product-title { margin: 0; font-size: clamp(24px,2.6vw,36px); font-weight: var(--w-heading); line-height: 1.3; letter-spacing: .04em; word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.product-detail-price { margin: 0; font-size: 18px; font-weight: var(--w-label); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.product-summary { margin: 0; max-width: 520px; color: var(--muted); font-weight: var(--w-muted); word-break: keep-all; overflow-wrap: anywhere; line-break: strict; text-wrap: pretty; }
.option-groups { display: grid; gap: 18px; width: 100%; }
.option-name { margin: 0 0 10px; font-size: 12px; font-weight: var(--w-label); line-height: 1; letter-spacing: .24em; text-transform: uppercase; }
.option-values { display: flex; flex-wrap: wrap; gap: 8px; }
.option-chip { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: var(--w-label); letter-spacing: .08em; white-space: nowrap; background: linear-gradient(var(--ink),var(--ink)) no-repeat center bottom / 100% 0%; transition: color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), background-size var(--t-mid) var(--ease); }
.option-chip:hover, .option-chip:focus-visible, .option-chip.is-active { color: var(--white); border-color: var(--ink); background-size: 100% 100%; }
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px; }
.stepper-value { min-width: 36px; text-align: center; font-size: 15px; font-weight: var(--w-label); font-variant-numeric: tabular-nums; }
.stepper-button:disabled { opacity: .35; cursor: default; }
.stepper--small .stepper-button { width: 36px; height: 36px; }
.stepper--small .stepper-value { min-width: 26px; font-size: 14px; }
.stepper--small svg { width: 14px; height: 14px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.product-actions .button { flex: 1 1 200px; }
.product-accordions { width: 100%; margin-top: 8px; border-top: 1px solid var(--line); }
.spec-list { display: grid; grid-template-columns: auto minmax(0,1fr); column-gap: 24px; row-gap: 10px; margin: 18px 0 0; font-size: 15px; }
.spec-list dt { color: var(--muted); font-weight: var(--w-muted); }
.spec-list dd { margin: 0; }
.product-related { margin-top: 128px; }
.product-related-title { margin: 0 0 40px; font-size: clamp(22px,2.4vw,32px); }

/* ---------- shop: fullscreen zoom viewer ---------- */
.zoom { width: 100vw; max-width: none; height: 100svh; max-height: none; margin: 0; border: 0; border-radius: 0; padding: 0; background: var(--white); opacity: 0; transition: opacity var(--t-mid) var(--ease), overlay var(--t-mid) allow-discrete, display var(--t-mid) allow-discrete; }
.zoom[open] { opacity: 1; }
@starting-style { .zoom[open] { opacity: 0; } }
.zoom::backdrop { background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; transition: opacity var(--t-mid) var(--ease), overlay var(--t-mid) allow-discrete, display var(--t-mid) allow-discrete; }
.zoom[open]::backdrop { opacity: 1; }
@starting-style { .zoom[open]::backdrop { opacity: 0; } }
.zoom-close { position: fixed; right: clamp(16px,3vw,32px); top: clamp(16px,3vw,32px); z-index: 2; border: 1px solid var(--line-strong); background: var(--white); }
.zoom-scroll { display: grid; place-items: center; width: 100%; height: 100%; padding: 24px; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y pinch-zoom; }
.zoom-scroll img { width: min(200%,2000px); max-width: none; height: auto; }

/* ---------- shop: cart ---------- */
[data-panel="cart"] { position: relative; }
.cart-badge { position: absolute; right: 2px; top: 4px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: var(--w-label); line-height: 1; font-variant-numeric: tabular-nums; pointer-events: none; }
.cart-badge[hidden] { display: none; }
.cart-panel { display: grid; justify-items: start; gap: 24px; }
.cart-panel > * { max-width: 100%; }
.cart-lines { display: grid; gap: 20px; width: 100%; border-top: 1px solid var(--line); padding-top: 20px; }
.cart-line { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 16px; align-items: start; }
.cart-line-shot { display: block; width: 64px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.cart-line-image { width: 100%; height: 100%; object-fit: cover; }
.cart-line-body { display: grid; gap: 4px; min-width: 0; }
.cart-line-name { margin: 0; font-size: 15px; font-weight: var(--w-label); letter-spacing: .04em; word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.cart-line-option, .cart-line-price { margin: 0; font-size: 13px; font-weight: var(--w-muted); color: var(--muted); }
.cart-line-controls { display: grid; justify-items: end; gap: 8px; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 100%; border-top: 1px solid var(--line); padding-top: 16px; font-size: 14px; font-weight: var(--w-label); letter-spacing: .08em; }
.cart-total strong { font-size: 18px; font-weight: var(--w-label); font-variant-numeric: tabular-nums; }
.cart-note { margin: 0; color: var(--muted); font-size: 13px; font-weight: var(--w-muted); }

/* ---------- shop: product rows in the search panel ---------- */
.search-products { display: grid; border-top: 1px solid var(--line); }
.search-product { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); transition: transform 600ms var(--ease); }
.search-product:hover { transform: translateX(8px); }
.search-product-image { width: 40px; height: 50px; flex: 0 0 auto; object-fit: cover; background: var(--soft); }
.search-product-body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.search-product-name { font-size: 15px; font-weight: var(--w-label); letter-spacing: .04em; }
.search-product-price { font-size: 13px; font-weight: var(--w-muted); color: var(--muted); font-variant-numeric: tabular-nums; }
.search-product svg { width: 16px; height: 16px; }

/* ---------- responsive ---------- */

/* Eight capsules stop fitting beside their column label before the phone
   breakpoint, so the social row stacks under its title a little earlier. */
@media (max-width: 860px) {
  .footer-row--social { grid-template-columns: minmax(0,1fr); row-gap: 16px; }
  .footer-row--social > .footer-links { justify-self: start; }
}
@media (max-width: 1199px) {
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 999px) {
  .header { gap: 8px; padding-inline: 16px; }
  .section-space { padding: 96px clamp(20px,5vw,48px); }
  .collections > .section-heading { padding: 72px 20px 40px; }
  .collection-featured { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .collection-featured .collection { flex: 0 0 36%; min-height: 440px; scroll-snap-align: start; }
  .service-list { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 64px; }
  .service { padding: 48px 28px; }
  .service-text { font-size: 15px; }
  .service:nth-child(n) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .service:nth-child(odd) { border-left: 0; }
  .service:nth-child(1), .service:nth-child(2) { border-top: 0; }
  .social-showcase { padding: 96px clamp(20px,5vw,48px); }
  .social-card { flex-basis: calc((100% - 24px) / 2); }
  .atelier-copy { padding: 96px clamp(20px,5vw,48px); }
  .shop-page, .product-page { padding: 140px clamp(20px,5vw,48px) 96px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-detail { grid-template-columns: minmax(0,1fr); }
  .product-info { position: static; top: auto; }
  .product-thumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .product-thumbs::-webkit-scrollbar { display: none; }
  .product-related { margin-top: 96px; }
}
@media (max-width: 640px) {
  .header { gap: 8px; padding: 8px 16px; }
  .header-actions { gap: 0; }
  .hero { min-height: 560px; }
  .hero-slide img, #computer img { object-position: 65% center; }
  .hero-copy { left: 20px; right: 20px; bottom: 104px; }
  .hero-controls { left: 20px; bottom: 20px; }
  .hero-description { font-size: 16px; }
  .hero-controls { bottom: 24px; }
  .hero-cue { display: none; }
  .section-space { padding: 72px 20px; }
  .collections > .section-heading { padding: 56px 20px 32px; }
  .collection-square { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .collection-square .collection { flex: 0 0 72%; scroll-snap-align: start; }
  .collection h3, .collection--square h3 { font-size: 18px; }
  .collection-featured .collection { flex-basis: 72%; }
  .collection-hover { padding: 52px 14px 20px; gap: 12px; }
  .collection-disclosure { top: 6px; right: 6px; }
  .collection-mask { padding: 72px 12px 24px; }
  .atelier { min-height: 480px; }
  .atelier-copy { padding: 72px 20px; }
  .contact-band { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: minmax(0,1fr); margin-top: 48px; }
  .service:nth-child(n) { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: start; column-gap: 16px; padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .service:nth-child(1) { border-top: 0; }
  .service:nth-child(2) { border-top: 1px solid var(--line); }
  .service > svg { grid-row: 1 / 3; width: 32px; height: 32px; margin-bottom: 0; }
  .service-title { margin-bottom: 4px; }
  .social-showcase { padding: 72px 20px; }
  .social-card { flex-basis: 84%; }
  .inquiry-form { grid-template-columns: 1fr; }
  .inquiry-form input, .inquiry-form textarea, .search-input { font-size: 16px; }
  p, .form-status, .collection-hover p, .service-text { font-size: 15px; }
  .faq-page { padding-top: 132px; }
  .footer { padding: 72px 20px 24px; }
  .footer-top { display: grid; justify-content: start; gap: 24px; }
  .footer-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 24px; justify-content: start; }
  .footer-row { grid-template-columns: minmax(0,1fr); row-gap: 16px; }
  .footer-row > .footer-links { justify-self: start; }
  #store-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .store-card { flex-wrap: wrap; align-items: start; row-gap: 6px; }
  .store-detail { flex-basis: 100%; margin-left: 30px; }
  #social-links { flex-wrap: wrap; }
  .shop-page, .product-page { padding: 132px 20px 72px; }
  .shop-head { margin-bottom: 32px; }
  .shop-bar { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 32px; }
  /* One scroll-snap strip instead of a wrapping block. */
  .shop-chips { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .shop-chips::-webkit-scrollbar { display: none; }
  .shop-chip { scroll-snap-align: start; }
  .shop-sort .select-list { left: 0; right: auto; }
  .product-grid { column-gap: 16px; row-gap: 32px; }
  .product-related { margin-top: 72px; }
  .product-related-title { margin-bottom: 32px; }
}
@media (max-width: 480px) {
  .header { padding-inline: 12px; }
  .header .wordmark { grid-template-columns: auto; }
  .header .brand-logo { width: 44px; height: 44px; }
  .header .wordmark span, .header .wordmark small { display: none; }
  #store-list { grid-template-columns: 1fr; gap: 20px; }
  /* The quantity and remove controls drop under the line instead of squeezing
     the product name into a couple of characters. */
  .cart-line { grid-template-columns: 64px minmax(0,1fr); row-gap: 12px; }
  .cart-line-controls { grid-column: 2; display: flex; align-items: center; justify-content: start; gap: 8px; }
}


/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal.is-ready, .reveal-clip.is-ready { opacity: 1; transform: none; }
  .reveal-clip.is-ready .collection-media, .reveal-clip.is-ready .collection-mask, .reveal-clip.is-ready .social-frame { clip-path: none; transform: none; }
  .reveal-clip.is-ready .collection-disclosure, .reveal-clip.is-ready .social-caption { opacity: 1; }
  .reveal.is-ready .line-mask > span, .reveal.is-ready.line-mask > span { transform: none; }
  .reveal-clip.is-ready .collection-media { transform: none; }
  .hero-copy > *, .hero-copy.is-leaving > * { opacity: 1; transform: none; }
  .to-top.is-visible:hover { transform: none; }
  .hero-slide, .collection:hover img, .social-link:hover, .drawer-row:hover { transform: none; }
  .social-link--label, .social-link--label > span { transition: none; }
  .hero-dot-fill { transform: scaleX(1); }
  .drawer { transform: none; }
  .collection-hover > * { opacity: 1; transform: none; }
  .header { opacity: 1; transform: none; }
  .social-placeholder::after { display: none; }
  .social-iframe, .social-iframe.is-loaded { opacity: 1; transition: none; }
  .select-list { transform: none; }
  .select.is-open .select-option, .select-option { opacity: 1; }
  /* The bubble only fades: no pop, no travel. */
  .tip, .tip.is-visible { transform: translate(-50%,var(--shift)); }
  /* The lens appears without the scale-in. */
  .zoom-lens, .zoom-lens.is-visible { transform: none; }
  .product-card:hover .product-image { transform: none; }
  .search-product:hover { transform: none; }
  .product-grid.is-swapping { opacity: 1; }
}
