/* ── Design tokens ────────────────────────────────────────── */
:root {
  --ink:        #102027;
  --ink-2:      #2a383d;
  --ink-3:      #5f7075;
  --paper:      #fffdf8;
  --paper-2:    #f5f2ec;
  --rule:       #d8dfdc;
  --teal:       #1d6571;
  --teal-dark:  #0f4650;
  --teal-pale:  #e7f1f0;
  --coral:      #b9403a;
  --gold:       #8f640c;
  --mint:       #2f7c4e;
  --amber:      #b45309;
  --nav-height: 56px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 12px); }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
a.nav-cta,
#navbar a.nav-cta {
  color: #fff !important;
  text-decoration: none !important;
}
a.nav-cta:hover,
#navbar a.nav-cta:hover {
  color: #fff !important;
  text-decoration: none !important;
}
::selection { background: var(--teal-pale); }

.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 16px; top: 16px; width: auto; height: auto; overflow: visible;
  z-index: 200; padding: 10px 16px; background: var(--ink); color: var(--paper);
  font-size: 14px; border-radius: 4px;
}

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 900px; margin: 0 auto; padding: 0 32px; }
section { padding: 52px 0; border-bottom: 1px solid var(--rule); }
#story,
#case-studies,
#bridge {
  background: var(--paper-2);
}
section:last-of-type { border-bottom: none; }
.anchor-target { display: block; position: relative; top: calc(-1 * var(--nav-height) - 12px); height: 0; visibility: hidden; }
section[id] { scroll-margin-top: calc(var(--nav-height) + 12px); }

/* ── Section labels / headings ────────────────────────────── */
.section-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal-dark);
  margin-bottom: 14px; display: block;
}
.section-title { font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--ink); }
.section-subtitle { font-size: 16px; color: var(--ink-2); max-width: 560px; line-height: 1.7; }
.section-header { margin-bottom: 36px; }

/* ── Nav (sticky — stays visible while scrolling) ─────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  transition: box-shadow 0.2s ease;
}
#navbar.nav-scrolled { box-shadow: 0 4px 20px rgba(16, 32, 39, 0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.nav-logo-mark { width: 24px; height: 24px; border-radius: 5px; }
.nav-logo-text span { color: var(--teal); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; color: var(--ink-2); font-weight: 400; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.active { color: var(--ink); font-weight: 500; }
.nav-cta {
  font-size: 13px; font-weight: 500; padding: 7px 16px;
  border: 1px solid var(--teal-dark); border-radius: 4px;
  background: var(--teal-dark); color: #fff;
}
.nav-cta:hover { background: var(--ink); border-color: var(--ink); color: #fff !important; text-decoration: none; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; background: var(--teal-dark); color: #fff;
  font-size: 14px; font-weight: 500; border-radius: 4px;
}
.btn-primary:hover { background: var(--ink); text-decoration: none; color: #fff; }
.btn-primary svg { width: 15px; height: 15px; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; background: transparent; color: var(--ink);
  font-size: 14px; font-weight: 500; border-radius: 4px; border: 1px solid var(--rule);
}
.btn-secondary:hover { border-color: var(--ink); text-decoration: none; }
button.btn-primary, button.btn-secondary {
  font-family: inherit;
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
}
button.btn-primary { border-color: var(--teal-dark); }

/* ── Hero ─────────────────────────────────────────────────── */
#hero { padding: 88px 0 52px; border-bottom: 1px solid var(--rule); }
.hero-inner { max-width: 680px; }
.hero-badge {
  display: inline-block;
  font-size: 12px; color: var(--ink-3); margin-bottom: 32px;
  padding: 5px 12px; border: 1px solid var(--rule); border-radius: 3px;
}
.hero-badge::before { display: none; }
.hero-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic; font-weight: 400;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1.05; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 8px;
}
.gradient-text { color: var(--teal); font-style: normal; }
.hero-tagline { font-size: clamp(15px, 2vw, 18px); line-height: 1.75; color: var(--ink-2); max-width: 560px; margin-bottom: 36px; }
.print-contact-line { display: none; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 56px; }
.hero-hiring-link { font-size: 14px; color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.hero-hiring-link:hover { color: var(--teal); }
.hero-secondary-link {
  font-size: 14px; font-weight: 500; color: var(--teal-dark);
  padding: 11px 4px; text-decoration: underline; text-underline-offset: 3px;
}
.hero-secondary-link:hover { color: var(--ink); }
.hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  padding-top: 36px; border-top: 1px solid var(--rule);
}
.stat-item {}
.stat-value { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; margin-bottom: 5px; }
.stat-value span { color: var(--teal); }
.stat-label { font-size: 12px; color: var(--ink-3); max-width: 130px; line-height: 1.4; }

/* ── Hero avatar (hidden — screen & print) ────────────────── */
.hero-avatar-wrap { display: none; }

/* ── Expertise ────────────────────────────────────────────── */
.expertise-grid { display: flex; flex-direction: column; }
.expertise-card {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 24px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid var(--rule);
  transition: background 0.2s ease;
}
.expertise-card:hover { background: rgba(231, 241, 240, 0.35); }
.expertise-grid > .expertise-card:last-child:not(.expertise-card--boxed):not(.expertise-card--featured):not(.expertise-card--disclosure) { border-bottom: none; }
.expertise-icon {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  padding: 5px 10px; background: var(--teal-pale); color: var(--teal);
  border-radius: 3px; width: fit-content;
}
.expertise-old-title { display: none; }
.expertise-claim { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 8px; line-height: 1.3; }
.expertise-problem { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.expertise-card-body { min-width: 0; }

.expertise-grid--grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.expertise-card--boxed {
  padding: 28px;
  border: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-radius: 6px;
}

.expertise-card--boxed:hover {
  border-color: var(--teal);
}

.expertise-card--featured {
  grid-template-columns: 64px minmax(0, 1fr);
  padding: 32px;
  border: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-radius: 6px;
  margin-bottom: 20px;
}

.expertise-card--featured .case-study-meta {
  grid-column: 2;
  margin-top: 10px;
}

.expertise-card--disclosure {
  padding: 20px 0;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
}

.proof-grid .expertise-card--disclosure:last-child { border-bottom: 1px solid var(--rule); }

/* ── Proof accent differentiation (V3) ───────────────────── */
.proof-grid .proof-card:nth-child(1) .proof-reframe { border-bottom-color: var(--coral); }
.proof-grid .proof-card:nth-child(2) .proof-reframe { border-bottom-color: var(--gold); }
.proof-grid .proof-card:nth-child(3) .proof-reframe { border-bottom-color: var(--mint); }

/* ── Stat accent differentiation (V3) ────────────────────── */
.hero-stats .stat-item:nth-child(1) .stat-value span { color: var(--coral); }
.hero-stats .stat-item:nth-child(2) .stat-value span { color: var(--gold); }
.hero-stats .stat-item:nth-child(3) .stat-value span { color: var(--mint); }
.hero-stats .stat-item:nth-child(4) .stat-value span { color: var(--teal); }

/* ── Expertise icon differentiation (AI / OPS / FLOW cycle) ─── */
.expertise-grid .expertise-card:nth-child(1) .expertise-icon { background: var(--teal-pale); color: var(--teal-dark); }
.expertise-grid .expertise-card:nth-child(2) .expertise-icon { background: rgba(185,64,58,0.09); color: var(--coral); }
.expertise-grid .expertise-card:nth-child(3) .expertise-icon { background: rgba(47,124,78,0.09); color: var(--mint); }
.expertise-grid .expertise-card:nth-child(3n+1) .expertise-icon,
.expertise-grid .expertise-card:nth-child(3n+1) .stream-expertise-icon {
  background: var(--teal-pale);
  color: var(--teal-dark);
}
.expertise-grid .expertise-card:nth-child(3n+2) .expertise-icon,
.expertise-grid .expertise-card:nth-child(3n+2) .stream-expertise-icon {
  background: rgba(185,64,58,0.09);
  color: var(--coral);
}
.expertise-grid .expertise-card:nth-child(3n) .expertise-icon,
.expertise-grid .expertise-card:nth-child(3n) .stream-expertise-icon {
  background: rgba(47,124,78,0.09);
  color: var(--mint);
}

/* ── Story ────────────────────────────────────────────────── */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.story-grid--collapsed { grid-template-columns: 1fr; max-width: 760px; }
.story-collapsed { max-width: none; width: 100%; }
.story-details {
  margin-top: 16px; border: 1px solid var(--rule); border-radius: 6px;
  padding: 0 18px 18px; background: var(--paper);
}
.story-details > summary {
  cursor: pointer; font-size: 14px; font-weight: 600; color: var(--teal-dark);
  padding: 14px 0; list-style: none;
}
.story-details > summary::-webkit-details-marker { display: none; }
.story-details > summary::after { content: " →"; font-weight: 400; }
.story-details[open] > summary::after { content: ""; }
.story-details .about-highlights { margin-top: 20px; }
.about-story { font-size: 16px; color: var(--ink-2); line-height: 1.85; }
.about-story p + p { margin-top: 18px; }
.about-story strong { color: var(--ink); font-weight: 600; }
.about-highlights { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--rule); border-radius: 5px; overflow: hidden; }
.highlight-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px; border-bottom: 1px solid var(--rule);
}
.highlight-item:last-child { border-bottom: none; }
.highlight-icon { font-size: 11px; font-weight: 700; color: var(--teal); flex-shrink: 0; width: 24px; padding-top: 2px; }
.highlight-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.highlight-text span { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* ── Proof ────────────────────────────────────────────────── */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.proof-card {
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.proof-card:hover {
  border-color: var(--teal);
  box-shadow: 0 2px 12px rgba(16, 32, 39, 0.06);
}
.proof-disclosure {
  border: 1px solid var(--rule); border-radius: 6px; padding: 0 18px 14px;
  background: #fff; margin-bottom: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.proof-disclosure:hover { border-color: var(--teal); background: rgba(231, 241, 240, 0.2); }
.proof-disclosure[open] { border-color: var(--teal); box-shadow: 0 2px 12px rgba(16, 32, 39, 0.05); }
.proof-disclosure-summary {
  cursor: pointer; list-style: none; padding: 14px 0;
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start;
}
.proof-disclosure-summary::-webkit-details-marker { display: none; }
.proof-disclosure-icon { margin-top: 2px; }
.proof-disclosure-text { display: grid; gap: 6px; min-width: 0; }
.disclosure-hint {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal-dark); white-space: nowrap; padding-top: 4px;
}
.disclosure-hint::before { content: none; }
.proof-disclosure[open] .disclosure-hint,
.proof-library-details[open] .disclosure-hint { font-size: 0; color: transparent; }
.proof-disclosure[open] .disclosure-hint::before,
.proof-library-details[open] .disclosure-hint::before {
  content: "Collapse";
  font-size: 11px;
  color: var(--teal-dark);
}
.proof-disclosure .proof-reframe {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-dark); border-bottom: none; padding-bottom: 0;
}
.proof-headline { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.proof-disclosure .proof-evidence { margin-top: 8px; }
.proof-grid:has(.proof-disclosure) { grid-template-columns: 1fr; gap: 0; max-width: 760px; }
.proof-grid.expertise-grid { display: flex; flex-direction: column; gap: 0; max-width: 760px; }
.proof-disclosure.expertise-card--disclosure {
  display: block;
  padding: 20px 0;
}
.proof-disclosure.expertise-card--disclosure > summary {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 24px;
  align-items: start;
}
.proof-disclosure .expertise-claim { margin-bottom: 4px; }
.case-study-grid.expertise-grid--grid-2 { margin-bottom: 24px; }
.case-study-feature .expertise-card--featured { margin-bottom: 0; }
.case-study-grid .expertise-card--boxed .case-study-link { margin-top: 12px; }
.case-study-grid .expertise-card--boxed .status-pill { display: inline-flex; margin: 8px 0; }
.proof-library-details {
  margin-top: 28px; border: 1px solid var(--rule); border-radius: 6px; padding: 0 18px 18px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.proof-library-details:hover { border-color: var(--teal); background: rgba(231, 241, 240, 0.2); }
.proof-library-details[open] { border-color: var(--teal); }
.proof-library-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.proof-library-list .expertise-card {
  height: 100%;
}
@media (max-width: 860px) {
  .proof-library-list {
    grid-template-columns: 1fr;
  }
}
.proof-library-summary,
.proof-library-details > summary {
  cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 14px 0; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.proof-library-summary::-webkit-details-marker,
.proof-library-details > summary::-webkit-details-marker { display: none; }
.case-study-card-compact { padding: 18px; }
.case-study-card-compact .case-study-summary {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.streams-more { display: none; }
.proof-problem { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 8px; }
.proof-reframe {
  font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 16px; line-height: 1.3;
  border-bottom: 1px solid var(--rule); padding-bottom: 12px;
}
.proof-evidence { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.proof-evidence li { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.proof-evidence li::before { content: '—'; color: var(--ink-3); flex-shrink: 0; }
.proof-metric { font-weight: 600; color: var(--ink); }

/* ── Case studies ─────────────────────────────────────────── */
.case-study-feature {
  display: grid; grid-template-columns: 1fr 260px; gap: 40px;
  padding: 32px; border: 1px solid var(--rule); border-radius: 5px;
  margin-bottom: 20px; position: relative;
}
.case-study-feature.case-study-feature--expertise {
  display: block;
  padding: 0;
  border: 0;
}
.case-study-kicker { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal); margin-bottom: 8px; }
.case-study-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 10px; line-height: 1.2; }
.case-study-summary { font-size: 14px; color: var(--ink-2); line-height: 1.7; margin-bottom: 18px; }
.case-study-points { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.case-study-points li { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.case-study-points li::before { content: '→'; color: var(--teal); flex-shrink: 0; font-size: 12px; padding-top: 1px; }
.case-study-meta { display: flex; flex-direction: column; gap: 14px; }
.status-pill { display: inline-block; font-size: 11px; font-weight: 500; padding: 5px 10px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 3px; color: var(--ink-2); }
.case-study-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.case-study-metrics li { list-style: none; padding: 12px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper-2); }
.metric-value { display: block; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; }
.metric-label { display: block; font-size: 11px; color: var(--ink-3); line-height: 1.35; }
.case-study-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--teal); }
.flow-diagram { display: flex; flex-direction: column; gap: 8px; }
.flow-step {
  display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start;
  padding: 10px; background: var(--paper-2); border-radius: 4px;
}
.flow-step-number {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--teal-pale); color: var(--teal);
  font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.flow-step strong { display: block; font-size: 12px; color: var(--ink); line-height: 1.3; margin-bottom: 2px; }
.flow-step span:not(.flow-step-number) { display: block; font-size: 11px; color: var(--ink-3); line-height: 1.4; }
.case-study-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.case-study-card { padding: 24px; border: 1px solid var(--rule); border-radius: 8px; display: flex; flex-direction: column; transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.case-study-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 24px rgba(16, 32, 39, 0.06);
  transform: translateY(-2px);
}
.case-study-card .case-study-title { font-size: 18px; margin-bottom: 8px; }
.case-study-card .status-pill { display: inline-flex; margin: 10px 0; align-self: flex-start; }
.case-study-card .case-study-summary { font-size: 13px; margin-bottom: 12px; }
.case-study-card .case-study-metrics { margin-top: 0; margin-bottom: 12px; }
.case-study-card .case-study-link { margin-top: auto; }
.proof-library { background: var(--paper-2); border-radius: 5px; padding: 24px; }
.proof-library h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.proof-library p { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.proof-chip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.proof-chip { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.proof-chip strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }

/* ── Workstreams ──────────────────────────────────────────── */
.streams-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.streams-grid--list { grid-template-columns: 1fr; max-width: 760px; }
.stream-card--expertise {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: start;
  padding: 28px; border: 1px solid var(--rule); border-radius: 6px; background: #fff;
}
.stream-card--expertise:hover { background: rgba(231, 241, 240, 0.35); border-color: var(--teal); }
.stream-expertise-icon { margin-top: 2px; }
.stream-expertise-body { min-width: 0; }
.stream-card--expertise .stream-description { font-size: 14px; line-height: 1.7; }
.stream-card--expertise .stream-cta { margin-top: 20px; }
.stream-card { display: flex; flex-direction: column; min-height: 100%; padding: 28px; border: 1px solid var(--rule); border-radius: 8px; transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.stream-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 24px rgba(16, 32, 39, 0.06);
  transform: translateY(-2px);
}
.stream-number { display: none; }
.stream-name { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 10px; line-height: 1.25; }
.stream-description { font-size: 13px; color: var(--ink-2); line-height: 1.65; margin-bottom: 18px; }
.stream-card-body { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.stream-deliverables { list-style: none; display: flex; flex-direction: column; gap: 7px; flex: 1 1 auto; margin-bottom: 0; }
.stream-deliverables li { display: flex; gap: 8px; font-size: 13px; color: var(--ink-2); }
.stream-deliverables li::before { content: '✓'; color: var(--ink-3); font-size: 11px; flex-shrink: 0; padding-top: 1px; }
.stream-cta {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  min-height: 40px; margin-top: 24px; margin-bottom: 18px; padding: 10px 14px;
  border: 1px solid var(--ink); border-radius: 3px;
  color: var(--ink); font-size: 13px; font-weight: 600;
}
.stream-cta:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.stream-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--rule); }
.stream-engagement { font-size: 11px; font-weight: 500; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }
.stream-badge { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 3px; background: var(--paper-2); border: 1px solid var(--rule); color: var(--ink-2); }
.stream-badge.teal { background: var(--teal-pale); color: var(--teal); border-color: rgba(29,101,113,0.2); }

/* ── Bridge ───────────────────────────────────────────────── */
.bridge-inner > .section-label { display: block; margin-bottom: 14px; }
.bridge-quote {
  font-size: 17px; color: var(--ink-2); line-height: 1.8;
  max-width: 640px; font-style: italic; margin: 0 0 48px;
}
.bridge-quote strong { color: var(--ink); font-style: normal; }
.bridge-timeline {
  display: flex; flex-wrap: wrap; gap: 0;
}
.bridge-step { display: flex; gap: 0; align-items: flex-start; }
.bridge-dot { display: none; }
.bridge-step-label { font-size: 11px; font-weight: 600; color: var(--teal); letter-spacing: 0.04em; margin-bottom: 3px; }
.bridge-step-sub { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.bridge-arrow { display: flex; align-items: center; padding: 0 12px; color: var(--rule); font-size: 14px; margin-bottom: 0; align-self: center; }
.bridge-step { flex-direction: column; align-items: flex-start; text-align: left; padding: 0 4px; flex: 1; min-width: 0; }

/* ── Contact / CTA ────────────────────────────────────────── */
.cta-box { padding: 0; background: var(--paper); border-radius: 8px; border: 1px solid var(--rule); overflow: hidden; }
.contact-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
}
.contact-intro {
  padding: 40px 36px;
  background: linear-gradient(165deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: #fff;
}
.contact-intro .cta-title { color: #fff; margin-bottom: 12px; }
.contact-intro .gradient-text { color: var(--teal-pale); }
.contact-intro .cta-sub { color: rgba(255, 255, 255, 0.86); max-width: none; margin-bottom: 0; }
.contact-form-panel {
  padding: 40px 36px;
  background: var(--paper-2);
}
.contact-form-panel .lead-form {
  margin: 0 0 20px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}
.contact-form-panel .ats-note {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  margin-top: 0;
}
@media (max-width: 860px) {
  .contact-split { grid-template-columns: 1fr; }
  .contact-intro,
  .contact-form-panel { padding: 32px 24px; }
}
.cta-title { font-size: clamp(24px, 3.5vw, 34px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px; color: var(--ink); }
.cta-sub { font-size: 15px; color: var(--ink-2); max-width: 480px; line-height: 1.7; margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.copy-status { align-self: center; min-height: 18px; font-size: 12px; color: var(--teal); }
.contact-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.contact-link { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-2); }
button.contact-link {
  border: 0;
  background: transparent;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
.contact-link:hover { color: var(--ink); text-decoration: none; }
.contact-link svg { width: 14px; height: 14px; }
.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 24px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 5px;
}
.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 10px 11px;
}
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  border-color: var(--teal);
  outline: 2px solid rgba(29, 101, 113, 0.14);
  outline-offset: 1px;
}
.lead-form textarea { min-height: 118px; resize: vertical; }
.lead-form-full { grid-column: 1 / -1; }
.lead-consent {
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 9px !important;
  align-items: start;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--ink-2) !important;
  line-height: 1.5;
}
.lead-consent input { width: auto; margin-top: 2px; }
.lead-form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.lead-form-status {
  min-height: 18px;
  font-size: 12px;
  color: var(--ink-3);
}
.lead-form-status.success { color: var(--mint); }
.lead-form-status.error { color: var(--coral); }
.lead-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ats-note { font-size: 13px; color: var(--ink-3); line-height: 1.65; padding-top: 20px; border-top: 1px solid var(--rule); }
.ats-note a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
.contact-paths { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; }
.contact-path-link { font-size: 14px; color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.hiring-panel { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); }
.hiring-panel-title { font-size: 18px; margin: 0 0 8px; }
.hiring-panel-sub { font-size: 14px; color: var(--ink-3); line-height: 1.6; margin: 0 0 12px; }
.proof-client-context { display: block; font-size: 12px; color: var(--ink-3); letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 6px; }
#testimonials { padding: 72px 0; border-top: 1px solid var(--rule); }
.testimonials-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 24px; }
.testimonial-card { margin: 0; border: 1px solid var(--rule); padding: 20px 22px; border-radius: 8px; background: var(--paper); }
.testimonial-quote { font-size: 16px; line-height: 1.65; margin: 0 0 12px; color: var(--ink-2); }
.testimonial-attribution { font-size: 13px; color: var(--ink-3); }

/* ── Footer ───────────────────────────────────────────────── */
footer { padding: 16px 0 20px; border-top: 1px solid var(--rule); }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  gap: 12px 20px;
  flex-wrap: wrap;
}
.footer-top .footer-copy:first-child { text-align: left; flex: 1 1 200px; }
.footer-location { text-align: right; flex: 1 1 180px; white-space: nowrap; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  font-size: 13px;
}
.footer-links a { color: var(--ink-3); white-space: nowrap; }
.footer-copy { font-size: 13px; color: var(--ink-3); }
.footer-copy a { color: var(--ink-3); }
.lead-intent-note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 4px;
}

/* ── Print name (hidden on screen, heading in print) ─────── */
.print-name { display: none; }

/* ── Reveal (subtle fade-in, no transform) ────────────────── */
.reveal { opacity: 0; transition: opacity 0.5s ease; }
.reveal.visible { opacity: 1; }
.reveal-delay-1 { transition-delay: 0.07s; }
.reveal-delay-2 { transition-delay: 0.14s; }
.reveal-delay-3 { transition-delay: 0.21s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .expertise-card { grid-template-columns: 1fr; gap: 10px; }
  .proof-grid { grid-template-columns: 1fr; gap: 32px; }
  .case-study-feature { grid-template-columns: 1fr; }
  .case-study-grid,
  .expertise-grid--grid-2 { grid-template-columns: 1fr; }
  .expertise-card--featured { grid-template-columns: 64px 1fr; }
  .proof-chip-grid { grid-template-columns: 1fr 1fr; }
  .streams-grid { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
}
@media (max-width: 560px) {
  .hero-stats { gap: 28px; }
  .lead-form { grid-template-columns: 1fr; padding: 18px; }
  .bridge-timeline { flex-direction: column; gap: 0; }
  .bridge-arrow { transform: rotate(90deg); padding: 6px 0; margin-bottom: 0; }
  .footer-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-top .footer-copy:first-child,
  .footer-location { text-align: center; white-space: normal; }
  .container { padding: 0 20px; }
}

/* ══════════════════════════════════════════════════════════
   PRINT — A4 Portrait
   Key: force html to 210mm so the browser reflows at A4
   width rather than laying out at screen width and clipping.
══════════════════════════════════════════════════════════ */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 15mm;
  }

  /* Force layout width to A4 — prevents right-edge clipping */
  html {
    width: 210mm;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Body fills the content area (210mm − 2×15mm = 180mm) */
  body {
    width: 180mm;
    max-width: 180mm;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-size: 9.5pt;
    background: #fff;
    color: #102027;
    line-height: 1.5;
    font-family: 'Inter', Arial, sans-serif;
  }

  /* ── Show hidden print elements ── */
  .print-contact-line {
    display: flex !important;
    gap: 14pt;
    flex-wrap: wrap;
    font-size: 8.5pt;
    color: #5f7075;
    margin-bottom: 0;
    margin-top: 6pt;
  }
  .print-contact-line span { display: inline; }
  .print-contact-line .pcd-sep { color: #ccc; }

  /* ── Hide web-only UI ── */
  nav,
  .hero-badge,
  .hero-actions,
  .btn-primary,
  .btn-secondary,
  footer { display: none !important; }

  /* ── Base layout reset ── */
  section { padding: 0; border-bottom: none; margin-bottom: 12pt; }

  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  /* Remove all screen max-width caps */
  .hero-inner,
  .section-subtitle,
  .hero-tagline,
  .about-story,
  .bridge-quote,
  .bridge-timeline,
  .cta-sub { max-width: 100%; }

  /* All reveals visible */
  .reveal { opacity: 1 !important; transition: none !important; }

  /* ── Print name heading ── */
  .print-name {
    display: block !important;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 20pt;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #102027;
    margin-bottom: 2pt;
  }

  /* ── Print Hero — CV header ── */
  #hero {
    padding: 0 0 10pt;
    border-bottom: 1.5pt solid #102027;
    margin-bottom: 12pt;
    page-break-after: avoid;
  }
  .hero-title {
    font-size: 24pt;
    line-height: 1.05;
    margin-bottom: 4pt;
    font-style: italic;
  }
  .hero-tagline { font-size: 9pt; line-height: 1.55; margin-bottom: 0; }
  .hero-stats {
    display: flex;
    gap: 24pt;
    flex-wrap: wrap;
    padding-top: 8pt;
    margin-top: 8pt;
    border-top: 0.5pt solid #d8dfdc;
  }
  .stat-value { font-size: 13pt; margin-bottom: 2pt; }
  .stat-label { font-size: 7.5pt; max-width: 90pt; }

  /* ── Section labels / headings ── */
  .section-label { font-size: 7pt; margin-bottom: 4pt; display: block; }
  .section-title { font-size: 11.5pt; margin-bottom: 5pt; }
  .section-subtitle { font-size: 8.5pt; margin-bottom: 10pt; }
  .section-header { margin-bottom: 8pt; }
  h2, h3 { page-break-after: avoid; }

  /* ── Expertise ── */
  #expertise { margin-bottom: 12pt; }
  .expertise-grid { display: block; }
  .expertise-card {
    display: grid;
    grid-template-columns: 72pt 1fr;
    gap: 12pt;
    padding: 7pt 0;
    border-bottom: 0.5pt solid #d8dfdc;
    page-break-inside: avoid;
  }
  .expertise-grid > .expertise-card:last-child:not(.expertise-card--boxed):not(.expertise-card--featured):not(.expertise-card--disclosure) { border-bottom: none; }
  .expertise-icon { font-size: 7pt; padding: 2pt 5pt; }
  .expertise-old-title { display: none; }
  .expertise-claim { font-size: 9pt; margin-bottom: 3pt; }
  .expertise-problem { font-size: 8pt; line-height: 1.5; }

  /* ── Story ── */
  #story { margin-bottom: 12pt; }
  .story-grid { grid-template-columns: 1fr; gap: 8pt; }
  .about-story { font-size: 8.5pt; line-height: 1.55; }
  .about-story p + p { margin-top: 5pt; }
  .about-highlights { border: 0.5pt solid #d8dfdc; }
  .highlight-item { padding: 7pt 10pt; }
  .highlight-icon { font-size: 7pt; }
  .highlight-text strong { font-size: 8.5pt; }
  .highlight-text span { font-size: 8pt; }

  /* ── Proof ── */
  /* page-break-before keeps proof header + columns together on page 2 */
  #proof { page-break-before: always; margin-bottom: 12pt; }
  .proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16pt; page-break-inside: avoid; }
  .proof-card { page-break-inside: avoid; }
  .proof-problem { font-size: 7pt; margin-bottom: 4pt; }
  .proof-reframe { font-size: 9.5pt; margin-bottom: 7pt; }
  .proof-evidence li { font-size: 8pt; line-height: 1.45; gap: 5pt; }

  /* ── Case studies ── */
  /* No forced page break — let it flow after proof on page 2 */
  #case-studies { margin-bottom: 12pt; }
  /* Single column in print — avoids left/right height mismatch */
  .case-study-feature {
    display: block;
    padding: 12pt;
    margin-bottom: 10pt;
    page-break-inside: avoid;
    border: 0.5pt solid #d8dfdc;
    border-radius: 0;
  }
  .case-study-meta {
    display: block;
    margin-top: 8pt;
    padding-top: 8pt;
    border-top: 0.5pt solid #d8dfdc;
  }
  .case-study-meta .status-pill { margin-bottom: 6pt; }
  .case-study-kicker { font-size: 7pt; margin-bottom: 3pt; }
  .case-study-title { font-size: 12pt; margin-bottom: 5pt; }
  .case-study-summary { font-size: 8pt; margin-bottom: 8pt; }
  .case-study-points li { font-size: 8pt; gap: 5pt; }
  .status-pill { font-size: 7pt; padding: 2pt 5pt; display: inline-block; margin-bottom: 8pt; }
  .case-study-metrics { grid-template-columns: repeat(4, 1fr); gap: 5pt; margin-bottom: 7pt; }
  .case-study-metrics li { padding: 6pt; border: 0.5pt solid #d8dfdc; border-radius: 0; }
  .metric-value { font-size: 11pt; margin-bottom: 2pt; }
  .metric-label { font-size: 7pt; }
  .flow-diagram { display: flex; flex-direction: row; gap: 3pt; margin-top: 6pt; }
  .flow-step {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: flex-start; gap: 2pt;
    padding: 5pt 4pt;
    background: none;
    border: 0.5pt solid #d8dfdc; border-radius: 0;
  }
  .flow-step .flow-step-number { background: none; color: #1d6571; font-weight: 700; font-size: 7pt; width: auto; height: auto; border-radius: 0; flex-shrink: 0; margin-bottom: 2pt; }
  .flow-step strong { font-size: 7pt; }
  .flow-step span:not(.flow-step-number) { font-size: 6.5pt; }
  .case-study-grid { grid-template-columns: 1fr 1fr; gap: 8pt; margin-bottom: 8pt; }
  .case-study-card {
    padding: 10pt;
    border: 0.5pt solid #d8dfdc;
    border-radius: 0;
    page-break-inside: avoid;
  }
  .case-study-card .case-study-title { font-size: 9.5pt; }
  .case-study-card .case-study-summary { font-size: 8pt; }
  .case-study-card .case-study-metrics { grid-template-columns: 1fr 1fr; gap: 4pt; }
  .proof-library {
    padding: 10pt;
    background: none;
    border: 0.5pt solid #d8dfdc;
    border-radius: 0;
  }
  .proof-library h3 { font-size: 9.5pt; margin-bottom: 2pt; }
  .proof-library p { font-size: 7.5pt; margin-bottom: 8pt; }
  .proof-chip-grid { grid-template-columns: 1fr 1fr; gap: 7pt; }
  .proof-chip { font-size: 8pt; page-break-inside: avoid; }
  .proof-chip strong { font-size: 8pt; margin-bottom: 2pt; }
  .proof-library { page-break-inside: avoid; }

  /* ── Workstreams ── */
  /* Flows after supporting cases on page 3 — no forced break */
  #workstreams { margin-bottom: 12pt; }
  .streams-grid { grid-template-columns: 1fr 1fr; gap: 8pt; }
  .stream-card {
    padding: 10pt;
    border: 0.5pt solid #d8dfdc;
    border-radius: 0;
    page-break-inside: avoid;
  }
  .stream-number { display: none; }
  .stream-name { font-size: 9pt; margin-bottom: 4pt; }
  .stream-description { font-size: 7.5pt; line-height: 1.5; margin-bottom: 7pt; }
  .stream-deliverables { gap: 3pt; margin-bottom: 8pt; }
  .stream-deliverables li { font-size: 7.5pt; }
  .stream-footer { padding-top: 6pt; }
  .stream-engagement { font-size: 7pt; }
  .stream-badge { font-size: 7pt; padding: 1pt 5pt; border-radius: 0; }

  /* ── Bridge / Career ── */
  /* Natural flow after workstreams — no forced break */
  #bridge { margin-bottom: 10pt; }
  .bridge-inner { text-align: left; }
  .bridge-quote { font-size: 8.5pt; line-height: 1.55; margin-bottom: 10pt; }
  .bridge-timeline { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: start; gap: 0; }
  .bridge-step { min-width: 0; align-items: flex-start; text-align: left; }
  .bridge-dot { display: none; }
  .bridge-step-label { font-size: 7.5pt; font-weight: 600; color: #1d6571; margin-bottom: 2pt; }
  .bridge-step-sub { font-size: 7pt; max-width: none; line-height: 1.4; }
  .bridge-arrow { font-size: 9pt; padding: 0 4pt; margin-bottom: 0; align-self: start; padding-top: 3pt; }

  /* ── Contact ── */
  #contact { margin-bottom: 0; }
  .cta-box {
    padding: 12pt;
    background: none;
    border: 0.5pt solid #d8dfdc;
    border-radius: 0;
  }
  .cta-title { font-size: 12pt; margin-bottom: 5pt; }
  .cta-sub { font-size: 8.5pt; margin-bottom: 7pt; }
  .copy-status { display: none !important; }
  .contact-links { display: flex !important; gap: 12pt; margin-bottom: 7pt; flex-wrap: wrap; }
  .contact-link { font-size: 8.5pt; }
  .contact-link svg { display: none; }
  .ats-note { font-size: 8pt; padding-top: 7pt; }
  a, a[href] { color: inherit !important; text-decoration: none; }
}
/* ── Mobile nav (hamburger) ───────────────────────────────── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-icon {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-inner { position: relative; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 8px 0 12px;
    box-shadow: 0 8px 24px rgba(16, 32, 39, 0.06);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 10px 32px;
    font-size: 14px;
  }
  .nav-cta-desktop { display: none; }
  .nav-cta-mobile {
    display: block;
    margin: 8px 32px 0;
    text-align: center;
  }
}
@media (min-width: 861px) {
  .nav-cta-mobile,
  .nav-cta-mobile-wrap { display: none; }
}
