/* Brand tokens — the only block that differs between the two stores. */
:root {
  --bg: #0e0a14;
  --bg-2: #15101e;
  --surface: #1c1528;
  --line: rgba(200, 180, 255, 0.13);
  --text: #f6f1ff;
  --muted: #b3a8c6;
  --accent: #ff6b5a;
  --accent-2: #b9a4ff;
  --accent-ink: #2a0904;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  font: 600 15px/1 var(--font-body); padding: 14px 22px; text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 19px/1 var(--font-display); text-decoration: none; letter-spacing: -0.02em; }
.logo-mark { width: 28px; height: 28px; flex: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--text); }
.cart-open { position: relative; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--text); color: var(--bg); font: 700 12px/20px var(--font-body); text-align: center;
}
@media (max-width: 760px) { .nav a { display: none; } }

/* ---------- Scroll-scrub hero ---------- */
.scrub { position: relative; height: 520vh; }
.scrub-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scrub-stage video, .scrub-stage .poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.scrub-stage video { opacity: 0; transition: opacity .4s ease; }
.scrub-stage video.is-ready { opacity: 1; }
.scrub-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 85%, transparent) 0%, transparent 46%, transparent 70%, color-mix(in srgb, var(--bg) 55%, transparent) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}
.chapters { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.chapter {
  position: absolute; left: max(16px, calc((100% - 1180px) / 2)); top: 50%;
  width: min(460px, calc(100% - 32px));
  transform: translateY(calc(-50% + 24px)); opacity: 0;
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.chapter.is-active { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.chapter .eyebrow { color: var(--accent-2); font: 600 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.chapter h1, .chapter h2 { font-size: clamp(36px, 5.4vw, 68px); margin: 14px 0 16px; }
.chapter p { color: var(--muted); font-size: 18px; margin: 0 0 22px; max-width: 40ch; }
.chapter .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.tags li { font-size: 13px; color: var(--text); padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; transition: opacity .4s; }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 36px; margin: 10px auto 0; background: linear-gradient(var(--accent), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 760px) {
  .scrub-stage::after { background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 45%, transparent 75%); }
  .chapter { top: auto; bottom: 64px; transform: translateY(24px); }
  .chapter.is-active { transform: none; }
  .chapter h1, .chapter h2 { font-size: 34px; }
  .chapter p { font-size: 16px; }
}

/* Reduced motion: no film, chapters stack as normal content over the poster. */
.scrub.is-static { height: auto; }
.scrub.is-static .scrub-stage { position: relative; height: auto; min-height: 100svh; }
.scrub.is-static .chapters { position: relative; padding: 120px 0 60px; display: grid; gap: 64px; }
.scrub.is-static .chapter { position: relative; top: auto; bottom: auto; transform: none; opacity: 1; pointer-events: auto; }
.scrub.is-static .scroll-hint { display: none; }

/* ---------- Sections ---------- */
section.block { padding: 110px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--muted); max-width: 46ch; margin: 10px 0 0; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 0; cursor: pointer; padding: 9px 16px; border-radius: 999px; background: var(--surface); color: var(--muted); font: 500 14px/1 var(--font-body); box-shadow: inset 0 0 0 1px var(--line); }
.chip.is-on { background: var(--text); color: var(--bg); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), 0 20px 40px -24px rgba(0,0,0,.6); }
.card-media { aspect-ratio: 1; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 18px; flex: 1; }
.card-cat { color: var(--accent-2); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.card h3 { font-size: 19px; margin-top: 2px; }
.card-unit { color: var(--muted); margin: 0; font-size: 14px; }
.card-blurb { color: var(--muted); margin: 6px 0 0; font-size: 14px; line-height: 1.5; }
.card-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font: 700 20px/1 var(--font-display); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.feature .num { font: 800 14px/1 var(--font-display); color: var(--accent); }
.feature h3 { font-size: 21px; margin: 14px 0 8px; }
.feature p { color: var(--muted); margin: 0; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--bg-2); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); padding: 0 22px; }
.faq summary { cursor: pointer; padding: 20px 0; font: 600 17px/1.3 var(--font-display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 20px; }

.cta-band { text-align: center; padding: 90px 16px; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 14px; }
.cta-band p { color: var(--muted); margin: 0 auto 26px; max-width: 46ch; }

.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ---------- Cart drawer ---------- */
.cart { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.cart.is-open { visibility: visible; }
.cart-scrim { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .3s; cursor: pointer; }
.cart.is-open .cart-scrim { opacity: 1; }
.cart-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--bg-2); box-shadow: -1px 0 0 var(--line);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.cart.is-open .cart-panel { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 22px; }
.cart-close { background: none; border: 0; color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; padding: 4px 8px; }
#cart-items { list-style: none; margin: 0; padding: 8px 22px; overflow-y: auto; flex: 1; }
.cart-empty { color: var(--muted); padding: 24px 0; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { border-radius: 10px; }
.cart-line-info { display: grid; gap: 4px; font-size: 14px; }
.cart-line-info span { color: var(--muted); }
.cart-line-total { font-weight: 700; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; background: var(--surface); border-radius: 999px; width: max-content; }
.qty button { width: 30px; height: 30px; border: 0; background: none; color: var(--text); font-size: 17px; cursor: pointer; border-radius: 999px; }
.qty output { min-width: 22px; text-align: center; font-weight: 600; }
.cart-foot { padding: 20px 22px 26px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cart-row { display: flex; justify-content: space-between; font: 700 18px/1 var(--font-display); }
.cart-note { color: var(--muted); font-size: 13px; margin: 0; }
#cart-message { color: #ffb4a8; font-size: 14px; min-height: 1em; margin: 0; }

/* ---------- Plain pages (success) ---------- */
.plain { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.plain h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 14px; }
.plain p { color: var(--muted); max-width: 44ch; margin: 0 auto 26px; }
.block.alt { background: var(--bg-2); }

/* Copy sits on a frosted panel so it stays readable over bright film frames. */
.chapter { padding: 28px 30px; border-radius: var(--radius); background: color-mix(in srgb, var(--bg) 62%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line); }
.chapter p { color: color-mix(in srgb, var(--text) 82%, var(--muted)); }
.scrub.is-past-intro .scroll-hint { opacity: 0; }
@media (max-width: 760px) { .chapter { padding: 20px; left: 16px; } }
@media (max-width: 760px) { .scroll-hint { display: none; } }

/* ---------- Audit 2026-10-29: options, toast, mobile nav, legal pages ---------- */
section[id], [id="kits"] { scroll-margin-top: 80px; }
.card[hidden] { display: none; }
.card-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.card-option select {
  flex: 1; max-width: 140px; padding: 8px 12px; border-radius: 10px; border: 0;
  background: var(--bg-2); color: var(--text); font: 500 14px/1 var(--font-body); box-shadow: inset 0 0 0 1px var(--line);
}
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: 14px;
  width: max-content; max-width: calc(100% - 32px); padding: 12px 12px 12px 18px; border-radius: 999px;
  background: var(--text); color: var(--bg); font-size: 14px; font-weight: 500;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.6);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .25s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast button { border: 0; border-radius: 999px; padding: 8px 14px; background: var(--bg); color: var(--text); font: 600 13px/1 var(--font-body); cursor: pointer; }
@media (max-width: 760px) { .nav a:first-child { display: inline; } .nav { gap: 14px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

.legal { padding: 120px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: color-mix(in srgb, var(--text) 82%, var(--muted)); }
.legal .updated { color: var(--muted); font-size: 14px; }
.legal a { color: var(--accent-2); }
/* Phones: compact product rows instead of full-screen photos. */
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .card { display: grid; grid-template-columns: 112px 1fr; }
  .card-media { aspect-ratio: auto; height: 100%; min-height: 112px; }
  .card-body { padding: 14px; }
  .card h3 { font-size: 17px; }
  .card-blurb { display: none; }
  .card-foot { padding-top: 10px; }
  .price { font-size: 18px; }
  .toast { border-radius: 18px; }
}

/* ---------- Round 2: sliding scale, cart remove, order summary ---------- */
.card-tier { margin-top: 14px; display: grid; gap: 8px; }
.card-tier-head { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.card-tier-head output { color: var(--text); font-weight: 600; }
.card-tier input[type="range"] {
  --fill: 0%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; margin: 6px 0; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) var(--fill), var(--bg-2) var(--fill));
  box-shadow: inset 0 0 0 1px var(--line);
}
.card-tier input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--text); border: 4px solid var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.card-tier input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--text); border: 4px solid var(--accent); }
.card-tier-ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.card-tier-ticks span:nth-child(2):not(:last-child) { text-align: center; }
.cart-remove { justify-self: start; background: none; border: 0; padding: 4px 0; color: var(--muted); font: 500 13px/1 var(--font-body); text-decoration: underline; cursor: pointer; }
.cart-remove:hover { color: var(--text); }
.order-summary { margin: 0 auto 26px; max-width: 460px; text-align: left; background: var(--surface); border-radius: var(--radius); padding: 18px 22px; box-shadow: inset 0 0 0 1px var(--line); }
.order-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.order-lines li { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.order-lines .order-total { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 700; }
.order-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: left; }
