/* ──────────────────────────────────────────────────
   DVS Playbook — Design System v0
   Ink-black + cream paper + treasure gold + money green
   Chunky display: Bricolage Grotesque
   ────────────────────────────────────────────────── */

:root {
  /* Original — Ink Black + Cream Paper + Treasure Gold + Money Green */
  --ink: #0B0A08;
  --ink-2: #15130E;
  --ink-3: #1F1B14;
  --cream: #F5EAD3;
  --cream-2: #EDDFC0;
  --gold: #E6B340;
  --gold-hot: #FFD66B;
  --green: #1B9E5C;
  --green-deep: #0E6F3F;
  --steel: #8B7E5E;

  /* Type */
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Motion — cinematic cubic-beziers */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);

  /* Tinted shadow palettes */
  --shadow-ink: 6px 6px 0 var(--ink);
  --shadow-warm: 6px 6px 24px -8px rgba(11, 10, 8, 0.35);
  --shadow-diffuse: 0 20px 40px -15px rgba(11, 10, 8, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Money rain canvas ── */
#money-rain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

/* All content above the canvas */
.nav, section, .marquee, .footer { position: relative; z-index: 1; }

/* ──────────────────────────────────────────────────
   NAV
   ────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 8, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245, 234, 211, 0.08);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.brand-mark { color: var(--gold); font-size: 18px; }
.brand-word { color: var(--cream); }

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.nav-links a {
  color: rgba(245, 234, 211, 0.55);
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--gold); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav { padding: 14px 18px; }
}

/* ──────────────────────────────────────────────────
   BUTTONS
   ────────────────────────────────────────────────── */
/* Button-in-Button architecture (Section 4B of soft-skill) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 8px 10px 8px 22px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition:
    transform .35s var(--ease-spring),
    box-shadow .35s var(--ease-fluid),
    background .25s var(--ease);
  text-align: center;
  white-space: nowrap;
  will-change: transform;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-ink);
}
.btn-gold:hover {
  background: var(--gold-hot);
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 var(--ink);
}
.btn-gold:active { transform: translate(0, 0) scale(0.98); box-shadow: 3px 3px 0 var(--ink); }

.btn-cream {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-cream:hover {
  background: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn-cream:active { transform: scale(0.97); box-shadow: 2px 2px 0 var(--ink); }

.btn-dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 rgba(11, 10, 8, 0.25);
}
.btn-dark:hover {
  background: #000;
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(11, 10, 8, 0.25);
}
.btn-dark:active { transform: scale(0.98); }

.btn-pill {
  padding: 6px 8px 6px 16px;
  font-size: 13px;
}
.btn-lg {
  font-size: 17px;
  padding: 10px 12px 10px 26px;
}

/* Inner arrow circle — nested button-in-button */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
  margin-left: 4px;
  transition: transform .35s var(--ease-spring), background .25s var(--ease);
  flex-shrink: 0;
}
.btn-gold .btn-arrow { background: var(--ink); color: var(--gold); }
.btn-cream .btn-arrow { background: var(--ink); color: var(--cream); }
.btn-dark .btn-arrow { background: var(--cream); color: var(--ink); }
.btn-lg .btn-arrow { width: 36px; height: 36px; font-size: 15px; }
.btn-pill .btn-arrow { width: 26px; height: 26px; font-size: 12px; }

.btn:hover .btn-arrow {
  transform: translate(2px, -1px) scale(1.06);
}
.btn:active .btn-arrow { transform: scale(0.96); }

.btn-ghost {
  font-family: var(--body);
  font-weight: 500;
  font-size: 15px;
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: rgba(245, 234, 211, 0.3);
  text-underline-offset: 4px;
  transition: text-decoration-color .2s var(--ease);
}
.btn-ghost:hover { text-decoration-color: var(--gold); }

/* ──────────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 32px 80px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Hero still background — visible by default until video activates */
.hero-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
/* Video background slot — invisible until <source> is added + canplay fires */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 1;
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.hero-video[data-ready="true"] { opacity: 1; }
/* Scrim: subtle vignette to push focus left where the copy lives,
   strong fade-out at the bottom so the marquee meets the hero cleanly */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,10,8,0.65) 0%, rgba(11,10,8,0.35) 35%, rgba(11,10,8,0) 60%),
    linear-gradient(180deg, transparent 0%, transparent 75%, var(--ink) 100%);
}

.hero-inner {
  max-width: 1480px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  width: 100%;
}

/* Left-anchored hero — copy lives in the dark canvas to the left of the DVS image */
.hero-left .hero-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 28px;
  max-width: 720px;
  margin-left: 0;
}
.hero-left .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.hero-left .eyebrow,
.hero-left .hero-sub,
.hero-left .hero-proof {
  justify-content: flex-start;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.hero-left .hero-h1 .line { text-align: left; }
.hero-left .hero-sub { max-width: 600px; }
.hero-left .hero-cta-row { justify-content: flex-start; }
.hero-left .hero-capture { margin: 0 0 22px; max-width: 520px; width: 100%; }
.hero-left .hero-system { display: none; }

/* Force the hero-still image to sit at the right while copy sits at the left */
.hero-left .hero-still,
.hero-left .hero-video { object-position: right center; }

@media (max-width: 1080px) {
  .hero-left .hero-grid { max-width: 480px; }
  .hero-left .hero-still { object-position: 72% center; }
}

/* ── MOBILE HERO (tablet portrait and below) ── */
@media (max-width: 760px) {
  .hero {
    padding: 84px 22px 64px;
    min-height: 92dvh;
  }
  .hero-left .hero-grid {
    max-width: none;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .hero-left .hero-copy { align-items: center; }
  .hero-left .hero-h1 .line { text-align: center; white-space: normal; }
  .hero-left .eyebrow,
  .hero-left .hero-sub,
  .hero-left .hero-proof,
  .hero-left .hero-speed { text-align: center; justify-content: center; }
  .hero-left .hero-cta-row { justify-content: center; }
  .hero-left .hero-still,
  .hero-left .hero-video { opacity: 0.28; object-position: center center; }
  .hero-left .hero-scrim {
    background:
      linear-gradient(180deg, rgba(11,10,8,0.78) 0%, rgba(11,10,8,0.55) 40%, rgba(11,10,8,0.78) 80%, var(--ink) 100%);
  }
  .hero-h1 {
    font-size: clamp(42px, 11vw, 60px);
    line-height: 1.02;
    margin-bottom: 14px;
  }
  .hero-sub {
    font-size: clamp(16px, 4vw, 19px);
    line-height: 1.45;
    margin-bottom: 28px;
  }
  .hero-sub strong { display: block; margin-top: 6px; }
  .hero-left .hero-sub { max-width: 36ch; }
  .hero-left .hero-capture { margin: 0 0 14px; max-width: 100%; }
  .hero-speed {
    font-size: 11.5px;
    text-align: center;
    line-height: 1.4;
    margin-top: 10px;
  }
}

/* ── MOBILE HERO (phone portrait, ≤ 420px) ── */
@media (max-width: 420px) {
  .hero { padding: 76px 18px 56px; }
  .hero-h1 {
    font-size: clamp(38px, 10.5vw, 46px);
    letter-spacing: -0.035em;
  }
  .hero-sub { font-size: 15.5px; }
  .hero-left .hero-still,
  .hero-left .hero-video { opacity: 0.22; }
  .hero-capture { padding: 8px; }
  .hero-capture .hero-email { font-size: 16px; /* iOS no-zoom */ padding: 14px 14px; }
  .hero-capture .btn-lg { padding: 14px 18px; font-size: 14.5px; }
  .hero-speed { font-size: 11px; gap: 8px; }
  .hero-speed-dot { width: 6px; height: 6px; }
}

/* Legacy 2-col grid kept for non-centered fallback */
.hero-grid:not(.hero-centered .hero-grid) {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid:not(.hero-centered .hero-grid) { grid-template-columns: 1fr; gap: 36px; }
  .hero-system { order: -1; max-width: 320px; margin: 0 auto; }
}

.hero-system {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(10px 14px 0 rgba(11, 10, 8, 0.95)) drop-shadow(0 30px 60px rgba(0,0,0,0.4));
  transition: transform .6s var(--ease-spring);
}
.hero-system svg { width: 100%; max-width: 520px; height: auto; display: block; }
.hero-system:hover { transform: translateY(-6px) rotate(-1deg); }

.system-sticker {
  position: absolute;
  top: 0;
  right: -10px;
  width: 116px;
  filter: drop-shadow(4px 4px 0 rgba(11, 10, 8, 0.85));
  transform: rotate(14deg);
  animation: stickerWobble 5s ease-in-out infinite;
}
@keyframes stickerWobble {
  0%, 100% { transform: rotate(14deg) translateY(0); }
  50%      { transform: rotate(10deg) translateY(-6px); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2s infinite var(--ease);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}

.hero-h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  color: var(--cream);
}
.hero-h1 .line {
  display: block;
  white-space: nowrap;
}
.hero-h1 .line-marquee em {
  color: var(--gold);
  font-style: normal;
  background: linear-gradient(transparent 64%, rgba(230, 179, 64, 0.18) 64%);
  padding: 0 0.06em;
}
.hero-h1 .line-marquee {
  position: relative;
  display: block;
  font-style: italic;
}
.hero-centered .hero-h1 .line-marquee::after { display: none; }
.hero-h1 .line-marquee::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.04em;
  width: 0.4em;
  height: 0.08em;
  background: var(--gold);
}
@media (max-width: 980px) {
  .hero-h1 .line { white-space: normal; }
}
.hero-h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  margin-right: 0.18em;
}
.hero-h1 .word em {
  font-style: italic;
  color: var(--gold);
  font-family: 'Bricolage Grotesque', serif;
}

.hero-sub {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  max-width: 680px;
  color: rgba(245, 234, 211, 0.85);
  margin-bottom: 44px;
  font-weight: 400;
}
.hero-sub strong { color: var(--cream); font-weight: 600; }

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Hero inline email capture form */
.hero-capture {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: min(540px, 100%);
  margin: 0 auto 22px;
  padding: 8px;
  background: rgba(245, 234, 211, 0.06);
  border: 1px solid rgba(245, 234, 211, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 36px -16px rgba(0,0,0,0.65), inset 0 1px 0 rgba(245, 234, 211, 0.06);
}
.hero-capture .hero-email {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 18px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--cream);
  letter-spacing: -0.005em;
}
.hero-capture .hero-email::placeholder { color: rgba(245, 234, 211, 0.42); }
.hero-capture .btn { flex-shrink: 0; }

@media (max-width: 560px) {
  .hero-capture {
    flex-direction: column;
    border-radius: 18px;
    padding: 10px;
  }
  .hero-capture .hero-email {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(245, 234, 211, 0.12);
  }
  .hero-capture .btn { width: 100%; justify-content: center; }
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(245, 234, 211, 0.55);
}
.proof-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
}
.hero-secondary-cta {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(230,179,64,0.3);
  transition: border-color .2s var(--ease);
}
.hero-secondary-cta:hover { border-color: var(--gold); }

/* Speed-of-outcome reassurance under capture form */
.hero-speed {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(245, 234, 211, 0.7);
}
.hero-speed-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(230, 179, 64, 0.7);
  animation: speed-pulse 1.8s ease-in-out infinite;
}
@keyframes speed-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.25); }
}

/* Currently-building strip */
.hero-currently {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(245, 234, 211, 0.12);
  flex-wrap: wrap;
}
.hc-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 600;
}
.hc-list {
  font-family: var(--display);
  font-size: 14px;
  color: rgba(245, 234, 211, 0.78);
  letter-spacing: -0.005em;
}

/* ── Stickers ── */
.sticker {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(4px 4px 0 rgba(11, 10, 8, 0.9));
}
.sticker svg { width: 100%; height: auto; display: block; }

.sticker-1 { top: 14%; right: 8%; width: 88px; transform: rotate(-12deg); }
.sticker-2 { top: 56%; right: 18%; width: 112px; transform: rotate(8deg); }
.sticker-3 { top: 68%; left: 6%; width: 76px; transform: rotate(-18deg); }
.sticker-4 { top: 24%; left: 4%; width: 96px; transform: rotate(6deg); }

@media (max-width: 720px) {
  .sticker-1 { top: 4%; right: 4%; width: 60px; }
  .sticker-2 { display: none; }
  .sticker-3 { top: 86%; left: 2%; width: 56px; }
  .sticker-4 { display: none; }
  .hero { padding: 64px 20px 56px; min-height: auto; }
}

/* ──────────────────────────────────────────────────
   MARQUEE
   ────────────────────────────────────────────────── */
.marquee {
  background: var(--gold);
  border-block: 3px solid var(--ink);
  overflow: hidden;
  padding: 18px 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.marquee-track span { padding: 0 6px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ──────────────────────────────────────────────────
   SECTIONS (shared)
   ────────────────────────────────────────────────── */
.section { padding: 88px 32px; position: relative; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section.center { text-align: center; }
.section-inner.center { text-align: center; }

.section-cream { background: var(--cream); color: var(--ink); }
.section-dark  { background: var(--ink); color: var(--cream); }
.section-gold  { background: var(--gold); color: var(--ink); }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--gold);
}
.section-eyebrow.dark { color: var(--ink); }
.section-eyebrow.dark::before { background: var(--ink); }

.section-h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 5.6vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.section-h2 em {
  font-style: italic;
  color: var(--gold);
}
.section-h2.dark em { color: var(--green-deep); }

.gold-underline {
  background-image: linear-gradient(transparent 70%, var(--gold) 70%);
  background-size: 100% 100%;
}

/* Keep multi-word phrases together — prevent splits inside H2s */
.phrase { white-space: nowrap; }
@media (max-width: 720px) { .phrase { white-space: normal; } }

/* Section-level centered alignment override */
.section-centered .section-eyebrow,
.section-centered .section-h2,
.section-centered .section-lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  justify-content: center;
}
.section-centered .section-h2,
.section-centered .section-lead { display: block; }
.section-centered .section-eyebrow::before { display: none; }
.section-centered .faq-list { margin-left: auto; margin-right: auto; }
.section-centered .schematic { margin-left: auto; margin-right: auto; }
.section-centered .systems-footnote { margin-left: auto; margin-right: auto; text-align: center; max-width: 720px; }
.section-centered .compare-table { margin-left: auto; margin-right: auto; }

.section-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  max-width: 720px;
  line-height: 1.6;
  color: rgba(11, 10, 8, 0.7);
  margin-bottom: 56px;
}
.section-lead.dark { color: rgba(11, 10, 8, 0.78); }
.section-dark .section-lead { color: rgba(245, 234, 211, 0.7); }

@media (max-width: 720px) {
  .section { padding: 64px 20px; }
  .section-h2 { font-size: 40px; }
}

/* ── Pillars ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  background: var(--cream-2);
}
.pillar {
  background: var(--cream);
  padding: 32px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  position: relative;
}
.pillar:hover { background: #fff; }
.pillar-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--ink);
  opacity: 0.55;
  margin-bottom: 16px;
}
.pillar h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
}
.pillar p {
  font-size: 15px;
  color: rgba(11, 10, 8, 0.65);
  line-height: 1.55;
}

/* ──────────────────────────────────────────────────
   THE THREE CLASSES
   ────────────────────────────────────────────────── */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0 32px;
  text-align: left;
}
@media (max-width: 980px) { .classes-grid { grid-template-columns: 1fr; } }

.class-card {
  background: var(--ink-2);
  border: 1px solid rgba(245, 234, 211, 0.1);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.class-card:hover { transform: translateY(-4px); border-color: var(--gold); background: var(--ink-3); }
.class-card.featured {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.class-card.featured:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); border-color: var(--ink); }

.class-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  background: rgba(230, 179, 64, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.class-card.featured .class-num { background: var(--ink); color: var(--gold); }

.class-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--cream);
  line-height: 1.05;
}
.class-card.featured h3 { color: var(--ink); }

.class-line {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(245, 234, 211, 0.72);
}
.class-card.featured .class-line { color: rgba(11, 10, 8, 0.78); }

.class-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  border-top: 1px solid rgba(245, 234, 211, 0.08);
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(245, 234, 211, 0.7);
}
.class-card.featured .class-meta { border-top-color: rgba(11, 10, 8, 0.2); color: rgba(11, 10, 8, 0.78); }
.class-meta strong {
  display: inline-block;
  min-width: 90px;
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--gold);
}
.class-card.featured .class-meta strong { color: var(--ink); }

.class-eg {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.005em;
  color: var(--gold);
  border-top: 1px dashed rgba(245, 234, 211, 0.12);
  padding-top: 14px;
}
.class-card.featured .class-eg { color: var(--ink); border-top-color: rgba(11, 10, 8, 0.2); }

.classes-footnote {
  font-size: 16px;
  color: rgba(245, 234, 211, 0.78);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}
.classes-footnote strong { color: var(--gold); font-weight: 700; }

/* ──────────────────────────────────────────────────
   SYSTEMS (PORTFOLIO)
   ────────────────────────────────────────────────── */
/* Systems carousel — horizontal scroll-snap */
.carousel-wrap {
  position: relative;
  margin: 0 -32px 48px;
  padding: 0;
}
.system-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 360px);
  gap: 18px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 32px;
  scroll-padding-right: 32px;
  padding: 8px 32px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(230, 179, 64, 0.45) transparent;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  text-align: left;
}
.system-grid::-webkit-scrollbar { height: 6px; }
.system-grid::-webkit-scrollbar-track { background: rgba(245,234,211,0.04); border-radius: 3px; margin: 0 32px; }
.system-grid::-webkit-scrollbar-thumb { background: rgba(230, 179, 64, 0.55); border-radius: 3px; }
.system-grid::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.system-grid .system-card { scroll-snap-align: start; min-height: 100%; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .22s var(--ease-spring), box-shadow .22s var(--ease), background .15s var(--ease);
}
.carousel-btn:hover { background: var(--gold-hot); transform: translateY(calc(-50% - 2px)); box-shadow: 5px 5px 0 var(--ink); }
.carousel-btn:active { transform: translateY(-50%) scale(0.96); box-shadow: 1px 1px 0 var(--ink); }
.carousel-btn[disabled] { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.carousel-prev { left: 4px; }
.carousel-next { right: 4px; }

/* Fade edges of the carousel track */
.carousel-wrap::before,
.carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 24px;
  width: 60px;
  z-index: 3;
  pointer-events: none;
}
.carousel-wrap::before { left: 0; background: linear-gradient(90deg, var(--ink) 0%, transparent 100%); }
.carousel-wrap::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent 100%); }

@media (max-width: 720px) {
  .carousel-btn { display: none; }
  .system-grid { grid-auto-columns: minmax(280px, 86vw); padding: 8px 20px 20px; }
  .carousel-wrap { margin: 0 -20px 32px; }
  .carousel-wrap::before, .carousel-wrap::after { width: 24px; }
}
.system-card {
  background: var(--ink-2);
  border: 1px solid rgba(245, 234, 211, 0.1);
  border-radius: 14px;
  padding: 28px 26px;
  position: relative;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.system-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: var(--ink-3);
}
.system-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.tag-live  { background: rgba(27, 158, 92, 0.15); color: #4ade80; }
.tag-build { background: rgba(230, 179, 64, 0.13); color: var(--gold); }

.system-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.system-class {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(245, 234, 211, 0.55);
  background: rgba(245, 234, 211, 0.06);
  padding: 3px 8px;
  border-radius: 999px;
}
.system-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  color: var(--cream);
}
.system-line {
  font-size: 14px;
  color: rgba(245, 234, 211, 0.72);
  line-height: 1.55;
  margin-bottom: 18px;
}
.system-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(245, 234, 211, 0.45);
  border-top: 1px solid rgba(245, 234, 211, 0.08);
  padding-top: 14px;
}

.system-spec {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(245, 234, 211, 0.08);
}
.system-spec > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(245, 234, 211, 0.05);
  align-items: baseline;
}
.system-spec > div:last-child { border-bottom: none; }
.system-spec dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.system-spec dd {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(245, 234, 211, 0.78);
}

.proof-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(245, 234, 211, 0.08);
}
.proof-token {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(230, 179, 64, 0.08);
  border: 1px solid rgba(230, 179, 64, 0.18);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.system-why {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(245, 234, 211, 0.08);
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(245, 234, 211, 0.62);
}
.system-why::first-line { color: var(--gold); }
.systems-footnote {
  font-size: 17px;
  color: rgba(245, 234, 211, 0.78);
  max-width: 640px;
  line-height: 1.6;
}
.systems-footnote strong {
  color: var(--gold);
  font-weight: 600;
}

/* ──────────────────────────────────────────────────
   PLAYBOOK CAPTURE
   ────────────────────────────────────────────────── */
.playbook-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 60px;
  align-items: center;
}
@media (max-width: 880px) {
  .playbook-grid { grid-template-columns: 1fr; gap: 40px; }
  .playbook-visual { order: -1; }
}

.playbook-h2 { font-size: clamp(36px, 5vw, 64px); }
.playbook-bullets {
  list-style: none;
  margin-bottom: 32px;
}
.playbook-bullets li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  color: rgba(11, 10, 8, 0.8);
  margin-bottom: 12px;
  line-height: 1.55;
}
.playbook-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
}

.capture-form {
  display: flex;
  gap: 10px;
  max-width: 540px;
  margin-bottom: 14px;
}
.capture-form input {
  flex: 1;
  font-family: var(--body);
  font-size: 16px;
  padding: 16px 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
  transition: background .2s var(--ease);
}
.capture-form input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--gold); }
.capture-form input::placeholder { color: rgba(11, 10, 8, 0.4); }

@media (max-width: 600px) {
  .capture-form { flex-direction: column; }
}

.capture-fineprint {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(11, 10, 8, 0.55);
}

.playbook-visual { display: flex; justify-content: center; }
.playbook-cover-img {
  width: min(640px, 100%);
  height: auto;
  display: block;
  transform: rotate(-4deg);
  filter:
    drop-shadow(14px 14px 0 rgba(11, 10, 8, 0.9))
    drop-shadow(0 50px 100px rgba(0, 0, 0, 0.55));
  transition: transform .4s var(--ease-spring);
}
.playbook-cover-img:hover { transform: rotate(0) scale(1.04); }
.playbook-cover {
  width: min(320px, 85%);
  aspect-ratio: 3 / 4;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    8px 8px 0 var(--ink),
    16px 16px 0 var(--green-deep);
  position: relative;
  transform: rotate(-3deg);
  transition: transform .4s var(--ease-spring);
}
.playbook-cover:hover { transform: rotate(0) scale(1.02); }
.cover-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.cover-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.cover-foot {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(245, 234, 211, 0.5);
}

/* ──────────────────────────────────────────────────
   FAQ
   ────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 2px; max-width: 880px; }
.faq-item {
  background: var(--ink-2);
  border: 1px solid rgba(245, 234, 211, 0.08);
  border-radius: 12px;
  padding: 24px 28px;
  transition: background .2s var(--ease);
}
.faq-item[open] { background: var(--ink-3); border-color: rgba(230, 179, 64, 0.3); }
.faq-item summary {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  cursor: pointer;
  color: var(--cream);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--display);
  font-size: 28px;
  color: var(--gold);
  transition: transform .3s var(--ease-spring);
}
.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq-item p {
  margin-top: 14px;
  color: rgba(245, 234, 211, 0.72);
  font-size: 16px;
  line-height: 1.6;
}

/* ──────────────────────────────────────────────────
   FINAL CTA
   ────────────────────────────────────────────────── */
.final-cta { padding: 130px 32px; }
.final-h2 { margin-bottom: 24px; }
.final-recap {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(11, 10, 8, 0.72);
}
.final-stakes {
  max-width: 560px;
  margin: 30px auto 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  color: rgba(11, 10, 8, 0.8);
}
.final-id {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(11, 10, 8, 0.5);
  text-transform: uppercase;
}

/* ── MANIFESTO + PLAN STRIP (between hero/marquee and What-is-a-DVS) ── */
.manifesto-strip { padding: 80px 32px 70px; }
.manifesto {
  max-width: 880px;
  margin: 0 auto 56px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: rgba(245, 234, 211, 0.62);
  text-align: center;
}
.manifesto strong {
  color: var(--cream);
  font-weight: 600;
}
.manifesto em {
  font-style: italic;
  color: var(--gold);
  background: linear-gradient(transparent 64%, rgba(230, 179, 64, 0.18) 64%);
  padding: 0 0.06em;
}
.plan-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid rgba(245, 234, 211, 0.12);
  border-bottom: 1px solid rgba(245, 234, 211, 0.12);
}
.plan-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 16px;
  border-right: 1px solid rgba(245, 234, 211, 0.12);
}
.plan-step:last-child { border-right: none; }
.ps-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 600;
}
.ps-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  color: var(--cream);
}
@media (max-width: 720px) {
  .plan-strip { grid-template-columns: repeat(2, 1fr); }
  .plan-step:nth-child(2) { border-right: none; }
  .plan-step:nth-child(1),
  .plan-step:nth-child(2) { border-bottom: 1px solid rgba(245, 234, 211, 0.12); }
}

/* ──────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: 36px 32px;
  border-top: 1px solid rgba(245, 234, 211, 0.06);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
}
.footer-word { color: var(--cream); }
.footer-links { display: flex; gap: 22px; font-size: 13px; }
.footer-links a { color: rgba(245, 234, 211, 0.55); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(245, 234, 211, 0.4);
}

/* ──────────────────────────────────────────────────
   SCHEMATIC (How a DVS works diagram)
   ────────────────────────────────────────────────── */
.schematic {
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 8px;
  padding: 36px 32px 24px;
  margin: 0 0 56px;
  position: relative;
  box-shadow: 8px 8px 0 var(--ink);
  max-width: 1100px;
}
.schematic-cap {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--cream);
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}
.schematic svg, .schematic-img { width: 100%; height: auto; display: block; border-radius: 4px; }

@media (max-width: 720px) {
  .schematic { padding: 28px 16px 16px; box-shadow: 5px 5px 0 var(--ink); }
}

/* ──────────────────────────────────────────────────
   COMPARISON TABLE
   ────────────────────────────────────────────────── */
.compare-table {
  border: 1px solid rgba(245, 234, 211, 0.1);
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-2);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr 1fr;
  align-items: center;
}
.compare-row > div {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(245, 234, 211, 0.07);
  border-right: 1px solid rgba(245, 234, 211, 0.07);
  font-size: 15px;
  color: rgba(245, 234, 211, 0.7);
  text-align: center;
}
.compare-row > div:last-child { border-right: none; }
.compare-row:last-child > div { border-bottom: none; }
.compare-row .compare-label {
  text-align: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--cream);
}
.compare-head > div {
  background: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 234, 211, 0.6);
}
.compare-head .hi {
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}
.compare-row .hi {
  background: rgba(230, 179, 64, 0.08);
  color: var(--gold);
  font-weight: 700;
  font-size: 17px;
}

@media (max-width: 880px) {
  .compare-row { grid-template-columns: 1.4fr 1fr 1fr; }
  .compare-row > div:nth-child(3),
  .compare-row > div:nth-child(4) { display: none; }
}

/* ──────────────────────────────────────────────────
   FOUNDER NOTE
   ────────────────────────────────────────────────── */
.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 880px) {
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
}

.founder-photo { position: relative; display: flex; justify-content: center; }
.founder-frame {
  width: min(360px, 90%);
  aspect-ratio: 4 / 5;
  background: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--gold);
  transform: rotate(-2deg);
  transition: transform .4s var(--ease-spring);
}
.founder-frame:hover { transform: rotate(0) scale(1.02); }
.founder-img-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  overflow: hidden;
}
.founder-img-placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
}
.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.placeholder-tag {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(11, 10, 8, 0.7);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.founder-stickers { position: absolute; inset: 0; pointer-events: none; }
.founder-sticker {
  position: absolute;
  width: 70px;
  filter: drop-shadow(3px 3px 0 rgba(11,10,8,0.9));
}
.fs-1 { top: -10px; right: 4%; transform: rotate(12deg); }
.fs-2 { bottom: 4%; left: 0%; transform: rotate(-10deg); width: 90px; }

.founder-h2 { font-size: clamp(28px, 3.4vw, 46px); margin-bottom: 28px; }
.founder-p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(11, 10, 8, 0.78);
  margin-bottom: 18px;
  max-width: 580px;
}
.founder-p strong { color: var(--ink); font-weight: 600; }
.founder-sig {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft, rgba(11,10,8,0.62));
}

/* Doctrine list (5 rules) */
.doctrine {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(11, 10, 8, 0.18);
}
.doctrine li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(11, 10, 8, 0.18);
  align-items: start;
}
.doctrine .d-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  color: var(--green-deep);
  letter-spacing: -0.02em;
}
.doctrine h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 6px;
}
.doctrine p {
  font-size: 16px;
  line-height: 1.45;
  color: rgba(11, 10, 8, 0.7);
  max-width: 540px;
}

/* ──────────────────────────────────────────────────
   INSIDE THE PLAYBOOK
   ────────────────────────────────────────────────── */
/* ── INSIDE (editorial Bento) ── */
.inside-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
/* Bento spans:
   01 feature → 3 cols
   02         → 3 cols
   03 04 05   → 2 cols each
   06         → 4 cols
   wide CTA   → 6 cols (full)
*/
.inside-page {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  padding: 30px 28px 28px;
  border-radius: 10px;
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(11,10,8,0.95), 6px 6px 0 1.5px var(--gold);
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease);
  overflow: hidden;
  min-height: 220px;
  grid-column: span 2;
  transform: rotate(var(--rot, 0deg));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* Paper grain — subtle SVG noise */
.inside-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.04   0 0 0 0 0.04   0 0 0 0 0.03   0 0 0 0.12 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.inside-page:hover {
  transform: rotate(0deg) translate(-3px, -3px);
  box-shadow: 10px 10px 0 rgba(11,10,8,0.95), 10px 10px 0 1.5px var(--gold);
}

/* Featured tile (Page 01) — bigger span */
.inside-page.feature { grid-column: span 3; min-height: 240px; }

/* Dark featured (Page 04) — ink fill, gold type, inverted */
.inside-page.dark-feature {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--gold);
}
.inside-page.dark-feature::before { mix-blend-mode: overlay; opacity: 0.35; }

/* Dark feature (Page 04) now spans 4 for stronger punctuation */
.inside-page.dark-feature { grid-column: span 4; }
/* CTA tile (Page 07) — same size as 05/06, gold accent */
.inside-page.wide {
  grid-column: span 2;
  background: var(--gold);
  min-height: 220px;
}

/* Massive page numeral — anchor in top-right */
.ip-numeral {
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(80px, 9vw, 132px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11,10,8,0.18);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.inside-page.feature .ip-numeral {
  font-size: clamp(120px, 12vw, 180px);
  -webkit-text-stroke: 2px rgba(11,10,8,0.22);
}
.inside-page.dark-feature .ip-numeral { -webkit-text-stroke: 2px rgba(230,179,64,0.5); }
.inside-page.wide .ip-numeral {
  font-size: clamp(140px, 14vw, 220px);
  -webkit-text-stroke: 2px rgba(11,10,8,0.25);
}

/* Unique glyph per page — top-left */
.ip-glyph {
  position: absolute;
  top: 22px;
  left: 24px;
  width: 28px;
  height: 28px;
  color: var(--ink);
  opacity: 0.85;
  z-index: 2;
}
.ip-glyph svg { width: 100%; height: 100%; display: block; }
.inside-page.dark-feature .ip-glyph { color: var(--gold); opacity: 1; }

/* Body container — pushed below the glyph zone */
.ip-body {
  position: relative;
  z-index: 2;
  margin-top: 56px;
}

/* Eyebrow tag — small caps mono, hairline gold rule below */
.ip-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: rgba(11, 10, 8, 0.55);
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(11, 10, 8, 0.18);
  display: inline-block;
  padding-right: 14px;
}
.inside-page.dark-feature .ip-eyebrow {
  color: var(--gold);
  border-color: rgba(230,179,64,0.4);
}

.inside-page h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 10px;
}
.inside-page.feature h4 { font-size: 28px; }
.inside-page.wide h4 { font-size: 30px; }
.inside-page.dark-feature h4 { color: var(--cream); }

.inside-page p {
  font-size: 14.5px;
  color: rgba(11, 10, 8, 0.72);
  line-height: 1.55;
  max-width: 42ch;
  margin: 0;
}
.inside-page.feature p { font-size: 15.5px; max-width: 48ch; }
.inside-page.wide p { font-size: 16px; max-width: 56ch; }
.inside-page.dark-feature p { color: rgba(245,234,211,0.82); }

@media (max-width: 980px) {
  .inside-grid { grid-template-columns: repeat(4, 1fr); }
  .inside-page { grid-column: span 2; }
  .inside-page.feature { grid-column: span 4; }
  .inside-page.dark-feature { grid-column: span 4; }
  .inside-page.wide { grid-column: span 4; }
}
@media (max-width: 560px) {
  .inside-grid { grid-template-columns: 1fr; gap: 14px; }
  .inside-page,
  .inside-page.feature,
  .inside-page.dark-feature,
  .inside-page.wide { grid-column: span 1; transform: none; }
  .ip-numeral { font-size: 96px !important; }
}

/* ──────────────────────────────────────────────────
   ASSET LADDER
   ────────────────────────────────────────────────── */
.ladder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1080px) { .ladder-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .ladder-grid { grid-template-columns: 1fr; } }

.ladder-card {
  background: var(--ink-2);
  border: 1px solid rgba(245, 234, 211, 0.08);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.ladder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 234, 211, 0.2);
}
.ladder-card.ladder-now {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.ladder-card.ladder-now:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }

.ladder-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.ladder-card.ladder-now .ladder-tag { color: var(--ink); font-weight: 600; }

.ladder-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--cream);
}
.ladder-card.ladder-now h3 { color: var(--ink); }

.ladder-hook {
  font-family: var(--display);
  font-weight: 600;
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  line-height: 1.3;
  margin-top: 2px;
  margin-bottom: 6px;
}
.ladder-card.ladder-now .ladder-hook { color: var(--ink); }

.ladder-line {
  font-size: 14px;
  color: rgba(245, 234, 211, 0.62);
  line-height: 1.55;
  flex: 1;
}
.ladder-card.ladder-now .ladder-line { color: rgba(11, 10, 8, 0.7); }

.ladder-when {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(245, 234, 211, 0.4);
  border-top: 1px solid rgba(245, 234, 211, 0.08);
  padding-top: 14px;
}

/* ──────────────────────────────────────────────────
   QUOTES / TESTIMONIALS
   ────────────────────────────────────────────────── */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
@media (max-width: 880px) { .quote-grid { grid-template-columns: 1fr; } }

.quote-card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: 6px 6px 0 var(--ink);
}
.quote-card blockquote {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 20px;
}
.quote-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid rgba(11, 10, 8, 0.12);
}
.quote-name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}
.quote-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(11, 10, 8, 0.55);
}
.quote-disclaimer {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(11, 10, 8, 0.45);
  margin-top: 18px;
}

/* ──────────────────────────────────────────────────
   ANIMATIONS — reveal in
   ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  #money-rain { display: none; }
}
