/* ==========================================================================
   Skin & Body Bar — "The Coffret"
   A luxury box set: black lacquer, satin, velvet, brushed stainless steel
   (the Gateway Arch's own material), frosted glass and cotton paper.
   ========================================================================== */

:root {
  --ink: #060504;
  --velvet: #0b0908;
  --satin: #120f0d;
  --porcelain: #f6efe7;
  --porcelain-dim: #b6aa9d;
  --line: rgba(246, 239, 231, 0.1);
  --line-strong: rgba(246, 239, 231, 0.22);
  --glow: rgba(255, 190, 190, 0.08);
  --blush: #f5cfcb;
  --max: 1280px;
  --error: #eaa59c;

  --steel: linear-gradient(100deg, #9a6b6c 0%, #f6dcd8 18%, #c39092 34%, #fff1ee 50%, #cc9c9d 66%, #f2d2cd 82%, #9c6d6e 100%);
  --lacquer: linear-gradient(150deg, #2e2823 0%, #0d0a09 18%, #030202 46%, #1b1612 72%, #050404 100%);
  --satin-bg: linear-gradient(165deg, #1b1612 0%, #0f0c0a 42%, #090706 100%);
  --velvet-slot: #0d0a09;

  --display: "Gilda Display", "Didot", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;

  --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);

  --nav-h: 76px;
  --side: clamp(16px, 4.5vw, 64px);
  --section: clamp(72px, 8vw, 116px);
  --radius: 22px;

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--velvet);
  color: var(--porcelain);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--porcelain); color: var(--ink); }
section[id] { scroll-margin-top: calc(var(--nav-h) - 1px); }
:focus-visible { outline: 2px solid var(--porcelain); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* Velvet grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--porcelain);
  color: var(--ink);
  font-weight: 600;
  transform: translateY(-200%);
}
.skip:focus-visible { transform: none; }

.wrap { width: min(var(--max), calc(100% - 2 * var(--side))); margin: 0 auto; }

/* ---------- Type ---------- */
.kicker {
  display: inline-block;
  background: var(--steel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: 600 11.5px/1.3 var(--sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.title {
  font: 400 clamp(2.2rem, 4.3vw, 3.9rem)/1.08 var(--display);
  letter-spacing: -0.01em;
  max-width: 20ch;
  text-wrap: balance;
}
.section { padding: var(--section) 0; }
.head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 52px); }
.head--center { justify-items: center; text-align: center; }
.head--center .title { margin-inline: auto; }
.head__lede { color: var(--porcelain-dim); text-wrap: balance; }
.title .line { display: block; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 12.5px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out), background-position 400ms ease, border-color 200ms ease, background-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--steel {
  background: var(--steel);
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 10px 28px -10px rgba(0, 0, 0, 0.9);
}
.btn--ghost { border-color: var(--line-strong); color: var(--porcelain); background: rgba(255, 255, 255, 0.02); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 11.5px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.link-arrow svg, .compartment__meta svg, .plate__arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 240ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn--steel:hover { background-position: 100% 50%; }
  .btn--ghost:hover { border-color: var(--porcelain); }
  .link-arrow:hover svg { transform: translateX(4px); }
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color 300ms ease, border-color 300ms ease;
}
.nav.is-solid {
  background: rgba(11, 9, 8, 0.82);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.nav__inner {
  height: 100%;
  width: min(var(--max), calc(100% - 2 * var(--side)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.nav__logo { justify-self: start; padding: 4px 0; }
.nav__logo img { height: 54px; width: auto; }
.nav__links { display: flex; gap: 4px; }
.nav__links a, .footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  color: var(--porcelain-dim);
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transition: color 200ms ease;
}
.nav__links a:active { opacity: 0.6; }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--porcelain-dim);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: color 200ms ease;
}
.nav__book {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 50px;
  padding: 0 6px 0 22px;
  border-radius: 999px;
  background: var(--steel);
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: var(--ink);
  font: 600 11.5px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 10px 30px -10px rgba(245, 180, 180, 0.45);
  -webkit-tap-highlight-color: transparent;
  transition: background-position 500ms ease, transform 160ms var(--ease-out), opacity 200ms ease;
}
.nav__book-short { display: none; }
.nav__book-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--blush);
}
.nav__book-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 240ms var(--ease-out); }
.nav__book:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .nav__book:hover { background-position: 100% 50%; }
  .nav__book:hover .nav__book-icon svg { transform: translateX(2px); }
}
.nav__menu {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  place-content: center;
  gap: 7px;
  -webkit-tap-highlight-color: transparent;
}
.nav__menu span { display: block; width: 24px; height: 1.5px; background: var(--porcelain); }
.nav__menu span:last-child { width: 16px; justify-self: end; }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover, .footer__nav a:hover, .nav__phone:hover { color: var(--porcelain); }
}

/* Mobile menu: the tray of the box, opened */
.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0 var(--side) calc(18px + env(safe-area-inset-bottom));
  background:
    radial-gradient(80% 50% at 50% 0%, var(--glow), transparent 70%),
    var(--velvet);
  color: var(--porcelain);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), overlay 180ms allow-discrete, display 180ms allow-discrete;
}
.menu[open] {
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 1;
  transform: none;
  transition-duration: 320ms;
  transition-timing-function: var(--ease-drawer);
}
@starting-style { .menu[open] { opacity: 0; transform: translateY(-12px); } }
.menu::backdrop { background: transparent; }
.menu__top { flex: none; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.menu__logo { height: 44px; width: auto; }
.menu__close {
  width: 44px;
  height: 44px;
  margin-right: -6px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.menu__close:active { transform: scale(0.94); }
.menu__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.menu__tray {
  display: grid;
  gap: 8px;
  padding: 8px;
  border-radius: 22px;
  background: #0e0b0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), inset 0 18px 40px rgba(0, 0, 0, 0.6);
}
.menu__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 8px 8px 8px 16px;
  border-radius: 15px;
  background: var(--velvet-slot);
  box-shadow: inset 0 10px 24px rgba(0, 0, 0, 0.9), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out);
}
.menu__item:active { transform: scale(0.98); }
.menu__num {
  background: var(--steel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: 600 10.5px/1 var(--sans);
  letter-spacing: 0.18em;
}
.menu__name { font: 400 1.75rem/1.1 var(--display); }
.menu__thumb { width: 60px; height: 60px; overflow: hidden; border-radius: 11px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
.menu__thumb img { width: 100%; height: 100%; object-fit: cover; }
.menu__cta { container-type: inline-size; display: grid; }
.menu__cta .plate { min-height: 120px; }
.menu__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 16px;
  color: var(--porcelain-dim);
  font-size: 13px;
}
.menu__foot a { display: inline-block; padding: 13px 0; }
/* Contents settle in one after another as the tray opens */
.menu[open] .menu__item, .menu[open] .menu__cta, .menu[open] .menu__foot {
  transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 40ms + 60ms);
}
@starting-style {
  .menu[open] .menu__item, .menu[open] .menu__cta, .menu[open] .menu__foot { opacity: 0; transform: translateY(10px); }
}

/* ==========================================================================
   HERO — the coffret
   ========================================================================== */
.hero {
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  padding: var(--nav-h) 0 clamp(16px, 2.6vh, 28px);
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 55% at 50% 28%, var(--glow), transparent 70%),
    var(--velvet);
}

.coffret {
  position: relative;
  width: min(var(--max), calc(100% - 2 * var(--side)));
  height: 100%;
  max-height: 840px;
  display: grid;
  grid-template-columns: 1fr 26px 1.12fr;
  padding: 12px;
  border-radius: 32px;
  background: var(--lacquer);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 50px 90px -30px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  isolation: isolate;
}
/* Specular light that drifts across the lacquer with the pointer */
.coffret__sheen {
  position: absolute;
  z-index: 3;
  left: -25%;
  top: -40%;
  width: 70%;
  height: 120%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.07), transparent 70%);
  mix-blend-mode: screen;
  will-change: transform;
}

/* --- Lid (inside) --- */
.coffret__lid {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--satin-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), inset 0 40px 80px rgba(0, 0, 0, 0.5);
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.coffret__lid { container-type: inline-size; }
.lid__content { position: relative; z-index: 1; display: grid; justify-items: start; width: 100%; }
.emboss { position: absolute; pointer-events: none; }
.coffret__lid .emboss {
  left: 50%;
  bottom: -2px;
  height: 94%;
  width: auto;
  translate: -50% 0;
}
.emboss path { fill: none; stroke-width: 15; stroke-linecap: round; }
.emboss__shadow path { stroke: rgba(0, 0, 0, 1); transform: translateY(3px); }
.emboss__light path { stroke: rgba(255, 255, 255, 0.16); transform: translateY(-1.6px); }
.emboss__face path { stroke: #1d1814; }

.lid__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(0.9) brightness(0.95);
}
.coffret__lid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(13, 10, 9, 0.96) 0%, rgba(13, 10, 9, 0.88) 38%, rgba(13, 10, 9, 0.35) 72%, rgba(13, 10, 9, 0.55) 100%),
    linear-gradient(to right, rgba(13, 10, 9, 0.55), transparent 70%);
}
.lid__kicker { display: block; margin-bottom: 18px; }
.lid__kicker {
  background: var(--steel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: 600 11px/1.3 var(--sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.lid__title { margin: 0; }
.lid__line {
  display: block;
  font: 400 clamp(1.6rem, 11.3cqi, 5.4rem)/1.04 var(--display);
  letter-spacing: -0.018em;
  white-space: nowrap;
}
.lid__script {
  display: block;
  margin-top: 0.06em;
  font: 400 clamp(1.8rem, 11.6cqi, 5.8rem)/1.12 var(--script);
  white-space: nowrap;
  color: var(--blush);
}
.lid__link { margin-top: 18px; }
.lid__lede {
  position: relative;
  max-width: 40ch;
  margin-top: 20px;
  color: var(--porcelain-dim);
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* --- Hinge --- */
.coffret__hinge {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
}
.coffret__hinge::before {
  content: "";
  position: absolute;
  top: 6%;
  bottom: 6%;
  left: 50%;
  width: 2px;
  translate: -50% 0;
  background: linear-gradient(to bottom, transparent, rgba(240, 205, 202, 0.35) 15%, rgba(240, 205, 202, 0.35) 85%, transparent);
}
.coffret__hinge span {
  position: relative;
  width: 9px;
  height: 58px;
  border-radius: 6px;
  background: linear-gradient(90deg, #8c6264, #f6dcd8 40%, #c39092 70%, #8f6466);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* --- Tray --- */
.coffret__tray {
  border-radius: 22px;
  background: #0e0b0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), inset 0 20px 50px rgba(0, 0, 0, 0.6);
  padding: 12px;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  grid-template-rows: 1.3fr 1fr 1fr;
  gap: 12px;
  min-height: 0;
}
.slot {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 15px;
  background: var(--velvet-slot);
  box-shadow:
    inset 0 10px 24px rgba(0, 0, 0, 0.92),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.035);
  -webkit-tap-highlight-color: transparent;
}
.slot--mirror { grid-row: 1 / 4; }
.slot--mirror img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 40%);
  filter: saturate(0.85) brightness(0.86) contrast(1.05) sepia(0.08);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1400ms ease, transform 1400ms ease;
}
.slot--mirror img.is-active { opacity: 1; transform: scale(1); transition: opacity 1400ms ease, transform 7000ms linear; }
.slot--mirror::after { z-index: 1; }
.slot--mirror::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.09) 0%, transparent 28%, transparent 70%, rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 0 0 5px rgba(0, 0, 0, 0.55), inset 0 0 0 6px rgba(240, 205, 202, 0.22), inset 0 0 60px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* The steel "Request an appointment" plate */
.slot--book { padding: 10px; display: grid; grid-template-columns: minmax(0, 1fr); container-type: size; }
.plate {
  position: relative;
  min-width: 0;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: clamp(14px, 7cqi, 26px);
  padding-right: clamp(14px, 7cqi, 26px);
  padding-bottom: clamp(56px, 22cqi, 26px);
  border-radius: 10px;
  background: var(--steel);
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 12px 26px -10px rgba(0, 0, 0, 0.9);
  transition: transform 160ms var(--ease-out), background-position 500ms ease;
}
.plate__kicker { font: 600 10.5px/1.2 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.7; }
.plate__title { font: 400 clamp(1.05rem, 9.2cqi, 2rem)/1.08 var(--display); padding-right: 0; }
@container (max-width: 200px) { .plate__kicker { display: none; } }
@container (max-height: 170px) { .plate__kicker, .plate__meta { display: none; } .plate { padding-bottom: 50px; } }
@container (max-height: 150px) {
  .slot--vial .slot__kicker { display: none; }
  .slot--vial .vial--sm { --h: 58px; }
  .slot--vial { gap: 6px; }
}
@container (min-width: 260px) { .plate { padding-right: 70px; padding-bottom: clamp(18px, 7cqi, 26px); } }
.plate__meta { font-size: 13px; opacity: 0.72; }
.plate__arrow {
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 50%;
}
.slot--book:active .plate { transform: scale(0.98); }

.slot--vial, .slot--index, .slot--arch {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  padding: 0 clamp(16px, 2vw, 26px);
}
.slot__text { display: grid; gap: 4px; }
.slot__kicker {
  background: var(--steel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: 600 10.5px/1.2 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.slot--vial, .slot--index, .slot--arch { container-type: size; }
.slot__title { font: 400 clamp(1.05rem, 7.5cqi, 1.45rem)/1.15 var(--display); }
.slot__num {
  background: var(--steel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: 400 clamp(2.8rem, 4.2vw, 4rem)/1 var(--display);
}
.slot--vial .vial, .slot--index .slot__num { transition: transform 300ms var(--ease-out); }
.slot__sculpture { flex: none; height: 64%; aspect-ratio: 640 / 760; display: grid; place-items: end center; }
.arch3d { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.6)); }
.arch3d__sweep { transform: translateX(0); }
.js .arch3d__sweep { animation: arch-sweep 2.2s var(--ease-in-out) 2.3s both; }
/* The legs rise from their bases and meet at the keystone, like the real one in 1965 */
.js .slot__sculpture { animation: arch-rise 1.5s var(--ease-in-out) 0.85s both; }
@keyframes arch-rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
/* Second view in the same visit: no entrance, everything is simply there */
.seen .coffret, .seen .lid__kicker, .seen .lid__line, .seen .lid__script, .seen .lid__lede, .seen .lid__link, .seen .slot { animation: none !important; }
@keyframes arch-sweep { from { transform: translateX(0); } to { transform: translateX(1000px); } }
.slot--arch:active { opacity: 0.85; }
.slot--arch .slot__title { white-space: nowrap; }
.slot--vial:active, .slot--index:active { opacity: 0.85; }
@media (hover: hover) and (pointer: fine) { .slot--arch:hover .slot__title { color: #fff; } }

@media (hover: hover) and (pointer: fine) {
  .slot--book:hover .plate { background-position: 100% 50%; }
  .slot--book:hover .plate__arrow { transform: translateX(3px); }
  .slot--vial:hover .vial { transform: translateY(-4px); }
  .slot--index:hover .slot__num { transform: translateX(3px); }
}

/* Hero entrance (once per visit) */
@keyframes lid-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }
.js .coffret { animation: lid-in 1.1s var(--ease-out) both; }
.js .lid__kicker, .js .lid__line, .js .lid__script, .js .lid__lede, .js .lid__link { animation: rise 1s var(--ease-out) both; }
.js .lid__kicker { animation-delay: 0.5s; }
.js .lid__line { animation-delay: 0.6s; }
.js .lid__script { animation-delay: 0.72s; }
.js .lid__lede { animation-delay: 0.84s; }
.js .lid__link { animation-delay: 0.92s; }
.js .slot { animation: fade 0.9s ease both; }
.js .slot--mirror { animation-delay: 0.3s; }
.js .slot--book { animation-delay: 0.6s; }
.js .slot--vial { animation-delay: 0.68s; }
.js .slot--index, .js .slot--arch { animation-delay: 0.76s; }

/* ==========================================================================
   VIAL — frosted glass bottle with a steel-banded cap
   ========================================================================== */
.vial {
  --h: 168px;
  --liquid: linear-gradient(180deg, #e9e3da, #bfb6aa);
  position: relative;
  flex: none;
  display: grid;
  grid-template-rows: 25% 1fr;
  width: calc(var(--h) * 0.38);
  height: var(--h);
  filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.65));
}
.vial--sm { --h: 104px; }
.vial__cap {
  position: relative;
  margin: 0 20%;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(90deg, #0c0a09, #3d3833 28%, #14110f 55%, #2d2824 80%, #0a0908);
}
.vial__cap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  background: var(--steel);
}
.vial__glass {
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 16px 16px / 8px 8px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06) 22%, rgba(255, 255, 255, 0.03) 60%, rgba(255, 255, 255, 0.17) 90%, rgba(255, 255, 255, 0.08));
}
.vial__glass::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 74%;
  background: var(--liquid);
  background-size: 100% 100%;
  opacity: 0.9;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), inset 0 -10px 18px rgba(0, 0, 0, 0.25);
}
.vial__glass::after {
  content: "";
  position: absolute;
  left: 13%;
  top: 6%;
  width: 11%;
  height: 84%;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
}
.vial__label {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 46%;
  translate: -50% -50%;
  padding: 4px 6px 3px;
  border-radius: 2px;
  background: rgba(243, 239, 234, 0.94);
  color: var(--ink);
  font: 600 9px/1 var(--sans);
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.vial--sm .vial__label { font-size: 8px; padding: 3px 4px 2px; }
.vial--opal { --liquid: linear-gradient(180deg, #d6e7ec, #8eb0c0); }
.vial--smoke { --liquid: linear-gradient(180deg, #c3c0bd, #6e6a68); }
.vial--rose { --liquid: linear-gradient(180deg, #f2cfca, #c4847f); }
.vial--milk { --liquid: linear-gradient(180deg, #f6efe6, #d6c4ae); }
.vial--holo { --liquid: linear-gradient(120deg, #f6c4df, #c7b5f4 28%, #a7e3ef 52%, #f8e2b3 76%, #f0b6d4); }
.vial--holo .vial__glass::before { background-size: 260% 260%; animation: holo 9s linear infinite; }
@keyframes holo { to { background-position: 260% 0; } }

/* ==========================================================================
   COLLECTION — the tray with four compartments
   ========================================================================== */
.tray {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 14px;
  border-radius: 28px;
  background: #0e0b0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), inset 0 24px 60px rgba(0, 0, 0, 0.65), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.compartment__link {
  display: grid;
  height: 100%;
  padding: 10px;
  border-radius: 18px;
  background: var(--velvet-slot);
  box-shadow: inset 0 10px 24px rgba(0, 0, 0, 0.9), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out);
}
.compartment__link:active { transform: scale(0.985); }
.compartment__photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
}
.compartment__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.compartment__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: linear-gradient(to top, rgba(5, 5, 5, 0.35), transparent 40%);
}
.compartment__body { display: grid; align-content: start; gap: 8px; padding: 20px 10px 10px; }
.foil {
  background: var(--steel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.24em;
}
.compartment__title { font: 400 clamp(1.4rem, 1.7vw, 1.7rem)/1.15 var(--display); }
.compartment__list { color: var(--porcelain-dim); font-size: 14px; line-height: 1.6; }
.compartment__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font: 600 11.5px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
@media (hover: hover) and (pointer: fine) {
  .compartment__link:hover .compartment__photo img { transform: scale(1.04); }
  .compartment__link:hover .compartment__meta svg { transform: translateX(4px); }
}

/* ==========================================================================
   SIGNATURE — the serum shelf
   ========================================================================== */
.signature { position: relative; }
.signature .wrap { position: relative; }
/* One arch frames the whole shelf: from just before N°01 to just after N°05, over the heading */
.sig-arch {
  position: absolute;
  z-index: 0;
  left: var(--al, 10%);
  width: var(--aw, 80%);
  top: var(--at, 0);
  height: var(--ah, 60%);
  overflow: visible;
  pointer-events: none;
}
.sig-arch path { vector-effect: non-scaling-stroke; }
.sig-arch__a { fill: url(#steel); opacity: 0.7; }
.sig-arch__b { fill: url(#steel); opacity: 0.32; }
.signature .head, .shelf { position: relative; z-index: 1; }
.reveal-on .sig-arch { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-in-out); }
.reveal-on .sig-arch.is-in { clip-path: inset(0 0 0 0); }
.signature::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50% 40% at 50% 46%, var(--glow), transparent 70%);
}
.shelf { position: relative; }
.shelf__row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(8px, 4vw, 64px);
}
.serum {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  min-width: 96px;
  padding: 12px 6px 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.serum .vial { transition: transform 320ms var(--ease-out), scale 140ms var(--ease-out); }
.serum[aria-selected="true"] .vial { transform: translateY(-16px); }
.serum::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 120px;
  height: 40px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), transparent);
  opacity: 0;
  transition: opacity 300ms ease;
}
.serum[aria-selected="true"]::before { opacity: 1; }
.serum:active .vial { scale: 0.97; }
.serum__name {
  max-width: 11ch;
  min-height: 2.6em;
  color: var(--porcelain-dim);
  font: 500 12px/1.3 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  transition: color 200ms ease;
}
.serum[aria-selected="true"] .serum__name { color: var(--porcelain); }
@media (hover: hover) and (pointer: fine) {
  .serum:hover .vial { transform: translateY(-8px); }
  .serum[aria-selected="true"]:hover .vial { transform: translateY(-16px); }
  .serum:hover .serum__name { color: var(--porcelain); }
}
.shelf__glass {
  width: min(100%, 1000px);
  height: 16px;
  margin: -58px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
  box-shadow: 0 34px 50px -12px rgba(0, 0, 0, 0.95);
  pointer-events: none;
}

.serum-card {
  max-width: 760px;
  margin: clamp(40px, 4.5vw, 60px) auto 0;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--satin-bg);
  border: 1px solid var(--line);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
  transition: opacity 180ms ease, filter 180ms ease;
}
.serum-card.is-swapping { opacity: 0; filter: blur(3px); }
.serum-card__num { background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; font: 600 11px/1 var(--sans); letter-spacing: 0.26em; }
.serum-card__name { font: 400 clamp(1.9rem, 3vw, 2.6rem)/1.1 var(--display); }
.serum-card__desc { max-width: 52ch; color: var(--porcelain-dim); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.chips li {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--porcelain);
}
.serum-card__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; margin-top: 12px; }

/* ==========================================================================
   RITUAL — a quiet, candlelit pause
   ========================================================================== */
.ritual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(76vh, 700px);
  display: grid;
  align-items: center;
  padding: var(--section) 0;
  text-align: center;
}
.ritual__bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 72%;
  filter: saturate(0.85) brightness(0.55) sepia(0.15);
}
.ritual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(60% 55% at 50% 50%, rgba(11, 9, 8, 0.25), rgba(11, 9, 8, 0.78) 100%),
    linear-gradient(to bottom, var(--velvet), transparent 18%, transparent 82%, var(--velvet));
}
.ritual__inner { display: grid; justify-items: center; gap: 22px; }
.ritual__title { font: 400 clamp(2.6rem, 5.6vw, 5rem)/1.04 var(--display); letter-spacing: -0.01em; }
.ritual__title span {
  display: block;
  margin-top: 0.12em;
  font: 400 clamp(3rem, 7vw, 6.4rem)/1 var(--script);
  color: var(--blush);
  letter-spacing: 0;
}
.ritual__text { max-width: 46ch; color: rgba(246, 239, 231, 0.84); font-size: 17px; }
.ritual__quote {
  display: grid;
  gap: 10px;
  margin-top: clamp(20px, 4vw, 44px);
  padding-top: 26px;
  border-top: 1px solid rgba(246, 239, 231, 0.18);
  max-width: 34ch;
}
.ritual__quote blockquote { font: 400 clamp(1.15rem, 1.8vw, 1.45rem)/1.45 var(--display); }
.ritual__quote figcaption { color: var(--porcelain-dim); font: 600 10.5px/1.2 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; }

/* ==========================================================================
   MAKERS
   ========================================================================== */
.makers__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
/* Brushed steel frame; the photo is shown whole, never cropped */
.makers__media {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  margin-top: 8px;
  display: grid;
}
.frame {
  padding: 12px;
  border-radius: 8px;
  background: var(--steel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 40px 80px -30px rgba(0, 0, 0, 0.95);
}
.frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1125 / 715;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.makers__copy { display: grid; gap: 24px; justify-items: start; }
.makers__text { color: var(--porcelain-dim); font-size: 17px; max-width: 50ch; }
.roster { width: 100%; border-bottom: 1px solid var(--line); }
.roster li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.roster span { font: 400 1.3rem/1.2 var(--display); }
.roster em {
  color: var(--porcelain-dim);
  font: normal 500 11px/1.2 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: right;
}

/* ==========================================================================
   REVIEWS — a second box: the quote on the lid, Google in the tray
   ========================================================================== */
.gmark { width: 15px; height: 15px; flex: none; }
.stars { --pct: 100%; position: relative; display: inline-block; width: 104px; height: 18px; }
.stars::before, .stars::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") 0 0 / 20.8px 18px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") 0 0 / 20.8px 18px repeat-x;
}
.stars::before { background: rgba(246, 239, 231, 0.18); }
.stars::after { background: var(--steel); clip-path: inset(0 calc(100% - var(--pct)) 0 0); }
.plate .stars::before { background: rgba(0, 0, 0, 0.15); }
.plate .stars::after { background: #1a1612; }

.vault {
  display: grid;
  grid-template-columns: 1.75fr 26px 1fr;
  padding: 12px;
  border-radius: 32px;
  background: var(--lacquer);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 50px 90px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.8);
}
.vault > *, .vault__tray > * { min-width: 0; }
.vault__lid {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: clamp(28px, 3.4vw, 44px);
  min-height: clamp(360px, 32vw, 440px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: 22px;
  background: radial-gradient(70% 60% at 30% 20%, var(--glow), transparent 70%), var(--satin-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), inset 0 40px 80px rgba(0, 0, 0, 0.45);
}
.vault__mark {
  position: absolute;
  top: clamp(4px, 1vw, 14px);
  left: clamp(18px, 2.6vw, 38px);
  background: var(--steel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: 400 clamp(6rem, 11vw, 9.5rem)/1 var(--display);
  opacity: 0.55;
  pointer-events: none;
}
.quotes { display: grid; align-items: center; padding-top: clamp(40px, 5vw, 64px); touch-action: pan-y; }
.quote {
  grid-area: 1 / 1;
  display: grid;
  gap: 24px;
  align-content: center;
  opacity: 0;
  visibility: hidden;
  filter: blur(6px);
  transform: translateY(8px);
  transition: opacity 260ms ease, filter 260ms ease, transform 260ms ease, visibility 0s linear 260ms;
}
.quote.is-active {
  opacity: 1;
  visibility: visible;
  filter: none;
  transform: none;
  transition: opacity 600ms var(--ease-out) 120ms, filter 600ms var(--ease-out) 120ms, transform 600ms var(--ease-out) 120ms, visibility 0s;
}
.quote__text {
  max-width: 34ch;
  font: 400 clamp(1.45rem, 2.3vw, 2.1rem)/1.38 var(--display);
  letter-spacing: -0.005em;
  text-wrap: pretty;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.quote__by { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.quote__name { font: 400 1.9rem/1 var(--script); color: var(--blush); }
.quote__meta { display: inline-flex; align-items: center; gap: 8px; color: var(--porcelain-dim); font-size: 13px; }
.quote__more { color: var(--porcelain); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); padding: 12px 0; margin: -12px 0; }

.vault__controls { display: flex; align-items: center; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.counter { color: var(--porcelain-dim); font: 500 12px/1 var(--sans); letter-spacing: 0.16em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.progress { flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--steel); transform: scaleX(0); transform-origin: left; }
.progress span.is-running { animation: progress-fill 7s linear forwards; }
@keyframes progress-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vault.is-paused .progress span { animation-play-state: paused; }
.vault.is-manual .progress { visibility: hidden; }
@media (hover: hover) and (pointer: fine) { .vault__lid:hover .progress span { animation-play-state: paused; } }
.vault__lid:focus-within .progress span { animation-play-state: paused; }
.vault__arrows { display: flex; gap: 8px; }
.arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: border-color 200ms ease, transform 160ms var(--ease-out);
}
.arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.arrow:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .arrow:hover { border-color: var(--porcelain); } }

.vault__tray {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 12px;
  border-radius: 22px;
  background: #0e0b0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), inset 0 20px 50px rgba(0, 0, 0, 0.6);
}
.score {
  flex: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 18px 22px;
  border-radius: 15px;
  background: var(--steel);
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 12px 26px -10px rgba(0, 0, 0, 0.9);
  -webkit-tap-highlight-color: transparent;
  transition: background-position 500ms ease, transform 160ms var(--ease-out);
}
.score:active { transform: scale(0.98); }
.score__num { font: 400 clamp(2.6rem, 3.6vw, 3.2rem)/0.9 var(--display); }
.score__body { display: grid; gap: 7px; }
.score__meta { font-size: 13px; opacity: 0.75; }
.score .stars::before { background: rgba(0, 0, 0, 0.15); }
.score .stars::after { background: #1a1612; }
.score__arrow { width: 36px; height: 36px; padding: 8px; border: 1px solid rgba(0, 0, 0, 0.35); border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 240ms var(--ease-out); }
.index {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}
.index::-webkit-scrollbar { display: none; }
.entry {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 12px 8px 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 200ms ease, box-shadow 200ms ease;
}
.entry[aria-current="true"] { background: var(--velvet-slot); box-shadow: inset 0 8px 18px rgba(0, 0, 0, 0.85), inset 0 -1px 0 rgba(255, 255, 255, 0.05); }
.entry__avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--steel);
  color: var(--ink);
  font: 400 1rem/1 var(--display);
  opacity: 0.5;
  transition: opacity 200ms ease;
}
.entry__avatar img { width: 100%; height: 100%; object-fit: cover; }
.entry[aria-current="true"] .entry__avatar { opacity: 1; }
.entry__body { display: grid; gap: 2px; min-width: 0; }
.entry__name { font-size: 14px; font-weight: 600; }
.entry__line { overflow: hidden; color: var(--porcelain-dim); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.index__write { flex: none; }
@media (hover: hover) and (pointer: fine) {
  .entry:not([aria-current="true"]):hover { background: rgba(255, 255, 255, 0.03); }
  .entry:not([aria-current="true"]):hover .entry__avatar { opacity: 0.8; }
  .score:hover { background-position: 100% 50%; }
  .score:hover .score__arrow { transform: translate(2px, -2px); }
}

/* ==========================================================================
   FORM — segmented choices
   ========================================================================== */
.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  min-height: 52px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.field .segmented label { position: relative; display: grid; cursor: pointer; -webkit-tap-highlight-color: transparent; font: 500 14px/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: inherit; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 0 6px;
  border-radius: 9px;
  color: var(--porcelain-dim);
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease;
}
.segmented input:checked + span { background: var(--porcelain); color: var(--ink); }
.segmented input:focus-visible + span { outline: 2px solid var(--porcelain); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .segmented label:hover input:not(:checked) + span { color: var(--porcelain); } }

/* ==========================================================================
   FOOTER — the lacquered base of the box
   ========================================================================== */
.footer { padding: 0 0 clamp(16px, 2vw, 24px); }
.base {
  width: min(var(--max), calc(100% - 2 * var(--side)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
  gap: 28px 32px;
  padding: clamp(28px, 3.2vw, 44px);
  border-radius: 28px;
  background: var(--lacquer);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.base__brand { display: grid; gap: 14px; align-content: start; }
.base__brand p { color: var(--porcelain-dim); font-size: 14px; max-width: 30ch; }
.base__logo img { height: 64px; width: auto; }
.base__col { display: grid; gap: 4px; align-content: start; font-size: 14px; }
.base__col a { display: inline-block; padding: 6px 0; color: var(--porcelain); overflow-wrap: anywhere; transition: color 200ms ease; }
.base__label {
  margin-bottom: 6px;
  background: var(--steel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: 600 10.5px/1.3 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.base__bar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--porcelain-dim);
  font-size: 13px;
}
.base__credit a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 0;
  margin: -12px 0;
  color: var(--porcelain-dim);
  transition: color 220ms ease;
}
.base__credit img { height: 17px; width: auto; opacity: 0.85; transition: opacity 220ms ease; }
.base__credit strong { font-weight: 600; color: var(--porcelain); }
@media (hover: hover) and (pointer: fine) {
  .base__credit a:hover { color: var(--porcelain); }
  .base__credit a:hover img { opacity: 1; }
}
.base__social { display: flex; gap: 8px; }
.base__social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 200ms ease, transform 160ms var(--ease-out);
}
.base__social a:active { transform: scale(0.95); }
.base__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.base__social .fill { fill: currentColor; stroke: none; }
@media (hover: hover) and (pointer: fine) {
  .base__col a:hover { color: #fff; }
  .base__social a:hover { border-color: var(--porcelain); }
}

/* ==========================================================================
   RESERVE — the membership card form
   ========================================================================== */
.reserve__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(20px, 2.4vw, 32px);
  align-items: stretch;
}
.reserve__media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
}
.reserve__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.reserve__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.5) 38%, transparent 64%);
}
.reserve__media-copy {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  padding: clamp(24px, 3.4vw, 44px);
  display: grid;
  gap: 14px;
}
.reserve__media-copy p:not(.kicker) { color: rgba(243, 239, 234, 0.82); max-width: 40ch; }

.card {
  padding: 1px;
  border-radius: calc(var(--radius) + 1px);
  background: var(--steel);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95);
}
.form, .done {
  height: 100%;
  border-radius: var(--radius);
  background: var(--satin-bg);
  padding: clamp(24px, 3.4vw, 44px);
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  align-content: start;
}
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend {
  color: var(--porcelain-dim);
  font: 600 11px/1.3 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.field legend { margin-bottom: 8px; padding: 0; }
.req { margin-left: 3px; color: var(--porcelain); }
.form__req { justify-self: end; margin-bottom: -6px; color: var(--porcelain-dim); font-size: 12px; }
.optional { margin-left: 6px; letter-spacing: 0.1em; text-transform: none; font-weight: 500; opacity: 0.7; }
.field input:not([type="radio"]), .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--porcelain);
  font-size: 16px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field textarea { padding: 14px 16px; min-height: 96px; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--porcelain);
  box-shadow: 0 0 0 3px rgba(243, 239, 234, 0.12);
}
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field__error { color: var(--error); font-size: 13px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select select option, .select select optgroup { background: #17130f; color: var(--porcelain); }
.select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--porcelain-dim);
  border-bottom: 1.5px solid var(--porcelain-dim);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.85); cursor: pointer; }

.form__submit { display: grid; gap: 14px; margin-top: 6px; }
.form__alt { color: var(--porcelain-dim); font-size: 14px; text-align: center; }
.form__alt a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--porcelain); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }

.done {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  text-align: center;
  outline: none;
}
.done__title { font: 400 clamp(1.9rem, 3vw, 2.5rem)/1.1 var(--display); }
.done__text { max-width: 44ch; color: var(--porcelain-dim); }
.done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.done:not([hidden]) { animation: rise 500ms var(--ease-out) both; }

/* ==========================================================================
   VISIT — a drawn chart of the corner, and tiles you can tap
   ========================================================================== */
.visit__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 32px;
  background: var(--lacquer);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 50px 90px -30px rgba(0, 0, 0, 0.95);
}
.chart {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1980 / 1416;
  align-self: center;
  border-radius: 22px;
  background: radial-gradient(60% 60% at 52% 43%, rgba(255, 190, 190, 0.1), transparent 70%), var(--satin-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 30px 60px rgba(0, 0, 0, 0.45);
  -webkit-tap-highlight-color: transparent;
}
.chart__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart__map path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart__minor { stroke: rgba(246, 239, 231, 0.14); stroke-width: 1.4; }
.chart__mid { stroke: rgba(246, 239, 231, 0.36); stroke-width: 3; }
.chart__named { stroke: rgba(246, 239, 231, 0.62); stroke-width: 5; }
.chart__map .chart__major { stroke: url(#steel); stroke-width: 7; }
.chart__area, .chart__road, .chart__poi, .chart__shield, .chart__compass, .chart__credit { position: absolute; pointer-events: none; }
.chart__area {
  top: 18px;
  left: 20px;
  color: var(--porcelain-dim);
  font: 600 10.5px/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.chart__road {
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(11, 9, 8, 0.82);
  border: 1px solid var(--line-strong);
  color: var(--porcelain);
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chart__shield {
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 26px;
  border-radius: 6px 6px 12px 12px;
  background: var(--porcelain);
  color: var(--ink);
  font: 700 12px/1 var(--sans);
}
.chart__poi {
  left: var(--x);
  top: var(--y);
  display: flex;
  align-items: center;
  gap: 7px;
  transform: translate(-5px, -50%);
  color: rgba(246, 239, 231, 0.72);
  font-size: 12px;
  white-space: nowrap;
}
.chart__poi::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(246, 239, 231, 0.55); }
.chart__poi--left { flex-direction: row-reverse; transform: translate(calc(-100% + 5px), -50%); }
.chart__credit { right: 14px; bottom: 10px; color: rgba(246, 239, 231, 0.45); font-size: 10px; }
.chart__compass {
  right: 18px;
  bottom: 34px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--porcelain-dim);
  font: 600 11px/1 var(--sans);
}
.chart__pin { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.chart__dot {
  position: absolute;
  left: -9px;
  top: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--steel);
  box-shadow: 0 0 0 4px rgba(11, 9, 8, 0.85), 0 0 24px 6px rgba(255, 180, 180, 0.4);
}
.chart__pulse {
  position: absolute;
  left: -28px;
  top: -28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(245, 207, 203, 0.6);
  animation: chart-pulse 2.8s ease-out infinite;
}
@keyframes chart-pulse { from { transform: scale(0.35); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.chart__card {
  position: absolute;
  left: 22px;
  top: -24px;
  display: grid;
  gap: 2px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(246, 239, 231, 0.96);
  color: var(--ink);
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.8);
}
.chart__card strong { font: 400 1.05rem/1.1 var(--display); }
.chart__open {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 9, 8, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font: 600 11.5px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 200ms ease, transform 160ms var(--ease-out);
}
.chart__open svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chart:active .chart__open { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .chart:hover .chart__open { border-color: var(--porcelain); } }

.tiles {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 22px;
  background: #0e0b0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), inset 0 20px 50px rgba(0, 0, 0, 0.6);
}
.tile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 18px 16px;
  border-radius: 15px;
  background: var(--velvet-slot);
  box-shadow: inset 0 10px 24px rgba(0, 0, 0, 0.9), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out);
}
a.tile:active { transform: scale(0.985); }
.tile__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--steel);
  color: var(--ink);
}
.tile__icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile__body { display: grid; gap: 4px; min-width: 0; }
.tile__label { color: var(--porcelain-dim); font: 600 10.5px/1.2 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; }
.tile__value { font-size: 15.5px; line-height: 1.45; overflow-wrap: anywhere; }
.tile__note { margin-top: 4px; color: var(--porcelain-dim); font-size: 13px; line-height: 1.5; }
.tile__action {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.tile--static { grid-template-columns: auto 1fr; align-items: start; }
@media (hover: hover) and (pointer: fine) {
  a.tile:hover .tile__action { background: var(--porcelain); border-color: var(--porcelain); color: var(--ink); }
}

.dock { display: none; }

/* ==========================================================================
   SCROLL REVEAL (only hidden once JS is running)
   ========================================================================== */
.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__phone { display: none; }
  .tray { grid-template-columns: repeat(2, 1fr); }
  .makers__grid, .reserve__grid { grid-template-columns: 1fr; }
  .base { grid-template-columns: 1fr 1fr; }
  .base__brand { grid-column: 1 / -1; }
  .makers__media { position: static; margin-top: 0; }
  .reserve__media { min-height: 420px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__menu { display: grid; }
  .nav__actions { gap: 10px; }
  .nav__logo img { height: 44px; }

  /* Coffret stands upright: lid on top, hinge across, tray below */
  .coffret {
    grid-template-columns: 1fr;
    grid-template-rows: auto 20px minmax(0, 1fr);
    padding: 9px;
    border-radius: 26px;
  }
  .coffret__lid { border-radius: 18px; padding: 26px 20px 24px; }
  .coffret__hinge { grid-auto-flow: column; justify-content: center; align-items: center; }
  .coffret__hinge::before { top: 50%; bottom: auto; left: 6%; right: 6%; width: auto; height: 2px; translate: 0 -50%; background: linear-gradient(to right, transparent, rgba(240, 205, 202, 0.35) 15%, rgba(240, 205, 202, 0.35) 85%, transparent); }
  .coffret__hinge span { width: 52px; height: 8px; background: linear-gradient(180deg, #8c6264, #f6dcd8 40%, #c39092 70%, #8f6466); }
  .vault { grid-template-columns: 1fr; grid-template-rows: auto 20px auto; padding: 9px; border-radius: 26px; }
  .vault__lid { min-height: 0; border-radius: 18px; padding: 26px 22px 22px; }
  .vault__tray { padding: 9px; border-radius: 18px; }
  .index { display: flex; overflow-x: auto; overflow-y: visible; gap: 6px; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x proximity; }
  .index li { flex: none; scroll-snap-align: start; }
  .entry { width: auto; padding: 8px 16px 8px 8px; }
  .entry__line { display: none; }
  .coffret__tray {
    border-radius: 18px;
    padding: 9px;
    gap: 9px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .slot { border-radius: 12px; }
  .slot--mirror { grid-row: 1 / 3; }
  .slot--index, .slot--vial { display: none; }
  .slot--arch { flex-direction: column; justify-content: center; text-align: center; gap: 10px; padding: 12px 10px; }
  .slot__sculpture { height: 52%; }
  .slot--book { padding: 7px; }
  .plate { gap: 4px; }
  .plate__arrow { right: 12px; bottom: 12px; width: 32px; height: 32px; padding: 7px; }
  .plate__meta { display: none; }
  .slot--vial { flex-direction: column; justify-content: center; text-align: center; gap: 10px; padding: 10px; }
  .slot--vial .vial--sm { --h: 78px; }
  .lid__link { margin-top: 10px; }
  .coffret__lid { padding: 30px 22px 22px; min-height: 0; }
  .lid__kicker { margin-bottom: 12px; font-size: 10px; letter-spacing: 0.24em; }
  .lid__lede { font-size: 14px; margin-top: 12px; }

  .dock {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    display: flex;
    gap: 10px;
    padding: 12px var(--side) calc(12px + env(safe-area-inset-bottom));
    background: rgba(11, 9, 8, 0.88);
    border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transform: translateY(110%);
    transition: transform 220ms var(--ease-out);
  }
  .nav.is-docked .nav__book { opacity: 0; pointer-events: none; }
  .nav__book { height: 44px; padding-left: 18px; gap: 10px; }
  .nav__book-icon { width: 34px; height: 34px; }
  .nav__book-full { display: none; }
  .nav__book-short { display: inline; }
  .dock.is-visible { transform: none; transition-duration: 380ms; transition-timing-function: var(--ease-drawer); }
  .dock.is-hidden-by-form { transform: translateY(110%); }
  .dock__book { flex: 1; }
  .dock__call {
    width: 52px;
    height: 52px;
    flex: none;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    transition: transform 160ms var(--ease-out);
  }
  .dock__call:active { transform: scale(0.95); }
  .dock__call svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  .visit__grid { grid-template-columns: 1fr; padding: 9px; border-radius: 26px; gap: 9px; }
  .chart { border-radius: 18px; }
  .chart__card { left: 16px; top: -20px; padding: 7px 11px; }
  .chart__card strong { font-size: 0.95rem; }
  .chart__poi { font-size: 11px; }
  .chart__road { font-size: 10px; padding: 5px 9px; }
  .tiles { border-radius: 18px; padding: 8px; gap: 8px; }
}

@media (max-width: 900px) and (max-height: 780px) {
  .lid__lede { display: none; }
}
@media (max-width: 900px) {
  .hero { min-height: 540px; }
}

@media (max-width: 720px) {
  .tray {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: 10px;
    padding: 10px;
    margin-inline: calc(-1 * var(--side));
    border-radius: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 10px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .tray::-webkit-scrollbar { display: none; }
  .compartment { scroll-snap-align: start; }

  .shelf__row { justify-content: space-between; gap: 2px; }
  .serum { min-width: 0; flex: 1; padding-inline: 0; gap: 14px; }
  .serum .vial { --h: 118px; }
  /* Names live in the card below on phones; keep them for screen readers */
  .serum__name { max-width: none; min-height: 2.7em; font-size: 10.5px; letter-spacing: 0; text-transform: none; font-weight: 500; line-height: 1.25; }
  .serum { gap: 12px; }
  .shelf__glass { margin-top: -48px; }
  .serum::before { width: 80px; bottom: 36px; }

  .form { grid-template-columns: 1fr; }
  .signature .head { padding-top: 64px; }
  .signature .head__lede { max-width: 27ch; }
  .sig-arch__a { opacity: 0.55; }
  .vault__arrows { display: none; }
  .base { grid-template-columns: 1fr; gap: 18px; padding: 24px 22px; border-radius: 22px; }
  .base__brand { grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding-bottom: 6px; }
  .base__logo img { height: 50px; }
  .base__brand p { font-size: 13px; }
  .base__col { grid-template-columns: 76px 1fr; column-gap: 12px; align-items: start; }
  .base__col .base__label { grid-row: 1 / span 3; margin: 0; padding-top: 12px; }
  .base__col a { padding: 11px 0; }
  .base__col--explore { display: flex; flex-wrap: wrap; column-gap: 18px; }
  .base__col--explore .base__label { flex: 0 0 64px; }
  .base__bar { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding-top: 16px; }
  .base__bar > p:last-child { grid-column: 1 / -1; }
  .segmented span { font-size: 13.5px; padding: 0 2px; }
  .ritual { min-height: 0; padding: clamp(96px, 26vw, 140px) 0; }
  .ritual__bg { object-position: 50% 70%; }
  .ritual::before { background: radial-gradient(90% 60% at 50% 45%, rgba(11, 9, 8, 0.3), rgba(11, 9, 8, 0.82) 100%), linear-gradient(to bottom, var(--velvet), transparent 14%, transparent 86%, var(--velvet)); }
  .tile { grid-template-columns: auto 1fr; padding: 16px 14px; gap: 14px; }
  .tile__action { display: none; }
  .tile__icon { width: 40px; height: 40px; }
  .roster li { flex-direction: column; gap: 4px; }
  .roster em { text-align: left; }
  .frame { padding: 8px; }
}

@media (max-width: 380px) {
  .nav__book { padding-left: 14px; }
}
@media (max-width: 350px) {
  .slot--vial, .slot--arch { display: none; }
  .slot--book { grid-row: 1 / 3; }
  .plate__title { hyphens: auto; }
}

/* ==========================================================================
   REDUCED MOTION — fewer and gentler
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .coffret, .js .lid__kicker, .js .lid__line, .js .lid__script, .js .lid__lede, .js .lid__link { animation: fade 400ms ease both; animation-delay: 0s; }
  .js .slot { animation-delay: 0s; animation-duration: 400ms; }
  .vial--holo .vial__glass::before { animation: none; }
  .js .arch3d__sweep { animation: none; }
  .js .slot__sculpture { animation: fade 400ms ease both; }
  .menu, .menu[open], .menu[open] .menu__item, .menu[open] .menu__cta, .menu[open] .menu__foot { transform: none !important; }
  .quote, .quote.is-active { filter: none; transform: none; }
  .chart__pulse { animation: none; opacity: 0; }
  .reveal-on .sig-arch { clip-path: none; transition: none; }
  .progress { display: none; }
  .reveal-on [data-reveal] { transform: none; transition: opacity 300ms ease; transition-delay: 0s; }
  .serum .vial, .compartment__photo img, .plate, .dock, .dock.is-visible { transition: none; }
  .done:not([hidden]) { animation: fade 300ms ease both; }
}
