/* ===========================================================
   Cold Open — Design System
   Warm near-black, crimson accent (rationed), grain texture.
   Dark mode default, light mode via [data-theme] on <html>
   =========================================================== */

:root {
  /* Dark theme (default) */
  --bg: #08080a;
  --bg-elevated: #101012;
  --bg-card: #0c0c0e;
  --bg-card-hover: #141317;
  --border: rgba(245, 241, 234, 0.10);
  --border-strong: rgba(245, 241, 234, 0.18);
  --text: #f5f1ea;
  --text-muted: #a3a099;
  --text-faint: #726b62;

  --accent: #e0263f;
  --accent-hover: #ff3b56;
  --accent-bright: #ff5468;
  --accent-dim: #3a0e16;
  --accent-glow: rgba(224, 38, 63, 0.35);
  --accent-glow-soft: rgba(224, 38, 63, 0.16);
  --accent-contrast: #fdf6f2;
  --accent-text: #ff3b56;
  --accent-surface: #c0182f;

  --success: #7fd88f;
  --danger: #ff6b6b;

  --shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 60px rgba(224, 38, 63, 0.20);
  --price-glow: 0 0 20px var(--accent-glow-soft);
  --radius: 8px;
  --radius-lg: 14px;

  --grain-opacity: 0.04;
  --grain-blend: overlay;

  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --max-width: 1200px;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #faf8f5;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fbf3f2;
  --border: #e8e2d9;
  --border-strong: #d8d0c3;
  --text: #17140f;
  --text-muted: #55504a;
  --text-faint: #8a837a;

  --accent: #c0182f;
  --accent-hover: #96101f;
  --accent-bright: #d6203a;
  --accent-dim: #fbe4e6;
  --accent-glow: rgba(192, 24, 47, 0.14);
  --accent-glow-soft: rgba(192, 24, 47, 0.08);
  --accent-contrast: #fdf6f2;
  --accent-text: #c0182f;
  --accent-surface: #c0182f;

  --success: #1f8a56;
  --danger: #c8501f;

  --shadow: 0 8px 30px rgba(23, 20, 15, 0.08);
  --shadow-glow: 0 4px 20px rgba(192, 24, 47, 0.10);
  --price-glow: none;

  --grain-opacity: 0.02;
  --grain-blend: multiply;

  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #faf8f5;
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fbf3f2;
    --border: #e8e2d9;
    --border-strong: #d8d0c3;
    --text: #17140f;
    --text-muted: #55504a;
    --text-faint: #8a837a;
    --accent: #c0182f;
    --accent-hover: #96101f;
    --accent-bright: #d6203a;
    --accent-dim: #fbe4e6;
    --accent-glow: rgba(192, 24, 47, 0.14);
    --accent-glow-soft: rgba(192, 24, 47, 0.08);
    --accent-contrast: #fdf6f2;
    --accent-text: #c0182f;
    --accent-surface: #c0182f;
    --success: #1f8a56;
    --danger: #c8501f;
    --shadow: 0 8px 30px rgba(23, 20, 15, 0.08);
    --shadow-glow: 0 4px 20px rgba(192, 24, 47, 0.10);
    --price-glow: none;
    --grain-opacity: 0.02;
    --grain-blend: multiply;
    color-scheme: light;
  }
  :root:not([data-theme="dark"]) .hero::before { display: none; }
  :root:not([data-theme="dark"]) .signature-mark__line { filter: none; }
  :root:not([data-theme="dark"]) .waypoint-bottom::after,
  :root:not([data-theme="dark"]) .waypoint-top::before { box-shadow: none; }
}

* {
  box-sizing: border-box;
}

/* scroll-behavior: smooth was removed here — it fights with GSAP ScrollTrigger's
   real-time scroll tracking (a documented GSAP incompatibility): under rapid
   multi-tick scroll input, ScrollTrigger's progress froze at 0 for the whole
   gesture and only resolved after scrolling stopped, breaking the hero
   blueprint's scroll-to-unlock. No anchor-link navigation in this site
   depends on native smooth scrolling. */

body {
  margin: 0;
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Sitewide grain — one rule, zero markup, ties every page into one material */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  background-repeat: repeat;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Sitewide blueprint-grid — one rule, zero markup, faint schematic texture behind every page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    linear-gradient(var(--accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: blueprintGridDrift 40s linear infinite;
}

[data-theme="light"] body::after { opacity: 0.035; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) body::after { opacity: 0.035; }
}

@keyframes blueprintGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 42px 42px, 42px 42px; }
}

@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
}

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

/* ---------- Vibrant animated blob background ---------- */

.blob-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  mix-blend-mode: screen;
  will-change: transform;
}

[data-theme="light"] .blob { opacity: 0.22; mix-blend-mode: multiply; filter: blur(60px); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .blob { opacity: 0.22; mix-blend-mode: multiply; filter: blur(60px); }
}

.blob--a {
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  top: -14%; right: -8%;
  background: radial-gradient(circle, var(--accent-bright), transparent 68%);
  animation: blobDriftA 26s ease-in-out infinite;
}
.blob--b {
  width: 34vw; height: 34vw; max-width: 480px; max-height: 480px;
  bottom: -12%; left: -6%;
  background: radial-gradient(circle, #d68a2f, transparent 68%);
  animation: blobDriftB 32s ease-in-out infinite;
}
.blob--c {
  width: 26vw; height: 26vw; max-width: 380px; max-height: 380px;
  top: 30%; left: 38%;
  background: radial-gradient(circle, #6b3f8f, transparent 68%);
  animation: blobDriftC 22s ease-in-out infinite;
}

@keyframes blobDriftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6%, 8%) scale(1.12); }
}
@keyframes blobDriftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8%, -6%) scale(1.08); }
}
@keyframes blobDriftC {
  0%, 100% { transform: translate(0, 0) scale(0.9); }
  50% { transform: translate(-5%, -8%) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none !important; }
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-group .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 3D tilt ---------- */

.tilt {
  transform-style: preserve-3d;
  perspective: 900px;
}
.tilt-inner {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .tilt-inner { transition: none !important; transform: none !important; }
}

/* ---------- Parallax layers ---------- */

.parallax {
  will-change: transform;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--text-muted);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

section {
  padding: 72px 0;
  position: relative;
}

@media (max-width: 640px) {
  section { padding: 48px 0; }
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.nav.scrolled {
  box-shadow: 0 1px 0 var(--accent-glow-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  transition: transform 0.15s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-mark {
  flex-shrink: 0;
  color: var(--accent);
}

.logo-mark circle:last-child {
  fill: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.nav-links a:hover {
  transform: translateY(-2px);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.nav-toggle:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px;
    transform: translateY(-150%);
    transition: transform 0.25s ease;
    z-index: 99;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle {
    display: block;
  }
}

/* ---------- Theme toggle ---------- */

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.theme-toggle svg { display: block; }

.theme-toggle:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.theme-toggle:hover svg {
  stroke: var(--accent);
  transition: stroke 0.15s ease;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-surface);
  color: var(--accent-contrast);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  font-weight: 400;
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  opacity: 0.85;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn {
  position: relative;
}

.btn-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  animation: btnPulse 0.6s ease-out forwards;
}

@keyframes btnPulse {
  from { transform: scale(1); opacity: 0.6; }
  to { transform: scale(9); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-pulse { display: none; }
}

/* ---------- Eyebrow / section head ---------- */

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.eyebrow::before { content: "[ "; }
.eyebrow::after { content: " ]"; }

/* ---------- Corner ticks: small crop-mark decorations on key sections ---------- */

.corner-ticks { position: relative; }

.corner-ticks::before,
.corner-ticks::after,
.corner-ticks .container::before,
.corner-ticks .container::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--border-strong);
  opacity: 0.7;
  pointer-events: none;
}
.corner-ticks::before { top: 18px; left: 18px; border-right: none; border-bottom: none; }
.corner-ticks::after { top: 18px; right: 18px; border-left: none; border-bottom: none; }
.corner-ticks .container::before { bottom: 18px; left: 24px; top: auto; border-right: none; border-top: none; }
.corner-ticks .container::after { bottom: 18px; right: 24px; top: auto; left: auto; border-left: none; border-top: none; }

@media (max-width: 640px) {
  .corner-ticks::before, .corner-ticks::after,
  .corner-ticks .container::before, .corner-ticks .container::after { display: none; }
}

/* ---------- Dotted section divider ---------- */

.section-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 18px 0;
  color: var(--text-faint);
}
.section-dots span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-strong);
}
.section-dots svg {
  width: 15px;
  height: 15px;
  opacity: 0.6;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* ---------- Signature mark: the site's one recurring hairline motif ---------- */

.signature-mark {
  display: flex;
  justify-content: center;
  margin: 4px 0 20px;
}

.signature-mark svg {
  width: min(360px, 80vw);
  height: 8px;
  display: block;
}

.signature-mark--sm svg {
  width: min(220px, 70vw);
  height: 6px;
}

.signature-mark__line {
  stroke: var(--accent);
  stroke-width: 1;
  filter: drop-shadow(0 0 6px var(--accent));
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: markDraw 1.1s ease forwards 0.2s;
}

.signature-mark--sm .signature-mark__line {
  animation-duration: 0.8s;
}

@keyframes markDraw {
  to { stroke-dashoffset: 0; }
}

[data-theme="light"] .signature-mark__line {
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .signature-mark__line { animation: none; stroke-dashoffset: 0; }
}

@media (max-width: 560px) {
  .signature-mark--sm svg { width: min(160px, 70vw); }
}

/* ---------- Waypoint dots: exactly two per page ---------- */

.waypoint-bottom { position: relative; }
.waypoint-bottom::after {
  content: "";
  position: absolute; left: 50%; bottom: -2px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  box-shadow: 0 0 6px var(--accent-glow-soft);
}

.waypoint-top { position: relative; }
.waypoint-top::before {
  content: "";
  position: absolute; left: 50%; top: -2px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  box-shadow: 0 0 6px var(--accent-glow-soft);
}

[data-theme="light"] .waypoint-bottom::after,
[data-theme="light"] .waypoint-top::before {
  box-shadow: none;
}

/* ---------- Hero (homepage) — "Cold Open, Six Mark" ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.ghost-numeral {
  position: absolute;
  top: 50%;
  right: -2vw;
  z-index: 0;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(320px, 42vw, 780px);
  line-height: 1;
  color: var(--text);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .ghost-numeral { display: none; }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 40% at 62% 38%, var(--accent-glow), transparent 68%);
  mix-blend-mode: screen;
  animation: heroBloom 7s ease-in-out infinite;
}

@keyframes heroBloom {
  0%, 100% { opacity: 0.85; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1); }
}

[data-theme="light"] .hero::before {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; opacity: 1; transform: scale(1); }
}

.hero .eyebrow {
  color: var(--accent-text);
}

.hero h1 {
  font-weight: 900;
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  letter-spacing: -0.03em;
  max-width: 920px;
  margin: 0 auto 22px;
  color: var(--text);
}

.hero .subhead {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero .hero-blueprint {
  margin-bottom: 56px;
}

.hero .stat-row {
  margin-top: 0;
}

.credibility-line {
  font-size: 0.9rem;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.credibility-line .dot {
  margin: 0 10px;
  color: var(--text-faint);
}

/* ---------- Category strip ---------- */

.category-strip {
  display: flex;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.category-strip::-webkit-scrollbar { display: none; }

.category-strip__item {
  flex: 1;
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-left: 1px solid var(--border);
  color: var(--text-muted);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.category-strip__item:hover {
  transform: translateY(-2px);
}
.category-strip__item:first-child { border-left: none; }

.category-strip__item:hover {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  color: var(--text);
}

.category-strip__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

.category-strip__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  flex-grow: 1;
}

.category-strip__arrow {
  color: var(--text-faint);
  transition: transform 0.15s ease, color 0.15s ease;
}

.category-strip__item:hover .category-strip__arrow {
  color: var(--accent-text);
  transform: translateX(3px);
}

/* ---------- Shop by type (folder-tab grid) ---------- */

.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  perspective: 1400px;
}

@media (max-width: 900px) {
  .type-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .type-grid { grid-template-columns: 1fr; }
}

.type-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 24px 28px;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease, box-shadow 0.18s ease;
}

@media (prefers-reduced-motion: reduce) {
  .type-card:hover, .type-card--bold:hover { transform: none !important; }
}

.type-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 52px;
  height: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  transition: border-color 0.18s ease;
}

.type-card:hover {
  transform: translateY(-6px) rotateX(4deg) scale(1.015);
  border-color: var(--border-strong);
  box-shadow: inset 0 2px 0 var(--accent), 0 0 20px var(--accent-glow), var(--shadow);
}
.type-card:hover::before {
  border-color: var(--border-strong);
}

.type-card .thumb {
  margin: 0 auto 14px;
}

.type-card h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.type-card p {
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- Bold color-blocked promo cards ---------- */

.type-card--bold {
  text-align: left;
  padding: 28px 24px 26px;
  color: #fdf6f2;
  border: none;
  overflow: hidden;
}

.type-card--bold::before {
  background: inherit;
  filter: brightness(0.85);
  border: none;
}

.type-card--bold .type-card__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  opacity: 0.75;
  margin-bottom: 22px;
}

.type-card--bold .thumb {
  margin: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border-color: rgba(253, 246, 242, 0.35);
  color: #fdf6f2;
}

.type-card--bold h3 {
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

.type-card--bold p {
  color: rgba(253, 246, 242, 0.8);
  font-size: 0.85rem;
}

.type-card--bold:hover {
  transform: translateY(-6px) rotateX(4deg) scale(1.015);
  box-shadow: 0 0 0 1px rgba(253, 246, 242, 0.25), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.type-card--strats { background: #b3231f; }
.type-card--guides { background: #a8631f; }
.type-card--reports { background: #333a44; }
.type-card--coaching { background: #5a3752; }

/* ---------- Hero blueprint: click-to-crack unlock centerpiece ---------- */

.hero-blueprint {
  max-width: 420px;
  margin: 8px auto 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-blueprint__stage {
  position: relative;
  aspect-ratio: 741 / 558; /* matches images/site-blueprint.png's real dimensions so object-fit: cover never crops it */
  border-radius: 10px;
  overflow: hidden;
  background: #0c0c0e;
  border: 1px solid rgba(255, 84, 104, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 40px var(--accent-glow-soft);
  perspective: 700px;
  cursor: pointer;
}

.hero-blueprint__stage:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.hero-blueprint__img,
.hero-blueprint__stage canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: invert(1) sepia(0.9) saturate(6) hue-rotate(310deg) brightness(0.8) contrast(1.5) blur(10px);
  transition: filter 0.4s ease;
}

.hero-blueprint__lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 10, 0.35);
  color: #f5f1ea;
  transition: background 0.3s ease;
  pointer-events: none;
}

.hero-blueprint__lock-crack {
  opacity: 0;
  stroke: var(--accent-bright);
  stroke-width: 1.4;
  transition: opacity 0.2s ease;
}

.hero-blueprint__lock.is-cracked-1 .hero-blueprint__lock-crack--1,
.hero-blueprint__lock.is-cracked-2 .hero-blueprint__lock-crack--1,
.hero-blueprint__lock.is-shattering .hero-blueprint__lock-crack--1 {
  opacity: 1;
}

.hero-blueprint__lock.is-cracked-2 .hero-blueprint__lock-crack--2,
.hero-blueprint__lock.is-shattering .hero-blueprint__lock-crack--2 {
  opacity: 1;
}

@keyframes heroLockShake {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  20% { transform: translateX(-3px) rotate(-6deg); }
  40% { transform: translateX(3px) rotate(6deg); }
  60% { transform: translateX(-2px) rotate(-4deg); }
  80% { transform: translateX(2px) rotate(4deg); }
}

.hero-blueprint__lock.is-shaking svg {
  animation: heroLockShake 0.4s ease;
}

@keyframes heroLockShatter {
  0% { transform: scale(1) rotate(0deg); opacity: 1; }
  35% { transform: scale(1.25) rotate(-10deg); opacity: 1; }
  100% { transform: scale(0.5) rotate(28deg) translateY(36px); opacity: 0; }
}

.hero-blueprint__lock.is-shattering svg {
  animation: heroLockShatter 0.5s ease-in forwards;
}

.hero-blueprint__lock.is-shattering {
  background: rgba(8, 8, 10, 0);
}

.hero-blueprint__caption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

@media (prefers-reduced-motion: reduce) {
  .hero-blueprint__img,
  .hero-blueprint__stage canvas,
  .hero-blueprint__lock,
  .hero-blueprint__lock-crack {
    transition: none;
  }
  .hero-blueprint__lock.is-shaking svg,
  .hero-blueprint__lock.is-shattering svg {
    animation: none;
  }
  .hero-blueprint__lock.is-shattering {
    display: none;
  }
}

/* ---------- Stat row ---------- */

.stat-row {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  max-width: 720px;
  margin: 0 auto;
}

.stat-item {
  text-align: left;
}

.stat-item .stat-value {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-faint);
  max-width: 220px;
}

/* ---------- Numbered feature list ---------- */

.numbered-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .numbered-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .numbered-grid { grid-template-columns: 1fr; }
}

.numbered-item {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  transition: border-color 0.15s ease;
}

.numbered-item:hover {
  border-top-color: var(--accent);
}

.numbered-item .num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 14px;
  transition: color 0.15s ease;
}
.numbered-item .num::before { content: "[ "; }
.numbered-item .num::after { content: " ]"; }

.numbered-item:hover .num {
  color: var(--accent-text);
}

.numbered-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.numbered-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Product grid & cards ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  perspective: 1400px;
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform-style: preserve-3d;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-6px) rotateX(4deg) scale(1.015);
  border-color: var(--border-strong);
  box-shadow: inset 0 2px 0 var(--accent), 0 0 20px var(--accent-glow), var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
  .product-card:hover { transform: none; }
}

.card-chrome {
  margin: -28px -28px 20px;
  padding: 0 16px;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.chrome-dots {
  display: flex;
  gap: 6px;
}

.chrome-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
  opacity: 0.4;
}

.card-chrome .category-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: transparent;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.card-chrome .badge {
  position: static;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.thumb svg {
  width: 22px;
  height: 22px;
}

.product-card:hover .thumb {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
}

.badge.new {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.category-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: color-mix(in srgb, var(--text-faint) 12%, transparent);
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

.product-card h3 {
  font-size: 1.2rem;
  margin: 0;
}

.product-card .desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  flex-grow: 1;
}

.product-card .stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.product-card .stats span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 6px;
  background: color-mix(in srgb, var(--text-faint) 10%, transparent);
  padding: 3px 9px;
}

.product-card .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  font-size: 1.3rem;
  color: var(--text);
}

.card-cta {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ---------- Filters ---------- */

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .filter-group {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filter-group::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .select { width: 100%; }
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.chip.active {
  background: var(--accent-surface);
  border-color: var(--accent-surface);
  color: var(--accent-contrast);
}

.select {
  padding: 8px 32px 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--bg-card);
  color: var(--text);
  font-size: 0.85rem;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23726b62' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

[data-theme="light"] .select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%238a837a' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* ---------- Forms (shared focus treatment) ---------- */

input:focus,
textarea:focus,
select:focus,
.select:focus {
  outline: none;
  border-color: var(--accent);
  background-color: color-mix(in srgb, var(--accent-dim) 35%, var(--bg));
  box-shadow: 0 0 0 3px var(--accent-dim);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

/* ---------- Empty state ---------- */

.empty-state {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}

.empty-state .mark {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.empty-state .mark svg {
  width: 28px;
  height: 28px;
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.testimonial-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.testimonial-card .quote-mark {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--border-strong);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.testimonial-card p.quote {
  color: var(--text);
  font-size: 0.98rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-head);
  flex-shrink: 0;
}

.testimonial-author .name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}

.testimonial-author .rank {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}

/* ---------- Footer CTA ---------- */

.footer-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, var(--accent-dim), var(--bg-elevated) 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.footer-cta .container {
  position: relative;
  z-index: 2;
}

.footer-cta h2 {
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.footer-cta .subtext {
  max-width: 560px;
  margin: 0 auto 32px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 420px;
  margin: 40px auto 0;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-top: 10px;
}

/* ---------- Footer ---------- */

footer.site-footer {
  padding: 56px 0 0;
  color: var(--text-faint);
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-col .logo {
  display: inline-block;
  margin-bottom: 6px;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.footer-col__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.footer-col__body {
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.15s ease, transform 0.15s ease;
  width: fit-content;
}

.footer-col a:hover {
  transform: translateY(-2px);
}

.footer-col a:hover {
  color: var(--accent-text);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  margin-bottom: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
}

/* ---------- Page hero (sub-pages) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .page-hero { padding: 40px 0 32px; }
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.breadcrumb a {
  color: var(--text-faint);
  transition: color 0.15s ease;
}
.breadcrumb a:hover { color: var(--accent-text); }
.breadcrumb .sep { color: var(--text-faint); opacity: 0.5; }
.breadcrumb .current { color: var(--text-muted); }

/* ---------- Bracketed section head (Doron-style [LABEL] dividers) ---------- */

.bracket-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin: 2.4em 0 1.1em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.bracket-head:first-child { margin-top: 0; }
.bracket-head::before { content: "["; }
.bracket-head::after { content: "]"; flex: 1; text-align: right; opacity: 0.4; }

/* ---------- Feature rows (bordered list, not boxed cards) ---------- */

.feature-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-rows li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text);
}
.feature-rows li:last-child { border-bottom: none; }
.feature-rows li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---------- Meta panel (two-column attribution/info block) ---------- */

.meta-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
@media (max-width: 560px) {
  .meta-panel { grid-template-columns: 1fr; gap: 20px; }
}
.meta-panel__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.meta-panel__value {
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 6px;
}
.meta-panel__link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
.meta-panel__link:hover { color: var(--accent-text); }

/* ---------- Compact HUD readout strip (product hero) ---------- */

.hud-strip {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  margin: 20px 0 28px;
  overflow: hidden;
}
.hud-strip__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}
.hud-strip__bar span:first-child {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.hud-strip__bar-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}
.hud-strip__rows {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hud-strip__row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hud-strip__row-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  width: 76px;
  flex-shrink: 0;
}
.hud-strip__track {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
}
.hud-strip__fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  animation: hudFill 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}
@keyframes hudFill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .hud-strip__fill { animation: none; transform: scaleX(1); }
}

/* ---------- Before/after illustrative comparison slider ---------- */

.compare-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 24px 0;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
}
.compare-slider__side {
  position: absolute;
  inset: 0;
}
.compare-slider__before {
  background: linear-gradient(135deg, #1c1d21, #101012);
}
.compare-slider__after {
  background: linear-gradient(135deg, var(--accent-dim), #101012);
  clip-path: inset(0 0 0 50%);
}

.compare-slider__content {
  position: absolute;
  top: 50%;
  width: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  text-align: center;
}
.compare-slider__before .compare-slider__content { left: 0; }
.compare-slider__after .compare-slider__content { left: 50%; }
.compare-slider__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.compare-slider__stat {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--text);
}
.compare-slider__after .compare-slider__stat { color: var(--accent-bright); }
.compare-slider__note {
  font-size: 0.78rem;
  color: var(--text-faint);
  max-width: 220px;
}
.compare-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--text);
  transform: translateX(-50%);
  pointer-events: none;
}
.compare-slider__handle::after {
  content: "⇔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.compare-slider__caption {
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* ---------- Review card (stars, verified badge, reply) ---------- */

.review-stars {
  color: var(--accent-bright);
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.review-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--success);
  border: 1px solid color-mix(in srgb, var(--success) 40%, var(--border));
  border-radius: 999px;
  padding: 3px 10px;
}

.review-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
}

.review-reply {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 2px solid var(--border-strong);
  background: var(--bg-elevated);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.review-reply__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 6px;
}

.review-reply__body {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.review-source {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  margin: 14px 0 0;
}

/* ---------- Bundle collage promo card ---------- */

.bundle-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #4a2a6b, #2a1a3f);
  border: 1px solid var(--border-strong);
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  color: #fdf6f2;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}
.bundle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
@media (max-width: 700px) {
  .bundle-card { grid-template-columns: 1fr; text-align: center; }
}
.bundle-card__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(253, 246, 242, 0.6);
  margin-bottom: 10px;
}
.bundle-card h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.bundle-card p {
  color: rgba(253, 246, 242, 0.75);
  font-size: 0.9rem;
  margin-bottom: 18px;
  max-width: 420px;
}
.bundle-card__price {
  font-family: var(--font-mono);
  font-size: 1.1rem;
}
.bundle-card__price s {
  color: rgba(253, 246, 242, 0.4);
  margin-right: 8px;
}
.bundle-card__stack {
  position: relative;
  width: 140px;
  height: 100px;
  flex-shrink: 0;
}
.bundle-card__stack .chip-thumb {
  position: absolute;
  width: 64px;
  height: 80px;
  border-radius: 8px;
  background: rgba(253, 246, 242, 0.08);
  border: 1px solid rgba(253, 246, 242, 0.25);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.bundle-card:hover .chip-thumb { transform: translateY(-4px); }
.bundle-card__stack .chip-thumb:nth-child(1) { left: 0; top: 20px; transform: rotate(-10deg); z-index: 1; }
.bundle-card__stack .chip-thumb:nth-child(2) { left: 28px; top: 6px; transform: rotate(-2deg); z-index: 2; }
.bundle-card__stack .chip-thumb:nth-child(3) { left: 56px; top: 14px; transform: rotate(6deg); z-index: 3; }
.bundle-card__stack .chip-thumb:nth-child(4) { left: 78px; top: 30px; transform: rotate(13deg); z-index: 1; }
.bundle-card:hover .chip-thumb:nth-child(1) { transform: rotate(-10deg) translateY(-4px); }
.bundle-card:hover .chip-thumb:nth-child(2) { transform: rotate(-2deg) translateY(-6px); }
.bundle-card:hover .chip-thumb:nth-child(3) { transform: rotate(6deg) translateY(-4px); }
.bundle-card:hover .chip-thumb:nth-child(4) { transform: rotate(13deg) translateY(-6px); }

/* ---------- Product detail page ---------- */

.product-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}

.product-hero .container {
  position: relative;
  z-index: 2;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .product-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.product-hero .category-badge {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.product-hero h1 {
  font-weight: 900;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin-bottom: 12px;
}

.buy-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 100px;
}

@media (max-width: 900px) {
  .buy-box { position: static; top: auto; }
}

.buy-box .price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-size: 2.2rem;
  color: var(--accent);
  text-shadow: var(--price-glow);
  margin-bottom: 4px;
}

.buy-box .stats-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.buy-box .stats-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.buy-box .stats-list li::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background-color: var(--text);
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12l6 6L20 6"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12l6 6L20 6"/></svg>');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.reassurance {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 14px;
}

.content-block {
  max-width: 760px;
}

.content-block h2 {
  font-weight: 700;
  font-size: 1.4rem;
  margin-top: 2em;
}

.content-block h2:first-child {
  margin-top: 0;
}

.included-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.included-list li {
  border-bottom: 1px solid var(--border);
  padding: 13px 4px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: padding-left 0.15s ease;
}

.included-list li:last-child { border-bottom: none; }

.included-list li:hover {
  padding-left: 6px;
}

.included-list li::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-color: var(--accent);
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 3h9l5 5v13H6z"/><path d="M15 3v5h5"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 3h9l5 5v13H6z"/><path d="M15 3v5h5"/></svg>');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: transform 0.15s ease;
}

.faq-question:hover {
  transform: translateX(2px);
}

.faq-question .icon {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding-bottom: 20px;
  margin: 0;
}

/* ---------- About page ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

.avatar-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.avatar-mark {
  color: inherit;
}

.avatar-caption {
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--text-faint);
}

@media (max-width: 768px) {
  .avatar-photo { max-width: 220px; margin: 0 auto 8px; }
}

.credential-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  counter-reset: cred;
}

.credential-list li {
  counter-increment: cred;
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
}

.credential-list li:last-child {
  border-bottom: none;
}

.credential-list li::before {
  content: counter(cred, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .credential-list li { gap: 10px; font-size: 0.85rem; }
}

.callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
}

.callout-label {
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.callout-body {
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Contact ---------- */

.contact-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.contact-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow);
}

@media (max-width: 640px) {
  .contact-panel { padding: 32px 28px; }
  .form-group { margin-bottom: 16px; }
}
@media (max-width: 560px) {
  .contact-panel { padding: 24px 20px; }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
}

.contact-email-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--text-faint);
}

.js-contact-email {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.js-contact-email:hover {
  color: var(--accent-text);
  text-decoration-color: var(--accent-text);
}

#form-status {
  margin-top: 16px;
  font-size: 0.9rem;
}

#form-status.success { color: var(--success); }
#form-status.error { color: var(--danger); }

/* ---------- Success page ---------- */

.success-wrap {
  position: relative;
  text-align: center;
  padding: clamp(96px, 14vw, 148px) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.success-panel {
  max-width: 560px;
  margin: 0 auto;
}

.success-mark {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
}

.success-halo {
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--success) 18%, transparent), transparent 70%);
  opacity: 0;
  transform: scale(0.9);
  animation: successHaloIn 0.5s ease forwards;
}

.success-check-ring,
.success-check-path {
  stroke: var(--success);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.success-check-ring { animation: successDraw 0.4s ease-out forwards; }
.success-check-path { animation: successDraw 0.35s ease-out forwards 0.3s; }

@keyframes successDraw { to { stroke-dashoffset: 0; } }
@keyframes successHaloIn { to { opacity: 1; transform: scale(1); } }

.success-wrap h1 {
  font-weight: 900;
}

.success-copy {
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 32px;
}

@media (prefers-reduced-motion: reduce) {
  .success-check-ring, .success-check-path, .success-halo {
    animation: none; stroke-dashoffset: 0; opacity: 1; transform: none;
  }
}

@media (max-width: 640px) {
  .success-wrap { padding: clamp(72px, 12vw, 100px) 0; }
  .success-mark { transform: scale(0.85); }
}

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.hidden { display: none !important; }

/* ---------- Custom cursor + trail ---------- */

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 1.5px solid var(--accent-bright);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-100px, -100px) scale(1);
  transition: opacity 0.2s ease, transform 0.05s linear, width 0.15s ease, height 0.15s ease;
}

.custom-cursor.is-active {
  opacity: 1;
}

.custom-cursor.is-hovering {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  background: var(--accent-glow-soft);
}

.cursor-spark {
  position: fixed;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: var(--accent-bright);
  pointer-events: none;
  z-index: 9998;
  animation: cursorSparkFade 0.5s ease-out forwards;
}

@keyframes cursorSparkFade {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 0; transform: scale(0.2); }
}
