/* ==========================================================================
   Ambrette — styles
   Palette: oud wood base, vellum text, brass for UI.
   --liquid / --glow change with the selected fragrance (set from JS).
   ========================================================================== */

:root {
  --oud: #1C1510;
  --oud-2: #261D16;
  --oud-3: #33271E;
  --vellum: #F0E6D6;
  --vellum-dim: rgba(240, 230, 214, 0.64);
  --vellum-faint: rgba(240, 230, 214, 0.14);
  --brass: #C29A5B;

  --liquid: #3940B8;
  --glow: #9DA4FF;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.375rem;
  --fs-xl: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  --fs-2xl: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem);
  --fs-hero: clamp(4.25rem, 1rem + 11vw, 11.5rem);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-pill: 999px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--oud);
  color: var(--vellum);
  font-family: var(--sans);
  font-size: var(--fs-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--vellum); color: var(--oud); padding: 10px 16px; border-radius: var(--radius-pill);
}
.skip:focus { top: 16px; }

.muted { color: var(--vellum-dim); }
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-2xl);
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 96;
}

/* Film grain — keeps the flat dark base from looking digital */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  opacity: 0.06;
  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");
}

/* ---------- The arch (the house motif) ---------- */
.arch {
  position: relative;
  overflow: hidden;
  border-radius: 1000px 1000px 6px 6px;
  background: var(--oud-2);
  isolation: isolate;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.95em 1.6em;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0.01em;
  overflow: hidden; isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--glow);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform 0.5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--solid { background: var(--vellum); color: var(--oud); }
.btn--ghost { border: 1px solid var(--vellum-faint); color: var(--vellum); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--oud); border-color: var(--glow); }
.btn--sm { padding: 0.75em 1.25em; }
.btn--wide { width: 100%; }

.link-btn {
  font-size: var(--fs-sm); color: var(--vellum-dim);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: color 0.3s, background-size 0.4s var(--ease);
}
.link-btn:hover { color: var(--vellum); background-size: 0% 1px; background-position: 100% 100%; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; align-content: center; gap: 18px;
  background: var(--oud);
}
.loader__mark { width: 56px; height: 72px; overflow: visible; }
.loader__mark path { fill: none; stroke: var(--vellum); stroke-width: 1.2; }
.loader__mark .ld-drop { fill: var(--brass); stroke: none; transform-origin: 20px 30px; }
.loader__word { font-family: var(--serif); font-size: var(--fs-lg); letter-spacing: 0.04em; color: var(--vellum-dim); }

/* ---------- Credit bar ---------- */
:root { --bar-h: 34px; }
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--gutter);
  font-size: var(--fs-xs); color: var(--vellum-dim);
  background: var(--oud-2);
  border-bottom: 1px solid var(--vellum-faint);
  transition: transform 0.6s var(--ease);
}
.topbar a {
  position: relative;
  margin-left: 4px;
  color: var(--vellum); font-weight: 600; letter-spacing: 0.02em;
  transition: color 0.3s;
}
.topbar a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor;
  transform: scaleX(0.35); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.topbar a:hover, .topbar a:focus-visible { color: var(--glow); }
.topbar a:hover::after, .topbar a:focus-visible::after { transform: scaleX(1); }
.bar-off .topbar { transform: translateY(-100%); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: var(--bar-h); left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background-color 0.5s var(--ease), transform 0.6s var(--ease), padding 0.5s var(--ease), top 0.6s var(--ease);
}
.bar-off .nav { top: 0; }
.nav.is-scrolled {
  background: rgba(28, 21, 16, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding-top: 12px; padding-bottom: 12px;
}
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 24px; height: 31px; color: var(--vellum); transition: color 0.6s; }
.brand:hover .brand__mark { color: var(--glow); }
.brand__word { font-family: var(--serif); font-size: 1.4rem; letter-spacing: 0.02em; }
.nav__links { display: flex; gap: clamp(20px, 3vw, 44px); font-size: var(--fs-sm); }
.nav__links a { position: relative; color: var(--vellum-dim); transition: color 0.3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--glow); transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover { color: var(--vellum); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.bag-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 12px 9px 16px; border: 1px solid var(--vellum-faint); border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  transition: border-color 0.3s;
}
.bag-btn:hover { border-color: var(--glow); }
.bag-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.bag-btn__count {
  display: grid; place-items: center;
  min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: var(--radius-pill); background: var(--vellum); color: var(--oud);
  font-size: var(--fs-xs); font-weight: 600;
}

/* ---------- Hero: a 3D stage ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: ". car ." "copy nav now";
  column-gap: 3vw;
  padding: calc(88px + var(--bar-h)) var(--gutter) 36px;
  overflow: hidden;
  isolation: isolate;
}
.mist {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 3; pointer-events: none;
  mix-blend-mode: screen;
}
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: 44%;
  width: 76vmin; height: 76vmin; margin: -38vmin 0 0 -38vmin;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--liquid), transparent);
  opacity: 0.42; filter: blur(40px);
}
/* a soft spotlight falling on the plinth */
.hero__beam {
  position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: -12%;
  width: min(62vw, 760px); height: 96%;
  margin-left: calc(min(62vw, 760px) / -2);
  background: linear-gradient(180deg, rgba(240, 230, 214, 0.13), rgba(240, 230, 214, 0.03) 60%, transparent 85%);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  filter: blur(22px);
}

/* Headline: two giant lines placed behind the carousel */
/* no z-index here on purpose: each line joins the hero's stacking order on its own,
   so "Leave" sits behind the bottles and "a trace." stands in front of the stage floor */
.hero__title {
  position: absolute; inset: 0;
  pointer-events: none;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(4.5rem, 1rem + 12.5vw, 15.5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 96;
}
.hero__line { position: absolute; white-space: nowrap; perspective: 900px; }
.hero__line--1 { left: calc(var(--gutter) - 0.04em); top: 12%; z-index: 1; }
.hero__line--2 { right: var(--gutter); top: 55%; z-index: 3; }
.w { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; transform-origin: 50% 100%; backface-visibility: hidden; }

/* Carousel */
.carousel {
  --card-w: clamp(190px, 16.5vw, 290px);
  grid-area: car;
  position: relative; z-index: 2;
  height: min(66vh, 700px);
  align-self: center;
  perspective: 1500px;
  perspective-origin: 50% 38%;
  touch-action: pan-y;
  cursor: grab;
  user-select: none; -webkit-user-select: none;
}
.carousel.is-dragging { cursor: grabbing; }
.carousel__scroll, .carousel__tilt, .carousel__float {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
}
.bottle {
  position: absolute; left: 50%; top: 44%;
  width: var(--card-w); aspect-ratio: 3 / 4.3;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
}
.bottle .arch {
  display: block; width: 100%; height: 100%;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  transition: box-shadow 0.9s var(--ease);
}
.bottle.is-front .arch { box-shadow: 0 50px 130px -30px var(--liquid), 0 0 0 1px rgba(240, 230, 214, 0.1); }
.bottle img { pointer-events: none; -webkit-user-drag: none; }
.bottle__shade {
  position: absolute; inset: 0;
  background: var(--oud);
  opacity: var(--shade, 0);
  transition: opacity 0.3s;
  pointer-events: none;
}
.bottle:not(.is-front):hover .bottle__shade { opacity: calc(var(--shade, 0) * 0.55); }
.bottle__sheen {
  position: absolute; inset: -10% -40%;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, 0.4) 50%, transparent 62%);
  transform: translateX(-120%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
/* mirrored image on the polished floor */
.bottle__reflect {
  position: absolute; left: 0; right: 0; top: 100%;
  height: 42%; margin-top: 4px;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  opacity: 0.3;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  pointer-events: none;
}
.bottle__reflect img {
  position: absolute; left: 0; top: 0;
  width: 100%; height: calc(100% / 0.42);
  object-fit: cover;
  transform: scaleY(-1);
}
.plinth {
  position: absolute; left: 50%;
  top: calc(44% + var(--card-w) * 0.72);
  width: calc(var(--card-w) * 2.7); aspect-ratio: 1;
  margin-left: calc(var(--card-w) * -1.35);
  margin-top: calc(var(--card-w) * -1.35);
  border-radius: 50%;
  border: 1px dashed rgba(240, 230, 214, 0.2);
  transform: rotateX(78deg);
  pointer-events: none;
}
.plinth::before {
  /* inner disc: a pool of the current juice colour */
  content: ""; position: absolute; inset: 16%;
  border-radius: 50%;
  border: 1px solid rgba(240, 230, 214, 0.12);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--liquid) 45%, transparent), transparent);
}
.plinth::after {
  /* tick marks, so the rotation reads */
  content: ""; position: absolute; inset: -5%;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(240, 230, 214, 0.45) 0 0.5deg, transparent 0.5deg 7.5deg);
  -webkit-mask: radial-gradient(closest-side, transparent 94%, #000 95%, #000 99%, transparent 100%);
  mask: radial-gradient(closest-side, transparent 94%, #000 95%, #000 99%, transparent 100%);
}
.plinth__arc {
  position: absolute; inset: -5%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--glow);
  border-right-color: color-mix(in srgb, var(--glow) 30%, transparent);
}
/* touch screens only; mouse users get the "Drag" cursor instead */
.carousel__hint {
  position: absolute; left: 50%; top: 0;
  transform: translateX(-50%);
  font-size: var(--fs-xs); color: var(--vellum-dim);
  white-space: nowrap;
  display: none; gap: 0.5em; align-items: center;
  transition: opacity 0.6s;
}
@media (hover: none) { .carousel__hint { display: flex; } }
.carousel__hint span:first-child, .carousel__hint span:last-child { color: var(--glow); }
.carousel.is-used .carousel__hint { opacity: 0; }

/* Bottom row */
.hero__copy { grid-area: copy; align-self: end; position: relative; z-index: 4; }
.hero__lede { max-width: 36ch; color: var(--vellum-dim); font-size: var(--fs-sm); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.hero__nav {
  grid-area: nav; align-self: end; justify-self: center;
  position: relative; z-index: 4;
  display: flex; align-items: center; gap: 10px;
}
.hero__arrow {
  flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--vellum-faint);
  display: grid; place-items: center;
  transition: background-color 0.35s var(--ease), color 0.35s, border-color 0.35s;
}
.hero__arrow:hover { background: var(--vellum); color: var(--oud); border-color: var(--vellum); }
.hero__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.hero__count {
  display: flex; align-items: center; gap: 0.35em;
  margin-left: 8px;
  font-size: var(--fs-sm); color: var(--vellum-dim);
  font-variant-numeric: tabular-nums;
}
.hero__count-num {
  position: relative; overflow: hidden;
  width: 2.1ch; height: 1.6em;
  color: var(--vellum);
}
.hero__count-num span { position: absolute; left: 0; top: 0; line-height: 1.6em; }

.hero__now {
  grid-area: now; align-self: end; justify-self: end;
  position: relative; z-index: 4;
  text-align: right; min-width: 0;
}
.hero__house { font-size: var(--fs-sm); color: var(--glow); }
.hero__name {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.2rem + 2.1vw, 3.1rem);
  line-height: 1.02;
  margin: 4px 0 6px;
  perspective: 700px;
}
.hero__family { font-size: var(--fs-sm); color: var(--vellum-dim); }
.hero__now-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 18px; }

.swatches { display: flex; align-items: center; gap: 2px; }
.swatch {
  position: relative;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
}
.swatch__dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.35), inset 0 2px 3px rgba(255, 255, 255, 0.25);
  transition: transform 0.4s var(--ease);
}
.swatch::before {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  border: 1px solid var(--c-glow);
  transform: scale(0.5); opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.swatch:hover .swatch__dot { transform: scale(1.25); }
.swatch[aria-checked="true"]::before { transform: scale(1); opacity: 1; }
.swatch[aria-checked="true"] .swatch__dot { transform: scale(1.15); }
.swatch__tip {
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translate(-50%, 4px);
  white-space: nowrap; pointer-events: none;
  font-size: var(--fs-xs); padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--vellum); color: var(--oud);
  opacity: 0; transition: opacity 0.25s, transform 0.35s var(--ease);
}
.swatch:hover .swatch__tip, .swatch:focus-visible .swatch__tip { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Houses ---------- */
.houses {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: center;
  border-top: 1px solid var(--vellum-faint);
}
.houses__lede { color: var(--vellum-dim); max-width: 34ch; font-size: var(--fs-sm); }
.houses__list {
  display: flex; flex-wrap: wrap; gap: 8px 36px;
  font-family: var(--serif); font-size: clamp(1.25rem, 0.9rem + 1.2vw, 1.9rem);
  color: var(--vellum-dim);
}
.houses__list li { transition: color 0.4s; }
.houses__list li:hover { color: var(--vellum); }

/* ---------- Shelf ---------- */
.shelf { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(80px, 10vw, 140px); }
.shelf__head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.shelf__head .muted { margin-top: 10px; font-size: var(--fs-sm); }
.shelf__controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--vellum-faint); font-size: var(--fs-sm); color: var(--vellum-dim);
  transition: background-color 0.35s var(--ease), color 0.35s, border-color 0.35s;
}
.chip:hover { color: var(--vellum); border-color: var(--vellum-dim); }
.chip.is-active { background: var(--vellum); color: var(--oud); border-color: var(--vellum); }
.sort select {
  appearance: none; -webkit-appearance: none;
  padding: 8px 36px 8px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--vellum-faint); background: transparent; font-size: var(--fs-sm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F0E6D6' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 10px;
  cursor: pointer;
}
.sort select option { background: var(--oud-2); color: var(--vellum); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px) clamp(20px, 3vw, 44px);
}
.card { position: relative; }
.card.is-hidden { display: none; }
.card__media { display: block; width: 100%; position: relative; }
.card__media .arch { aspect-ratio: 3 / 3.9; }
.card__media img {
  transform: scale(1.02);
  transition: transform 1.2s var(--ease), filter 0.8s;
  filter: saturate(0.92);
}
.card__media::after {
  /* the liquid colour pooling under the bottle on hover */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -24px; height: 60px;
  background: radial-gradient(closest-side, var(--c), transparent);
  opacity: 0; filter: blur(12px);
  transition: opacity 0.6s var(--ease);
  z-index: -1;
}
.card:hover .card__media img, .card__media:focus-visible img { transform: scale(1.08); filter: saturate(1.05); }
.card:hover .card__media::after { opacity: 0.9; }
.card__peek {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.card__peek span {
  font-size: var(--fs-xs); padding: 4px 10px; border-radius: var(--radius-pill);
  background: rgba(28, 21, 16, 0.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--i) * 50ms);
}
.card:hover .card__peek span, .card__media:focus-visible .card__peek span { opacity: 1; transform: none; }

.card__info {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: start;
  margin-top: 20px;
}
.card__house { font-size: var(--fs-xs); color: var(--vellum-dim); letter-spacing: 0.02em; }
.card__name { font-family: var(--serif); font-size: var(--fs-lg); line-height: 1.15; font-weight: 400; }
.card__meta { grid-column: 1; font-size: var(--fs-sm); color: var(--vellum-dim); }
.card__meta .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c); margin-right: 8px; vertical-align: 1px; }
.card__add {
  grid-column: 2; grid-row: 1 / span 3; align-self: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--vellum-faint);
  display: grid; place-items: center;
  transition: background-color 0.35s var(--ease), border-color 0.35s, color 0.35s;
}
.card__add svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; fill: none; transition: transform 0.45s var(--ease); }
.card__add:hover { background: var(--c-glow); border-color: var(--c-glow); color: var(--oud); }
.card__add:hover svg { transform: rotate(90deg); }
.card__add.is-done { background: var(--c-glow); border-color: var(--c-glow); color: var(--oud); }
.card__add.is-done svg { transform: none; }

/* ---------- Finder ---------- */
.finder {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px);
  border-top: 1px solid var(--vellum-faint);
}
.finder__intro .muted { margin-top: 20px; max-width: 40ch; }
.finder__card {
  position: relative;
  background: var(--oud-2);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  min-height: 420px;
  overflow: hidden;
}
.finder__progress { height: 2px; background: var(--vellum-faint); border-radius: 2px; overflow: hidden; margin-bottom: 32px; }
.finder__progress span { display: block; height: 100%; width: 0; background: var(--glow); transition: width 0.6s var(--ease); }
.finder__step { font-size: var(--fs-sm); color: var(--vellum-dim); }
.finder__q { font-family: var(--serif); font-weight: 400; font-size: var(--fs-xl); line-height: 1.1; margin: 8px 0 28px; }
.finder__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opt {
  text-align: left;
  padding: 18px 20px; border-radius: 18px;
  border: 1px solid var(--vellum-faint);
  transition: border-color 0.3s, background-color 0.3s, transform 0.4s var(--ease);
}
.opt:hover { border-color: var(--glow); background: rgba(240, 230, 214, 0.03); transform: translateY(-2px); }
.opt strong { display: block; font-weight: 500; }
.opt span { display: block; font-size: var(--fs-sm); color: var(--vellum-dim); margin-top: 2px; }
.finder__back { margin-top: 24px; }

.result { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.result .arch { width: clamp(140px, 16vw, 200px); aspect-ratio: 3 / 4; box-shadow: 0 30px 80px -30px var(--rc); }
.result__label { font-size: var(--fs-sm); color: var(--rg); }
.result__name { font-family: var(--serif); font-weight: 400; font-size: var(--fs-xl); line-height: 1.05; margin: 6px 0 10px; }
.result__why { color: var(--vellum-dim); font-size: var(--fs-sm); max-width: 42ch; }
.result__actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 22px; }

/* ---------- How it wears ---------- */
.wear { border-top: 1px solid var(--vellum-faint); }
.wear__pin {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 10vw, 120px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px);
  align-items: center;
  min-height: 100vh;
}
.wear__media { position: relative; justify-self: center; width: min(100%, 400px); }
.arch--wear { aspect-ratio: 3 / 4.2; box-shadow: 0 40px 120px -40px #B8132B; }
.wear__clock { margin-top: 20px; text-align: center; font-size: var(--fs-sm); color: var(--vellum-dim); }
.wear__clock span { font-family: var(--serif); font-size: var(--fs-xl); color: var(--vellum); font-variant-numeric: tabular-nums; margin-right: 6px; }
.wear__lede { margin-top: 18px; max-width: 46ch; }
.stages { margin-top: clamp(28px, 4vw, 48px); display: grid; }
.stage {
  position: relative;
  padding: 18px 0 18px 28px;
  border-left: 1px solid var(--vellum-faint);
}
.stage::before {
  content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: 100%;
  background: #FF6479; transform-origin: top; transform: scaleY(var(--p, 0));
}
.stage__time { font-size: var(--fs-xs); color: var(--vellum-dim); }
.stage__name { font-family: var(--serif); font-weight: 400; font-size: var(--fs-lg); margin: 2px 0 4px; }
.stage__notes { color: #FF8C9B; }
.stage__desc { font-size: var(--fs-sm); color: var(--vellum-dim); margin-top: 4px; max-width: 48ch; }
.stage__notes .word { display: inline-block; white-space: pre; }

/* ---------- Promises ---------- */
.promises { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 110px) var(--gutter); border-top: 1px solid var(--vellum-faint); }
.promises ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.promises h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-lg); line-height: 1.2; }
.promises p { margin-top: 10px; font-size: var(--fs-sm); color: var(--vellum-dim); max-width: 30ch; }

/* ---------- Newsletter ---------- */
.letter {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) var(--gutter);
  border-top: 1px solid var(--vellum-faint);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end;
}
.letter > .muted { grid-column: 1; }
.letter__form {
  grid-column: 2; grid-row: 1 / span 2;
  display: flex; flex-wrap: wrap; gap: 10px;
  align-self: end;
}
.letter__form input {
  flex: 1 1 220px; min-width: 0;
  padding: 0.95em 1.3em; border-radius: var(--radius-pill);
  border: 1px solid var(--vellum-faint); background: transparent;
  transition: border-color 0.3s;
}
.letter__form input::placeholder { color: rgba(240, 230, 214, 0.4); }
.letter__form input:focus { outline: none; border-color: var(--glow); }
.letter__form input[aria-invalid="true"] { border-color: #FF8C7A; }
.letter__msg { flex-basis: 100%; font-size: var(--fs-sm); color: var(--vellum-dim); min-height: 1.6em; padding-left: 1.3em; }

/* ---------- Footer ---------- */
.footer { padding: clamp(56px, 7vw, 90px) var(--gutter) 28px; border-top: 1px solid var(--vellum-faint); overflow: hidden; }
.footer__cols { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; font-size: var(--fs-sm); }
.footer__cols a { display: block; color: var(--vellum-dim); padding: 3px 0; transition: color 0.3s; }
.footer__cols a:hover { color: var(--vellum); }
.footer__h { margin-bottom: 10px; }
.footer__word {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 21vw, 22rem);
  line-height: 0.9; letter-spacing: -0.04em;
  text-align: center;
  margin: clamp(48px, 7vw, 90px) 0 24px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 230, 214, 0.2);
  background-image: linear-gradient(90deg, var(--liquid), var(--glow));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.6s var(--ease);
}
.footer__word.is-filled { background-size: 100% 100%; }
.footer__bottom {
  max-width: var(--max); margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--vellum-faint);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
  font-size: var(--fs-xs);
}
.footer__credit { color: var(--vellum-dim); }
.footer__credit a {
  position: relative;
  margin-left: 4px;
  color: var(--vellum); font-weight: 600; letter-spacing: 0.02em;
  transition: color 0.3s;
}
.footer__credit a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor;
  transform: scaleX(0.35); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.footer__credit a:hover, .footer__credit a:focus-visible { color: var(--glow); }
.footer__credit a:hover::after, .footer__credit a:focus-visible::after { transform: scaleX(1); }

/* ---------- Panels (quick view + bag) ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(12, 9, 7, 0.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
  width: min(480px, 100%);
  background: var(--oud-2);
  overflow-y: auto; overscroll-behavior: contain;
}
.panel__close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--vellum-faint);
  background: rgba(28, 21, 16, 0.6);
  transition: transform 0.45s var(--ease), border-color 0.3s;
}
.panel__close:hover { transform: rotate(90deg); border-color: var(--vellum-dim); }
.panel__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; }

.quick { width: min(960px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.quick__media {
  position: sticky; top: 0;
  min-height: 100%;
  padding: 72px 32px 32px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 42%, var(--qc-soft, transparent), transparent 70%);
}
.arch--quick { width: min(100%, 340px); aspect-ratio: 3 / 4.2; }
.quick__info { padding: 72px 40px 40px 8px; }
.quick__house { color: var(--qg, var(--glow)); font-size: var(--fs-sm); }
.quick__name { font-family: var(--serif); font-weight: 400; font-size: var(--fs-2xl); line-height: 1; margin: 6px 0 8px; }
.quick__info > .muted { font-size: var(--fs-sm); }
.quick__blurb { margin-top: 20px; }
.pyramid { margin: 28px 0; }
.pyramid > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--vellum-faint); }
.pyramid dt { font-size: var(--fs-xs); color: var(--vellum-dim); padding-top: 2px; }
.pyramid dd { font-size: var(--fs-sm); }
.sizes { border: 0; padding: 0; margin: 0 0 20px; }
.sizes legend { font-size: var(--fs-xs); color: var(--vellum-dim); margin-bottom: 10px; padding: 0; }
.sizes__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.size { position: relative; display: block; }
.size input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.size span {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--vellum-faint);
  font-size: var(--fs-sm); cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}
.size input:checked + span { border-color: var(--qg, var(--glow)); background: rgba(240, 230, 214, 0.05); }
.size input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: 2px; }
.quick__note { font-size: var(--fs-xs); margin-top: 12px; text-align: center; }

.cart { display: flex; flex-direction: column; }
.cart__head { padding: 26px 28px 18px; }
.cart__title { font-family: var(--serif); font-weight: 400; font-size: var(--fs-xl); }
.cart__ship { padding: 0 28px 20px; border-bottom: 1px solid var(--vellum-faint); font-size: var(--fs-sm); }
.cart__ship-bar { height: 3px; border-radius: 3px; background: var(--vellum-faint); margin-top: 10px; overflow: hidden; }
.cart__ship-bar span { display: block; height: 100%; width: 0; background: var(--brass); transition: width 0.8s var(--ease); }
.cart__items { flex: 1; padding: 8px 28px; }
.cart__empty { padding: 48px 0; text-align: center; color: var(--vellum-dim); }
.cart__empty .btn { margin-top: 20px; }
.line-item {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--vellum-faint);
}
.line-item .arch { width: 64px; aspect-ratio: 3 / 4; }
.line-item__name { font-family: var(--serif); font-size: 1.1rem; line-height: 1.2; }
.line-item__meta { font-size: var(--fs-xs); color: var(--vellum-dim); }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 8px; border: 1px solid var(--vellum-faint); border-radius: var(--radius-pill); }
.qty button { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--vellum-dim); }
.qty button:hover { color: var(--vellum); }
.qty output { min-width: 18px; text-align: center; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.line-item__right { text-align: right; }
.line-item__price { font-variant-numeric: tabular-nums; }
.line-item__remove { font-size: var(--fs-xs); color: var(--vellum-dim); margin-top: 8px; }
.line-item__remove:hover { color: var(--vellum); }
.cart__foot { padding: 20px 28px 28px; border-top: 1px solid var(--vellum-faint); }
.cart__total { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: var(--fs-lg); font-family: var(--serif); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 160;
  transform: translate(-50%, calc(100% + 48px));
  visibility: hidden;
  padding: 12px 20px; border-radius: var(--radius-pill);
  background: var(--vellum); color: var(--oud); font-size: var(--fs-sm); font-weight: 500;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s var(--ease), visibility 0s linear 0.6s;
  max-width: calc(100vw - 32px);
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform 0.6s var(--ease), visibility 0s; }

/* ---------- Fly-to-bag ghost ---------- */
.fly {
  position: fixed; z-index: 170; pointer-events: none;
  border-radius: 1000px 1000px 6px 6px; overflow: hidden;
}
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cursor (fine pointers only) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 180; pointer-events: none; }
  .cursor span {
    position: absolute; left: 0; top: 0;
    width: 10px; height: 10px; margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--vellum);
    mix-blend-mode: difference;
    display: grid; place-items: center;
    font-size: 12px; font-weight: 600; color: transparent;
    transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), color 0.2s;
  }
  .cursor.is-hover span { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .cursor.is-view span {
    width: 84px; height: 84px; margin: -42px 0 0 -42px;
    mix-blend-mode: normal; color: var(--oud);
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto auto;
    grid-template-areas: "car car" "nav nav" "copy now";
    row-gap: 28px;
  }
  .hero__line--2 { top: 50%; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "title" "car" "now" "nav" "copy";
    padding-top: calc(92px + var(--bar-h)); row-gap: 22px;
  }
  .hero__title { position: relative; inset: auto; grid-area: title; font-size: clamp(3.75rem, 17vw, 7rem); }
  .hero__line { position: relative; display: block; left: auto; right: auto; top: auto; }
  .hero__line--2 { padding-left: 0.55em; }
  .carousel { --card-w: min(46vw, 260px); height: calc(var(--card-w) * 2.05); }
  .hero__glow { top: 42%; }
  .hero__now { justify-self: start; text-align: left; }
  .hero__now-actions { justify-content: flex-start; }
  .hero__nav { justify-self: stretch; justify-content: center; flex-wrap: wrap; margin-top: 0; }
  .houses { grid-template-columns: 1fr; gap: 20px; }
  .finder { grid-template-columns: 1fr; }
  .wear__pin { grid-template-columns: 1fr; min-height: 0; }
  .wear__media { width: min(100%, 320px); }
  .letter { grid-template-columns: 1fr; }
  .letter__form { grid-column: 1; grid-row: auto; }
  .quick { grid-template-columns: 1fr; width: min(560px, 100%); }
  .quick__media { position: relative; min-height: 0; padding: 72px 24px 8px; }
  .arch--quick { width: min(62%, 260px); }
  .quick__info { padding: 24px 24px 40px; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .card__media .arch { aspect-ratio: 3 / 3.4; }
  .finder__opts { grid-template-columns: 1fr; }
  .result { grid-template-columns: 1fr; }
  .promises ul { grid-template-columns: 1fr; gap: 28px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .bag-btn__label { display: none; }
  .hero__nav .swatches { order: -1; flex-basis: 100%; justify-content: center; }
  .swatch { width: 32px; height: 32px; }
  .hero__arrow { width: 44px; height: 44px; }
}

@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;
  }
}
