/* ==========================================================================
   LABC Studio design system (preview/store-revamp)
   One stylesheet for every revamp page. Tokens first, then a small set of
   components. No web fonts: ui-serif resolves to Apple's New York on iPhone,
   iPad and Mac, and the sans stack resolves to SF Pro - zero bytes, no swap.
   ========================================================================== */

:root {
  /* colour: a white gallery wall, warm plinths, black sculpture */
  --wall: #ffffff;
  --plinth: #f4f2ee;
  --plinth-2: #ebe8e2;
  --ink: #141312;
  --ink-2: #4f4b45;
  --ink-3: #6b665e;
  --line: rgba(20, 19, 18, .1);
  --line-2: rgba(20, 19, 18, .2);
  --focus: #2f5bd3;
  --ok: #2e6b3f;
  --warn: #8a3b1c;

  /* type */
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .78rem;     /* 12.5 */
  --fs-s: .875rem;     /* 14 */
  --fs-m: 1.0625rem;   /* 17, the iOS body size */
  --fs-l: 1.1875rem;   /* 19 */
  --fs-xl: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 1.3rem + 2vw, 2.625rem);
  --fs-3xl: clamp(2.25rem, 1.5rem + 3.4vw, 4rem);
  --fs-4xl: clamp(2.75rem, 1.6rem + 5.4vw, 5.5rem);
  --lh-tight: 1.06;
  --lh-snug: 1.25;
  --lh-body: 1.5;

  /* space: 4pt grid */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --gutter: clamp(20px, 5vw, 48px);
  --maxw: 1240px;
  --header-h: 52px;

  /* shape */
  --r-s: 10px; --r-m: 16px; --r-l: 24px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(20, 19, 18, .06), 0 2px 8px rgba(20, 19, 18, .05);
  --shadow-2: 0 12px 40px rgba(20, 19, 18, .16);

  /* motion: quick to start, soft to land */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.32, 1.28, .52, 1);
  --t-tap: 120ms;
  --t-fast: 180ms;
  --t-base: 280ms;
  --t-slow: 460ms;
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-tap: 0ms; --t-fast: 0ms; --t-base: 0ms; --t-slow: 0ms; }
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; }
}

/* ---- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--wall); color: var(--ink);
  font: 400 var(--fs-m)/var(--lh-body) var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-s); z-index: 100; }
.skip:focus { top: 8px; }

html, body { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -.012em; }
.eyebrow { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin: 0 0 var(--s3); }
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -.018em; line-height: var(--lh-tight); text-wrap: balance; }
.h1 { font-size: var(--fs-4xl); }
.h2 { font-size: var(--fs-3xl); }
.h3 { font-size: var(--fs-xl); line-height: var(--lh-snug); }
.lede { font-size: var(--fs-l); color: var(--ink-2); margin: var(--s4) 0 0; max-width: 34em; text-wrap: pretty; }
/* shop-wide Etsy rating line (numbers from data/reviews-summary.json, no names) */
.rating-line { margin: var(--s4) 0 0; font-size: var(--fs-s); color: var(--ink-2); }
.rating-line--buy { margin-top: var(--s4); }
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 4px; min-height: 44px; color: inherit; text-decoration: none; }
.rating b { font-weight: 600; color: var(--ink); }
.rating__star { color: var(--ink); font-size: 1em; line-height: 1; }
.rating:hover, .rating:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-s); }

/* ---- header ---------------------------------------------------------------- */
.s-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: #fff; /* opaque: a see-through bar let the big price ghost through while scrolling */
  border-bottom: 1px solid transparent; transition: border-color var(--t-base) var(--ease-out);
}
.s-header.is-scrolled { border-bottom-color: var(--line); }
.s-header .wrap { height: 100%; display: flex; align-items: center; gap: var(--s5); }
.s-mark { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; margin-right: auto; flex: none; }
.s-mark img { display: block; width: 40px; height: 40px; aspect-ratio: 1 / 1; object-fit: contain; }
@media (min-width: 600px) { .s-mark img { width: 44px; height: 44px; } }
@media (min-width: 900px) { .s-mark img { width: 48px; height: 48px; } }
.s-nav { display: flex; gap: var(--s5); }
.s-nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; text-decoration: none; font-size: var(--fs-s); color: var(--ink-2); padding: 0 4px; transition: color var(--t-fast); }
.s-nav a:hover, .s-nav a[aria-current="page"] { color: var(--ink); }
.s-icon { width: 44px; height: 44px; margin: 0 -10px 0 0; display: inline-grid; place-items: center; border: 0; background: none; border-radius: var(--r-pill); position: relative; text-decoration: none; }
.s-icon svg { width: 20px; height: 20px; }
.s-count { position: absolute; top: 6px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; line-height: 17px; text-align: center; transform: scale(0); transition: transform var(--t-base) var(--ease-spring); }
.s-count.on { transform: scale(1); }
.s-count.bump { animation: bump var(--t-slow) var(--ease-spring); }
@keyframes bump { 30% { transform: scale(1.35); } 100% { transform: scale(1); } }
@media (max-width: 600px) { .s-nav { gap: var(--s4); } .s-nav a.opt { display: none; } }
.s-header .wrap > * { flex: none; }
@media (max-width: 400px) { .s-header .wrap { gap: var(--s3); } .s-nav { gap: var(--s3); } }
@media (max-width: 360px) { .s-icon[href*="find="] { display: none; } }

/* ---- buttons ---------------------------------------------------------------- */
.btn {
  -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; padding: 0 var(--s6); border-radius: var(--r-pill); border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font-size: var(--fs-m); font-weight: 600; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  transition: transform var(--t-tap) var(--ease-out), background var(--t-fast), opacity var(--t-fast);
}
.btn:hover { background: #2a2826; }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--plinth); }
.btn--block { width: 100%; }
.link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.link:hover { text-decoration-color: currentColor; }
.chev::after { content: "\203A"; margin-left: .3em; font-size: 1.2em; line-height: 0; }

/* ---- plinth: the studio-white picture surface ---------------------------- */
.plinth { background: var(--plinth); border-radius: var(--r-m); overflow: hidden; position: relative; }
.plinth img, .plinth picture img { mix-blend-mode: multiply; width: 100%; height: 100%; object-fit: contain; }
.plinth--photo img { mix-blend-mode: normal; object-fit: cover; }

/* ---- product tiles ---------------------------------------------------------- */
.grid { display: grid; gap: var(--s6) var(--s4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7) var(--s5); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { display: block; text-decoration: none; color: inherit; }
.tile .plinth { aspect-ratio: 1; transition: transform var(--t-base) var(--ease-out); }
.tile .plinth img { transition: transform var(--t-slow) var(--ease-out); }
@media (hover: hover) { .tile:hover .plinth img { transform: scale(1.04); } }
.tile:active .plinth { transform: scale(.98); }
.tile h2, .tile h3 { font-size: var(--fs-m); font-weight: 600; margin: var(--s3) 0 2px; letter-spacing: -.01em; }
.tile p { margin: 0; font-size: var(--fs-s); color: var(--ink-3); }
.tile .flag { position: absolute; left: 10px; top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; background: #fff; border-radius: var(--r-pill); padding: 4px 9px; color: var(--ink-2); }

/* ---- chips + search --------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); padding: 2px 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 var(--s4); border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; font-size: var(--fs-s); font-weight: 500; scroll-snap-align: start; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.search { position: relative; }
.search input { width: 100%; height: 52px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; padding: 0 var(--s5) 0 48px; font-size: var(--fs-m); -webkit-appearance: none; appearance: none; }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20, 19, 18, .08); }
.search svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }

/* ---- sections --------------------------------------------------------------- */
.section { padding: var(--s8) 0; }
.section--tight { padding: var(--s6) 0; }
.section--plinth { background: var(--plinth); }
@media (max-width: 600px) { .section { padding: var(--s7) 0; } .section--tight { padding: var(--s5) 0; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 760px) { .rail { grid-auto-columns: 31%; } }
@media (min-width: 1100px) { .rail { grid-auto-columns: 23.5%; } }

/* ---- size picker ------------------------------------------------------------ */
.sizes { display: grid; gap: var(--s2); }
.size {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s1) var(--s4);
  width: 100%; text-align: left; min-height: 64px; padding: var(--s3) var(--s4);
  border: 1px solid var(--line-2); border-radius: var(--r-m); background: #fff;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-tap) var(--ease-out);
}
.size:active { transform: scale(.985); }
.size[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.size b { font-weight: 600; font-size: var(--fs-m); }
.size .dim { font-size: var(--fs-s); color: var(--ink-3); grid-column: 1; }
.size .amt { grid-row: 1 / span 2; grid-column: 2; font-weight: 600; font-variant-numeric: tabular-nums; }

/* to-scale stage: each size's own print file, rendered dead-on, side by side on one shelf.
   Plain dimension lines (height at the left, width underneath) and plain labels. The picture is the picker. */
.stage { position: relative; background: var(--plinth); border-radius: var(--r-l); padding: var(--s5) var(--s3) var(--s4); overflow: hidden; }
.stage__row { display: flex; align-items: flex-start; justify-content: center; gap: 10px; }
@media (min-width: 500px) { .stage__row { gap: 28px; } .stage { padding: var(--s6) var(--s4) var(--s5); } }
.sz { display: flex; flex-direction: column; align-items: center; margin: 0; padding: 0; border: 0; background: none; color: var(--ink-3); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sz__fig { display: flex; align-items: flex-end; justify-content: center; padding-left: 12px; }
.sz__art { position: relative; display: block; line-height: 0; flex: none; } /* never squeezed by the row: width and height are set together from real inches */
.sz__art picture, .sz__art img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* height line: thin rule with end ticks, 8px left of the piece */
.sz__h { position: absolute; left: -9px; top: 0; bottom: 0; width: 1px; background: currentColor; opacity: .55; }
.sz__h::before, .sz__h::after { content: ""; position: absolute; left: -3px; width: 7px; height: 1px; background: currentColor; }
.sz__h::before { top: 0; } .sz__h::after { bottom: 0; }
/* width line: thin rule with end ticks, just under the base */
.sz__w { position: absolute; left: 0; right: 0; bottom: -9px; height: 1px; background: currentColor; opacity: .55; }
.sz__w::before, .sz__w::after { content: ""; position: absolute; top: -3px; width: 1px; height: 7px; background: currentColor; }
.sz__w::before { left: 0; } .sz__w::after { right: 0; }
.sz__name { margin: 20px 0 6px; font-size: 16px; line-height: 20px; font-weight: 600; color: var(--ink-2, var(--ink)); }
.sz__dim { font-size: 16px; line-height: 18px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sz[aria-pressed="true"] .sz__name { color: var(--ink); font-weight: 700; } /* match pk-seg: bold, no underline (stacked "Up to"/"10 in" used to get two lines) */
.sz[aria-pressed="true"] .sz__dim { color: var(--ink-2, var(--ink)); }
/* custom size strip on phones: 'Up to' over '16 in', so four labels fit beside the mug */
.stage__row--tight .sz__dl { display: block; }
.stage--big .sz__name { font-size: 17px; line-height: 22px; }
.stage--big .sz__dim { font-size: 16px; line-height: 20px; }
.stage__cap { margin: var(--s4) 0 0; text-align: center; font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.4; }

/* segmented size control under the stage */
.segs { display: grid; gap: 4px; margin-top: var(--s3); padding: 4px; border-radius: 14px; background: var(--plinth); }
.seg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; padding: 6px 4px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2, var(--ink)); font: inherit; cursor: pointer; transition: background var(--t-fast), box-shadow var(--t-fast), transform var(--t-tap) var(--ease-out); }
.seg b { font-weight: 600; font-size: var(--fs-s); }
.seg span { font-size: var(--fs-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.seg[aria-checked="true"] { background: #fff; box-shadow: 0 1px 2px rgba(20,19,18,.08), 0 2px 8px rgba(20,19,18,.06); color: var(--ink); }
.seg[aria-checked="true"] span { color: var(--ink); }
.seg:active { transform: scale(.97); }
.size-cap { margin: var(--s3) 0 0; text-align: center; line-height: 1.35; min-height: 2.7em; }
.size-cap b { display: block; font-weight: 600; font-size: var(--fs-m); }
.size-cap span { display: block; font-size: var(--fs-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ar-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: var(--s3); border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; }
.ar-btn[hidden] { display: none; }

/* ---- sheets (bag, size guide, 3D) ------------------------------------------ */
.sheet-scrim { position: fixed; inset: 0; background: rgba(20, 19, 18, .32); opacity: 0; pointer-events: none; transition: opacity var(--t-base) var(--ease-out); z-index: 60; }
.sheet {
  position: fixed; z-index: 61; background: #fff; display: flex; flex-direction: column;
  left: 0; right: 0; bottom: 0; max-height: 92dvh; border-radius: var(--r-l) var(--r-l) 0 0;
  transform: translateY(102%); visibility: hidden; transition: transform var(--t-slow) var(--ease-out), visibility 0s linear var(--t-slow); box-shadow: var(--shadow-2);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 900px) {
  .sheet { left: auto; top: 0; width: 440px; max-height: none; border-radius: 0; transform: translateX(102%); }
  .sheet--center { top: 50%; left: 50%; right: auto; bottom: auto; width: min(880px, 92vw); max-height: 90vh; border-radius: var(--r-l); transform: translate(-50%, -46%) scale(.98); opacity: 0; transition: transform var(--t-base) var(--ease-out), opacity var(--t-base), visibility 0s linear var(--t-base); }
}
.sheet.open { transform: none; visibility: visible; transition-delay: 0s; }
@media (min-width: 900px) { .sheet--center.open { transform: translate(-50%, -50%); opacity: 1; } }
.sheet-scrim.open { opacity: 1; pointer-events: auto; }
.sheet__grab { width: 36px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 8px auto 0; }
@media (min-width: 900px) { .sheet__grab { display: none; } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s3) var(--s5); }
.sheet__head h2 { font: 600 var(--fs-l)/1.2 var(--sans); margin: 0; }
.sheet__x { width: 44px; height: 44px; margin-right: -12px; border: 0; background: none; border-radius: var(--r-pill); display: grid; place-items: center; }
.sheet__body { overflow-y: auto; padding: 0 var(--s5) var(--s5); overscroll-behavior: contain; }
.sheet__foot { padding: var(--s4) var(--s5) var(--s5); border-top: 1px solid var(--line); }
@media (max-width: 899px) { .sheet { overflow-y: auto; overscroll-behavior: contain; } .sheet__body { overflow: visible; flex: none; } }
body.locked { overflow: hidden; }
html:has(.flow) body.locked { overflow: auto; }

.line { display: grid; grid-template-columns: 76px 1fr auto; gap: var(--s4); align-items: center; padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.line .plinth { width: 76px; height: 76px; border-radius: var(--r-s); }
.line b { display: block; font-weight: 600; }
.line small { display: block; color: var(--ink-3); font-size: var(--fs-s); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-pill); margin-top: var(--s2); }
.qty button { width: 36px; height: 36px; border: 0; background: none; font-size: 18px; line-height: 1; border-radius: var(--r-pill); }
.qty output { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; font-size: var(--fs-s); }
.totals { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: var(--s2); font-variant-numeric: tabular-nums; }
.note-toggle { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0; }
.switch { position: relative; width: 51px; height: 31px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 16px; background: var(--plinth-2); transition: background var(--t-fast); pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform var(--t-base) var(--ease-spring); }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
textarea.field, input.field { width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-s); padding: var(--s3) var(--s4); font-size: var(--fs-m); background: #fff; }
textarea.field:focus, input.field:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20, 19, 18, .08); }
.notice { background: var(--plinth); border-radius: var(--r-s); padding: var(--s3) var(--s4); font-size: var(--fs-s); color: var(--ink-2); margin: var(--s3) 0 0; }

/* ---- sticky buy bar (phone) -------------------------------------------------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom, 0px));
  background: #fff; /* opaque, like the header: nothing ghosts through */
  border-top: 1px solid var(--line); display: flex; align-items: center; gap: var(--s4);
  transform: translateY(110%); transition: transform var(--t-base) var(--ease-out);
}
.buybar.on { transform: none; }
.buybar .sum { flex: 1; min-width: 0; line-height: 1.2; }
.buybar .sum b { display: block; font-variant-numeric: tabular-nums; }
.buybar .sum small { color: var(--ink-3); font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
@media (min-width: 900px) { .buybar { display: none; } }

/* ---- disclosure ---------------------------------------------------------------- */
.disclose { border-top: 1px solid var(--line); }
.disclose:last-child { border-bottom: 1px solid var(--line); }
.disclose summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; cursor: pointer; font-weight: 600; }
.disclose summary::-webkit-details-marker { display: none; }
.disclose summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; transition: transform var(--t-base) var(--ease-out); }
.disclose[open] summary::after { transform: rotate(45deg); }
.disclose .in { padding: 0 0 var(--s5); color: var(--ink-2); }
.disclose .in p { margin: 0 0 var(--s3); }

/* ---- reveal on scroll ---------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---- footer --------------------------------------------------------------------- */
.s-foot { border-top: 1px solid var(--line); padding: var(--s7) 0 calc(var(--s7) + 72px); font-size: var(--fs-s); color: var(--ink-3); }
.s-foot .cols { display: grid; gap: var(--s5); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .s-foot .cols { grid-template-columns: 2fr 1fr 1fr 1fr; } .s-foot { padding-bottom: var(--s7); } }
.s-foot h2 { font: 600 var(--fs-xs)/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0 0 var(--s3); }
.s-foot a { display: block; text-decoration: none; padding: 10px 0; min-height: 44px; }
.s-foot a:hover { color: var(--ink); }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-pill); font-size: var(--fs-s); opacity: 0; pointer-events: none; transition: opacity var(--t-base), transform var(--t-base) var(--ease-spring); z-index: 70; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---- custom flow: full-screen steps that snap and lock -------------------- */
/* no scroll snapping: a step taller than the screen (a picked photo) or the footer under the last open step made
   mandatory snapping pull the page back to the step top on iPhone; Continue already scrolls to the next step */
html:has(.flow) {
  scroll-padding-top: var(--header-h);
  /* keep Continue / Send clear of the home indicator, Safari toolbar, and (via keep-clear) the cookie card */
  scroll-padding-bottom: max(96px, calc(env(safe-area-inset-bottom, 0px) + 72px));
  overscroll-behavior-y: none;
}
/* Custom flow is a step wizard — the site footer below it let iPhone overscroll
   park Continue / Send under the sticky header with no snap-back (c084). */
html:has(.flow) .s-foot { display: none; }
.flow { position: relative; }
.flow .step {
  /* svh + dvh: iOS address-bar show/hide must not bury Continue / Send */
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  /* flex-start + column: center (row) alignment parked Continue mid-step; overscroll into the site footer then left it under the sticky header (Charles, Oct 27 2026, iPhone/iPad) */
  align-items: stretch;
  padding: var(--s7) 0 calc(var(--s8) + env(safe-area-inset-bottom, 0px));
  border-bottom: 1px solid var(--line);
  scroll-snap-align: none;
}
.flow .step__in {
  width: 100%; max-width: 640px; margin: 0 auto; padding: 0 var(--gutter);
  flex: 1 0 auto;
  display: flex; flex-direction: column;
}
.flow .step:not([data-step="1"]) .step__in { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-spring); }
.flow .step.step--in .step__in { opacity: 1; transform: none; }
.flow .display { font-family: var(--serif); font-weight: 500; font-size: var(--fs-3xl); line-height: var(--lh-tight); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.flow .lede { margin-bottom: var(--s6); }
.flow .display + .field, .flow .display + .stage, .flow .display + .pair { margin-top: var(--s6); }
.flow .field { display: grid; gap: var(--s2); margin: 0 0 var(--s5); }
.flow .field label { font-weight: 600; font-size: var(--fs-s); }
.flow .field input, .flow .field textarea { width: 100%; font: inherit; font-size: 1.0625rem; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: #fff; color: var(--ink); }
.flow .field input:focus, .flow .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20, 19, 18, .08); }
.flow .step__go {
  /* pin Continue/Send to the bottom of a short step so overscroll cannot park it above the viewport */
  margin-top: auto;
  padding-top: var(--s6);
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  scroll-margin-bottom: max(96px, calc(env(safe-area-inset-bottom, 0px) + 72px));
}
.flow .btn[disabled] { opacity: .32; pointer-events: none; }
.flow__err { color: #a33a22; font-size: var(--fs-s); margin: var(--s3) 0 0; }
.flow__bar { position: fixed; left: 0; right: 0; top: var(--header-h); height: 2px; z-index: 40; background: transparent; }
.flow__bar i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(.04); transition: transform var(--t-slow) var(--ease-out); }
.flow__dots { position: fixed; right: max(14px, env(safe-area-inset-right)); top: 50%; transform: translateY(-50%); z-index: 40; list-style: none; margin: 0; padding: 0; display: none; gap: 14px; flex-direction: column; }
@media (min-width: 760px) { .flow__dots { display: flex; } }
.flow__dots li { position: relative; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink-3); cursor: pointer; transition: transform var(--t-fast) var(--ease-spring), background var(--t-fast); }
.flow__dots li.done { background: var(--ink-3); }
.flow__dots li[aria-current] { background: var(--ink); border-color: var(--ink); transform: scale(1.35); }
.flow__dots span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: var(--fs-xs); color: var(--ink-3); white-space: nowrap; opacity: 0; transition: opacity var(--t-fast); }
.flow__dots li[aria-current] span, .flow__dots:hover span { opacity: 1; }
.drop { display: block; position: relative; border: 1.5px dashed var(--line-2); border-radius: var(--r-l); background: var(--plinth); min-height: 220px; cursor: pointer; overflow: hidden; transition: border-color var(--t-fast), transform var(--t-tap) var(--ease-out); }
.drop:active { transform: scale(.99); }
.drop.over, .drop:hover { border-color: var(--ink); }
.drop:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.drop__empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; }
.drop__plus { width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 30px; line-height: 54px; }
.drop__empty small, .drop__full small { color: var(--ink-3); font-size: var(--fs-s); }
.drop__full { display: none; padding: var(--s3); text-align: center; }
.drop__full img { width: 100%; max-height: 46svh; object-fit: contain; border-radius: var(--r-m); animation: pop var(--t-slow) var(--ease-spring); }
.drop.has { border-style: solid; border-color: var(--line); }
.drop.has .drop__empty { display: none; }
.drop.has .drop__full { display: grid; gap: var(--s2); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.tips { list-style: none; padding: 0; margin: var(--s4) 0 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.tips li { font-size: var(--fs-s); color: var(--ink-2); background: var(--plinth); border-radius: var(--r-pill); padding: 6px 12px; }
.cstage { margin-bottom: var(--s4); }
.line-toggle { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.line-toggle b { display: block; font-weight: 600; }
.line-toggle small { color: var(--ink-3); font-size: var(--fs-s); }
.line-toggle .amt { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-bottom: var(--s5); }
.seg__b { display: grid; gap: 4px; text-align: left; padding: var(--s4); min-height: 88px; border: 1px solid var(--line-2); border-radius: var(--r-m); background: #fff; transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-tap) var(--ease-out); }
.seg__b:active { transform: scale(.98); }
.seg__b small { color: var(--ink-3); font-size: var(--fs-s); }
.seg__b[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.summary { background: var(--plinth); border-radius: var(--r-m); padding: var(--s4); margin: 0 0 var(--s4); }
.summary__row { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s4); align-items: center; }
.summary__row img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-s); filter: grayscale(1); }
.summary__row small { display: block; color: var(--ink-3); font-size: var(--fs-s); }
.summary__row .amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.tick { width: 76px; height: 76px; margin: 0 auto var(--s5); }
.tick svg { width: 100%; height: 100%; fill: none; stroke: var(--ok); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.tick circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s var(--ease-out) .15s forwards; }
.tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .35s var(--ease-out) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .flow .step .step__in { opacity: 1 !important; transform: none !important; }
  .tick circle, .tick path { animation: none; stroke-dashoffset: 0; }
}
.flow .step[hidden] { display: none; }

.sz__mug svg { display: block; width: 100%; height: 100%; color: var(--ink); overflow: visible; }
.sz--ref { cursor: default; }
.guide-stage { margin: 0 calc(-1 * var(--s2)); }
.guide-table { width: 100%; border-collapse: collapse; margin-top: var(--s4); font-variant-numeric: tabular-nums; font-size: 17px; }
.guide-table th, .guide-table td { padding: 12px 0; text-align: right; }
.guide-table th:first-child { text-align: left; }
.guide-table tbody tr { border-top: 1px solid var(--line); }
.guide-table tbody th { font-weight: 500; }
.guide-note { margin: var(--s4) 0 0; font-size: 16px; line-height: 1.45; color: var(--ink-2, var(--ink)); }
.ar-link { text-decoration: none; }
.ar-link[hidden] { display: none; }
.ar-link img { width: 22px; height: 22px; }
.ar-link::after { content: attr(data-label); }

/* ---- Measure on the 3D view: thin ink lines with end ticks, labels in a white pill ---- */
.gal__measure { position: absolute; top: 14px; right: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; transition: background var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out); }
.gal__measure[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gal__measure.is-nudge { box-shadow: 0 0 0 3px var(--ink); }
@media (prefers-reduced-motion: reduce) { .gal__measure.is-nudge { box-shadow: 0 0 0 2px var(--ink); } }
.mhot { width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.measure { position: absolute; inset: 0; z-index: 2; pointer-events: none; animation: fade-in var(--t-base) var(--ease-out); }
.measure[hidden], .measure__cap[hidden] { display: none; }
.measure__h, .measure__w { position: absolute; display: block; }
.measure__h { width: 0; border-left: 1.5px solid var(--ink); }
.measure__w { height: 0; border-top: 1.5px solid var(--ink); }
.measure__h::before, .measure__h::after { content: ""; position: absolute; left: -6px; width: 11px; border-top: 1.5px solid var(--ink); }
.measure__h::before { top: 0; } .measure__h::after { bottom: 0; }
.measure__w::before, .measure__w::after { content: ""; position: absolute; top: -6px; height: 11px; border-left: 1.5px solid var(--ink); }
.measure__w::before { left: 0; } .measure__w::after { right: 0; }
.measure__lh, .measure__lw { position: absolute; transform: translate(-50%, -50%); padding: 3px 10px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
.measure__cap { position: absolute; left: 14px; top: 14px; min-height: 44px; display: flex; align-items: center; z-index: 3; margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 14px; white-space: nowrap; pointer-events: none; }
.gal__slide.measuring .gal__hint { opacity: 0; }
.gal__pill { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; white-space: nowrap; animation: fade-in var(--t-base) var(--ease-out); }
.gal__pill[hidden] { display: none; }
button.gal__pill { cursor: pointer; touch-action: manipulation; }
button.gal__pill:disabled { color: var(--ink-3); cursor: default; }
.gal__size { top: 14px; left: 14px; }
.gal__size b { font-weight: 600; }
.gal__dots { display: inline-flex; gap: 5px; }
.gal__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background var(--t-base); }
.gal__dots i.on { background: var(--ink); }
.gal__cmp { bottom: 14px; left: 0; right: 0; width: max-content; max-width: calc(100% - 28px); margin: 0 auto; }
.gal__pill svg { flex: none; }
.gal__measure { touch-action: manipulation; }
/* 200% zoom / very narrow: the picture is too small for more pills. Size mode keeps the inch lines and the
   mug; the size is changed with the page's own size switch just below (same choose(), so it still follows) */
@media (max-width: 360px) { .gal:has(.measuring) .gal__count { display: none; } }
@media (max-width: 300px) { .gal__size, .gal__cmp, .gal__count { display: none !important; } .gal__measure { top: 8px; right: 8px; } }
.ar-btn { min-height: 56px; font-size: 17px; }
.ar-btn.busy { color: var(--ink-3); }
.ar-note { margin: var(--s2) 0 0; padding: 12px 16px; border-radius: 14px; background: var(--plinth); font-size: 16px; line-height: 1.45; color: var(--ink); }
.ar-note[hidden] { display: none; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---- size picker: one stage, one switch (js/studio-picker.js) ---- */
.pk { margin-top: var(--s3); }
#size-block { scroll-margin-top: calc(var(--header-h) + 12px); }
.pk-stage { position: relative; overflow: hidden; border-radius: 24px; background: #f4f2ee; }
.pk-stage[hidden], .pk-cap[hidden] { display: none; }
.pk-piece { position: absolute; transform-origin: 50% 100%; opacity: 0; transition: transform 520ms cubic-bezier(.2,.9,.25,1.05), top 520ms cubic-bezier(.2,.9,.25,1.05), opacity 320ms ease-out; line-height: 0; }
.pk-piece.on { opacity: 1; }
.pk-piece picture, .pk-piece img { display: block; max-width: none; object-fit: contain; }
.pk-floor { position: absolute; left: 24px; right: 24px; height: 0; border-top: 1px solid rgba(20,19,18,.14); transition: top 520ms cubic-bezier(.2,.9,.25,1.05); }
.pk-h, .pk-w { position: absolute; transition: all 520ms cubic-bezier(.2,.9,.25,1.05); }
.pk-h { width: 0; border-left: 1.5px solid var(--ink); }
.pk-w { height: 0; border-top: 1.5px solid var(--ink); }
.pk-h::before, .pk-h::after { content: ""; position: absolute; left: -6px; width: 11px; border-top: 1.5px solid var(--ink); }
.pk-h::before { top: 0; } .pk-h::after { bottom: 0; }
.pk-w::before, .pk-w::after { content: ""; position: absolute; top: -6px; height: 11px; border-left: 1.5px solid var(--ink); }
.pk-w::before { left: 0; } .pk-w::after { right: 0; }
.pk-lh, .pk-lw { position: absolute; transform: translate(-50%, -50%); padding: 3px 10px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 16px; line-height: 20px; white-space: nowrap; color: var(--ink); transition: left 520ms cubic-bezier(.2,.9,.25,1.05), right 520ms cubic-bezier(.2,.9,.25,1.05), top 520ms cubic-bezier(.2,.9,.25,1.05); }
.pk-lh { transform: translateY(-50%); }
.pk-lh b, .pk-lw b { font-weight: 600; font-variant-numeric: tabular-nums; }
.pk-stage--none .pk-piece, .pk-stage--none .pk-h, .pk-stage--none .pk-w, .pk-stage--none .pk-lh, .pk-stage--none .pk-lw { opacity: 0; }
.pk-stage.instant * { transition: none !important; }
.pk-read { margin: var(--s4) 0 var(--s3); text-align: center; }
.pk-read span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-read__name { font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.015em; }
.pk-read__dims { margin-top: 2px; font-size: 17px; line-height: 24px; font-variant-numeric: tabular-nums; }
.pk-read__use { font-size: 16px; line-height: 22px; color: var(--ink-2); }
.pk-seg { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); padding: 4px; border-radius: 999px; background: #ebe8e2; }
.pk-seg__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n)); border-radius: 999px; background: #fff; box-shadow: 0 0 0 .5px rgba(20,19,18,.1), 0 1px 2px rgba(20,19,18,.12); /* tight: stays inside the 4px track gap */ transition: transform 300ms cubic-bezier(0,0,.2,1); /* match pieceGrow ~300ms ease-out so chrome never trails price */ }
.pk-seg button { position: relative; z-index: 1; min-height: 60px; padding: 6px 4px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; -webkit-tap-highlight-color: transparent; transition: color var(--t-fast); }
.pk-seg button b { font-size: 16px; line-height: 22px; font-weight: 500; }
.pk-seg button span { font-size: 16px; line-height: 20px; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.pk-seg button[aria-checked="true"] { color: var(--ink); }
.pk-seg button[aria-checked="true"] b { font-weight: 600; }
.pk-seg button[aria-checked="true"] span { color: var(--ink); }
.pk-seg button:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.pk-cap { margin: var(--s3) 0 0; font-size: 16px; line-height: 20px; color: var(--ink-3); text-align: center; }
@media (prefers-reduced-motion: reduce) { .pk-piece, .pk-floor, .pk-h, .pk-w, .pk-lh, .pk-lw, .pk-seg__thumb { transition: none; } }

.segs[hidden] { display: none; }

/* grid items default to min-width:auto; a horizontal scroller inside would widen the whole buy column */
.pp > *, .pp__buy, .pk { min-width: 0; }

/* ---- privacy queue: bag reminder opt-in + gift box line ---- */
.later { margin-top: 14px; border-top: 1px solid var(--line, #e6e1d8); padding-top: 6px; }
.later__btn { display: block; width: 100%; min-height: 44px; background: none; border: 0; padding: 8px 0; font: inherit; font-size: .9375rem; color: var(--ink, #1d1b18); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#bag-later-in { padding: 6px 0 4px; }
.giftbox-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 14px; margin: 0 0 12px; border: 1px solid var(--line, #e6e1d8); border-radius: 12px; background: #faf8f4; }
.giftbox-line[hidden] { display: none; }

/* "What's holding you back?" card on the piece page */
.hes { margin: 18px 0 4px; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.hes.on { opacity: 1; transform: none; }
.hes__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hes__h { font-size: .9375rem; font-weight: 600; margin: 0; letter-spacing: 0; }
.hes__x { flex: none; width: 44px; height: 44px; margin: -10px -12px -10px 0; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--ink-2, #55504a); cursor: pointer; border-radius: 50%; }
.hes__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hes__chip { min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font: inherit; font-size: .875rem; color: var(--ink, #1d1b18); cursor: pointer; }
.hes__chip:hover { border-color: var(--ink, #1d1b18); }
.hes__chip[aria-pressed="true"] { background: var(--ink, #1d1b18); border-color: var(--ink, #1d1b18); color: #fff; }
.hes__chip:focus-visible, .hes__x:focus-visible, .hes__go:focus-visible { outline: 2px solid var(--ink, #1d1b18); outline-offset: 2px; }
.hes__a { margin: 12px 0 0; font-size: .9375rem; line-height: 1.5; }
.hes__a:empty { display: none; }
.hes__go { background: none; border: 0; padding: 10px 0; min-height: 44px; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: inherit; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .hes { transition: none; } }

/* ---- friction sweep: older, first-time shoppers on phones ----
   16 px body text on phones and tablets (the small size was 14; mouse desktops keep 14); uppercase eyebrows stay 14 px as labels.
   At 200% zoom (about 195 px wide) the header keeps the name and the bag; Shop and Custom are in the page and footer. */
@media (max-width: 699px), (pointer: coarse) { :root { --fs-s: 1rem; --fs-xs: .875rem; } }
.link.small { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 400px) { .s-header .wrap { gap: var(--s2); } .s-nav { gap: 0; } .s-icon { margin-right: -8px; } }
@media (max-width: 340px) { .s-header .wrap { gap: 4px; } }
@media (max-width: 300px) { .btn { white-space: normal; text-align: center; } .stage__row { flex-wrap: wrap; row-gap: 12px; } .s-nav { display: none; } }

/* ---- shelf stage (js/studio-picker.js, tools/shelf/): a rendered room, the piece at true size ---- */
.pk-stage.pk-shelf { background: #ddd0bf; isolation: isolate; }
.pk-shelf picture { display: contents; }
.pk-sl { position: absolute; display: block; max-width: none; opacity: 0; }
.pk-sl.on { opacity: 1; }
.pk-sl--ps, .pk-sl--ns { mix-blend-mode: multiply; }
.pk-sl--room { z-index: 1; } .pk-sl--band { z-index: 3; } .pk-sl--ps { z-index: 5; } .pk-sl--ns { z-index: 7; } .pk-sl--nb { z-index: 9; } .pk-sl--piece { z-index: 11; }
.pk-sl--feather { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(transparent, #000 14%, #000 86%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-composite: intersect; }
.pk-shelf.pk-stage--none .pk-sl { opacity: 0; }
/* rendered moves: one still per size and the move's video over it (js/studio-picker.js, mvPlay).
   The radius is kept three ways: the stage's own rounded clip-path (which Safari keeps for composited
   children, where overflow:hidden with border-radius alone can drop to square corners), the video and the
   stills rounded themselves, and a ring in the page's colour painted over the corners on top of both. */
.pk-stage.pk-shelf { clip-path: inset(0 round 24px); }
.pk-mvs .pk-still, .pk-mvs .pk-mv, .pk-mvs .pk-seq { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; max-width: none; object-fit: cover; border-radius: 24px; opacity: 0; }
.pk-mvs .pk-still { z-index: 1; } .pk-mvs .pk-mv, .pk-mvs .pk-seq { z-index: 2; pointer-events: none; background: transparent; }
.pk-mvs .pk-still.on, .pk-mvs .pk-mv.on, .pk-mvs .pk-seq.on { opacity: 1; }
.pk-corners { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 3; border-radius: 24px; box-shadow: 0 0 0 24px var(--pk-page, #fff); pointer-events: none; }
.pk-mvs .pk-still.pk-held { object-fit: contain; object-position: 50% 100%; box-sizing: border-box; background: #eadac6; }
.pk-shelf.pk-stage--none .pk-still, .pk-shelf.pk-stage--none .pk-mv, .pk-shelf.pk-stage--none .pk-seq { opacity: 0; }
.pk-mvs.pk-fp .pk-fp-zoom { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; border-radius: 24px; overflow: hidden; transform-origin: 0 0; will-change: transform; }
.pk-mvs.pk-fp .pk-plate { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; max-width: none; object-fit: cover; border-radius: 0; z-index: 0; }
.pk-mvs.pk-fp .pk-fp-master, .pk-mvs.pk-fp .pk-fp-exact { position: absolute; display: block; max-width: none; opacity: 0; z-index: 3; }
.pk-mvs.pk-fp .pk-fp-master.on, .pk-mvs.pk-fp .pk-fp-exact.on { opacity: 1; }
/* Sculpture layers: never fade. Exact layers stay hidden — master alone during grow. */
.pk-mvs.pk-fp .pk-fp-master, .pk-mvs.pk-fp .pk-fp-exact { transition: none; }
.pk-mvs.pk-fp .pk-fp-exact { visibility: hidden; pointer-events: none; }
.pk-shelf.pk-stage--none .pk-fp-zoom, .pk-shelf.pk-stage--none .pk-plate, .pk-shelf.pk-stage--none .pk-fp-master, .pk-shelf.pk-stage--none .pk-fp-exact { opacity: 0; }


/* Netlify's deploy-preview review drawer (an iframe it injects on preview URLs only). The site's CSP
   blocks framing app.netlify.com, so it can only ever show as an empty grey bar over the page; hide it.
   Production never has it, so this rule matches nothing there. The iframe carries an inline
   "display:block !important" (which beats any stylesheet), so hide the fixed wrapper it sits in. */
iframe[src^="https://app.netlify.com/cdp/"],
body > div:has(> iframe[src^="https://app.netlify.com/cdp/"]) { display: none !important; }
