:root {
  --ivory: #f3efe7;
  --paper: #ebe5da;
  --ink: #111722;
  --navy: #0e1828;
  --brass: #a4835a;
  --brass-soft: #c9ae86;
  --mute: #5e5950; /* darker than before (#6f6a62) so small grey text reads better */
  --line: rgba(17, 23, 34, .14);
  --display: "Cormorant Garamond", "Shippori Mincho", serif;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --caps: "Jost", "Helvetica Neue", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--mincho);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  overflow-x: hidden;
}
img, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--brass); color: var(--ivory); }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }

.caps {
  font-family: var(--caps);
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 400;
}
.display { font-family: var(--display); font-weight: 300; letter-spacing: 0; line-height: .95; }
.italic { font-style: italic; }
.brass { color: var(--brass); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--navy); color: var(--ivory);
  display: grid; place-items: center;
}
.loader__mark { font-family: var(--display); font-size: clamp(48px, 10vw, 120px); font-weight: 300; letter-spacing: .3em; padding-left: .3em; overflow: hidden; }
.loader__mark span { display: inline-block; transform: translateY(110%); }
.loader__count { position: absolute; bottom: var(--gutter); right: var(--gutter); font-family: var(--display); font-size: 64px; font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.loader__line { position: absolute; bottom: var(--gutter); left: var(--gutter); width: 30vw; height: 1px; background: rgba(243, 239, 231, .2); }
.loader__line i { display: block; height: 100%; width: 100%; background: var(--brass-soft); transform: scaleX(0); transform-origin: left; }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--gutter);
  color: var(--ink);
  transition: color .5s var(--ease), background .5s var(--ease), padding .5s var(--ease);
  mix-blend-mode: normal;
}
.header.is-inverse { color: var(--ivory); }
.header.is-solid { background: rgba(243, 239, 231, .92); backdrop-filter: blur(10px); padding-top: 14px; padding-bottom: 14px; color: var(--ink); }
.header__nav { display: flex; gap: 28px; }
@media (max-width: 1080px) { .header__nav { gap: 16px; letter-spacing: .12em; } } /* four links and the centred wordmark share the row */
.header__brand { --bs: 22px; font-family: var(--display); font-size: var(--bs); letter-spacing: .42em; padding-left: .42em; font-weight: 400; text-align: center; line-height: 1.5; }
/* the small "Boutique" under the wordmark; the negative margin cancels the wordmark's left padding so both centre alike */
.header__sub { display: block; margin-left: calc(var(--bs) * -.42); font-family: var(--caps); font-size: 10px; letter-spacing: .34em; padding-left: .34em; line-height: 1; opacity: .62; }
.header__right { justify-self: end; display: flex; gap: 24px; align-items: center; }
.cart-btn { display: inline-flex; gap: 8px; align-items: center; }
.cart-btn__count { min-width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10px; letter-spacing: 0; border: 1px solid currentColor; }
.link-line { position: relative; }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 720px) {
  .header { grid-template-columns: auto 1fr; }
  .header__nav { display: none; }
  .header__brand { --bs: 18px; }
}

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 34px;
  border: 1px solid currentColor;
  font-family: var(--caps); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  transition: color .6s var(--ease);
  isolation: isolate;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .6s var(--ease); z-index: -1; }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--ivory); }
.btn--solid { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--solid::before { background: var(--brass); }
.btn--light { color: var(--ivory); }
.btn--light::before { background: var(--ivory); }
.btn--light:hover { color: var(--ink); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- hero: assembling sculpture ---------- */
.hero { position: relative; height: 420vh; background: var(--hero-bg, #807a70); }
.hero__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.seq { position: absolute; inset: 0; width: 100%; height: 100%; contain: strict; }
.hero__mark {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(72px, 21vw, 360px); line-height: .8; letter-spacing: .06em;
  color: var(--ink);
  pointer-events: none; white-space: nowrap;
}
.hero__mark .ch { display: inline-block; }
.hero__chapters { position: absolute; left: var(--gutter); bottom: var(--gutter); color: var(--ink); }
.hero__chapter { position: absolute; bottom: 0; left: 0; width: min(380px, 80vw); opacity: 0; }
.hero__chapter .num { font-family: var(--display); font-size: 44px; font-style: italic; line-height: 1; }
.hero__chapter p { margin: 8px 0 0; font-size: 15px; }
.hero__meta { position: absolute; right: var(--gutter); bottom: var(--gutter); text-align: right; color: var(--ink); }
.hero__progress { width: 140px; height: 1px; background: rgba(17, 23, 34, .2); margin: 12px 0 0 auto; }
.hero__progress i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); color: var(--ink); display: grid; justify-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 46px; background: currentColor; transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- statement ---------- */
.statement { padding: clamp(120px, 22vh, 220px) var(--gutter); max-width: 1180px; margin: 0 auto; }
.statement__lead { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 5.6vw, 82px); line-height: 1.12; margin: 26px 0 0; letter-spacing: -.01em; }
.statement__lead .w { display: inline-block; opacity: .14; }
.statement__ja { margin-top: 48px; max-width: 520px; margin-left: auto; color: var(--mute); }

/* ---------- counters ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 var(--gutter); }
.figure { padding: 40px 20px; border-left: 1px solid var(--line); }
.figure:first-child { border-left: 0; }
.figure__n { font-family: var(--display); font-size: clamp(48px, 6vw, 96px); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.figure__l { margin-top: 12px; color: var(--mute); }
@media (max-width: 720px) { .figures { grid-template-columns: 1fr 1fr; } .figure:nth-child(3) { border-left: 0; } .figure { border-top: 1px solid var(--line); } }

/* ---------- collection (horizontal) ---------- */
.collection { position: relative; background: var(--navy); color: var(--ivory); overflow: hidden; }
.collection__head { display: flex; justify-content: space-between; align-items: end; padding: clamp(64px, 12vh, 120px) var(--gutter) clamp(24px, 5vh, 48px); gap: 24px; flex-wrap: wrap; }
.collection__title { font-family: var(--display); font-weight: 300; font-size: clamp(48px, min(8vw, 14vh), 130px); line-height: .9; margin: 0; }
.collection { padding-bottom: clamp(56px, 10vh, 110px); }
.collection__track { display: flex; gap: clamp(20px, 3vw, 48px); padding: 0 var(--gutter) 28px; width: max-content; will-change: transform; }
.collection { --card-w: clamp(240px, min(34vw, (100vh - 340px) * .8), 520px); }
.card { position: relative; width: var(--card-w); flex: none; }
.card img { -webkit-user-drag: none; user-select: none; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #1a2333; }
.card__media img { width: 100%; height: 118%; object-fit: cover; transform: translateY(-8%) scale(1.02); transition: transform 1.4s var(--ease); }
.card:hover .card__media img { transform: translateY(-8%) scale(1.08); }
.card__veil { position: absolute; inset: 0; background: var(--navy); transform-origin: top; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; gap: 16px; }
.card__name { font-family: var(--display); font-size: clamp(30px, 3vw, 44px); font-weight: 300; line-height: 1; }
.card__name small { font-family: var(--mincho); font-size: 14px; margin-left: 12px; opacity: .85; white-space: nowrap; }
.card__no { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--brass-soft); }
.card__price { margin-top: 6px; opacity: .88; }

/* ---------- turntable feature ---------- */
.feature { position: relative; height: 320vh; background: var(--feat-bg, #030303); color: var(--ivory); }
.feature__stage { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; }
.feature__canvas { position: relative; height: 100vh; }
.feature__copy { padding: 0 var(--gutter); max-width: 560px; }
.feature__copy h2 { font-family: var(--display); font-weight: 300; font-size: clamp(48px, 6.4vw, 104px); line-height: .95; margin: 18px 0 28px; }
.feature__copy p { color: rgba(243, 239, 231, .72); }
.feature__deg { font-family: var(--display); font-size: clamp(64px, 9vw, 150px); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; color: var(--brass-soft); }
.feature--light { color: var(--ink); }
.feature--light .feature__copy p { color: var(--mute); }
.feature--light .feature__deg { color: var(--brass); }
@media (max-width: 860px) {
  .feature__stage { grid-template-columns: 1fr; grid-template-rows: 62vh auto; align-content: start; }
  .feature__canvas { height: 62vh; }
  .feature__copy { padding-top: 12px; }
  .feature__copy h2 { font-size: 44px; margin: 8px 0 12px; }
  .feature__copy p { font-size: 14px; line-height: 1.8; }
  .feature__deg { font-size: 52px; }
  .feature__copy { order: 2; }
}


/* ---------- menu (price list, salon style) ---------- */
.menu { padding: 140px var(--gutter); max-width: 1080px; margin: 0 auto; }
.first { padding: 40px var(--gutter) 140px; max-width: 1180px; margin: 0 auto; }
.first__sub { margin: 22px auto 0; max-width: 34em; color: var(--mute); }
.first__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.first__item { padding: 36px 24px 40px; border-left: 1px solid var(--line); }
.first__item:nth-child(3n+1) { border-left: 0; }
.first__item:nth-child(n+4) { border-top: 1px solid var(--line); }
.first__item h3 { font-family: var(--mincho); font-weight: 500; font-size: 18px; margin: 10px 0 12px; letter-spacing: .06em; }
.first__item p:last-child { margin: 0; color: var(--mute); font-size: 14px; line-height: 1.9; }
.first__links { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: center; margin: 40px 0 0; font-size: 14px; }
@media (max-width: 860px) { .first__grid { grid-template-columns: 1fr 1fr; } .first__item:nth-child(even) { border-left: 1px solid var(--line); } .first__item:nth-child(odd) { border-left: 0; } .first__item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .first__grid { grid-template-columns: 1fr; } .first__item:nth-child(n) { border-left: 0; padding: 28px 4px; } .first__item + .first__item { border-top: 1px solid var(--line); } }
.menu__head { text-align: center; margin-bottom: 64px; }
.menu__head h2 { font-family: var(--display); font-weight: 300; font-size: clamp(44px, 6vw, 88px); margin: 14px 0 0; line-height: 1; }
.menu__row { transition: background .4s var(--ease); }
.menu__row:hover { background: rgba(164, 131, 90, .06); }
.menu__row { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.menu__row:first-of-type { border-top: 1px solid var(--line); }
.menu__name { font-size: 18px; }
.menu__name .caps { display: block; color: var(--brass); margin-bottom: 4px; }
.menu__dots { border-bottom: 1px dotted rgba(17, 23, 34, .35); transform: translateY(-6px); }
.menu__price { font-family: var(--display); font-size: 30px; font-weight: 400; font-variant-numeric: tabular-nums; }
.menu__detail { grid-column: 1 / -1; color: var(--mute); font-size: 14px; margin-top: -6px; }
.menu__note { margin-top: 28px; color: var(--mute); font-size: 13px; text-align: center; }

/* ---------- atelier / marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; white-space: nowrap; }
.marquee__inner { display: inline-flex; gap: 64px; font-family: var(--display); font-size: clamp(36px, 5vw, 72px); font-weight: 300; font-style: italic; will-change: transform; }
.marquee__inner span::after { content: "✦"; font-style: normal; font-size: .35em; color: var(--brass); margin-left: 64px; vertical-align: middle; }

.atelier { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); padding: 140px var(--gutter); align-items: center; }
.atelier__img { overflow: hidden; aspect-ratio: 4 / 5; }
.atelier__img img { width: 100%; height: 120%; object-fit: cover; }
.atelier h2 { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 5vw, 76px); line-height: 1; margin: 16px 0 28px; }
@media (max-width: 860px) { .atelier { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--ivory); padding: 100px var(--gutter) 36px; }
.footer__big { font-family: var(--display); font-weight: 300; font-size: clamp(64px, 17vw, 300px); line-height: .8; letter-spacing: .06em; margin: 0 0 64px; }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 28px; border-top: 1px solid rgba(243, 239, 231, .16); }
.footer__grid a { display: block; opacity: .9; margin-top: 6px; }
.footer__grid a:hover { opacity: 1; }
.footer__copy { margin-top: 64px; opacity: .7; font-size: 12px; }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer__shade { position: absolute; inset: 0; background: rgba(14, 24, 40, .45); opacity: 0; transition: opacity .6s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  background: var(--ivory); display: grid; grid-template-rows: auto 1fr auto;
  overflow: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .8s var(--ease);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__shade { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 26px 28px; border-bottom: 1px solid var(--line); }
.drawer__items { padding: 8px 28px; }
.drawer__empty { color: var(--mute); padding: 40px 0; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line img { width: 76px; height: 96px; object-fit: cover; }
.line__title { font-family: var(--display); font-size: 22px; line-height: 1.1; }
.line__fmt { font-size: 13px; color: var(--mute); }
.line__qty { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 14px; }
.line__qty button { width: 26px; height: 26px; border: 1px solid var(--line); }
.line__remove { font-size: 12px; color: var(--mute); text-decoration: underline; margin-top: 6px; }
.line__price { font-family: var(--display); font-size: 20px; }
.drawer__foot { padding: 24px 28px 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total strong { font-family: var(--display); font-size: 32px; font-weight: 400; }
.drawer__msg { font-size: 13px; color: var(--mute); min-height: 1em; }
.ship { display: grid; gap: 14px; padding: 24px 28px 28px; }
.ship[hidden] { display: none; }
.ship__title { margin: 0; }
.ship__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 2px; font-size: 13px; color: var(--mute); letter-spacing: .06em; }
.field input, .field select {
  font: inherit; font-size: 16px; letter-spacing: .02em; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 6px 0; width: 100%; -webkit-appearance: none; appearance: none;
}
.field select { background: linear-gradient(45deg, transparent 50%, var(--mute) 50%) right 6px center / 6px 6px no-repeat; padding-right: 18px; }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); }
.field input::placeholder { color: rgba(17, 23, 34, .3); }
.ship__hint { margin: -6px 0 0; font-size: 13px; color: var(--brass); min-height: 1em; }
.ship__picks { display: grid; gap: 6px; }
.ship__picks:empty { display: none; }
.ship__picks button { text-align: left; font-size: 14px; padding: 8px 12px; border: 1px solid var(--line); }
.ship__picks button:hover { border-color: var(--ink); }
.ship__note { margin: 0; font-size: 12px; color: var(--mute); }
.badge-demo { display: inline-block; padding: 2px 8px; border: 1px solid var(--brass); color: var(--brass); font-size: 10px; letter-spacing: .2em; }
.badge-demo[hidden] { display: none; } /* shown only in demo mode (showMode in common.js) */

/* ---------- cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--brass); transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s; display: grid; place-items: center; }
.cursor span { font-family: var(--caps); font-size: 10px; letter-spacing: .2em; color: var(--ivory); opacity: 0; transition: opacity .3s; }
.cursor.is-view { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: rgba(164, 131, 90, .92); }
.cursor.is-view span { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- page transition ---------- */
.curtain { position: fixed; inset: 0; z-index: 95; background: var(--navy); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: 100vh; }
.product__viewer { position: sticky; top: 0; height: 100vh; background: var(--paper); }
.product__viewer model-viewer { width: 100%; height: 100%; --poster-color: transparent; }
.viewer-ui { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; justify-content: space-between; align-items: end; gap: 12px; pointer-events: none; }
.viewer-ui > * { pointer-events: auto; }
.viewer-hint { display: inline-flex; align-items: center; gap: 10px; color: var(--mute); }
.viewer-hint svg { width: 30px; height: 30px; flex: none; }
@media (max-width: 560px) { .viewer-ui { left: 16px; right: 16px; bottom: 16px; } .viewer-hint span { display: none; } .viewer-tabs button { padding: 8px 10px; } }
.viewer-tabs { display: flex; gap: 6px; }
.viewer-tabs button { padding: 10px 14px; border: 1px solid var(--line); background: rgba(243, 239, 231, .7); }
.viewer-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.viewer-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 80px 40px; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.viewer-img.is-on { opacity: 1; }
.product__info { padding: 130px var(--gutter) 80px; max-width: 620px; }
.product__title { font-family: var(--display); font-weight: 300; font-size: clamp(56px, 7vw, 112px); line-height: .9; margin: 14px 0 6px; }
.product__sub { color: var(--mute); }
.product__tagline { font-size: 22px; margin: 40px 0 20px; line-height: 1.6; }
.product__concept { color: #3d3b38; }
.piece { margin-top: 44px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.piece__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.piece__row .caps { color: var(--brass); }
.piece__price { font-family: var(--display); font-size: 40px; font-weight: 400; line-height: 1; text-align: right; }
.piece__price small { display: block; font-family: var(--mincho); font-size: 13px; color: var(--mute); margin-top: 8px; }
.piece__meta { margin: 10px 0 0; font-size: 14px; color: var(--mute); }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 22px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 54px; }
.qty button { width: 44px; height: 100%; }
.qty output { min-width: 28px; text-align: center; }
.buy .btn { width: 100%; }
.buy .btn--now { grid-column: 1 / -1; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line); }
.specs div { padding: 18px 0; }
.specs dt { color: var(--mute); }
.specs dd { margin: 4px 0 0; font-family: var(--display); font-size: 24px; }
details.acc { border-bottom: 1px solid var(--line); }
details.acc summary { list-style: none; display: flex; justify-content: space-between; padding: 20px 0; cursor: pointer; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-family: var(--display); font-size: 22px; line-height: 1; transition: transform .4s var(--ease); }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc p { margin: 0 0 22px; color: var(--mute); font-size: 15px; }
.next-work { display: block; padding: 120px var(--gutter); background: var(--navy); color: var(--ivory); text-align: center; overflow: hidden; }
.next-work__name { font-family: var(--display); font-weight: 300; font-size: clamp(64px, 14vw, 220px); line-height: .9; display: block; transition: letter-spacing 1s var(--ease); }
.next-work:hover .next-work__name { letter-spacing: .06em; }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; }
  .product__viewer { position: relative; height: 72vh; }
  .product__info { padding-top: 48px; }
}

/* ---------- simple pages ---------- */
.page { padding: 150px var(--gutter) 100px; max-width: 860px; margin: 0 auto; }
.page h1 { font-family: var(--display); font-weight: 300; font-size: clamp(48px, 7vw, 96px); line-height: 1; margin: 14px 0 40px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; vertical-align: top; padding: 18px 0; border-bottom: 1px solid var(--line); }
.table th { width: 34%; font-weight: 400; color: var(--mute); padding-right: 20px; }
.todo { background: #f7e9c8; padding: 0 6px; }
.dl { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }

/* ---------- reveal helpers ---------- */
.reveal-mask { overflow: hidden; display: block; }
.reveal-mask > * { display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero, .feature { height: auto; }
  .hero__stage, .feature__stage { position: relative; }
  .statement__lead .w { opacity: 1; }
}

/* ---------- work page: 作品イメージ ---------- */
.product__imagery { margin-top: 36px; }
.product__imagery .caps { margin: 0 0 14px; }
.product__imagery p { color: #3d3b38; line-height: 2; margin: 0 0 14px; font-size: 15px; }

/* ---------- atelier page ---------- */
.at-hero { padding: 150px var(--gutter) 40px; max-width: 1180px; margin: 0 auto; }
.at-hero h1 { font-family: var(--display); font-weight: 300; font-size: clamp(72px, 13vw, 170px); line-height: .9; margin: 14px 0 28px; }
.at-lead { font-size: 18px; color: #3d3b38; max-width: 620px; margin: 0; }
.at-block { max-width: 1180px; margin: 0 auto; padding: 72px var(--gutter); border-top: 1px solid var(--line); }
.at-block > .caps { margin: 0 0 28px; }
.at-newcomer h2 { font-family: var(--display); font-weight: 300; font-size: clamp(44px, 6vw, 84px); line-height: 1; margin: 0 0 24px; }
.at-newcomer p { max-width: 640px; font-size: 16px; line-height: 2; margin: 0; }
.at-concept #cp-body p { font-size: 17px; max-width: 680px; margin: 0 0 18px; line-height: 2; }
.at-concept #cp-body p:first-child { font-family: var(--display); font-style: italic; font-size: clamp(30px, 4vw, 52px); line-height: 1.2; }
.at-portfolio { list-style: none; padding: 0; margin: 0; }
.at-portfolio li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.at-portfolio strong { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.2; }
.at-portfolio span { color: var(--mute); font-size: 14px; }
.at-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.at-card { margin: 0; }
.at-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #1a2333; display: block; }
.at-card h3 { font-family: var(--display); font-weight: 300; font-size: 32px; line-height: 1; margin: 18px 0 8px; }
.at-card p { margin: 0; color: var(--mute); font-size: 14px; }
@media (max-width: 720px) { .at-gallery { grid-template-columns: 1fr; } }

/* ---------- works page (collection.html) ---------- */
.wk { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; max-width: 1180px; margin: 0 auto; padding: 96px var(--gutter); border-top: 1px solid var(--line); }
.wk:nth-child(even) .wk__media { order: 2; }
.wk__media { margin: 0; position: sticky; top: 110px; }
.wk__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #1a2333; display: block; }
.wk__title { font-family: var(--display); font-weight: 300; font-size: clamp(56px, 6vw, 96px); line-height: .95; margin: 14px 0 6px; }
.wk__title small { font-family: var(--mincho); font-size: 16px; margin-left: 12px; }
.wk__sub { color: var(--mute); margin: 0 0 18px; }
.wk__tag { font-family: var(--display); font-style: italic; font-size: 26px; line-height: 1.3; margin: 0 0 22px; }
.wk__text { color: #3d3b38; line-height: 2; margin: 0 0 14px; font-size: 15px; }
.wk__label { margin: 36px 0 12px !important; }
.wk ul { padding-left: 1.2em; margin: 0 0 14px; line-height: 2; color: #3d3b38; font-size: 15px; }
.wk .specs { margin-top: 36px; }
.wk__cta { margin: 36px 0 0; }
@media (max-width: 860px) {
  .wk { grid-template-columns: 1fr; padding: 72px var(--gutter); }
  .wk:nth-child(even) .wk__media { order: 0; }
  .wk__media { position: static; }
}

/* ---------- price page (price.html) ---------- */
.pr-text { color: #3d3b38; line-height: 2; max-width: 680px; margin: 0 0 24px; font-size: 15px; }
.pr-text strong { font-family: var(--display); font-size: 26px; font-weight: 400; }
.pr-note { color: var(--mute); font-size: 13px; text-align: left !important; padding-left: 16px; width: 60px; }
.at-block .table { margin-top: 8px; }

/* ---------- collections (home) ---------- */
.coll { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 var(--gutter); max-width: 1280px; margin: 0 auto; }
.coll__tile { display: block; }
.coll__media { aspect-ratio: 4 / 5; overflow: hidden; background: #1a2333; }
.coll__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.coll__tile:hover .coll__media img { transform: scale(1.04); }
.coll__title { font-family: var(--display); font-weight: 300; font-size: 34px; line-height: 1; margin: 18px 0 10px; }
.coll__title small { font-family: var(--mincho); font-size: 14px; margin-left: 10px; }
.coll__link { font-size: 12px; letter-spacing: .24em; color: var(--ink); margin: 0; }
@media (max-width: 860px) { .coll { grid-template-columns: 1fr 1fr; } }

/* ---------- sculptures listing ---------- */
.sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter) 120px; }
.sc-card__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #1a2333; }
.sc-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.sc-card__media:hover img { transform: scale(1.04); }
.sc-card__body { padding-top: 18px; }
.sc-card__title { font-family: var(--display); font-weight: 300; font-size: 40px; line-height: 1; margin: 10px 0 12px; }
.sc-card__title small { font-family: var(--mincho); font-size: 14px; margin-left: 10px; }
.sc-card__price { font-family: var(--display); font-size: 28px; margin: 0 0 16px; }
.sc-card__price small { font-family: var(--mincho); font-size: 13px; color: var(--mute); margin-left: 8px; }
.sc-card__actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.sc-card__actions .btn { min-height: 46px; padding: 0 22px; }
@media (max-width: 860px) { .sc-grid { grid-template-columns: 1fr; } }

/* ---------- terms checkbox ---------- */
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.7; margin: 14px 0 6px; }
.agree input { width: 16px; height: 16px; margin-top: 4px; accent-color: var(--brass); flex: none; }
.agree a { text-decoration: underline; }

/* ---------- The Works: slider bar ---------- */
.car__view { overflow: hidden; cursor: grab; touch-action: pan-y; overscroll-behavior-x: contain; user-select: none; }
.car__view.is-dragging { cursor: grabbing; }
.car__view.is-dragging .card { pointer-events: none; }
.car { position: relative; }
.car__ui { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(12px, 2vw, 24px); margin: 0 var(--gutter); }
.car__bar { position: relative; height: 44px; cursor: pointer; touch-action: none; user-select: none; }
.car__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(243, 239, 231, .22); }
.car__knob { position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; width: 40px; border-radius: 2px; background: var(--ivory); cursor: grab; transition: height .3s var(--ease), margin-top .3s var(--ease); }
.car__knob::after { content: ""; position: absolute; left: 0; right: 0; top: -18px; bottom: -18px; } /* a bigger area to grab */
.car__bar:hover .car__knob, .car__knob:active { height: 5px; margin-top: -2.5px; }
.car__knob:active { cursor: grabbing; }
.car__knob:focus-visible { outline: 1px solid var(--brass); outline-offset: 6px; }
/* round arrows over the pictures: at the middle of the picture height (a picture is 4:5, so half is .625 of the card width) */
.car__arrow { position: absolute; top: calc(var(--card-w) * .625); z-index: 2; width: 56px; height: 56px; margin-top: -28px; padding: 0; border: 0; border-radius: 50%; background: rgba(10, 12, 16, .78); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 22px rgba(0, 0, 0, .35); transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s; }
.car__arrow svg { width: 24px; height: 24px; }
.car__arrow--prev { left: max(10px, calc(var(--gutter) - 28px)); }
.car__arrow--next { right: max(10px, calc(var(--gutter) - 28px)); }
@media (hover: hover) { .car__arrow:hover { background: rgba(0, 0, 0, .94); transform: scale(1.08); } }
.car__arrow:active { transform: scale(.94); }
/* at either end the arrow stays, faint: a quick extra click lands on it, not on the card underneath */
.car__arrow:disabled { opacity: .28; cursor: default; box-shadow: none; transform: none; }
.car__arrow:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.car__count { margin: 0; min-width: 5.5em; text-align: right; opacity: .85; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .collection { --card-w: clamp(240px, min(78vw, (100vh - 280px) * .8), 420px); }
  .car__arrow { width: 44px; height: 44px; margin-top: -22px; }
  .car__arrow svg { width: 20px; height: 20px; }
}
