/* =========================================================
   SparksCustomParts — Design System
   Light SaaS aesthetic · spark-orange accent · automotive
   ========================================================= */

/* Hide footer social icons until real accounts are set up. */
.socials { display: none !important; }

/* Sold-out treatment — applied by catalog.js when in_stock=FALSE */
.is-sold-out {
  position: relative;
  pointer-events: none;
}
.is-sold-out::before {
  content: 'SOLD OUT';
  position: absolute; top: 12px; right: 12px; z-index: 5;
  background: #0A0A0F; color: #FFFFFF;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  padding: 6px 10px; border-radius: 999px;
  font-family: var(--font-sans);
}
.is-sold-out > * { opacity: 0.55; filter: grayscale(0.4); }

/* -------- Reset -------- */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body { line-height: 1.5; min-height: 100vh; }
img, picture, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* -------- Tokens -------- */
:root {
  /* Surface */
  --bg-base: #FAFAF7;
  --bg-elevated: #FFFFFF;
  --bg-soft: #F4F2EC;
  --bg-inverse: #0A0A0F;

  /* Text */
  --text-primary: #0A0A0F;
  --text-secondary: #4D4D58;
  --text-tertiary: #8A8A95;
  --text-inverse: #FAFAF7;

  /* Border */
  --border: #ECEAE3;
  --border-strong: #D9D6CD;
  --border-on-dark: rgba(255,255,255,0.10);

  /* Accent — Spark */
  --accent: #FF4719;
  --accent-hover: #E83C12;
  --accent-soft: #FFE9DE;
  --accent-glow: rgba(255, 71, 25, 0.18);
  --accent-deep: #B12E0E;

  /* Support */
  --success: #0EA572;
  --warning: #E8B11C;

  /* Type scale */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-15: 0.9375rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-32: 2rem;
  --fs-40: 2.5rem;
  --fs-56: 3.5rem;
  --fs-72: 4.5rem;
  --fs-96: 6rem;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 192px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 999px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(10,10,15,0.04);
  --shadow-sm: 0 2px 6px rgba(10,10,15,0.05);
  --shadow-md: 0 8px 24px rgba(10,10,15,0.06);
  --shadow-lg: 0 24px 64px rgba(10,10,15,0.10);
  --shadow-glow: 0 12px 48px rgba(255,71,25,0.22);

  /* Layout */
  --container: 1280px;
  --container-narrow: 1080px;
  --header-h: 72px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.16, 1.04, 0.46, 1.04);
  --dur-fast: 180ms;
  --dur-mid: 320ms;
  --dur-slow: 600ms;
}

/* -------- Base -------- */
body {
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  color: var(--text-primary);
  background: var(--bg-base);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  letter-spacing: -0.005em;
}

::selection { background: var(--accent); color: white; }

/* -------- Container -------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--s-5); }

/* -------- Typography -------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-12); font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 12px var(--accent-glow);
}

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; color: var(--text-primary); }
.h-display { font-size: clamp(2.5rem, 6vw, var(--fs-96)); font-weight: 800; letter-spacing: -0.04em; line-height: 0.96; }
.h1 { font-size: clamp(2rem, 4vw, var(--fs-56)); letter-spacing: -0.035em; line-height: 1.02; }
.h2 { font-size: clamp(1.75rem, 3vw, var(--fs-40)); letter-spacing: -0.03em; line-height: 1.08; }
.h3 { font-size: clamp(1.25rem, 1.6vw, var(--fs-24)); line-height: 1.2; }
.body-lg { font-size: var(--fs-18); color: var(--text-secondary); line-height: 1.55; }
.body { font-size: var(--fs-16); color: var(--text-secondary); line-height: 1.6; }
.body-sm { font-size: var(--fs-14); color: var(--text-secondary); }
.mono { font-family: var(--font-mono); font-feature-settings: 'ss02'; letter-spacing: -0.01em; }
.gradient-text {
  background: linear-gradient(115deg, var(--accent) 0%, #FF8A3D 50%, #FFB347 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 14px 22px; font-size: var(--fs-15); font-weight: 600;
  border-radius: var(--r-full); border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-spring),
              background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
  position: relative; overflow: hidden; isolation: isolate;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--text-primary); color: var(--text-inverse);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 8px 24px rgba(10,10,15,0.18);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--accent) 0%, #FF8A3D 100%);
  opacity: 0; transition: opacity var(--dur-mid) var(--ease-out);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-glow); }
.btn-primary:hover::before { opacity: 1; }

.btn-accent {
  background: var(--accent); color: white;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 12px 36px rgba(255,71,25,0.34); }

.btn-ghost {
  background: transparent; color: var(--text-primary); border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-elevated); border-color: var(--text-primary); transform: translateY(-1px); }

.btn-link {
  padding: 0; background: none; color: var(--text-primary);
  font-weight: 600; gap: var(--s-1);
}
.btn-link .arrow { transition: transform var(--dur-mid) var(--ease-spring); }
.btn-link:hover .arrow { transform: translateX(4px); }

.btn-sm { padding: 9px 16px; font-size: var(--fs-13); }
.btn-lg { padding: 18px 28px; font-size: var(--fs-16); }

/* -------- Pill / chip -------- */
.chip {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 6px 14px; border-radius: var(--r-full);
  background: var(--bg-elevated); border: 1px solid var(--border);
  font-size: var(--fs-12); font-weight: 600; color: var(--text-secondary);
  letter-spacing: -0.005em;
}
.chip .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 2.4s ease-in-out infinite;
}

/* -------- Card -------- */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-mid) var(--ease-spring),
              box-shadow var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out);
  position: relative; overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(250, 250, 247, 0.7);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-mid) var(--ease-out),
              backdrop-filter var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(250, 250, 247, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--border);
}

.header-inner {
  width: 100%; max-width: var(--container); margin: 0 auto;
  padding: 0 var(--s-5);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-6);
}

.logo {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 800; font-size: var(--fs-18); letter-spacing: -0.02em; color: var(--text-primary);
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
  flex: 0 0 36px;
  background: #FFFFFF;
}
.logo-mark::after { content: none; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-mark svg { width: 18px; height: 18px; }
/* Footer logo is on a dark background — keep the white logo card so the
   spark mark stays legible. */
.site-footer .logo-mark { background: #FFFFFF; }
.logo .brand-mark { font-weight: 800; }
.logo .brand-light { color: var(--text-tertiary); font-weight: 500; }

.main-nav {
  display: flex; justify-content: center; gap: var(--s-2);
}
.main-nav a {
  position: relative;
  padding: 10px 14px; border-radius: var(--r-full);
  font-size: var(--fs-14); font-weight: 500; color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.main-nav a:hover { color: var(--text-primary); background: rgba(10,10,15,0.04); }
.main-nav a.is-active { color: var(--text-primary); }

.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.icon-btn {
  width: 40px; height: 40px; border-radius: var(--r-full);
  display: grid; place-items: center; color: var(--text-secondary);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  position: relative;
}
.icon-btn:hover { background: rgba(10,10,15,0.05); color: var(--text-primary); }
.cart-count {
  position: absolute; top: 4px; right: 4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: var(--r-full);
  background: var(--accent); color: white;
  font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid var(--bg-base);
}

.menu-toggle { display: none; }
@media (max-width: 920px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg-base);
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease-out);
  padding: 96px var(--s-5) var(--s-5);
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateY(0); }
.mobile-drawer nav a {
  display: block; padding: var(--s-4) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-24); font-weight: 600; color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 var(--s-9);
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--bg-base);
}
.hero-bg::before {
  content: ''; position: absolute; inset: -10%;
  background:
    radial-gradient(60% 40% at 80% 0%, rgba(255,138,61,0.16) 0%, transparent 60%),
    radial-gradient(50% 50% at 10% 30%, rgba(255,71,25,0.10) 0%, transparent 60%);
  filter: blur(20px);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(10,10,15,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,15,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
}

.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s-8); align-items: center;
}
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s-7); }
}

.hero-eyebrow { margin-bottom: var(--s-5); }
.hero h1 { margin-bottom: var(--s-5); }
.hero .body-lg { max-width: 540px; margin-bottom: var(--s-6); }

.hero-ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: var(--s-7); margin-top: var(--s-7);
  padding-top: var(--s-6); border-top: 1px solid var(--border);
}
.hero-stat .num {
  font-size: var(--fs-32); font-weight: 800; letter-spacing: -0.03em;
  color: var(--text-primary); line-height: 1;
}
.hero-stat .label {
  font-size: var(--fs-12); font-weight: 500; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px;
}

/* Hero visual */
.hero-visual {
  position: relative; aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}
.hero-disc {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  filter: drop-shadow(0 24px 48px rgba(10,10,15,0.12));
}
.hero-disc svg { width: 88%; height: 88%; }
.hero-disc-spin { animation: spin 28s linear infinite; transform-origin: 50% 50%; }
.hero-orbit {
  position: absolute; width: 100%; height: 100%;
  border-radius: 999px; border: 1px dashed var(--border-strong);
  animation: spin 60s linear infinite;
}
.hero-orbit::before, .hero-orbit::after {
  content: ''; position: absolute; width: 8px; height: 8px;
  background: var(--accent); border-radius: 999px; top: -4px; left: 50%; transform: translateX(-50%);
  box-shadow: 0 0 16px var(--accent-glow);
}
.hero-orbit::after { top: auto; bottom: -4px; background: var(--text-primary); box-shadow: none; }

.hero-floating-spec {
  position: absolute; padding: 12px 16px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-md);
  font-size: var(--fs-13); display: flex; align-items: center; gap: var(--s-2);
  animation: float 5s ease-in-out infinite;
}
.hero-floating-spec .label { color: var(--text-tertiary); font-size: var(--fs-12); }
.hero-floating-spec .value { color: var(--text-primary); font-weight: 700; font-family: var(--font-mono); }
.spec-1 { top: 10%; left: -4%; animation-delay: 0s; }
.spec-2 { bottom: 18%; right: -4%; animation-delay: 1.2s; }
.spec-3 { bottom: 6%; left: 12%; animation-delay: 2.4s; }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
}
.trust-strip-label {
  text-align: center; margin-bottom: var(--s-5);
  font-size: var(--fs-12); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-tertiary);
}
.marquee {
  display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex; gap: var(--s-9); padding-right: var(--s-9);
  animation: marquee 32s linear infinite;
  flex-shrink: 0; min-width: 100%;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.brand-name {
  font-size: var(--fs-24); font-weight: 700; letter-spacing: -0.02em;
  color: var(--text-tertiary); opacity: 0.7;
  transition: opacity var(--dur-mid) var(--ease-out), color var(--dur-mid) var(--ease-out);
  white-space: nowrap;
}
.brand-name:hover { opacity: 1; color: var(--text-primary); }

/* =========================================================
   SECTION SHELL
   ========================================================= */
.section { padding: var(--s-10) 0; position: relative; }
.section-head { text-align: center; margin-bottom: var(--s-8); max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head .eyebrow { margin-bottom: var(--s-4); }
.section-head h2 { margin-bottom: var(--s-4); }

/* =========================================================
   FEATURED KITS
   ========================================================= */
.kits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5);
}
@media (max-width: 920px) { .kits-grid { grid-template-columns: 1fr; } }

.kit-card { padding: 0; overflow: hidden; }
.kit-card-media {
  aspect-ratio: 4 / 3; background: linear-gradient(135deg, #F4F2EC 0%, #E8E4DA 100%);
  position: relative; overflow: hidden; display: grid; place-items: center;
}
.kit-card-media svg {
  width: 70%; height: 70%;
  transition: transform 1.2s var(--ease-out);
}
.kit-card:hover .kit-card-media svg { transform: rotate(45deg) scale(1.06); }
.kit-card-media::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,71,25,0.12), transparent 50%);
  opacity: 0; transition: opacity var(--dur-slow) var(--ease-out);
}
.kit-card:hover .kit-card-media::after { opacity: 1; }
.kit-card-tag {
  position: absolute; top: var(--s-4); left: var(--s-4);
  padding: 4px 10px; border-radius: var(--r-full);
  background: rgba(10,10,15,0.75); color: white;
  font-size: var(--fs-12); font-weight: 600;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.kit-card-body { padding: var(--s-6); }
.kit-card-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-3); }
.kit-card-meta .price { font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-16); color: var(--text-primary); }
.kit-card-meta .price-from { font-size: var(--fs-12); color: var(--text-tertiary); margin-right: 4px; font-family: var(--font-sans); }
.kit-card h3 { margin-bottom: var(--s-2); }
.kit-card p { color: var(--text-secondary); font-size: var(--fs-14); margin-bottom: var(--s-5); line-height: 1.55; }
.kit-card-specs {
  display: flex; gap: var(--s-3); margin-bottom: var(--s-5);
  flex-wrap: wrap;
}
.kit-card-specs .spec {
  font-size: var(--fs-12); padding: 4px 10px;
  border-radius: var(--r-sm); background: var(--bg-soft);
  color: var(--text-secondary); font-family: var(--font-mono);
}

/* =========================================================
   WHEELS TEASER
   ========================================================= */
.wheels-teaser {
  position: relative;
  padding: var(--s-9);
  border-radius: var(--r-2xl);
  background: var(--bg-inverse);
  color: var(--text-inverse);
  overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s-7); align-items: center;
}
@media (max-width: 920px) {
  .wheels-teaser { grid-template-columns: 1fr; padding: var(--s-7); }
}
.wheels-teaser::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 80% 50%, rgba(255,71,25,0.30) 0%, transparent 60%),
    radial-gradient(40% 40% at 20% 0%, rgba(255,138,61,0.18) 0%, transparent 60%);
  animation: drift 22s ease-in-out infinite alternate;
}
.wheels-teaser-content { position: relative; z-index: 1; }
.wheels-teaser .eyebrow { color: var(--accent-soft); margin-bottom: var(--s-4); }
.wheels-teaser h2 { color: white; margin-bottom: var(--s-4); }
.wheels-teaser p { color: rgba(255,255,255,0.75); font-size: var(--fs-18); margin-bottom: var(--s-6); max-width: 460px; }
.wheels-teaser .brands {
  display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6);
}
.wheels-teaser .brand-pill {
  padding: 6px 14px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  font-size: var(--fs-13); font-weight: 600;
}
.wheels-teaser-visual {
  position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center;
}
.wheel-illustration {
  width: 90%; height: 90%; animation: spin 28s linear infinite reverse;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.4));
}

/* Photo-based wheel hero (replaces the SVG illustration on home page) */
.wheel-hero-stage {
  position: relative; width: 92%; height: 92%;
  display: grid; place-items: center; isolation: isolate;
}
.wheel-hero-glow {
  position: absolute; inset: 6%; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,138,61,0.22) 0%, rgba(255,71,25,0.10) 28%, transparent 62%),
    radial-gradient(circle at 65% 70%, rgba(255,71,25,0.18) 0%, transparent 55%);
  filter: blur(28px); z-index: 0;
  animation: wheelHeroGlow 8s ease-in-out infinite alternate;
}
.wheel-hero-img {
  position: relative; z-index: 1; width: 100%; height: 100%;
  object-fit: contain;
  /* Circular clip removes any white anti-aliased halo from the
     image's seamless background. Wheels are round so this just cleanly
     trims the residual edges. */
  clip-path: circle(46% at 50% 50%);
  -webkit-clip-path: circle(46% at 50% 50%);
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.55)) drop-shadow(0 0 24px rgba(255,71,25,0.18));
  animation: wheelHeroSpin 60s linear infinite;
  transform-origin: 50% 50%;
}
@keyframes wheelHeroSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes wheelHeroGlow {
  0%   { opacity: 0.85; transform: scale(1); }
  100% { opacity: 1;    transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .wheel-hero-img, .wheel-hero-glow { animation: none; }
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); position: relative; }
@media (max-width: 920px) { .how-grid { grid-template-columns: 1fr; } }
.how-grid::before {
  content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  z-index: 0;
}
@media (max-width: 920px) { .how-grid::before { display: none; } }
.how-step { position: relative; z-index: 1; text-align: center; padding: 0 var(--s-3); }
.how-step-num {
  width: 72px; height: 72px; margin: 0 auto var(--s-5);
  border-radius: var(--r-full); background: var(--bg-elevated);
  border: 1px solid var(--border); display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-20);
  color: var(--text-primary); position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-mid) var(--ease-spring), border-color var(--dur-mid) var(--ease-out), color var(--dur-mid) var(--ease-out);
}
.how-step:hover .how-step-num {
  transform: translateY(-4px) rotate(-6deg);
  border-color: var(--accent); color: var(--accent);
}
.how-step h3 { margin-bottom: var(--s-2); }
.how-step p { color: var(--text-secondary); font-size: var(--fs-14); }

/* =========================================================
   GALLERY TEASER
   ========================================================= */
.gallery-teaser {
  display: grid; grid-template-columns: repeat(8, 1fr); grid-auto-rows: 120px; gap: var(--s-3);
}
@media (max-width: 920px) { .gallery-teaser { grid-template-columns: repeat(4, 1fr); } }
.gallery-tile {
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--bg-soft), #E8E4DA);
  cursor: pointer;
  transition: transform var(--dur-mid) var(--ease-spring);
}
.gallery-tile::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(255,71,25,0.35), transparent 60%);
  opacity: 0; transition: opacity var(--dur-mid) var(--ease-out);
}
.gallery-tile:hover { transform: scale(1.02); }
.gallery-tile:hover::after { opacity: 1; }
.gallery-tile svg { width: 100%; height: 100%; display: block; }
.tile-1 { grid-column: span 3; grid-row: span 2; }
.tile-2 { grid-column: span 2; grid-row: span 1; }
.tile-3 { grid-column: span 3; grid-row: span 1; }
.tile-4 { grid-column: span 2; grid-row: span 1; }
.tile-5 { grid-column: span 3; grid-row: span 1; }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
@media (max-width: 920px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); }
.review-stars { display: flex; gap: 2px; color: var(--accent); }
.review-text { font-size: var(--fs-16); color: var(--text-primary); line-height: 1.55; flex-grow: 1; letter-spacing: -0.005em; }
.review-author { display: flex; align-items: center; gap: var(--s-3); }
.review-avatar {
  width: 40px; height: 40px; border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--accent), #FF8A3D);
  display: grid; place-items: center; color: white; font-weight: 700; font-size: var(--fs-14);
}
.review-author .name { font-size: var(--fs-14); font-weight: 600; color: var(--text-primary); }
.review-author .meta { font-size: var(--fs-12); color: var(--text-tertiary); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--s-5) 0;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  font-size: var(--fs-18); font-weight: 600; color: var(--text-primary);
  cursor: pointer; list-style: none;
  letter-spacing: -0.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .toggle {
  width: 28px; height: 28px; border-radius: var(--r-full);
  background: var(--bg-soft);
  display: grid; place-items: center;
  transition: transform var(--dur-mid) var(--ease-spring), background var(--dur-fast) var(--ease-out);
  flex-shrink: 0;
}
.faq-item[open] .toggle { transform: rotate(45deg); background: var(--accent); color: white; }
.faq-item p { margin-top: var(--s-3); color: var(--text-secondary); line-height: 1.6; }

/* =========================================================
   CTA STRIP
   ========================================================= */
.cta-strip {
  position: relative;
  padding: var(--s-9);
  border-radius: var(--r-2xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 60% at 50% 100%, rgba(255,71,25,0.18) 0%, transparent 70%);
  animation: pulse 6s ease-in-out infinite;
}
.cta-strip h2 { position: relative; z-index: 1; margin-bottom: var(--s-3); }
.cta-strip p { position: relative; z-index: 1; max-width: 540px; margin: 0 auto var(--s-6); }
.cta-strip .btn { position: relative; z-index: 1; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--bg-inverse); color: var(--text-inverse);
  padding: var(--s-9) 0 var(--s-5);
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 50%; width: 80%; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,71,25,0.5), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: var(--s-6);
}
@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

.footer-brand .logo { color: white; margin-bottom: var(--s-4); }
.footer-brand .logo-mark { background: rgba(255,255,255,0.08); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: var(--fs-14); max-width: 320px; margin-bottom: var(--s-5); }
.footer-newsletter {
  display: flex; gap: var(--s-2); max-width: 360px;
}
.footer-newsletter input {
  flex: 1; padding: 12px 16px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: white; font-size: var(--fs-14);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter input:focus { outline: none; border-color: var(--accent); }
.footer-newsletter button {
  padding: 12px 18px; border-radius: var(--r-full);
  background: var(--accent); color: white; font-weight: 600; font-size: var(--fs-14);
  transition: background var(--dur-fast) var(--ease-out);
}
.footer-newsletter button:hover { background: var(--accent-hover); }

.footer-col h4 {
  font-size: var(--fs-12); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5); margin-bottom: var(--s-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col a {
  font-size: var(--fs-14); color: rgba(255,255,255,0.7);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-col a:hover { color: white; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: var(--s-9); padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: var(--fs-13); color: rgba(255,255,255,0.4);
  flex-wrap: wrap; gap: var(--s-3);
}
.footer-bottom .socials { display: flex; gap: var(--s-3); }
.footer-bottom .socials a {
  width: 36px; height: 36px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.05); display: grid; place-items: center;
  color: rgba(255,255,255,0.6);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.footer-bottom .socials a:hover { background: var(--accent); color: white; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift {
  0% { transform: translate(0%, 0%) scale(1); }
  100% { transform: translate(4%, 6%) scale(1.06); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@keyframes marquee {
  to { transform: translateX(-100%); }
}
@keyframes blurIn {
  from { opacity: 0; filter: blur(8px); transform: translateY(20px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out), filter 800ms var(--ease-out);
  filter: blur(6px);
}
.reveal.is-in {
  opacity: 1; transform: translateY(0); filter: blur(0);
}
.reveal-stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal-stagger.is-in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 320ms; }

/* Hero word animation */
.word-anim { display: inline-block; }
.word-anim .word {
  display: inline-block; opacity: 0;
  transform: translateY(40%) rotate(2deg);
  filter: blur(8px);
  animation: blurIn 900ms var(--ease-spring) forwards;
}
.word-anim .word:nth-child(1) { animation-delay: 100ms; }
.word-anim .word:nth-child(2) { animation-delay: 180ms; }
.word-anim .word:nth-child(3) { animation-delay: 260ms; }
.word-anim .word:nth-child(4) { animation-delay: 340ms; }
.word-anim .word:nth-child(5) { animation-delay: 420ms; }
.word-anim .word:nth-child(6) { animation-delay: 500ms; }
.word-anim .word:nth-child(7) { animation-delay: 580ms; }
.word-anim .word:nth-child(8) { animation-delay: 660ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* =========================================================
   SHOP — breadcrumb
   ========================================================= */
.breadcrumb {
  padding: calc(var(--header-h) + var(--s-5)) 0 var(--s-3);
  font-size: var(--fs-13); color: var(--text-tertiary);
  display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); transition: color var(--dur-fast) var(--ease-out); }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb .sep { color: var(--text-tertiary); opacity: 0.5; }
.breadcrumb .current { color: var(--text-primary); font-weight: 500; }

/* =========================================================
   SHOP — landing
   ========================================================= */
.shop-hero {
  padding: var(--s-5) 0 var(--s-9);
}
.shop-hero h1 { max-width: 780px; margin-bottom: var(--s-4); }
.shop-hero p { max-width: 620px; }

.shop-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: var(--s-5);
}
@media (max-width: 920px) { .shop-grid { grid-template-columns: 1fr; } }

.shop-grid-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--s-5);
}
@media (max-width: 920px) { .shop-grid-row { grid-template-columns: 1fr; } }

.shop-tile {
  position: relative; padding: 0; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 380px;
}
.shop-tile-media {
  flex: 1; min-height: 220px;
  background: linear-gradient(135deg, #F4F2EC 0%, #E8E4DA 100%);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.shop-tile-media svg {
  width: 64%; height: 64%;
  transition: transform 1s var(--ease-out);
}
.shop-tile:hover .shop-tile-media svg { transform: rotate(20deg) scale(1.05); }
.shop-tile-media::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,71,25,0.10), transparent 60%);
  opacity: 0; transition: opacity var(--dur-slow) var(--ease-out);
}
.shop-tile:hover .shop-tile-media::after { opacity: 1; }
.shop-tile-body { padding: var(--s-6); }
.shop-tile-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--s-3);
  font-size: var(--fs-12); color: var(--text-tertiary); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.shop-tile-meta .price-from {
  font-family: var(--font-mono); color: var(--text-primary);
  font-size: var(--fs-14); letter-spacing: -0.01em; text-transform: none;
}
.shop-tile h3 { margin-bottom: var(--s-2); }
.shop-tile p { color: var(--text-secondary); font-size: var(--fs-14); margin-bottom: var(--s-4); line-height: 1.55; }
.shop-tile .arrow-icon {
  position: absolute; top: var(--s-5); right: var(--s-5);
  width: 36px; height: 36px; border-radius: var(--r-full);
  background: var(--bg-elevated); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text-primary);
  transition: transform var(--dur-mid) var(--ease-spring), background var(--dur-mid) var(--ease-out), color var(--dur-mid) var(--ease-out);
  z-index: 1;
}
.shop-tile:hover .arrow-icon {
  transform: rotate(-45deg);
  background: var(--accent); color: white; border-color: var(--accent);
}

.shop-tile-wide {
  grid-column: span 2;
  background: var(--bg-inverse); color: var(--text-inverse);
  display: grid; grid-template-columns: 1fr 1fr; min-height: 320px;
  position: relative; overflow: hidden;
}
@media (max-width: 920px) {
  .shop-tile-wide { grid-column: span 1; grid-template-columns: 1fr; }
}
.shop-tile-wide .shop-tile-media {
  background: transparent; min-height: 280px;
}
.shop-tile-wide::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 80% 50%, rgba(255,71,25,0.30) 0%, transparent 60%),
    radial-gradient(40% 40% at 20% 0%, rgba(255,138,61,0.18) 0%, transparent 60%);
}
.shop-tile-wide .shop-tile-body { position: relative; z-index: 1; padding: var(--s-7); display: flex; flex-direction: column; justify-content: center; }
.shop-tile-wide h3 { color: white; font-size: var(--fs-32); margin-bottom: var(--s-3); letter-spacing: -0.025em; }
.shop-tile-wide p { color: rgba(255,255,255,0.75); font-size: var(--fs-16); margin-bottom: var(--s-5); }
.shop-tile-wide .shop-tile-meta { color: rgba(255,255,255,0.5); }
.shop-tile-wide .shop-tile-meta .price-from { color: white; }
.shop-tile-wide .arrow-icon { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: white; }
.shop-tile-wide:hover .arrow-icon { background: var(--accent); border-color: var(--accent); }

/* =========================================================
   SHOP — product page
   ========================================================= */
.product-hero {
  padding: var(--s-3) 0 var(--s-9);
}
.product-hero-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-9); align-items: center;
}
@media (max-width: 920px) { .product-hero-inner { grid-template-columns: 1fr; gap: var(--s-7); } }

.product-tags { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-5); }
.product-tag {
  padding: 4px 12px; border-radius: var(--r-full);
  background: var(--bg-soft); border: 1px solid var(--border);
  font-size: var(--fs-12); font-weight: 600; color: var(--text-secondary);
  letter-spacing: -0.005em;
}
.product-tag.tag-accent { background: var(--accent-soft); color: var(--accent-deep); border-color: rgba(255,71,25,0.2); }
.product-tag.tag-dark { background: var(--bg-inverse); color: var(--text-inverse); border-color: var(--bg-inverse); }

.product-hero h1 {
  font-size: clamp(2rem, 4.5vw, var(--fs-56));
  letter-spacing: -0.035em; line-height: 1.02;
  margin-bottom: var(--s-4);
}
.product-hero .summary {
  font-size: var(--fs-18); color: var(--text-secondary); line-height: 1.55;
  margin-bottom: var(--s-6); max-width: 540px;
}

.product-spec-chips {
  display: flex; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-6);
}
.product-spec-chips .spec {
  padding: 8px 14px; border-radius: var(--r-md);
  background: var(--bg-elevated); border: 1px solid var(--border);
  font-size: var(--fs-13); color: var(--text-primary); font-weight: 500;
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.product-spec-chips .spec .label { color: var(--text-tertiary); font-size: var(--fs-12); font-weight: 500; }
.product-spec-chips .spec .value { font-family: var(--font-mono); font-weight: 700; }

.product-price-row {
  display: flex; align-items: end; justify-content: space-between;
  padding-top: var(--s-5); border-top: 1px solid var(--border);
  margin-bottom: var(--s-5);
  flex-wrap: wrap; gap: var(--s-4);
}
.product-price-row .price-block .label {
  font-size: var(--fs-12); color: var(--text-tertiary); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 600; margin-bottom: 4px;
}
.product-price-row .price-block .price {
  font-size: var(--fs-40); font-weight: 800; letter-spacing: -0.03em;
  font-family: var(--font-mono); color: var(--text-primary); line-height: 1;
}
.product-price-row .price-block .price-meta {
  font-size: var(--fs-13); color: var(--text-tertiary); margin-top: 6px;
}

.product-cta-row {
  display: flex; gap: var(--s-3); flex-wrap: wrap;
}

/* Product visual */
.product-visual {
  position: relative; aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}
.product-visual-disc {
  width: 88%; height: 88%;
  filter: drop-shadow(0 32px 64px rgba(10,10,15,0.16));
  animation: spin 36s linear infinite;
}
.product-visual-stage {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.product-visual-orbit {
  position: absolute; width: 96%; height: 96%;
  border-radius: 999px; border: 1px dashed var(--border-strong);
  animation: spin 80s linear infinite reverse;
}

/* =========================================================
   SHOP — included grid
   ========================================================= */
.included-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
}
@media (max-width: 920px) { .included-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .included-grid { grid-template-columns: 1fr; } }
.included-card {
  padding: var(--s-5);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--dur-mid) var(--ease-spring), border-color var(--dur-mid) var(--ease-out);
}
.included-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.included-card .icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--accent-soft); color: var(--accent-deep);
  display: grid; place-items: center; margin-bottom: var(--s-4);
}
.included-card h4 { font-size: var(--fs-16); margin-bottom: var(--s-2); }
.included-card p { font-size: var(--fs-14); color: var(--text-secondary); line-height: 1.55; }

/* =========================================================
   SHOP — spec sheet
   ========================================================= */
.spec-sheet {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.spec-sheet-row {
  display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-4);
  padding: var(--s-4) var(--s-6);
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.spec-sheet-row:last-child { border-bottom: none; }
.spec-sheet-row .label {
  font-size: var(--fs-13); color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
.spec-sheet-row .value {
  font-size: var(--fs-15); color: var(--text-primary);
}
.spec-sheet-row .value .mono { font-family: var(--font-mono); font-weight: 600; }
@media (max-width: 540px) {
  .spec-sheet-row { grid-template-columns: 1fr; gap: var(--s-1); padding: var(--s-4); }
}

/* =========================================================
   SHOP — configurator entry card
   ========================================================= */
.configurator-card {
  position: relative;
  padding: var(--s-9);
  border-radius: var(--r-2xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center;
}
@media (max-width: 920px) { .configurator-card { grid-template-columns: 1fr; padding: var(--s-7); } }
.configurator-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 80% at 100% 50%, rgba(255,71,25,0.08) 0%, transparent 70%);
}
.configurator-card-content { position: relative; z-index: 1; }
.configurator-card h2 { margin-bottom: var(--s-3); }
.configurator-card p { color: var(--text-secondary); margin-bottom: var(--s-5); max-width: 460px; }
.configurator-steps {
  display: flex; gap: var(--s-2); margin-bottom: var(--s-6); flex-wrap: wrap;
}
.configurator-step {
  padding: 6px 12px; border-radius: var(--r-full);
  background: var(--bg-soft); border: 1px solid var(--border);
  font-size: var(--fs-12); font-weight: 600; color: var(--text-secondary);
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.configurator-step .num {
  width: 18px; height: 18px; border-radius: var(--r-full);
  background: var(--text-primary); color: white;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
}

.configurator-preview {
  position: relative; aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #F4F2EC 0%, #E8E4DA 100%);
  border-radius: var(--r-xl); overflow: hidden;
  display: grid; place-items: center;
}
.configurator-preview svg { width: 70%; height: 70%; }
.configurator-preview .shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  background-size: 200% 100%; background-position: -100% 0;
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer {
  to { background-position: 200% 0; }
}

/* =========================================================
   SHOP — fitment grid
   ========================================================= */
.fitment-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5);
}
@media (max-width: 920px) { .fitment-grid { grid-template-columns: 1fr; } }
.fitment-card {
  padding: var(--s-6);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.fitment-card .label {
  font-size: var(--fs-12); color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
  margin-bottom: var(--s-3);
}
.fitment-card .value {
  font-size: var(--fs-24); font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: var(--s-2);
}
.fitment-card .note { font-size: var(--fs-14); color: var(--text-secondary); }

/* =========================================================
   SHOP — Custom Wheels
   ========================================================= */
.brand-section {
  padding: var(--s-8) 0;
  border-top: 1px solid var(--border);
}
.brand-section:first-of-type { border-top: none; padding-top: var(--s-5); }
.brand-section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: var(--s-5); flex-wrap: wrap;
  margin-bottom: var(--s-6);
}
.brand-section-head .brand-title {
  font-size: var(--fs-40); font-weight: 800; letter-spacing: -0.035em;
  line-height: 1; color: var(--text-primary);
}
.brand-section-head p {
  color: var(--text-secondary); font-size: var(--fs-15); max-width: 460px;
  line-height: 1.55;
}

.brand-styles-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
}
@media (max-width: 920px) { .brand-styles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .brand-styles-grid { grid-template-columns: 1fr; } }

.style-tile {
  position: relative; aspect-ratio: 1 / 1;
  border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, #F4F2EC 0%, #E8E4DA 100%);
  cursor: pointer;
  transition: transform var(--dur-mid) var(--ease-spring);
  border: 1px solid var(--border);
}
.style-tile:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.style-tile svg {
  width: 100%; height: 100%; display: block;
  transition: transform 1.6s var(--ease-out);
}
.style-tile:hover svg { transform: rotate(45deg); }
.style-tile-label {
  position: absolute; bottom: var(--s-3); left: var(--s-3); right: var(--s-3);
  background: rgba(255,255,255,0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 8px 12px; border-radius: var(--r-md);
  font-size: var(--fs-13); font-weight: 600; color: var(--text-primary);
  display: flex; justify-content: space-between; align-items: center;
}
.style-tile-label .meta { font-family: var(--font-mono); font-size: var(--fs-12); color: var(--text-tertiary); font-weight: 500; }

.diameter-explainer {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); margin-bottom: var(--s-7);
}
@media (max-width: 920px) { .diameter-explainer { grid-template-columns: repeat(2, 1fr); } }
.diameter-card {
  padding: var(--s-5);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-align: center;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.diameter-card:hover { border-color: var(--accent); }
.diameter-card .size {
  font-size: var(--fs-32); font-weight: 800; letter-spacing: -0.03em;
  font-family: var(--font-mono); color: var(--text-primary); line-height: 1;
}
.diameter-card .pair {
  font-size: var(--fs-12); color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
  margin-top: var(--s-2);
}
.diameter-card .rotor {
  font-size: var(--fs-13); color: var(--text-secondary); margin-top: var(--s-2);
}

.custom-color-banner {
  position: relative;
  padding: var(--s-7);
  border-radius: var(--r-2xl);
  background: var(--bg-inverse); color: var(--text-inverse);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-6); align-items: center;
  overflow: hidden;
}
@media (max-width: 920px) { .custom-color-banner { grid-template-columns: 1fr; } }
.custom-color-banner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    conic-gradient(from 180deg at 80% 50%, #FF4719, #FF8A3D, #FFB347, #FF4719);
  opacity: 0.15;
  animation: spin 18s linear infinite;
}
.custom-color-banner-content { position: relative; z-index: 1; }
.custom-color-banner h3 { color: white; font-size: var(--fs-32); margin-bottom: var(--s-3); letter-spacing: -0.025em; }
.custom-color-banner p { color: rgba(255,255,255,0.7); margin-bottom: var(--s-5); max-width: 460px; }
.custom-color-swatches {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3);
}
.custom-color-swatch {
  aspect-ratio: 1 / 1; border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.16);
  position: relative; overflow: hidden;
}
.custom-color-swatch::after {
  content: attr(data-name); position: absolute; bottom: 6px; left: 8px;
  font-size: 10px; font-weight: 700; color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4); letter-spacing: -0.01em;
}

/* =========================================================
   SHOP — cross-sell strip
   ========================================================= */
.cross-sell-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
}
@media (max-width: 920px) { .cross-sell-grid { grid-template-columns: 1fr; } }

/* small section heads on shop pages */
.shop-section-head { margin-bottom: var(--s-6); max-width: 720px; }
.shop-section-head h2 { margin-bottom: var(--s-3); font-size: clamp(1.5rem, 2.5vw, var(--fs-32)); letter-spacing: -0.025em; }
.shop-section-head p { color: var(--text-secondary); font-size: var(--fs-16); }
.shop-section-head .eyebrow { margin-bottom: var(--s-3); }

/* =========================================================
   BUILD — landing
   ========================================================= */
.build-landing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5);
  margin-bottom: var(--s-5);
}
@media (max-width: 920px) { .build-landing-grid { grid-template-columns: 1fr; } }

.build-card {
  position: relative;
  padding: var(--s-7);
  border-radius: var(--r-2xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 480px;
  transition: transform var(--dur-mid) var(--ease-spring), border-color var(--dur-mid) var(--ease-out);
}
.build-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.build-card.dark { background: var(--bg-inverse); color: var(--text-inverse); border-color: var(--bg-inverse); }
.build-card.dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 80% 20%, rgba(255,71,25,0.22) 0%, transparent 60%),
    radial-gradient(40% 40% at 0% 100%, rgba(255,138,61,0.12) 0%, transparent 60%);
  animation: drift 20s ease-in-out infinite alternate;
}
.build-card-content { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; }
.build-card-eyebrow { font-size: var(--fs-12); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-4); }
.build-card.dark .build-card-eyebrow { color: var(--accent-soft); }
.build-card h2 { font-size: clamp(1.5rem, 2.5vw, var(--fs-40)); letter-spacing: -0.03em; margin-bottom: var(--s-3); }
.build-card.dark h2 { color: white; }
.build-card p { font-size: var(--fs-16); color: var(--text-secondary); line-height: 1.55; margin-bottom: var(--s-5); max-width: 460px; }
.build-card.dark p { color: rgba(255,255,255,0.7); }

.build-card-steps {
  display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6);
}
.build-card-steps .step {
  padding: 6px 12px; border-radius: var(--r-full);
  background: var(--bg-soft); border: 1px solid var(--border);
  font-size: var(--fs-12); font-weight: 600; color: var(--text-secondary);
  display: inline-flex; align-items: center; gap: 6px;
}
.build-card.dark .build-card-steps .step {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85);
}
.build-card-steps .step .num {
  width: 16px; height: 16px; border-radius: var(--r-full);
  background: var(--text-primary); color: white;
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 9px; font-weight: 700;
}
.build-card.dark .build-card-steps .step .num { background: var(--accent); }

.build-card-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: var(--s-4); flex-wrap: wrap; }
.build-card-footer .meta { font-size: var(--fs-13); color: var(--text-tertiary); }
.build-card.dark .build-card-footer .meta { color: rgba(255,255,255,0.5); }

.build-card-visual {
  position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px;
  opacity: 0.15;
  pointer-events: none;
}
.build-card.dark .build-card-visual { opacity: 0.3; }
.build-card-visual svg { width: 100%; height: 100%; animation: spin 40s linear infinite; }

.build-mini-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4);
}
@media (max-width: 920px) { .build-mini-grid { grid-template-columns: 1fr; } }
.build-mini-card {
  padding: var(--s-5);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  transition: transform var(--dur-mid) var(--ease-spring), border-color var(--dur-mid) var(--ease-out);
}
.build-mini-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.build-mini-card .icon-wrap {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--accent-soft); color: var(--accent-deep);
  display: grid; place-items: center; flex-shrink: 0;
}
.build-mini-card .body { flex: 1; }
.build-mini-card h4 { font-size: var(--fs-16); margin-bottom: 4px; }
.build-mini-card p { font-size: var(--fs-13); color: var(--text-secondary); line-height: 1.4; }
.build-mini-card .arrow {
  width: 32px; height: 32px; border-radius: var(--r-full);
  background: var(--bg-soft); display: grid; place-items: center;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-mid) var(--ease-spring);
  color: var(--text-secondary);
}
.build-mini-card:hover .arrow { background: var(--text-primary); color: white; transform: rotate(-45deg); }

/* =========================================================
   CONFIGURATOR — shell
   ========================================================= */
.configurator-page {
  padding-top: calc(var(--header-h) + var(--s-3));
  padding-bottom: var(--s-9);
}

.configurator-stepbar {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(250, 250, 247, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  padding: var(--s-4) 0;
  margin-bottom: var(--s-6);
}
.configurator-stepbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
}
.config-stepper {
  display: flex; align-items: center; gap: var(--s-3); flex: 1; flex-wrap: wrap;
}
.config-step {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 6px 12px 6px 6px; border-radius: var(--r-full);
  background: var(--bg-soft); border: 1px solid var(--border);
  font-size: var(--fs-13); font-weight: 600; color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.config-step .num {
  width: 22px; height: 22px; border-radius: var(--r-full);
  background: var(--bg-elevated); color: var(--text-tertiary); border: 1px solid var(--border);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  transition: all var(--dur-fast) var(--ease-out);
}
.config-step:hover { color: var(--text-primary); border-color: var(--border-strong); }
.config-step.is-active {
  background: var(--text-primary); color: white; border-color: var(--text-primary);
}
.config-step.is-active .num { background: var(--accent); color: white; border-color: var(--accent); }
.config-step.is-complete .num { background: var(--success); color: white; border-color: var(--success); }
.config-step.is-complete .num::after { content: ''; display: none; }
.config-step.is-disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.config-step .arrow-sep { color: var(--text-tertiary); margin-left: var(--s-1); }

.config-price-pill {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 16px; border-radius: var(--r-full);
  background: var(--text-primary); color: white;
  font-family: var(--font-mono); font-weight: 700;
  flex-shrink: 0;
}
.config-price-pill .label { font-size: var(--fs-12); color: rgba(255,255,255,0.6); font-weight: 500; font-family: var(--font-sans); }
.config-price-pill .amount { font-size: var(--fs-16); }
.config-price-pill .delta { font-size: var(--fs-12); color: var(--accent-soft); margin-left: 4px; }

/* Layout: preview left, options right */
.configurator-layout {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--s-7); align-items: start;
}
@media (max-width: 980px) { .configurator-layout { grid-template-columns: 1fr; } }

.config-preview {
  position: sticky; top: calc(var(--header-h) + 80px);
  background: #FFFFFF;
  border-radius: var(--r-2xl); border: 1px solid var(--border);
  padding: var(--s-6);
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  overflow: hidden;
}
.config-preview::after {
  /* Soft inner-ambient — gives depth without fighting the photo */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 110%, rgba(10,10,15,0.06), transparent 55%);
  border-radius: inherit;
}
@media (max-width: 980px) {
  .config-preview { position: relative; top: auto; aspect-ratio: 4 / 3; }
}
.config-preview-inner {
  position: relative; width: 100%; height: 100%;
  display: grid; place-items: center;
}
.config-preview-grid { display: none; }
.config-preview-spec-overlay {
  position: absolute; bottom: var(--s-4); left: var(--s-4); right: var(--s-4);
  background: #FFFFFF;
  padding: var(--s-3) var(--s-4); border-radius: var(--r-md);
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  font-size: var(--fs-12);
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(10,10,15,0.06);
  z-index: 10;
}
.config-preview-spec-overlay .pair { display: flex; align-items: center; gap: 6px; }
.config-preview-spec-overlay .pair .label { color: var(--text-tertiary); font-weight: 500; }
.config-preview-spec-overlay .pair .value { color: var(--text-primary); font-weight: 700; font-family: var(--font-mono); display: inline-flex; align-items: center; gap: 6px; }
.finish-chip {
  display: inline-block; width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(10,10,15,0.18);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.finish-chip-custom {
  background: conic-gradient(from 0deg, #FF4719, #FFB347, #6FA3E5, #5AC79D, #FF4719);
}

/* SVG inside preview animates */
.config-preview-disc {
  width: 100%; height: 100%;
  filter: drop-shadow(0 24px 48px rgba(10,10,15,0.18));
  animation: spin 30s linear infinite;
}

/* Photo-based live preview (used by wheel + brake configurators) */
.config-preview-img {
  width: 92%;
  /* Reserve bottom space for the spec strip so the photo doesn't run
     under it (matters for the brake configurator, where the disc fills
     vertical space all the way to the bottom edge). */
  max-height: calc(100% - 80px);
  object-fit: contain;
  transition: filter var(--dur-mid) var(--ease-out);
  position: relative; z-index: 1;
}

/* No finish-color CSS filter — the wheel photo stays at its natural finish.
   The chosen finish is communicated by the swatch chip in the spec strip
   and by the selected swatch state in the finish picker. */

/* Step 3 style-grid thumbnails — use real wheel photos */
.option-card.style-card { padding: var(--s-3); }
.style-card-img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: contain;
  display: block;
  transition: transform var(--dur-mid) var(--ease-out);
}
.option-card.style-card:hover .style-card-img { transform: scale(1.04); }

/* Brake kit step-1 tile thumbnails */
.option-card.kit-tile .icon-row { gap: var(--s-3); align-items: center; }
.kit-tile-thumb {
  width: 64px; height: 64px; object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: #FFFFFF;
}

/* Caliper color swap */
.preview-caliper-fill { transition: fill var(--dur-mid) var(--ease-out); }

/* =========================================================
   CONFIGURATOR — options panel
   ========================================================= */
.config-options {
  min-height: 480px;
}
.config-step-panel { display: none; }
.config-step-panel.is-active { display: block; animation: panelIn 400ms var(--ease-out); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.config-step-header { margin-bottom: var(--s-5); }
.config-step-header .step-eyebrow {
  font-size: var(--fs-12); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-tertiary); margin-bottom: var(--s-2);
}
.config-step-header h2 { font-size: clamp(1.5rem, 2.2vw, var(--fs-32)); letter-spacing: -0.025em; margin-bottom: var(--s-2); }
.config-step-header p { color: var(--text-secondary); font-size: var(--fs-15); }

/* Option cards */
.option-grid { display: grid; gap: var(--s-3); }
.option-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.option-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.option-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 540px) {
  .option-grid.cols-3, .option-grid.cols-4 { grid-template-columns: 1fr 1fr; }
}

.option-card {
  position: relative;
  padding: var(--s-5);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  text-align: left;
  width: 100%;
  display: flex; flex-direction: column; gap: var(--s-2);
}
.option-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.option-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow-md);
}
.option-card.is-disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.option-card .check {
  position: absolute; top: var(--s-3); right: var(--s-3);
  width: 22px; height: 22px; border-radius: var(--r-full);
  background: var(--bg-soft); border: 1px solid var(--border);
  display: grid; place-items: center;
  opacity: 0; transform: scale(0.7);
  transition: all var(--dur-mid) var(--ease-spring);
}
.option-card.is-selected .check {
  opacity: 1; transform: scale(1);
  background: var(--accent); border-color: var(--accent); color: white;
}
.option-card .icon-row { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-2); }
.option-card .icon-row svg { width: 36px; height: 36px; flex-shrink: 0; }
.option-card .label-row { font-size: var(--fs-15); font-weight: 600; color: var(--text-primary); letter-spacing: -0.01em; }
.option-card .meta-row { font-size: var(--fs-13); color: var(--text-secondary); }
.option-card .price-row {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono); font-size: var(--fs-12);
  font-weight: 700; color: var(--text-primary);
  margin-top: auto;
}
.option-card .price-row.delta-up { color: var(--accent-deep); }
.option-card .price-row.included { color: var(--success); }

/* Color swatches */
.color-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3);
}
@media (max-width: 540px) { .color-grid { grid-template-columns: repeat(3, 1fr); } }
.color-swatch {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  text-align: center;
}
.color-swatch:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.color-swatch.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow-md);
}
.color-swatch .swatch-circle {
  width: 100%; aspect-ratio: 1 / 1; border-radius: var(--r-md);
  position: relative; overflow: hidden; margin-bottom: var(--s-2);
  border: 1px solid rgba(10,10,15,0.08);
}
.color-swatch .name { font-size: var(--fs-12); font-weight: 600; color: var(--text-primary); }
.color-swatch.is-custom .swatch-circle { background: conic-gradient(from 0deg, #FF4719, #FFB347, #6FA3E5, #5AC79D, #FF4719); }
.color-swatch .check {
  position: absolute; top: 6px; right: 6px;
  width: 20px; height: 20px; border-radius: var(--r-full);
  background: var(--accent); color: white;
  display: grid; place-items: center;
  opacity: 0; transform: scale(0.7);
  transition: all var(--dur-mid) var(--ease-spring);
  z-index: 1;
}
.color-swatch.is-selected .check { opacity: 1; transform: scale(1); }

/* Brand tabs */
.brand-tabs {
  display: flex; gap: var(--s-1); padding: 4px;
  background: var(--bg-soft); border-radius: var(--r-full);
  margin-bottom: var(--s-4);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.brand-tab {
  padding: 8px 16px; border-radius: var(--r-full);
  font-size: var(--fs-13); font-weight: 600; color: var(--text-secondary);
  cursor: pointer; transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.brand-tab:hover { color: var(--text-primary); }
.brand-tab.is-active { background: var(--bg-elevated); color: var(--text-primary); box-shadow: var(--shadow-sm); }

/* Slider for offset */
.slider-row {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s-5);
  margin-bottom: var(--s-3);
}
.slider-row .slider-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: var(--s-3);
}
.slider-row .slider-head .label { font-size: var(--fs-14); font-weight: 600; color: var(--text-primary); }
.slider-row .slider-head .value { font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-16); color: var(--text-primary); }
.slider-row input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 4px;
  background: var(--border-strong); outline: none;
}
.slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 2px solid white;
  box-shadow: 0 1px 4px rgba(10,10,15,0.2);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-spring);
}
.slider-row input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
.slider-row input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 2px solid white;
  cursor: pointer;
}

/* Step navigation buttons */
.config-step-actions {
  display: flex; justify-content: space-between; gap: var(--s-3);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border);
}
.config-step-actions .left { display: flex; gap: var(--s-2); }
.config-step-actions .right { display: flex; gap: var(--s-2); }

/* Included strip */
.included-strip {
  display: flex; gap: var(--s-2); flex-wrap: wrap;
  padding: var(--s-3) var(--s-4);
  background: linear-gradient(135deg, rgba(255,71,25,0.06), rgba(255,71,25,0.02));
  border: 1px solid rgba(255,71,25,0.16);
  border-radius: var(--r-lg);
  margin-bottom: var(--s-5);
}
.included-strip .label {
  font-size: var(--fs-12); font-weight: 700; color: var(--accent-deep);
  text-transform: uppercase; letter-spacing: 0.08em;
  display: inline-flex; align-items: center; gap: 6px;
}
.included-strip .item {
  font-size: var(--fs-13); color: var(--text-secondary);
  display: inline-flex; align-items: center; gap: 4px;
}
.included-strip .item::before {
  content: '✓'; color: var(--success); font-weight: 700;
}

/* Review summary */
.review-summary {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: var(--s-5);
}
.review-summary-row {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.review-summary-row:last-child { border-bottom: none; }
.review-summary-row.total {
  background: var(--bg-soft);
  font-weight: 700;
}
.review-summary-row .label { font-size: var(--fs-13); color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.review-summary-row .value { font-size: var(--fs-15); color: var(--text-primary); display: flex; align-items: center; gap: var(--s-2); }
.review-summary-row .value .swatch-mini { width: 16px; height: 16px; border-radius: 999px; border: 1px solid rgba(10,10,15,0.1); }
.review-summary-row.total .label { font-size: var(--fs-14); color: var(--text-primary); }
.review-summary-row.total .value { font-family: var(--font-mono); font-size: var(--fs-24); font-weight: 800; letter-spacing: -0.02em; }

.fitment-banner {
  padding: var(--s-3) var(--s-4); border-radius: var(--r-md);
  background: rgba(14, 165, 114, 0.08);
  border: 1px solid rgba(14, 165, 114, 0.2);
  color: var(--success); font-size: var(--fs-13); font-weight: 600;
  display: flex; align-items: center; gap: var(--s-2);
  margin-bottom: var(--s-5);
}
.fitment-banner.warn {
  background: rgba(232, 177, 28, 0.08); border-color: rgba(232, 177, 28, 0.3); color: #8B5E0E;
}

.review-cta-row {
  display: flex; gap: var(--s-3); flex-wrap: wrap;
}

/* Toast */
.toast {
  position: fixed; bottom: var(--s-5); left: 50%; transform: translateX(-50%) translateY(120%);
  z-index: 200;
  padding: 14px 20px; border-radius: var(--r-full);
  background: var(--text-primary); color: white;
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-14); font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: transform 400ms var(--ease-spring);
}
.toast.is-show { transform: translateX(-50%) translateY(0); }
.toast .check { color: var(--success); }
.toast.is-accent { background: var(--accent); }

/* Compare table */
.compare-table {
  display: grid; grid-template-columns: 1fr repeat(3, 1fr); gap: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
@media (max-width: 920px) { .compare-table { grid-template-columns: 1fr; } }
.compare-cell {
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: var(--fs-14);
}
.compare-cell:last-child { border-right: none; }
.compare-cell.head {
  background: var(--bg-soft);
  font-weight: 700; color: var(--text-primary);
}
.compare-cell.head .price { display: block; font-family: var(--font-mono); font-size: var(--fs-20); margin-top: 4px; }
.compare-cell .row-label { color: var(--text-tertiary); font-size: var(--fs-12); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.compare-cell .row-value { font-weight: 500; color: var(--text-primary); margin-top: 2px; }
.compare-cell.label-cell { background: var(--bg-soft); }
.compare-cell .yes { color: var(--success); font-weight: 700; }
.compare-cell .no { color: var(--text-tertiary); }

/* Saved builds */
.saved-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
}
@media (max-width: 920px) { .saved-grid { grid-template-columns: 1fr; } }
.saved-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease-spring), border-color var(--dur-mid) var(--ease-out);
}
.saved-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.saved-card-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #F4F2EC 0%, #E8E4DA 100%);
  display: grid; place-items: center; position: relative;
}
.saved-card-media svg { width: 70%; height: 70%; }
.saved-card-meta {
  position: absolute; top: var(--s-3); right: var(--s-3);
  font-size: var(--fs-11); padding: 4px 10px; border-radius: var(--r-full);
  background: rgba(10,10,15,0.7); color: white;
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.saved-card-body { padding: var(--s-5); }
.saved-card-body h3 { font-size: var(--fs-16); margin-bottom: var(--s-2); }
.saved-card-body .recap { font-size: var(--fs-13); color: var(--text-secondary); margin-bottom: var(--s-4); line-height: 1.55; }
.saved-card-body .row { display: flex; justify-content: space-between; align-items: center; }
.saved-card-body .price { font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-15); color: var(--text-primary); }

.saved-empty {
  text-align: center; padding: var(--s-10) var(--s-5);
  background: var(--bg-elevated); border: 1px dashed var(--border-strong);
  border-radius: var(--r-2xl);
}
.saved-empty svg { width: 64px; height: 64px; color: var(--text-tertiary); margin: 0 auto var(--s-4); display: block; }
.saved-empty h3 { font-size: var(--fs-24); margin-bottom: var(--s-2); }
.saved-empty p { color: var(--text-secondary); max-width: 420px; margin: 0 auto var(--s-5); }

/* Compare row toggles */
.compare-pickers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-bottom: var(--s-4);
}
@media (max-width: 920px) { .compare-pickers { grid-template-columns: 1fr; } }
.compare-pickers select {
  padding: 10px 14px; border-radius: var(--r-md);
  background: var(--bg-elevated); border: 1px solid var(--border);
  font-size: var(--fs-14); color: var(--text-primary);
  font-weight: 500;
  cursor: pointer;
}

/* =========================================================
   GALLERY — filterable grid
   ========================================================= */
.filter-bar {
  display: flex; gap: var(--s-3); align-items: center;
  flex-wrap: wrap;
  padding: var(--s-4); margin-bottom: var(--s-6);
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-xl);
  position: sticky; top: calc(var(--header-h) + var(--s-3));
  z-index: 30;
}
.filter-bar .group { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.filter-bar .group-label {
  font-size: var(--fs-12); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-tertiary);
}
.filter-chip {
  padding: 6px 12px; border-radius: var(--r-full);
  background: var(--bg-soft); border: 1px solid transparent;
  font-size: var(--fs-13); font-weight: 600; color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  display: inline-flex; align-items: center; gap: 6px;
}
.filter-chip:hover { color: var(--text-primary); }
.filter-chip.is-active {
  background: var(--text-primary); color: white; border-color: var(--text-primary);
}
.filter-chip .swatch {
  width: 12px; height: 12px; border-radius: 999px; border: 1px solid rgba(10,10,15,0.1);
}
.filter-clear {
  padding: 6px 12px; border-radius: var(--r-full);
  background: transparent; color: var(--text-tertiary);
  font-size: var(--fs-13); font-weight: 500;
  cursor: pointer;
  margin-left: auto;
}
.filter-clear:hover { color: var(--text-primary); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
}
@media (max-width: 920px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--dur-mid) var(--ease-spring), border-color var(--dur-mid) var(--ease-out);
}
.gallery-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.gallery-card-media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.gallery-card-media svg { width: 100%; height: 100%; display: block; }
.gallery-card-tags {
  position: absolute; top: var(--s-3); left: var(--s-3); right: var(--s-3);
  display: flex; gap: 4px; flex-wrap: wrap;
}
.gallery-card-tags .tag {
  padding: 3px 8px; border-radius: var(--r-full);
  background: rgba(10,10,15,0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: white; font-size: 10px; font-weight: 700; letter-spacing: -0.005em;
}
.gallery-card-body {
  padding: var(--s-5);
}
.gallery-card-body .name { font-size: var(--fs-14); font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.gallery-card-body .meta { font-size: var(--fs-12); color: var(--text-tertiary); margin-bottom: var(--s-3); font-family: var(--font-mono); }
.gallery-card-body .row { display: flex; justify-content: space-between; align-items: center; }

.gallery-empty {
  text-align: center; padding: var(--s-9) var(--s-5);
  background: var(--bg-elevated); border: 1px dashed var(--border-strong);
  border-radius: var(--r-2xl);
  grid-column: 1 / -1;
}

/* Color lookbook */
.lookbook-section {
  margin-bottom: var(--s-9);
}
.lookbook-section-head {
  margin-bottom: var(--s-5);
}
.lookbook-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
}
@media (max-width: 920px) { .lookbook-grid { grid-template-columns: 1fr 1fr; } }
.lookbook-tile {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-elevated);
  transition: transform var(--dur-mid) var(--ease-spring), border-color var(--dur-mid) var(--ease-out);
  cursor: pointer; display: flex; flex-direction: column;
}
.lookbook-tile:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.lookbook-tile-media {
  aspect-ratio: 1 / 1; display: grid; place-items: center;
  background: linear-gradient(135deg, #F4F2EC, #E8E4DA);
  position: relative;
}
.lookbook-tile-media svg { width: 80%; height: 80%; }
.lookbook-tile-body {
  padding: var(--s-4); display: flex; justify-content: space-between; align-items: center; gap: var(--s-2);
}
.lookbook-tile-body .name { font-size: var(--fs-13); font-weight: 600; color: var(--text-primary); }
.lookbook-tile-body .swatch { width: 24px; height: 24px; border-radius: 999px; border: 1px solid rgba(10,10,15,0.1); }

/* Video tiles */
.video-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
}
@media (max-width: 920px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .video-grid { grid-template-columns: 1fr; } }
.video-tile {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(135deg, #2A2A30 0%, #0A0A0F 100%);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  transition: transform var(--dur-mid) var(--ease-spring);
}
.video-tile:hover { transform: scale(1.02); }
.video-tile::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(255,71,25,0.18), transparent 60%);
}
.video-tile .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.95);
  display: grid; place-items: center;
  color: var(--text-primary);
  transition: transform var(--dur-mid) var(--ease-spring), background var(--dur-mid) var(--ease-out);
}
.video-tile:hover .play { transform: translate(-50%, -50%) scale(1.1); background: var(--accent); color: white; }
.video-tile .meta {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--s-4);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
  color: white;
}
.video-tile .meta .title { font-size: var(--fs-14); font-weight: 700; }
.video-tile .meta .duration { font-size: var(--fs-12); color: rgba(255,255,255,0.7); font-family: var(--font-mono); }

/* =========================================================
   FORMS
   ========================================================= */
.form-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--s-7);
}
.form-row {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: var(--s-4);
}
.form-row.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-bottom: 0; }
@media (max-width: 540px) { .form-row.row-2 { grid-template-columns: 1fr; } }
.form-label {
  font-size: var(--fs-13); font-weight: 600; color: var(--text-primary);
  display: flex; justify-content: space-between; align-items: baseline;
}
.form-label .hint { font-size: var(--fs-12); color: var(--text-tertiary); font-weight: 500; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 14px; border-radius: var(--r-md);
  background: var(--bg-base); border: 1px solid var(--border);
  font-size: var(--fs-14); color: var(--text-primary);
  font-family: inherit;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--accent); background: var(--bg-elevated);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-help { font-size: var(--fs-12); color: var(--text-tertiary); margin-top: 4px; }
.form-checkbox {
  display: flex; align-items: start; gap: var(--s-2);
  font-size: var(--fs-14); color: var(--text-secondary);
  cursor: pointer;
}
.form-checkbox input { margin-top: 3px; accent-color: var(--accent); }
.form-actions { display: flex; gap: var(--s-2); justify-content: flex-end; margin-top: var(--s-5); flex-wrap: wrap; }

.form-fileupload {
  border: 2px dashed var(--border-strong); border-radius: var(--r-md);
  padding: var(--s-6); text-align: center;
  background: var(--bg-base);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.form-fileupload:hover { border-color: var(--accent); background: var(--accent-soft); }
.form-fileupload svg { color: var(--text-tertiary); margin: 0 auto var(--s-2); }
.form-fileupload .head { font-size: var(--fs-14); font-weight: 600; color: var(--text-primary); }
.form-fileupload .help { font-size: var(--fs-12); color: var(--text-tertiary); margin-top: 4px; }
.form-fileupload input[type="file"] { display: none; }

/* =========================================================
   SUPPORT — hub
   ========================================================= */
.support-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
}
@media (max-width: 920px) { .support-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .support-grid { grid-template-columns: 1fr; } }
.support-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  transition: transform var(--dur-mid) var(--ease-spring), border-color var(--dur-mid) var(--ease-out);
  display: flex; flex-direction: column;
}
.support-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.support-card .icon-wrap {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--accent-soft); color: var(--accent-deep);
  display: grid; place-items: center; margin-bottom: var(--s-4);
}
.support-card h3 { font-size: var(--fs-18); margin-bottom: var(--s-2); }
.support-card p { font-size: var(--fs-14); color: var(--text-secondary); margin-bottom: var(--s-4); flex: 1; line-height: 1.55; }
.support-card .arrow {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--fs-13); font-weight: 600; color: var(--text-primary);
  transition: gap var(--dur-mid) var(--ease-spring);
}
.support-card:hover .arrow { gap: 8px; color: var(--accent); }

.search-bar {
  position: relative; max-width: 540px; margin: 0 auto var(--s-7);
}
.search-bar input {
  width: 100%; padding: 16px 18px 16px 48px; border-radius: var(--r-full);
  background: var(--bg-elevated); border: 1px solid var(--border);
  font-size: var(--fs-15); color: var(--text-primary);
  transition: border-color var(--dur-fast) var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.search-bar input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.search-bar svg {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--text-tertiary);
}

/* =========================================================
   FAQ — full
   ========================================================= */
.faq-categories {
  display: flex; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-6);
}
.faq-category {
  padding: 8px 14px; border-radius: var(--r-full);
  background: var(--bg-elevated); border: 1px solid var(--border);
  font-size: var(--fs-13); font-weight: 600; color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.faq-category.is-active {
  background: var(--text-primary); color: white; border-color: var(--text-primary);
}
.faq-section {
  margin-bottom: var(--s-7);
}
.faq-section-title {
  font-size: var(--fs-12); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-tertiary); margin-bottom: var(--s-3);
}

/* =========================================================
   ARTICLE / CONTENT PAGES
   ========================================================= */
.article-layout {
  display: grid; grid-template-columns: 1fr 280px; gap: var(--s-8);
}
@media (max-width: 920px) { .article-layout { grid-template-columns: 1fr; } }

.article-body {
  font-size: var(--fs-16); line-height: 1.7; color: var(--text-secondary);
  max-width: 720px;
}
.article-body h2 {
  font-size: clamp(1.5rem, 2.5vw, var(--fs-32)); letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: var(--s-7) 0 var(--s-3);
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: var(--fs-20); letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: var(--s-5) 0 var(--s-2);
}
.article-body p { margin-bottom: var(--s-3); color: var(--text-secondary); }
.article-body p strong { color: var(--text-primary); }
.article-body ul, .article-body ol {
  margin: var(--s-3) 0 var(--s-4); padding-left: var(--s-5);
}
.article-body ul li, .article-body ol li {
  margin-bottom: var(--s-2);
  list-style: disc;
}
.article-body ol li { list-style: decimal; }
.article-body blockquote {
  margin: var(--s-5) 0;
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--text-primary);
}
.article-body code {
  font-family: var(--font-mono); font-size: 0.9em;
  background: var(--bg-soft); padding: 2px 6px; border-radius: var(--r-sm);
}
.article-body img { border-radius: var(--r-lg); margin: var(--s-4) 0; }

.article-aside {
  position: sticky; top: calc(var(--header-h) + var(--s-5));
  align-self: start;
}
.article-aside-card {
  padding: var(--s-5);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  margin-bottom: var(--s-4);
}
.article-aside-card h4 {
  font-size: var(--fs-12); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-tertiary); margin-bottom: var(--s-3);
}
.article-aside-card .toc-link {
  display: block; padding: 6px 0; font-size: var(--fs-13); color: var(--text-secondary);
  border-left: 2px solid transparent; padding-left: var(--s-3); margin-left: -2px;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.article-aside-card .toc-link:hover { color: var(--text-primary); border-color: var(--accent); }

.article-hero {
  padding: var(--s-3) 0 var(--s-7);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s-7);
}
.article-hero .eyebrow { margin-bottom: var(--s-3); }
.article-hero h1 {
  font-size: clamp(2rem, 4vw, var(--fs-56)); letter-spacing: -0.035em; line-height: 1.05;
  margin-bottom: var(--s-3); max-width: 900px;
}
.article-hero p {
  font-size: var(--fs-18); color: var(--text-secondary); max-width: 720px; line-height: 1.55;
}
.article-meta {
  display: flex; align-items: center; gap: var(--s-3);
  font-size: var(--fs-13); color: var(--text-tertiary);
  margin-top: var(--s-4);
}
.article-meta .dot { color: var(--border-strong); }

/* =========================================================
   ABOUT — Story timeline
   ========================================================= */
.story-timeline {
  position: relative;
  padding-left: var(--s-7);
  margin: var(--s-7) 0;
}
.story-timeline::before {
  content: ''; position: absolute; left: 18px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--accent), transparent);
}
.story-event {
  position: relative;
  margin-bottom: var(--s-7);
}
.story-event::before {
  content: ''; position: absolute; left: -38px; top: 4px;
  width: 14px; height: 14px; border-radius: 999px;
  background: var(--bg-base);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px var(--bg-base);
}
.story-event .year {
  font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-14);
  color: var(--accent); letter-spacing: -0.01em; margin-bottom: 4px;
}
.story-event h3 { font-size: var(--fs-20); margin-bottom: 4px; letter-spacing: -0.015em; color: var(--text-primary); }
.story-event p { color: var(--text-secondary); font-size: var(--fs-15); line-height: 1.55; }

/* About hero stats */
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
  padding: var(--s-6); border-radius: var(--r-2xl);
  background: var(--bg-elevated); border: 1px solid var(--border);
  margin-bottom: var(--s-7);
}
@media (max-width: 920px) { .about-stats { grid-template-columns: 1fr 1fr; } }
.about-stat {
  text-align: center;
}
.about-stat .num {
  font-size: var(--fs-32); font-weight: 800; letter-spacing: -0.03em;
  color: var(--text-primary); font-family: var(--font-mono);
}
.about-stat .label {
  font-size: var(--fs-12); color: var(--text-tertiary); margin-top: 4px;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}

/* QC checklist */
.qc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4);
}
@media (max-width: 540px) { .qc-grid { grid-template-columns: 1fr; } }
.qc-item {
  display: flex; align-items: start; gap: var(--s-3);
  padding: var(--s-4);
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.qc-item .check {
  width: 28px; height: 28px; border-radius: var(--r-full);
  background: var(--success); color: white;
  display: grid; place-items: center; flex-shrink: 0;
}
.qc-item h4 { font-size: var(--fs-15); margin-bottom: 2px; }
.qc-item p { font-size: var(--fs-13); color: var(--text-secondary); line-height: 1.5; }

/* =========================================================
   ACCOUNT
   ========================================================= */
.auth-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7);
  align-items: center;
  padding: var(--s-7) 0;
}
@media (max-width: 920px) { .auth-layout { grid-template-columns: 1fr; } }
.auth-side {
  position: relative;
  padding: var(--s-7);
  border-radius: var(--r-2xl);
  background: var(--bg-inverse); color: var(--text-inverse);
  overflow: hidden;
  min-height: 520px;
  display: flex; flex-direction: column; justify-content: end;
}
.auth-side::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(255,71,25,0.30) 0%, transparent 60%),
    radial-gradient(40% 40% at 0% 100%, rgba(255,138,61,0.18) 0%, transparent 60%);
  animation: drift 22s ease-in-out infinite alternate;
}
.auth-side .content { position: relative; z-index: 1; }
.auth-side h2 { color: white; font-size: clamp(1.75rem, 3vw, var(--fs-40)); margin-bottom: var(--s-3); letter-spacing: -0.03em; }
.auth-side p { color: rgba(255,255,255,0.7); margin-bottom: var(--s-5); }
.auth-side .perks { display: flex; flex-direction: column; gap: var(--s-2); }
.auth-side .perks .item {
  display: flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-14); color: rgba(255,255,255,0.85);
}
.auth-side .perks .check { color: var(--accent); }

.account-hub-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
}
@media (max-width: 920px) { .account-hub-grid { grid-template-columns: 1fr; } }

/* =========================================================
   DISTRIBUTOR — pitch
   ========================================================= */
.pitch-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--s-5);
}
@media (max-width: 920px) { .pitch-grid { grid-template-columns: 1fr; } }
.pitch-card {
  padding: var(--s-6);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.pitch-card .icon {
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: var(--bg-inverse); color: var(--accent);
  display: grid; place-items: center; margin-bottom: var(--s-4);
}
.pitch-card h3 { font-size: var(--fs-18); margin-bottom: var(--s-2); }
.pitch-card p { font-size: var(--fs-14); color: var(--text-secondary); line-height: 1.55; }

/* Press/blog list */
.list-stack { display: flex; flex-direction: column; gap: var(--s-3); }
.list-item {
  display: grid; grid-template-columns: 120px 1fr auto; gap: var(--s-5); align-items: center;
  padding: var(--s-5);
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-xl);
  transition: transform var(--dur-mid) var(--ease-spring), border-color var(--dur-mid) var(--ease-out);
}
@media (max-width: 540px) { .list-item { grid-template-columns: 1fr; } }
.list-item:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.list-item .date { font-family: var(--font-mono); font-size: var(--fs-13); color: var(--text-tertiary); font-weight: 500; }
.list-item h3 { font-size: var(--fs-18); margin-bottom: 4px; letter-spacing: -0.015em; }
.list-item p { font-size: var(--fs-14); color: var(--text-secondary); line-height: 1.5; }
.list-item .arrow {
  width: 36px; height: 36px; border-radius: var(--r-full);
  background: var(--bg-soft); display: grid; place-items: center;
  color: var(--text-secondary);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-mid) var(--ease-spring);
}
.list-item:hover .arrow { background: var(--text-primary); color: white; transform: rotate(-45deg); }

/* =========================================================
   CART DRAWER
   ========================================================= */
.cart-drawer {
  position: fixed; inset: 0; z-index: 300;
  pointer-events: none;
}
.cart-drawer.is-open { pointer-events: auto; }

.cart-drawer-overlay {
  position: absolute; inset: 0;
  background: rgba(10, 10, 15, 0);
  transition: background 320ms var(--ease-out);
  cursor: pointer;
}
.cart-drawer.is-open .cart-drawer-overlay {
  background: rgba(10, 10, 15, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.cart-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 460px;
  background: var(--bg-base);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 420ms var(--ease-out);
  box-shadow: -32px 0 80px rgba(10,10,15,0.18);
}
.cart-drawer.is-open .cart-drawer-panel { transform: translateX(0); }

.cart-drawer-head {
  display: flex; justify-content: space-between; align-items: start;
  padding: var(--s-5) var(--s-5) var(--s-4);
  border-bottom: 1px solid var(--border);
}
.cart-drawer-eyebrow {
  font-size: var(--fs-12); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--accent);
}
.cart-drawer-title {
  font-size: var(--fs-24); letter-spacing: -0.02em; margin-top: 4px;
}
.cart-drawer-close {
  width: 36px; height: 36px; border-radius: var(--r-full);
  display: grid; place-items: center; color: var(--text-secondary);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.cart-drawer-close:hover { background: var(--bg-soft); color: var(--text-primary); }

.cart-drawer-body {
  flex: 1; overflow-y: auto; padding: var(--s-4) var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-3);
}

.cart-drawer-empty {
  flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: var(--s-9) var(--s-5); color: var(--text-tertiary);
  margin: auto;
}
.cart-drawer-empty svg { color: var(--text-tertiary); margin-bottom: var(--s-4); opacity: 0.6; }
.cart-drawer-empty h3 { font-size: var(--fs-18); color: var(--text-primary); margin-bottom: var(--s-2); }
.cart-drawer-empty p { font-size: var(--fs-14); color: var(--text-secondary); max-width: 320px; }

.cart-line {
  display: grid; grid-template-columns: 72px 1fr 28px; gap: var(--s-3);
  padding: var(--s-3); border-radius: var(--r-lg);
  background: var(--bg-elevated); border: 1px solid var(--border);
  align-items: start;
  animation: cartIn 320ms var(--ease-out);
}
@keyframes cartIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.cart-line-thumb {
  width: 72px; height: 72px; border-radius: var(--r-md); overflow: hidden;
  background: linear-gradient(135deg, #F4F2EC, #E8E4DA);
  display: grid; place-items: center;
}
.cart-line-thumb svg { width: 90%; height: 90%; }
.cart-line-body { min-width: 0; }
.cart-line-name {
  font-size: var(--fs-14); font-weight: 600; color: var(--text-primary);
  letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-line-desc {
  font-size: var(--fs-12); color: var(--text-tertiary); margin-top: 2px;
  font-family: var(--font-mono);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-line-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: var(--s-2);
}
.cart-line-qty {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-soft); border-radius: var(--r-full);
  padding: 2px;
}
.cart-line-qty .qty-btn {
  width: 22px; height: 22px; border-radius: var(--r-full);
  display: grid; place-items: center;
  background: transparent; color: var(--text-secondary);
  font-size: 14px; font-weight: 700; line-height: 1;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.cart-line-qty .qty-btn:hover { background: var(--bg-elevated); color: var(--text-primary); }
.cart-line-qty .qty {
  font-size: var(--fs-13); font-weight: 700; min-width: 16px; text-align: center;
  font-family: var(--font-mono);
}
.cart-line-price {
  font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-14); color: var(--text-primary);
}
.cart-line-remove {
  align-self: start;
  width: 28px; height: 28px; border-radius: var(--r-full);
  display: grid; place-items: center; color: var(--text-tertiary);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.cart-line-remove:hover { background: var(--accent-soft); color: var(--accent-deep); }

.cart-drawer-foot {
  padding: var(--s-5);
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.cart-drawer-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: var(--fs-15); font-weight: 700;
  margin-bottom: 4px;
}
.cart-drawer-row .amount {
  font-family: var(--font-mono); font-size: var(--fs-24); letter-spacing: -0.02em;
}
.cart-drawer-note {
  font-size: var(--fs-12); color: var(--text-tertiary); margin-bottom: var(--s-4);
}
.cart-drawer-checkout {
  width: 100%; justify-content: center;
  margin-bottom: var(--s-2);
}
.cart-drawer-checkout:disabled {
  opacity: 0.5; cursor: not-allowed;
}
.cart-drawer-clear {
  width: 100%; justify-content: center; color: var(--text-tertiary);
}

.cart-drawer-error {
  padding: 0 var(--s-5);
  font-size: var(--fs-13); color: #B12E0E; font-weight: 600;
  min-height: 0; opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out);
}
.cart-drawer-error.is-show { opacity: 1; padding-bottom: var(--s-3); }

.spinner {
  display: inline-block; width: 12px; height: 12px;
  border: 2px solid currentColor; border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* Cart count badge animation */
.cart-count.is-flash {
  animation: cartFlash 600ms var(--ease-spring);
}
@keyframes cartFlash {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); background: var(--accent); }
  100% { transform: scale(1); }
}

@media (max-width: 540px) {
  .cart-drawer-panel { max-width: 100%; }
  .cart-line { grid-template-columns: 56px 1fr 24px; }
  .cart-line-thumb { width: 56px; height: 56px; }
}

/* =========================================================
   POLISH LAYER — site-wide SaaS-level upgrades
   - Logo transparent + hover glow
   - Smooth scroll-reveal (no blur)
   - Card hover lifts + image hover zooms
   - Button shine on .btn-primary
   - Header morph on scroll
   - Page-enter fade
   - Accent surface tokens
   All accent color references use var(--accent) — no hardcoded hex.
   ========================================================= */

/* ---------- New surface tokens (additive, doesn't replace) ---------- */
:root {
  --surface-warm: #FFF8F4;
  --surface-elevated: #FFFFFF;
  --shadow-lift: 0 12px 36px rgba(10,10,15,0.08), 0 2px 6px rgba(10,10,15,0.04);
  --shadow-card: 0 1px 3px rgba(10,10,15,0.04);
  --ease-saas: cubic-bezier(.16, 1, .3, 1);
  --gradient-hero: linear-gradient(135deg, var(--surface-warm) 0%, var(--bg-base, #FAFAF7) 60%, #F4F2EC 100%);
}

/* ---------- Smooth scroll + page enter fade ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* Page-enter fade. CRITICAL: do NOT animate transform on <body>,
   it breaks position:fixed for every descendant (sticky CTA bars etc).
   Opacity-only is safe. */
body {
  animation: scpPageEnter 380ms var(--ease-saas) both;
}
@keyframes scpPageEnter {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- Refined reveal (drop the blur, smoother easing) ---------- */
.reveal {
  filter: none !important;
  transition:
    opacity 700ms var(--ease-saas),
    transform 700ms var(--ease-saas);
}
.reveal.is-in { filter: none !important; }
.reveal-stagger > * {
  transition:
    opacity 650ms var(--ease-saas),
    transform 650ms var(--ease-saas);
}
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: 560ms; }

/* ---------- Logo: polished white brand chip + hover glow ---------- */
/* The JPG has a baked-in white background — we lean into it as a deliberate
   "brand tile" (Stripe / Linear style). Soft shadow + tight corner radius. */
.logo-mark {
  background: #FFFFFF;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 52px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 280ms var(--ease-saas), box-shadow 280ms var(--ease-saas);
  box-shadow: 0 2px 6px rgba(10,10,15,0.10), 0 0 0 0.5px rgba(10,10,15,0.08);
}
.logo-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 280ms var(--ease-saas);
}
.logo:hover .logo-mark {
  transform: scale(1.05);
  box-shadow:
    0 0 0 3px var(--accent-glow),
    0 4px 14px rgba(10,10,15,0.12);
}
.logo:active .logo-mark { transform: scale(0.96); }
/* Footer logo: larger white tile on dark background — feels intentional */
.site-footer .logo-mark {
  width: 60px; height: 60px;
  flex: 0 0 60px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22), 0 0 0 0.5px rgba(255,255,255,0.08);
}

/* ---------- Card hover lift ---------- */
.card,
.kit-card,
.shop-tile,
.lookbook-tile,
.brand-section,
.product-card,
.support-card,
.style-tile {
  transition:
    transform 320ms var(--ease-saas),
    box-shadow 320ms var(--ease-saas),
    border-color 240ms ease;
  will-change: transform;
}
.card:hover,
.kit-card:hover,
.shop-tile:hover,
.lookbook-tile:hover,
.support-card:hover,
.style-tile:hover,
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--border-strong);
}

/* ---------- Image zoom in card media containers ---------- */
.kit-card-media,
.shop-tile-media,
.lookbook-tile-media,
.gallery-card-media {
  overflow: hidden;
}
.kit-card-media img,
.shop-tile-media img,
.lookbook-tile-media img,
.gallery-card-media img,
.style-tile img {
  transition: transform 600ms var(--ease-saas);
  will-change: transform;
}
.kit-card:hover .kit-card-media img,
.shop-tile:hover .shop-tile-media img,
.lookbook-tile:hover .lookbook-tile-media img,
.gallery-card:hover .gallery-card-media img,
.style-tile:hover img {
  transform: scale(1.06);
}

/* ---------- Button shine on primary CTAs ---------- */
.btn-primary,
.btn-accent {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before,
.btn-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 65%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 900ms var(--ease-saas);
  pointer-events: none;
  z-index: 1;
}
.btn-primary:hover::before,
.btn-accent:hover::before {
  transform: translateX(100%);
}
.btn-primary > *, .btn-accent > * { position: relative; z-index: 2; }

/* Glow ring on focus for primary buttons */
.btn-primary:focus-visible,
.btn-accent:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--accent-glow);
}

/* ---------- Header morph on scroll ---------- */
.site-header {
  transition:
    background 280ms var(--ease-saas),
    backdrop-filter 280ms var(--ease-saas),
    box-shadow 280ms var(--ease-saas);
}
.site-header.is-scrolled {
  background: rgba(250, 250, 247, 0.86);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(10, 10, 15, 0.05),
    0 8px 24px rgba(10, 10, 15, 0.04);
}
.site-header.is-scrolled .header-inner { padding-block: 10px; }
.site-header.is-scrolled .logo-mark {
  transform: scale(0.94);
  transition: transform 280ms var(--ease-saas);
}

/* ---------- Icon button hover refinements ---------- */
.icon-btn {
  transition: background 200ms var(--ease-saas), transform 200ms var(--ease-saas), color 200ms;
}
.icon-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-1px);
}
.icon-btn:active { transform: translateY(0) scale(0.94); }

/* ---------- Section eyebrow with spark mark ---------- */
.eyebrow-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-12);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}
.eyebrow-mark::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background-image: url('../images/logo.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 3px;
}

/* ---------- Magnetic CTA: existing JS sets transform — add easing fallback ---------- */
[data-magnetic] {
  transition: transform 200ms var(--ease-saas);
  will-change: transform;
}

/* ---------- Smoother nav link hover ---------- */
.main-nav a {
  position: relative;
  transition: color 220ms var(--ease-saas);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 240ms var(--ease-saas), left 240ms var(--ease-saas);
  border-radius: 2px;
}
.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: calc(100% - 16px);
  left: 8px;
}

/* ---------- Accessibility: respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Most-popular badge + featured kit card ---------- */
.kit-card { position: relative; }
.kit-card-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--accent);
  color: #FFF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 3;
  white-space: nowrap;
  box-shadow: 0 4px 14px var(--accent-glow), 0 0 0 3px var(--bg-base);
}
.kit-card--featured {
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), 0 18px 44px rgba(255, 71, 25, 0.10);
}
.kit-card--featured:hover {
  box-shadow: 0 0 0 3px var(--accent-glow), 0 22px 52px rgba(255, 71, 25, 0.14);
}

/* ---------- Founder block (About page + home page quote) ---------- */
@media (max-width: 640px) {
  .founder-block { grid-template-columns: 1fr !important; gap: 18px !important; text-align: center; }
  .founder-block img { margin: 0 auto; width: 140px !important; height: 140px !important; }
  .founder-quote { grid-template-columns: 1fr !important; gap: 18px !important; text-align: center; }
  .founder-quote img { margin: 0 auto; width: 110px !important; height: 110px !important; }
  .founder-quote blockquote { font-size: 18px !important; }
}

/* ---------- Manufacturing trust strip + callout responsive ---------- */
@media (max-width: 780px) {
  .container > div[class~="reveal-stagger"][style*="repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Wheels page callout */
  .shop > div[style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   DARK CINEMATIC HERO (v3 — single photo, text overlay)
   ONE photograph fills the hero. A left-side gradient veil
   darkens the photo where the text sits, so the eye reads
   the hero as a single image with copy overlaid — not as
   two adjacent panels. Tesla / Polestar / Porsche pattern.
   ========================================================= */
.hero-dark {
  /* Hero-scoped tokens */
  --hero-ink: #FAFAF7;
  --hero-ink-soft: rgba(250, 250, 247, 0.72);
  --hero-ink-mute: rgba(250, 250, 247, 0.50);
  --hero-line:  rgba(255, 255, 255, 0.10);
  /* Studio-matched dark — this is the dominant tone in the photo's walls */
  --hero-stage: #181820;
  background: var(--hero-stage);
  color: var(--hero-ink);
}

/* Hero bg: studio-matched dark + a warm orange production light from upper right */
.hero-dark .hero-bg {
  background:
    radial-gradient(70% 55% at 88% -5%,  rgba(255, 122, 50, 0.22) 0%, transparent 60%),
    radial-gradient(60% 60% at 0% 30%,   rgba(255, 71, 25, 0.08)  0%, transparent 65%),
    radial-gradient(90% 60% at 50% 105%, rgba(0, 0, 0, 0.55)       0%, transparent 70%),
    linear-gradient(180deg, #1C1C24 0%, #181820 50%, #131319 100%);
}
.hero-dark .hero-bg::before {
  background:
    radial-gradient(60% 40% at 88% 0%, rgba(255, 138, 61, 0.16) 0%, transparent 60%);
  filter: blur(40px);
}

/* HEADER on the home page — dissolve into the dark hero */
body.page-home .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
body.page-home .site-header:not(.is-scrolled) .main-nav a {
  color: rgba(250, 250, 247, 0.78);
}
body.page-home .site-header:not(.is-scrolled) .main-nav a:hover,
body.page-home .site-header:not(.is-scrolled) .main-nav a.is-active {
  color: var(--hero-ink);
  background: rgba(255, 255, 255, 0.06);
}
/* Wordmark on dark hero — handled below in the consolidated block */
body.page-home .site-header:not(.is-scrolled) .icon-btn {
  color: rgba(250, 250, 247, 0.85);
}
body.page-home .site-header:not(.is-scrolled) .icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--hero-ink);
}
body.page-home .site-header:not(.is-scrolled) .cart-count {
  background: var(--accent);
  color: #FFFFFF;
}
/* Logo on dark hero — white-tile JPG kept, but framed as a premium brand chip:
   rounded square, hairline white border, soft shadow. High contrast =
   maximally visible at this size. The white tile is INTENTIONAL. */
body.page-home .site-header:not(.is-scrolled) .logo-mark {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: #FFFFFF;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10),
    0 4px 14px rgba(0, 0, 0, 0.35);
  flex: 0 0 40px;
}
/* Wordmark on dark — same weight, single-color hierarchy via opacity only,
   so "Sparks" and "CustomParts" read as one cohesive logotype, not two
   different elements stuck together. */
body.page-home .site-header:not(.is-scrolled) .logo .brand-mark {
  color: #FAFAF7;
  font-weight: 700;
  letter-spacing: -0.01em;
}
body.page-home .site-header:not(.is-scrolled) .logo .brand-light {
  color: rgba(250, 250, 247, 0.55);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Grid overlay: invert lines to hairline white */
.hero-dark .hero-grid-overlay {
  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);
}

/* Bottom fade — hero dissolves into cream for the next section */
.hero-bottom-fade {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 140px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(250, 250, 247, 0) 0%, var(--bg-base) 100%);
}

/* Headline + body + eyebrow + stats — flip to light */
.hero-dark h1,
.hero-dark .h-display { color: var(--hero-ink); }
.hero-dark .body-lg { color: var(--hero-ink-soft); }
.hero-dark .gradient-text {
  background: linear-gradient(135deg, #FF8A3D 0%, #FF4719 55%, #FF8A3D 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Eyebrow chip on dark */
.hero-dark .chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.10);
  color: var(--hero-ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Stats row on dark */
.hero-dark .hero-stats {
  border-top-color: var(--hero-line);
}
.hero-dark .hero-stat .num { color: var(--hero-ink); }
.hero-dark .hero-stat .label { color: var(--hero-ink-mute); }

/* CTAs on dark — primary takes the brand orange, ghost is a hairline outline */
.hero-dark .btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 10px 24px -8px rgba(255, 71, 25, 0.45);
}
.hero-dark .btn-primary:hover {
  background: var(--accent-hover);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 16px 36px -8px rgba(255, 71, 25, 0.55);
  transform: translateY(-1px);
}
.hero-dark .btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--hero-ink);
  border-color: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-dark .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--hero-ink);
  transform: translateY(-1px);
}

/* Tertiary action — a quiet text link below the buttons */
.hero-tertiary {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--s-4);
  font-size: var(--fs-13); font-weight: 500;
  color: rgba(250, 250, 247, 0.55);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out), gap var(--dur-fast) var(--ease-out);
}
.hero-tertiary:hover {
  color: var(--hero-ink);
  gap: 10px;
}
.hero-tertiary svg { opacity: 0.7; transition: opacity var(--dur-fast) var(--ease-out); }
.hero-tertiary:hover svg { opacity: 1; }

/* Hero fills the entire viewport — Tesla / Polestar style cinematic hero. */
.hero-dark {
  padding-top: calc(var(--header-h) + var(--s-5));
  padding-bottom: var(--s-6);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-dark .container { width: 100%; }
.hero-dark .hero-inner {
  grid-template-columns: 1fr;
}
.hero-dark .hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}
.hero-dark .hero-visual { display: none; }
.hero-dark .h-display {
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-6);
}
.hero-dark .body-lg { max-width: 600px; margin-bottom: var(--s-6); }
.hero-dark .hero-eyebrow { margin-bottom: var(--s-6); }
.hero-dark .hero-category-row { margin-bottom: var(--s-4); }
.hero-dark .hero-ctas { margin-bottom: var(--s-4); }
.hero-dark .hero-tertiary { margin-top: var(--s-5); }
.hero-dark .hero-stats {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  gap: var(--s-6);
}
.hero-dark .hero-stat .num { font-size: var(--fs-32); }

/* Product category eyebrow row — "FORGED WHEELS · BIG BRAKE KITS"
   sits at the top, with the fitment chip on its own line just below. */
.hero-category-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.hero-dark .hero-eyebrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero-dark .hero-eyebrow .chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.10);
  color: var(--hero-ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-cat {
  color: rgba(250, 250, 247, 0.55);
}
.hero-cat--accent {
  background: linear-gradient(115deg, var(--accent) 0%, #FF8A3D 50%, #FFB347 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.hero-cat-sep {
  color: rgba(250, 250, 247, 0.30);
  font-size: 14px;
}


/* Photo fills the ENTIRE hero. Studio walls become the right side; the veil
   gradient is the ONLY thing that determines what's visible where. No hard
   photo-edge anywhere because the photo never ends — it fades via the veil. */
.hero-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 58%;        /* slide the photo so the front wheel + brake sit in the focal sweet spot */
  transform: scale(1.18);          /* push the car a touch closer — wheel + caliper become the focal point */
  transform-origin: 72% 62%;       /* zoom anchor near the front wheel */
  z-index: 0;
  pointer-events: none;
}

/* Veil = the entire left half is solid dark, fading smoothly across the
   middle into transparency. Same #1A1B1F as the studio walls. */
.hero-photo-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      #1A1B1F                 0%,
      #1A1B1F                 35%,
      rgba(26, 27, 31, 0.92) 45%,
      rgba(26, 27, 31, 0.72) 52%,
      rgba(26, 27, 31, 0.42) 60%,
      rgba(26, 27, 31, 0.18) 68%,
      rgba(26, 27, 31, 0)    78%),
    linear-gradient(180deg,
      rgba(21, 22, 26, 0.25) 0%,
      rgba(21, 22, 26, 0)    22%,
      rgba(21, 22, 26, 0)    75%,
      rgba(21, 22, 26, 0.55) 100%);
}

/* A subtle warm brand glow blooming from upper-right (above the veil) */
.hero-photo-bleed {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 92% -5%, rgba(255, 122, 50, 0.18) 0%, transparent 60%);
  mix-blend-mode: screen;
}

/* Film grain for cinematic atmosphere — SVG noise data URI, ~4% opacity */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* hero-bg = SOLID neutral dark, exactly matching the veil's leftmost color.
   No vertical gradient — eliminates any mismatch with the veil. */
.hero-dark .hero-bg {
  background: #1A1B1F;
  z-index: 0;
}
.hero-dark .hero-bg::before { display: none; }
.hero-dark .hero-grid-overlay { display: none; }

/* No bottom fade on the dark hero — the dark fills all the way down to
   the next section's hard edge. User explicitly wants the dark canvas
   unbroken. */
.hero-dark .hero-bottom-fade { display: none; }

@media (max-width: 920px) {
  .hero-dark { min-height: 0; }
  .hero-photo-img { object-position: 60% center; }
  .hero-photo-veil {
    background:
      linear-gradient(180deg,
        rgba(14, 14, 20, 0.40) 0%,
        rgba(14, 14, 20, 0.78) 50%,
        rgba(14, 14, 20, 0.92) 100%);
  }
  .hero-dark .hero-bottom-fade { height: 90px; }
}

