/* ============================================================
   TAILORED INTELLIGENCE — Track C Visual Character Pass
   Section rhythm: dark hero → white → dark proof → white →
   dark fit-check → white three-doors → white rev-share → dark close → footer
   Magazine page-flip aesthetic. Hard transitions. No gradients.
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  /* Base palette */
  --color-bg: #ffffff;
  --color-text: #0a0a0a;
  --color-text-muted: #525252;
  --color-divider: #e5e5e5;
  --color-accent: #1d3a8a;
  --color-accent-hover: #15296b;
  --color-accent-light: #eef2ff;
  --color-white: #ffffff;
  --color-nav-bg: #ffffff;

  /* Track C additions — charcoal system */
  --color-charcoal: #1a1a18;
  --color-charcoal-elevated: #222220;
  --color-charcoal-line: #3a3a36;
  --color-warm-white: #fafaf8;
  --color-warm-gray-line: #d8d4ce;
  --color-warm-gray-muted: #8a8580;
  --color-warm-gray-accessible: #a8a39c;
  --color-live-dot: #22c55e;

  /* Semantic aliases */
  --color-hero-bg: var(--color-charcoal);
  --color-hero-text: var(--color-white);
  --color-hero-eyebrow: var(--color-warm-gray-muted);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-content: 72rem;
  --max-prose: 65ch;
  --radius: 4px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Text selection ---- */
::selection { background: var(--color-charcoal); color: var(--color-white); }
.section-dark ::selection { background: var(--color-white); color: var(--color-charcoal); }

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
  .container { padding-inline: 2.5rem; }
}

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.05;
}
h1 { font-size: clamp(36px, 6vw, 68px); }
h2 { font-size: clamp(26px, 4vw, 40px); line-height: 1.15; }
h3 { font-size: clamp(18px, 2.5vw, 22px); line-height: 1.3; }
p { max-width: var(--max-prose); }

/* ---- Eyebrow with left-rule anchor ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--color-accent);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
/* Dark section eyebrows use muted warm gray */
.section-dark .eyebrow {
  color: var(--color-warm-gray-muted);
}

/* ---- Section base ---- */
section { padding-block: 5rem; }
.section-header { margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-subhead {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 55ch;
}

/* ---- Dark sections ---- */
.section-dark {
  background: var(--color-charcoal);
  color: var(--color-white);
}
.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}
.section-dark .section-subhead,
.section-dark p {
  color: var(--color-warm-gray-accessible);
}
/* Override for specific readable paragraphs on dark */
.section-dark .bio-text p,
.section-dark .close-body p {
  color: var(--color-white);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, outline-color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  padding: 0.625rem 1.5rem;
  border: none;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.btn:focus-visible {
  outline-color: var(--color-accent);
}
.section-dark .btn:focus-visible {
  outline-color: var(--color-white);
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-accent-hover); }
/* Hero primary: white fill / dark text — high contrast on dark ground */
.hero-ctas .btn-primary,
.section-dark .hero-ctas .btn-primary {
  background: var(--color-white);
  color: var(--color-charcoal);
}
.hero-ctas .btn-primary:hover,
.section-dark .hero-ctas .btn-primary:hover {
  background: var(--color-warm-white);
}
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent-light);
}
.link-secondary {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
.link-secondary:hover { color: var(--color-text); }
.section-dark .link-secondary {
  color: var(--color-warm-gray-muted);
}
.section-dark .link-secondary:hover {
  color: var(--color-white);
}

/* ---- Sticky Nav ---- */
#sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 56px;
  background: var(--color-nav-bg);
  border-bottom: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
#sticky-nav.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#sticky-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
#sticky-nav .nav-wordmark {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
}
#sticky-nav .btn { font-size: 14px; padding: 0.5rem 1rem; min-height: 36px; }

/* ---- HERO — dark, full-bleed ---- */
#hero {
  background: var(--color-hero-bg);
  color: var(--color-hero-text);
  padding-top: 6rem;
  padding-bottom: 5rem;
}
#hero h1 { color: var(--color-hero-text); }
#hero .eyebrow { color: var(--color-hero-eyebrow); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 55% 1fr;
    gap: 4rem;
    align-items: center;
  }
}
.hero-text h1 { margin-bottom: 1.25rem; }
.hero-subhead {
  font-size: 18px;
  color: var(--color-warm-gray-accessible);
  margin-bottom: 2rem;
  max-width: 52ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Hero Loom Slot — 16:9 responsive container */
#hero-loom-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-charcoal-elevated);
  /* Subtle warm-dark frame — 1px border + 4px inset breathing room */
  outline: 1px solid var(--color-charcoal-line);
  outline-offset: 4px;
}
#hero-loom-slot img,
#hero-loom-slot iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border: none;
}

/* ---- WHO I AM — white ---- */
#who-i-am {
  background: var(--color-bg);
  color: var(--color-text);
  border-top: none;
}
#who-i-am .bio-text {
  font-size: 18px;
  line-height: 1.7;
  max-width: 65ch;
  color: var(--color-text);
}
#who-i-am .bio-text p + p { margin-top: 1rem; }

/* ---- WHAT I'VE BUILT — dark ---- */
#what-ive-built {
  background: var(--color-charcoal);
  color: var(--color-white);
}
#what-ive-built .panels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  #what-ive-built .panels-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
/* Proof panels: warm-white cards on dark section */
.proof-panel {
  background: var(--color-warm-white);
  border-radius: 6px;
  padding: 1.5rem;
  color: var(--color-text);
}
.proof-panel-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--color-divider);
  border: 1px solid var(--color-warm-gray-line);
}
.proof-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proof-panel-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.proof-panel p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 100%;
}
.proof-panel a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- WHAT THIS IS NOT — white ---- */
#what-this-is-not {
  background: var(--color-bg);
  color: var(--color-text);
  border-top: 1px solid var(--color-divider);
}
#what-this-is-not .not-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.5rem;
}
.not-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.55;
  max-width: 65ch;
}
.not-list li::before {
  content: '—';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- DAY 90 — white ---- */
#day-90 {
  background: var(--color-bg);
  color: var(--color-text);
  border-top: 1px solid var(--color-divider);
}
#day-90 .outcomes-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.outcomes-list li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.6;
  max-width: 68ch;
}
.outcomes-list li::before {
  content: '→';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.day-90-caveat {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-accent-light);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 65ch;
}

/* ---- WHO THIS IS FOR — dark (visual gate before offer) ---- */
#who-this-is-for {
  background: var(--color-charcoal);
  color: var(--color-white);
}
#who-this-is-for h2 { color: var(--color-white); }
#who-this-is-for .fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  #who-this-is-for .fit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.fit-col-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.fit-col-label.for { color: var(--color-warm-gray-muted); }
.fit-col-label.not { color: var(--color-charcoal-line); }
.fit-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.fit-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.6;
}
.fit-list.for li { color: var(--color-white); }
.fit-list.for li::before {
  content: '—';
  color: var(--color-warm-gray-muted);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.fit-list.not li { color: var(--color-warm-gray-accessible); }
.fit-list.not li::before {
  content: '—';
  color: var(--color-charcoal-line);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- SOCIAL PROOF SLOT (hidden) ---- */
#social-proof {
  display: none;
  padding-block: 3rem;
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
}
.social-proof-card {
  border-left: 3px solid var(--color-accent);
  padding: 1.5rem 2rem;
  max-width: 55ch;
  background: var(--color-accent-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.social-proof-card .quote {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  max-width: 100%;
}
.social-proof-card .attribution {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  max-width: 100%;
}

/* ---- BUILD-IN-FLIGHT SLOT (hidden) ---- */
#build-in-flight {
  display: none;
  padding-block: 1.5rem;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-bg);
}
.in-flight-banner {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 14px;
}
.in-flight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-live-dot);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .in-flight-dot { animation: none; }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.in-flight-label {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--color-accent);
}
.in-flight-detail { color: var(--color-text-muted); }

/* ---- THREE DOORS — white ---- */
#three-doors {
  background: var(--color-bg);
  color: var(--color-text);
  border-top: none;
}
#three-doors .doors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  #three-doors .doors-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
}

/* Door 1 & 3: white fill, warm-gray border, charcoal top accent rule */
.door-card {
  background: var(--color-bg);
  border: 1px solid var(--color-warm-gray-line);
  border-top: 3px solid var(--color-charcoal);
  border-radius: 0 0 6px 6px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Door 2: dark fill, inverted */
.door-card.featured {
  background: var(--color-charcoal);
  border: 1px solid var(--color-charcoal-line);
  border-top: 3px solid var(--color-accent);
  color: var(--color-white);
}
.door-card.featured h3,
.door-card.featured .door-title,
.door-card.featured .door-number,
.door-card.featured .door-price {
  color: var(--color-white);
}
.door-card.featured .door-price { color: var(--color-white); }
.door-card.featured .door-list li { color: var(--color-white); }
.door-card.featured .door-list li::before { color: var(--color-warm-gray-muted); }
.door-card.featured .door-what-label { color: var(--color-warm-gray-muted); }
.door-card.featured .door-guarantee { color: var(--color-warm-gray-accessible); border-top-color: var(--color-charcoal-line); }
.door-card.featured .door-guarantee strong { color: var(--color-white); }

/* Door 2 badge */
.door-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-charcoal-elevated);
  border: 1px solid var(--color-charcoal-line);
  border-radius: 3px;
  padding: 0.25rem 0.625rem;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.door-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.door-card.featured .door-number { color: var(--color-warm-gray-muted); }
.door-title {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: 0.375rem;
}
.door-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.door-price .price-note {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 0.125rem;
}
.door-card.featured .door-price .price-note { color: var(--color-warm-gray-muted); }
.door-what-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.625rem;
}
.door-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.door-list li {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
}
.door-list li::before {
  content: '→';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 13px;
}

/* Door 2 value stack */
.door-value-stack {
  background: var(--color-charcoal-elevated);
  border: 1px solid var(--color-charcoal-line);
  border-radius: var(--radius);
  padding: 1rem 1.125rem;
  margin-bottom: 1.25rem;
}
.door-value-stack .vs-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.5;
  gap: 0.5rem;
}
.door-value-stack .vs-row + .vs-row { margin-top: 0.375rem; }
.door-value-stack .vs-label { color: var(--color-warm-gray-accessible); flex: 1; }
.door-value-stack .vs-value { color: var(--color-white); font-weight: 600; white-space: nowrap; }
.door-value-stack .vs-total {
  border-top: 1px solid var(--color-charcoal-line);
  margin-top: 0.625rem;
  padding-top: 0.5rem;
  font-weight: 700;
  font-size: 14px;
}
.door-guarantee {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-divider);
  padding-top: 1rem;
  margin-top: auto;
  margin-bottom: 1.25rem;
}
.door-guarantee strong { color: var(--color-text); }

/* Door 2 CTA: white fill / dark text — pops on dark card */
.door-card.featured .door-cta .btn-primary {
  background: var(--color-white);
  color: var(--color-charcoal);
}
.door-card.featured .door-cta .btn-primary:hover {
  background: var(--color-warm-white);
}
.door-cta { margin-top: auto; }
.door-cta .btn { width: 100%; justify-content: center; }

/* ---- REV-SHARE BOX — white ---- */
#rev-share {
  background: var(--color-bg);
  color: var(--color-text);
  border-top: 1px solid var(--color-divider);
  padding-block: 4rem;
}
.guarantee-box {
  border: 2px solid var(--color-charcoal);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  max-width: 52rem;
}
.guarantee-box h3 {
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 0.375rem;
  color: var(--color-text);
}
.guarantee-box .guarantee-sub {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  max-width: 100%;
}
.guarantee-box .guarantee-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  max-width: 60ch;
  margin-bottom: 1.75rem;
}
.slot-counter {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.slot-counter .slots-remaining { font-size: 36px; }
.guarantee-box .slot-note {
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 100%;
}

/* ---- CLOSE — dark, final punctuation ---- */
#close {
  background: var(--color-charcoal);
  color: var(--color-white);
  padding-block: 5rem;
}
#close h2 { color: var(--color-white); }
#close .eyebrow { color: var(--color-warm-gray-muted); }
#close .close-body {
  font-size: 18px;
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}
#close .close-body p + p { margin-top: 1rem; }
#close .close-body .slot-counter {
  color: var(--color-white);
  font-size: inherit;
  font-weight: 700;
  display: inline;
}
#close .close-body .slot-counter .slots-remaining { font-size: inherit; }
#close .close-email {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
  margin-bottom: 1.25rem;
  transition: color 0.15s ease;
}
#close .close-email:hover { color: var(--color-warm-gray-accessible); }
#close .close-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
/* Close CTA: white fill / dark text on dark section */
#close .btn-primary {
  background: var(--color-white);
  color: var(--color-charcoal);
}
#close .btn-primary:hover { background: var(--color-warm-white); }
#close .close-note {
  font-size: 14px;
  color: var(--color-warm-gray-muted);
}

/* ---- FOOTER ---- */
footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
  padding-block: 2rem;
  font-size: 14px;
  color: var(--color-text-muted);
}
footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
footer a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
footer a:hover { color: var(--color-text); }

/* ---- Responsive ---- */
@media (max-width: 767px) {
  section { padding-block: 3.5rem; }
  h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .guarantee-box { padding: 1.75rem 1.25rem; }
  .door-card { padding: 1.5rem 1.25rem; }
}

/* ============================================================
   TRACK D — Level-Up Push (8.0 → 9.0)
   ============================================================ */

/* ---- Day 90 dark override ---- */
#day-90.section-dark {
  background: var(--color-charcoal);
  color: var(--color-white);
  border-top: none;
}
#day-90.section-dark .outcomes-list li {
  color: var(--color-white);
}
#day-90.section-dark .outcomes-list li::before {
  color: var(--color-warm-gray-muted);
}
#day-90.section-dark .day-90-caveat {
  background: var(--color-charcoal-elevated);
  border-left-color: var(--color-warm-gray-muted);
  color: var(--color-warm-gray-accessible);
}

/* ---- Thin separator between two consecutive dark sections ---- */
.section-dark-separator {
  height: 1px;
  background: var(--color-charcoal-line);
  margin: 0;
  padding: 0;
}

/* ---- Loom placeholder ---- */
.loom-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--color-charcoal-elevated);
  border: 1px solid var(--color-charcoal-line);
  border-radius: 6px;
}
.loom-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-warm-gray-muted);
}

/* door-card-accent class reserved for future use — base .door-card already uses var(--color-charcoal) top rule */

/* ---- Sticky-nav CTA hover microinteraction ---- */
#sticky-nav .btn-primary {
  transition: filter 150ms ease-out, outline-color 0.15s ease;
}
#sticky-nav .btn-primary:hover {
  filter: brightness(0.92);
}
#sticky-nav .btn-primary:active {
  filter: brightness(0.92);
}
@media (hover: none) {
  #sticky-nav .btn-primary:hover {
    filter: none;
  }
}

/* ---- Proof panel hover lift ---- */
.proof-panel {
  transition: transform 200ms ease-out, border-color 200ms ease-out;
}
.proof-panel-img img {
  transition: filter 200ms ease-out;
}
@media (hover: hover) {
  .proof-panel:hover {
    transform: translateY(-2px);
    border-color: var(--color-charcoal-line);
  }
  .proof-panel:hover .proof-panel-img img {
    filter: contrast(1.05);
  }
}

/* ============================================================
   TRACK E — 8.0 → 9.5+ Polish Pass
   ============================================================ */

/* ---- 6a. Scroll margin for sticky nav ---- */
section[id] { scroll-margin-top: 100px; }

/* ---- 6b. CTA button chevron on hover ---- */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.btn-primary::after {
  content: "→";
  opacity: 0;
  margin-left: 0;
  transition: opacity 150ms ease-out, margin-left 150ms ease-out;
}
@media (hover: hover) {
  .btn-primary:hover::after {
    opacity: 1;
    margin-left: 8px;
  }
}
/* Suppress double-arrow on nav CTA which already has → in text */
#sticky-nav .btn-primary::after { display: none; }

/* ---- Editorial craft — typography refinements ---- */
h1 {
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h2 {
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}
body {
  line-height: 1.6; /* keep readable body */
}
/* Eyebrow letter-spacing already 0.12em — confirmed */

/* Tabular numerals for figures */
.figure-unit,
.door-price,
.slot-counter {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* Narrative prose max-width */
.section-prose p,
.bio-text p,
.close-body p,
.faq-answer p,
.day-90-caveat,
.rev-share-body p {
  max-width: 65ch;
}

/* Hairline bottom rule on each section */
section::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--color-divider);
  margin-top: 0;
}
.section-dark::after {
  background: var(--color-charcoal-line);
}

/* ---- Hero montage — CSS keyframe crossfade ---- */
.montage-frame {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: montage-cycle 16s infinite ease-in-out;
}
.montage-frame-1 {
  background-image: url('/manus-storage/filterswap-ui_f233f0f2.jpg');
  animation-delay: 0s;
}
.montage-frame-2 {
  background-image: url('/manus-storage/ts-2x2-grid_c02cde9e.jpg');
  animation-delay: 4s;
}
.montage-frame-3 {
  background-image: url('/manus-storage/lead-gen-collage_31a5d191.jpg');
  animation-delay: 8s;
}
.montage-frame-4 {
  background-image: url('/manus-storage/filterswap-ui_f233f0f2.jpg');
  animation-delay: 12s;
}
@keyframes montage-cycle {
  0%, 18%   { opacity: 0; }
  6%, 22%   { opacity: 1; }
  31%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .montage-frame { animation: none; }
  .montage-frame-1 { opacity: 1; }
}
.montage-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--color-charcoal) 88%, transparent);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  z-index: 2;
}
.montage-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-warm-gray-muted);
  white-space: nowrap;
}
.montage-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
}

/* ---- FAQ section ---- */
#faq {
  background: var(--color-bg);
  color: var(--color-text);
}
.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--color-warm-gray-line);
  padding: 24px 0;
}
.faq-item:first-child { border-top: 1px solid var(--color-warm-gray-line); }
.faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "+";
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--color-warm-gray-muted);
  transition: transform 200ms ease-out;
  flex-shrink: 0;
}
.faq-item[open] .faq-question::after {
  content: "−";
}
.faq-answer {
  margin-top: 16px;
  max-width: 65ch;
  color: var(--color-charcoal);
  line-height: 1.65;
}

/* ---- Live systems block ---- */
#systems-running {
  background: var(--color-bg);
  color: var(--color-text);
  padding: 64px 0;
}
.systems-list {
  margin: 32px 0 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-warm-gray-line);
}
.systems-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-warm-gray-line);
  align-items: baseline;
}
@media (min-width: 640px) {
  .systems-item {
    grid-template-columns: 240px 1fr;
    gap: 32px;
  }
}
.systems-label {
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
}
.systems-detail {
  font-size: 1rem;
  color: var(--color-charcoal);
  max-width: none;
}
.systems-timestamp {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--color-warm-gray-muted);
  letter-spacing: 0.04em;
  max-width: none;
}

/* ---- Hidden logos strip (inside #social-proof) ---- */
.social-proof-logos {
  margin-top: 40px;
}
.logos-strip {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.logo-slot {
  width: 120px;
  height: 40px;
  background: var(--color-warm-gray-line);
  border-radius: 2px;
}
.logo {
  max-height: 40px;
  width: auto;
  filter: grayscale(1) opacity(0.7);
  transition: filter 200ms ease-out;
}
.logo:hover { filter: grayscale(0) opacity(1); }

/* ---- 6c. Footer rebuild ---- */
.site-footer {
  padding: 96px 0 48px;
  background: var(--color-charcoal);
  color: var(--color-white);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.footer-brand {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-white);
}
.footer-meta-link {
  font-size: 0.875rem;
  color: var(--color-warm-gray-muted);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 150ms ease-out;
}
.footer-meta-link:hover { color: var(--color-white); }
.footer-rights {
  font-size: 0.75rem;
  color: var(--color-warm-gray-muted);
  letter-spacing: 0.04em;
  margin: 0;
  max-width: none;
}
/* Suppress old footer styles */
footer { all: unset; display: block; }



/* ============================================================
   TRACK H — Operator's Ledger × Precision Dashboard
   Design philosophy: Fraunces serif authority + JetBrains Mono
   operational precision + ochre structural accents.
   Full mobile fix, creative continuity elements, elevated
   typography throughout.
   ============================================================ */

/* ---- Extended design tokens ---- */
:root {
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --color-ochre: #b87333;
  --color-ochre-dim: #8a5520;
  --color-ochre-glow: rgba(184, 115, 51, 0.15);
  --color-live-green: #22c55e;
  --color-live-green-dim: #16a34a;
  /* Hero background texture */
  --hero-bg-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663386347429/QMcNTR8EV76i77TWiRBQtH/hero-bg-texture-9yrGWtdE7kXdZ6MhYZRAAs.webp');
  --hero-bg-mobile: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663386347429/QMcNTR8EV76i77TWiRBQtH/hero-bg-mobile-S56a5JotiXXgPzvbXoKY7y.webp');
}

/* ---- Display typography: Fraunces for H1 and H2 ---- */
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
/* H3 stays Inter — operational, not editorial */
h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---- Eyebrow: mono precision ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--color-ochre);
  gap: 0.5rem;
}
.eyebrow::before {
  background: var(--color-ochre);
  margin-right: 0.5rem;
}
.section-dark .eyebrow {
  color: var(--color-ochre);
}
.section-dark .eyebrow::before {
  background: var(--color-ochre);
}

/* ---- Section numbers ---- */
.eyebrow-num {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-warm-gray-muted);
  margin-right: 0.5rem;
  opacity: 0.7;
  vertical-align: middle;
}
.section-dark .eyebrow-num {
  color: var(--color-charcoal-line);
  opacity: 0.9;
}
#who-i-am .eyebrow-num,
#what-this-is-not .eyebrow-num,
#faq .eyebrow-num,
#three-doors .eyebrow-num,
#rev-share .eyebrow-num {
  color: var(--color-text-muted);
  opacity: 1;
}

/* ---- Hero: textured background + elevated layout ---- */
#hero {
  background-color: var(--color-charcoal);
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center top;
  padding-top: 7rem;
  padding-bottom: 6rem;
}

/* ---- Hero text column ---- */
.hero-text {
  position: relative;
}
.hero-vert-rule {
  position: absolute;
  left: -1.5rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-ochre);
  opacity: 0.5;
  pointer-events: none;
}

/* ---- Hero H1: larger, Fraunces ---- */
.hero-text h1 {
  font-size: clamp(42px, 7vw, 80px);
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

/* ---- Hero subhead ---- */
.hero-subhead {
  font-size: 18px;
  color: var(--color-warm-gray-accessible);
  margin-bottom: 2.5rem;
  max-width: 50ch;
  line-height: 1.65;
}

/* ---- Hero CTA: more visual weight ---- */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.hero-ctas .btn-primary {
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 0.875rem 2rem;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.hero-ctas .btn-primary:hover {
  background: var(--color-warm-white);
  box-shadow: 0 4px 20px rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

/* ---- Hero loom slot: textured, visible immediately ---- */
#hero-loom-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-charcoal-elevated);
  outline: 1px solid var(--color-ochre);
  outline-offset: 4px;
}
#hero-loom-slot img,
#hero-loom-slot iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border: none;
}

/* ---- Montage frames: GPU compositing + solid fallback ---- */
.montage-frame {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-charcoal-elevated);
  opacity: 0;
  will-change: opacity;
  transform: translateZ(0);
  animation: montage-cycle 16s infinite ease-in-out;
}
.montage-frame-1 {
  background-image: url('/manus-storage/filterswap-ui_f233f0f2.jpg');
  animation-delay: 0s;
  opacity: 1;
  animation-name: montage-cycle-first;
}
.montage-frame-2 {
  background-image: url('/manus-storage/ts-2x2-grid_c02cde9e.jpg');
  animation-delay: 4s;
}
.montage-frame-3 {
  background-image: url('/manus-storage/lead-gen-collage_31a5d191.jpg');
  animation-delay: 8s;
}
.montage-frame-4 {
  background-image: url('/manus-storage/filterswap-ui_f233f0f2.jpg');
  animation-delay: 12s;
}
@keyframes montage-cycle {
  0%, 18%   { opacity: 0; }
  6%, 22%   { opacity: 1; }
  31%, 100% { opacity: 0; }
}
@keyframes montage-cycle-first {
  0%    { opacity: 1; }
  18%   { opacity: 1; }
  25%   { opacity: 0; }
  100%  { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .montage-frame { animation: none; }
  .montage-frame-1 { opacity: 1; }
}

/* ---- Scanline overlay ---- */
.montage-scanlines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.04) 2px,
    rgba(0,0,0,0.04) 4px
  );
}

/* ---- Montage caption: mono ---- */
.montage-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--color-charcoal) 88%, transparent);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  z-index: 4;
}
.montage-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ochre);
  white-space: nowrap;
}
.montage-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
}

/* ---- Live dot on eyebrow ---- */
.eyebrow-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-live-green);
  margin-right: 0.5rem;
  vertical-align: middle;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow-live-dot { animation: none; }
}

/* ---- Pulse animation ---- */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

/* ---- MOBILE HERO: full redesign (fixes nested media query bug) ---- */
@media (max-width: 767px) {
  #hero {
    background-image: var(--hero-bg-mobile);
    background-size: cover;
    background-position: center top;
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
  .hero-grid {
    gap: 0;
  }
  #hero-loom-slot {
    display: none;
  }
  .hero-vert-rule {
    display: none;
  }
  .hero-text h1 {
    font-size: clamp(38px, 11vw, 54px);
    margin-bottom: 1rem;
  }
  .hero-subhead {
    font-size: 16px;
    margin-bottom: 1.75rem;
  }
  .hero-ctas .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 16px;
  }
}

/* ---- Mobile live-strip: properly styled (bug fixed) ---- */
.hero-live-strip {
  display: none;
}
@media (max-width: 767px) {
  .hero-live-strip {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2rem;
    border: 1px solid var(--color-ochre);
    border-radius: 4px;
    overflow: hidden;
    background: var(--color-charcoal-elevated);
    outline: 1px solid rgba(184, 115, 51, 0.2);
    outline-offset: 3px;
  }
  .hero-strip-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--color-charcoal-line);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-ochre);
  }
  .hero-strip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-live-green);
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
  }
  .hero-strip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-charcoal-line);
    gap: 0.75rem;
  }
  .hero-strip-row:last-child {
    border-bottom: none;
  }
  .hero-strip-name {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .hero-strip-name::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-live-green);
    flex-shrink: 0;
  }
  .hero-strip-status {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-live-green);
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 3px;
    padding: 0.125rem 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
}
/* Reduced motion: no strip dot animation */
@media (prefers-reduced-motion: reduce) {
  .hero-strip-dot { animation: none; }
}

/* ---- Section ochre left-rule: creative continuity element ---- */
/* Every section gets a faint ochre left-rule on the container */
section .container {
  position: relative;
}
section .container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2rem;
  bottom: 2rem;
  width: 2px;
  background: var(--color-ochre);
  opacity: 0.18;
  pointer-events: none;
  border-radius: 1px;
}
/* Suppress on hero (it has its own vert rule) */
#hero .container::before {
  display: none;
}

/* ---- Section hairline bottom rule ---- */
section::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--color-divider);
}
.section-dark::after {
  background: var(--color-charcoal-line);
}

/* ---- Scroll margin for sticky nav ---- */
section[id] { scroll-margin-top: 100px; }

/* ---- Mobile section padding ---- */
@media (max-width: 767px) {
  section {
    padding-block: 3.5rem;
  }
  .container {
    padding-inline: 1.25rem;
  }
}

/* ---- Systems-running: status board ---- */
.systems-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-live-green);
  margin-right: 0.625rem;
  vertical-align: middle;
  flex-shrink: 0;
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .systems-status-dot { animation: none; }
}
.systems-label {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
.systems-item {
  border-left: 3px solid transparent;
  padding-left: 0.75rem;
  transition: border-color 200ms ease;
}
.systems-item:hover {
  border-left-color: var(--color-ochre);
}
.systems-timestamp {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* ---- Proof panel hover lift ---- */
.proof-panel {
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.proof-panel-img {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-warm-gray-line);
  outline: 1px solid var(--color-warm-gray-line);
  outline-offset: -1px;
}
.proof-panel-img img {
  object-position: top center;
  transition: filter 200ms ease-out;
}
@media (hover: hover) {
  .proof-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .proof-panel:hover .proof-panel-img img {
    filter: contrast(1.05);
  }
}

/* ---- FAQ: hover + mono glyph ---- */
.faq-item {
  transition: background 150ms ease;
  border-radius: 2px;
  padding-inline: 0.5rem;
  margin-inline: -0.5rem;
}
@media (hover: hover) {
  .faq-item:hover {
    background: var(--color-warm-white);
  }
}
.faq-question {
  font-size: 1.0625rem;
}
.faq-question::after {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--color-ochre);
}

/* ---- Door prices: mono numerals ---- */
.door-price {
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* ---- Door 2: featured card elevated ---- */
.door-card.featured .door-title {
  font-size: clamp(20px, 2.5vw, 24px);
  letter-spacing: -0.02em;
}
.door-card.featured .door-badge {
  background: var(--color-ochre);
  border-color: var(--color-ochre-dim);
  color: var(--color-white);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  display: inline-flex;
}
.door-card.featured .door-value-stack .vs-label {
  color: var(--color-warm-gray-accessible);
}
.door-card.featured .door-value-stack .vs-value {
  color: var(--color-white);
  font-family: var(--font-mono);
  font-size: 13px;
}
.door-card.featured .door-value-stack .vs-total .vs-label,
.door-card.featured .door-value-stack .vs-total .vs-value {
  color: var(--color-white);
}

/* ---- Value-stack table mono ---- */
.door-value-stack {
  font-family: var(--font-mono);
}
.door-value-stack .vs-row {
  font-size: 13px;
}

/* ---- Guarantee box: ochre left accent ---- */
.guarantee-box {
  border-left: 4px solid var(--color-ochre);
  border-top: 1px solid var(--color-warm-gray-line);
  border-right: 1px solid var(--color-warm-gray-line);
  border-bottom: 1px solid var(--color-warm-gray-line);
  padding-left: 1.75rem;
}
.slot-counter {
  font-family: var(--font-mono);
  font-size: 18px;
  display: block;
  margin: 1.5rem 0 0.5rem;
  line-height: 1;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.slot-counter .slots-remaining {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-ochre);
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-block;
}
/* Flip entrance animation */
.slot-flip {
  animation: slot-flip-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes slot-flip-in {
  from { opacity: 0; transform: translateY(-8px) rotateX(20deg); }
  to   { opacity: 1; transform: translateY(0) rotateX(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .slot-flip { animation: none; }
}

/* ---- Close section slot counter inline ---- */
#close .close-body .slot-counter {
  font-family: var(--font-mono);
}

/* ---- CTA button: chevron on hover ---- */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.btn-primary::after {
  content: "→";
  opacity: 0;
  margin-left: 0;
  transition: opacity 150ms ease-out, margin-left 150ms ease-out;
}
@media (hover: hover) {
  .btn-primary:hover::after {
    opacity: 1;
    margin-left: 8px;
  }
}
/* Suppress double-arrow on nav CTA which already has → in text */
#sticky-nav .btn-primary::after { display: none; }

/* ---- Nav: mono wordmark ---- */
#sticky-nav .nav-wordmark {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: -0.01em;
  font-weight: 600;
}
#sticky-nav .btn {
  font-size: 14px;
  padding: 0.5rem 1rem;
  min-height: 36px;
}

/* ---- Footer: elevated ---- */
.site-footer {
  border-top: 1px solid var(--color-ochre);
  padding-top: 64px;
}
.footer-inner {
  align-items: flex-start;
  text-align: left;
}
.footer-brand {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.footer-meta-link {
  border-bottom-color: var(--color-ochre);
}
.footer-meta-link:hover {
  color: var(--color-ochre);
}
footer { all: unset; display: block; }

/* ---- Prose max-width ---- */
.section-prose p,
.bio-text p,
.close-body p,
.faq-answer p,
.day-90-caveat,
.rev-share-body p {
  max-width: 65ch;
}

/* ---- Tabular numerals for figures ---- */
.figure-unit,
.door-price,
.slot-counter {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* ---- Hidden logos strip ---- */
.social-proof-logos { margin-top: 40px; }
.logos-strip {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.logo-slot {
  width: 120px;
  height: 40px;
  background: var(--color-warm-gray-line);
  border-radius: 2px;
}
.logo {
  max-height: 40px;
  width: auto;
  filter: grayscale(1) opacity(0.7);
  transition: filter 200ms ease-out;
}
.logo:hover { filter: grayscale(0) opacity(1); }

/* ---- Entrance animation: fade-up on scroll ---- */
/* Applied via JS IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Ochre accent on section headers ---- */
.section-header h2 {
  position: relative;
}
/* Subtle ochre underline on H2 in light sections */
#who-i-am .section-header h2::after,
#what-this-is-not .section-header h2::after,
#faq .section-header h2::after,
#three-doors .section-header h2::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--color-ochre);
  margin-top: 0.625rem;
  border-radius: 1px;
}

/* ---- Day-90 section: dark, Fraunces heading ---- */
#day-90 h2 {
  font-family: var(--font-display);
}

/* ---- Close section: dark, large Fraunces ---- */
#close h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
}

/* ---- Mobile: suppress section left-rule on small screens ---- */
@media (max-width: 639px) {
  section .container::before {
    display: none;
  }
}

/* ---- Track H polish ---- */

/* What-this-is-not: ochre dashes on list items */
#what-this-is-not .not-list li::before,
#what-this-is-not .not-list li::marker {
  color: var(--color-ochre);
}
/* If using custom dash pseudo-element */
.not-list li {
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
}
.not-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-ochre);
  font-weight: 400;
}

/* Who-this-is-for: same ochre dash treatment */
.fit-list li,
.not-fit-list li {
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
}
.fit-list li::before,
.not-fit-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-ochre);
  font-weight: 400;
}

/* Day-90 list: ochre bullet */
.day-90-list li {
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
}
.day-90-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-ochre);
  font-weight: 400;
}

/* Close section: more breathing room */
#close {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
#close h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 2rem;
}

/* Footer: ochre top border, proper spacing */
.site-footer {
  border-top: 2px solid var(--color-ochre);
  padding-top: 56px;
  padding-bottom: 48px;
}

/* Nav: ochre accent on CTA button */
#sticky-nav .btn-primary {
  background: var(--color-white);
  color: var(--color-charcoal);
  border: 1px solid var(--color-ochre);
}
#sticky-nav .btn-primary:hover {
  background: var(--color-ochre);
  color: var(--color-white);
}

/* Mobile: suppress section left-rule on very small screens */
@media (max-width: 480px) {
  section .container::before {
    display: none;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Proof panel labels: ochre accent */
.proof-panel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ochre);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* Systems-running: ochre eyebrow override for live dot */
#systems-running .eyebrow {
  color: var(--color-ochre);
}
#systems-running .eyebrow::before {
  background: var(--color-ochre);
}

/* FAQ: ochre accent on open item */
.faq-item[open] {
  border-left: 2px solid var(--color-ochre);
  padding-left: calc(0.5rem + 2px);
}
