/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --bg: #f4f2ed;
  --surface: #ffffff;
  --surface-2: #ebe8e1;
  --surface-3: #e2ded5;
  --ink: #121211;
  --ink-2: #3a3936;
  --muted: #7a7872;
  --line: rgba(18, 18, 17, 0.09);
  --line-2: rgba(18, 18, 17, 0.16);

  --dark: #0e0e0d;
  --dark-2: #181816;
  --dark-line: rgba(255, 255, 255, 0.1);
  --on-dark: #f3f1ea;
  --on-dark-muted: rgba(243, 241, 234, 0.6);

  --lime: #d6ff3f;
  --lime-2: #c4f02a;
  --lime-ink: #182000;
  --coral: #ff6b3d;
  --violet: #7c5cff;
  --ok: #1f8a4c;
  --warn: #b97800;
  --danger: #d23f2a;

  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 36px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px -2px rgba(0, 0, 0, 0.06);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -12px rgba(0, 0, 0, 0.16);
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, 0.5);

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --hh: 76px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
main { min-height: 70vh; padding-top: var(--hh); outline: none; }
main.enter > * { animation: page-in 0.6s var(--ease-out) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(54px, 8.6vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.025em;
}
.display em, .display-sm em, .h2 em { font-style: italic; }
.display-sm {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(214, 255, 63, 0.18); }
.muted { color: var(--muted); }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 500; }
.link:hover { text-decoration-thickness: 2px; }

.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; }

/* ==========================================================================
   Buttons & form controls
   ========================================================================== */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-bd: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px;
  border-radius: var(--pill);
  background: var(--b-bg); color: var(--b-fg);
  border: 1px solid var(--b-bd);
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s, opacity 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled { opacity: 0.45; pointer-events: none; }
.btn .ic { transition: transform 0.3s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(3px); }
.btn-dark:hover { background: #2a2a27; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5); }
.btn-lime { --b-bg: var(--lime); --b-fg: var(--lime-ink); }
.btn-lime:hover { --b-bg: var(--lime-2); box-shadow: 0 16px 40px -14px rgba(214, 255, 63, 0.7); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-2); }
.btn-ghost:hover { --b-bg: var(--surface); }
.btn-glass { --b-bg: rgba(255, 255, 255, 0.07); --b-fg: var(--on-dark); --b-bd: rgba(255, 255, 255, 0.16); }
.btn-glass:hover { --b-bg: rgba(255, 255, 255, 0.14); }
.btn-danger { --b-bg: var(--danger); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-xl { height: 60px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.is-busy { color: transparent !important; pointer-events: none; }
.is-busy > * { opacity: 0; }
.is-busy::after {
  content: ''; position: absolute; width: 18px; height: 18px; inset: 0; margin: auto;
  border-radius: 50%; border: 2px solid var(--b-fg, currentColor); border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.icon-btn:hover { background: var(--line); }
.icon-btn:active { transform: scale(0.94); }

.field { display: grid; gap: 7px; }
.field > span { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field > span i { color: var(--danger); font-style: normal; }
.field small { font-size: 12px; color: var(--muted); }
.input, .field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 16px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.field textarea { height: auto; padding: 14px 16px; resize: vertical; min-height: 90px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18, 18, 17, 0.07); }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #a9a69f; }
.field.full { grid-column: 1 / -1; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
select.input, .field select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23121211' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.form-error {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--r-sm);
  background: #fdebe7; color: #8f2414; font-size: 14px; font-weight: 500;
}
.form-error[hidden] { display: none; }
.form-note { padding: 12px 14px; border-radius: var(--r-sm); background: #eef7d6; color: #3b4d00; font-size: 14px; }

.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; user-select: none; }
.check input { appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--surface); display: grid; place-items: center; margin: 0; transition: 0.2s; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ''; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }

.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14px; font-weight: 500; }
.switch input { appearance: none; width: 42px; height: 24px; border-radius: 99px; background: var(--surface-3); margin: 0; position: relative; transition: background 0.25s; cursor: pointer; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: transform 0.3s var(--ease); }
.switch input:checked { background: var(--ink); }
.switch input:checked::after { transform: translateX(18px); }

.seg { display: inline-flex; padding: 4px; background: var(--surface-2); border-radius: var(--pill); gap: 2px; }
.seg button { height: 38px; padding: 0 18px; border-radius: var(--pill); font-size: 14px; font-weight: 600; color: var(--muted); transition: 0.25s var(--ease); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hh);
  color: var(--ink);
  transition: background 0.35s, color 0.35s, box-shadow 0.35s;
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(244, 242, 237, 0.78);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: opacity 0.35s;
}
.site-header.over { color: var(--on-dark); }
.site-header.over::before { opacity: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.over .icon-btn:hover { background: rgba(255, 255, 255, 0.1); }
.site-header.over .search-pill { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); color: var(--on-dark-muted); }
.site-header.over .search-pill kbd { border-color: rgba(255, 255, 255, 0.2); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 28px; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: currentColor; display: grid; place-items: center; flex: none; }
.logo-mark::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.main-nav { display: flex; gap: 4px; margin-right: auto; }
.main-nav a { padding: 8px 14px; border-radius: var(--pill); font-size: 14.5px; font-weight: 500; opacity: 0.78; transition: opacity 0.2s, background 0.2s; }
.main-nav a:hover, .main-nav a.on { opacity: 1; }
.main-nav a.on { background: var(--line); }
.site-header.over .main-nav a.on { background: rgba(255, 255, 255, 0.1); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.search-pill {
  display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 14px; margin-right: 6px;
  border-radius: var(--pill); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.5);
  color: var(--muted); font-size: 14px; min-width: 240px; transition: 0.25s;
}
.search-pill:hover { border-color: var(--line-2); }
.search-pill span { flex: 1; text-align: left; }
.search-pill kbd { font: 600 11px var(--sans); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 7px; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 99px; background: var(--lime); color: var(--lime-ink);
  font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1;
  transform: scale(0); transition: transform 0.35s var(--ease-out);
}
.cart-count.has { transform: scale(1); }
.cart-count.bump { animation: bump 0.5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.45); } }
.only-mobile { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * var(--hh));
  min-height: min(100svh, 940px);
  padding: calc(var(--hh) + 56px) 0 120px;
  display: flex; align-items: center;
  background: var(--dark); color: var(--on-dark);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; will-change: transform; animation: drift 22s ease-in-out infinite alternate; }
.b1 { width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; top: -40%; right: -22%; background: radial-gradient(closest-side, rgba(214, 255, 63, 0.3), rgba(214, 255, 63, 0.1) 55%, transparent); }
.b2 { width: 62vw; height: 62vw; max-width: 880px; max-height: 880px; bottom: -50%; left: -24%; background: radial-gradient(closest-side, rgba(255, 107, 61, 0.34), rgba(255, 107, 61, 0.1) 55%, transparent); animation-delay: -7s; animation-duration: 26s; }
.b3 { width: 50vw; height: 50vw; max-width: 720px; max-height: 720px; top: 14%; left: 26%; background: radial-gradient(closest-side, rgba(124, 92, 255, 0.3), rgba(124, 92, 255, 0.08) 55%, transparent); animation-delay: -13s; animation-duration: 30s; }
/* Looping motion stops while its section is off screen (toggled from app.js). */
.paused .blob, .paused .float, .paused .stamp svg, .paused .ticker-track, .paused.ticker .ticker-track { animation-play-state: paused; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6%, -8%) scale(1.12); }
  100% { transform: translate(-6%, 6%) scale(0.94); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}
.grain {
  position: absolute; inset: 0; opacity: 0.05;
  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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { display: grid; grid-template-columns: 1.08fr 1fr; gap: 40px; align-items: center; }
.hero .eyebrow { color: var(--on-dark-muted); }
.hero h1 { margin: 26px 0 28px; }
.hero h1 em { color: var(--lime); padding-right: 0.04em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; animation: rise 1.1s var(--ease-out) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.08s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.16s; }
@keyframes rise { from { transform: translateY(105%); } }
.hero .lede { max-width: 470px; font-size: clamp(16px, 1.3vw, 18px); color: var(--on-dark-muted); animation: fade-up 1s 0.35s var(--ease-out) both; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; animation: fade-up 1s 0.45s var(--ease-out) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 56px; border-top: 1px solid var(--dark-line); animation: fade-up 1s 0.55s var(--ease-out) both; }
.hero-facts li { padding: 20px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--dark-line); }
.hero-facts li:last-child { border: 0; margin: 0; }
.hero-facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: -0.02em; }
.hero-facts span { font-size: 13px; color: var(--on-dark-muted); }

.hero-stage { position: relative; height: 600px; perspective: 1400px; --mx: 0; --my: 0; }
.hcard {
  position: absolute; width: min(300px, 58%);
  padding: 10px 10px 16px; border-radius: 26px;
  background: rgba(32, 32, 30, 0.82); border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  color: var(--on-dark);
  transition: transform 0.9s var(--ease-out), border-color 0.3s;
  animation: card-in 1.2s var(--ease-out) both;
}
.hcard:hover { border-color: rgba(255, 255, 255, 0.28); }
.hcard .media { aspect-ratio: 4 / 5; border-radius: 18px; }
.hcard-meta { display: flex; justify-content: space-between; align-items: end; gap: 10px; padding: 14px 6px 0; }
.hcard-meta h3 { font-size: 15px; font-weight: 600; line-height: 1.25; }
.hcard-meta p { font-size: 13px; color: var(--on-dark-muted); margin-top: 2px; }
.hcard-price { flex: none; padding: 6px 11px; border-radius: 99px; background: var(--lime); color: var(--lime-ink); font-size: 13px; font-weight: 700; }
.hcard.c1 { left: 24%; top: 14px; z-index: 3; transform: translate3d(calc(var(--mx) * 22px), calc(var(--my) * 18px), 0) rotate(2.5deg); }
.hcard.c2 { left: -2%; top: 150px; z-index: 2; width: min(250px, 48%); transform: translate3d(calc(var(--mx) * 12px), calc(var(--my) * 10px), 0) rotate(-9deg); animation-delay: 0.12s; }
.hcard.c3 { right: -2%; top: 230px; z-index: 1; width: min(240px, 46%); transform: translate3d(calc(var(--mx) * 8px), calc(var(--my) * 6px), 0) rotate(10deg); animation-delay: 0.22s; }
@keyframes card-in { from { opacity: 0; translate: 0 60px; } }
.hcard.skeleton .media { background: rgba(255, 255, 255, 0.06); }
.hcard.skeleton .hcard-meta { height: 40px; }
.float { animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -12px; } }

.stamp {
  position: absolute; z-index: 4; right: 8%; top: 0; width: 128px; height: 128px;
  color: var(--on-dark); animation: fade-up 1s 0.8s var(--ease-out) both;
}
.stamp svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.stamp text { font: 600 10.5px var(--sans); letter-spacing: 0.3em; text-transform: uppercase; fill: currentColor; }
.stamp::after {
  content: '✦'; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 26px; color: var(--lime);
}
.hero-chip {
  position: absolute; z-index: 5; left: 6%; bottom: 24px;
  display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px;
  border-radius: 99px; background: rgba(14, 14, 13, 0.88); border: 1px solid var(--dark-line);
  font-size: 13px; animation: fade-up 1s 1s var(--ease-out) both;
}
.hero-chip i { width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; }
.hero-chip b { display: block; font-weight: 600; }
.hero-chip span { color: var(--on-dark-muted); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted);
}
.scroll-cue::after { content: ''; width: 1px; height: 36px; background: linear-gradient(var(--on-dark-muted), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Ticker */
.ticker { background: var(--lime); color: var(--lime-ink); overflow: hidden; border-block: 1px solid rgba(0, 0, 0, 0.08); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: flex; align-items: center; gap: 28px; padding: 18px 14px; font-family: var(--serif); font-size: 28px; letter-spacing: -0.01em; white-space: nowrap; }
.ticker-track span::after { content: '✦'; font-family: var(--sans); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head p { max-width: 420px; color: var(--muted); margin-top: 14px; }
.section-head .eyebrow { margin-bottom: 14px; }
.head-actions { display: flex; gap: 8px; align-items: center; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: 0.25s var(--ease);
}
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.round-btn:disabled { opacity: 0.3; pointer-events: none; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* Category bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: hsl(var(--h) 30% 88%);
}
.tile::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 70% at 100% 0%, hsl(var(--h) 80% 78% / 0.9), transparent 60%),
    radial-gradient(70% 70% at 0% 100%, hsl(calc(var(--h) + 50) 70% 72% / 0.75), transparent 60%);
  transition: transform 0.9s var(--ease-out);
}
.tile:hover::before { transform: scale(1.15) rotate(4deg); }
.tile:first-child { grid-row: span 2; grid-column: span 2; background: var(--dark); color: var(--on-dark); }
.tile:first-child::before { background: radial-gradient(70% 60% at 85% 10%, rgba(214, 255, 63, 0.45), transparent 60%), radial-gradient(60% 60% at 10% 100%, rgba(255, 107, 61, 0.35), transparent 60%); }
.tile:nth-child(4) { grid-column: span 2; }
.tile-top { display: flex; justify-content: space-between; align-items: start; }
.tile-count { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.6); }
.tile:first-child .tile-count { background: rgba(255, 255, 255, 0.1); }
.tile-arrow { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transform: rotate(-45deg) scale(0.9); transition: transform 0.5s var(--ease-out); }
.tile:first-child .tile-arrow { background: var(--lime); color: var(--lime-ink); }
.tile:hover .tile-arrow { transform: rotate(0) scale(1); }
.tile h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 50px); line-height: 0.95; letter-spacing: -0.02em; }
.tile:first-child h3 { font-size: clamp(48px, 6vw, 92px); }
.tile p { font-size: 14px; opacity: 0.7; margin-top: 8px; max-width: 280px; }

/* Rails & grids */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scroll-padding: 0 var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Product card */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-top { position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.card-top > a { display: block; }
.card .media { aspect-ratio: 4 / 5; }
.card .media img, .card .media .ph { transition: transform 1.1s var(--ease-out); }
.card:hover .media img, .card:hover .media .ph { transform: scale(1.045); }
.badges { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.badge {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
}
.badge-lime { background: var(--lime); color: var(--lime-ink); }
.badge-dark { background: var(--ink); color: #fff; }
.badge-warn { background: #fff2d6; color: #7a4f00; }
.badge-muted { background: rgba(18, 18, 17, 0.7); color: #fff; }
.wish {
  position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.92);
  transition: transform 0.3s var(--ease-out), background 0.2s; z-index: 2;
}
.wish:hover { transform: scale(1.08); background: #fff; }
.wish .ic { width: 18px; height: 18px; transition: fill 0.2s, stroke 0.2s; }
.wish.on .ic { fill: var(--coral); stroke: var(--coral); }
.wish.pop { animation: bump 0.45s var(--ease-out); }
.quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px;
  border-radius: 99px; background: rgba(18, 18, 17, 0.92); color: #fff;
  font-size: 14px; font-weight: 600;
  opacity: 0; transform: translateY(12px); transition: 0.4s var(--ease-out);
}
.quick:hover { background: var(--ink); }
.card:hover .quick, .quick:focus-visible { opacity: 1; transform: none; }
.quick.is-busy::after { border-color: #fff; border-right-color: transparent; }
.card-body { padding: 14px 2px 0; display: grid; gap: 4px; }
.card-brand { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.card-body h3 { font-size: 15.5px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; }
.card-body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.price { display: flex; align-items: baseline; gap: 8px; font-weight: 600; font-variant-numeric: tabular-nums; }
.price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.price s { font-weight: 400; color: var(--muted); font-size: 0.9em; }

/* Media & placeholder art */
.media { position: relative; overflow: hidden; container-type: inline-size; background: var(--surface-2); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s, transform 1.1s var(--ease-out); }
.media img.ok { opacity: 1; }
.ph {
  position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(110% 80% at 15% 0%, hsl(var(--h) 75% 84%), transparent 62%),
    radial-gradient(90% 80% at 100% 100%, hsl(calc(var(--h) + 45) 65% 74%), transparent 60%),
    hsl(calc(var(--h) + 20) 30% 88%);
}
.ph::before {
  content: ''; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, hsl(var(--h) 80% 96% / 0.95), hsl(var(--h) 50% 80% / 0.2) 70%);
  box-shadow: 0 30px 60px -20px hsl(var(--h) 40% 30% / 0.35);
  top: 16%;
}
.ph span {
  position: relative; font-family: var(--serif); font-style: italic; line-height: 1;
  font-size: 44cqw; color: hsl(var(--h) 35% 28% / 0.62); translate: 0 6%;
}
.ph::after {
  content: ''; position: absolute; left: 18%; right: 18%; bottom: 10%; height: 6%;
  border-radius: 50%; background: radial-gradient(closest-side, hsl(var(--h) 40% 25% / 0.22), transparent);
}

/* Editorial banner */
.editorial {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  padding: clamp(36px, 6vw, 80px); border-radius: var(--r-xl);
  background: var(--dark); color: var(--on-dark);
}
.editorial::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 80% at 100% 100%, rgba(124, 92, 255, 0.45), transparent 70%), radial-gradient(40% 60% at 0% 0%, rgba(214, 255, 63, 0.18), transparent 70%);
}
.editorial .h2 { font-size: clamp(40px, 5.6vw, 84px); }
.editorial .h2 em { color: var(--lime); }
.editorial p { color: var(--on-dark-muted); max-width: 460px; margin: 22px 0 32px; }
.pay-stack { display: grid; gap: 12px; }
.pay-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--dark-line);
}
.pay-card:nth-child(2) { margin-left: 32px; }
.pay-card:nth-child(3) { margin-left: 64px; }
.pay-card i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); flex: none; }
.pay-card b { display: block; font-weight: 600; }
.pay-card span { font-size: 14px; color: var(--on-dark-muted); }

/* Brands */
.brand-row { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-chip {
  display: inline-flex; align-items: baseline; gap: 10px; padding: 18px 26px; border-radius: 99px;
  border: 1px solid var(--line-2); font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -0.01em;
  transition: 0.3s var(--ease);
}
.brand-chip small { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.brand-chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.brand-chip:hover small { color: rgba(255, 255, 255, 0.6); }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.value { padding: 36px 32px 0 0; }
.value + .value { padding-left: 32px; border-left: 1px solid var(--line); }
.value i { width: 48px; height: 48px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.value h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--dark); color: var(--on-dark); margin-top: 40px; overflow: hidden; content-visibility: auto; contain-intrinsic-size: auto 700px; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-top: 80px; }
.foot-top h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; margin-bottom: 18px; }
.foot-top li + li { margin-top: 10px; }
.foot-top a { color: var(--on-dark); opacity: 0.85; transition: opacity 0.2s; }
.foot-top a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.foot-intro p { color: var(--on-dark-muted); max-width: 340px; margin-top: 16px; }
.foot-pay { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.foot-pay span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--dark-line); font-size: 13px; }
.wordmark {
  font-family: var(--serif); font-size: clamp(80px, 17vw, 280px); line-height: 0.8; letter-spacing: -0.04em;
  white-space: nowrap; margin: 70px 0 -0.12em; text-align: center;
  background: linear-gradient(180deg, rgba(243, 241, 234, 0.9), rgba(243, 241, 234, 0.08));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 28px; border-top: 1px solid var(--dark-line); font-size: 13px; color: var(--on-dark-muted); position: relative; background: var(--dark); }

/* ==========================================================================
   Shop
   ========================================================================== */
.page-head { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 36px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: '/'; margin-right: 8px; opacity: 0.5; }
.page-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.page-head .count { color: var(--muted); font-size: 15px; }
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; padding-bottom: 80px; }
.filters { position: sticky; top: calc(var(--hh) + 24px); display: grid; gap: 30px; max-height: calc(100vh - var(--hh) - 48px); overflow-y: auto; padding: 0 6px 0 12px; margin-left: -12px; scrollbar-width: thin; }
.filters-head { display: none; }
.f-group h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.f-tree a { display: flex; justify-content: space-between; align-items: center; padding: 7px 12px; margin: 0 -12px; border-radius: 10px; font-size: 15px; transition: background 0.2s; }
.f-tree a:hover { background: var(--surface-2); }
.f-tree a.on { background: var(--ink); color: #fff; }
.f-tree a em { font-style: normal; font-size: 12px; color: var(--muted); }
.f-tree a.on em { color: rgba(255, 255, 255, 0.6); }
.f-tree ul ul { padding-left: 14px; margin: 2px 0 4px; border-left: 1px solid var(--line); margin-left: 4px; }
.f-tree ul ul a { font-size: 14px; }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.price-range .input { height: 44px; padding: 0 12px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 99px;
  border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; background: transparent; transition: 0.2s;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .ic { width: 14px; height: 14px; }
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; min-height: 44px; }
.toolbar .chips { flex: 1; }
.toolbar select { width: auto; height: 44px; min-width: 190px; font-size: 14px; }
.filter-toggle { display: none; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 56px; }
.pager button, .pager span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 99px; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.pager button { border: 1px solid var(--line-2); transition: 0.2s; }
.pager button:hover { border-color: var(--ink); }
.pager button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager button:disabled { opacity: 0.3; pointer-events: none; }

.empty { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 80px 20px; }
.empty-art { width: 92px; height: 92px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; box-shadow: var(--shadow); margin-bottom: 8px; }
.empty-art .ic { width: 34px; height: 34px; stroke-width: 1.3; }
.empty h3 { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; }
.empty p { color: var(--muted); max-width: 380px; }

/* Skeletons */
.sk { background: linear-gradient(90deg, var(--surface-2) 0%, #f1eee8 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-card .sk-media { aspect-ratio: 4 / 5; border-radius: var(--r); }
.sk-line { height: 12px; margin-top: 12px; }

/* ==========================================================================
   Product
   ========================================================================== */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: 28px; padding-bottom: 40px; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; position: sticky; top: calc(var(--hh) + 20px); }
.gallery.single { grid-template-columns: 1fr; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumbs button { border-radius: 12px; overflow: hidden; border: 2px solid transparent; transition: border-color 0.2s; }
.thumbs button.on { border-color: var(--ink); }
.thumbs .media { aspect-ratio: 4 / 5; }
.stage { border-radius: var(--r-lg); overflow: hidden; }
.stage .media { aspect-ratio: 4 / 5; }
.stage .ph span { font-size: 36cqw; }
.pdp-info { padding-top: 8px; }
.pdp-brand { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pdp-brand:hover { color: var(--ink); }
.pdp h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 4.6vw, 68px); line-height: 0.98; letter-spacing: -0.02em; margin: 14px 0 20px; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pdp-price s { font-size: 18px; color: var(--muted); font-weight: 400; }
.pdp-price .badge { font-size: 13px; height: 28px; }
.tax-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.avail { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; margin-top: 22px; }
.avail::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 138, 76, 0.15); }
.avail.low::before { background: var(--warn); box-shadow: 0 0 0 4px rgba(185, 120, 0, 0.15); }
.avail.out::before { background: var(--danger); box-shadow: 0 0 0 4px rgba(210, 63, 42, 0.15); }
.opt-block { margin-top: 30px; }
.opt-block h4 { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.opt-block h4 span { color: var(--muted); font-weight: 500; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  min-width: 56px; height: 48px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background: var(--surface); font-weight: 500; font-size: 15px; transition: 0.2s; position: relative;
}
.opt:hover { border-color: var(--ink); }
.opt.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt.oos { color: var(--muted); background: transparent; }
.opt.oos::after { content: ''; position: absolute; left: 10px; right: 10px; top: 50%; height: 1px; background: currentColor; transform: rotate(-14deg); opacity: 0.6; }
.buy-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; margin-top: 30px; }
.qty { display: inline-flex; align-items: center; height: 60px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--surface); }
.qty button { width: 48px; height: 100%; display: grid; place-items: center; border-radius: 99px; transition: background 0.2s; }
.qty button:hover { background: var(--surface-2); }
.qty button:disabled { opacity: 0.3; }
.qty span, .qty input { width: 32px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; border: 0; background: none; outline: none; }
.qty-sm { height: 38px; }
.qty-sm button { width: 34px; }
.qty-sm .ic { width: 15px; height: 15px; }
.wish-lg { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: var(--surface); transition: 0.25s; }
.wish-lg:hover { border-color: var(--ink); }
.wish-lg.on .ic { fill: var(--coral); stroke: var(--coral); }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.perk { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface); font-size: 14px; }
.perk .ic { color: var(--ink-2); }
.perk b { display: block; font-weight: 600; font-size: 14px; }
.perk span { color: var(--muted); font-size: 13px; }
.acc { margin-top: 32px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 600; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { transition: transform 0.3s var(--ease); }
.acc details[open] summary .ic { transform: rotate(45deg); }
.acc .acc-body { padding: 0 0 22px; color: var(--ink-2); font-size: 15px; }
.acc .acc-body p + p, .acc .acc-body ul { margin-top: 10px; }
.acc .acc-body ul { padding-left: 18px; list-style: disc; }
.spec { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; font-size: 14px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }

/* ==========================================================================
   Drawer (cart), sheets, search
   ========================================================================== */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(14, 14, 13, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; z-index: 90; top: 10px; right: 10px; bottom: 10px; width: min(460px, calc(100vw - 20px));
  background: var(--bg); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateX(calc(100% + 20px)); transition: transform 0.55s var(--ease-out), visibility 0s 0.55s; visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; transition: transform 0.55s var(--ease-out); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: -0.01em; }
.drawer-head h2 sup { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-left: 4px; font-weight: 500; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 14px; }
.free-bar { padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface); margin: 14px 0 4px; font-size: 13.5px; }
.free-bar .bar { height: 5px; border-radius: 99px; background: var(--surface-2); margin-top: 10px; overflow: hidden; }
.free-bar .bar i { display: block; height: 100%; background: var(--ink); border-radius: inherit; transition: width 0.6s var(--ease-out); }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border: 0; }
.line .media { aspect-ratio: 4 / 5; border-radius: 12px; }
.line h4 { font-size: 15px; font-weight: 500; line-height: 1.3; }
.line h4 a:hover { text-decoration: underline; }
.line-sku { font-size: 12px; color: var(--muted); margin-top: 3px; }
.line-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.line-remove { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.line-remove:hover { color: var(--danger); }
.line-total { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.line-total s { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.line-issue { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--danger); }
.line.flash { animation: flash 1.2s var(--ease-out); }
@keyframes flash { 0% { background: rgba(214, 255, 63, 0.55); } 100% { background: transparent; } }
.line.unavail { opacity: 0.6; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form .input { height: 44px; font-size: 14px; text-transform: uppercase; }
.coupon-form .input::placeholder { text-transform: none; }
.coupon-tag { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: var(--r-sm); background: #eef7d6; font-size: 14px; }
.coupon-tag b { display: inline-flex; align-items: center; gap: 8px; }
.totals { display: grid; gap: 9px; font-size: 14.5px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dd, .totals span:last-child { font-variant-numeric: tabular-nums; }
.totals .muted-row { color: var(--muted); font-size: 13px; }
.totals .save { color: var(--ok); }
.totals .grand { font-size: 20px; font-weight: 700; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); }
.issues { display: grid; gap: 8px; }

.menu-sheet {
  position: fixed; z-index: 90; top: 10px; left: 10px; bottom: 10px; width: min(380px, calc(100vw - 20px));
  background: var(--dark); color: var(--on-dark); border-radius: var(--r-lg); padding: 22px;
  transform: translateX(calc(-100% - 20px)); transition: transform 0.55s var(--ease-out), visibility 0s 0.55s; visibility: hidden;
  display: flex; flex-direction: column; overflow-y: auto;
}
.menu-sheet.open { transform: none; visibility: visible; transition: transform 0.55s var(--ease-out); }
.menu-sheet nav { display: grid; margin-top: 30px; }
.menu-sheet nav a { font-family: var(--serif); font-size: 40px; line-height: 1.15; letter-spacing: -0.01em; padding: 4px 0; display: flex; justify-content: space-between; align-items: center; }
.menu-sheet nav a small { font-family: var(--sans); font-size: 13px; color: var(--on-dark-muted); }
.menu-sheet .menu-foot { margin-top: auto; padding-top: 30px; display: grid; gap: 10px; }

.search-sheet {
  position: fixed; z-index: 90; top: 0; left: 0; right: 0; background: var(--bg);
  padding: 22px 0 36px; box-shadow: var(--shadow-lg); border-radius: 0 0 var(--r-xl) var(--r-xl);
  transform: translateY(-105%); transition: transform 0.55s var(--ease-out), visibility 0s 0.55s; visibility: hidden;
  max-height: 88vh; overflow-y: auto;
}
.search-sheet.open { transform: none; visibility: visible; transition: transform 0.55s var(--ease-out); }
.search-bar { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.search-bar .ic { width: 28px; height: 28px; }
.search-bar input { flex: 1; border: 0; outline: 0; background: none; font-family: var(--serif); font-size: clamp(32px, 4.5vw, 56px); letter-spacing: -0.02em; min-width: 0; }
.search-bar input::placeholder { color: #bdb9b0; }
.search-body { margin-top: 26px; display: grid; gap: 20px; }
.search-body h5 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.suggest { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.suggest a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r-sm); transition: background 0.2s; }
.suggest a:hover, .suggest a.active { background: var(--surface); }
.suggest .media { width: 52px; aspect-ratio: 1; border-radius: 10px; flex: none; }
.suggest b { display: block; font-weight: 500; font-size: 15px; }
.suggest span { font-size: 14px; color: var(--muted); }

/* Toasts */
.toasts { position: fixed; z-index: 120; left: 50%; bottom: 24px; translate: -50% 0; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px; border-radius: 99px; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg);
  animation: toast-in 0.5s var(--ease-out) both;
}
.toast.out { animation: toast-out 0.35s var(--ease) forwards; }
.toast i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); flex: none; }
.toast.error i { background: var(--danger); color: #fff; }
.toast .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.toast a { text-decoration: underline; text-underline-offset: 3px; color: var(--lime); }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(0.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px) scale(0.96); } }

/* Dialog */
.dlg { border: 0; padding: 0; border-radius: var(--r-lg); background: var(--bg); color: var(--ink); width: min(460px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); }
.dlg::backdrop { background: rgba(14, 14, 13, 0.5); }
.dlg[open] { animation: toast-in 0.4s var(--ease-out); }
.dlg form { padding: 28px; display: grid; gap: 16px; }
.dlg h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; }
.dlg p { color: var(--ink-2); }
.dlg-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }

/* ==========================================================================
   Checkout
   ========================================================================== */
.checkout { padding-top: 36px; padding-bottom: 80px; }
.co-head { margin-bottom: 36px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.back:hover { color: var(--ink); }
.co-grid { display: grid; grid-template-columns: 1fr 440px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.co-form { display: grid; gap: 16px; }
.co-step { background: var(--surface); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.co-step-h { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.co-step-h .num { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; flex: none; }
.co-step-h h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; flex: 1; }
.co-step-h .link { font-size: 14px; }
.options { display: grid; gap: 10px; }
.opt-card {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  border-radius: var(--r); border: 1.5px solid var(--line-2); cursor: pointer; transition: 0.2s;
}
.opt-card:hover { border-color: var(--ink-2); }
.opt-card:has(input:checked) { border-color: var(--ink); background: #fbfaf7; box-shadow: 0 0 0 3px rgba(18, 18, 17, 0.06); }
.opt-card input { appearance: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); margin: 0; flex: none; transition: 0.2s; }
.opt-card input:checked { border: 6px solid var(--ink); }
.opt-card .ic-box { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.opt-card .grow { flex: 1; min-width: 0; }
.opt-card b { display: block; font-weight: 600; }
.opt-card span { font-size: 13.5px; color: var(--muted); }
.opt-card .cost { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.opt-card .cost small { display: block; font-size: 12px; color: var(--ok); font-weight: 500; }
.hint { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-radius: var(--r); background: var(--bg); color: var(--muted); font-size: 14px; }
.saved-addr { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.addr-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 18px; }
.addr-fields[hidden] { display: none; }
.co-summary { position: sticky; top: calc(var(--hh) + 20px); background: var(--surface); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 22px; }
.co-summary h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; }
.mini-lines { display: grid; gap: 14px; max-height: 320px; overflow-y: auto; }
.mini { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; font-size: 14px; }
.mini .thumb { position: relative; }
.mini .media { aspect-ratio: 1; border-radius: 12px; }
.mini .thumb em { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--ink); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.mini b { font-weight: 500; display: block; line-height: 1.3; }
.mini span { color: var(--muted); font-size: 12.5px; }
.mini .t { font-weight: 600; font-variant-numeric: tabular-nums; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); }

/* Success / status pages */
.status-page { max-width: 760px; margin: 0 auto; padding: 60px var(--gutter) 80px; text-align: center; }
.status-icon { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 28px; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); animation: pop 0.8s var(--ease-out) both; }
.status-icon.fail { background: #fde4de; color: var(--danger); }
.status-icon.wait { background: var(--surface); }
.status-icon .ic { width: 42px; height: 42px; stroke-width: 2; }
.status-icon .ic path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.6s 0.35s var(--ease-out) forwards; }
.status-icon.wait .ic path, .status-icon.wait .ic circle { stroke-dasharray: none; animation: none; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.status-page h1 { margin-bottom: 14px; }
.status-page .lead { color: var(--muted); font-size: 17px; max-width: 520px; margin: 0 auto; }
.order-no { display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 36px; padding: 10px 18px; border-radius: 99px; background: var(--surface); font-size: 14px; }
.order-no b { font-size: 16px; letter-spacing: 0.02em; }
.receipt { text-align: left; background: var(--surface); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 20px; }
.status-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.loader { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--surface-3); border-top-color: var(--ink); animation: spin 0.8s linear infinite; }

/* ==========================================================================
   Account
   ========================================================================== */
.auth-page { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: calc(100vh - var(--hh)); padding: 24px var(--gutter) 60px; max-width: var(--wrap); margin: 0 auto; }
.auth-art {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--dark); color: var(--on-dark);
  padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between;
}
.auth-art .blob { animation: none; }
.auth-art .display-sm em { color: var(--lime); }
.auth-art ul { display: grid; gap: 14px; }
.auth-art li { display: flex; gap: 12px; align-items: center; color: var(--on-dark-muted); }
.auth-art li i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: var(--lime); }
.auth-panel { display: grid; place-items: center; padding: 40px clamp(16px, 4vw, 64px); }
.auth-card { width: 100%; max-width: 420px; display: grid; gap: 22px; }
.auth-card h2 { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1; letter-spacing: -0.02em; }
.auth-card .sub { color: var(--muted); margin-top: 8px; }
.auth-card form { display: grid; gap: 14px; }
.otp-input { text-align: center; font-size: 28px !important; letter-spacing: 0.5em; font-weight: 600; height: 64px !important; padding-left: 0.5em !important; }
.steps { display: flex; gap: 6px; }
.steps i { flex: 1; height: 4px; border-radius: 99px; background: var(--surface-3); transition: background 0.4s; }
.steps i.on { background: var(--ink); }
.auth-alt { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.demo-hint { padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px dashed var(--line-2); font-size: 13px; color: var(--ink-2); }

.account { padding-top: 40px; padding-bottom: 80px; }
.account-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.account-head .eyebrow { margin-bottom: 14px; }
.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.account-nav { display: grid; gap: 4px; position: sticky; top: calc(var(--hh) + 24px); }
.account-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-sm); font-weight: 500; color: var(--ink-2); transition: 0.2s; }
.account-nav a:hover { background: var(--surface-2); }
.account-nav a.on { background: var(--ink); color: #fff; }
.pane { min-width: 0; }
.pane-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.pane-head h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.panel { background: var(--surface); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); }
.panel + .panel { margin-top: 16px; }
.panel h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.panel > p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.order-list { display: grid; gap: 10px; }
.order-row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 16px; align-items: center;
  padding: 20px 24px; border-radius: var(--r); background: var(--surface); transition: 0.25s var(--ease);
}
.order-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.order-row b { font-size: 16px; }
.order-row small { display: block; color: var(--muted); font-size: 13px; }
.order-row .amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 99px; font-size: 12.5px; font-weight: 600; background: var(--surface-2); white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.s-placed, .pill.s-processing, .pill.s-packed { background: #e8efff; color: #2a4fc2; }
.pill.s-shipped { background: #efe8ff; color: #5b37d0; }
.pill.s-delivered, .pill.s-paid { background: #e3f5e9; color: var(--ok); }
.pill.s-pending_payment, .pill.s-unpaid, .pill.s-refund_pending { background: #fff2d6; color: #8a5a00; }
.pill.s-cancelled, .pill.s-expired, .pill.s-refunded { background: #fde4de; color: #a32c1a; }

.tracker { display: grid; grid-template-columns: repeat(5, 1fr); margin: 8px 0 6px; }
.tracker li { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 13px; color: var(--muted); }
.tracker li::before { content: ''; position: absolute; top: 15px; left: -50%; right: 50%; height: 2px; background: var(--surface-3); }
.tracker li:first-child::before { display: none; }
.tracker li i { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; transition: 0.4s; }
.tracker li i .ic { width: 15px; height: 15px; stroke-width: 2.4; opacity: 0; }
.tracker li.done { color: var(--ink); font-weight: 500; }
.tracker li.done::before { background: var(--ink); }
.tracker li.done i { background: var(--ink); color: #fff; }
.tracker li.done i .ic { opacity: 1; }
.tracker li.now i { background: var(--lime); color: var(--lime-ink); box-shadow: 0 0 0 6px rgba(214, 255, 63, 0.3); }
.od-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 16px; }
.items-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.items-table th { text-align: left; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 0 12px; }
.items-table td { padding: 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.items-table td small { display: block; color: var(--muted); font-size: 12.5px; }
.items-table .r { text-align: right; font-variant-numeric: tabular-nums; }
.timeline { display: grid; gap: 14px; }
.timeline li { display: grid; grid-template-columns: 12px 1fr; gap: 14px; font-size: 14px; }
.timeline li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); margin-top: 6px; }
.timeline li span { color: var(--muted); font-size: 13px; display: block; }
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.addr { position: relative; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1.5px solid transparent; display: grid; gap: 4px; align-content: start; }
.addr.default { border-color: var(--ink); }
.addr b { font-size: 16px; }
.addr p { color: var(--ink-2); font-size: 14px; }
.addr-actions { display: flex; gap: 14px; margin-top: 14px; font-size: 13.5px; }
.addr-actions button { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.addr-actions button:hover { color: var(--ink); }
.addr-add { display: grid; place-items: center; gap: 10px; min-height: 150px; border: 1.5px dashed var(--line-2); background: transparent; color: var(--muted); font-weight: 500; }
.addr-add:hover { border-color: var(--ink); color: var(--ink); }
.danger-zone { border: 1.5px solid #f3c9c0; background: #fff8f6; }

/* Boot / fatal */
.boot { min-height: 60vh; display: grid; place-items: center; }
.boot-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); animation: bob 1s ease-in-out infinite; }
.fatal { max-width: 640px; margin: 0 auto; padding: 100px var(--gutter); }
.fatal pre { white-space: pre-wrap; background: var(--surface); padding: 16px; border-radius: var(--r-sm); font-size: 13px; margin-top: 20px; }
.demo-pill {
  position: fixed; z-index: 60; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 99px;
  background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500; box-shadow: var(--shadow);
}
.demo-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(214, 255, 63, 0.25); }
.demo-pill button { color: rgba(255, 255, 255, 0.6); margin-left: 4px; display: grid; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .search-pill { min-width: 0; }
  .search-pill span, .search-pill kbd { display: none; }
  .search-pill { width: 44px; padding: 0; justify-content: center; border: 0; background: none !important; margin: 0; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .co-grid { grid-template-columns: 1fr 380px; }
}
@media (max-width: 980px) {
  :root { --hh: 66px; }
  .main-nav { display: none; }
  .only-mobile { display: grid; }
  .header-inner { gap: 6px; }
  .logo { margin-right: auto; font-size: 24px; }
  .hero { padding-bottom: 90px; min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 10px; }
  .hero-stage { height: 470px; margin-top: 30px; }
  .stamp { width: 100px; height: 100px; right: 4%; }
  .scroll-cue { display: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(200px, auto); }
  .tile:first-child { grid-column: span 2; grid-row: span 1; min-height: 280px; }
  .tile:nth-child(4) { grid-column: span 1; }
  .editorial { grid-template-columns: 1fr; }
  .pay-card:nth-child(n) { margin-left: 0; }
  .shop { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters {
    position: fixed; z-index: 90; inset: auto 0 0 0; top: auto; max-height: 82vh;
    background: var(--bg); border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 22px var(--gutter) 30px;
    transform: translateY(105%); transition: transform 0.5s var(--ease-out), visibility 0s 0.5s; visibility: hidden; box-shadow: var(--shadow-lg); margin: 0;
  }
  .filters.open { transform: none; visibility: visible; transition: transform 0.5s var(--ease-out); }
  .filters-head { display: flex; justify-content: space-between; align-items: center; }
  .filters-head h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { order: 2; grid-auto-flow: column; grid-auto-columns: 64px; overflow-x: auto; }
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-art { min-height: 300px; }
  .account-grid { grid-template-columns: 1fr; }
  .account-nav { position: static; grid-auto-flow: column; overflow-x: auto; justify-content: start; }
  .account-nav a { white-space: nowrap; }
  .od-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-intro { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .grid, .grid-3 { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .rail { grid-auto-columns: 72%; gap: 12px; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
  .hero-facts li { padding-right: 12px; margin-right: 12px; }
  .hero-facts b { font-size: 28px; }
  .hero-facts span { font-size: 12px; display: block; line-height: 1.3; margin-top: 4px; }
  .cta-row .btn { flex: 1 1 100%; }
  .hero-chip { display: none; }
  .hero-stage { height: 400px; }
  .hcard.c1 { left: 20%; width: 60%; }
  .hcard.c2 { width: 46%; top: 120px; }
  .hcard.c3 { width: 44%; top: 170px; }
  .hcard-meta p { display: none; }
  .hero-chip { left: 0; bottom: 0; }
  .section-head { flex-direction: column; align-items: start; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(170px, auto); }
  .tile:first-child, .tile:nth-child(4) { grid-column: span 1; }
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .fields, .addr-fields { grid-template-columns: 1fr; }
  .buy-row { grid-template-columns: auto 1fr; }
  .buy-row .wish-lg { display: none; }
  .perks { grid-template-columns: 1fr; }
  .card-body h3 { font-size: 14.5px; }
  .quick { opacity: 1; transform: none; left: auto; width: 40px; height: 40px; padding: 0; }
  .quick span { display: none; }
  .order-row { grid-template-columns: 1fr auto; }
  .order-row > :nth-child(3) { display: none; }
  .tracker li span { font-size: 11px; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
  .toolbar select { min-width: 0; flex: 1; }
  .drawer { top: auto; height: 92vh; left: 0; right: 0; bottom: 0; width: 100%; border-radius: var(--r-xl) var(--r-xl) 0 0; transform: translateY(105%); }
}

@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; }
  .reveal { opacity: 1; transform: none; }
}
