/* ============================================================
   RedZoan Consulting — Stylesheet · v2
   Implements design audit (May 2026).
   Changes vs v1 are flagged inline with "AUDIT" notes.
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  /* Surfaces — widened tonal gap, slight warm bias (AUDIT §3) */
  --bg:           #0F0F10;
  --bg-section:   #161617;
  --bg-card:      #1B1B1D;
  --bg-card-hi:   #222225;
  --bg-alt:       #0A0A0B;

  /* Lines */
  --line:         rgba(255,255,255,0.06);
  --line-strong:  rgba(255,255,255,0.10);

  /* Type — warmed; muted lifted to AA-safe (AUDIT §3, §7) */
  --text-primary: #F2EEEA;
  --text-body:    #C7C2BD;
  --text-label:   #908A86;
  --text-muted:   #8E8E8E;   /* AUDIT §7 — prose use, AA on bg */
  --text-low:     #6E6864;   /* labels ≥14px bold only */

  /* Brand */
  --red:          #8B0000;
  --red-hot:      #C3372C;   /* AUDIT §3 — desaturated from #FF2A2A */
  --red-glow:     rgba(195, 55, 44, 0.35);
  --red-subtle:   rgba(139, 0, 0, 0.12);
  --red-faint:    rgba(195, 55, 44, 0.10);

  /* Tactical accent — for framework codes, effort tags, dates (AUDIT §3) */
  --amber:        #C89A5B;
  --amber-faint:  rgba(200, 154, 91, 0.12);

  --border:       var(--line);
  --border-red:   rgba(139, 0, 0, 0.5);

  /* Fonts — Space Grotesk + Inter + JetBrains Mono (AUDIT §2) */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  --nav-h:        72px;
  --max-w:        1160px;
  --section-py:   112px;
  --radius:       3px;        /* AUDIT §6 — unified from 2px/4px mix */

  --transition:   0.18s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;                /* AUDIT §2 — tightened from 1.7 */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Skip link (AUDIT §7) ───────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red-hot);
  color: #fff;
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ── Typography scale (AUDIT §2) ────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.12;
  letter-spacing: -0.022em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); line-height: 1.25; }

p { margin: 0; }

/* ── Shared section styles ──────────────────────────────────── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-py) 24px;
}

/* AUDIT §2 — section label now mono (was Montserrat caps).
   Standardized letter-spacing tier: 0.18em for eyebrow labels. */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-hot);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--red-hot);
}

.section-headline {
  margin-bottom: 20px;
}

.section-intro {
  max-width: 640px;
  color: var(--text-body);
  margin-bottom: 56px;
  line-height: 1.65;
  font-size: 1.025rem;
}

/* ── Buttons (AUDIT §3 — softer hover) ──────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover {
  background: #a80000;
  border-color: #a80000;
  transform: translateY(-1px);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 3px;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--line-strong);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 3px;
}

.btn-submit {
  width: 100%;
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  padding: 16px;
  font-size: 0.85rem;
  letter-spacing: 0.10em;
  margin-top: 8px;
}
.btn-submit:hover { background: #a80000; border-color: #a80000; }
.btn-submit:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── NAVIGATION ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

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

/* AUDIT §8 — wordmark replaces 6MB logo render */
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  text-transform: uppercase;
}
.wordmark .mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.wordmark .mark svg { width: 100%; height: 100%; display: block; }
.wordmark .red { color: var(--red-hot); }
.wordmark .sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  font-weight: 500;
  color: var(--text-label);
  text-transform: uppercase;
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links li a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-label);
  transition: color var(--transition);
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--text-primary); }
.nav-links li a:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 3px;
  border-radius: 2px;
}

.nav-cta {
  color: var(--text-primary) !important;
  border: 1px solid var(--line-strong);
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition) !important;
}
.nav-cta:hover {
  border-color: var(--red-hot) !important;
  background: var(--red-subtle);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO (AUDIT §1) ────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-alt);
  overflow: hidden;
}

/* AUDIT §1 — grid overlay REMOVED entirely. */

/* AUDIT §1 — radial glow dimmed, repositioned. */
#hero::after {
  content: '';
  position: absolute;
  top: 30%;
  left: -15%;
  width: 55%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(139,0,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  width: 100%;
}

.hero-content { max-width: 700px; }

.hero-content .section-label { margin-bottom: 22px; }

.hero-content h1 {
  margin-bottom: 22px;
  letter-spacing: -0.022em;       /* AUDIT §2 — was -0.03em */
  line-height: 1.06;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--red-hot);
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}

.hero-sub {
  font-size: 1.075rem;
  color: var(--text-body);
  margin-bottom: 28px;             /* AUDIT §4 — was 44px */
  max-width: 580px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* AUDIT §1 — vertical line: static, dim, single hairline */
.hero-line {
  position: absolute;
  right: 36px;
  top: 96px;
  bottom: 96px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--line-strong) 20%,
    var(--line-strong) 80%,
    transparent 100%
  );
  /* AUDIT §1 — pulse animation REMOVED */
}

/* ── CREDIBILITY / STATS (AUDIT §1, §5) ─────────────────────── */
#credibility {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* AUDIT §1 — employer strip is the credentialing element; lift opacity */
.employer-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.employer {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: rgba(242, 238, 234, 0.70);   /* AUDIT §1 — was 0.25 */
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.employer-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
  margin: 0 28px;
}

/* AUDIT §5 — featured stat + 4 supporting layout */
.stats-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 0;
  margin-bottom: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-card {
  padding: 32px 24px;          /* AUDIT §4 — was 40 × 28 */
  background: var(--bg-card);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background var(--transition);
}
.stat-card:last-child { border-right: none; }
.stat-card.featured {
  background: var(--bg-card-hi);
  border-right: 1px solid var(--line-strong);
}

/* AUDIT §5 — label above number; mono label */
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-label);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  line-height: 1.5;
  order: 1;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1;
  order: 2;
}
.stat-card.featured .stat-number {
  font-size: clamp(2.2rem, 3.4vw, 2.8rem);
  color: var(--red-hot);
}

.cred-supporting {
  max-width: 680px;
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  padding-left: 20px;
  border-left: 2px solid var(--red);
}

/* ── SERVICES ───────────────────────────────────────────────── */
#services {
  background: var(--bg-section);
}

.service-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);     /* keep — see AUDIT §3 praise */
  border-radius: var(--radius);
  padding: 40px;                        /* AUDIT §4 — was 48 */
  transition: border-top-color var(--transition), transform var(--transition);
}
.service-card:hover {
  border-top-color: var(--red-hot);
  /* AUDIT §3 — drop the heavy red glow */
  transform: translateY(-1px);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.service-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-subtle);
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  color: var(--red-hot);
}

/* AUDIT §2 — small caps service label moves to mono */
.service-type-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-label);
}

.service-card-title {
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-card-body {
  color: var(--text-body);
  margin-bottom: 32px;
  line-height: 1.7;
}

.service-includes {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-includes li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}
.service-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.service-proof {
  padding: 20px;
  border-left: 3px solid var(--red);
  background: rgba(139, 0, 0, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 36px;
}

.services-footnote {
  text-align: center;
  margin-top: 32px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.services-footnote a {
  color: var(--red-hot);
  text-decoration: underline;
  text-decoration-color: rgba(195, 55, 44, 0.4);
  text-underline-offset: 3px;
}
.services-footnote a:hover { text-decoration-color: var(--red-hot); }

/* ── ABOUT (AUDIT §5) ───────────────────────────────────────── */
#about {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

/* AUDIT §5 — photo left of text, eye-line into the copy */
.about-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 64px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-text p {
  color: var(--text-body);
  line-height: 1.7;
}

.about-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* AUDIT §5 — pull quote for the 3rd Herd voice beat */
.about-pullquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text-primary);
  padding: 8px 0 8px 22px;
  border-left: 2px solid var(--red-hot);
  margin: 12px 0;
  max-width: 32ch;
}
.about-pullquote .accent { color: var(--red-hot); }
.about-pullquote .sub {
  display: block;
  margin-top: 6px;
  font-size: 0.78em;
  color: var(--text-label);
  font-weight: 500;
  letter-spacing: 0;
}

/* AUDIT §8 — square headshot, 1px line frame, no red glow */
.about-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.headshot-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  /* AUDIT §8 — red glow ring removed */
}
.headshot-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* AUDIT §8 — caption replaced with mono metadata strip */
.headshot-meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding-top: 4px;
}
.headshot-meta dt {
  color: var(--text-low);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
}
.headshot-meta dd { color: var(--text-primary); }

/* AUDIT §1 — credentials strip is now résumé only; audience descriptor moves to copy */
.credentials-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.credential {
  flex: 1 1 160px;
  padding: 22px 22px;
  background: var(--bg-card);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.credential:last-child { border-right: none; }

.credential-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}

.credential-period {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-label);
  letter-spacing: 0.04em;
}

/* ── OUR APPROACH (AUDIT §5) ────────────────────────────────── */
#philosophy {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.approach-intro {
  max-width: 720px;
  color: var(--text-body);
  margin-bottom: 48px;
  line-height: 1.7;
  font-size: 1.025rem;
}

/* AUDIT §5 — phase row: hairline left border, mono PHASE tag, right-aligned meta */
.approach-phase {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition);
}
.approach-phase::before {
  content: '';
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 2px;
  background: var(--red);
  transition: background var(--transition);
}
.approach-phase:hover { border-color: var(--line-strong); }
.approach-phase[open]::before,
.approach-phase:hover::before { background: var(--red-hot); }
.approach-phase:last-child { margin-bottom: 0; }

.approach-phase > summary {
  padding: 26px 32px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  outline: none;
}
.approach-phase > summary::-webkit-details-marker { display: none; }
.approach-phase > summary::marker                 { display: none; }
.approach-phase > summary:focus-visible {
  box-shadow: inset 0 0 0 2px var(--red-hot);    /* AUDIT §7 — was 2px, kept; ensure contrast */
}
.approach-phase[open] > summary { padding-bottom: 8px; }

.approach-phase-header {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: baseline;
  gap: 24px;
}

/* AUDIT §5 — giant 01/02/03 numeral REMOVED; mono tag in its place */
.approach-phase-number {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-hot);
  white-space: nowrap;
}

.approach-phase-titles { min-width: 0; }

.approach-phase-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.4rem);
  letter-spacing: -0.015em;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.approach-phase-tagline {
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.5;
}

/* AUDIT §5 — right-aligned workshops + duration meta */
.approach-phase-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text-label);
  text-transform: uppercase;
  text-align: right;
  align-self: center;
}
.approach-phase-meta strong {
  display: block;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

/* AUDIT §5 — chevron REMOVED; rely on native details state.
   We add a subtle plus/minus indicator via CSS only. */
.approach-phase-toggle {
  display: none;
}

.approach-phase-body-wrap {
  padding: 16px 32px 36px 32px;
}

.approach-phase-body {
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 28px;
}

.approach-workshops-label,
.approach-deliverables-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-label);
  margin-bottom: 16px;
}

.approach-workshops,
.approach-deliverables-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.approach-workshops li,
.approach-deliverables-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  list-style: none;
}

.approach-workshops li::before,
.approach-deliverables-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.workshop-name,
.deliverable-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.96rem;
  letter-spacing: -0.005em;
}

/* AUDIT §3 — workshop-note pill moves to amber (category tag, not emphasis) */
.workshop-note {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(200, 154, 91, 0.4);
  background: var(--amber-faint);
  border-radius: 2px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}

.approach-deliverables {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.approach-deliverables-list em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.75em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 1px 7px;
  border: 1px solid rgba(200, 154, 91, 0.35);
  border-radius: 2px;
  margin: 0 2px;
}

.approach-deliverables-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-label);
  letter-spacing: 0.01em;
}
.approach-deliverables-note em {
  font-style: italic;
  color: var(--text-primary);
}

/* ── CONTACT ────────────────────────────────────────────────── */
#contact { background: var(--bg); }

.contact-sub {
  max-width: 640px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 48px;
  font-size: 1.025rem;
}

/* AUDIT §5 — promote "limited number of clients" line to a real differentiator */
.contact-positioning {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 48px;
  max-width: 720px;
}
.contact-positioning-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-label);
  margin-bottom: 10px;
}
.contact-positioning p {
  font-size: 1.025rem;
  color: var(--text-primary);
  line-height: 1.55;
  font-weight: 500;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-label);
}

.required-mark { color: var(--red-hot); margin-left: 2px; }
.label-optional {
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.18);
}

.form-status {
  font-size: 0.88rem;
  min-height: 1.2em;
}
.form-status.success { color: #7fb583; }
.form-status.error   { color: var(--red-hot); }
.form-status a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Honeypot — visually hidden, kept in the DOM so bots fill it. */
.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Turnstile widget — invisible mode renders nothing visible, but keep
   the slot so visible-mode fallback (during dev) doesn't break layout. */
.form-turnstile {
  margin: 8px 0 4px;
}

.contact-alt {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 4px;
}

.contact-alt-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-alt-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-label);
}

.contact-alt-item a {
  font-size: 0.98rem;
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.15);
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-color var(--transition);
}
.contact-alt-item a:hover {
  color: var(--red-hot);
  text-decoration-color: var(--red-hot);
}

/* ── FOOTER (AUDIT §9 — add callsign line) ──────────────────── */
#footer {
  background: var(--bg-alt);
  border-top: 2px solid var(--red);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer-logo .wordmark { font-size: 0.88rem; }
.footer-logo .wordmark .mark { width: 36px; height: 36px; }
.footer-logo .wordmark .sub { display: none; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.footer-nav a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-label);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--text-primary); }
.footer-nav a:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 3px;
}

/* AUDIT §9 — callsign line */
.footer-callsign {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-label);
  margin-bottom: 10px;
}
.footer-callsign .dot {
  color: var(--red-hot);
  margin: 0 8px;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-low);
  letter-spacing: 0.04em;
}

/* ── REDUCED MOTION (AUDIT §7) ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-line { animation: none; }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card:nth-child(odd)  { border-right: 1px solid var(--line); }
  .stat-card:nth-child(even) { border-right: none; }
  .stat-card:nth-last-child(-n+2) { border-bottom: none; }
  .stat-card { border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-visual {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    align-items: center;
  }
  .headshot-wrap { width: 160px; }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .approach-phase-header {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .approach-phase-meta { text-align: left; }
}

@media (max-width: 700px) {
  :root { --section-py: 72px; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 14px 24px;
    font-size: 0.8rem;
  }
  .nav-links li a:hover { background: rgba(255, 255, 255, 0.04); }
  .nav-cta {
    margin: 8px 24px !important;
    text-align: center;
    border: 1px solid var(--line-strong) !important;
    padding: 12px !important;
  }

  #navbar { position: fixed; }
  .nav-hamburger { display: flex; }

  .hero-line { display: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card.featured { grid-column: 1 / -1; }

  .employer-strip {
    justify-content: center;
  }
  .employer { font-size: 1.1rem; }
  .employer-divider { margin: 0 14px; }

  .service-card { padding: 32px 24px; }

  .credentials-strip { flex-direction: column; }
  .credential {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .credential:last-child { border-bottom: none; }

  .approach-phase > summary {
    padding: 22px 24px;
  }
  .approach-phase-body-wrap {
    padding: 12px 24px 28px 24px;
  }

  .wordmark { font-size: 0.85rem; }
  .wordmark .sub { display: none; }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .stat-card:last-child { border-bottom: none; }
  .stat-card.featured { grid-column: auto; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }

  .about-visual {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .headshot-wrap { width: 100%; max-width: 280px; }
}
