/* Self-hosted font (Latin subset): Manrope, one variable file for every weight.
   Clear, open figures, so prices like 45 never read as 15. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/manrope.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* MAKENG — main stylesheet
   Tokens come from the gold seal: espresso ink, warm ivory, champagne gold.
   One signature gesture: the gold strike that cancels the designer price. */

/* ---------------------------------------------------------------- tokens */
:root {
  --ink: #0e0a07;
  --ink-2: #1a140e;
  --ink-3: #2a2219;
  --ivory: #f4eee3;
  --paper: #fbf8f2;
  --champagne: #c9a869;
  --champagne-2: #e3cd9c;
  --gilt: #7a5a26;
  --taupe: #6f6455;
  --mist: #a99d8b;
  --line: rgba(14, 10, 7, 0.14);
  --line-dark: rgba(244, 238, 227, 0.16);
  --danger: #a3341f;
  --ok: #3f6b3a;

  --t-fresh: #dfe5d8;
  --t-woody: #e8dcc8;
  --t-oriental: #ebd3b3;
  --t-floral: #efdbd6;
  --t-citrus: #efe6c2;

  --sans: 'Manrope', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --display: var(--sans);

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3.1rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.4vw, 4.8rem);
  --step-5: clamp(3.1rem, 1.8rem + 6.6vw, 8.2rem);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --slow: 900ms;
  --radius: 2px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; min-height: 85svh; }
body.no-scroll { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
::selection { background: var(--champagne); color: var(--ink); }

:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 1px; }
.on-dark :focus-visible, .hero :focus-visible { outline-color: var(--champagne-2); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--ivory); padding: 10px 16px; transition: top 0.2s; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.wrap--narrow { max-width: 780px; }
.section { padding-block: clamp(72px, 10vw, 160px); }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }
.on-dark { background: var(--ink); color: var(--ivory); }
.on-ivory { background: var(--ivory); }
.muted { color: var(--taupe); }
.on-dark .muted { color: var(--mist); }

/* Film grain over the whole page — one fixed layer, no repaint on scroll. */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 400;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ typography */
.display { font-size: var(--step-5); line-height: 0.98; letter-spacing: -0.04em; font-weight: 400; }
.h1 { font-size: var(--step-4); line-height: 1; letter-spacing: -0.02em; }
.h2 { font-size: var(--step-3); line-height: 1.05; }
.h3 { font-size: var(--step-2); }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 34em; font-weight: 400; }
.kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gilt); margin-bottom: 1.1em; }
.on-dark .kicker { color: var(--champagne); }
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6em; font-family: var(--sans); font-weight: 500; letter-spacing: 0; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--gilt); }

/* --------------------------------------------------------------- buttons */
.btn {
  --bg: var(--ink); --fg: var(--ivory); --bd: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0 30px;
  border: 1px solid var(--bd); border-radius: var(--radius);
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--ease), background-color 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.5s var(--ease);
}
/* Light sheen that crosses the button on hover — same gesture as the hero sweep. */
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 246, 220, 0.45) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -14px rgba(14, 10, 7, 0.5); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.1s; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--gold { --bg: var(--champagne); --fg: var(--ink); --bd: var(--champagne); }
.btn--gold:hover { --bg: var(--champagne-2); --bd: var(--champagne-2); }
.btn--ghost { --bg: transparent; --fg: currentColor; --bd: currentColor; }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--ivory); --bd: var(--ink); }
.on-dark .btn--ghost:hover, .hero .btn--ghost:hover { --bg: var(--ivory); --fg: var(--ink); --bd: var(--ivory); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.875rem; }
.btn .icon { transition: transform 0.5s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }

.btn-link { background: none; border: 0; padding: 8px 0; min-height: 44px; color: inherit; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; font-size: 0.9rem; }
.btn-link:hover { color: var(--gilt); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-weight: 500; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: inherit;
  position: relative; text-decoration: none;
  transition: background-color 0.3s, transform 0.4s var(--ease);
}
.icon-btn:hover { background: rgba(201, 168, 105, 0.16); }
.icon-btn:active { transform: scale(0.92); }

/* ----------------------------------------------------------- price/strike */
.price { font-variant-numeric: tabular-nums; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25em 0.7em; margin: 0; }
.price__was {
  position: relative; text-decoration: none; color: var(--taupe);
  font-size: 0.92em;
}
.price__was::after {
  content: ''; position: absolute; left: -3px; right: -3px; top: 52%;
  height: 1.5px; background: var(--champagne);
  transform: rotate(-8deg) scaleX(var(--strike, 1)); transform-origin: left center;
  transition: transform 0.9s var(--ease);
}
.on-dark .price__was { color: var(--mist); }
.price__now { font-weight: 700; }
.price__ml { font-size: 0.8em; color: var(--taupe); }
.price--lg { font-size: var(--step-2); font-family: var(--display); }
.price--lg .price__now { font-weight: 600; letter-spacing: -0.02em; }
.save-pill { display: inline-block; padding: 3px 10px; border: 1px solid var(--champagne); color: var(--gilt); border-radius: 20px; font-size: 0.8rem; font-weight: 500; }
.on-dark .save-pill { color: var(--champagne); }

/* ---------------------------------------------------------------- loader */
.loader {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center;
  background: var(--ink);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
  animation: loader-fallback 0.5s 1.2s forwards;
}
.loader img { width: 84px; height: 84px; animation: loader-pulse 1.6s var(--ease-in-out) infinite; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader.is-leaving { opacity: 1; visibility: visible; animation: none; transition-duration: 0.28s; }
@keyframes loader-pulse { 0%, 100% { opacity: 0.55; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1); } }
@keyframes loader-fallback { to { opacity: 0; visibility: hidden; } }

/* ---------------------------------------------------------------- header */
#site-header { position: sticky; top: 0; z-index: 100; min-height: calc(var(--header-h) + 34px); }
#site-header.is-over { position: fixed; left: 0; right: 0; color: var(--ivory); }
.announce { background: var(--ink); color: var(--champagne-2); text-align: center; font-size: 0.8125rem; letter-spacing: 0.03em; padding: 8px var(--gutter); }
.announce p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 18px; }
@media (max-width: 420px) { .announce { font-size: 0.75rem; letter-spacing: 0.01em; } }
.announce p { margin: 0; }
#site-header.is-over .announce { background: transparent; border-bottom: 1px solid var(--line-dark); }
.header { background: rgba(251, 248, 242, 0.92); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); transition: background-color 0.5s, border-color 0.5s, color 0.5s; }
#site-header.is-over .header { background: transparent; border-color: transparent; }
#site-header.is-over { transition: background-color 0.5s; }
#site-header.is-over.is-scrolled { background: var(--ink); }
#site-header.is-over.is-scrolled .header { background: var(--ink); border-color: var(--line-dark); }
.header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { height: 30px; width: auto; }
.brand__light { display: none; }
#site-header.is-over .brand__dark { display: none; }
#site-header.is-over .brand__light { display: block; }
.nav ul { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav a { position: relative; text-decoration: none; font-size: 0.9375rem; letter-spacing: 0.02em; padding: 10px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--champagne); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.header__menu { display: none; }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--champagne); color: var(--ink);
  font-size: 0.6875rem; font-weight: 600; line-height: 18px; text-align: center;
}
.mobile-menu { position: fixed; inset: calc(var(--header-h) + 34px) 0 0; z-index: 99; background: var(--ink); color: var(--ivory); padding: 32px var(--gutter) calc(100px + var(--safe-b)); overflow-y: auto; }
.mobile-menu a { display: block; font-family: var(--display); font-size: var(--step-3); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line-dark); }

@media (max-width: 960px) {
  .nav { display: none; }
  .header__menu { display: inline-grid; margin-left: -10px; }
  .brand { margin-inline: auto; }
  .brand img { height: 26px; }
  .header__actions { margin-left: 0; }
  .hide-sm { display: none; }
}

/* ---------------------------------------------------------- mobile tabbar */
.tabbar { display: none; }
@media (max-width: 760px) {
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 4px max(8px, env(safe-area-inset-left)) calc(4px + var(--safe-b)) max(8px, env(safe-area-inset-right));
    background: rgba(14, 10, 7, 0.94); color: var(--ivory);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-dark);
  }
  .tabbar__item { position: relative; display: grid; justify-items: center; gap: 2px; min-height: 52px; padding: 6px 0 2px; background: none; border: 0; text-decoration: none; font-size: 0.6875rem; letter-spacing: 0.03em; color: var(--mist); }
  .tabbar__item[aria-current='page'] { color: var(--champagne); }
  .tabbar__item .cart-count { right: calc(50% - 22px); top: 2px; }
  body { padding-bottom: calc(62px + var(--safe-b)); }
  .header__actions [data-open-search] { display: none; }
}

/* ---------------------------------------------------------------- footer */
#site-footer { background: var(--ink); color: var(--ivory); }
.footer { padding-block: clamp(56px, 8vw, 110px) 28px; }
.footer__top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; }
.footer__brand img { width: 88px; height: 88px; margin-bottom: 20px; }
.footer__brand p { color: var(--mist); max-width: 30ch; }
.footer__social { display: flex; gap: 6px; margin-left: -10px; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--champagne); border-radius: 50%; transition: background-color 0.3s; }
.footer__social a:hover { background: rgba(201, 168, 105, 0.14); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols h2 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--champagne); margin-bottom: 14px; }
.footer__cols a { display: inline-block; padding: 7px 0; text-decoration: none; color: var(--ivory); opacity: 0.86; transition: opacity 0.3s, color 0.3s; }
.footer__cols a:hover { opacity: 1; color: var(--champagne-2); }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.8125rem; color: var(--mist); max-width: 92ch; line-height: 1.7; }
.footer__copy { font-size: 0.8125rem; color: var(--mist); margin: 0; }
@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  /* Stacked on phones: the seal and blurb sit centred above the link columns. */
  .footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
  .footer__brand p { margin-inline: auto; }
  .footer__social { margin-left: 0; justify-content: center; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__legal, .footer__copy { text-align: center; margin-inline: auto; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  background:
    radial-gradient(34% 46% at 75% 54%, rgba(226, 190, 122, 0.34), transparent 72%),
    radial-gradient(60% 70% at 72% 55%, rgba(201, 168, 105, 0.18), transparent 70%),
    radial-gradient(40% 50% at 15% 100%, rgba(141, 108, 53, 0.18), transparent 70%),
    var(--ink);
  color: var(--ivory);
  display: grid; align-items: center;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 48px;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 24px; }
.hero__copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.9rem, 1.2rem + 4.6vw, 5.6rem); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 0.4em; }
.hero h1 { display: flex; flex-direction: column; }
.hero__line { display: block; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 0; }

.hero__strike { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.hero__strike-label { font-size: 0.875rem; color: var(--mist); line-height: 1.35; max-width: 24ch; }
.hero__strike-was { position: relative; font-family: var(--display); font-size: var(--step-3); font-weight: 300; color: rgba(244, 238, 227, 0.5); }
.hero__strike-was::after {
  content: ''; position: absolute; left: -6px; right: -6px; top: 54%; height: 2px;
  background: linear-gradient(90deg, var(--champagne-2), var(--champagne));
  transform: rotate(-9deg) scaleX(var(--strike, 1)); transform-origin: left center;
  box-shadow: 0 0 12px rgba(227, 205, 156, 0.6);
}
.hero__strike-now { font-family: var(--display); font-size: var(--step-3); font-weight: 600; color: var(--champagne); }

.hero__stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: min(76svh, 780px); margin-top: 16px; }
.hero__bottle { position: relative; flex: 1; min-height: 0; aspect-ratio: 713 / 1400; max-width: 100%; }
.hero__bottle picture { display: block; height: 100%; }
.hero__bottle img { width: 100%; height: 100%; object-fit: contain; }
/* Light sweep clipped to the bottle silhouette. */
.hero__sweep {
  position: absolute; inset: 0;
  -webkit-mask: url('/assets/img/bottle-hero-760.webp') center / contain no-repeat;
  mask: url('/assets/img/bottle-hero-760.webp') center / contain no-repeat;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 244, 214, 0.55) 48%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 244, 214, 0.5) 52%, transparent 62%) no-repeat;
  background-size: 260% 100%;
  background-position: 160% 0;
  mix-blend-mode: soft-light;
  animation: sweep 7s var(--ease-in-out) 4.2s infinite;
  pointer-events: none;
}
@keyframes sweep { 0% { background-position: 160% 0; } 45%, 100% { background-position: -60% 0; } }
.hero__halo { position: absolute; inset: 12% 8%; border-radius: 50%; border: 1px solid rgba(201, 168, 105, 0.25); }
.hero__halo::before { content: ''; position: absolute; inset: 7%; border-radius: 50%; border: 1px solid rgba(201, 168, 105, 0.12); }

.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 1px; height: 54px; background: linear-gradient(var(--champagne), transparent); transform-origin: top; animation: cue 2.6s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 860px) {
  .hero { padding-top: calc(var(--header-h) + 52px); align-items: start;
    background: radial-gradient(70% 34% at 50% 30%, rgba(226, 190, 122, 0.32), transparent 72%), radial-gradient(40% 50% at 15% 100%, rgba(141, 108, 53, 0.18), transparent 70%), var(--ink); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { order: -1; height: 46svh; min-height: 280px; margin: 0 0 8px; }
  .hero h1 { font-size: clamp(2.9rem, 13vw, 4.6rem); }
  .hero__cta .btn { flex: 1 1 auto; }
  .scroll-cue { display: none; }
}

/* ---------------------------------------------------------- hero entrance
   Pure CSS, so it plays on first paint on every device, before any script
   loads. Order: the bottle appears inside its velvet pouch, the pouch is
   lifted a touch and then drops away below the "table", then the copy rises. */
.hero__halo { animation: fade-in 2.4s var(--ease) 0.2s backwards; }
.hero__bottle { animation: bottle-in 1.2s var(--ease) 0.1s backwards; }
.hero__line { animation: rise 1.3s var(--ease) backwards; }
.hero__line:nth-child(1) { animation-delay: 2.7s; }
.hero__line:nth-child(2) { animation-delay: 2.85s; }
.hero__strike { animation: rise 1.3s var(--ease) 3.1s backwards; }
.hero__cta { animation: rise 1.3s var(--ease) 3.25s backwards; }
#site-header.is-over { animation: fade-in 1.2s var(--ease) 2.9s backwards; }
.scroll-cue { animation-delay: 4s; animation-fill-mode: backwards; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } }
@keyframes bottle-in { from { opacity: 0; transform: translateY(30px) scale(0.97); } }

/* The velvet pouch. js/velvet.js simulates the cloth in WebGL inside this box
   (it must match the world window there: 50% wider than the bottle on each
   side, 12% taller). The <img> is a still of the same first frame, so first
   paint already shows the pouch. Without the script, the still slides down
   out of a clipped box instead. */
.pouch { position: absolute; z-index: 2; pointer-events: none; left: -50%; right: -50%; top: -12%; bottom: 0; }
html:not(.velvet) .pouch {
  overflow: hidden;
  -webkit-mask: linear-gradient(#000 calc(100% - 28px), transparent);
  mask: linear-gradient(#000 calc(100% - 28px), transparent);
}
.pouch img, .pouch__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.pouch img {
  object-fit: fill;
  animation: pouch-drop 2s cubic-bezier(0.6, 0, 0.3, 1) 1.5s both;
  will-change: transform;
}
.velvet .pouch img { animation: none; will-change: auto; }
.velvet-live .pouch img { visibility: hidden; }
@keyframes pouch-drop {
  0% { transform: translateY(0); }
  14% { transform: translateY(-3%) rotate(-0.6deg); }
  100% { transform: translateY(106%) rotate(0.4deg); }
}

/* ----------------------------------------------------- packaging feature */
.pouch-feature { position: relative; background: #e9dfd1; overflow: hidden; }
.pouch-feature img { width: 100%; height: auto; min-height: 340px; object-fit: cover; object-position: 60% center; }
.pouch-feature__copy { position: absolute; left: 0; right: 0; top: clamp(24px, 6vw, 80px); }
.pouch-feature h2 { max-width: 9em; margin-bottom: 0.25em; }
.pouch-feature p { font-size: var(--step-1); color: var(--ink-3); margin: 0; }
@media (max-width: 699px) {
  .pouch-feature { display: flex; flex-direction: column-reverse; }
  .pouch-feature__copy { position: static; padding-block: 40px 8px; }
  .pouch-feature img { min-height: 0; }
}

/* ---------------------------------------------------------------- cards */
.card { position: relative; display: flex; flex-direction: column; }
.card__media {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--t-woody);
}
[data-family='fresh'] .card__media, .card[data-family='fresh'] .card__media, [data-family='fresh'].tint { background: var(--t-fresh); }
[data-family='woody'] .card__media, [data-family='woody'].tint { background: var(--t-woody); }
[data-family='oriental'] .card__media, [data-family='oriental'].tint { background: var(--t-oriental); }
[data-family='floral'] .card__media, [data-family='floral'].tint { background: var(--t-floral); }
[data-family='citrus'] .card__media, [data-family='citrus'].tint { background: var(--t-citrus); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5% 2% 1%; transition: transform 1.2s var(--ease); }
.card__media:active img { transform: scale(0.98); transition-duration: 0.2s; }
.card:hover .card__media img { transform: scale(1.06) translateY(-2.5%); }
.card__media { transition: box-shadow 0.8s var(--ease); }
.card:hover .card__media { box-shadow: 0 28px 50px -30px rgba(14, 10, 7, 0.55); }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%); transform: translateX(-100%); transition: transform 1.2s var(--ease); pointer-events: none; }
.card:hover .card__media::after { transform: translateX(100%); }
.card__no { position: absolute; left: 16px; top: 14px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.card__flag { position: absolute; left: 16px; bottom: 14px; font-size: 0.75rem; background: var(--ink); color: var(--ivory); padding: 3px 10px; }
.card__save { position: absolute; right: 14px; top: 14px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; padding: 4px 10px; background: var(--ink); color: var(--champagne-2); border-radius: 20px; }
.card__body { padding: 16px 2px 0; display: flex; flex-direction: column; flex: 1; }
.card__compare { margin: 0 0 4px; font-size: 0.6875rem; font-weight: 500; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gilt); }
.card__name { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.015em; margin: 0 0 12px; }
.card__name a { text-decoration: none; background: linear-gradient(var(--champagne), var(--champagne)) 0 100% / 0 1px no-repeat; transition: background-size 0.6s var(--ease); }
.card__name a:hover { background-size: 100% 1px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.card__foot .price { gap: 0.15em 0.55em; }
.card__foot .price__now { font-size: 1.1rem; font-weight: 600; }
.card__add {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px 0 12px;
  border: 1px solid var(--ink); border-radius: 22px; background: var(--ink); color: var(--ivory);
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.03em;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.card__add .icon { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.card__add:hover { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }
.card__add:hover .icon { transform: rotate(90deg); }
.card__add:active { transform: scale(0.94); }
.card__actions { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 4 / 5; display: flex; align-items: flex-end; justify-content: space-between; padding: 12px; pointer-events: none; }
.card__actions > * { pointer-events: auto; }
.card__quick {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 0; border-radius: 22px; background: rgba(251, 248, 242, 0.92); color: var(--ink); font-size: 0.85rem;
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.5s var(--ease), background-color 0.3s;
}
.card__quick .icon { width: 18px; height: 18px; }
.card:hover .card__quick, .card__quick:focus-visible { opacity: 1; transform: none; }
.card__quick:hover { background: var(--ink); color: var(--ivory); }
.fav { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(251, 248, 242, 0.92); color: var(--ink); transition: transform 0.4s var(--ease), color 0.3s; }
.fav:hover { transform: scale(1.08); }
.fav[aria-pressed='true'] { color: var(--danger); }
.fav[aria-pressed='true'] .icon { fill: currentColor; animation: pop 0.45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.3); } }
@media (hover: none) { .card__quick { opacity: 1; transform: none; } .card__quick span { display: none; } .card__quick { width: 44px; padding: 0; justify-content: center; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .card__name { font-size: 1.1rem; margin-bottom: 8px; }
  .card__compare { font-size: 0.625rem; letter-spacing: 0.1em; }
  .card__save { right: 8px; top: 8px; }
  .card__no { left: 10px; top: 8px; }
  .card__foot .price__ml { display: none; }
  .card__add { width: 44px; padding: 0; justify-content: center; }
  .card__add span { display: none; }
}

/* ------------------------------------------------------------ collection */
.col__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.col__head h2 { margin: 0; }
.tabs { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font-size: 0.9rem; letter-spacing: 0.02em; white-space: nowrap; color: var(--taupe); transition: background-color 0.4s var(--ease), color 0.3s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected='true'] { background: var(--ink); color: var(--ivory); }
.col__more { margin: clamp(40px, 5vw, 64px) 0 0; text-align: center; }
@media (max-width: 560px) { .col__head .tabs { width: 100%; } .tabs button { flex: 1; padding: 0 12px; } }

/* --------------------------------------------------------------- compare */
.compare__head { max-width: 760px; margin-bottom: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 22px; background: transparent; color: inherit;
  font-size: 0.9rem; text-decoration: none; white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.chip:hover { border-color: currentColor; }
.chip[aria-pressed='true'], .chip[aria-checked='true'], .chip.is-on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.on-dark .chip { border-color: var(--line-dark); }
.on-dark .chip:hover { border-color: var(--champagne); }
.on-dark .chip[aria-pressed='true'], .on-dark .chip[aria-checked='true'] { background: var(--champagne); color: var(--ink); border-color: var(--champagne); }
.compare__picker { margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.compare__picker .chips { flex-wrap: nowrap; }

.vs { display: grid; grid-template-columns: 1fr minmax(0, 1.1fr) 1fr; border: 1px solid var(--line-dark); }
.vs__side { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 6px; }
.vs__side--mk { background: var(--ivory); color: var(--ink); }
.vs__who { font-weight: 500; font-size: var(--step-1); margin: 0; }
.vs__name { font-size: var(--step-2); margin: 0 0 12px; }
.vs__price { font-family: var(--display); font-size: var(--step-4); font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin: auto 0 6px; }
.vs__side--designer .vs__price { position: relative; color: var(--mist); width: max-content; }
.vs__side--designer .vs__price::after { content: ''; position: absolute; left: -6px; right: -6px; top: 52%; height: 2px; background: var(--champagne); transform: rotate(-9deg) scaleX(var(--strike, 1)); transform-origin: left; transition: transform 1s var(--ease); }
.vs__per { font-size: 0.85rem; color: var(--mist); margin: 0; }
.vs__side--mk .vs__per { color: var(--taupe); }
.vs__mid { border-inline: 1px solid var(--line-dark); padding: clamp(24px, 3vw, 44px); }
.pyramid { display: grid; gap: 0; }
.pyramid__tier { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.pyramid__tier:last-child { border-bottom: 0; }
.pyramid__tier dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne); }
.pyramid__tier dd { margin: 0; }
.pyramid__match { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 0.85rem; color: var(--champagne-2); }
.pyramid__match .icon { width: 18px; height: 18px; }

input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
input[type='range']::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--champagne) var(--fill, 50%), var(--line-dark) var(--fill, 50%)); }
input[type='range']::-moz-range-track { height: 2px; background: var(--line-dark); }
input[type='range']::-moz-range-progress { height: 2px; background: var(--champagne); }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -12px; border-radius: 50%; background: var(--champagne); border: 6px solid var(--ink); box-shadow: 0 0 0 1px var(--champagne); transition: transform 0.3s var(--ease); }
input[type='range']::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--champagne); border: 6px solid var(--ink); box-shadow: 0 0 0 1px var(--champagne); }
input[type='range']:active::-webkit-slider-thumb { transform: scale(1.15); }

@media (max-width: 900px) {
  .vs { grid-template-columns: 1fr 1fr; }
  .vs__mid { grid-column: 1 / -1; grid-row: 2; border-inline: 0; border-top: 1px solid var(--line-dark); }
}
@media (max-width: 480px) { .vs__price { font-size: 2.3rem; } }

/* ------------------------------------------------------------------ quiz */
.quiz { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.quiz__panel { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); min-height: 380px; display: flex; flex-direction: column; }
.quiz__progress { display: flex; gap: 6px; margin-bottom: 28px; }
.quiz__progress span { flex: 1; height: 2px; background: var(--line); transition: background-color 0.5s; }
.quiz__progress span.is-done { background: var(--champagne); }
.quiz__q { font-family: var(--display); font-size: var(--step-2); margin-bottom: 20px; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz__opt { min-height: 56px; padding: 12px 16px; text-align: left; border: 1px solid var(--line); background: transparent; border-radius: var(--radius); transition: border-color 0.3s, background-color 0.3s, transform 0.4s var(--ease); }
.quiz__opt:hover { border-color: var(--ink); transform: translateY(-2px); }
.quiz__opt small { display: block; color: var(--taupe); font-size: 0.8rem; }
.quiz__result { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
.quiz__result .tint { aspect-ratio: 4/5; display: grid; place-items: center; }
.quiz__result img { width: 80%; }
.quiz__back { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .quiz { grid-template-columns: 1fr; } .quiz__opts { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- guarantee strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.strip__item { display: flex; gap: 14px; align-items: center; padding: 26px 20px; font-size: 0.95rem; }
.strip__item + .strip__item { border-left: 1px solid var(--line); }
.strip__item .icon { flex: none; color: var(--gilt); width: 28px; height: 28px; stroke-width: 1.1; }
.strip__item strong { display: block; font-weight: 500; }
.strip__item span { color: var(--taupe); font-size: 0.85rem; }
@media (max-width: 900px) { .strip { grid-template-columns: 1fr 1fr; } .strip__item:nth-child(3) { border-left: 0; } .strip__item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .strip { grid-template-columns: 1fr; } .strip__item + .strip__item { border-left: 0; border-top: 1px solid var(--line); } }

/* ----------------------------------------------------------- newsletter */
.news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.news h2 { margin: 0; }
.inline-form { display: flex; gap: 0; border-bottom: 1px solid currentColor; }
.inline-form input { flex: 1; min-width: 0; min-height: 56px; border: 0; background: transparent; padding: 0 4px; font-size: var(--step-1); }
.inline-form input::placeholder { color: var(--mist); }
.inline-form input:focus { outline: none; }
.inline-form:focus-within { border-bottom-color: var(--champagne); }
.inline-form button { border: 0; background: transparent; min-height: 56px; padding: 0 4px 0 16px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.form-note { font-size: 0.85rem; color: var(--taupe); margin: 12px 0 0; min-height: 1.4em; }
@media (max-width: 760px) { .news { grid-template-columns: minmax(0, 1fr); } }

/* ----------------------------------------------------------------- forms */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-size: 0.875rem; font-weight: 500; }
.field small { color: var(--taupe); font-size: 0.8rem; }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid rgba(14, 10, 7, 0.28); border-radius: var(--radius);
  background: #fff; color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gilt); box-shadow: 0 0 0 3px rgba(201, 168, 105, 0.3); }
.field [aria-invalid='true'] { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: 0.8rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
select.input, .field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%230e0a07' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

/* ------------------------------------------------------------ page heads */
.page-head { padding-block: clamp(28px, 4vw, 64px) clamp(24px, 3vw, 40px); }
.page-head h1 { margin: 0; }
.page-head p { margin: 16px 0 0; }
.crumbs { font-size: 0.85rem; color: var(--taupe); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ shop */
.shop { display: grid; grid-template-columns: 250px 1fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 120px; }
.shop__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 28px; }
.shop__search { position: relative; flex: 1 1 280px; }
.shop__search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--taupe); pointer-events: none; }
.shop__search input { padding-left: 46px; min-height: 52px; font-size: 1rem; }
.shop__count { font-size: 0.9rem; color: var(--taupe); margin: 0 auto 0 0; }
.shop__sort { width: auto; min-width: 190px; }
.filters h2 { font-family: var(--sans); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; margin: 0 0 12px; }
.filters fieldset { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.filters legend { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.check { display: flex; align-items: center; gap: 12px; min-height: 40px; cursor: pointer; font-size: 0.95rem; }
.check input { appearance: none; width: 20px; height: 20px; border: 1px solid rgba(14, 10, 7, 0.4); border-radius: 2px; display: grid; place-items: center; margin: 0; flex: none; transition: background-color 0.2s, border-color 0.2s; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ''; width: 10px; height: 6px; border: 1.5px solid var(--ivory); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check input[type='radio'] { border-radius: 50%; }
.check input[type='radio']:checked::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--ivory); transform: none; }
.check .n { margin-left: auto; color: var(--taupe); font-size: 0.8rem; }
.price-range output { font-size: 0.9rem; }
.price-range input[type='range']::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--ink) var(--fill, 100%), var(--line) var(--fill, 100%)); }
.price-range input[type='range']::-webkit-slider-thumb { background: var(--ink); border-color: var(--paper); box-shadow: 0 0 0 1px var(--ink); }
.price-range input[type='range']::-moz-range-thumb { background: var(--ink); border-color: var(--paper); box-shadow: 0 0 0 1px var(--ink); }
.price-range input[type='range']::-moz-range-progress { background: var(--ink); }
.filters__toggle { display: none; }
.filters__close { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.active-filters .chip { min-height: 36px; font-size: 0.85rem; gap: 6px; }
.active-filters .chip .icon { width: 14px; height: 14px; }
.empty { text-align: center; padding: 64px 16px; }
.empty p { font-family: var(--display); font-size: var(--step-2); margin-bottom: 20px; }
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 150; background: var(--paper); padding: 24px var(--gutter) calc(110px + var(--safe-b)); overflow-y: auto; transform: translateY(100%); transition: transform 0.5s var(--ease); visibility: hidden; }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__toggle { display: inline-flex; }
  .filters__close { display: flex; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter) calc(12px + var(--safe-b)); background: var(--paper); border-top: 1px solid var(--line); gap: 12px; }
  .filters__close .btn { flex: 1; }
  .shop__sort { flex: 1; min-width: 0; }
}

/* --------------------------------------------------------------- product */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 80px); padding-bottom: clamp(72px, 10vw, 140px); }
.gallery { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-self: start; position: sticky; top: calc(var(--header-h) + 52px); }
.gallery__thumbs { display: grid; gap: 10px; align-content: start; }
.gallery__thumbs button { padding: 0; border: 1px solid transparent; background: var(--ivory); aspect-ratio: 4/5; overflow: hidden; transition: border-color 0.3s; }
.gallery__thumbs button[aria-current='true'] { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s var(--ease), transform 1.4s var(--ease); }
.gallery__main img.is-contain { object-fit: contain; padding: 8%; }
.gallery__main:hover img.is-contain { transform: scale(1.04); }
.pdp__info { padding-top: 8px; }
.pdp__no { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gilt); margin: 0 0 6px; }
.pdp__name { font-size: var(--step-4); margin: 0 0 10px; }
.pdp__insp { font-size: 1.05rem; margin-bottom: 24px; }
.pdp__insp strong { font-weight: 500; }
.pdp__price { padding: 20px 0; border-block: 1px solid var(--line); margin-bottom: 24px; }
.pdp__save { margin: 10px 0 0; font-size: 0.95rem; color: var(--taupe); }
.pdp__save strong { color: var(--ink); font-weight: 500; }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.size span { display: grid; place-items: center; min-width: 92px; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; font-size: 0.95rem; transition: border-color 0.3s, background-color 0.3s, color 0.3s; }
.size small { display: block; font-size: 0.75rem; color: var(--taupe); line-height: 1.1; }
.size input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.size input:checked + span small { color: var(--mist); }
.size input:focus-visible + span { outline: 2px solid var(--champagne); outline-offset: 2px; }
.size input:disabled + span { opacity: 0.4; text-decoration: line-through; }
.pdp__cta { display: flex; gap: 10px; margin-bottom: 14px; }
.pdp__cta .btn { flex: 1; }
.pdp__cta .fav { border: 1px solid var(--line); width: 52px; height: 52px; border-radius: var(--radius); background: transparent; }
.pdp__stock { font-size: 0.875rem; color: var(--taupe); margin-bottom: 32px; }
.pdp__stock.is-low { color: var(--danger); }
.pdp__desc { font-family: var(--display); font-size: var(--step-1); line-height: 1.5; margin-bottom: 32px; }
.pdp__block { padding: 24px 0; border-top: 1px solid var(--line); }
.pdp__block h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 14px; }
.pdp .pyramid__tier { border-color: var(--line); grid-template-columns: 64px 1fr; }
.pdp .pyramid__tier dt { color: var(--gilt); }
.meter { display: grid; grid-template-columns: 90px 1fr 70px; gap: 12px; align-items: center; margin-bottom: 12px; font-size: 0.9rem; }
.meter__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.meter__track span { height: 6px; background: var(--line); }
.meter__track span.is-on { background: var(--champagne); }
.meter__val { color: var(--taupe); font-size: 0.85rem; }
.pdp__legal { font-size: 0.8rem; color: var(--taupe); margin-top: 20px; }
.sticky-buy { display: none; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery__thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; }
  .sticky-buy { position: fixed; left: 0; right: 0; bottom: calc(62px + var(--safe-b)); z-index: 80; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter); background: rgba(251, 248, 242, 0.96); border-top: 1px solid var(--line); transform: translateY(120%); transition: transform 0.5s var(--ease); backdrop-filter: blur(10px); }
  .sticky-buy.is-on { transform: none; }
  .sticky-buy .btn { flex: 1; min-height: 48px; }
  .sticky-buy p { margin: 0; font-size: 0.85rem; line-height: 1.3; }
}
@media (min-width: 761px) and (max-width: 900px) { .sticky-buy { bottom: 0; } }

/* ------------------------------------------------------------------ cart */
.lines { display: grid; }
.line { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__img { display: block; aspect-ratio: 1; background: var(--t-woody); }
.line[data-family='fresh'] .line__img { background: var(--t-fresh); }
.line[data-family='oriental'] .line__img { background: var(--t-oriental); }
.line[data-family='floral'] .line__img { background: var(--t-floral); }
.line[data-family='citrus'] .line__img { background: var(--t-citrus); }
.line__name { font-family: var(--display); font-size: 1.2rem; text-decoration: none; display: block; line-height: 1.2; }
.line__meta { display: block; font-size: 0.8rem; color: var(--taupe); margin: 2px 0 10px; }
.line__end { display: grid; justify-items: end; gap: 4px; }
.line__end .btn-link { font-size: 0.8rem; min-height: 36px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; display: grid; place-items: center; }
.qty button:hover { background: var(--ivory); }
.qty .icon { width: 16px; height: 16px; }
.qty span { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }

.drawer { position: fixed; inset: 0; z-index: 200; background: rgba(14, 10, 7, 0); transition: background-color 0.4s; }
.drawer.is-open { background: rgba(14, 10, 7, 0.5); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; padding: 0 24px calc(16px + var(--safe-b)); transform: translateX(100%); transition: transform 0.55s var(--ease); overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 1; }
.drawer__head h2 { font-size: var(--step-2); margin: 0; }
.drawer__foot { margin-top: auto; padding-top: 20px; display: grid; gap: 8px; justify-items: center; }
.drawer__foot .row { width: 100%; }
.row { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 8px; }
.ship-meter { font-size: 0.875rem; margin: 16px 0 4px; }
.ship-meter__bar { display: block; height: 3px; background: var(--line); margin-top: 8px; position: relative; overflow: hidden; }
.ship-meter__bar span { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--champagne); transition: width 0.8s var(--ease); }

.cart-page { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-bottom: 120px; align-items: start; }
.summary { background: var(--ivory); padding: clamp(20px, 3vw, 36px); position: sticky; top: calc(var(--header-h) + 52px); }
.summary h2 { font-size: var(--step-2); }
.summary .row--total { font-size: 1.15rem; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 8px; }
.summary .saved-line { color: var(--gilt); }
.demo-note { font-size: 0.85rem; padding: 12px 14px; border: 1px dashed var(--gilt); color: var(--taupe); margin: 16px 0; }
.signin-box { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); background: var(--paper); margin-bottom: 18px; }
.signin-box > p { margin: 0; }
.signin-box__title { font-family: var(--display); font-size: var(--step-1); color: var(--ink); }
.signin-box .form-note { margin: 0 0 4px; min-height: 0; }
.signin-box .signin__or { margin: 6px 0; }
.checkout-who { margin: 0 0 18px; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link:hover { color: var(--gilt); }
@media (max-width: 900px) { .cart-page { grid-template-columns: 1fr; } .summary { position: static; } }

/* ----------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 16px; background: rgba(14, 10, 7, 0); transition: background-color 0.3s; }
.modal.is-open { background: rgba(14, 10, 7, 0.6); }
.modal__panel { position: relative; width: min(920px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: var(--paper); opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease); }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; right: 8px; top: 8px; z-index: 2; background: rgba(251, 248, 242, 0.9); }
.modal--search { align-items: start; padding-top: 10vh; }
.modal--search .modal__panel { width: min(680px, 100%); }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv__media { aspect-ratio: 1; }
.qv__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.qv[data-family='fresh'] .qv__media { background: var(--t-fresh); }
.qv[data-family='woody'] .qv__media { background: var(--t-woody); }
.qv[data-family='oriental'] .qv__media { background: var(--t-oriental); }
.qv[data-family='floral'] .qv__media { background: var(--t-floral); }
.qv[data-family='citrus'] .qv__media { background: var(--t-citrus); }
.qv__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.qv__no { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gilt); margin: 0 0 4px; }
.qv__name { font-size: var(--step-3); margin: 0 0 4px; }
.qv__insp { color: var(--taupe); margin-bottom: 16px; }
.qv__desc { margin-bottom: 20px; }
.qv .price { margin-bottom: 20px; }
.qv__cta { display: grid; gap: 10px; margin-top: auto; }
@media (max-width: 700px) { .qv { grid-template-columns: 1fr; } .qv__media { aspect-ratio: 16 / 10; } }

.search { padding: 28px clamp(20px, 4vw, 36px) 20px; }
.search__label { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gilt); margin-bottom: 8px; padding-right: 40px; }
.search__input { width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-family: var(--display); font-size: var(--step-2); padding: 8px 0 12px; min-height: 56px; }
.search__input:focus { outline: none; border-bottom-color: var(--champagne); }
.search__results { margin-top: 12px; }
.search__hint { font-size: 0.8rem; color: var(--taupe); padding: 10px 0 4px; }
.search__hit { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 8px; margin: 0 -8px; text-decoration: none; border-radius: var(--radius); transition: background-color 0.2s; }
.search__hit:hover, .search__hit:focus-visible { background: var(--ivory); }
.search__no { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--gilt); }
.search__hit strong { display: block; font-weight: 600; font-size: 1.15rem; }
.search__hit small { color: var(--taupe); }
.search__price { font-size: 0.9rem; }
.search__all { display: block; padding: 14px 0 4px; font-size: 0.9rem; }
.search__none { padding: 20px 0; color: var(--taupe); }

/* ----------------------------------------------------------------- toast */
.toasts { position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); z-index: 600; display: grid; gap: 8px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); }
@media (max-width: 760px) { .toasts { bottom: calc(80px + var(--safe-b)); } }
.toast { margin: 0; padding: 12px 20px; background: var(--ink); color: var(--ivory); border-left: 2px solid var(--champagne); font-size: 0.9rem; opacity: 0; transform: translateY(10px); transition: opacity 0.35s, transform 0.5s var(--ease); }
.toast.is-in { opacity: 1; transform: none; }
.toast--err { border-left-color: #e06a50; }

/* ------------------------------------------------------------ info pages */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; font-family: var(--display); font-size: var(--step-1); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; max-width: 68ch; color: var(--ink); }
.faq h2 { font-size: var(--step-2); margin: 56px 0 8px; }
.faq h2:first-child { margin-top: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.portrait { aspect-ratio: 4/5; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.values h3 { font-size: var(--step-2); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- 404 */
.nf { min-height: 80svh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.nf__bottle { width: 92px; margin: 0 auto 28px; opacity: 0.92; animation: tilt 5s var(--ease-in-out) infinite; }
@keyframes tilt { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-6px); } }
.nf h1 { font-size: var(--step-4); }
.nf form { max-width: 460px; margin: 28px auto; }

/* ------------------------------------------------------------- account */
.acct { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 72px); padding-bottom: 120px; }
.acct__side { align-self: start; }
.acct__user { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.acct__user img { width: 56px; height: 56px; border-radius: 50%; }
.acct__user strong { display: block; font-size: 1.2rem; font-weight: 600; }
.acct__user span { font-size: 0.85rem; color: var(--taupe); word-break: break-all; }
.acct__links { display: grid; gap: 8px; }
.signin { max-width: 520px; margin: 0 auto; text-align: center; padding: 40px 0 120px; }
.signin p { color: var(--taupe); }
.btn--google { --bg: #fff; --fg: var(--ink); --bd: rgba(14, 10, 7, 0.25); }
.btn--google:hover { --bg: #fff; --bd: var(--ink); }
.orders { display: grid; gap: 14px; margin-bottom: 56px; }
.order-card { border: 1px solid var(--line); padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; }
.order-card h3 { font-family: var(--sans); font-size: 1rem; font-weight: 500; margin: 0; }
.order-card p { margin: 0; font-size: 0.9rem; color: var(--taupe); }
.badge { display: inline-block; padding: 3px 10px; font-size: 0.75rem; border-radius: 20px; background: var(--ivory); border: 1px solid var(--line); font-weight: 500; text-transform: capitalize; }
.badge--demo { border-style: dashed; border-color: var(--gilt); color: var(--gilt); background: transparent; }
.badge--paid, .badge--delivered { background: #e3ecdf; border-color: #c4d6bd; color: var(--ok); }
.badge--shipped { background: #e4e8f0; border-color: #c8d0df; color: #33476b; }
.badge--cancelled { background: #f4e1dc; border-color: #e5c1b8; color: var(--danger); }
.badge--pending { background: #f5ecd7; border-color: #e6d4ab; color: #7a5b1d; }
@media (max-width: 860px) { .acct { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- confirm */
.confirm { text-align: center; max-width: 640px; margin: 0 auto; padding-block: 40px 120px; }
.confirm__seal { width: 110px; margin: 0 auto 24px; }
.confirm .lines { text-align: left; margin: 32px 0; }

/* ----------------------------------------------------------- motion prefs */
.js .reveal, .rv { opacity: 0; transform: translateY(28px); }
.js .reveal.is-in, .rv.is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }

/* Touch screens never hover, so the hover gestures get a touch version:
   cards catch the light sweep as they scroll in, the main call-to-action
   buttons sheen every few seconds, and tappable tiles lift on press. */
@media (hover: none) {
  .card.is-in .card__media::after { animation: touch-sweep 1.4s var(--ease) calc(var(--d, 0s) + 0.35s) both; }
  .card.is-in .card__media img { animation: touch-settle 1.4s var(--ease) var(--d, 0s) backwards; }
  .btn--gold::before, .btn--sale::before { animation: touch-sheen 5s var(--ease-in-out) 1.5s infinite; }
  .tier:active { transform: translateY(-4px) scale(0.99); border-color: var(--sale); transition-duration: 0.15s; }
  .quiz__opt:active { transform: translateY(-2px); border-color: var(--ink); }
  .card__add:active .icon { transform: rotate(90deg); }
}
@keyframes touch-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes touch-settle { from { transform: scale(1.06) translateY(-2.5%); } }
@keyframes touch-sheen { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }

/* Reduced motion: the owner wants every visitor (many phones have this OS
   setting on, often via battery saver) to get the full animated site, like
   the velvet reveal. Only smooth scrolling and the no-WebGL pouch fallback
   honour it. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @keyframes pouch-drop { 0%, 30% { opacity: 1; } 100% { opacity: 0; } }
}

@media print {
  #site-header, #site-footer, .tabbar, .loader, body::after { display: none !important; }
}
.vs__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.vs__side--mk .btn--ghost:hover { --bg: var(--ink); --fg: var(--ivory); --bd: var(--ink); }
.signin img { margin: 0 auto 20px; }
.acct section + section { margin-top: 56px; }
.confirm .btn { margin: 4px; }
.cart-page .link-arrow { margin-top: 24px; }
.promo { background: var(--champagne); color: var(--ink); text-align: center; }
.promo p { margin: 0; padding-block: 14px; font-size: var(--step-0); font-weight: 500; letter-spacing: 0.01em; }
.split--top { align-items: start; }
.faq__more { margin-top: 40px; }
.nf__lede { margin-inline: auto; }
.nf .btn { margin-top: 8px; }

.vs__side--mk .save-pill { color: var(--gilt); border-color: var(--gilt); }
.on-dark .form-note { color: var(--mist); }

/* "Compare to" on the product page: the line people look for first. */
.pdp__insp { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 16px; border: 1px solid var(--champagne); border-radius: var(--radius); background: rgba(201, 168, 105, 0.08); font-weight: 500; }
.pdp__insp span { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gilt); }
.qv__insp strong { font-weight: 500; color: var(--ink); }

/* Staff sign-in gate (/admin, /seller) */
.signin--staff { max-width: 420px; text-align: left; }
.signin--staff img, .signin--staff h1, .signin--staff > p { text-align: center; margin-inline: auto; }
.signin__form { display: grid; gap: 4px; margin-top: 24px; }
.signin__form .btn-link { justify-self: center; }
.signin__or { display: flex; align-items: center; gap: 12px; color: var(--taupe); font-size: 0.85rem; margin: 16px 0; }
.signin__or::before, .signin__or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.signin__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ===================================================================== sale
   Markdowns (a size whose `was` is above its price) always show in red. While
   a sale is switched on, <html data-sale="theme"> adds the theme: a ticking
   top bar, the home band, ribbons and starburst stickers. */
:root { --sale: #e0121e; --sale-2: #a50812; --sale-bg: #070606; --sale-accent: #ffffff; --sale-glow: rgba(224, 18, 30, 0.45); }
[data-sale='cybermonday'] { --sale: #2b5cff; --sale-2: #1236c4; --sale-bg: #040714; --sale-accent: #79f2ff; --sale-glow: rgba(43, 92, 255, 0.5); }
[data-sale='holiday'] { --sale: #d0142c; --sale-2: #8e0b1d; --sale-bg: #0b281d; --sale-accent: #f3d991; --sale-glow: rgba(208, 20, 44, 0.45); }
[data-sale='flash'] { --sale: #ff4d00; --sale-2: #c23400; --sale-bg: #120600; --sale-accent: #ffd60a; --sale-glow: rgba(255, 77, 0, 0.5); }

/* Top bar: same 34px slot as the announcement it replaces. */
.salebar {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 8px var(--gutter); background: var(--sale-bg); color: #fff; text-decoration: none;
  font-size: 0.8125rem; line-height: 18px; overflow: hidden; isolation: isolate;
}
.salebar::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, var(--sale-glow) 50%, transparent 70%) -100% 0 / 60% 100% no-repeat;
  animation: sale-sheen 4.5s var(--ease-in-out) infinite;
}
@keyframes sale-sheen { 0% { background-position: -100% 0; } 60%, 100% { background-position: 260% 0; } }
.salebar__tag {
  flex: none; padding: 0 9px; border-radius: 3px; background: var(--sale); color: #fff;
  font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 0 0 0 var(--sale-glow); animation: sale-pulse 2.2s infinite;
}
@keyframes sale-pulse { 0% { box-shadow: 0 0 0 0 var(--sale-glow); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.salebar__sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; opacity: 0.92; }
.salebar__clock { flex: none; font-weight: 700; color: var(--sale-accent); font-variant-numeric: tabular-nums; }
.salebar:hover .salebar__sub { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .salebar__sub { display: none; } .salebar { font-size: 0.75rem; } }

/* Prices on sale */
.price--sale .price__now { color: var(--sale); }
.price--sale .price__was::after { background: var(--sale); height: 2px; }
.deal-chip { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 20px; background: var(--sale); color: #fff; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em; align-self: center; }
.price--lg .deal-chip { font-family: var(--sans); font-size: 0.85rem; }
.size small s { opacity: 0.65; margin-left: 2px; }
.size input:checked + span small s { opacity: 0.6; }
.line__deal { display: block; margin: -6px 0 10px; font-size: 0.8rem; font-weight: 600; color: var(--sale); }
.line__deal s { color: var(--taupe); font-weight: 400; }
.summary .sale-line, .row.sale-line { color: var(--sale); font-weight: 600; }
.search__price em { font-style: normal; font-weight: 800; color: var(--sale); margin-right: 4px; }
.vs__was { font-size: 0.4em; font-weight: 500; color: var(--mist); letter-spacing: 0; vertical-align: middle; }
.check--sale { color: var(--sale); font-weight: 600; }
.check--sale input { border-color: var(--sale); }
.check--sale input:checked { background: var(--sale); border-color: var(--sale); }
.pdp__deal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; font-size: 0.85rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--sale); }
.pdp__deal-tag { padding: 3px 10px; border-radius: 3px; background: var(--sale-bg); color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; box-shadow: inset 3px 0 0 var(--sale); }
.pdp__save--sale { color: var(--sale); }
.pdp__save--sale strong { color: var(--sale); font-weight: 700; }

/* Starburst sticker */
.sticker {
  --s: 64px;
  position: absolute; z-index: 2; width: var(--s); height: var(--s); display: grid; place-items: center;
  color: #fff; pointer-events: none; transform: rotate(-12deg);
  animation: sticker-in 0.7s var(--ease) both, sticker-wobble 5s 0.8s var(--ease-in-out) infinite;
  filter: drop-shadow(0 6px 10px rgba(14, 10, 7, 0.28));
}
.sticker::before {
  content: ''; position: absolute; inset: 0; background: var(--sale);
  clip-path: polygon(50% 0%, 59.5% 14.5%, 75% 6.7%, 76% 24%, 93.3% 25%, 85.5% 40.5%, 100% 50%, 85.5% 59.5%, 93.3% 75%, 76% 76%, 75% 93.3%, 59.5% 85.5%, 50% 100%, 40.5% 85.5%, 25% 93.3%, 24% 76%, 6.7% 75%, 14.5% 59.5%, 0% 50%, 14.5% 40.5%, 6.7% 25%, 24% 24%, 25% 6.7%, 40.5% 14.5%);
  background-image: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), transparent 55%);
}
.sticker__in { position: relative; display: grid; justify-items: center; line-height: 1; text-align: center; }
.sticker b { font-size: calc(var(--s) * 0.25); font-weight: 800; letter-spacing: -0.03em; }
.sticker small { font-size: calc(var(--s) * 0.13); font-weight: 800; letter-spacing: 0.12em; margin-top: 2px; color: var(--sale-accent); }
@keyframes sticker-in { from { transform: rotate(-60deg) scale(0.2); opacity: 0; } }
@keyframes sticker-wobble { 0%, 100% { transform: rotate(-12deg) scale(1); } 50% { transform: rotate(-4deg) scale(1.06); } }
.card__sticker { right: 8px; top: 8px; }
.gallery__sticker { --s: 96px; right: 16px; top: 16px; }
@media (max-width: 560px) { .card__sticker { --s: 54px; right: 4px; top: 4px; } .gallery__sticker { --s: 76px; } }
.card__ribbon {
  position: absolute; left: 0; top: 42px; z-index: 1; padding: 4px 10px 4px 12px;
  background: var(--sale-bg); color: #fff; box-shadow: inset 4px 0 0 var(--sale);
  font-size: 0.625rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
}
.card .card__actions { z-index: 3; }
@media (max-width: 560px) { .card__ribbon { top: 32px; font-size: 0.5625rem; letter-spacing: 0.12em; padding: 3px 8px 3px 10px; } }

/* Home sale band */
.sale-band { position: relative; background: var(--sale-bg); color: #fff; overflow: hidden; isolation: isolate; }
.sale-band::before {
  content: ''; position: absolute; inset: -40% -10% auto auto; width: 70vmax; height: 70vmax; z-index: -1;
  background: radial-gradient(circle, var(--sale-glow), transparent 62%);
  animation: sale-glow 9s var(--ease-in-out) infinite alternate;
}
@keyframes sale-glow { to { transform: translate(-18%, 14%) scale(1.15); } }
.sale-band__marquee { display: flex; overflow: hidden; background: var(--sale); color: #fff; font-weight: 800; letter-spacing: 0.24em; font-size: 0.75rem; white-space: nowrap; padding: 7px 0; }
.sale-band__marquee span { flex: none; padding-right: 0.24em; animation: marquee 38s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.sale-band__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 104px); }
.sale-band__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); margin-bottom: 14px; }
.sale-band__clock { letter-spacing: 0.04em; color: var(--sale-accent); font-variant-numeric: tabular-nums; }
.sale-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sale); animation: sale-pulse 1.6s infinite; }
.sale-band__title {
  font-size: clamp(3rem, 1.4rem + 8vw, 8.4rem); font-weight: 800; line-height: 0.88; letter-spacing: -0.055em; text-transform: uppercase; margin: 0 0 18px;
  background: linear-gradient(180deg, #fff 30%, color-mix(in srgb, var(--sale) 55%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sale-band__sub { font-size: var(--step-1); color: rgba(255, 255, 255, 0.82); max-width: 28ch; margin-bottom: 28px; }
.btn--sale { --bg: var(--sale); --fg: #fff; --bd: var(--sale); font-weight: 700; }
.btn--sale:hover { --bg: #fff; --fg: var(--sale-bg); --bd: #fff; box-shadow: 0 14px 40px -12px var(--sale-glow); }
.sale-band__tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tier {
  position: relative; display: grid; gap: 4px; padding: 22px 18px 18px; text-decoration: none; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(6px); transition: transform 0.5s var(--ease), border-color 0.4s, background-color 0.4s;
}
.tier:hover { transform: translateY(-6px); border-color: var(--sale); }
.tier__ml { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.tier__now { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tier__was { position: relative; width: max-content; color: rgba(255, 255, 255, 0.55); text-decoration: none; font-variant-numeric: tabular-nums; }
.tier__was::after { content: ''; position: absolute; left: -3px; right: -3px; top: 52%; height: 2px; background: var(--sale); transform: rotate(-10deg); }
.tier__save { justify-self: start; margin-top: 8px; padding: 3px 9px; border-radius: 20px; background: var(--sale); font-size: 0.75rem; font-weight: 800; }
.sticker--xl { --s: clamp(96px, 12vw, 150px); right: clamp(8px, 3vw, 40px); top: clamp(-8px, 1vw, 24px); }
@media (max-width: 860px) {
  .sale-band__inner { grid-template-columns: 1fr; }
  .sale-band__copy { padding-right: 92px; }
  .sticker--xl { --s: 100px; top: 64px; right: 6px; }
}
@media (max-width: 480px) {
  .sale-band__tiers { gap: 8px; }
  .tier { padding: 16px 10px 12px; border-radius: 10px; }
  .tier__save { font-size: 0.65rem; padding: 2px 6px; }
}
