/* ─────────────────────────────────────────
   DAVID CONSULTING SERVICES — Design System
   ───────────────────────────────────────── */

/* CSS Custom Properties */
:root {
  --paper:        #F8F6F1;
  --paper-alt:    #F0EDE6;
  --ink:          #141210;
  --ink-soft:     #2A2622;
  --muted:        #6B6460;
  --muted-light:  #9E9890;
  --border:       #E2DDD6;
  --border-soft:  #EDE9E2;
  --accent:       #B8451C;
  --accent-hover: #9A3A17;
  --accent-pale:  rgba(184,69,28,0.08);
  --dark:         #0F0D0B;
  --dark-mid:     #1A1714;
  --dark-border:  rgba(255,255,255,0.07);
  --dark-muted:   rgba(255,255,255,0.45);
  --card:         #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Sora', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  --max-w: 1200px;
  --nav-h: 72px;
  --radius: 2px;
  --transition: 0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Grain texture ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ── Typography Classes ── */
.t-display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.t-display-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.t-section {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.t-section-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.t-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.t-body-lg {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.75;
}
.t-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section {
  padding: 7rem 0;
  background: var(--paper);
}
.section--dark {
  padding: 7rem 0;
  background: var(--dark);
  color: #fff;
}
.section--cream {
  padding: 7rem 0;
  background: var(--paper-alt);
}
.section--accent {
  padding: 7rem 0;
  background: var(--accent);
  color: #fff;
}
.section--sm {
  padding: 4rem 0;
}

/* ── Section Label ── */
.label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}
.label--muted { color: var(--muted); }
.label--dark-muted { color: var(--dark-muted); }

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}
.divider--dark {
  border-top-color: var(--dark-border);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn-ghost--light {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost--light:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(248,246,241,0.85);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgba(248,246,241,0.95);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 400;
  border-radius: 2px;
  flex-shrink: 0;
}
.nav__logo-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav__link:hover { color: var(--ink); }
.nav__link.active { color: var(--ink); }
.nav__cta {
  margin-left: 0.5rem;
  font-size: 0.85rem;
  padding: 0.65rem 1.4rem;
}

/* ── Hamburger ── */
.nav__hamburger {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.nav__hamburger-line,
.nav__hamburger-line::before,
.nav__hamburger-line::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__hamburger-line::before,
.nav__hamburger-line::after {
  content: '';
  left: 0;
}
.nav__hamburger-line::before { top: -6px; }
.nav__hamburger-line::after  { top:  6px; }

.nav__hamburger.open .nav__hamburger-line { background: transparent; }
.nav__hamburger.open .nav__hamburger-line::before { transform: rotate(45deg); top: 0; }
.nav__hamburger.open .nav__hamburger-line::after  { transform: rotate(-45deg); top: 0; }

/* ── Mobile overlay ── */
.nav__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,18,16,0.5);
  z-index: 990;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav__mobile-overlay.active {
  opacity: 1;
}

/* ── Mobile panel ── */
.nav__mobile-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--paper);
  border-left: 1px solid var(--border);
  z-index: 995;
  padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.nav__mobile-panel.open {
  right: 0;
}
.nav__mobile-link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--ink-soft);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-soft);
  transition: color var(--transition);
}
.nav__mobile-link:hover { color: var(--accent); }
.nav__mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius);
  margin-top: 1.25rem;
  text-align: center;
  transition: background var(--transition);
}
.nav__mobile-cta:hover { background: var(--accent-hover); }
.nav__mobile-contact {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nav__mobile-contact a,
.nav__mobile-contact span {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
}
.nav__mobile-contact a:hover { color: var(--accent); }

/* ── Hero ── */
.hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 6rem;
  background: var(--paper);
  overflow: hidden;
}
.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: 5rem;
  align-items: start;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  max-width: 560px;
}
.hero__accent-line {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 2.5rem;
}
.hero__ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero visual */
.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}
.hero__photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0;
}
.hero__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* Privacy-safe background-image replacement for David's photo */
.photo-bg {
  width: 100%;
  height: 100%;
  background-image: url('../images/david.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.hero__stat {
  padding: 1rem 0.75rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.hero__stat:last-child { border-right: none; }
.hero__stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--ink);
  line-height: 1;
  display: block;
}
.hero__stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 0.3rem;
}

/* ── Problem Cards ── */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--dark-border);
  border: 1px solid var(--dark-border);
  margin-top: 3rem;
}
.problem__card {
  background: var(--dark-mid);
  padding: 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.problem__card-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--dark-muted);
}
.problem__card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.3;
}
.problem__card-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--dark-muted);
}

/* ── What I Do ── */
.wid__intro {
  max-width: 640px;
  margin-bottom: 3rem;
}
.wid__intro p {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}
.wid__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}
.wid__col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-right: 1.5rem;
  border-right: 1px solid var(--border-soft);
}
.wid__col:last-child { border-right: none; padding-right: 0; }
.wid__col-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.wid__col-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.3;
}
.wid__col-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Programs ── */
.programs__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.programs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  align-items: stretch;
}
.program-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.program-card--dark {
  background: var(--dark);
  color: #fff;
}
.program-card--light {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--ink);
}
.program-card__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.program-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.program-card--dark .program-card__quote { color: #fff; }
.program-card--light .program-card__quote { color: var(--ink); }
.program-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--dark-border);
}
.program-card--light .program-card__meta {
  border-top-color: var(--border);
}
.program-card__outcome {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
}
.program-card--dark .program-card__outcome { color: rgba(255,255,255,0.9); }
.program-card__who {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--muted);
}
.program-card--dark .program-card__who { color: var(--dark-muted); }
.program-card__cta {
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition);
}
.program-card__cta:hover { gap: 0.6rem; }
.programs__footnote {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2rem;
  font-style: italic;
}

/* ── Signal Cards ── */
.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.signal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color var(--transition);
}
.signal-card:hover { border-color: var(--accent); }
.signal-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.signal-card__badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  color: #fff;
  flex-shrink: 0;
}
.badge--critical { background: #B8451C; }
.badge--urgent   { background: #D4562A; }
.badge--active   { background: #2D6A4F; }

.signal-card__days {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted-light);
}
.signal-card__cat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.signal-card__company {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.25;
}
.signal-card__signal {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}
.signal-card__bottom {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.signal-card__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.signal-card__meta-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.signal-card__meta-value {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.signal-card__bar {
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  margin-top: 0.75rem;
  overflow: hidden;
}
.signal-card__bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 1px;
}

/* ── Stats Grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.12);
  margin-top: 3rem;
}
.stat-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--dark-muted);
}

/* ── About Section ── */
.about-grid {
  display: grid;
  grid-template-columns: 42fr 58fr;
  gap: 5rem;
  align-items: start;
}
.about__photo {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.about__photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about__stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 1rem;
}
.about__stat {
  padding: 0.85rem 0.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.about__stat:last-child { border-right: none; }
.about__stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  display: block;
}
.about__stat-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}
.about__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about__text h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.about__text p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.about__credentials {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  margin-top: 0.5rem;
}
.about__cred {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.about__cred::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
}

/* ── Steps ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
  border: 1px solid var(--border);
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 2rem;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
}
.step__content {}
.step__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.step__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Steps dark variant */
.steps--dark {
  border-color: var(--dark-border);
}
.steps--dark .step {
  border-bottom-color: var(--dark-border);
}
.steps--dark .step__title { color: #fff; }
.steps--dark .step__body { color: var(--dark-muted); }

/* ── Outcome Banner ── */
.outcome-banner {
  background: var(--accent-pale);
  border: 1px solid rgba(184,69,28,0.2);
  padding: 1.75rem 2rem;
  text-align: center;
  margin-top: 2rem;
}
.outcome-banner p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--accent);
}

/* ── Checklist ── */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.checklist__item::before {
  content: '✓';
  color: #2D6A4F;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── Qual Cards ── */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2.5rem;
}
.qual-card {
  background: var(--paper);
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.qual-card__icon {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.qual-card__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ── FAQ Accordion ── */
.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
.faq__question:hover { color: var(--accent); }
.faq__question-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
}
.faq__question-icon::before,
.faq__question-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq__question-icon::before { width: 12px; height: 1.5px; top: 9px; left: 4px; }
.faq__question-icon::after  { width: 1.5px; height: 12px; left: 9px; top: 4px; }
.faq__question[aria-expanded="true"] .faq__question-icon::after { transform: rotate(90deg); opacity: 0; }
.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.3s ease;
}
.faq__answer.open {
  max-height: 400px;
}
.faq__answer-inner {
  padding-bottom: 1.5rem;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ── Guarantee Section ── */
.guarantee-box {
  background: var(--accent);
  color: #fff;
  padding: 3.5rem;
  text-align: center;
}
.guarantee-box h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}
.guarantee-box p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
  opacity: 0.9;
}
.guarantee-box .sub-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.7;
  font-style: italic;
}

/* ── CTA Section ── */
.cta-section {
  padding: 8rem 0;
  background: var(--dark);
  text-align: center;
}
.cta__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.cta__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--dark-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.cta__point {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--dark-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.cta__point::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
}
.cta__contact {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--dark-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta__contact a {
  color: var(--dark-muted);
  transition: color var(--transition);
}
.cta__contact a:hover { color: #fff; }
.cta__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}
.cta__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  transition: border-color var(--transition), color var(--transition);
}
.cta__social-link:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  background: var(--dark);
  color: #fff;
}
.page-hero--light {
  background: var(--paper);
  color: var(--ink);
}
.page-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}
.page-hero__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.page-hero--light .page-hero__headline { color: var(--ink); }
.page-hero__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--dark-muted);
  max-width: 620px;
  margin-bottom: 2.5rem;
}
.page-hero--light .page-hero__sub { color: var(--muted); }
.page-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(184,69,28,0.15);
  border: 1px solid rgba(184,69,28,0.3);
  color: #E8A088;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.75rem;
  display: block;
  width: fit-content;
}
.page-hero__aside {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--dark-muted);
}
.page-hero--light .page-hero__aside { color: var(--muted-light); }

/* ── Problem blocks ── */
.problem-blocks {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}
.problem-block {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--card);
}
.problem-block__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.problem-block__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Delivery components ── */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.delivery-card {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.delivery-card__num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.delivery-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
}
.delivery-card__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Signal blocks (signal-intelligence page) ── */
.signal-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 2.5rem;
}
.signal-block {
  padding: 2rem 2rem 2.25rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.signal-block:nth-child(2n) { border-right: none; }
.signal-block:nth-last-child(-n+2) { border-bottom: none; }
.signal-block__cat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.signal-block__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
}
.signal-block__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Methodology steps ── */
.method-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--dark-border);
  padding-top: 2.5rem;
}
.method-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.method-step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
}
.method-step__content {}
.method-step__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.method-step__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--dark-muted);
}

/* ── Principles ── */
.principles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.principle {
  padding: 1.75rem 2rem;
  border: 1px solid var(--dark-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.principle__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: #fff;
}
.principle__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--dark-muted);
}

/* ── About Hero (about page) ── */
.about-hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 6rem;
  background: var(--paper);
}
.about-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 5rem;
  align-items: start;
}

/* ── Geography ── */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2rem;
}
.geo-item {
  background: var(--paper);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.geo-item__city {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  display: block;
}
.geo-item__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 0.25rem;
}

/* ── Footer ── */
.footer {
  background: var(--ink);
  padding: 2rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__copy {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer__social-link {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: color var(--transition), border-color var(--transition);
}
.footer__social-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.footer__domain {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer__domain:hover { color: rgba(255,255,255,0.6); }

/* ── Disqualifier note ── */
.disqualifier {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--muted);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}
.disqualifier a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ── Scarcity note ── */
.scarcity-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(184,69,28,0.05);
  border: 1px solid rgba(184,69,28,0.2);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Signal count ── */
.signal-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 2rem;
  display: block;
}
.signal-count span { color: var(--accent); font-weight: 500; }

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────── */

/* 1024px */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero__visual {
    max-width: 420px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about__photo {
    position: static;
    max-width: 380px;
  }
  .about-hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .programs__grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.12); }
  .signal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile-overlay { display: block; }
  .delivery-grid { grid-template-columns: 1fr; }
  .geo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 768px */
@media (max-width: 768px) {
  .section, .section--dark, .section--cream, .section--accent, .cta-section { padding: 5rem 0; }
  .container { padding: 0 1.5rem; }
  .hero { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 4rem; }
  .hero__inner { padding: 0 1.5rem; }
  .hero__headline { font-size: clamp(2.4rem, 8vw, 3.8rem); }
  .problem__grid { grid-template-columns: 1fr; gap: 1px; }
  .wid__grid { grid-template-columns: 1fr; gap: 0; border-top: none; padding-top: 0; }
  .wid__col { border-right: none; padding-right: 0; border-bottom: 1px solid var(--border-soft); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
  .wid__col:last-child { border-bottom: none; margin-bottom: 0; }
  .qual-grid { grid-template-columns: 1fr; gap: 1px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .signal-blocks { grid-template-columns: 1fr; }
  .signal-block { border-right: none; }
  .signal-block:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .signal-block:last-child { border-bottom: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat:nth-child(2) { border-right: none; }
  .hero__stat:nth-child(3) { border-top: 1px solid var(--border); }
  .about__stats-row { grid-template-columns: repeat(2, 1fr); }
  .about__stat:nth-child(2) { border-right: none; }
  .about__stat:nth-child(3) { border-top: 1px solid var(--border); }
  .page-hero { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 4rem; }
  .about-hero { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 4rem; }
  .about-hero__inner { padding: 0 1.5rem; }
  .signal-grid { grid-template-columns: 1fr; }
  .cta__points { align-items: flex-start; padding: 0 1rem; }
}

/* 480px */
@media (max-width: 480px) {
  .t-display, .t-display-italic { font-size: clamp(2.2rem, 8vw, 3rem); }
  .t-section, .t-section-italic { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-item:last-child { border-bottom: none; }
  .step { grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.75rem 1.25rem; }
  .program-card { padding: 2rem 1.5rem; }
  .guarantee-box { padding: 2.5rem 1.5rem; }
  .geo-grid { grid-template-columns: repeat(2, 1fr); }
  .nav__inner { padding: 0 1.25rem; }
  .container { padding: 0 1.25rem; }
}

/* 375px */
@media (max-width: 375px) {
  :root { --nav-h: 64px; }
  .hero__headline { font-size: 2.1rem; }
  .nav__logo-text { display: none; }
}
