/* css/overrides.css — layered corrections that re-skin earlier rules (v3 editorial
 * pass, then the warmth/clarity pass) plus small shared bits whose domain is not
 * tied to one section. MUST load last. Order = original cascade order:
 * site-v3.css → site-additions.css (shared bits, dark graph chapter) →
 * site-clarity.css → site-v11.css (.cite). */

/* ← site-v3.css */
/* ============================================================================
 * site-v3.css — Direction C: editorial / asymmetric re-skin.
 * Scoped entirely under body.v3 so Nama Site v2 is untouched. Loaded AFTER
 * site-sections.css so it overrides the flat-white system with a left "index
 * spine" (giant numbered section marks + vertical rule), mono eyebrows,
 * serif headline accents, and editorial chips / hairline data rows.
 * ========================================================================== */

/* ── left index spine ──
   Numbers + rule are injected as REAL nodes (.ed-ix / .ed-rule) by the inline
   script in the HTML, not CSS counters — counter() loses context under the
   DOM-cloning screenshot renderer, and real nodes are bulletproof anyway. */
@media (min-width: 820px) {
  body.v3 .sec:not(.s-manifesto):not(.s-cta):not(.s-graph):not(.s-quote) > .wrap {
    padding-left: 168px;
    padding-top: 104px;
    padding-bottom: 104px;
  }
  body.v3 .s-proof > .wrap { padding-top: 104px; padding-bottom: 104px; }

  /* giant section index, sitting in the spine, cap-aligned with the eyebrow */
  body.v3 .ed-ix {
    position: absolute; left: 48px; top: 90px; pointer-events: none;
    font-size: 72px; font-weight: 600; line-height: 0.82;
    letter-spacing: -0.04em; color: #D7DAE0;
  }
  /* vertical hairline running the height of the section */
  body.v3 .ed-rule {
    position: absolute; left: 128px; top: 100px; bottom: 100px;
    width: 1px; background: #E4E4E7;
  }
}

/* ── mono eyebrow (running-header voice) ── */
body.v3 .sec .eyebrow2 {
  font-family: var(--font-mono); font-weight: 500; font-size: 12px;
  letter-spacing: 0.18em; color: #71717A; margin-bottom: 22px;
}
body.v3 .sec .eyebrow2 .ed-sec { color: #2684FF; font-weight: 600; margin-right: 1px; }

/* ── headline scale up + serif accents on the editorial beats ── */
body.v3 .sec h2 {
  font-size: clamp(34px, 3.4vw, 52px); line-height: 1.03;
  letter-spacing: -0.026em; max-width: 720px;
}
body.v3 .s-gov h2,
body.v3 .s-story h2,
body.v3 .s-art h2 {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-weight: 600; letter-spacing: -0.014em;
}
body.v3 .sec .lead { font-size: 17px; color: #52525B; max-width: 600px; }

/* ── S2 · customers / stats ── */
body.v3 .s-proof .lab { font-family: var(--font-mono); letter-spacing: 0.16em; color: #71717A; }
body.v3 .s-proof .stat { border-top: 1px solid #09090B; padding-top: 20px; }
body.v3 .s-proof .stat .n { font-size: 58px; letter-spacing: -0.04em; }
body.v3 .s-proof .stat .c { font-family: var(--font-mono); letter-spacing: 0.06em; font-weight: 500; }

/* ── S7 · verticals → slash-separated editorial list ── */
body.v3 .s-gov .grid { grid-template-columns: 1fr 1fr; gap: 64px; }
body.v3 .s-gov .chips { display: block; margin-top: 26px; }
body.v3 .s-gov .chip {
  display: inline; background: none; border: none; border-radius: 0; padding: 0;
  font-size: 19px; font-weight: 600; color: #18181B; letter-spacing: -0.012em;
  white-space: nowrap; line-height: 1.9; margin-right: 0;
}
body.v3 .s-gov .ed-sep { color: #D4D4D8; font-weight: 400; font-size: 19px; margin: 0 14px; }

/* ── governance panel → hairline KEY rows, no card ── */
body.v3 .s-gov .panel {
  background: none; border: none; border-radius: 0; padding: 0;
}
body.v3 .s-gov .panel h3 {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: #9CA1AB; margin-bottom: 4px;
}
body.v3 .s-gov .panel ul { gap: 0; }
body.v3 .s-gov .panel li {
  border-top: 1px solid #E4E4E7; padding: 15px 0; font-size: 15.5px; color: #18181B;
}
body.v3 .s-gov .panel li:last-of-type { border-bottom: 1px solid #E4E4E7; }
body.v3 .s-gov .panel li svg { color: #2684FF; }
body.v3 .s-gov .connectors { margin-top: 24px; padding-top: 22px; border-top: 1px solid #E4E4E7; }
body.v3 .s-gov .connectors .lbl { font-family: var(--font-mono); }

/* ── S7b · timeline → mono years ── */
body.v3 .s-story .ms .yr { font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.02em; }
body.v3 .s-story .ms.hi::before { box-shadow: 0 0 0 4px rgba(38,132,255,0.16); }

/* ── S3 · how it works · keep flow, mono step numbers ── */
body.v3 .s-how .step .num { font-family: var(--font-mono); }

/* ── S4 · platform concepts · mono nothing, just inherit spine ── */
body.v3 .s-arch .concept h3 { letter-spacing: -0.01em; }

/* ── S6 · capabilities · cards follow the shared 12px kit ── */
body.v3 .s-caps .card { border-radius: 12px; }

/* ── dark beats: mono micro-labels for consistency ── */
body.v3 .s-manifesto .gap h3 { letter-spacing: -0.005em; }
body.v3 .s-cta .cta-reassure { font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ── mobile: drop the spine, restore comfortable padding ── */
@media (max-width: 819px) {
  body.v3 .sec:not(.s-manifesto):not(.s-cta):not(.s-graph):not(.s-quote) > .wrap {
    padding-left: 24px; padding-top: 72px; padding-bottom: 72px;
  }
  body.v3 .s-gov .grid { grid-template-columns: 1fr; }
  body.v3 .ed-ix, body.v3 .ed-rule { display: none; }
}

/* ← site-additions.css · shared small bits */
/* ── shared small bits ── */
.eyebrow2 .ed-sec { color: #80B4FF; }
.kquote {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: clamp(20px, 1.9vw, 27px); line-height: 1.36; font-weight: 500;
  letter-spacing: -0.005em; color: #0B1220; margin: 0; text-wrap: balance;
}

/* ← site-additions.css · body.v3 dark graph chapter — keeps its position relative to site-v3/site-clarity */
/* ════════ S · knowledge graph promoted to a DARK chapter divider ════════
   Dark beats (manifesto · this · CTA) break the long light run and spotlight
   the temporal-reasoning differentiator. Excluded from the editorial index
   spine (see inline script + site-v3.css) so it reads as an interlude. */
body.v3 .s-graph { background: #06090F; color: #EAF0FA; overflow: hidden; }
body.v3 .s-graph .glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(80% 75% at 30% 35%, rgba(38,132,255,0.16) 0%, transparent 58%),
    linear-gradient(180deg, #0A0F1A 0%, #06090F 70%, #04060B 100%);
}
body.v3 .s-graph .const { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
body.v3 .s-graph .wrap { position: relative; z-index: 1; }
body.v3 .s-graph .eyebrow2 { color: #8A99B5; }
body.v3 .s-graph h2 { color: #F4F8FF; }
body.v3 .s-graph .lead { color: #AEBBD2; }
body.v3 .s-graph .g-pts li { color: #C3CEE0; }
body.v3 .s-graph .g-pts li b { color: #F4F8FF; }
body.v3 .s-graph .g-pts li svg { color: #80B4FF; }
body.v3 .s-graph .kquote { color: #F4F8FF; border-top-color: rgba(159,176,199,0.18); }
body.v3 .s-graph .kquote .hl { color: #80B4FF; }

/* ← site-clarity.css */
/* ============================================================================
 * site-clarity.css — warmth + clarity pass. MUST load last.
 * The v3 "editorial spine" (giant 01/02 index numbers, the long vertical rule,
 * the wide left gutter and the cold mono eyebrows) read as noise and made the
 * page feel rigid. This strips the spine and warms the labels so a visitor can
 * tell what Nama does at a glance.
 * ========================================================================== */

/* 1 · remove the left index spine (numbers + rule) and its gutter ---------- */
body.v3 .ed-ix,
body.v3 .ed-rule { display: none !important; }
@media (min-width: 820px) {
  body.v3 .sec:not(.s-manifesto):not(.s-cta):not(.s-graph):not(.s-quote) > .wrap {
    padding-left: 48px;
  }
}

/* 2 · warm the section eyebrows — plain sans, brand blue, no § tick -------- */
body.v3 .sec .eyebrow2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #006ADF;
  margin-bottom: 16px;
}
body.v3 .sec .eyebrow2 .ed-sec { display: none; }

/* 3 · de-mono the small captions that felt cold --------------------------- */
body.v3 .s-proof .lab,
body.v3 .s-proof .stat .c,
body.v3 .s-story .ms .yr,
body.v3 .s-cta .cta-reassure { font-family: var(--font-sans); }
body.v3 .s-proof .lab { letter-spacing: 0.1em; }

/* 4 · internal page-hero — warm eyebrow + crumb, drop the § --------------- */
.ph-eyebrow {
  font-family: var(--font-sans) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  color: var(--brand-300) !important;
}
.ph-eyebrow .s { display: none; }
.ph-crumb { font-family: var(--font-sans); }

/* 5 · explore-more label — plain ------------------------------------------ */
.morenav .mn-lab {
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ← site-v11.css · .cite — generic inline citation pill, used outside the trust section too */
.cite { display: inline-block; border-radius: 6px; background: #EFF6FF; color: #0050B0; padding: 0 6px; font-size: 12px; font-weight: 700; font-family: var(--font-mono); vertical-align: 1px; }
