/* Cybersecurity Group — editorial stylesheet
   Ink / cream / oxblood. Serif headlines, sans body. */

:root {
  --ink: #0a0d10;
  --ink-2: #2a2f34;
  --ink-3: #5a6069;
  --rule: rgba(10, 13, 16, 0.22);
  --rule-strong: rgba(10, 13, 16, 0.55);
  --cream: #f5f1ea;
  --cream-2: #e6dfd1;
  --paper: #fbf8f2;
  --white: #ffffff;
  /* Brand colors from the logo */
  --navy: #04111f;
  --navy-2: #0b1d34;
  --navy-soft: rgba(4, 17, 31, 0.04);
  --gold: #c49a2a;
  --gold-2: #d9b148;
  --gold-soft: rgba(196, 154, 42, 0.14);
  --accent: #04111f;       /* primary accent = brand navy */
  --accent-ink: #020a14;
  --accent-soft: rgba(4, 17, 31, 0.06);
  --signal: #c49a2a;       /* highlight signal = brand gold */
  --alert: #7a1b28;        /* reserved for warnings/alerts */

  --serif: 'IBM Plex Serif', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --max: 1180px;
  --max-narrow: 780px;
  --max-reading: 680px;

  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 88px;

  --t: 180ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: 'kern' 1, 'liga' 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule-strong);
  transition: color var(--t), text-decoration-color var(--t);
}
a:hover { color: var(--accent); text-decoration-color: var(--accent); }

::selection { background: var(--accent); color: var(--paper); }

/* ─ Typography ─────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.22rem; font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 600; font-family: var(--sans); letter-spacing: -0.005em; }

p { margin: 0 0 1em; max-width: var(--max-reading); }
p + p { margin-top: 0; }

strong { font-weight: 600; }

ul, ol { padding-left: 1.1em; margin: 0 0 1.2em; }
li { margin-bottom: 0.45em; max-width: var(--max-reading); }

hr { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }

blockquote {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.5;
  border-left: 2px solid var(--accent);
  padding: 0.3em 1.3em;
  margin: 2rem 0;
  color: var(--ink-2);
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--cream-2);
  padding: 0.1em 0.35em;
  border-radius: 2px;
}

/* ─ Layout ─────────────────────────────────────────── */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: var(--max-narrow); }
.wrap--reading { max-width: var(--max-reading); }

section { padding: clamp(56px, 9vw, 120px) 0; }
section.tight { padding: clamp(32px, 5vw, 56px) 0; }

.rule { border-top: 1px solid var(--rule); }
.rule-strong { border-top: 1px solid var(--ink); }

/* ─ Eyebrow / numbered markers ─────────────────────── */

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
}

.num {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

.num::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--ink-3); vertical-align: middle; margin-right: 10px; transform: translateY(-2px); }

/* ─ Navigation ─────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  height: 72px;
}
.nav-brand:hover { text-decoration: none; opacity: 0.82; }
.nav-logo { height: 68px; width: auto; max-width: 310px; display: block; }
@media (max-width: 820px) { .nav-logo { height: 58px; max-width: 260px; } }
@media (max-width: 520px) { .nav-logo { height: 48px; max-width: 220px; } }

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}
.nav-links li { margin: 0; }

.nav-links a {
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--t), border-color var(--t);
}
.nav-links a:hover { color: var(--ink); border-color: var(--ink); }
.nav-links a.active { color: var(--ink); border-color: var(--accent); }

.nav-cta {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 9px 18px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background var(--t), color var(--t);
}
.nav-cta:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    padding: 24px var(--gutter);
    gap: 14px;
    align-items: flex-start;
  }
  .nav-open .nav-cta {
    display: inline-flex;
    margin: 18px var(--gutter) 28px;
  }
}

/* ─ Buttons ────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 500;
  padding: 12px 22px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--cream);
  transition: background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
}
.btn:hover { background: var(--ink); border-color: var(--gold); color: var(--gold); text-decoration: none; }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.btn--accent { background: var(--navy); border-color: var(--navy); color: var(--cream); box-shadow: 3px 3px 0 var(--gold); }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); color: var(--gold); box-shadow: 3px 3px 0 var(--gold-2); }

.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--navy); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.5rem; }

.arrow::after { content: ' →'; display: inline; }

/* ─ Hero (editorial, no gradient) ──────────────────── */

.hero {
  padding: clamp(64px, 11vw, 140px) 0 clamp(48px, 9vw, 96px);
  border-bottom: 1px solid var(--rule);
}
.hero .eyebrow { margin-bottom: 1.8rem; }
.hero h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  max-width: 14ch;
  margin-bottom: 1.6rem;
}
.hero-lede {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
  margin-bottom: 2.2rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 4vw, 48px);
  padding-top: 1.8rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.hero-meta strong { color: var(--ink); font-weight: 600; }

/* ─ Numbered list / services strip ─────────────────── */

.numbered-list { border-top: 2px solid var(--navy); }
.numbered-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(28px, 4vw, 44px) clamp(8px, 1.5vw, 20px);
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  transition: background var(--t), border-left-color var(--t), padding-left var(--t);
  border-left: 4px solid transparent;
  position: relative;
}
.numbered-item:hover { background: var(--paper); text-decoration: none; border-left-color: var(--gold); padding-left: clamp(14px, 2vw, 26px); }
.numbered-item:hover .numbered-title { color: var(--navy); }
.numbered-item:hover .numbered-num { color: var(--navy); }

.numbered-num {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold);
  padding-top: 0.1em;
  line-height: 1;
  transition: color var(--t);
}

.numbered-main h3, .numbered-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-bottom: 0.4em;
  transition: color var(--t);
}
.numbered-desc {
  font-size: 0.98rem;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
}
.numbered-meta {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink-2);
  text-align: right;
  padding-top: 0.55em;
  white-space: nowrap;
}
.numbered-meta strong { display: block; color: var(--ink); font-weight: 600; font-size: 1.02rem; }

@media (max-width: 720px) {
  .numbered-item { grid-template-columns: 56px 1fr; }
  .numbered-meta { grid-column: 1 / -1; text-align: left; padding-top: 0.6em; }
}

/* ─ Two-column article layout (service pages) ──────── */

.split {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(32px, 6vw, 80px);
}
.split-aside {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  align-self: start;
  font-family: var(--sans);
  font-size: 0.92rem;
}
.split-aside .eyebrow { margin-bottom: 0.8rem; }
.split-aside ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.split-aside li { margin: 0; border-top: 1px solid var(--rule); }
.split-aside li:last-child { border-bottom: 1px solid var(--rule); }
.split-aside li a {
  display: block;
  padding: 10px 0;
  font-size: 0.93rem;
  color: var(--ink-2);
  text-decoration: none;
}
.split-aside li a:hover { color: var(--accent); }
.split-aside li a.active { color: var(--ink); font-weight: 600; }

.split-price {
  background: var(--navy);
  color: var(--cream);
  padding: 1.1rem 1.2rem 1.3rem;
  margin-bottom: 1.4rem;
  border-left: 4px solid var(--gold);
}
.split-price-label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.split-price-amount { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; margin-top: 4px; color: var(--cream); }
.split-price-amount small { font-family: var(--sans); font-size: 0.88rem; font-weight: 400; color: rgba(245,241,234,0.7); }

.split-main h2 { margin: 2.2rem 0 0.8rem; }
.split-main h2:first-child { margin-top: 0; }
.split-main h3 { margin: 1.6rem 0 0.4rem; }
.split-main p { max-width: 62ch; }
.split-main ul { max-width: 62ch; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-aside { position: static; border-bottom: 1px solid var(--rule); padding-bottom: 1.4rem; }
}

/* ─ Card grid (insights, general) ──────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin-top: 2.2rem;
}

.card {
  display: block;
  padding: 1.6rem 0 1.8rem;
  border-top: 1px solid var(--ink);
  text-decoration: none;
  color: var(--ink);
  transition: color var(--t);
}
.card-meta { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.75rem; }
.card h3 { font-size: 1.35rem; font-weight: 500; line-height: 1.25; margin-bottom: 0.6em; transition: color var(--t); }
.card p { font-size: 0.96rem; color: var(--ink-2); max-width: none; }
.card:hover { text-decoration: none; }
.card:hover h3 { color: var(--accent); }
.card-cta { display: inline-block; margin-top: 0.8rem; font-family: var(--sans); font-size: 0.88rem; font-weight: 500; color: var(--accent); }

/* ─ FAQ (accordion-free, definition list) ──────────── */

.faq-list { border-top: 1px solid var(--ink); margin-top: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--rule); padding: 1.4rem 0; }
.faq-item h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; margin-bottom: 0.5em; }
.faq-item p { color: var(--ink-2); max-width: 70ch; }

/* ─ Industries row (minimal, no icons) ─────────────── */

.industry-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.industry-cell {
  padding: 1.4rem 1rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-2);
  border-right: 1px solid var(--rule);
  text-align: center;
}
.industry-cell:last-child { border-right: 0; }
.industry-cell strong { display: block; font-family: var(--serif); font-size: 1.08rem; color: var(--ink); font-weight: 500; margin-bottom: 3px; }

/* ─ Forms ──────────────────────────────────────────── */

.field { display: block; margin-bottom: 1.4rem; }
.field label { display: block; font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ─ Footer ─────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--ink);
  background: var(--cream);
  padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px);
  margin-top: clamp(48px, 8vw, 96px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 3rem;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.footer-brand { display: inline-block; margin-bottom: 1rem; color: var(--ink); text-decoration: none; }
.footer-logo { height: 56px; width: auto; max-width: 270px; display: block; }
.footer-about { font-size: 0.92rem; color: var(--ink-2); max-width: 36ch; }

.footer-col h5 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0 0 0.5em; }
.footer-col a { color: var(--ink-2); text-decoration: none; font-size: 0.94rem; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--ink-3);
}
.footer-bottom a { color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--rule); }
.footer-bottom a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* ─ Utility ────────────────────────────────────────── */

.muted { color: var(--ink-3); }
.small { font-size: 0.88rem; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.center { text-align: center; }

.pill {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--cream-2);
  color: var(--ink-2);
  border-radius: 2px;
  margin-right: 4px;
  margin-bottom: 4px;
}
.pill--accent { background: var(--navy); color: var(--gold); font-weight: 600; }
.pill--gold { background: var(--gold); color: var(--navy); font-weight: 600; }

.callout {
  background: var(--paper);
  border-left: 2px solid var(--accent);
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
  font-size: 0.96rem;
  color: var(--ink-2);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ─ Inverted sections (dark background, cream text) ───── */

.dark {
  background: var(--navy);
  color: var(--cream);
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
/* Use full cream (no alpha) for readable dark-section copy */
.dark h1, .dark h2, .dark h3, .dark h4, .dark h5 { color: #ffffff; }
.dark .eyebrow, .dark .num { color: var(--gold); border-bottom-color: var(--gold); }
.dark .num::before { background: var(--gold); }
.dark p, .dark li { color: #f5f1ea; }
.dark .small { color: rgba(245, 241, 234, 0.85); }
.dark strong { color: #ffffff; font-weight: 600; }
.dark a { color: var(--gold-2); text-decoration-color: var(--gold); }
.dark a:hover { color: #ffffff; text-decoration-color: #ffffff; }
.dark .btn { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 600; }
.dark .btn:hover { background: #ffffff; border-color: #ffffff; color: var(--navy); }
.dark .btn--ghost { background: transparent; color: #ffffff; border-color: var(--gold); }
.dark .btn--ghost:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.dark .rule, .dark hr { border-top-color: rgba(196,154,42,0.45); }
.dark .callout { background: rgba(255,255,255,0.06); border-left-color: var(--gold); color: #f5f1ea; }
.dark .muted { color: rgba(245, 241, 234, 0.85) !important; }

/* ─ Media: portraits + figures ────────────────────────── */

.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: grayscale(40%) contrast(1.08);
  transition: filter var(--t);
}
.portrait:hover { filter: grayscale(0%) contrast(1.08); }

.figure {
  margin: 0;
}
.figure img { display: block; width: 100%; height: auto; }
.figure figcaption {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  margin-top: 12px;
}

@media (max-width: 720px) {
  .founder-snap { grid-template-columns: 1fr !important; }
  .founder-snap figure { max-width: 260px; }
}

.hero-split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.hero-split > .hero-split-media img {
  width: 100%;
  height: auto;
  display: block;
}
/* Hero (homepage) — text + cybersecurity illustration */
.hero-portrait {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.hero-portrait-text { padding-right: clamp(0px, 2vw, 24px); }
.hero-illustration {
  position: relative;
  max-width: 460px;
  margin-left: auto;
  width: 100%;
}
.hero-illustration::before {
  content: '';
  position: absolute;
  inset: -16px -16px auto auto;
  width: 80px;
  height: 80px;
  background: var(--gold);
  z-index: 0;
}
.hero-illustration::after {
  content: '';
  position: absolute;
  inset: auto auto -16px -16px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--navy);
  z-index: 0;
}
.hero-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  background: var(--paper);
  border: 1px solid var(--navy);
}
@media (max-width: 880px) {
  .hero-portrait { grid-template-columns: 1fr; }
  .hero-illustration { max-width: 360px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split-media { order: -1; max-width: 320px; }
}
.hero-primary {
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 60%);
  position: relative;
  overflow: hidden;
}
.hero-primary::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 30%;
  background: var(--cream-2);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-primary .wrap { position: relative; z-index: 1; }
@media (max-width: 860px) { .hero-primary::before { display: none; } }

/* ─ Strengthened utilities for contrast ───────────────── */

.bold { font-weight: 600; }
.contrast-border { border: 1px solid var(--ink); }

/* ─ Portal mock (client-portal landing illustration) ─── */
.portal-mock {
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 var(--gold), 8px 8px 0 1px var(--ink);
  max-width: 460px;
  margin-left: auto;
  font-family: var(--sans);
}
.portal-mock-bar {
  background: var(--navy);
  padding: 8px 10px;
  display: flex; gap: 6px;
}
.portal-mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(245,241,234,0.35); }
.portal-mock-bar span:first-child { background: var(--gold); }
.portal-mock-body { display: grid; grid-template-columns: 130px 1fr; min-height: 240px; }
.portal-mock-side { background: var(--navy); color: var(--cream); padding: 12px 12px 16px; }
.pm-logo { padding-bottom: 12px; border-bottom: 1px solid rgba(245,241,234,0.12); margin-bottom: 12px; }
.pm-logo img { width: 100%; height: auto; }
.pm-nav { display: flex; flex-direction: column; gap: 6px; font-size: 0.72rem; }
.pm-link { color: rgba(245,241,234,0.55); padding: 4px 6px; border-left: 2px solid transparent; }
.pm-link em { float: right; background: var(--gold); color: var(--navy); font-style: normal; font-size: 0.62rem; padding: 0 5px; border-radius: 2px; font-weight: 700; }
.pm-link.active { color: var(--cream); border-left-color: var(--gold); background: rgba(196,154,42,0.12); }
.portal-mock-main { padding: 16px 18px; background: var(--paper); }
.pm-row { display: flex; gap: 16px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.pm-row > div { flex: 1; }
.pm-row:last-of-type { border-bottom: 0; }
.pm-label { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.pm-strong { font-family: var(--serif); font-size: 0.95rem; font-weight: 500; color: var(--navy); margin-top: 2px; }
.pm-bar { height: 6px; background: var(--cream-2); margin-top: 8px; }
.pm-bar-fill { height: 100%; background: var(--gold); }
@media (max-width: 880px) {
  .portal-mock { max-width: 320px; margin: 0 auto; }
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
}
@media (max-width: 820px) { .three-col { grid-template-columns: 1fr; } }

.four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 820px) { .four-col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .four-col { grid-template-columns: 1fr; } }

/* ─ Two-column split that collapses on mobile ─────────── */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.split-2-right {
  border-left: 1px solid var(--rule);
  padding-left: clamp(24px, 4vw, 56px);
}
@media (max-width: 820px) {
  .split-2 { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 44px); }
  .split-2-right { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: clamp(24px, 5vw, 36px); }
}

/* ─ Mobile polish ─────────────────────────────────────── */

/* Prevent horizontal overflow from any stray wide element */
html, body { overflow-x: hidden; }

/* Larger touch targets on mobile for nav links */
@media (max-width: 820px) {
  .nav-open .nav-links a { padding: 10px 0; font-size: 1rem; }
  .nav-open .nav-cta { padding: 12px 22px; }
}

/* Hero tuning on phones */
@media (max-width: 720px) {
  .hero { padding: clamp(40px, 10vw, 72px) 0 clamp(32px, 7vw, 56px); }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.8rem); max-width: 18ch; margin-bottom: 1.1rem; }
  .hero-lede { font-size: clamp(1rem, 4vw, 1.15rem); margin-bottom: 1.6rem; }
  .hero-portrait { gap: 32px; }
  .hero-illustration { max-width: 100%; }
  .hero-illustration::before, .hero-illustration::after { width: 56px; height: 56px; }
  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    padding-top: 1.4rem;
    font-size: 0.82rem;
  }
  .hero-meta > div { padding: 10px 0; border-top: 1px solid var(--rule); }
  .hero-meta > div:first-child,
  .hero-meta > div:nth-child(2) { border-top: 0; padding-top: 0; }
}
@media (max-width: 420px) {
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta > div { border-top: 1px solid var(--rule); padding: 10px 0; }
  .hero-meta > div:first-child { border-top: 0; padding-top: 0; }
}

/* Buttons: full-width stack on narrow screens for easier tapping */
@media (max-width: 480px) {
  .btn-row { gap: 10px; }
  .btn-row .btn { width: 100%; justify-content: center; padding: 14px 20px; }
}

/* Mobile simplification: drop the decorative hero illustration on phones,
   tighten hero padding, and hide kicker descriptions for a calmer scroll. */
@media (max-width: 720px) {
  .hero-primary { padding-top: clamp(48px, 10vw, 80px); padding-bottom: clamp(32px, 7vw, 56px); }
  .hero-primary .hero-illustration { display: none; }
  .hero-portrait { grid-template-columns: 1fr; gap: 0; }
  .hero-primary h1 { font-size: clamp(2.1rem, 8.4vw, 2.9rem); max-width: 16ch; }
  .kicker-cell { padding: 1.2rem 1rem; gap: 0.3rem; }
  .kicker-desc { display: none; }
}

/* Section padding tightens on phones */
@media (max-width: 720px) {
  section { padding: clamp(44px, 10vw, 72px) 0; }
  h2 { font-size: clamp(1.4rem, 6vw, 1.85rem); }
}

/* Numbered service list — tighter on phones, meta moves beneath title */
@media (max-width: 720px) {
  .numbered-item {
    grid-template-columns: 44px 1fr;
    padding: 22px 6px;
    gap: 14px;
  }
  .numbered-num { font-size: 1.5rem; }
  .numbered-main h3, .numbered-title { font-size: 1.2rem; }
  .numbered-desc { font-size: 0.94rem; }
  .numbered-meta { grid-column: 2 / -1; padding-top: 0.8em; font-size: 0.84rem; }
}

/* Footer: cleaner single-column on small phones */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 2rem; }
  .footer-bottom { justify-content: flex-start; }
}

/* Ensure 16px form inputs on mobile to stop iOS zoom-on-focus */
@media (max-width: 720px) {
  .field input, .field textarea, .field select { font-size: 16px; }
}

/* ──────────────────────────────────────────────────────────────────────
   v3 polish: refined typography, new components, motion
   ────────────────────────────────────────────────────────────────────── */

:root {
  --slate: #1e2a3a;
  --slate-soft: #f0ebe1;
  --stone: #8a8f96;
  --hairline: rgba(10, 13, 16, 0.10);
  --t-slow: 320ms cubic-bezier(0.2, 0.6, 0.2, 1);
  --section-pad: clamp(72px, 10vw, 144px);
}

body { font-size: 17.5px; line-height: 1.65; }

h1 {
  font-weight: 600;
  letter-spacing: -0.028em;
}

.numbered-meta strong,
.kicker-num {
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  padding-bottom: 8px;
  border-bottom-width: 1.5px;
  border-bottom-color: var(--gold);
  position: relative;
}
.eyebrow::after {
  content: '';
  position: absolute;
  bottom: -1.5px;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

main > section { padding: var(--section-pad) 0; }

/* Sticky nav: subtle blur for modern boutique register */
.site-header {
  border-bottom: 1px solid var(--hairline);
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
}
.nav-cta {
  letter-spacing: 0.02em;
  padding: 10px 20px;
  font-weight: 600;
}

/* Hero refinement */
.hero-primary {
  padding-top: clamp(80px, 12vw, 168px);
  padding-bottom: clamp(56px, 9vw, 112px);
}
.hero-primary h1 {
  font-size: clamp(2.6rem, 6.6vw, 4.8rem);
  max-width: 13ch;
  margin-bottom: 1.4rem;
}
.hero-primary .hero-lede {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 50ch;
}

/* Pulse on the gold sweep arc inside the hero SVG */
@media (prefers-reduced-motion: no-preference) {
  .hero-svg path[stroke="#c49a2a"] {
    animation: csg-sweep 6s ease-in-out infinite;
    transform-origin: 240px 278px;
  }
}
@keyframes csg-sweep {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* Credentials strip */
.cred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 1.2rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-top: 2.4rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  align-items: center;
  justify-content: space-between;
}
.cred-strip span { padding: 4px 0; white-space: nowrap; }
.cred-strip .cred-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  display: inline-block;
  margin: 0 4px;
  transform: rotate(45deg);
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .cred-strip { font-size: 0.68rem; gap: 6px 12px; padding: 1rem 0; }
  .cred-strip .cred-dot { display: none; }
}

/* Kicker-stat row */
.kicker-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin: 2.4rem 0;
}
.kicker-cell {
  padding: 1.8rem 1.4rem;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.kicker-cell:last-child { border-right: 0; }
.kicker-num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.kicker-num em {
  color: var(--gold);
  font-style: normal;
  font-weight: 500;
}
.kicker-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.kicker-desc {
  font-size: 0.92rem;
  color: var(--ink-2);
  margin-top: 0.2rem;
  max-width: 28ch;
}
@media (max-width: 820px) {
  .kicker-row { grid-template-columns: 1fr 1fr; }
  .kicker-cell:nth-child(2) { border-right: 0; }
  .kicker-cell:nth-child(1), .kicker-cell:nth-child(2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 480px) {
  .kicker-row { grid-template-columns: 1fr; }
  .kicker-cell { border-right: 0; border-bottom: 1px solid var(--rule); }
  .kicker-cell:last-child { border-bottom: 0; }
}

/* Editorial pull-quote */
.pullquote {
  margin: clamp(48px, 7vw, 88px) 0;
  padding: clamp(28px, 5vw, 56px) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
}
.pullquote-mark {
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}
.pullquote-text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--ink);
  max-width: 28ch;
  margin-bottom: 1.2rem;
}
.pullquote-cite {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Refined insight cards */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
}
.insight-card {
  display: block;
  padding: 1.8rem clamp(20px, 2.5vw, 32px) 2rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: background var(--t), padding var(--t);
}
.insight-card:hover { background: var(--paper); text-decoration: none; }
.insight-card:hover h3 { color: var(--navy); }
.insight-card:hover .insight-cta { color: var(--navy); }
.insight-card:hover .insight-cta::after { transform: translateX(4px); }

.insight-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 3px 0;
  border-bottom: 1px solid var(--gold);
  margin-bottom: 1.4rem;
}
.insight-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.012em;
  margin-bottom: 0.7rem;
  transition: color var(--t);
}
.insight-card p {
  font-size: 0.95rem;
  color: var(--ink-2);
  margin-bottom: 1.4rem;
  max-width: none;
}
.insight-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.insight-cta {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: color var(--t);
}
.insight-cta::after {
  content: ' →';
  display: inline-block;
  margin-left: 4px;
  transition: transform var(--t);
}

/* Numbered service list — slightly more refined hover */
.numbered-item {
  transition: background var(--t), border-left-color var(--t), padding-left var(--t-slow);
}
.numbered-item:hover {
  border-left-color: var(--gold);
  padding-left: clamp(20px, 2.5vw, 32px);
}
.numbered-num { font-weight: 400; font-size: 2.1rem; }

/* Buttons: refined hover */
.btn--accent {
  letter-spacing: 0.01em;
  font-weight: 600;
  padding: 13px 24px;
  box-shadow: 4px 4px 0 var(--gold);
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
}
.btn--accent:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--gold-2);
}
.btn--ghost { font-weight: 600; letter-spacing: 0.01em; padding: 13px 24px; }

/* Section dividers: hairline + small gold square */
.section-rule {
  border: 0;
  border-top: 1px solid var(--ink);
  margin: 0;
  position: relative;
}
.section-rule::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background: var(--gold);
}

/* Sticky mid-scroll CTA */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  background: var(--navy);
  color: var(--cream);
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 4px 4px 0 var(--gold), 0 8px 28px rgba(4, 17, 31, 0.18);
  transform: translateY(120%);
  opacity: 0;
  transition: transform var(--t-slow), opacity var(--t-slow), box-shadow var(--t);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sticky-cta.visible { transform: translateY(0); opacity: 1; }
.sticky-cta:hover {
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--gold-2), 0 10px 32px rgba(4, 17, 31, 0.22);
}
.sticky-cta::after { content: ' →'; }
@media (max-width: 600px) {
  .sticky-cta { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
}

/* Fade-up reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--t-slow), transform var(--t-slow);
  }
  .reveal.in { opacity: 1; transform: translateY(0); }
}

/* Dark-band heading refinement */
.dark .eyebrow { color: var(--gold); border-bottom-color: var(--gold); }
.dark h2 { font-weight: 600; }
.dark h4 {
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(196, 154, 42, 0.4);
}

/* Hero meta refinement */
.hero-meta {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.hero-meta strong {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.005em;
  font-size: 0.98rem;
}

/* ──────────────────────────────────────────────────────────────────────
   v4 redesign: enterprise capability framing
   ────────────────────────────────────────────────────────────────────── */

/* Hero — dark variant for an authoritative opening band */
.hero-dark {
  background: var(--navy);
  color: var(--cream);
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: clamp(96px, 14vw, 184px) 0 clamp(72px, 10vw, 128px);
  position: relative;
  overflow: hidden;
}
.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(196,154,42,0.10), transparent 45%),
    linear-gradient(135deg, rgba(196,154,42,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,241,234,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,241,234,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  opacity: 0.7;
}
.hero-dark .wrap { position: relative; z-index: 1; }
.hero-dark .eyebrow {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.hero-dark .eyebrow::after { background: var(--cream); }
.hero-dark h1 {
  color: var(--cream);
  font-size: clamp(2.4rem, 6.4vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.05;
  max-width: 18ch;
  margin-bottom: 1.6rem;
}
.hero-dark h1 em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}
.hero-dark .hero-lede {
  color: rgba(245,241,234,0.86);
  font-size: clamp(1.12rem, 1.8vw, 1.36rem);
  max-width: 56ch;
  margin-bottom: 2.4rem;
}
.hero-dark .btn { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 600; box-shadow: none; }
.hero-dark .btn:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.hero-dark .btn--ghost { background: transparent; color: var(--cream); border-color: rgba(245,241,234,0.38); }
.hero-dark .btn--ghost:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.hero-dark .btn--accent { box-shadow: 4px 4px 0 rgba(245,241,234,0.18); }
.hero-dark .btn--accent:hover { box-shadow: 5px 5px 0 var(--cream); }

/* Coordinate strip — military precision header lockup under hero */
.coord-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245,241,234,0.18);
  margin-top: 3rem;
  padding-top: 1.4rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.6);
}
.coord-strip > div { border-right: 1px solid rgba(245,241,234,0.12); padding: 0 1.2rem; }
.coord-strip > div:first-child { padding-left: 0; }
.coord-strip > div:last-child { border-right: 0; }
.coord-strip strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.96rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cream);
  font-weight: 600;
  margin-top: 0.3rem;
}
@media (max-width: 720px) {
  .coord-strip { grid-template-columns: 1fr 1fr; gap: 1px 0; }
  .coord-strip > div { border-right: 0; padding: 0.6rem 1rem 0.6rem 0; border-bottom: 1px solid rgba(245,241,234,0.12); }
  .coord-strip > div:nth-child(odd) { padding-right: 0.6rem; padding-left: 0; border-right: 1px solid rgba(245,241,234,0.12); }
}

/* Capability grid — five doctrinal pillars */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-top: 2.8rem;
}
.cap-cell {
  padding: 2.2rem 1.5rem 2rem;
  border-right: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background var(--t), color var(--t);
  position: relative;
}
.cap-cell:last-child { border-right: 0; }
.cap-cell:hover { background: var(--paper); text-decoration: none; }
.cap-cell:hover .cap-num { color: var(--navy); }
.cap-cell:hover .cap-arrow { transform: translateX(4px); color: var(--navy); }
.cap-num {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  transition: color var(--t);
}
.cap-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-top: 0.4rem;
}
.cap-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: none;
  margin: 0.2rem 0 1rem;
}
.cap-arrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: auto;
  transition: transform var(--t), color var(--t);
  display: inline-block;
}
@media (max-width: 980px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-cell { border-bottom: 1px solid var(--rule); }
  .cap-cell:nth-child(even) { border-right: 0; }
  .cap-cell:nth-last-child(-n+1) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap-cell { border-right: 0; border-bottom: 1px solid var(--rule); padding: 1.6rem 0.4rem; }
  .cap-cell:last-child { border-bottom: 0; }
}

/* Sector grid — industries served, refined */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2.4rem;
  border-top: 1px solid var(--ink);
}
.sector-cell {
  padding: 1.8rem 1.4rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.sector-cell:nth-child(4n) { border-right: 0; }
.sector-name {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.sector-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 820px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-cell { border-right: 0; }
  .sector-cell:nth-child(odd) { border-right: 1px solid var(--rule); }
}

/* Engagement model — how an engagement runs */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2.4rem;
  position: relative;
}
.phase-cell {
  padding: 0 1.6rem 0 0;
  border-left: 1px solid rgba(245,241,234,0.18);
  padding-left: 1.4rem;
}
.phase-cell:first-child { border-left: 1px solid var(--gold); }
.phase-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.phase-title {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.phase-desc {
  font-size: 0.92rem;
  color: rgba(245,241,234,0.78);
  margin: 0;
}
@media (max-width: 880px) {
  .phase-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 0; }
  .phase-cell:nth-child(3) { border-left: 1px solid var(--gold); }
}
@media (max-width: 540px) {
  .phase-grid { grid-template-columns: 1fr; gap: 1.4rem 0; }
}

/* Trust strip — credentials/affiliations */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 2rem 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.trust-strip strong { color: var(--ink); font-family: var(--sans); font-size: 0.94rem; letter-spacing: -0.005em; text-transform: none; font-weight: 600; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; }
.trust-item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .trust-strip { gap: 0.8rem; font-size: 0.72rem; }
}

/* Section eyebrow with serial number */
.section-mark {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.section-mark::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
.dark .section-mark { color: var(--gold); }
.dark .section-mark::before { background: var(--cream); }

/* Engagement page — large index numbers */
.idx-list { border-top: 1px solid var(--ink); margin-top: 2rem; }
.idx-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(28px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--rule);
}
.idx-num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}
.idx-title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-bottom: 0.6rem;
}
.idx-body p { max-width: 64ch; }
@media (max-width: 600px) {
  .idx-item { grid-template-columns: 60px 1fr; gap: 16px; }
  .idx-num { font-size: 1.8rem; }
}

/* Posture diagram — dark band defense visual */
.posture-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-top: 2.4rem;
}
@media (max-width: 880px) { .posture-callout { grid-template-columns: 1fr; } }
.posture-stat {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.4vw, 3.2rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.posture-cap {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.66);
  margin-bottom: 1.4rem;
}

/* Service-page sidebar — replace price box with engagement summary */
.split-engage {
  background: var(--navy);
  color: var(--cream);
  padding: 1.4rem 1.4rem 1.6rem;
  margin-bottom: 1.4rem;
  border-left: 4px solid var(--gold);
}
.split-engage-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.split-engage-title {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.split-engage-meta {
  font-family: var(--sans);
  font-size: 0.86rem;
  color: rgba(245,241,234,0.78);
  margin: 0;
}

/* ──────────────────────────────────────────────────────────────────────
   v5 plain: restrained professional layout
   Goal: clean, restrained, readable. No italic emphasis in headlines,
   no mono lockups, no dark dramatic bands as the default hero.
   ────────────────────────────────────────────────────────────────────── */

body { background: var(--white); }

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--hairline);
}

.nav-cta {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0;
}
.nav-cta:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Plain hero — light, restrained, no italic emphasis */
.hero-plain {
  padding: clamp(72px, 10vw, 128px) 0 clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--hairline);
  background: var(--white);
}
.hero-plain .hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-bottom: 1.2rem;
  border: 0;
  padding: 0;
  text-transform: none;
}
.hero-plain h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
  margin-bottom: 1.4rem;
}
.hero-plain .hero-lede {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 58ch;
  font-weight: 400;
  margin-bottom: 1.8rem;
}
.hero-plain .btn-row { margin-top: 1.6rem; }

/* Plain section header */
.h-eyebrow {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  margin-bottom: 0.8rem;
  text-transform: none;
  border: 0;
  padding: 0;
  display: block;
}
.h-eyebrow::after { display: none; }

/* Plain card grid for services */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: 2rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 1.6rem 1.6rem 1.4rem;
  text-decoration: none;
  color: var(--ink);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.service-card:hover {
  text-decoration: none;
  border-color: rgba(10,13,16,0.28);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(10,13,16,0.06);
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.service-card p {
  font-family: var(--sans);
  font-size: 0.94rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 0 1.2rem;
  flex: 1;
}
.service-card-link {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  margin-top: auto;
}
.service-card-link::after { content: ' →'; }

/* Three plain points (replaces "phase grid") */
.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: 2rem;
}
@media (max-width: 800px) { .points { grid-template-columns: 1fr; gap: 1.8rem; } }
.points h4 {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.points p {
  font-family: var(--sans);
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 38ch;
  margin: 0;
}

/* Spotlight band (about preview) */
.spotlight {
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 800px) { .spotlight-grid { grid-template-columns: 1fr; } }
.spotlight h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-bottom: 1rem;
  max-width: 22ch;
}
.spotlight p {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 1rem;
  max-width: 56ch;
}

/* Section padding */
.section-plain { padding: clamp(56px, 8vw, 96px) 0; }

/* Override the v4 .section-mark from earlier — make it plain */
.section-mark {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-3);
  margin-bottom: 0.8rem;
  display: block;
  gap: 0;
}
.section-mark::before { display: none; }

/* Plain insight grid override */
.insight-grid-plain {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: 2rem;
  border: 0;
}
.insight-card-plain {
  display: block;
  padding: 1.6rem 1.6rem 1.4rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.insight-card-plain:hover {
  text-decoration: none;
  border-color: rgba(10,13,16,0.28);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(10,13,16,0.06);
}
.insight-card-plain .tag {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  margin-bottom: 0.8rem;
  display: block;
  text-transform: none;
}
.insight-card-plain h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 0.6rem;
  color: var(--ink);
  line-height: 1.25;
}
.insight-card-plain p {
  font-family: var(--sans);
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 1rem;
}
.insight-card-plain .meta {
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--ink-3);
  letter-spacing: 0;
  text-transform: none;
}

/* Trust strip plain */
.trust-plain {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1.4rem 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-2);
}
.trust-plain span { font-weight: 500; }

/* Buttons — restrained */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0;
  padding: 12px 22px;
  background: var(--navy);
  border: 1px solid var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: none;
  transition: background var(--t), border-color var(--t);
}
.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  text-decoration: none;
  transform: none;
  box-shadow: none;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0;
  padding: 12px 22px;
  background: transparent;
  border: 1px solid rgba(10,13,16,0.32);
  color: var(--ink);
  text-decoration: none;
  border-radius: 4px;
  transition: border-color var(--t), background var(--t);
}
.btn-secondary:hover {
  background: var(--paper);
  border-color: var(--ink);
  text-decoration: none;
  color: var(--ink);
}

/* Service-page hero — light replacement for the dark hero */
.svc-hero {
  padding: clamp(72px, 10vw, 128px) 0 clamp(40px, 6vw, 72px);
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
}
.svc-hero .crumb {
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--ink-3);
  margin-bottom: 1rem;
  display: block;
}
.svc-hero .crumb a { color: var(--ink-3); text-decoration: none; }
.svc-hero .crumb a:hover { color: var(--ink); }
.svc-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 24ch;
  margin-bottom: 1.2rem;
  color: var(--ink);
}
.svc-hero .lede {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 58ch;
  margin-bottom: 1.8rem;
}

/* Sidebar engagement summary — plain card */
.svc-summary {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 1.4rem 1.4rem 1.5rem;
  margin-bottom: 1.4rem;
}
.svc-summary-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  margin-bottom: 0.4rem;
  text-transform: none;
}
.svc-summary-title {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.svc-summary-meta {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-2);
  margin: 0;
}

/* Sidebar nav list */
.svc-aside-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
}
.svc-aside-list li {
  margin: 0;
  border-top: 1px solid var(--hairline);
}
.svc-aside-list li:last-child { border-bottom: 1px solid var(--hairline); }
.svc-aside-list li a {
  display: block;
  padding: 0.7rem 0;
  font-family: var(--sans);
  font-size: 0.94rem;
  color: var(--ink-2);
  text-decoration: none;
}
.svc-aside-list li a:hover { color: var(--navy); }
.svc-aside-heading {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin: 1.6rem 0 0.6rem;
  text-transform: none;
}

/* Footer plain — let it stay restrained */
.site-footer { background: var(--white); border-top: 1px solid var(--hairline); }

/* Hide sticky CTA — too noisy for the restrained look */
.sticky-cta { display: none !important; }

/* Hide v4 dark hero gradient/grid backgrounds when used on inner pages */
.hero-dark { display: none !important; }

/* Plain split-main: remove em italic flourishes on inner content */
.split-main h1 em, .split-main h2 em, .svc-hero em, .hero-plain em {
  font-style: normal;
  color: inherit;
}

/* Override the cap-grid (capabilities pillar grid) — make it understated */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  border: 0;
  margin-top: 2rem;
}
.cap-cell {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.cap-cell:hover {
  background: var(--white);
  border-color: rgba(10,13,16,0.28);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(10,13,16,0.06);
}
.cap-num {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  text-transform: none;
}
.cap-name {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-top: 0.3rem;
}
.cap-desc {
  font-family: var(--sans);
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0.3rem 0 1rem;
}
.cap-arrow {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--navy);
  text-transform: none;
  margin-top: auto;
}
.cap-arrow::after { display: none; }

/* Numbered service list — keep but restrained */
.numbered-list { border-top: 1px solid var(--hairline); }
.numbered-item { border-bottom: 1px solid var(--hairline); border-left: 0; }
.numbered-item:hover { background: var(--paper); border-left: 0; padding-left: clamp(8px, 1.5vw, 20px); }
.numbered-num { color: var(--ink-3); font-weight: 400; }
.numbered-item:hover .numbered-num { color: var(--navy); }

/* Eyebrow plainness — neutralize gold underline on .eyebrow inside hero-plain */
.hero-plain .eyebrow { border-bottom: 0; padding-bottom: 0; color: var(--ink-3); text-transform: none; letter-spacing: 0.02em; font-size: 0.84rem; }
.hero-plain .eyebrow::after { display: none; }

/* ──────────────────────────────────────────────────────────────────────
   v6: contrast — dark footer, dark CTA band, gold accents
   ────────────────────────────────────────────────────────────────────── */

/* Dark navy footer (global) */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  border-top: 0;
  padding: clamp(56px, 7vw, 88px) 0 clamp(28px, 4vw, 44px);
  margin-top: 0;
}
.site-footer .footer-brand { color: var(--cream); }
.site-footer .footer-logo { filter: brightness(0) invert(1); opacity: 0.95; }
.site-footer .footer-about { color: rgba(245,241,234,0.72); }
.site-footer .footer-col h5 {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.site-footer .footer-col a {
  color: rgba(245,241,234,0.78);
  text-decoration: none;
  transition: color var(--t);
}
.site-footer .footer-col a:hover { color: #fff; }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(245,241,234,0.16);
  color: rgba(245,241,234,0.6);
}
.site-footer .footer-bottom a {
  color: rgba(245,241,234,0.6);
  text-decoration: none;
}
.site-footer .footer-bottom a:hover { color: #fff; }

/* Dark CTA band — drop above the footer on key pages */
.cta-band {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.cta-band .h-eyebrow {
  color: var(--gold);
  font-weight: 500;
}
.cta-band h2 {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  max-width: 22ch;
  margin-bottom: 1rem;
}
.cta-band p {
  color: rgba(245,241,234,0.82);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 56ch;
  margin-bottom: 1.6rem;
}
.cta-band .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 600;
}
.cta-band .btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}
.cta-band .btn-secondary {
  background: transparent;
  border-color: rgba(245,241,234,0.4);
  color: var(--cream);
}
.cta-band .btn-secondary:hover {
  background: rgba(245,241,234,0.08);
  border-color: var(--cream);
  color: #fff;
}
.cta-band .cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 800px) { .cta-band .cta-grid { grid-template-columns: 1fr; } }
.cta-band .cta-meta {
  font-family: var(--sans);
  font-size: 0.94rem;
  color: rgba(245,241,234,0.72);
}
.cta-band .cta-meta li {
  padding: 0.7rem 0;
  border-top: 1px solid rgba(245,241,234,0.16);
  list-style: none;
}
.cta-band .cta-meta li:last-child {
  border-bottom: 1px solid rgba(245,241,234,0.16);
}
.cta-band .cta-meta strong {
  color: #fff;
  font-weight: 500;
}
.cta-band .cta-meta a { color: rgba(245,241,234,0.78); text-decoration: none; }
.cta-band .cta-meta a:hover { color: #fff; }
.cta-band ul { padding: 0; margin: 1rem 0 0; }

/* Service card — gold accent on hover for color pop */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover h3 { color: var(--navy); }
.service-card:hover .service-card-link { color: var(--gold); font-weight: 600; }

/* Stronger alternating section contrast */
.section-tint {
  background: #f4eee2;
  border-top: 1px solid rgba(10,13,16,0.08);
  border-bottom: 1px solid rgba(10,13,16,0.08);
}

/* Section header with gold accent */
.h-eyebrow-accent {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.h-eyebrow-accent::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* Hero refinement — subtle gold underline accent on hero h1 */
.hero-plain {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--white) 80%);
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.hero-plain::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}

/* Service hero — top accent line so it doesn't blend with nav */
.svc-hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--white) 70%);
  position: relative;
}
.svc-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}

/* Insight cards — subtle navy tag accent */
.insight-card-plain .tag {
  color: var(--navy);
  font-weight: 600;
}
.insight-card-plain:hover {
  border-color: var(--navy);
}
.insight-card-plain:hover h3 { color: var(--navy); }

/* Engagement summary card on service pages — slightly more contrast */
.svc-summary {
  background: var(--navy);
  border: 0;
  border-left: 3px solid var(--gold);
  border-radius: 0;
  color: var(--cream);
}
.svc-summary-label {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.svc-summary-title {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
}
.svc-summary-meta { color: rgba(245,241,234,0.78); }

/* Buttons inside paper sections need the navy-on-cream contrast */
.section-tint .btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.section-tint .btn-primary:hover { background: var(--ink); border-color: var(--ink); }

/* Industry cells — light contrast row */
.industry-row {
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
}
.industry-cell strong { color: var(--navy); }

/* Page hr — gold dot divider */
.divider-gold {
  border: 0;
  height: 1px;
  background: var(--hairline);
  position: relative;
  margin: clamp(48px, 6vw, 80px) 0;
}
.divider-gold::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  background: var(--gold);
}

/* ──────────────────────────────────────────────────────────────────────
   v7: hero split with navy info card for top-of-page contrast
   ────────────────────────────────────────────────────────────────────── */

/* Stronger hero background — visible cream/paper, not near-white */
.hero-plain {
  background:
    linear-gradient(180deg, #f0e8d6 0%, #f7f1e3 100%);
  border-bottom: 1px solid rgba(10,13,16,0.10);
}

/* Hero split layout — text + navy info card */
.hero-split-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 920px) { .hero-split-card { grid-template-columns: 1fr; gap: clamp(32px, 5vw, 48px); } }

.hero-info {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) clamp(28px, 3.5vw, 40px);
  border-left: 3px solid var(--gold);
  position: relative;
  box-shadow: 0 12px 32px rgba(4, 17, 31, 0.14);
}
.hero-info-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: block;
}
.hero-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-info li {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(245,241,234,0.14);
  font-family: var(--sans);
  font-size: 0.92rem;
  color: rgba(245,241,234,0.82);
  line-height: 1.45;
  max-width: none;
}
.hero-info li:last-child {
  border-bottom: 1px solid rgba(245,241,234,0.14);
}
.hero-info li:first-child { border-top: 0; padding-top: 0.5rem; }
.hero-info li:last-child { padding-bottom: 0.5rem; border-bottom: 0; }
.hero-info-key {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.55);
  margin-bottom: 0.25rem;
}
.hero-info-val {
  display: block;
  color: #fff;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
}

/* When hero is split, narrow the lede */
.hero-split-card .hero-lede { max-width: 44ch; }
.hero-split-card h1 { max-width: 16ch; }


/* ══════════════════════════════════════════════════════════════════════
   v4 — Editorial overhaul.
   Adds: oxblood accent, services dropdown, floating portal pill,
   city-photo hero, asymmetric "spread" layout, marginalia, section folio.
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --oxblood: #6b1a23;
  --oxblood-2: #4d121a;
  --bronze: #8a6a2c;
  --fog: #ece6d8;
  --ink-rule: rgba(10, 13, 16, 0.92);
}

/* Section folio: little ─── 01 ─── marker above section headings */
.folio {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.6rem;
}
.folio::before {
  content: '';
  width: 56px;
  height: 1px;
  background: var(--ink);
}
.folio em {
  font-style: normal;
  color: var(--oxblood);
  font-weight: 700;
}
.folio--gold em { color: var(--gold); }
.folio--cream { color: rgba(245, 241, 234, 0.7); }
.folio--cream::before { background: var(--gold); }
.folio--cream em { color: var(--gold); }

/* Heading-rule combo: heading with a tall left rule */
.h-rule {
  border-left: 3px solid var(--oxblood);
  padding-left: clamp(18px, 2.4vw, 28px);
  margin: 0 0 1.6rem;
}
.h-rule h2,
.h-rule h3 { margin: 0; }
.h-rule--gold { border-left-color: var(--gold); }

/* ─ Services dropdown ──────────────────────────────────── */

.nav-item--has-menu { position: relative; }
.nav-item--has-menu > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  margin-left: 7px;
  opacity: 0.6;
  transition: transform var(--t), opacity var(--t);
}
.nav-item--has-menu:hover > a::after,
.nav-item--has-menu.is-open > a::after { opacity: 1; transform: translateY(0) rotate(225deg); }

.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  min-width: 320px;
  background: var(--cream);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--gold), 6px 6px 0 1px var(--ink);
  padding: 14px 0 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
  z-index: 60;
}
.nav-item--has-menu:hover > .nav-menu,
.nav-item--has-menu:focus-within > .nav-menu,
.nav-item--has-menu.is-open > .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .nav-menu-section {
  padding: 6px 22px 10px;
  border-bottom: 1px solid var(--rule);
}
.nav-menu .nav-menu-section:last-child { border-bottom: 0; }
.nav-menu-label {
  display: block;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oxblood);
  font-weight: 700;
  margin: 6px 0 6px;
}
.nav-menu ul { list-style: none; padding: 0; margin: 0; }
.nav-menu li { margin: 0; }
.nav-menu li a {
  display: block;
  padding: 7px 0;
  font-family: var(--sans);
  font-size: 0.94rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 0;
}
.nav-menu li a small {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-top: 1px;
  font-weight: 400;
}
.nav-menu li a:hover { color: var(--oxblood); }
.nav-menu li a:hover small { color: var(--ink-2); }

@media (max-width: 820px) {
  .nav-menu {
    position: static;
    box-shadow: none;
    border: 0;
    border-top: 1px solid var(--rule);
    margin: 6px 0 6px 0;
    padding: 8px 0;
    min-width: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav-open .nav-item--has-menu .nav-menu { display: block; }
  .nav-menu .nav-menu-section { padding: 6px 0 8px; }
  .nav-item--has-menu > a::after { display: none; }
}

/* Portal button promoted in nav */
.nav-portal {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border: 1px solid var(--oxblood);
  color: var(--oxblood);
  background: transparent;
  text-decoration: none;
  text-transform: uppercase;
  transition: background var(--t), color var(--t);
  margin-right: 10px;
  white-space: nowrap;
}
.nav-portal:hover { background: var(--oxblood); color: var(--cream); text-decoration: none; }
.nav-portal::before {
  content: '◆';
  margin-right: 6px;
  color: var(--gold);
  font-size: 0.7em;
}
@media (max-width: 820px) {
  .nav-portal { display: none; }
  .nav-open .nav-portal { display: inline-flex; margin: 6px var(--gutter) 4px; }
}

/* ─ Floating portal pill (all pages) ───────────────────── */

.portal-pill {
  position: fixed;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 16px 11px 14px;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--gold), 4px 4px 0 1px var(--navy);
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
}
.portal-pill:hover {
  background: var(--oxblood);
  color: var(--cream);
  border-color: var(--oxblood);
  text-decoration: none;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--gold), 6px 6px 0 1px var(--oxblood);
}
.portal-pill-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  display: inline-block;
  transform: rotate(45deg);
}
.portal-pill-arrow { font-family: var(--serif); font-weight: 500; }
@media (max-width: 540px) {
  .portal-pill {
    right: 12px; bottom: 12px;
    padding: 10px 12px;
    font-size: 0.74rem;
  }
}
@media print { .portal-pill { display: none; } }

/* ─ City-photo hero (editorial split) ──────────────────── */

.city-hero {
  border-bottom: 1px solid var(--ink);
  padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.city-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.city-hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  letter-spacing: -0.028em;
  max-width: 16ch;
  margin-bottom: 1.2rem;
}
.city-hero .hero-lede {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 1.8rem;
}
.city-hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream-2);
  overflow: hidden;
  isolation: isolate;
}
.city-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0%) contrast(1.04) brightness(1);
  transition: filter var(--t-slow, 320ms ease);
}
.city-hero-photo:hover img { filter: grayscale(85%) contrast(1.08) brightness(0.96); }
.city-hero-photo::before {
  content: '';
  position: absolute;
  inset: 14px 14px 14px 14px;
  border: 1px solid var(--cream);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}
.city-hero-photo::after {
  content: '';
  position: absolute;
  inset: auto auto -18px -18px;
  width: 96px;
  height: 96px;
  background: var(--oxblood);
  z-index: 0;
}
.city-hero-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(4, 17, 31, 0.74);
  padding: 5px 10px;
}
@media (max-width: 820px) {
  .city-hero-grid { grid-template-columns: 1fr; }
  .city-hero-photo { aspect-ratio: 5 / 4; max-width: 480px; }
  .city-hero-photo::after { display: none; }
}

/* ─ Marginalia (side note in editorial layout) ─────────── */

.marginalia {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.marginalia-side {
  padding-top: 0.5rem;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-top: 2px solid var(--oxblood);
}
.marginalia-side strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  text-transform: none;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0.5rem 0 0.4rem;
  font-weight: 500;
}
.marginalia-body p { max-width: 60ch; }
@media (max-width: 760px) {
  .marginalia { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* ─ Editorial spread: oversized number + slab body ─────── */

.spread {
  display: grid;
  grid-template-columns: clamp(110px, 14vw, 180px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--ink);
}
.spread:last-child { border-bottom: 1px solid var(--ink); }
.spread-num {
  font-family: var(--serif);
  font-size: clamp(3.8rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--oxblood);
  font-variant-numeric: lining-nums;
}
.spread-num sub {
  display: block;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 8px;
  vertical-align: baseline;
  font-weight: 600;
}
.spread h2,
.spread h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-weight: 500;
  letter-spacing: -0.014em;
  margin: 0 0 0.7rem;
}
.spread p { font-size: 1.02rem; max-width: 56ch; color: var(--ink-2); }
.spread ul { margin: 0.9rem 0 0; }
.spread .spread-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--gold);
  width: max-content;
  transition: color var(--t), border-color var(--t), gap var(--t);
}
.spread .spread-cta:hover { color: var(--oxblood); border-color: var(--oxblood); gap: 14px; }
@media (max-width: 720px) {
  .spread { grid-template-columns: 1fr; padding: 28px 0; }
  .spread-num { font-size: 3.2rem; }
}

/* ─ City inset (photo + caption inside content) ────────── */

.city-inset {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 6vw, 80px) 0;
}
.city-inset-photo {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--cream-2);
}
.city-inset-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0%) contrast(1.04);
  transition: filter var(--t-slow, 320ms ease);
}
.city-inset-photo:hover img { filter: grayscale(70%) contrast(1.08); }
.city-inset-photo::after {
  content: '';
  position: absolute;
  inset: auto -12px -12px auto;
  width: 80px; height: 80px;
  background: var(--gold);
  z-index: -1;
}
.city-inset-cap {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 820px) {
  .city-inset { grid-template-columns: 1fr; }
}

/* ─ Practice areas band (editorial card row) ───────────── */

.practice-band {
  background: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.practice-cell {
  padding: clamp(28px, 4vw, 52px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  position: relative;
}
.practice-cell:nth-child(2n) { border-right: 0; }
.practice-cell:nth-last-child(-n+2) { border-bottom: 0; }
.practice-cell-num {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--oxblood);
  margin-bottom: 0.8rem;
}
.practice-cell h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin: 0 0 0.6rem;
}
.practice-cell p { color: var(--ink-2); max-width: 44ch; margin-bottom: 1rem; }
.practice-cell a.cell-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 3px;
  width: max-content;
  transition: color var(--t), border-color var(--t);
}
.practice-cell a.cell-cta:hover { color: var(--oxblood); border-color: var(--oxblood); }
@media (max-width: 720px) {
  .practice-grid { grid-template-columns: 1fr; }
  .practice-cell { border-right: 0; border-bottom: 1px solid var(--rule); }
  .practice-cell:last-child { border-bottom: 0; }
}

/* ─ Run-on bylines (firm metadata strip) ───────────────── */

.byline-strip {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 14px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  align-items: center;
}
.byline-strip strong { color: var(--ink); font-weight: 700; margin-right: 6px; }
.byline-strip .byline-dot {
  width: 5px; height: 5px;
  background: var(--gold);
  display: inline-block;
  transform: rotate(45deg);
}

/* ─ Subtle photo treatment for city pages ──────────────── */

.duotone {
  position: relative;
  overflow: hidden;
}
.duotone img {
  width: 100%;
  display: block;
  filter: grayscale(100%) contrast(1.1) brightness(0.95);
  mix-blend-mode: multiply;
}
.duotone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream-2);
  z-index: -1;
}

/* Cybersecurity-feel hero photo overlay (subtle grid) */
.city-hero-photo .grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(245,241,234,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,241,234,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mix-blend-mode: overlay;
}

/* Helper: full-bleed inverse strip with oxblood */
.strip-oxblood {
  background: var(--oxblood);
  color: var(--cream);
  padding: clamp(28px, 4vw, 48px) 0;
}
.strip-oxblood .folio { color: rgba(245,241,234,0.78); }
.strip-oxblood .folio::before { background: var(--gold); }
.strip-oxblood .folio em { color: var(--gold); }
.strip-oxblood h2 { color: #fff; max-width: 24ch; }
.strip-oxblood p { color: rgba(245,241,234,0.92); }
.strip-oxblood a { color: var(--gold-2); text-decoration-color: var(--gold); }

/* Inline mono caption */
.cap-mono {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Big lede after hero on interior pages */
.lede-big {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink);
  max-width: 30ch;
  margin: 0;
}
.lede-big strong { color: var(--oxblood); font-weight: 500; }

/* Ensure floating pill doesn't sit beneath sticky CTA on services pages */
.sticky-cta { z-index: 70; }


/* ══════════════════════════════════════════════════════════════════════
   v5 — Section-background palette + editorial rhythm.

   Five interchangeable section backdrops. Pages alternate them to create
   contrast. Each backdrop is a self-contained block that handles its own
   typography color so the body content doesn't have to opt in.

     .sect-paper   — softest cream, lightest layer. Body baseline.
     .sect-cream   — base cream. Slightly warmer.
     .sect-sand    — saturated warm cream. The "tactile" middle layer.
     .sect-ink     — charcoal black. Dramatic editorial contrast.
     .sect-navy    — deep brand navy. Inverse, gold-accented.
     .sect-oxblood — accent strip. Use sparingly.

   Optional modifiers:
     .sect-grain   — adds a faint paper-grain texture.
     .sect-grid    — adds a subtle navy gridline texture.
     .sect-arc     — sweeps a gold arc accent into a corner.
     .sect-rule-t  — adds a thick top rule (ink).
     .sect-rule-b  — adds a thick bottom rule (ink).
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --paper-2:    #fdfaf3;   /* nearly white, warm */
  --sand:       #ece4d2;   /* saturated warm cream */
  --sand-2:     #ddd3bd;   /* deeper sand */
  --ink-deep:   #14191f;   /* black w/ blue undertone */
  --ink-2-deep: #1c232c;
  --navy-deep:  #050c18;
  --gold-warm:  #d9b148;
  --rule-2:     rgba(10, 13, 16, 0.16);
}

main > section { padding: clamp(72px, 10vw, 144px) 0; }

/* ── Base backdrops ────────────────────────────────────────────────── */
.sect-paper   { background: var(--paper-2); color: var(--ink); }
.sect-cream   { background: var(--cream); color: var(--ink); }
.sect-sand    { background: var(--sand); color: var(--ink); }
.sect-ink     {
  background: var(--ink-deep);
  color: #f5f1ea;
  border-top: 1px solid rgba(196, 154, 42, 0.32);
  border-bottom: 1px solid rgba(196, 154, 42, 0.18);
  position: relative;
}
.sect-navy {
  background: linear-gradient(180deg, var(--navy-deep) 0%, #03101e 100%);
  color: #f5f1ea;
  border-top: 1px solid rgba(196, 154, 42, 0.32);
  border-bottom: 1px solid rgba(196, 154, 42, 0.18);
  position: relative;
}
.sect-oxblood {
  background: linear-gradient(180deg, var(--oxblood-2) 0%, var(--oxblood) 100%);
  color: #f5f1ea;
  position: relative;
}

/* Inverse defaults for dark sections */
.sect-ink h1, .sect-ink h2, .sect-ink h3, .sect-ink h4, .sect-ink h5,
.sect-navy h1, .sect-navy h2, .sect-navy h3, .sect-navy h4, .sect-navy h5,
.sect-oxblood h1, .sect-oxblood h2, .sect-oxblood h3, .sect-oxblood h4, .sect-oxblood h5 { color: #ffffff; }
.sect-ink p, .sect-ink li, .sect-navy p, .sect-navy li,
.sect-oxblood p, .sect-oxblood li { color: rgba(245, 241, 234, 0.92); }
.sect-ink strong, .sect-navy strong, .sect-oxblood strong { color: #ffffff; }
.sect-ink a, .sect-navy a { color: var(--gold-2); text-decoration-color: var(--gold); }
.sect-ink a:hover, .sect-navy a:hover { color: #ffffff; text-decoration-color: #ffffff; }
.sect-oxblood a { color: var(--gold-2); text-decoration-color: var(--gold); }
.sect-oxblood a:hover { color: #ffffff; }
.sect-ink .folio, .sect-navy .folio, .sect-oxblood .folio { color: rgba(245, 241, 234, 0.7); }
.sect-ink .folio::before, .sect-navy .folio::before, .sect-oxblood .folio::before { background: var(--gold); }
.sect-ink .folio em, .sect-navy .folio em, .sect-oxblood .folio em { color: var(--gold); }
.sect-ink .lede-big, .sect-navy .lede-big, .sect-oxblood .lede-big { color: #ffffff; }
.sect-ink .lede-big strong, .sect-navy .lede-big strong, .sect-oxblood .lede-big strong { color: var(--gold); }

/* ── Texture overlays ──────────────────────────────────────────────── */
.sect-grain { position: relative; }
.sect-grain::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  z-index: 0;
}
.sect-grain .wrap { position: relative; z-index: 1; }

.sect-grid { position: relative; }
.sect-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(10, 13, 16, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 13, 16, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  z-index: 0;
}
.sect-grid .wrap { position: relative; z-index: 1; }

.sect-ink.sect-grid::before, .sect-navy.sect-grid::before {
  background-image:
    linear-gradient(rgba(245, 241, 234, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 234, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 1;
}

/* Gold arc accent baked into a corner */
.sect-arc { position: relative; overflow: hidden; }
.sect-arc::after {
  content: '';
  position: absolute;
  right: -180px;
  top: -180px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(196, 154, 42, 0.5);
  pointer-events: none;
}
.sect-arc::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(196, 154, 42, 0.10), transparent 70%);
  pointer-events: none;
}
.sect-arc .wrap { position: relative; z-index: 2; }

/* Hard rules */
.sect-rule-t { border-top: 2px solid var(--ink); }
.sect-rule-b { border-bottom: 2px solid var(--ink); }
.sect-ink.sect-rule-t, .sect-navy.sect-rule-t { border-top: 2px solid var(--gold); }
.sect-ink.sect-rule-b, .sect-navy.sect-rule-b { border-bottom: 2px solid var(--gold); }

/* ── Editorial divider (between sections) ──────────────────────────── */
.divider-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px) 0;
  background: inherit;
}
.divider-mark::before,
.divider-mark::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule-2);
}
.divider-mark span {
  margin: 0 18px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ── Featured display number (big editorial digit) ─────────────────── */
.display-num {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: var(--gold);
  font-variant-numeric: lining-nums;
  display: inline-block;
}
.sect-ink .display-num, .sect-navy .display-num { color: var(--gold); }
.sect-paper .display-num, .sect-cream .display-num, .sect-sand .display-num { color: var(--oxblood); }

/* ── Heavy stat card (for dark sections) ───────────────────────────── */
.stat-heavy {
  border: 1px solid rgba(245, 241, 234, 0.18);
  padding: clamp(28px, 4vw, 44px);
  background: rgba(245, 241, 234, 0.04);
  position: relative;
  transition: background 180ms ease, transform 180ms ease;
}
.stat-heavy:hover { background: rgba(245, 241, 234, 0.08); transform: translateY(-2px); }
.stat-heavy::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
}
.stat-heavy .stat-num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.8rem;
  display: block;
}
.stat-heavy .stat-num em { color: var(--gold); font-style: normal; }
.stat-heavy .stat-label {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}
.stat-heavy .stat-desc { color: rgba(245, 241, 234, 0.78); font-size: 0.95rem; max-width: 28ch; margin: 0; }

.stat-heavy-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-heavy-row .stat-heavy:not(:last-child) {
  border-right: 0;
}
@media (max-width: 820px) { .stat-heavy-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stat-heavy-row { grid-template-columns: 1fr; } }

/* ── Card-on-card (dark cards on paper / paper cards on dark) ──────── */
.card-paper {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.card-paper:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(10, 13, 16, 0.08);
  border-color: var(--ink);
}
.card-paper-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
  color: var(--oxblood);
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.card-paper h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin: 0 0 0.7rem;
  font-weight: 500;
  letter-spacing: -0.012em;
}
.card-paper p { margin: 0; color: var(--ink-2); }

/* ── Section eyebrow improvements (works on all backdrops) ─────────── */
.sect-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oxblood);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.6rem;
}
.sect-eyebrow::before {
  content: '';
  width: 44px;
  height: 2px;
  background: var(--oxblood);
}
.sect-ink .sect-eyebrow, .sect-navy .sect-eyebrow { color: var(--gold); }
.sect-ink .sect-eyebrow::before, .sect-navy .sect-eyebrow::before { background: var(--gold); }
.sect-oxblood .sect-eyebrow { color: var(--gold-2); }
.sect-oxblood .sect-eyebrow::before { background: var(--gold-2); }

/* ── Bigger display heading variant ─────────────────────────────────── */
.disp-h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.06;
  margin: 0 0 1.4rem;
  max-width: 18ch;
}

/* ── Color-block (gold tile that hosts content) ────────────────────── */
.gold-block {
  background: var(--gold);
  color: var(--navy);
  padding: clamp(32px, 5vw, 56px);
  position: relative;
}
.gold-block h2, .gold-block h3, .gold-block h4 { color: var(--navy); }
.gold-block strong { color: var(--navy); }
.gold-block .sect-eyebrow { color: var(--navy); }
.gold-block .sect-eyebrow::before { background: var(--navy); }
.gold-block::after {
  content: '';
  position: absolute;
  right: 12px; bottom: 12px;
  width: 10px; height: 10px;
  background: var(--navy);
  transform: rotate(45deg);
}

/* ── Edge-to-edge feature pair (image + content side by side) ───────── */
.feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.feature-pair > * {
  padding: clamp(40px, 6vw, 80px);
}
.feature-pair .feature-img {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  background: var(--cream-2);
}
.feature-pair .feature-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.04);
}
.feature-pair .feature-body { background: var(--paper-2); display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--rule); }
.feature-pair--reverse .feature-body { border-left: 0; border-right: 1px solid var(--rule); order: -1; }
@media (max-width: 820px) {
  .feature-pair { grid-template-columns: 1fr; }
  .feature-pair .feature-img { min-height: 260px; }
  .feature-pair--reverse .feature-body { order: 0; border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* ── Inset card grid (for service overview on light backgrounds) ───── */
.inset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.5vw, 32px);
}
@media (max-width: 720px) { .inset-grid { grid-template-columns: 1fr; } }

/* ── Visible distinction for the inside-card list links ────────────── */
.card-paper .cell-cta {
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 3px;
  width: max-content;
  transition: color 160ms, border-color 160ms, gap 160ms;
}
.card-paper .cell-cta:hover { color: var(--oxblood); border-color: var(--oxblood); gap: 12px; }

/* ── Fix dark sections so existing .practice-band cells render legibly ─ */
.sect-ink .practice-band, .sect-navy .practice-band {
  background: rgba(245, 241, 234, 0.04);
  border-top: 1px solid rgba(245, 241, 234, 0.14);
  border-bottom: 1px solid rgba(245, 241, 234, 0.14);
}
.sect-ink .practice-cell, .sect-navy .practice-cell {
  border-right-color: rgba(245, 241, 234, 0.12);
  border-bottom-color: rgba(245, 241, 234, 0.12);
}
.sect-ink .practice-cell h3, .sect-navy .practice-cell h3 { color: #ffffff; }
.sect-ink .practice-cell p, .sect-navy .practice-cell p { color: rgba(245, 241, 234, 0.82); }
.sect-ink .practice-cell-num, .sect-navy .practice-cell-num { color: var(--gold); }
.sect-ink .practice-cell a.cell-cta, .sect-navy .practice-cell a.cell-cta { color: #fff; border-bottom-color: var(--gold); }
.sect-ink .practice-cell a.cell-cta:hover, .sect-navy .practice-cell a.cell-cta:hover { color: var(--gold); }

/* ── Fix marginalia on dark backgrounds ────────────────────────────── */
.sect-ink .marginalia-side, .sect-navy .marginalia-side {
  color: rgba(245, 241, 234, 0.72);
  border-top-color: var(--gold);
}
.sect-ink .marginalia-side strong, .sect-navy .marginalia-side strong { color: #ffffff; }
.sect-ink .marginalia-body p, .sect-navy .marginalia-body p { color: rgba(245, 241, 234, 0.9); }

/* ── Fix insight cards on dark/sand backgrounds ────────────────────── */
.sect-sand .insight-card { background: var(--paper-2); }
.sect-sand .insight-card:hover { background: #ffffff; }
.sect-ink .insight-card, .sect-navy .insight-card {
  background: rgba(245, 241, 234, 0.04);
  border-color: rgba(245, 241, 234, 0.14);
}
.sect-ink .insight-card h3, .sect-navy .insight-card h3 { color: #ffffff; }
.sect-ink .insight-card p, .sect-navy .insight-card p { color: rgba(245, 241, 234, 0.82); }
.sect-ink .insight-card:hover, .sect-navy .insight-card:hover { background: rgba(245, 241, 234, 0.08); }

/* ── Pull-quote on dark ────────────────────────────────────────────── */
.sect-ink .pullquote, .sect-navy .pullquote { border-color: var(--gold); }
.sect-ink .pullquote-text, .sect-navy .pullquote-text { color: #ffffff; }
.sect-ink .pullquote-cite, .sect-navy .pullquote-cite { color: rgba(245, 241, 234, 0.72); }
.sect-ink .pullquote-mark, .sect-navy .pullquote-mark { color: var(--gold); }

/* ── Buttons on sand/cream sections get a sharper outline ──────────── */
.sect-sand .btn--ghost { background: rgba(255, 255, 255, 0.4); }
.sect-sand .btn--ghost:hover { background: var(--navy); color: var(--cream); }

/* ── Spread (oversized number) tweaks for dark sections ────────────── */
.sect-ink .spread, .sect-navy .spread { border-top-color: rgba(245, 241, 234, 0.18); }
.sect-ink .spread:last-child, .sect-navy .spread:last-child { border-bottom-color: rgba(245, 241, 234, 0.18); }
.sect-ink .spread-num, .sect-navy .spread-num { color: var(--gold); }
.sect-ink .spread-num sub, .sect-navy .spread-num sub { color: rgba(245, 241, 234, 0.7); }
.sect-ink .spread p, .sect-navy .spread p { color: rgba(245, 241, 234, 0.85); }
.sect-ink .spread .spread-cta, .sect-navy .spread .spread-cta { color: #fff; border-bottom-color: var(--gold); }
.sect-ink .spread .spread-cta:hover, .sect-navy .spread .spread-cta:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ── Hero photo: heavier contrast at top for dark sections ─────────── */
.sect-ink .city-hero-photo::before, .sect-navy .city-hero-photo::before {
  border-color: rgba(245, 241, 234, 0.4);
}
.sect-ink .city-hero-photo::after, .sect-navy .city-hero-photo::after { background: var(--gold); }
.sect-ink .city-hero-photo figcaption, .sect-navy .city-hero-photo figcaption {
  background: rgba(196, 154, 42, 0.88);
  color: var(--navy);
}

/* ── Kicker-row visual override on dark ────────────────────────────── */
.sect-ink .kicker-row, .sect-navy .kicker-row { border-color: var(--gold); }
.sect-ink .kicker-cell, .sect-navy .kicker-cell { border-right-color: rgba(245, 241, 234, 0.18); }
.sect-ink .kicker-num, .sect-navy .kicker-num { color: #ffffff; }
.sect-ink .kicker-num em, .sect-navy .kicker-num em { color: var(--gold); }
.sect-ink .kicker-label, .sect-navy .kicker-label { color: var(--gold); }
.sect-ink .kicker-desc, .sect-navy .kicker-desc { color: rgba(245, 241, 234, 0.78); }

/* ── Section that's narrow + centered (CTA-style) ──────────────────── */
.sect-narrow { text-align: center; }
.sect-narrow > .wrap { max-width: 760px; }
.sect-narrow h2 { margin-left: auto; margin-right: auto; }
.sect-narrow p { margin-left: auto; margin-right: auto; }

/* ── More room around hero on city-hero (already large but boosted) ── */
.city-hero { padding-top: clamp(72px, 11vw, 144px); padding-bottom: clamp(56px, 8vw, 112px); }

/* ── Photo treatment: a darker overlay on dark sections ────────────── */
.sect-ink .city-hero-photo img, .sect-navy .city-hero-photo img {
  filter: grayscale(0%) contrast(1.08) brightness(0.9);
}
.sect-ink .city-hero-photo:hover img, .sect-navy .city-hero-photo:hover img {
  filter: grayscale(85%) contrast(1.1) brightness(0.85);
}

/* ── Anchor links on dark backgrounds: brighter underline on hover ─── */
.sect-ink p a, .sect-navy p a { text-decoration-color: rgba(196, 154, 42, 0.45); }

/* ── Sticky offset for the hero so it doesn't get clipped by nav ──── */
main > section:first-child { padding-top: clamp(56px, 8vw, 112px); }


