/* ==========================================================================
   Baggit v3: the boutique after closing.

   One place: the shop's cabinet corridor (the photograph behind the page),
   its ceiling track spots, and velvet display tables under them. Every bag
   stands on a table in its own pool of light; every block of words is the
   lacquered front of a table or of the counter at F17; glass is only chrome
   held in front of the room (nav, the table's controls, sheets, the door sign).

   Design read: a boutique shop for young Nairobi women who find Baggit on
   Instagram and buy on their phones, in the language of the shop after hours,
   leaning toward how a jewellery house shows one piece. Dials: variance 6 ·
   motion 6 · density 3.

   The table, one primitive seen two ways:
     from above   velvet top in a pool of lamp light, sheen at its far edge,
                  a brushed-brass rim, the bag in its contact shadow;
     from front   the lacquered apron under the rim, light spilling over.
   Light is warm (the track spots, 2800 K), straight down, one per table.
   Velvet is matte: it shows a sheen at a grazing angle and reflects nothing.

   Rules this file keeps:
   - only transform, translate, scale and opacity animate;
   - no pure black or white; no glow without a lamp that lights a surface;
   - refraction on small chrome only; nothing that decodes video or 3D sits
     under a live backdrop filter bigger than a button;
   - every animation has a reduced-motion answer, glass a reduced-transparency
     one, the rings a more-contrast one.
   ========================================================================== */

/*
 * The type. Gloock (a high-contrast serif with soft, rounded wedges: a fashion house's
 * card, not a newspaper) sets every heading and bag name. Sono sets everything else from
 * one file: its MONO axis at 0 for reading, at 1 for what gets compared (prices, counts,
 * stock) and for the small labels, so a figure never jitters and a label reads as a tag.
 * Courgette is the logo's own script, for the wordmark only.
 */
@font-face {
  font-family: 'Gloock';
  src: url('../font/gloock-normal-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sono';
  src: url('../font/sono-mono-wght-200-800.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Courgette';
  src: url('../font/courgette-normal-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  /* The room. */
  --room-0: #0b0305;
  --room-1: #120509;
  --room-2: #1c0710;

  /* Velvet, lit from above: deepest at the edges of a pool, wine at its heart. */
  --velvet-0: #16030b;
  --velvet-1: #2a0715;
  --velvet-2: #460e24;
  --velvet-3: #6c1935;
  --sheen: 232 122 160;

  /* Brushed brass. */
  --brass-0: #5a3b17;
  --brass-1: #9c7236;
  --brass-2: #d3aa62;
  --brass-3: #f5dea6;

  /* The lamp: warm, 2800 K. Used only where it lights something. */
  --lamp: 255 214 178;

  /* Ink. */
  --ink-1: #f9ede8;
  --ink-2: #dcc5c7;
  --ink-3: #a98f95;
  --line: rgba(255, 228, 236, 0.1);
  --line-2: rgba(255, 228, 236, 0.18);

  /* The one action in view: the logo's raspberry, lifted for the dark. */
  --rasp: #b24562;
  --rasp-hi: #d15f7c;
  --rasp-lo: #7e2a41;
  --rose: #ec8ea5;

  /* The swing tag: card stock, raspberry print. */
  --tag: #f6eee4;
  --tag-ink: #7a2438;
  --ok: #8fd6a8;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Gloock', 'Iowan Old Style', Georgia, serif;
  --font-ui: 'Sono', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-price: 'Sono', ui-monospace, 'Cascadia Mono', Menlo, monospace;
  --font-script: 'Courgette', 'Brush Script MT', cursive;

  --pad-x: clamp(16px, 4.6vw, 64px);
  --max: 1180px;
  --r-pill: 999px;

  --light-x: 0.35;
  --light-y: 0.2;

  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--room-1);
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-ui);
  font-variation-settings: 'MONO' 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-1);
  background: var(--room-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main {
  position: relative;
  z-index: 1;
  /* A phone lays out as wide as whatever overflows; clipped here, not on body (see the memory note). */
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--brass-3);
  outline-offset: 3px;
  border-radius: 12px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--tag);
  color: var(--tag-ink);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
::selection {
  background: var(--rasp);
  color: var(--ink-1);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-stopped {
  overflow: clip;
}

/* ============================================================ the room */

/* The cabinet wall, behind everything. The 3D stage covers it until the table is behind us. */
.cabinet {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--room-1);
  pointer-events: none;
}
.cabinet-photo {
  position: absolute;
  inset: -4%;
  background: url('../img/visit-boutique-1280.webp?v=ad33d64cc0') center 40% / cover no-repeat;
  transform-origin: 50% 45%;
}
@media (min-width: 1100px) {
  .cabinet-photo {
    background-image: url('../img/visit-boutique-1920.webp?v=9e8898a30c');
  }
}
.cabinet::after {
  /* The room falls into shadow away from its lamps: the tables read against it without a box. */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 35%, rgba(18, 5, 9, 0.28), rgba(11, 3, 5, 0.72) 72%),
    linear-gradient(180deg, rgba(18, 5, 9, 0.3), rgba(11, 3, 5, 0.62));
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Walking down the corridor as the page goes on. */
    .cabinet-photo {
      animation: walk linear both;
      animation-timeline: scroll(root);
    }
  }
}
/* While the 3D stage (opaque) covers the screen, the cabinet behind it is neither drawn nor walked. */
html.stage-covers .cabinet {
  visibility: hidden;
}
html.stage-covers .cabinet-photo {
  animation: none;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-veil {
      animation: veil-lift linear both;
      animation-timeline: view();
      animation-range: exit 8% exit 52%;
    }
  }
}
@keyframes veil-lift {
  to {
    opacity: 0.18;
  }
}
@keyframes walk {
  from { transform: scale(1); }
  to { transform: scale(1.22) translateY(-2%); }
}

.stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
  transition: opacity 120ms linear;
}
html.no-webgl .stage {
  display: none;
}

/* ------------------------------------------------------------------ type */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.014em;
  margin: 0;
  text-wrap: balance;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-3);
}
.lede {
  max-width: 36rem;
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: clamp(1rem, 2.2vw, 1.08rem);
}
.price {
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.price,
.eyebrow,
.bar-tour,
.bar-kind,
.stock,
.stand .tag,
.label .note,
.scroll-cue,
.bar-hint,
.mini-h,
.zones b,
.choice b,
.totals > div > span:last-child,
.stepper output,
.pill-bag .count,
.pill-icon .badge,
.footer-h,
.field-group legend,
.acct-section h3,
.order-row b,
.placed-ref strong {
  font-family: var(--font-price);
  font-variation-settings: 'MONO' 1;
  font-variant-numeric: tabular-nums lining-nums;
}

/* ============================================================ the glass */

/* Chrome glass (nav, small buttons, the table's controls): real backdrop, the Tide ring and specular. */
.lg {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 238, 244, 0.1), rgba(255, 238, 244, 0.035));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    inset 0 14px 22px -16px rgba(255, 255, 255, 0.2),
    inset 0 -12px 20px -16px rgba(255, 190, 210, 0.14),
    0 14px 34px -14px rgba(8, 0, 4, 0.6);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
}
html.tide-refract .lg[data-glass='refract'] {
  background: linear-gradient(180deg, rgba(255, 240, 246, 0.07), rgba(255, 240, 246, 0.02));
}
.lg::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: conic-gradient(
    from calc(var(--light-x) * 180deg - 60deg) at 50% 50%,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.07) 22%,
    rgba(255, 200, 216, 0.05) 46%,
    rgba(255, 200, 216, 0.26) 62%,
    rgba(255, 255, 255, 0.07) 80%,
    rgba(255, 255, 255, 0.5)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
.lg::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 70% at calc(var(--light-x) * 100%) -18%, rgba(255, 255, 255, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%);
  pointer-events: none;
  z-index: 0;
}
.lg > * {
  position: relative;
  z-index: 2;
}

/* ------------------------------------------------------------- buttons */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 160ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    background-color 220ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: scale(0.97);
}
.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-rasp {
  min-width: 168px;
  color: #fff6f8;
  background: linear-gradient(180deg, var(--rasp-hi), var(--rasp) 55%, var(--rasp-lo));
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 230, 0.5),
    inset 0 -2px 0 rgba(60, 0, 20, 0.25),
    0 12px 26px -14px rgba(200, 60, 100, 0.7);
}
.btn-glass {
  color: var(--ink-1);
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}
.btn-arrow {
  transition: transform 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn-rasp:hover {
    box-shadow:
      inset 0 1px 0 rgba(255, 220, 230, 0.6),
      inset 0 -2px 0 rgba(60, 0, 20, 0.25),
      0 16px 32px -12px rgba(210, 70, 110, 0.85);
  }
  .btn-rasp:hover .btn-arrow {
    transform: translateY(2px);
  }
}
.text-btn {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 236, 242, 0.07);
  transition: transform 160ms var(--ease-out);
}
.icon-btn:active {
  transform: scale(0.94);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ------------------------------------------------------------------- nav */

.nav {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: var(--pad-x);
  right: var(--pad-x);
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.nav > * {
  pointer-events: auto;
}
.nav::before {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: calc(92px + env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(11, 3, 5, 0.62), rgba(11, 3, 5, 0.24) 55%, rgba(11, 3, 5, 0));
  pointer-events: none;
  z-index: -1;
}
.nav .lg,
html.tide-refract .nav .lg[data-glass='refract'] {
  background: linear-gradient(180deg, rgba(52, 16, 30, 0.46), rgba(34, 10, 20, 0.34));
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  color: var(--ink-1);
  text-decoration: none;
  transition: transform 160ms var(--ease-out);
}
.pill:active {
  transform: scale(0.97);
}
.pill-brand {
  padding: 0 16px 0 11px;
}
.brand-bag {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--rose);
  stroke-width: 2.2;
  stroke-linejoin: round;
  transform: rotate(-12deg);
}
.brand-bag circle {
  fill: var(--rose);
  stroke: none;
}
.brand-word {
  font-family: var(--font-script);
  font-size: 1.4rem;
  line-height: 1;
}
.brand-word i {
  font-style: normal;
  color: var(--rose);
  margin-left: 1px;
}
.pill-links {
  justify-self: center;
  display: none;
  gap: 2px;
  padding: 0 7px;
}
.pill-links a {
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 550;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 180ms ease, background-color 180ms ease;
}
.pill-links a:hover {
  color: var(--ink-1);
  background: rgba(255, 236, 242, 0.08);
}
.nav-right {
  display: flex;
  gap: 8px;
  justify-self: end;
}
.pill-icon {
  width: 46px;
  padding: 0;
  justify-content: center;
}
.pill-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pill-icon .initials {
  font-weight: 700;
  font-size: 0.86rem;
}
.pill-icon .badge {
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--rose);
  color: var(--room-1);
  font-size: 0.7rem;
  font-weight: 750;
  display: grid;
  place-items: center;
  z-index: 3;
}
.pill-bag {
  color: #fff6f8;
  background: linear-gradient(180deg, var(--rasp-hi), var(--rasp) 60%, var(--rasp-lo));
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 230, 0.5),
    0 12px 26px -12px rgba(200, 60, 100, 0.75);
  gap: 8px;
  padding: 0 13px 0 15px;
}
.pill-bag svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linejoin: round;
}
.pill-bag .bag-word {
  display: none;
  font-weight: 650;
}
.pill-bag .count {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 12px;
  background: rgba(255, 246, 248, 0.2);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.pill-bag .count.bump {
  animation: bump 420ms var(--ease-out);
}
@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(88px + env(safe-area-inset-top)) var(--pad-x) 40px;
  display: flex;
  flex-direction: column;
}
html.no-webgl .hero {
  background: url('../img/hero-boutique-portrait-1080.webp?v=0ab161a1f9') center / cover no-repeat;
}
@media (min-width: 900px) {
  html.no-webgl .hero {
    background-image: url('../img/hero-boutique-1920.webp?v=51ea7cc39e');
  }
}
.hero-veil {
  --veil-end: 0.94;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 3, 5, 0.5) 0%, rgba(11, 3, 5, 0) 26%),
    linear-gradient(0deg, rgba(11, 3, 5, var(--veil-end)) 0%, rgba(11, 3, 5, 0.6) 34%, rgba(11, 3, 5, 0) 58%);
}
/* The shade does not stop where the hero does (it drew a hard line across the table as it scrolled away): it fades out below it. */
.hero-veil::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 22svh;
  background: linear-gradient(180deg, rgba(11, 3, 5, var(--veil-end)), rgba(11, 3, 5, calc(var(--veil-end) * 0.45)) 40%, rgba(11, 3, 5, 0));
}
.hero-grid {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(250px, 1fr) auto;
  gap: 8px;
}
.hero-anchor {
  grid-row: 1;
  width: 84%;
  justify-self: center;
  min-height: 250px;
  touch-action: pan-y;
  cursor: grab;
}
.hero-copy {
  grid-row: 2;
  position: relative;
  z-index: 2;
}
.hero-title {
  max-width: 13ch;
}
.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-right: 0.2em;
}
.hero-title .word > span {
  display: inline-block;
  /* backwards, not both: held after the end, the interpolated blur(0) filter stays on every word */
  animation: wordRise 1s var(--ease-reveal) backwards;
  animation-delay: var(--d, 0s);
}
@keyframes wordRise {
  from { opacity: 0; transform: translateY(100%); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
.reveal-in {
  animation: fadeUp 0.95s var(--ease-reveal) backwards;
  animation-delay: var(--d, 0s);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.hero-sub {
  max-width: 31rem;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: clamp(1rem, 2.3vw, 1.08rem);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
/* The sign on the shop's glass door: small chrome, and pane glass over the moving stage (no live backdrop). */
.door-sign {
  display: none;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  z-index: 2;
  width: 272px;
  padding: 14px 16px 14px;
  border-radius: 20px;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: linear-gradient(180deg, rgba(58, 18, 34, 0.74), rgba(28, 8, 17, 0.82));
}
.sign-state {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-weight: 650;
  font-size: 0.94rem;
}
.live-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--ok);
  opacity: 0;
  animation: ping 2.4s var(--ease-out) infinite;
}
.is-closed .live-dot {
  background: var(--brass-2);
}
.is-closed .live-dot::after {
  border-color: var(--brass-2);
}
.is-unknown .live-dot {
  display: none;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.7; }
  80%, 100% { transform: scale(1.8); opacity: 0; }
}
.sign-line {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 0.86rem;
}
.sign-last {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  padding: 6px 8px 6px 4px;
  border-radius: 14px;
  text-align: left;
  background: rgba(255, 236, 242, 0.05);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.sign-last:active {
  transform: scale(0.98);
}
.sign-last img {
  width: 44px;
  height: 54px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.5));
}
.sign-last b {
  display: block;
  font-weight: 650;
  font-size: 0.88rem;
}
.sign-last small {
  color: var(--rose);
  font-weight: 650;
  font-size: 0.8rem;
}
.scroll-cue {
  position: relative;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 12px;
  max-width: var(--max);
  width: 100%;
  margin: 16px auto 0;
  color: var(--ink-3);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scroll-cue span {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--rose), transparent);
  animation: cue 2.2s var(--ease-in-out) infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ------------------------------------------------------------- the table */

.bar {
  position: relative;
  height: 330vh; /* the tour: about 45vh of scroll per style */
}
.bar-view {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: calc(76px + env(safe-area-inset-top)) var(--pad-x) calc(14px + env(safe-area-inset-bottom));
  overflow: hidden;
}
.bar-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 18px;
}
.bar-head .eyebrow {
  margin: 0;
}
.bar-title {
  display: none;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  letter-spacing: -0.012em;
}
.bar-tour {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 0 auto;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.tour-line {
  position: relative;
  width: 64px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 236, 242, 0.14);
  overflow: hidden;
}
.tour-line i {
  position: absolute;
  inset: 0;
  background: var(--brass-2);
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform; /* its own layer: moving it every frame of the tour repaints nothing */
}
@supports (animation-timeline: view()) {
  .bar {
    view-timeline: --bar block;
  }
  .tour-line i {
    animation: tour-fill linear both;
    animation-timeline: --bar;
    animation-range: contain 0% contain 100%;
  }
}
@keyframes tour-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.bar-stage {
  position: relative;
  min-height: 0;
  cursor: grab;
  touch-action: pan-y;
  outline: none;
}
.bar-stage:active {
  cursor: grabbing;
}
.bar-stage:focus-visible {
  outline: 2px solid var(--brass-3);
  outline-offset: -6px;
  border-radius: 28px;
}
.bar-anchor {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 2%;
  bottom: 4%;
  pointer-events: none;
}
/* No 3D (yet, or here): the bag's photograph stands where the table will be, in its own shadow. */
.bar-fallback {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: min(62vw, 340px);
  height: min(50vh, 420px);
  translate: -50% 0;
  pointer-events: none;
}
.bar-fallback::before {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -3%;
  height: 9%;
  background: radial-gradient(closest-side, rgba(8, 1, 4, 0.8), transparent);
}
.bar-fallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.bar-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-1);
  transition: transform 160ms var(--ease-out);
}
.bar-arrow:active {
  transform: scale(0.92);
}
.bar-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bar-arrow.prev {
  left: 0;
}
.bar-arrow.next {
  right: 0;
}
.bar-hint {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink-3);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
.bar-hint svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bar-panel {
  position: relative;
  z-index: 3;
  min-width: 0;
  padding: 14px 16px 16px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(46, 14, 27, 0.78), rgba(24, 7, 14, 0.86));
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}
.bar-styles {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
  margin-bottom: 12px;
}
.bar-styles::-webkit-scrollbar {
  display: none;
}
.bar-styles button {
  flex: none;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.bar-styles button[aria-selected='true'] {
  color: var(--room-1);
  background: var(--ink-1);
  box-shadow: none;
}
.bar-namerow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.bar-kind {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-3);
}
.bar-name {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 4.4vw, 2.1rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.bar-colour {
  margin: 3px 0 0;
  font-size: 1rem;
  color: var(--ink-2);
}
.bar-price-block {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding-top: 16px;
}
.bar-price-block .price {
  font-size: 1.2rem;
}
.stock {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--ink-3);
}
.stock.is-low {
  color: var(--rose);
}
.bar-panel.is-swapping .bar-name,
.bar-panel.is-swapping .bar-colour,
.bar-panel.is-swapping .bar-desc,
.bar-panel.is-swapping .bar-price-block {
  opacity: 0;
  transform: translateY(6px);
}
.bar-name,
.bar-colour,
.bar-desc,
.bar-price-block {
  transition:
    opacity 240ms ease,
    transform 320ms var(--ease-out);
}
/* Swatches are discs cut from each bag's own photograph: the blossom, the leopard, the kisses. */
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}
.swatch {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #5a3040;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.35),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3),
    0 4px 10px -3px rgba(0, 0, 0, 0.5);
  transition: transform 200ms var(--ease-out);
}
.swatch[aria-checked='true'] {
  transform: scale(1.1);
  box-shadow:
    0 0 0 3px var(--room-2),
    0 0 0 5px var(--brass-3),
    inset 0 1px 2px rgba(255, 255, 255, 0.35);
}
.swatch:active {
  transform: scale(0.94);
}
.swatch.is-out {
  opacity: 0.4;
}
.swatch.is-out::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 2px;
  background: var(--ink-1);
  transform: rotate(45deg);
}
.bar-desc {
  display: none;
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 0.94rem;
}
.bar-charm {
  min-height: 38px;
}
.charm-own {
  margin: 12px 0 0;
  font-size: 0.92rem;
  line-height: 26px;
  color: var(--ink-2);
}
.charm-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.92rem;
  cursor: pointer;
  user-select: none;
}
.charm-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.charm-switch {
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background: rgba(255, 236, 242, 0.14);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 220ms ease;
}
.charm-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink-1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  transition: transform 260ms var(--ease-out);
}
.charm-toggle input:checked + .charm-switch {
  background: var(--rasp);
}
.charm-toggle input:checked + .charm-switch::after {
  transform: translateX(18px);
}
.charm-toggle input:focus-visible + .charm-switch {
  outline: 2px solid var(--brass-3);
  outline-offset: 2px;
}
.bar-buy {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.heart {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 236, 242, 0.07);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: transform 160ms var(--ease-out), background-color 220ms ease;
}
.heart svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  transition: fill 200ms ease, stroke 200ms ease;
}
.heart[aria-pressed='true'] svg {
  fill: var(--rose);
  stroke: var(--rose);
}
.heart.pop svg {
  animation: heartPop 520ms var(--ease-out);
}
@keyframes heartPop {
  0% { transform: scale(1); }
  30% { transform: scale(1.4); }
  60% { transform: scale(0.92); }
  100% { transform: scale(1); }
}
.heart:active {
  transform: scale(0.92);
}

/* -------------------------------------------------------------- sections */

.section {
  position: relative;
  padding: clamp(72px, 10vw, 128px) var(--pad-x);
}
.section-head {
  max-width: var(--max);
  margin: 0 auto;
}

/* ================================================ the display table */

/*
 * A bag on a display table, under its own spot. Sized in the table's own
 * units (1cqw = 1% of its width) so it is the same object on a 170 px phone
 * card and a 280 px desk card. The table top is 92cqw across and stands for
 * 62 cm; each photograph is drawn at its real size on it (--w, --h in cm from
 * the manifest), so a pouch stands smaller than a tote.
 */
.floor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px) clamp(10px, 2.2vw, 26px);
  max-width: var(--max);
  margin: 30px auto 0;
}
.piece {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.piece.is-filtered {
  display: none;
}
.stand {
  --k: 1.484cqw; /* table units per centimetre: the top, 92cqw across, is a 62 cm table */
  position: relative;
  container-type: inline-size;
  aspect-ratio: 5 / 6;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: scale 160ms var(--ease-out);
}
.stand:active {
  scale: 0.985;
}
/* The spot's beam, faint in the air of the dark room: where the pool's light comes from. */
.stand .beam {
  position: absolute;
  left: 22cqw;
  right: 22cqw;
  top: -18cqw;
  bottom: 27cqw;
  background: linear-gradient(180deg, rgb(var(--lamp) / 0) 0%, rgb(var(--lamp) / 0.05) 45%, rgb(var(--lamp) / 0.085) 100%);
  clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  opacity: 0;
  pointer-events: none;
}
/* The table's front: lacquer under the rim, light spilling over the rim onto its top. */
.stand .apron {
  position: absolute;
  left: 4cqw;
  right: 4cqw;
  bottom: 5cqw;
  height: 23cqw;
  border-radius: 0 0 46cqw 46cqw / 0 0 13cqw 13cqw;
  background:
    radial-gradient(56% 90% at 50% 0%, rgb(var(--lamp) / 0.13), transparent 62%),
    linear-gradient(90deg, rgba(4, 0, 2, 0.6), transparent 16%, transparent 84%, rgba(4, 0, 2, 0.6)),
    linear-gradient(180deg, #2c0c19 0%, #1a060e 52%, #0e0307 100%);
  box-shadow: 0 2.5cqw 4cqw -1cqw rgba(0, 0, 0, 0.7);
}
/* The velvet top, from above: wine in the light, falling to near-black at the rim; a sheen along the far edge. */
.stand .top {
  position: absolute;
  left: 4cqw;
  right: 4cqw;
  bottom: 14cqw;
  height: 28cqw;
  border-radius: 50%;
  background:
    url('../img/pile.webp?v=fe879dc71d') 0 0 / 64px 64px,
    radial-gradient(86% 58% at 50% 2%, rgb(var(--sheen) / 0.3), transparent 62%),
    radial-gradient(100% 100% at 50% 46%, var(--velvet-2) 0%, var(--velvet-1) 58%, var(--velvet-0) 100%);
  box-shadow: inset 0 -1.8cqw 2.6cqw -1.2cqw rgba(0, 0, 0, 0.6);
}
/* The brass rim: brightest where the spot catches its front edge. */
.stand .top::before {
  content: '';
  position: absolute;
  inset: -0.8cqw;
  border-radius: 50%;
  padding: 0.8cqw;
  background: linear-gradient(180deg, var(--brass-0) 0%, var(--brass-1) 34%, var(--brass-2) 70%, var(--brass-3) 84%, var(--brass-1) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
/* The pool the spot makes on the velvet: a light on a surface, the only glow this page has. */
.stand .pool {
  position: absolute;
  left: 4cqw;
  right: 4cqw;
  bottom: 14cqw;
  height: 28cqw;
  border-radius: 50%;
  background:
    radial-gradient(36% 46% at 50% 50%, rgb(var(--lamp) / 0.34), transparent 100%),
    radial-gradient(52% 64% at 50% 50%, var(--velvet-3), transparent 100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 380ms var(--ease-out);
}
/* Where the bag touches: its own shadow on the velvet, as wide as its base. */
.stand .shade {
  position: absolute;
  left: 50%;
  bottom: calc(24cqw - var(--bw) * var(--k) * 0.09);
  width: calc(var(--bw) * var(--k) * 1.5);
  height: calc(var(--bw) * var(--k) * 0.2);
  translate: -50% 0;
  background: radial-gradient(closest-side, rgba(8, 1, 4, 0.85), rgba(8, 1, 4, 0.42) 55%, transparent);
  pointer-events: none;
}
.stand .bag {
  position: absolute;
  left: 50%;
  bottom: 24cqw;
  width: calc(var(--w) * var(--k));
  height: calc(var(--h) * var(--k));
  max-width: none;
  translate: -50% 0;
  object-fit: contain;
  object-position: bottom center;
  opacity: 0.26; /* in the dark until its spot comes on */
  pointer-events: none;
}
/*
 * The charm hangs from a little brass stand on its table, the way a jeweller
 * shows one: a rod on a round foot and an arm, the cherries on its end. At
 * table scale a 12 cm charm would be a crumb, so it is shown at twice its size.
 */
.stand.is-hung {
  --k: 2.5cqw;
}
.stand .hook {
  position: absolute;
  left: calc(50% - 9cqw);
  bottom: 23.5cqw;
  width: 1.3cqw;
  height: 60cqw;
  border-radius: 0.7cqw 0.7cqw 0 0;
  background: linear-gradient(90deg, var(--brass-0), var(--brass-3) 42%, var(--brass-1) 70%, var(--brass-0));
}
.stand .hook::before {
  /* its round foot on the velvet */
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1.3cqw;
  width: 10cqw;
  height: 3cqw;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(70% 90% at 45% 30%, var(--brass-3), var(--brass-1) 55%, var(--brass-0));
  box-shadow: 0 0.8cqw 1.2cqw rgba(8, 1, 4, 0.7);
}
.stand .hook::after {
  /* the arm, lit along its top */
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 14.5cqw;
  height: 1.3cqw;
  border-radius: 0.7cqw;
  background: linear-gradient(180deg, var(--brass-3), var(--brass-1) 60%, var(--brass-0));
}
.stand.is-hung .bag {
  left: calc(50% + 4.6cqw);
  bottom: calc(83cqw - var(--h) * var(--k));
}
.stand.is-hung .shade {
  left: calc(50% - 8.35cqw);
  bottom: 22cqw;
  width: 16cqw;
  height: 3.6cqw;
}
/* The whole table is the button that brings its bag to the 3D table. */
.stand .see {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 14px;
  -webkit-tap-highlight-color: transparent;
}
.stand .see:focus-visible {
  outline-offset: -4px;
}
/* The swing tag, tied to the rim: how many are left, in the shop's own count. */
.stand .tag {
  position: absolute;
  right: 11cqw;
  bottom: 1.5cqw;
  padding: 0.5em 0.75em 0.5em 1.45em;
  border-radius: 0.35em 0.5em 0.5em 0.35em;
  background: linear-gradient(180deg, #fbf5ec, var(--tag) 60%, #e9dccb);
  color: var(--tag-ink);
  font-size: clamp(0.62rem, 5.4cqw, 0.74rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  rotate: -5deg;
  transform-origin: 20% -40%;
  box-shadow: 0 1.4cqw 2cqw -1cqw rgba(0, 0, 0, 0.8);
  pointer-events: none;
}
.stand .tag::before {
  content: '';
  position: absolute;
  left: 0.55em;
  top: 50%;
  width: 0.42em;
  height: 0.42em;
  margin-top: -0.21em;
  border-radius: 50%;
  background: var(--velvet-1);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.6);
}
.stand .tag::after {
  content: '';
  position: absolute;
  left: 0.72em;
  bottom: 70%;
  width: 1px;
  height: 7cqw;
  background: linear-gradient(#d8c3a6, #efe2cf);
  rotate: 18deg;
  transform-origin: bottom;
}
.stand .tag.is-out {
  color: #5d4a4e;
}
.piece .heart {
  position: absolute;
  top: 1cqw;
  right: 1cqw;
  z-index: 2;
  width: 40px;
  height: 40px;
  background: rgba(30, 9, 18, 0.55);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.piece .heart svg {
  width: 18px;
  height: 18px;
}
/* The spot comes on as the row arrives: the pool opens, and the bag is lit where it stood in the dark. */
.piece.is-in .pool,
.piece.is-in .beam {
  opacity: 1;
  animation: lamp-on 900ms var(--ease-reveal) var(--rd, 0ms) backwards;
}
.piece.is-in .bag {
  opacity: 1;
  animation: bag-lit 760ms var(--ease-reveal) calc(var(--rd, 0ms) + 90ms) backwards;
}
.piece.settled .pool,
.piece.settled .beam,
.piece.settled .bag {
  animation: none;
}
@keyframes lamp-on {
  from { opacity: 0; }
}
@keyframes bag-lit {
  from { opacity: 0.26; }
}
@media (hover: hover) and (pointer: fine) {
  .piece:hover .pool {
    transform: scale(1.06, 1.1);
  }
}
/* The label under a table: the name has the full width; the add button sits at the end of the price's row. */
.label {
  min-width: 0;
  padding: 10px 2px 0;
}
.label .note {
  min-height: 1.4em;
  line-height: 1.4;
  margin: 0 0 3px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-3);
}
.label .name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  line-height: 1.05;
}
.label .colour {
  margin: 1px 0 0;
  font-size: 0.84rem;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.label .price {
  font-size: 0.96rem;
}
.label .was {
  margin-left: 6px;
  color: var(--ink-3);
  font-weight: 500;
  font-size: 0.86em;
}
.add {
  flex: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border-radius: var(--r-pill);
  background: rgba(255, 236, 242, 0.08);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink-1);
  font-weight: 650;
  font-size: 0.84rem;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.add:active {
  transform: scale(0.95);
}
.add svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
}
.add[disabled] {
  pointer-events: none;
  color: var(--ink-3);
  background: none;
}
@media (hover: hover) and (pointer: fine) {
  .add:hover {
    background: rgba(255, 236, 242, 0.14);
  }
}
.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
}
.piece.is-out .bag {
  opacity: 0.55;
}

/* --------------------------------------------------------- the collection */

.yours {
  max-width: var(--max);
  margin: 28px auto 0;
  padding: 14px 16px;
  border-radius: 22px;
}
.yours-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 18px;
}
.yours-title {
  margin: 0;
  font-weight: 650;
}
.yours-title b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--rose);
}
.yours-next {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.9rem;
}
.yours-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.yours-row::-webkit-scrollbar {
  display: none;
}
.yours-row button {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: end center;
  padding-bottom: 8px;
  background: radial-gradient(60% 40% at 50% 78%, var(--velvet-3), var(--velvet-1) 70%, var(--velvet-0));
  box-shadow: inset 0 0 0 1.5px var(--brass-1);
}
.yours-row img {
  width: 44px;
  height: 46px;
  object-fit: contain;
  object-position: bottom;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 28px auto 0;
}
.filters button {
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-2);
  background: rgba(30, 9, 18, 0.55);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 200ms ease, color 200ms ease;
}
.filters button[aria-selected='true'] {
  color: var(--room-1);
  background: var(--ink-1);
  box-shadow: none;
}
.note {
  max-width: var(--max);
  margin: 18px auto 0;
  color: var(--ink-2);
  font-size: 0.92rem;
}

/* ---------------------------------------------------------------- fits */

.fits-grid {
  display: grid;
  gap: 34px;
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}
/* The table seen from straight above: its round top under the silk, a brass rim, the room's floor round it. */
.overhead {
  position: relative;
  width: min(86vw, 500px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.overhead::before {
  /* The table's shadow on the floor below it, offset away from the spot. */
  content: '';
  position: absolute;
  inset: 4% -2% -6% 2%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(4, 0, 2, 0.8), transparent);
}
.overhead-top {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
}
.overhead-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.overhead-top::after {
  /* The lamp's falloff toward the table's edge, then its brass rim, lit on the spot's side. */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, transparent 64%, rgba(12, 2, 6, 0.5) 94%, rgba(12, 2, 6, 0.7));
  box-shadow:
    inset 0 0 0 clamp(4px, 0.9vw, 7px) var(--brass-1),
    inset 3px 3px 0 clamp(4px, 0.9vw, 7px) var(--brass-3),
    inset 0 0 0 calc(clamp(4px, 0.9vw, 7px) + 1px) rgba(0, 0, 0, 0.5);
}
.fits-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.fits-tabs button {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.fits-tabs button[aria-selected='true'] {
  background: var(--ink-1);
  color: var(--room-1);
  box-shadow: none;
}
.fits {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
}
.fits li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.95rem;
  transition: color 300ms ease;
}
.fits li svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fits li .mark {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 650;
}
.fits li.is-yes {
  color: var(--ink-1);
}
.fits li.is-yes .mark {
  color: var(--brass-3);
}
.fits-size {
  margin: 14px 0 0;
  color: var(--ink-3);
  font-size: 0.9rem;
}

/* ======================================================== the counter */

/*
 * The counter at F17, the same furniture as the tables seen from the front:
 * a velvet top with a pool under each of its two spots and a sheen at its far
 * edge, a brass front edge, and the lacquered front the words are on, with
 * the lamps' light spilling over the edge. It stands on the floor in its own
 * shadow.
 */
.counter {
  position: relative;
  max-width: var(--max);
  margin: 28px auto 0;
  isolation: isolate;
}
.counter::after {
  content: '';
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: -28px;
  height: 46px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(3, 0, 1, 0.8), transparent);
}
.counter-top {
  position: relative;
  height: clamp(22px, 3.2vw, 38px);
  margin: 0 0.6%;
  clip-path: polygon(1.6% 0, 98.4% 0, 100% 100%, 0 100%);
  /* Its brass front edge, lit under each lamp, is the first layer of its own paint. */
  background:
    linear-gradient(90deg, var(--brass-0), var(--brass-2) 20%, var(--brass-3) 27%, var(--brass-2) 36%, var(--brass-1) 58%, var(--brass-3) 73%, var(--brass-2) 80%, var(--brass-0)) left bottom / 100% 3px no-repeat,
    url('../img/pile.webp?v=fe879dc71d') 0 0 / 64px 64px,
    radial-gradient(18% 160% at 27% 78%, rgb(var(--lamp) / 0.62), rgb(var(--lamp) / 0.18) 45%, transparent 75%),
    radial-gradient(18% 160% at 73% 78%, rgb(var(--lamp) / 0.62), rgb(var(--lamp) / 0.18) 45%, transparent 75%),
    linear-gradient(180deg, rgb(var(--sheen) / 0.28) 0%, transparent 46%),
    linear-gradient(180deg, var(--velvet-2), var(--velvet-1));
}
.counter-face {
  position: relative;
  display: grid;
  gap: 30px;
  padding: clamp(24px, 3.6vw, 46px);
  border-radius: 0 0 14px 14px;
  background:
    radial-gradient(22% 38% at 27% 0%, rgb(var(--lamp) / 0.2), rgb(var(--lamp) / 0.06) 55%, transparent 80%),
    radial-gradient(22% 38% at 73% 0%, rgb(var(--lamp) / 0.2), rgb(var(--lamp) / 0.06) 55%, transparent 80%),
    linear-gradient(100deg, transparent 0 54%, rgba(255, 222, 234, 0.05) 62%, transparent 72%),
    linear-gradient(180deg, #2a0b17 0%, #190610 46%, #0f0308 100%);
  box-shadow:
    inset 0 1px 0 rgba(0, 0, 0, 0.7),
    inset 0 2px 0 rgb(var(--lamp) / 0.1),
    inset 0 -1px 0 rgba(255, 214, 226, 0.05);
}
.face {
  position: relative;
  min-width: 0;
}
.mini-h {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-3);
}
.visit-where {
  margin: 0 0 16px;
  color: var(--ink-1);
  font-size: 1.04rem;
  max-width: 30rem;
}
.hours,
.zones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--ink-2);
}
.zones li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.zones li:last-child {
  border-bottom: 0;
}
.zones b {
  white-space: nowrap;
  color: var(--ink-1);
  font-weight: 600;
}
.zones small {
  display: block;
  color: var(--ink-3);
  font-size: 0.8rem;
}
.hours .is-today {
  color: var(--ink-1);
  font-weight: 650;
}
.hours small {
  color: var(--rose);
  font-weight: 600;
}
.visit-pay {
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 0.94rem;
}
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.counter-small .counter-top {
  background:
    linear-gradient(90deg, var(--brass-0), var(--brass-2) 20%, var(--brass-3) 27%, var(--brass-2) 36%, var(--brass-1) 58%, var(--brass-3) 73%, var(--brass-2) 80%, var(--brass-0)) left bottom / 100% 3px no-repeat,
    url('../img/pile.webp?v=fe879dc71d') 0 0 / 64px 64px,
    radial-gradient(22% 160% at 50% 78%, rgb(var(--lamp) / 0.62), rgb(var(--lamp) / 0.18) 45%, transparent 75%),
    linear-gradient(180deg, rgb(var(--sheen) / 0.28) 0%, transparent 46%),
    linear-gradient(180deg, var(--velvet-2), var(--velvet-1));
}
.counter-small .counter-face {
  background:
    radial-gradient(30% 40% at 50% 0%, rgb(var(--lamp) / 0.2), rgb(var(--lamp) / 0.06) 55%, transparent 80%),
    linear-gradient(100deg, transparent 0 54%, rgba(255, 222, 234, 0.05) 62%, transparent 72%),
    linear-gradient(180deg, #2a0b17 0%, #190610 46%, #0f0308 100%);
}
.ask .h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.ask-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.ask-tel,
.ask-fallback {
  margin: 14px 0 0;
  color: var(--ink-2);
}
.ask-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
}
/* The questions are cards on the counter: the shop's own card stock. */
.prompt {
  padding: 10px 14px;
  border-radius: 10px;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--tag-ink);
  background: linear-gradient(180deg, #fbf5ec, var(--tag) 70%, #ecdfcf);
  box-shadow: 0 8px 14px -10px rgba(0, 0, 0, 0.8);
  transition: transform 160ms var(--ease-out);
}
.prompt:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .prompt:hover {
    transform: translateY(-2px);
  }
}

/* ---------------------------------------------------------------- footer */

.footer {
  position: relative;
  z-index: 2;
  padding: 76px var(--pad-x) 40px;
  background: linear-gradient(180deg, rgba(11, 3, 5, 0.7), var(--room-0) 40%);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  gap: 30px;
  max-width: var(--max);
  margin: 0 auto;
}
.badge-logo {
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}
.footer-line {
  margin: 16px 0 0;
  color: var(--ink-2);
  max-width: 22rem;
}
.footer-social a {
  color: var(--rose);
}
.footer-h {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-3);
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--ink-2);
}
.footer-list a {
  text-decoration: none;
}
.footer-fine {
  max-width: var(--max);
  margin: 44px auto 0;
  color: var(--ink-3);
  font-size: 0.84rem;
}

/* ---------------------------------------------------------------- toasts */

.toasts {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 70;
  display: grid;
  gap: 8px;
  width: min(92vw, 420px);
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 10px;
  border-radius: 20px;
  background: rgba(36, 13, 23, 0.92);
  color: var(--ink-1);
  font-size: 0.94rem;
  animation: toastIn 420ms var(--ease-out) both;
}
.toast img {
  width: 40px;
  height: 46px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.5));
}
.toast-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2f7a4f;
  color: #eafff1;
  font-weight: 800;
}
.toast.is-leaving {
  animation: toastOut 300ms ease both;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(8px); }
}

/* A bag flying to the nav when it goes in: the bag itself, cut out, no box round it. */
.fly {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: 84px;
  height: 96px;
  margin: -48px 0 0 -42px;
  pointer-events: none;
}
.fly-y {
  width: 100%;
  height: 100%;
}
.fly img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.55));
}
.petal {
  position: fixed;
  z-index: 90;
  width: 9px;
  height: 13px;
  border-radius: 70% 0 70% 0;
  pointer-events: none;
}

/* ---------------------------------------------------------------- sheets */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 3, 6, 0.58);
  opacity: 0;
  transition: opacity 420ms var(--ease-out);
}
.scrim.is-open {
  opacity: 1;
}
.sheet {
  position: fixed;
  z-index: 61;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 92dvh;
  display: flex;
  flex-direction: column;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, #2a0f1b, #1b0912);
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 238, 0.18),
    0 -20px 60px -20px rgba(0, 0, 0, 0.7);
  transform: translate3d(0, 105%, 0);
  transition: transform 520ms var(--ease-drawer);
  outline: none;
}
.sheet.is-open {
  transform: translate3d(0, 0, 0);
}
.sheet.is-dragging {
  transition: none;
}
/* The assistant's launcher never sits on a sheet's totals or fields. */
html.sheet-open .kv-root {
  visibility: hidden;
}
.sheet-grip {
  width: 44px;
  height: 5px;
  margin: 10px auto 0;
  border-radius: 3px;
  background: rgba(255, 230, 238, 0.25);
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 22px 6px;
  touch-action: none;
}
.sheet-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  letter-spacing: -0.01em;
}
.sheet-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 22px calc(26px + env(safe-area-inset-bottom));
}
html.sheet-open {
  overflow: hidden;
}

/* A bag in the sheet stands on a small velvet disc: the table, in miniature. */
.disc {
  position: relative;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: end center;
  padding-bottom: 9px;
  background: radial-gradient(62% 38% at 50% 78%, var(--velvet-3), var(--velvet-1) 72%, var(--velvet-0));
  box-shadow: inset 0 0 0 1.5px var(--brass-1), 0 6px 12px -8px rgba(0, 0, 0, 0.8);
}
.disc img {
  width: 44px;
  height: 46px;
  object-fit: contain;
  object-position: bottom;
}
.lines {
  display: grid;
  gap: 10px;
}
.line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255, 236, 242, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
}
.line-name {
  margin: 0;
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.25;
}
.line-sub {
  margin: 2px 0 0;
  color: var(--ink-3);
  font-size: 0.84rem;
}
.line-price {
  margin: 3px 0 0;
  font-size: 0.9rem;
  color: var(--ink-1);
}
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border-radius: var(--r-pill);
  background: rgba(255, 236, 242, 0.07);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.stepper button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.stepper svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}
.stepper output {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.empty {
  padding: 30px 6px;
  text-align: center;
  color: var(--ink-2);
}
.empty-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink-1);
}
.empty .btn {
  margin-top: 16px;
}
.field-group {
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}
.field-group legend {
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-3);
}
.choices {
  display: grid;
  gap: 8px;
}
.choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 18px;
  background: rgba(255, 236, 242, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: box-shadow 200ms ease, background-color 200ms ease;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.choice .radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--ink-3);
  transition: box-shadow 200ms ease;
}
.choice:has(input:checked) {
  background: rgba(236, 142, 165, 0.1);
  box-shadow: inset 0 0 0 1.5px var(--rose);
}
.choice:has(input:checked) .radio {
  box-shadow: inset 0 0 0 6px var(--rose);
}
.choice:has(input:focus-visible) {
  outline: 2px solid var(--brass-3);
  outline-offset: 2px;
}
.choice-title {
  display: block;
  font-weight: 650;
}
.choice-sub {
  display: block;
  color: var(--ink-3);
  font-size: 0.85rem;
}
.choice b {
  font-variant-numeric: tabular-nums;
}
.delivery-fields {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.field {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.field > span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
}
.field em {
  font-style: normal;
  color: var(--ink-3);
  font-weight: 400;
}
.field input,
.field select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 236, 242, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink-1);
  font-size: 1rem;
  transition: box-shadow 200ms ease;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 22px) 21px, calc(100% - 17px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.field select option {
  background: #2a0f1b;
}
.field input:focus,
.field select:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--rose);
}
.field input[aria-invalid='true'] {
  box-shadow: inset 0 0 0 2px #ff7a7a;
}
.field-hint {
  color: var(--ink-3);
  font-size: 0.82rem;
}
/* The checkout's honeypot. (Grep before naming any class .hp: it hides.) */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.signin-nudge {
  margin: 14px 0 0;
  color: var(--ink-3);
  font-size: 0.9rem;
}
.totals {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 236, 242, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
}
.totals > div {
  display: flex;
  justify-content: space-between;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.totals .grand {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--ink-1);
  font-weight: 700;
  font-size: 1.08rem;
}
.pay-note {
  margin: 4px 0 0;
  color: var(--ink-3);
  font-size: 0.84rem;
}
.form-error {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 90, 90, 0.12);
  color: #ffc9c9;
  font-size: 0.92rem;
}
.checkout [type='submit'] {
  margin-top: 16px;
}
.placed {
  padding: 16px 4px 10px;
  text-align: center;
}
.placed-mark svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--ok);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.placed-mark circle {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: draw 800ms var(--ease-out) forwards;
}
.placed-mark path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 500ms 500ms var(--ease-out) forwards;
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
.placed-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
}
.placed-ref,
.placed-status,
.placed-note,
.placed-call {
  margin: 8px 0 0;
  color: var(--ink-2);
}
.placed-ref strong {
  font-variant-numeric: tabular-nums;
  color: var(--ink-1);
  letter-spacing: 0.04em;
}
.placed-actions {
  margin-top: 22px;
}

/* account */
.tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: rgba(255, 236, 242, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tabs button {
  flex: 1;
  height: 42px;
  border-radius: var(--r-pill);
  font-weight: 650;
  color: var(--ink-2);
  transition: background-color 200ms ease, color 200ms ease;
}
.tabs button[aria-selected='true'] {
  background: var(--ink-1);
  color: var(--room-1);
}
.account-intro {
  margin: 16px 0 0;
  color: var(--ink-2);
}
.account-hello {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
}
.account-meta {
  margin: 4px 0 0;
  color: var(--ink-3);
  font-size: 0.9rem;
}
.verify-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(217, 180, 107, 0.12);
  color: var(--brass-3);
  font-size: 0.9rem;
}
/* Proving the number: the note, then its one action. The code reads in the price cut. */
.verify .verify-note {
  margin: 0;
}
.verify > .btn {
  margin-top: 12px;
}
.verify input[name='code'] {
  font-family: var(--font-price);
  font-variation-settings: 'MONO' 1;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: 0.24em;
}
.acct-section {
  margin-top: 24px;
}
.acct-section h3 {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-3);
}
.order-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 236, 242, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: 8px;
}
.order-row b {
  font-variant-numeric: tabular-nums;
}
.order-row small {
  display: block;
  color: var(--ink-3);
}
.status {
  align-self: center;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 236, 242, 0.1);
  text-transform: capitalize;
}
.status.is-good {
  background: rgba(127, 216, 160, 0.16);
  color: #9fe9ba;
}
.muted {
  color: var(--ink-3);
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.mini-grid figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
}
.mini-grid .disc {
  width: 72px;
  height: 72px;
}
.mini-grid figcaption {
  max-width: 100%;
  color: var(--ink-2);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.coll-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 20px;
  background: rgba(255, 236, 242, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
}
.coll-card .disc {
  width: 76px;
  height: 76px;
}
.coll-card .row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.small-btn {
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  font-weight: 650;
  background: rgba(255, 236, 242, 0.08);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.small-btn.primary {
  background: var(--rasp);
  box-shadow: none;
  color: #fff4f7;
}
.last-order {
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 0.92rem;
}
.acct-form {
  margin-top: 6px;
}
.acct-form .btn {
  margin-top: 16px;
}
.acct-form .form-error {
  margin-top: 12px;
}
.coll-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 16px;
}
.coll-progress span {
  padding: 6px 11px;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.coll-progress span.is-have {
  color: var(--room-1);
  background: var(--rose);
  box-shadow: none;
}
.coll-card .line-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
}

.noscript {
  position: fixed;
  inset: auto 12px 12px;
  z-index: 100;
  padding: 14px;
  border-radius: 16px;
  background: var(--tag);
  color: var(--tag-ink);
}

/* The small labels are set in Sono's monospaced cut, which is wide already: tracked lightly. */
.eyebrow,
.bar-kind,
.label .note,
.mini-h,
.footer-h,
.field-group legend,
.acct-section h3,
.bar-tour,
.scroll-cue,
.bar-hint {
  letter-spacing: 0.06em;
}

/* ----------------------------------------------------------- breakpoints */

@media (max-width: 400px) {
  .nav {
    gap: 8px;
  }
  .nav-right {
    gap: 6px;
  }
  .pill {
    height: 44px;
  }
  .pill-icon {
    width: 44px;
  }
  .nav [data-tel] {
    display: none;
  }
  .pill-brand {
    padding: 0 12px 0 8px;
    gap: 6px;
  }
  .brand-word {
    font-size: 1.22rem;
  }
  .pill-bag {
    padding: 0 10px 0 12px;
  }
}

@media (max-width: 759px) {
  /* The location is in the heading and the line under it; the eyebrow would sit on the table's lit rim. */
  .hero .eyebrow {
    display: none;
  }
  .hero-cta {
    gap: 10px;
    padding-right: 66px;
  }
  /* Room under the bag for the table's lit rim, so it runs above the heading, not through it. */
  .hero-grid {
    row-gap: 46px;
  }
  .hero-cta .btn {
    min-width: 0;
    padding: 0 15px;
  }
  .toasts {
    left: 12px;
    right: 84px;
    width: auto;
    transform: none;
  }
  .hero .display {
    font-size: clamp(2.3rem, 10.5vw, 3.1rem);
  }
  .hero-sub {
    font-size: 1rem;
  }
  .bar-arrow {
    top: auto;
    bottom: 22px;
    margin: 0;
    width: 44px;
    height: 44px;
  }
  .bar-hint {
    display: none;
  }
  /* The assistant's launcher sits at the bottom right: the add button leaves it room. */
  .bar-buy {
    padding-right: 64px;
  }
  .bar-buy .btn {
    flex: 1;
    min-width: 0;
  }
  .label .name {
    font-size: 1.08rem;
  }
  .add span {
    display: none;
  }
  .add {
    width: 36px;
    padding: 0;
  }
  .stand .beam {
    display: none;
  }
}

/*
 * Below the desk layout the panel sits under the table, and its height is the bag's
 * (a name on two lines, a longer stock line): the table was framed in whatever the
 * panel left, so choosing a bag re-framed it, a 20 px jump mid-scroll. Now the table's
 * box is the view less a fixed reserve, and the panel stands on the bottom of the view
 * over the reserve, whatever its height.
 */
@media (max-width: 1023px) {
  .bar-view {
    grid-template-rows: auto minmax(0, 1fr) var(--panel-reserve, 318px);
  }
  /* From 760 px the panel also shows the bag's description: a deeper reserve. */
  @media (min-width: 760px) {
    .bar-view {
      --panel-reserve: 372px;
    }
  }
  /* One line for every name, down to a 360 px phone, so the panel keeps one height too. */
  .bar-name {
    font-size: min(1.6rem, 5.2vw);
    white-space: nowrap;
  }
  .bar-panel {
    position: absolute;
    left: var(--pad-x);
    right: var(--pad-x);
    bottom: calc(14px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 560px) {
  .fits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .pill-bag .bag-word {
    display: inline;
  }
  .sheet {
    left: auto;
    top: 12px;
    right: 12px;
    bottom: 12px;
    width: min(480px, calc(100vw - 24px));
    max-height: none;
    border-radius: 28px;
    transform: translate3d(106%, 0, 0);
  }
  .sheet-grip {
    display: none;
  }
  .floor {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
  .bar-desc {
    display: block;
  }
  .counter-face {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
  }
  /* Two panels of one counter: a brass pilaster between them. */
  .counter-face > .face + .face::before {
    content: '';
    position: absolute;
    left: calc(clamp(28px, 4vw, 56px) / -2);
    top: -6px;
    bottom: -6px;
    width: 2px;
    background: linear-gradient(180deg, var(--brass-3), var(--brass-1) 30%, var(--brass-0));
    opacity: 0.8;
  }
}

@media (min-width: 1024px) {
  .pill-links {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: 1fr auto;
    align-items: center;
    gap: 24px;
  }
  .hero-copy {
    grid-row: 1;
    grid-column: 1;
  }
  .hero-anchor {
    grid-row: 1 / 3;
    grid-column: 2;
    width: 100%;
    height: min(78vh, 740px);
  }
  .door-sign {
    display: block;
    grid-row: 2;
    grid-column: 1;
    justify-self: start;
  }
  .hero-veil {
    --veil-end: 0.62;
    background:
      linear-gradient(90deg, rgba(11, 3, 5, 0.88) 0%, rgba(11, 3, 5, 0.55) 34%, rgba(11, 3, 5, 0) 58%),
      linear-gradient(0deg, rgba(11, 3, 5, var(--veil-end)) 0%, rgba(11, 3, 5, 0) 22%);
  }
  .scroll-cue {
    display: flex;
  }
  .bar-view {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: 28px;
    padding-bottom: 28px;
  }
  .bar-head {
    grid-column: 1 / -1;
  }
  .bar-title {
    display: block;
  }
  .bar-stage {
    grid-column: 1;
    grid-row: 2;
  }
  .bar-panel {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    padding: 20px 22px 22px;
  }
  .bar-styles {
    flex-wrap: wrap;
    overflow: visible;
  }
  .bar-arrow.prev {
    left: 2%;
  }
  .bar-arrow.next {
    right: 2%;
  }
  .bar-buy .btn {
    flex: none;
  }
  .floor {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .fits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

/* ---------------------------------------------------- the table, drawn */

/*
 * Where there is no 3D (every touch screen, and any browser without WebGL) the table is
 * drawn: the same velvet top in a lamp pool, the brass lip catching the spot at the
 * front, the lacquered edge under it and the pedestal into the dark. Sized by its own
 * width (cqw), so one table serves the hero and the phone's turntable.
 */
.ptable {
  position: absolute;
  container-type: inline-size;
  pointer-events: none;
}
.ptable > i {
  position: absolute;
  display: block;
}
.pt-stem {
  left: 40cqw;
  width: 20cqw;
  top: 18cqw;
  bottom: 0;
  background: linear-gradient(90deg, #0b0205 0%, #250913 34%, #3d1424 50%, #1c070f 68%, #0b0205 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
}
/* The table's thickness: lacquer, lit along its top where the spot spills over the lip. */
.pt-apron {
  left: -0.8cqw;
  right: -0.8cqw;
  top: 12cqw;
  height: 17.5cqw;
  border-radius: 0 0 50% 50% / 0 0 62% 62%;
  background:
    radial-gradient(50% 40% at 50% 70%, rgb(var(--lamp) / 0.1), transparent 70%),
    linear-gradient(180deg, #3a1020 0%, #1f0711 46%, #0e0307 100%);
  box-shadow: 0 3cqw 5cqw -1cqw rgba(6, 0, 3, 0.75);
}
.pt-rim {
  left: -0.8cqw;
  right: -0.8cqw;
  top: 0.3cqw;
  height: 25.6cqw;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brass-0) 0%, var(--brass-1) 52%, var(--brass-3) 84%, var(--brass-2) 93%, var(--brass-1) 100%);
}
.pt-top {
  left: 0;
  right: 0;
  top: 0;
  height: 24cqw;
  border-radius: 50%;
  background:
    radial-gradient(86% 58% at 50% 2%, rgb(var(--sheen) / 0.26), transparent 62%),
    radial-gradient(70% 76% at 50% 52%, var(--velvet-3) 0%, var(--velvet-2) 40%, var(--velvet-1) 76%, var(--velvet-0) 100%);
  box-shadow: inset 0 -1.6cqw 2.4cqw -1.2cqw rgba(0, 0, 0, 0.55);
}
/* The only glow: the spot's pool on the velvet, under the bag. */
.pt-pool {
  left: 16cqw;
  right: 16cqw;
  top: 3cqw;
  height: 19cqw;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--lamp) / 0.3), rgb(var(--lamp) / 0.09) 58%, transparent);
}
/* A bag at its real size: --w/--h its photograph's frame in cm, --bw its base, --k px per cm. */
.slide,
.stand-bag {
  position: absolute;
  left: 50%;
  width: calc(var(--w, 36) * var(--k));
  height: calc(var(--h, 40) * var(--k));
  margin-left: calc(var(--w, 36) * var(--k) / -2);
  transform-origin: 50% 100%;
}
.slide .cut,
.stand-bag .cut {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  opacity: 0;
  transition: opacity 380ms ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.slide .cut.on,
.stand-bag .cut.on {
  opacity: 1;
}
.slide-shade {
  position: absolute;
  left: 50%;
  bottom: calc(var(--k) * -1.4);
  width: calc(var(--bw, 20) * var(--k) * 1.55);
  height: calc(var(--bw, 20) * var(--k) * 0.24);
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(8, 1, 4, 0.86), rgba(8, 1, 4, 0.42) 55%, transparent);
}

/* The hero's table: its top runs across the bottom of the bag's box, the pedestal down behind the words. */
.hero-anchor {
  position: relative;
}
.hero-stand {
  --k: min(1.12vw, 5.2px);
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-stand .ptable {
  left: -14%;
  right: -14%;
  top: calc(100% - 13vw);
  height: 58svh;
}
.hero-stand .stand-bag {
  bottom: 0;
}

.rail,
.hint-touch {
  display: none;
}

/*
 * The table on a touch screen. Not pinned: it is a section like any other, so a thumb
 * scrolls straight past it. The bags stand round the drawn table and a swipe turns
 * them (assets/js/rail.js); the room behind takes the colour of the bag in front.
 * No backdrop filters here: the bags move under the panel and the arrows.
 */
@media not all and (hover: hover) and (pointer: fine) {
  .stage {
    display: none;
  }
  .bar {
    height: auto;
    isolation: isolate;
  }
  .bar-tints {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 3, 5, 0) 0%, rgba(11, 3, 5, 0.7) 10%, rgba(11, 3, 5, 0.7) 88%, rgba(11, 3, 5, 0) 100%);
  }
  .bar-tints .tint {
    position: absolute;
    left: -30%;
    right: -30%;
    top: -4%;
    height: 78%;
    opacity: 0;
    -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
    transition: background-color 700ms ease;
  }
  .bar-view {
    position: relative;
    top: auto;
    height: auto;
    display: block;
    overflow: visible;
    padding: calc(64px + env(safe-area-inset-top)) var(--pad-x) 44px;
  }
  .bar-title {
    display: block;
    order: 3;
    flex-basis: 100%;
    margin-top: 6px;
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .tour-line i {
    animation: none;
    transform: scaleX(var(--tour, 0.2));
    transition: transform 420ms var(--ease-out);
  }
  .bar-stage {
    --rail-h: clamp(330px, 108vw, 470px);
    height: var(--rail-h);
    margin: 0 calc(var(--pad-x) * -1);
    cursor: auto;
  }
  .bar-stage:active {
    cursor: auto;
  }
  .bar-anchor,
  .bar-fallback {
    display: none !important;
  }
  .rail {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  /* Wider than the phone, so the bags at the back stand on its far edge; its top sits so
     the bag in front stands at 76% down, 60% of the way into the ellipse (24cqw = 26.9vw). */
  .rail .ptable {
    left: -6%;
    right: -6%;
    top: calc(76% - 16.1vw);
    bottom: 0;
  }
  .rail-track {
    --k: calc(var(--rail-h) * 0.0099);
    position: absolute;
    inset: 0;
  }
  .slide {
    bottom: 24%;
    will-change: transform, opacity;
  }
  .bar-arrow {
    top: auto;
    bottom: 16px;
    margin: 0;
    width: 44px;
    height: 44px;
    background: rgba(36, 12, 22, 0.86);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .bar-arrow.prev {
    left: var(--pad-x);
  }
  .bar-arrow.next {
    right: var(--pad-x);
  }
  .bar-hint {
    display: inline-flex;
    bottom: 30px;
  }
  .hint-desk {
    display: none;
  }
  .hint-touch {
    display: inline;
  }
  .bar .bar-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 16px;
    background: linear-gradient(180deg, rgba(46, 14, 27, 0.93), rgba(24, 7, 14, 0.96));
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ---------------------------------------------------- accessibility modes */

@media (prefers-reduced-transparency: reduce) {
  .lg,
  .nav .lg,
  .bar-panel {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(36, 13, 23, 0.97) !important;
  }
}
@media (prefers-contrast: more) {
  .lg {
    background: rgba(30, 10, 18, 0.97);
    box-shadow: inset 0 0 0 1.5px var(--ink-1);
  }
  .stand .top::before {
    background: var(--brass-3);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .piece .pool,
  .piece .beam,
  .piece .bag {
    opacity: 1;
  }
  .bar {
    height: auto;
  }
  .bar-view {
    position: relative;
    height: auto;
    min-height: 100svh;
  }
}
