/* ============================================================================
   EGORA ATELIER · AW26 "The Quiet Weight"
   Shared stylesheet for index.html and product.html. The scrollcraft engine
   stylesheet loads first; this file themes its tokens and styles our markup.

   Shape rule (one scale, documented): controls, panels and media are sharp
   rectangles. Only three things are round: the inline video pills, the look
   hotspots and the cloth lens. Nothing else.
   ========================================================================== */

:root {
  --bone: #EAE6DE;
  --bone-2: #E1DCD2;
  --ink: #141210;
  --ink-soft: #57514A;
  --char: #16130F;
  --char-2: #221E19;
  --bone-soft: #ADA497;          /* secondary text on charcoal, 7.4:1 */
  --rust: #9A3B1B;               /* the one accent, on bone grounds */
  --rust-light: #D2764F;         /* same hue, lifted for charcoal grounds */
  --hair: rgba(20, 18, 16, 0.16);
  --hair-strong: rgba(20, 18, 16, 0.32);

  --sc-canvas: var(--bone);
  --sc-surface: var(--bone-2);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--rust);
  --sc-accent-ink: var(--bone);
  --sc-font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sc-font-text: "Manrope", system-ui, sans-serif;
  --sc-shadow-color: 30 20% 10%;
  --sc-gutter: clamp(1rem, 4vw, 4rem);
  --sc-maxw: 96rem;

  --nav-h: 64px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --z-nav: 60; --z-layer: 80; --z-toast: 90; --z-cursor: 70;
  color-scheme: light;
}

html {
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
  scroll-padding-top: var(--nav-h);
}
body { font-size: 1rem; line-height: 1.6; letter-spacing: 0; }
body.is-locked { overflow: hidden; }
img, video { height: auto; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
button, a, [role="button"] { touch-action: manipulation; }
button, [role="button"], .chip, .swatch { -webkit-user-select: none; user-select: none; }
input, select, textarea { font-size: 16px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sc-grain { opacity: 0.035; z-index: 4; }

/* Dark grounds re-ink their subtree: token AND colour, or inherited text keeps
   the bone page's ink (taste.md). */
.is-dark {
  --sc-canvas: var(--char);
  --sc-ink: var(--bone);
  --sc-ink-soft: var(--bone-soft);
  --sc-accent: var(--rust-light);
  --sc-accent-ink: var(--char);
  --hair: rgba(234, 230, 222, 0.16);
  --hair-strong: rgba(234, 230, 222, 0.34);
  background: var(--char);
  color: var(--bone);
}

/* ---------------------------------------------------------------- type -- */
.display {
  font-family: var(--sc-font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.022em;
  line-height: 1.02;
  text-wrap: balance;
  margin: 0;
}
.display em { font-style: italic; }
.label {
  font-family: var(--sc-font-text);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sc-ink-soft);
  margin: 0;
}
.body-copy { color: var(--sc-ink-soft); max-width: 44ch; text-wrap: pretty; margin: 0; }
.price { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ wordmark --
   EGORA: Bodoni Moda at display optical size, set a touch open at small sizes
   (tracking loosens as size falls), with ATELIER in the text face after a
   hairline. At hero scale the same word is drawn on a canvas with tight
   tracking; the lockup never changes shape, only its metrics. */
.wordmark {
  display: inline-flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: inherit; line-height: 1;
}
.wordmark__word {
  font-family: var(--sc-font-display);
  font-variation-settings: "opsz" 96;
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  margin-right: -0.08em;
}
.wordmark__rule { width: 1px; height: 0.95rem; background: currentColor; opacity: 0.45; }
.wordmark__sub {
  font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase;
  margin-right: -0.34em;
}

/* ------------------------------------------------------------ masthead -- */
.mast {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  height: var(--nav-h);
  padding-top: env(safe-area-inset-top, 0px);
  box-sizing: content-box;
  color: var(--ink);
  transition: color 240ms var(--ease);
}
/* scroll-edge effect instead of a divider: a short ground-coloured fade that
   only exists so content passing underneath never collides with the links */
.mast::before {
  content: ""; position: absolute; inset: 0 0 -28px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(234, 230, 222, 0.94) 0%, rgba(234, 230, 222, 0.72) 60%, rgba(234, 230, 222, 0));
  transition: opacity 240ms var(--ease);
}
.mast::after {
  content: ""; position: absolute; inset: 0 0 -28px 0; z-index: -1; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, rgba(22, 19, 15, 0.94) 0%, rgba(22, 19, 15, 0.72) 60%, rgba(22, 19, 15, 0));
  transition: opacity 240ms var(--ease);
}
.mast.is-on-dark { color: var(--bone); --sc-accent: var(--rust-light); }
.mast.is-on-dark::before { opacity: 0; }
.mast.is-on-dark::after { opacity: 1; }
.mast.is-bare::before, .mast.is-bare::after { opacity: 0; }
.mast__in {
  height: 100%; max-width: var(--sc-maxw); margin: 0 auto; padding-inline: var(--sc-gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
}
.mast__links { display: flex; gap: clamp(1.25rem, 2.4vw, 2.5rem); list-style: none; margin: 0; padding: 0; }
.mast__links a, .mast__act {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em;
  color: inherit; text-decoration: none; padding: 0.6rem 0; position: relative;
}
.mast__links a::after, .mast__act::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.35rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .mast__links a:hover::after, .mast__act:hover::after { transform: scaleX(1); }
}
.mast__tools { display: flex; justify-content: flex-end; gap: clamp(1rem, 2vw, 2rem); }
.mast__act { display: inline-flex; gap: 0.35em; }
.mast__count { font-variant-numeric: tabular-nums; display: inline-block; }
.mast__count.is-bump { animation: bump 420ms var(--ease); }
@keyframes bump { 0% { transform: translateY(0); } 30% { transform: translateY(-3px); } 100% { transform: translateY(0); } }
.mast__menu { display: none; }
@media (max-width: 860px) {
  .mast__in { grid-template-columns: 1fr auto; }
  .mast__links { display: none; }
  .mast__menu { display: inline-flex; }
  .wordmark__rule, .wordmark__sub { display: none; }
}

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 3.25rem; padding: 0 1.6rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--sc-ink); color: var(--sc-canvas);
  text-decoration: none; white-space: nowrap;
  transition: transform 140ms var(--ease), background-color 180ms var(--ease), opacity 180ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn--wide { width: 100%; }
.btn--ghost { background: transparent; color: var(--sc-ink); box-shadow: inset 0 0 0 1px var(--hair-strong); }
@media (hover: hover) and (pointer: fine) {
  .btn:not([disabled]):hover { background: var(--sc-accent); color: var(--sc-accent-ink); }
  .btn--ghost:not([disabled]):hover { background: var(--sc-ink); color: var(--sc-canvas); }
}
.btn__arrow { display: inline-block; transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn:hover .btn__arrow, .link:hover .btn__arrow { transform: translateX(3px); } }

.link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: inherit; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.4em;
  padding-block: 0.5rem;
}

/* chips: filters and sizes. Sharp, hairline, pressed = inked */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.chip {
  min-height: 2.75rem; min-width: 2.75rem; padding: 0 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8125rem; font-weight: 500; color: var(--sc-ink);
  box-shadow: inset 0 0 0 1px var(--hair-strong);
  transition: background-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease), transform 120ms var(--ease);
}
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--sc-ink); color: var(--sc-canvas); box-shadow: inset 0 0 0 1px var(--sc-ink); }
.chip[disabled] { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
@media (hover: hover) and (pointer: fine) {
  .chip:not([aria-pressed="true"]):not([aria-checked="true"]):not([disabled]):hover { box-shadow: inset 0 0 0 1px var(--sc-ink); }
}
.chips--sizes .chip { padding: 0; width: 3rem; }
.field-error { color: var(--sc-accent); font-size: 0.8125rem; font-weight: 500; margin: 0.5rem 0 0; min-height: 1.25rem; }
.is-dark .field-error { color: var(--rust-light); }

/* ---------------------------------------------------------------- hero -- */
.hero__stage { background: var(--bone); }
.hero__film {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform-origin: 50% 46%; will-change: transform;
}
.hero__mask { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero__fallback {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  font-family: var(--sc-font-display); font-weight: 500; font-size: 24vw; letter-spacing: -0.03em;
  color: var(--ink); line-height: 1;
}
.js .hero__fallback { display: none; }
.hero__intro {
  position: absolute; z-index: 3; left: var(--sc-gutter); right: var(--sc-gutter);
  bottom: clamp(1.5rem, 6vh, 3.5rem);
  display: flex; justify-content: space-between; align-items: end; gap: 2rem;
}
.hero__intro p { margin: 0; }
.hero__intro .body-copy { max-width: 34ch; color: var(--ink-soft); }
.hero__scrim {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background:
    radial-gradient(90% 72% at 0% 100%, rgba(18, 15, 12, 0.72), rgba(18, 15, 12, 0) 72%),
    linear-gradient(to top, rgba(18, 15, 12, 0.78) 0%, rgba(18, 15, 12, 0.44) 32%, rgba(18, 15, 12, 0) 60%);
}
.hero__title {
  position: absolute; z-index: 4; left: var(--sc-gutter); max-width: calc(100% - 2 * var(--sc-gutter));
  bottom: clamp(2rem, 9vh, 6rem); color: var(--bone);
  display: grid; gap: 1.25rem; justify-items: start;
}
.hero__title .display { font-size: clamp(3rem, 9vw, 9.5rem); line-height: 1.02; letter-spacing: -0.03em; padding-bottom: 0.1em; }
.hero__title .link { font-size: 0.9375rem; }
@media (max-width: 860px) {
  .hero__intro { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
}

/* ----------------------------------------------------------- manifesto -- */
.manifesto { padding: clamp(6rem, 16vh, 12rem) 0 clamp(5rem, 12vh, 9rem); }
.manifesto__grid {
  max-width: var(--sc-maxw); margin: 0 auto; padding-inline: var(--sc-gutter);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 3rem;
}
.manifesto__line {
  grid-column: 1 / span 11;
  font-size: clamp(2.6rem, 7.4vw, 8.4rem);
  line-height: 1.04; letter-spacing: -0.03em;
}
.manifesto__line em { letter-spacing: -0.02em; }
.pill {
  display: inline-block; position: relative;
  width: 1.72em; height: 0.8em; margin-inline: 0.06em;
  vertical-align: 0.02em;
  border-radius: 999px; overflow: hidden;
  background: var(--bone-2);
  box-shadow: inset 0 0 0 1px rgba(20, 18, 16, 0.08);
  transform: translateZ(0);
}
.pill video, .pill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.manifesto__aside { grid-column: 7 / span 5; display: grid; gap: 1.5rem; align-content: start; }
@media (max-width: 860px) {
  .manifesto__line { grid-column: 1 / -1; }
  .manifesto__aside { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------ lookbook -- */
.look { background: var(--bone); }
.look__stage { display: flex; flex-direction: column; justify-content: center; }
.look__rail {
  align-items: center; gap: clamp(2.5rem, 5vw, 6rem);
  padding: calc(var(--nav-h) + 1vh) var(--sc-gutter) 7vh;
  height: 100%;
}
.look__lead { flex: 0 0 min(30rem, 34vw); display: grid; gap: 1.5rem; align-content: center; }
.look__lead .display { font-size: clamp(2.4rem, 4.6vw, 4.8rem); }
.look__card { flex: 0 0 auto; display: grid; gap: 1rem; margin: 0; }
.look__card:nth-of-type(even) { transform: translateY(3vh); }
.look__frame {
  position: relative; overflow: hidden;
  height: min(62svh, 48rem); aspect-ratio: 3 / 4; background: var(--bone-2);
}
.look__card--tall .look__frame { height: min(68svh, 52rem); }
.look__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; }
.look__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; max-width: 100%; }
.look__cap .display { font-size: 1.5rem; font-style: italic; }
.look__cap p { margin: 0; font-size: 0.8125rem; color: var(--ink-soft); }
.look__end { flex: 0 0 min(26rem, 30vw); display: grid; gap: 1.25rem; align-content: center; padding-right: var(--sc-gutter); }
.look__end .display { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.look__progress {
  position: absolute; left: var(--sc-gutter); right: var(--sc-gutter); bottom: 3vh;
  height: 1px; background: var(--hair);
}
.look__progress span {
  position: absolute; inset: 0; background: var(--ink); transform-origin: left;
  transform: scaleX(var(--sc-p, 0));
}
/* hotspots: a ring and a point. The label appears on hover/focus. */
.spot {
  position: absolute; z-index: 2; width: 2.75rem; height: 2.75rem; margin: -1.375rem 0 0 -1.375rem;
  display: grid; place-items: center; border-radius: 50%;
  color: var(--bone);
}
.spot::before {
  content: ""; position: absolute; inset: 0.55rem; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(234, 230, 222, 0.9), 0 1px 6px rgba(20, 18, 16, 0.28);
  background: rgba(20, 18, 16, 0.18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform 220ms var(--ease), background-color 220ms var(--ease);
}
.spot::after {
  content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--bone);
  position: relative;
}
.spot__label {
  position: absolute; left: calc(100% - 0.4rem); top: 50%; transform: translate(-4px, -50%);
  white-space: nowrap; padding: 0.45rem 0.7rem; background: var(--bone); color: var(--ink);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
  opacity: 0; pointer-events: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}
.spot:focus-visible .spot__label { opacity: 1; transform: translate(0, -50%); }
@media (hover: hover) and (pointer: fine) {
  .spot:hover::before { transform: scale(1.18); background: rgba(20, 18, 16, 0.32); }
  .spot:hover .spot__label { opacity: 1; transform: translate(0, -50%); }
}
.spot:active::before { transform: scale(0.94); }

/* phone: the rail is a native, swipeable, snapping scroller */
.look--rail .look__stage { position: static; height: auto; overflow: visible; }
.look--rail { padding: clamp(5rem, 12vh, 7rem) 0 3rem; }
.look--rail .look__rail {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--sc-gutter);
  gap: 1rem; padding: 0 var(--sc-gutter) 1.5rem; height: auto; align-items: start;
  scrollbar-width: none; touch-action: pan-x pan-y;
}
.look--rail .look__rail::-webkit-scrollbar { display: none; }
.look--rail .look__lead { flex: 0 0 min(72vw, 28rem); scroll-snap-align: start; align-self: center; }
.look--rail .look__card { flex: 0 0 min(78vw, 30rem); scroll-snap-align: start; }
.look--rail .look__card:nth-of-type(even) { transform: none; }
.look--rail .look__frame, .look--rail .look__card--tall .look__frame { height: auto; width: 100%; }
.look--rail .look__frame img { transform: none; }
.look--rail .look__end { flex: 0 0 min(70vw, 26rem); scroll-snap-align: start; align-self: center; }
.look--rail .look__progress { position: relative; left: auto; right: auto; bottom: auto; margin: 0 var(--sc-gutter); }
.look--rail .look__progress span { transform: scaleX(var(--rail-p, 0)); }
@media (prefers-reduced-motion: reduce) {
  .look__frame img { transform: none !important; }
  .look__card:nth-of-type(even) { transform: none; }
}

/* ----------------------------------------------------------- the cloth -- */
.cloth { padding: clamp(5rem, 14vh, 10rem) 0; }
.cloth__grid {
  max-width: var(--sc-maxw); margin: 0 auto; padding-inline: var(--sc-gutter);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2.5rem; align-items: center;
}
.cloth__media { grid-column: 1 / span 7; position: relative; margin: 0; }
.cloth__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0f0d0b; cursor: none; }
.cloth__photo img { width: 100%; height: 100%; object-fit: cover; }
.cloth__lens { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cloth__handle {
  position: absolute; left: 0; top: 0; width: 180px; height: 180px; margin: -90px 0 0 -90px;
  border-radius: 50%; touch-action: none; display: none;
}
@media (hover: none), (pointer: coarse) {
  .cloth__photo { cursor: auto; }
  .cloth__handle { display: block; }
}
.cloth__hint { margin-top: 1rem; font-size: 0.8125rem; color: var(--bone-soft); }
.cloth__text { grid-column: 9 / span 4; display: grid; gap: 1.75rem; }
.cloth__text .display { font-size: clamp(2.4rem, 4.2vw, 4.4rem); }
.specs { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--hair); }
.specs div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.9rem 0; }
.specs div + div { border-top: 1px solid var(--hair); }
.specs dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-ink-soft); padding-top: 0.2rem; }
.specs dd { margin: 0; font-size: 0.9375rem; }
@media (max-width: 960px) {
  .cloth__media, .cloth__text { grid-column: 1 / -1; }
}

/* ------------------------------------------------------- atelier table -- */
.table {
  position: relative; min-height: max(100svh, 46rem); overflow: hidden;
  background: #b58f64 url("../media/img/atelier-table-1040.webp") center / cover no-repeat;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center; gap: clamp(1rem, 3vw, 3rem);
  padding: calc(var(--nav-h) + 2rem) var(--sc-gutter) 3rem;
}
@media (min-width: 1100px) { .table { background-image: url("../media/img/atelier-table-1932.webp"); } }
.table::before { /* a soft top-light so the docket and the coat sit in the same room */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 50% 40%, rgba(255, 244, 226, 0.14), rgba(40, 26, 12, 0.22) 100%);
}
.table__swatches { position: relative; z-index: 2; display: grid; gap: clamp(0.9rem, 2.4vh, 1.6rem); justify-items: start; list-style: none; margin: 0; padding: 0 0 0 clamp(0rem, 3vw, 3rem); }
.swatch {
  position: relative; display: grid; gap: 0.5rem; justify-items: start; text-align: left;
  touch-action: none; cursor: grab;
}
.swatch:active { cursor: grabbing; }
.swatch__cloth {
  width: clamp(4.5rem, 7.2vw, 6.5rem); aspect-ratio: 1; display: block;
  background-size: 160%; background-position: center;
  box-shadow: 0 1px 1px rgba(40, 24, 10, 0.3), 0 6px 14px -4px rgba(40, 24, 10, 0.45);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
  /* pinked edge, like a cut swatch */
  clip-path: polygon(0 3%, 3% 0, 6% 3%, 9% 0, 12% 3%, 15% 0, 18% 3%, 21% 0, 24% 3%, 27% 0, 30% 3%, 33% 0, 36% 3%, 39% 0, 42% 3%, 45% 0, 48% 3%, 51% 0, 54% 3%, 57% 0, 60% 3%, 63% 0, 66% 3%, 69% 0, 72% 3%, 75% 0, 78% 3%, 81% 0, 84% 3%, 87% 0, 90% 3%, 93% 0, 96% 3%, 100% 0, 100% 100%, 0 100%);
}
.swatch__name {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--bone); color: var(--ink); padding: 0.3rem 0.5rem;
}
.swatch[aria-pressed="true"] .swatch__name { background: var(--ink); color: var(--bone); }
.swatch.is-lifted .swatch__cloth { transform: scale(1.08) rotate(-3deg); box-shadow: 0 2px 2px rgba(40, 24, 10, 0.25), 0 22px 40px -10px rgba(40, 24, 10, 0.55); }
.swatch.is-dragging { z-index: 30; transition: none; }
.swatch.is-returning { transition: transform 460ms var(--ease-drawer); }
@media (hover: hover) and (pointer: fine) {
  .swatch:not(.is-dragging):hover .swatch__cloth { transform: translateY(-3px) rotate(-1.5deg); }
}
.table__coat { position: relative; z-index: 1; justify-self: center; width: min(100%, 30rem); aspect-ratio: 3 / 4; }
.table__coat canvas, .table__coat .coat-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  filter: drop-shadow(0 18px 22px rgba(46, 28, 12, 0.42)) drop-shadow(0 2px 3px rgba(46, 28, 12, 0.35));
}
.table__coat .coat-img { object-fit: contain; opacity: 0; transition: opacity 520ms var(--ease); }
.table__coat .coat-img.is-on { opacity: 1; }
.table__coat.is-target::after {
  content: ""; position: absolute; inset: -3%; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(234, 230, 222, 0.8);
  animation: target 900ms var(--ease) infinite alternate;
}
@keyframes target { from { opacity: 0.4; } to { opacity: 1; } }
.docket {
  position: relative; z-index: 2; justify-self: end;
  width: min(100%, 23rem); padding: 1.75rem 1.75rem 1.5rem;
  background: var(--bone); color: var(--ink);
  box-shadow: 0 1px 2px rgba(40, 24, 10, 0.25), 0 24px 44px -18px rgba(40, 24, 10, 0.55);
  transform: rotate(0.8deg);
  display: grid; gap: 1.1rem;
}
.docket__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--hair); padding-bottom: 0.9rem; }
.docket__cloth { font-size: clamp(2.6rem, 4vw, 3.6rem); font-style: italic; line-height: 1; min-height: 1.05em; }
.docket__note { margin: 0; color: var(--ink-soft); font-size: 0.875rem; min-height: 2.8em; }
.docket__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.875rem; }
.docket .btn { text-transform: none; letter-spacing: 0.01em; font-size: 0.875rem; padding-inline: 1rem; }
@media (max-width: 960px) {
  .table { grid-template-columns: 1fr; justify-items: center; gap: 1.5rem; padding-top: calc(var(--nav-h) + 1.5rem); }
  .table__coat { width: min(76vw, 24rem); order: 1; }
  .table__swatches { order: 2; grid-auto-flow: column; padding: 0; justify-content: center; gap: 0.75rem; }
  .swatch { justify-items: center; }
  .swatch__cloth { width: 4rem; }
  .docket { order: 3; justify-self: center; transform: none; }
}

/* ------------------------------------------------------------ the turn -- */
.turn__stage { background: #D3C9BB; color: var(--ink); --sc-ink-soft: #4F4943; }
.turn__film {
  position: absolute; inset: 0; margin: 0 auto; height: 100%;
  width: min(100%, calc(100svh * 0.5625));
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
}
.turn__film > :is(video, img) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.turn__head { position: absolute; z-index: 3; left: var(--sc-gutter); top: calc(var(--nav-h) + 3vh); display: grid; gap: 0.75rem; max-width: 22rem; }
.turn__head .display { font-size: clamp(2rem, 3.4vw, 3.4rem); }
.note {
  position: absolute; z-index: 3; width: min(20rem, 26vw);
  display: grid; gap: 0.4rem; opacity: 0; transform: translateY(10px);
  transition: opacity 360ms var(--ease), transform 360ms var(--ease);
}
.note.is-on { opacity: 1; transform: none; }
.note::before { content: ""; height: 1px; background: var(--ink); width: 3.5rem; margin-bottom: 0.6rem; transform-origin: left; transform: scaleX(0); transition: transform 420ms var(--ease) 60ms; }
.note.is-on::before { transform: scaleX(1); }
.note--r { text-align: left; }
.note--l { text-align: right; justify-items: end; }
.note--l::before { transform-origin: right; }
.note h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 400; font-style: italic; font-size: 1.6rem; line-height: 1.1; }
.note p { margin: 0; font-size: 0.875rem; color: #4F4943; }
.note--a { right: calc(50% + min(15rem, 27svh)); top: 38%; }
.note--b { left: calc(50% + min(15rem, 27svh)); top: 56%; }
.note--c { left: calc(50% + min(15rem, 27svh)); top: 24%; }
.note--d { right: calc(50% + min(15rem, 27svh)); top: 66%; }
.dial { position: absolute; z-index: 3; right: var(--sc-gutter); top: calc(var(--nav-h) + 3vh); display: grid; justify-items: center; gap: 0.6rem; }
.dial svg { width: 4.5rem; height: 4.5rem; overflow: visible; }
.dial__deg { font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.turn__cta { position: absolute; z-index: 3; left: var(--sc-gutter); bottom: 5vh; }
@media (max-width: 860px) {
  .turn__film { width: 100%; -webkit-mask-image: none; mask-image: none; top: calc(var(--nav-h) + 5rem); height: auto; bottom: 0; }
  .turn__head { top: calc(var(--nav-h) + 0.5rem); max-width: 64vw; background: rgba(234,230,222,0.9); padding: 0.8rem 1rem; }
  .turn__head .display { font-size: 1.45rem; }
  .turn__head .body-copy { display: none; }
  .note, .note--l { left: var(--sc-gutter); right: var(--sc-gutter); top: auto; bottom: 7.5rem; width: auto; text-align: left; justify-items: start;
    background: rgba(234, 230, 222, 0.9); padding: 1rem 1.1rem; }
  .note::before { display: none; }
  .note h3 { font-size: 1.3rem; }
  .dial { top: calc(var(--nav-h) + 1rem); }
  .dial svg { width: 3.25rem; height: 3.25rem; }
  .turn__cta { bottom: 2.5rem; background: var(--bone); padding: 0 1rem; }
}

/* ---------------------------------------------------------- the pieces -- */
.pieces { padding: clamp(5rem, 12vh, 9rem) 0 clamp(5rem, 12vh, 8rem); }
.pieces__in { max-width: var(--sc-maxw); margin: 0 auto; padding-inline: var(--sc-gutter); }
.pieces__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.pieces__head .display { font-size: clamp(2.6rem, 5.6vw, 5.8rem); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 5vh, 4rem) clamp(1rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.grid > li { min-width: 0; }
.grid > li.is-entering { animation: cardIn 320ms var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { display: grid; gap: 0.9rem; }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #D8CFC2; display: block; }
.card__media > img, .card__media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__alt { opacity: 0; transition: opacity 420ms var(--ease); }
.card.is-hover .card__alt { opacity: 1; }
.card__quick {
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 3;
  background: var(--bone); color: var(--ink);
  padding: 0.9rem; display: grid; gap: 0.75rem;
  transform: translateY(calc(100% + 1rem)); transition: transform 280ms var(--ease-drawer);
}
.card.is-quick .card__quick { transform: none; }
.card__quick .chips { gap: 0.35rem; }
.card__quick .chip { min-height: 2.5rem; width: auto; flex: 1 1 0; min-width: 2.5rem; padding: 0 0.25rem; font-size: 0.75rem; }
.card__quick-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.card__plus {
  position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 2;
  min-height: 2.75rem; padding: 0 1rem; background: var(--bone); color: var(--ink);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  transition: transform 140ms var(--ease), opacity 200ms var(--ease);
}
.card__plus:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .card__plus { opacity: 0; transform: translateY(4px); }
  .card:hover .card__plus, .card:focus-within .card__plus { opacity: 1; transform: none; }
}
.card.is-quick .card__plus { opacity: 0; pointer-events: none; }
.card__meta { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 1rem; }
.card__name { margin: 0; font-family: var(--sc-font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.15; }
.card__name a { color: inherit; text-decoration: none; }
.card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__media-link { position: absolute; inset: 0; z-index: 1; }
.card__sub { margin: 0; grid-column: 1; font-size: 0.8125rem; color: var(--ink-soft); }
.card__price { grid-row: 1; grid-column: 2; font-size: 0.9375rem; font-weight: 500; }
.dots { display: flex; gap: 0.4rem; grid-column: 1 / -1; margin-top: 0.4rem; }
.dot {
  width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 50%; position: relative; z-index: 2;
}
.dot::before { content: ""; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(20,18,16,0.25); }
.dot[aria-pressed="true"]::after { content: ""; position: absolute; inset: 0.2rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 560px) {
  .card__name { font-size: 1.1rem; }
  .card__meta { grid-template-columns: 1fr; }
  .card__price { grid-row: auto; grid-column: 1; }
  .card__plus { right: 0.5rem; bottom: 0.5rem; min-height: 2.5rem; padding: 0 0.75rem; }
  .card__quick { left: 0.4rem; right: 0.4rem; bottom: 0.4rem; padding: 0.6rem; }
  .card__quick .chips { display: grid; grid-template-columns: repeat(3, 1fr); }
}

/* ------------------------------------------------------------ campaign -- */
.campaign { position: relative; height: 100svh; min-height: 32rem; overflow: hidden; background: var(--char); }
.campaign video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.campaign__hit { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; cursor: none; }
@media (hover: none), (pointer: coarse) { .campaign__hit { cursor: auto; } }
.campaign__scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(18, 15, 12, 0.7), rgba(18, 15, 12, 0.2) 38%, rgba(18, 15, 12, 0) 60%); transition: opacity 600ms var(--ease); }
.campaign.is-playing .campaign__scrim { opacity: 0.5; }
.campaign__cap { position: absolute; z-index: 4; left: var(--sc-gutter); right: var(--sc-gutter); bottom: clamp(1.5rem, 6vh, 4rem); display: flex; justify-content: space-between; align-items: end; gap: 2rem; pointer-events: none; color: var(--bone); }
.campaign__cap .display { font-size: clamp(2.2rem, 5vw, 5rem); font-style: italic; }
.campaign__cap .label { color: var(--bone-soft); }
.cursor {
  position: fixed; left: 0; top: 0; z-index: var(--z-cursor); pointer-events: none;
  width: 7.5rem; height: 7.5rem; margin: -3.75rem 0 0 -3.75rem; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); background: var(--bone);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0; transform: translate3d(-200px, -200px, 0) scale(0.6);
  transition: opacity 220ms var(--ease), scale 220ms var(--ease);
}
.cursor.is-on { opacity: 1; }
.campaign__play {
  position: absolute; z-index: 4; left: 50%; top: 50%; translate: -50% -50%;
  width: 7.5rem; height: 7.5rem; border-radius: 50%; display: none; place-items: center;
  background: var(--bone); color: var(--ink); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  pointer-events: none; transition: opacity 240ms var(--ease);
}
.campaign.is-playing .campaign__play { opacity: 0; }
@media (hover: none), (pointer: coarse) { .campaign__play { display: grid; } }
@media (prefers-reduced-motion: reduce) { .campaign__play { display: grid; } .cursor { display: none; } .campaign__hit { cursor: pointer; } }

/* ------------------------------------------------------------- journal -- */
.journal { padding: clamp(5rem, 14vh, 10rem) 0; }
.journal__in {
  max-width: var(--sc-maxw); margin: 0 auto; padding-inline: var(--sc-gutter);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 3.5rem;
}
.journal__head { grid-column: 1 / span 6; }
.journal__head .display { font-size: clamp(2.6rem, 5.6vw, 5.8rem); }
.story { display: grid; gap: 1rem; align-content: start; margin: 0; }
.story--lead { grid-column: 1 / span 7; grid-row: 2 / span 2; }
.story--b { grid-column: 9 / span 4; grid-row: 2; }
.story--c { grid-column: 9 / span 4; grid-row: 3; }
.story__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bone-2); }
.story--lead .story__media { aspect-ratio: 4 / 5; }
.story__media > :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
.story--lead h3 { font-size: clamp(2rem, 3.4vw, 3.4rem); }
.story p { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.story .link { justify-self: start; }
@media (max-width: 860px) {
  .journal__head, .story--lead, .story--b, .story--c { grid-column: 1 / -1; grid-row: auto; }
  .story--lead .story__media { aspect-ratio: 4 / 5; }
}

/* ----------------------------------------------------------- colophon -- */
.colophon { padding-top: clamp(5rem, 12vh, 8rem); overflow: hidden; }
.colophon__in {
  max-width: var(--sc-maxw); margin: 0 auto; padding-inline: var(--sc-gutter);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 3rem;
}
.letter { grid-column: 1 / span 5; display: grid; gap: 1.25rem; align-content: start; }
.letter .display { font-size: clamp(2rem, 3.2vw, 3.2rem); }
.letter form { display: grid; gap: 0.5rem; margin-top: 0.5rem; }
.letter label { font-size: 0.8125rem; font-weight: 600; }
.letter__row { display: flex; gap: 0; box-shadow: inset 0 -1px 0 var(--hair-strong); }
.letter input {
  flex: 1; min-width: 0; min-height: 3.25rem; background: transparent; border: 0; color: var(--sc-ink);
  padding: 0 0.25rem; outline: none; border-radius: 0;
}
.letter input::placeholder { color: var(--bone-soft); opacity: 1; }
.letter__row:focus-within { box-shadow: inset 0 -2px 0 var(--sc-accent); }
.letter button { min-height: 3.25rem; padding: 0 0.25rem 0 1rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-ink); }
.letter__ok { margin: 0; font-family: var(--sc-font-display); font-style: italic; font-size: 1.4rem; }
.cols { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.cols h3 { margin: 0 0 1rem; }
.cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.cols a, .cols button { color: var(--sc-ink); text-decoration: none; font-size: 0.9375rem; padding: 0.3rem 0; display: inline-block; text-align: left; }
@media (hover: hover) and (pointer: fine) { .cols a:hover, .cols button:hover { text-decoration: underline; text-underline-offset: 0.3em; } }
.colophon__small { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.8125rem; color: var(--sc-ink-soft); border-top: 1px solid var(--hair); padding-top: 1.25rem; }
.colophon__small p { margin: 0; }
.giant {
  font-family: var(--sc-font-display); font-weight: 500; font-variation-settings: "opsz" 96;
  font-size: 29.5vw; line-height: 0.74; letter-spacing: -0.035em;
  margin: 3rem 0 0; text-align: center; white-space: nowrap;
  height: 0.62em; overflow: hidden; color: var(--bone);
  user-select: none;
}
@media (max-width: 860px) {
  .letter, .cols { grid-column: 1 / -1; }
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------ layers: shared --
   Bag drawer, quick view, search, size guide, menu. One mechanism. */
.layer { position: fixed; inset: 0; z-index: var(--z-layer); visibility: hidden; }
.layer.is-open { visibility: visible; }
.layer__scrim {
  position: absolute; inset: 0; background: rgba(20, 18, 16, 0.42); opacity: 0;
  transition: opacity 320ms var(--ease);
}
.layer.is-open .layer__scrim { opacity: 1; }
.panel {
  position: absolute; background: var(--bone); color: var(--ink);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(20, 18, 16, 0.06), -24px 0 60px -20px rgba(20, 18, 16, 0.35);
}
.panel--right {
  top: 0; right: 0; bottom: 0; width: min(100%, 28rem);
  transform: translate3d(100%, 0, 0); transition: transform 420ms var(--ease-drawer);
}
.layer.is-open .panel--right { transform: none; }
.panel--center {
  left: 50%; top: 50%; width: min(calc(100% - 2rem), 52rem); max-height: min(88svh, 46rem);
  opacity: 0; transform: translate(-50%, -48%) scale(0.98); transition: opacity 260ms var(--ease), transform 320ms var(--ease);
}
.layer.is-open .panel--center { opacity: 1; transform: translate(-50%, -50%); }
.panel--top {
  top: 0; left: 0; right: 0; max-height: 80svh;
  transform: translate3d(0, -100%, 0); transition: transform 380ms var(--ease-drawer);
  padding-top: env(safe-area-inset-top, 0px);
}
.layer.is-open .panel--top { transform: none; }
@media (max-width: 640px) {
  .panel--center {
    left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 90svh;
    transform: translate3d(0, 100%, 0); opacity: 1; transition: transform 420ms var(--ease-drawer);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .layer.is-open .panel--center { transform: none; }
}
.panel__head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--hair); flex: 0 0 auto;
}
.panel__head h2 { margin: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.panel__close { font-size: 0.8125rem; font-weight: 500; padding: 0.6rem 0; min-height: 2.75rem; }
@media (hover: hover) and (pointer: fine) { .panel__close:hover { text-decoration: underline; text-underline-offset: 0.3em; } }
.panel__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem; }
.panel__foot { flex: 0 0 auto; border-top: 1px solid var(--hair); padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); display: grid; gap: 0.9rem; }
@media (prefers-reduced-motion: reduce) {
  .panel--right, .panel--center, .panel--top { transition: opacity 200ms ease; transform: none !important; }
  .layer:not(.is-open) .panel { opacity: 0; }
  .panel--center { translate: -50% -50%; }
  @media (max-width: 640px) { .panel--center { translate: none; } }
}

/* bag */
.bag-views { position: relative; flex: 1 1 auto; display: grid; min-height: 0; }
.bag-view { grid-area: 1 / 1; display: flex; flex-direction: column; min-height: 0; transition: opacity 240ms var(--ease), transform 300ms var(--ease); }
.bag-view[hidden] { display: none; }
.bag-empty { display: grid; gap: 1rem; align-content: center; justify-items: start; min-height: 40svh; }
.bag-empty .display { font-size: 2rem; font-style: italic; }
.line-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.line { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; }
.line.is-leaving { animation: lineOut 220ms var(--ease) forwards; }
@keyframes lineOut { to { opacity: 0; transform: translateX(12px); } }
.line img { width: 5.5rem; aspect-ratio: 3 / 4; object-fit: cover; background: #D8CFC2; }
.line__top { display: flex; justify-content: space-between; gap: 1rem; }
.line h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.15; }
.line__meta { margin: 0.2rem 0 0.8rem; font-size: 0.8125rem; color: var(--ink-soft); }
.line__ctl { display: flex; justify-content: space-between; align-items: center; }
.qty { display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--hair-strong); }
.qty button { width: 2.5rem; height: 2.5rem; font-size: 1rem; transition: background-color 140ms var(--ease); }
.qty button:active { background: var(--bone-2); }
.qty output { min-width: 2rem; text-align: center; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.line__remove { font-size: 0.8125rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 0.3em; min-height: 2.5rem; }
.sum { display: flex; justify-content: space-between; font-size: 0.9375rem; }
.sum strong { font-weight: 600; }
.ship-note { margin: 0; font-size: 0.8125rem; color: var(--ink-soft); }
.form-grid { display: grid; gap: 1rem; }
.form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fld { display: grid; gap: 0.35rem; }
.fld label { font-size: 0.8125rem; font-weight: 600; }
.fld input, .fld select {
  min-height: 3rem; padding: 0 0.85rem; background: #F3F0EA; color: var(--ink);
  border: 0; box-shadow: inset 0 0 0 1px var(--hair-strong); border-radius: 0; outline: none;
}
.fld input:focus-visible, .fld select:focus-visible { box-shadow: inset 0 0 0 2px var(--rust); outline: none; }
.fld[data-invalid] input { box-shadow: inset 0 0 0 1px var(--rust); }
.fld .field-error { margin: 0; min-height: 0; }
.demo-note { margin: 0; font-size: 0.8125rem; color: var(--ink-soft); padding: 0.85rem 1rem; box-shadow: inset 0 0 0 1px var(--hair); }
.confirm { display: grid; gap: 1.25rem; align-content: start; }
.confirm .display { font-size: clamp(2.2rem, 6vw, 3rem); font-style: italic; }
.confirm__no { font-variant-numeric: tabular-nums; font-weight: 600; }

/* quick view */
.qv { display: grid; gap: 2rem; }
.qv__piece { display: grid; grid-template-columns: minmax(0, 11rem) 1fr; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--hair); }
.qv__piece:last-child { border-bottom: 0; padding-bottom: 0; }
.qv__piece.is-focus { order: -1; }
.qv__piece img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #D8CFC2; }
.qv__info { display: grid; gap: 0.9rem; align-content: start; }
.qv__info h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 400; font-size: 1.8rem; line-height: 1.05; }
.qv__info p { margin: 0; color: var(--ink-soft); font-size: 0.875rem; }
@media (max-width: 560px) { .qv__piece { grid-template-columns: 7rem 1fr; gap: 1rem; } .qv__info h3 { font-size: 1.4rem; } }

/* search */
.search { max-width: var(--sc-maxw); margin: 0 auto; width: 100%; padding: 1.25rem var(--sc-gutter) 2rem; display: grid; gap: 1.25rem; }
.search__row { display: flex; align-items: center; gap: 1rem; box-shadow: inset 0 -1px 0 var(--hair-strong); }
.search__row:focus-within { box-shadow: inset 0 -2px 0 var(--rust); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font-family: var(--sc-font-display); font-size: clamp(1.8rem, 4vw, 3rem); padding: 0.5rem 0; outline: none; border-radius: 0; }
.search__results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1.25rem; }
.search__results a, .search__results button { display: grid; grid-template-columns: 3.5rem 1fr; gap: 0.9rem; align-items: center; text-decoration: none; color: inherit; text-align: left; width: 100%; padding: 0.25rem; }
.search__results img { width: 3.5rem; aspect-ratio: 3 / 4; object-fit: cover; background: #D8CFC2; }
.search__results strong { display: block; font-family: var(--sc-font-display); font-weight: 400; font-size: 1.15rem; }
.search__results span { font-size: 0.8125rem; color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .search__results a:hover strong, .search__results button:hover strong { text-decoration: underline; text-underline-offset: 0.2em; } }

/* size guide */
.size-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.size-table th, .size-table td { text-align: left; padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--hair); }
.size-table th { font-weight: 600; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.size-table tbody th { color: var(--ink); font-size: 0.875rem; letter-spacing: 0; text-transform: none; }

/* mobile menu */
.menu-list { list-style: none; margin: 0; padding: 1rem var(--sc-gutter) 2.5rem; display: grid; gap: 0.25rem; }
.menu-list a { font-family: var(--sc-font-display); font-size: 2.6rem; line-height: 1.2; color: var(--ink); text-decoration: none; display: block; padding: 0.2rem 0; }
.layer.is-open .menu-list li { animation: menuIn 420ms var(--ease) both; }
.layer.is-open .menu-list li:nth-child(2) { animation-delay: 40ms; }
.layer.is-open .menu-list li:nth-child(3) { animation-delay: 80ms; }
.layer.is-open .menu-list li:nth-child(4) { animation-delay: 120ms; }
@keyframes menuIn { from { opacity: 0; transform: translateY(10px); } }

/* toast */
.toast {
  position: fixed; z-index: var(--z-toast); left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  background: var(--ink); color: var(--bone); padding: 0.9rem 1.2rem; font-size: 0.875rem;
  transform: translate(-50%, 140%); transition: transform 360ms var(--ease-drawer); pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); }

/* ------------------------------------------------------- product page -- */
.pdp { padding-top: calc(var(--nav-h) + 1.5rem); }
.pdp__in {
  max-width: var(--sc-maxw); margin: 0 auto; padding-inline: var(--sc-gutter);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2rem; align-items: start;
}
.crumbs { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--ink-soft); display: flex; gap: 0.5rem; flex-wrap: wrap; }
.crumbs a { color: inherit; }
.gallery { grid-column: 1 / span 7; display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; position: sticky; top: calc(var(--nav-h) + 1rem); }
.gallery__stage { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #D8CFC2; max-height: calc(100svh - var(--nav-h) - 3rem); width: 100%; justify-self: center; }
.gallery__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 520ms var(--ease), transform 900ms var(--ease); }
.gallery__stage img.is-out { opacity: 0; transform: scale(1.03); }
.gallery__stage img.is-sq { object-fit: cover; }
.thumbs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; align-content: start; grid-row: 1; grid-column: 1; }
.thumbs button { display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; position: relative; opacity: 0.62; transition: opacity 180ms var(--ease); background: #D8CFC2; }
.thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 1px var(--ink); }
@media (hover: hover) and (pointer: fine) { .thumbs button:hover { opacity: 1; } }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { grid-column: 9 / span 4; display: grid; gap: 1.6rem; position: sticky; top: calc(var(--nav-h) + 1rem); }
.buy h1 { font-size: clamp(3rem, 5vw, 4.8rem); }
.buy__price { font-size: 1.125rem; font-weight: 500; }
.buy__lede { margin: 0; color: var(--ink-soft); }
.opt { display: grid; gap: 0.75rem; }
.opt__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.8125rem; }
.opt__head strong { font-weight: 600; }
.opt__head button { text-decoration: underline; text-underline-offset: 0.3em; font-size: 0.8125rem; min-height: 2.5rem; }
.colours { display: flex; gap: 0.6rem; }
.colour {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0 1rem 0 0.5rem;
  box-shadow: inset 0 0 0 1px var(--hair-strong); font-size: 0.8125rem; font-weight: 500;
  transition: box-shadow 160ms var(--ease), transform 120ms var(--ease);
}
.colour:active { transform: scale(0.97); }
.colour__chip { width: 1.75rem; height: 1.75rem; background-position: center; background-size: 200%; box-shadow: inset 0 0 0 1px rgba(20,18,16,0.2); }
.colour[aria-checked="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.accordion { border-top: 1px solid var(--hair); }
.accordion details { border-bottom: 1px solid var(--hair); }
.accordion summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  min-height: 3.25rem; font-size: 0.875rem; font-weight: 600; cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-weight: 400; font-size: 1.1rem; transition: transform 240ms var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc__body { padding: 0 0 1.25rem; color: var(--ink-soft); font-size: 0.9375rem; }
.accordion .acc__body p { margin: 0; }
.pdp-turn__stage { background: #D3C9BB; }
.pdp-turn__stage .turn__film { width: min(100%, calc(100svh * 0.5625)); }
.pdp-turn__copy { position: absolute; z-index: 3; left: var(--sc-gutter); top: 50%; translate: 0 -50%; max-width: 22rem; display: grid; gap: 1rem; }
.pdp-turn__copy .display { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.with { padding: clamp(5rem, 12vh, 8rem) 0; }
.with .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .gallery, .buy { grid-column: 1 / -1; position: static; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { display: none; }
  .gallery__stage { display: none; }
  .gallery__rail { display: flex !important; }
  .pdp-turn__copy { top: auto; bottom: 3rem; translate: none; background: rgba(234,230,222,0.9); padding: 1rem 1.2rem; max-width: none; right: var(--sc-gutter); }
  .with .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.gallery__rail {
  display: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.5rem; margin: 0 calc(-1 * var(--sc-gutter)); padding: 0 var(--sc-gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.gallery__rail::-webkit-scrollbar { display: none; }
.gallery__rail img { flex: 0 0 86%; aspect-ratio: 3 / 4; object-fit: cover; scroll-snap-align: center; background: #D8CFC2; }

/* focus on every ground */
:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; border-radius: 0; }
.is-dark :focus-visible, .mast.is-on-dark :focus-visible { outline-color: var(--rust-light); }
.spot:focus-visible { outline-color: var(--bone); outline-offset: 0; border-radius: 50%; }

/* late additions */
@media (max-width: 860px) { .mast nav { display: none; } }
.table__coat.is-gl .coat-img { display: none; }

@media (max-width: 860px) {
  .campaign__cap { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
.skip:focus { position: fixed !important; left: 1rem; top: 1rem; width: auto; height: auto; clip: auto; margin: 0; padding: 0.75rem 1rem; background: var(--ink); color: var(--bone); z-index: 100; white-space: nowrap; }
