/* ============================================================
   A2B Premium Strategies — design system v2 (light-first)
   Palette + type per A2B Brand Guidelines v1.0; direction per
   client meetings: light, clean, simple; deep blue accents.
   ============================================================ */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
}

:root {
  /* Brand primaries */
  --light: #F4F4F4;
  --blue: #0063C6;
  --navy: #00193D;

  /* Brand grayscale */
  --cloud: #EDEFF7;
  --smoke: #D3D6E0;
  --steel: #BCBFCC;
  --space: #9DA2B3;
  --graphite: #6E7180;
  --arsenic: #40424D;
  --phantom: #1E1E24;

  /* Derived (documented in README: accessibility-driven extensions) */
  --sky: #5EA8F2;
  --blue-hover: #0056AC;
  --navy-deep: #001129;
  --blue-tint: #E8F1FB;   /* blue at ~8% on white, for chips/washes */

  --ink: var(--navy);
  --body: var(--arsenic);
  --muted: var(--graphite);

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;

  --shadow-card: 0 1px 2px rgba(0, 25, 61, 0.04), 0 14px 40px -18px rgba(0, 25, 61, 0.14);
  --shadow-pop: 0 30px 70px -30px rgba(0, 25, 61, 0.35);

  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
a { color: var(--blue); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.band-navy :focus-visible, .footer :focus-visible, .nav :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 18px; background: var(--blue); color: #fff;
  border-radius: 999px; text-decoration: none; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 3rem); margin-inline: auto; }

/* ---------- Type ---------- */

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue);
}
.band-navy .eyebrow { color: var(--sky); }

h1 { font-size: clamp(2.55rem, 5.2vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: 1.32rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
h4 { font-size: 1.05rem; font-weight: 700; }

.lede {
  max-width: 47em;
  margin-top: 1.15rem;
  font-size: 1.14rem;
  color: var(--body);
}
.band-navy .lede { color: var(--steel); }

.section { padding-block: clamp(4.2rem, 8.5vw, 7rem); }
.section-tint,
.section-cloud { background: var(--light); border-block: 1px solid var(--cloud); }
.section-head { margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-head h2 { max-width: 21em; }
/* the market-capture headline carries its "illustrative" disclosure beside it,
   wrapping beneath it on narrow screens */
.mc-headrow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 2.4rem; }
.mc-headrow h2 { margin: 0; flex: 0 1 auto; max-width: 15em; }
.mc-headnote {
  flex: 0 0 15rem; margin: 0;
  padding: 0.55rem 0.9rem; border: 1px solid var(--smoke); border-radius: var(--radius-sm);
  font-size: 0.86rem; font-weight: 600; line-height: 1.45; color: var(--graphite);
}

.band-navy { background: var(--navy); color: var(--steel); position: relative; overflow: hidden; }
.band-navy h2, .band-navy h3 { color: #fff; }

/* film grain for navy bands */
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.06; mix-blend-mode: overlay;
}
.grain > .container { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.85rem;
  border: 0; border-radius: 999px;
  font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(0, 99, 198, 0.5);
}
.btn-primary:hover {
  background: var(--blue-hover); transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(0, 99, 198, 0.55);
}

.btn-inverse {
  background: #fff; color: var(--navy);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
}
.btn-inverse:hover { background: var(--cloud); color: var(--navy); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--steel); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.band-navy .btn-ghost, .footer .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.band-navy .btn-ghost:hover, .footer .btn-ghost:hover { border-color: #fff; }

.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 24px -12px rgba(0,0,0,0.35); }
.btn-light:hover { transform: translateY(-2px); }

.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.92rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--blue); font-weight: 700; text-decoration: none;
}
.text-link::after { content: "→"; transition: transform 0.2s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.nav.is-scrolled {
  border-bottom-color: var(--cloud);
  box-shadow: 0 8px 30px -20px rgba(0, 25, 61, 0.25);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.85rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark { width: 62px; height: auto; color: var(--blue); flex-shrink: 0; }
.brand-text {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; line-height: 1.45;
  text-transform: uppercase; color: var(--navy); translate: 0 -4px;
}
.footer .brand-mark { color: #fff; }
.footer .brand-text { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links > a:not(.btn) {
  display: inline-flex; align-items: center;
  color: var(--arsenic); text-decoration: none;
  font-size: 0.97rem; font-weight: 600;
  padding: 0.4rem 0;
  transition: color 0.15s;
}
.nav-links > a:not(.btn):hover { color: var(--blue); }

.nav-item { position: relative; }
.nav-parent { display: inline-flex; align-items: center; gap: 0.1rem; }
.nav-parent > a {
  color: var(--arsenic); text-decoration: none;
  font-size: 0.97rem; font-weight: 600; padding: 0.4rem 0;
  transition: color 0.15s;
}
.nav-parent > a:hover { color: var(--blue); }
.nav-caret-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
  padding: 0.5rem 0.3rem; color: var(--arsenic); font-family: inherit;
  transition: color 0.15s;
}
.nav-caret-btn:hover { color: var(--blue); }
.nav-caret {
  width: 9px; height: 9px; flex-shrink: 0;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s var(--ease);
}
.nav-item.open .nav-caret { transform: rotate(-135deg) translateY(-2px); }

.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 260px; padding: 0.55rem;
  background: #fff; border: 1px solid var(--cloud);
  border-radius: 16px; box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav-item.open .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a {
  display: block; padding: 0.65rem 0.9rem;
  color: var(--arsenic); text-decoration: none;
  font-size: 0.95rem; font-weight: 600; border-radius: 10px;
}
.nav-menu a:hover { background: var(--blue-tint); color: var(--blue); }
.nav-menu a small { display: block; font-weight: 500; color: var(--graphite); font-size: 0.8rem; }
.nav-menu .nav-menu-all { border-top: 1px solid var(--cloud); margin-top: 0.35rem; padding-top: 0.75rem; color: var(--blue); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--navy); transition: transform 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */

/* Navy color field (SponsorUnited-style layering): real photography enters from
   the right and fades into the field; without a photo the field stands alone. */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(70% 95% at 12% 18%, rgba(0, 99, 198, 0.32), transparent 62%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
/* V5 SS2: grayscale photography beneath a confident dark-blue wash — the
   pricing-hero layering technique at hero strength. The photo file is baked
   true grayscale; the filter guarantees it even if the asset is ever swapped.
   The wash is ONE uniform brand-blue layer across the whole composition, with
   a light left-edge emphasis so the white copy always keeps AA contrast. */
.hero-photo { position: absolute; inset: 0; pointer-events: none; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  filter: grayscale(100%);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 17, 41, 0.34) 0%, rgba(0, 17, 41, 0.06) 55%, rgba(0, 17, 41, 0.14) 100%),
    rgba(0, 30, 74, 0.72); /* the confident dark-blue wash */
}

.hero-inner {
  position: relative;
  display: flex; align-items: center;
  min-height: min(80vh, 820px);
  padding-block: clamp(5rem, 12vh, 8.5rem) clamp(4.2rem, 10vh, 7rem);
}
.hero-copy { position: relative; z-index: 1; max-width: 960px; }
.hero .eyebrow { color: var(--sky); }
.hero h1 { color: #fff; font-size: clamp(3rem, 6.4vw, 5rem); max-width: 13em; }

.hero .accent { color: var(--blue); }
.hero-sub { max-width: 42em; margin-top: 1.6rem; font-size: clamp(1.15rem, 1.5vw, 1.35rem); color: rgba(255, 255, 255, 0.85); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.3rem; }

/* ---------- Cards & grids ---------- */

.grid { display: grid; gap: 1.3rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1.9rem 1.7rem;
  background: #fff;
  border: 1px solid var(--cloud);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.card p { color: var(--muted); font-size: 0.99rem; }

.card-link { text-decoration: none; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
/* touch hygiene for whole-card links: long-press must not flash a highlight,
   open a callout, select the copy, or lift the card as a draggable ghost */
.svc-card, .card-link {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}
@media (hover: hover) {
  .card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); border-color: var(--smoke); }
}
.card-link:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-pop); border-color: var(--smoke); }
.card-link .text-link { margin-top: auto; padding-top: 0.6rem; }

.service-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 0.5rem;
  border-radius: 15px;
  background: var(--blue-tint); color: var(--blue);
}
.service-icon svg { width: 26px; height: 26px; }

.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.32rem 0.8rem;
  background: var(--blue-tint); color: var(--blue);
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 700;
}

/* ---------- Charts (shared) ---------- */

.viz-card { padding: 1.9rem 1.7rem 1.6rem; }
.viz-card h3 { font-size: 1.12rem; }
.viz-caption { font-size: 0.92rem; color: var(--muted); }
.viz-figure { margin: 1.1rem 0 0.4rem; }
.viz-figure svg { width: 100%; height: auto; overflow: visible; }

/* animated draw for chart lines/paths: JS sets stroke-dasharray/offset */
.draw-path { transition: stroke-dashoffset 1.6s var(--ease-out); }
.fade-in-slow { opacity: 0; transition: opacity 0.9s var(--ease) 0.9s; }
.in .fade-in-slow { opacity: 1; }

/* qualitative exhibits: a labeled process and an evidence checklist, with
   no counts or scores (the page shows method, not market figures) */
.viz-card .research-flow, .viz-card .evidence-list, .viz-card .factor-grid { margin-top: auto; }
.factor-grid { margin-bottom: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.factor-grid li {
  flex: 1 1 calc(33.333% - 0.55rem); min-width: 7rem;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 0.8rem 0.7rem; border-radius: var(--radius-sm);
  background: var(--blue-tint); font-size: 0.88rem; font-weight: 700; line-height: 1.3; color: var(--blue);
}
.review-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; align-content: flex-start; }
.research-flow { display: flex; flex-direction: column; gap: 0.3rem; }
.flow-step {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 0.8rem 1rem; border-radius: var(--radius-sm);
  background: var(--blue-tint); border: 1.5px solid transparent;
  font-size: 0.88rem; font-weight: 700; line-height: 1.3; color: var(--blue);
}
.flow-step.flow-open { background: #fff; border: 1.5px dashed var(--blue); }
.flow-arrow { display: flex; justify-content: center; color: var(--blue); }
.flow-arrow svg { transform: rotate(90deg); }
.flow-arrow svg { width: 20px; height: 20px; }
.evidence-list { margin-bottom: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.evidence-list li {
  position: relative; padding: 0.7rem 1rem 0.7rem 2.7rem;
  background: var(--light); border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 600; color: var(--body);
}
.evidence-list li::before {
  content: ""; position: absolute; left: 0.95rem; top: 50%; translate: 0 -50%;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230063C6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  background-size: 62%; background-position: center; background-repeat: no-repeat;
}
.viz-note { font-size: 0.82rem; color: var(--muted); }

/* horizontal comparison bars */
.hbars { display: grid; gap: 1rem; margin-top: 1.3rem; }
.hbar { display: grid; gap: 0.35rem; }
.hbar-label { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; font-weight: 600; color: var(--body); }
.hbar-value { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.hbar-track { height: 14px; border-radius: 7px; background: var(--cloud); overflow: hidden; }
.hbar-fill {
  height: 100%; width: 0; border-radius: 7px;
  background: var(--blue);
  transition: width 1.2s var(--ease-out);
}
.hbar-fill.neutral { background: var(--graphite); }
.hbar-fill.sky { background: var(--sky); }
.hbar-fill.deep { background: #0B3A78; }

/* chart tooltip */
.chart-tip {
  position: fixed; z-index: 150; pointer-events: none;
  padding: 0.5rem 0.8rem;
  background: var(--navy); color: #fff;
  border-radius: 10px; box-shadow: var(--shadow-pop);
  font-size: 0.82rem; font-weight: 600; line-height: 1.35;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s;
  max-width: 240px;
}
.chart-tip.show { opacity: 1; transform: none; }
.chart-tip small { color: var(--steel); font-weight: 500; }

/* ---------- Founder Operating Record ---------- */

/* Homepage + Sales Execution: copy only, no
   figures — the stat band and revenue chart were withdrawn pending
   verification and public-use clearance (advisor, 2026-09-30) */
.record-section { padding-bottom: 0; }
.record-section .section-head, .record-head { margin-bottom: 0; }
.record-section .lede, .record-head .lede { max-width: 44em; }
.record-note { margin-top: 1.2rem; font-size: 0.88rem; color: var(--muted); }

/* ---------- Market map (navy band) ---------- */

/* round 2: the whole section targets one laptop viewport (~650-750px) */
.map-band { padding-block: 3rem; }
.map-band .section-head { margin-bottom: 1.4rem; }
.map-band .lede { max-width: 40em; }
.map-wrap { position: relative; margin-top: 1.2rem; max-width: 780px; margin-inline: auto; }
.map-wrap svg { width: 100%; height: auto; overflow: visible; }
/* Advisor 9.6.26 item 5: the finite-buyer-pool diagram's text + node styles */
.map-heading text {
  font-family: "Manrope", sans-serif; font-size: 13.5px; font-weight: 800;
  letter-spacing: 0.09em; text-transform: uppercase; fill: #fff;
}
.map-nodes rect { fill: rgba(255, 255, 255, 0.05); stroke: rgba(158, 178, 210, 0.35); stroke-width: 1.2; }
.map-node-title text { font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 700; fill: #fff; }
.map-node-sub text { font-family: "Manrope", sans-serif; font-size: 12.5px; font-weight: 600; fill: var(--steel); }
.map-cycle-label {
  font-family: "Manrope", sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; fill: var(--steel); text-anchor: middle;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}
.map-pulse { transform-origin: center; transform-box: fill-box; animation: pulse-ring 2.6s var(--ease) infinite; }

/* ---------- Roadmap ---------- */

.roadmap {
  --roadmap-gap: clamp(2.4rem, 4vw, 3.8rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--roadmap-gap);
  margin: 0; padding: 0; list-style: none;
}
.roadmap-step { position: relative; padding-top: 2rem; }
.roadmap-step::before {
  content: ""; position: absolute; top: 21px; left: 54px; right: calc(10px - var(--roadmap-gap)); height: 2px;
  background: var(--smoke);
}
.roadmap-step:last-child::before { display: none; }
.roadmap-marker {
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-tint); border: 1.5px solid rgba(0, 99, 198, 0.35);
  color: var(--blue); font-size: 1rem; font-weight: 800;
}
.roadmap-marker.rm-a { background: var(--navy); border-color: var(--navy); color: #fff; }
.roadmap-marker.rm-b { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 8px 20px -6px rgba(0, 99, 198, 0.55); }
.roadmap-step h3 { margin-top: 1.6rem; }
.roadmap-step .step-kind { display: block; margin-top: 0.5rem; font-size: 0.8rem; font-weight: 700; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.roadmap-step p { margin-top: 0.9rem; max-width: 34em; font-size: 0.97rem; line-height: 1.65; color: var(--muted); }

.deliverables { margin-top: clamp(2.4rem, 5vw, 3.4rem); padding: 1.9rem 1.8rem; background: var(--navy); border-radius: var(--radius); color: var(--steel); position: relative; overflow: hidden; }
.deliverables h3 { color: #fff; font-size: 1.05rem; letter-spacing: 0.02em; }
.deliverables-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.2rem; position: relative; }
.deliverables-grid h4 { color: var(--sky); font-size: 0.97rem; }
.deliverables-grid p { font-size: 0.9rem; color: var(--steel); margin-top: 0.3rem; }

/* ---------- About ---------- */

.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.about-copy p { margin-bottom: 1.05rem; color: var(--body); }
.about-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }

.about-card { background: #fff; border: 1px solid var(--cloud); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.about-portrait {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3;
  background: radial-gradient(120% 140% at 82% -10%, rgba(0, 99, 198, 0.55), rgba(0, 99, 198, 0.1) 55%, transparent 75%), var(--navy);
  overflow: hidden;
}
.about-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%; /* keeps the face framed when a square headshot crops to 4:3 */
}
.about-monogram {
  display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #fff; font-size: 2.2rem; font-weight: 800;
}
.about-id { padding: 1.4rem 1.7rem 0.3rem; }
.about-name { font-size: 1.22rem; font-weight: 800; color: var(--ink); }
.about-role { color: var(--blue); font-weight: 600; font-size: 0.94rem; }
.about-facts { margin: 0; padding: 0.9rem 1.7rem 1.7rem; list-style: none; }
.about-facts li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-block: 0.6rem; border-top: 1px solid var(--cloud);
  font-size: 0.94rem; font-weight: 600; color: var(--body); text-align: right;
}
.about-facts li span { color: var(--graphite); text-align: left; flex-shrink: 0; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2rem; }

/* ---------- Insights ---------- */

.post-card { text-decoration: none; }
.post-card time { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.post-card h3 { font-size: 1.18rem; margin-top: 0.2rem; }
.post-card p { font-size: 0.95rem; }

.article { max-width: 720px; margin-inline: auto; }
.article-head { margin-bottom: 2.2rem; }
.article-head h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.article-meta { margin-top: 0.9rem; font-size: 0.88rem; color: var(--muted); }
.article-body p { margin-bottom: 1.25rem; color: var(--body); font-size: 1.08rem; line-height: 1.75; }
.article-body h2 { font-size: 1.45rem; margin: 2.2rem 0 0.9rem; }
.article-body .pullquote {
  margin: 2rem 0; padding: 1.4rem 1.7rem;
  border-left: 3px solid var(--blue);
  background: var(--blue-tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.15rem; font-weight: 600; color: var(--ink);
}
.article-cta { margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--cloud); }
.article-body ul { display: grid; gap: 0.75rem; margin: 0 0 1.4rem; padding-left: 1.3rem; list-style: disc; }
.article-body li { padding-left: 0.2rem; color: var(--body); font-size: 1.08rem; line-height: 1.7; }
.article-body li::marker { color: var(--blue); }
.article-body li strong { color: var(--ink); }
.article-source { margin-top: 1.4rem; font-size: 0.85rem; line-height: 1.6; color: var(--muted); }

/* ---------- Page hero (sub-pages) ---------- */

.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(55% 90% at 90% 0%, rgba(0, 99, 198, 0.07), transparent 60%),
    #fff;
  border-bottom: 1px solid var(--cloud);
}
.page-hero .container { padding-block: clamp(3.4rem, 7vh, 5.4rem); }
.page-hero h1 { max-width: 17em; }
.page-hero .lede { font-size: 1.15rem; }
.crumbs { display: flex; gap: 0.5rem; margin-bottom: 1.2rem; font-size: 0.85rem; font-weight: 600; }
.crumbs a { color: var(--graphite); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs span { color: var(--steel); }

/* service detail layout */
.detail-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.4rem, 5vw, 4rem); align-items: start; }
.symptoms { margin: 1.4rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; }
.symptoms li {
  position: relative; padding: 0.9rem 1.2rem 0.9rem 2.9rem;
  background: #fff; border: 1px solid var(--cloud); border-radius: var(--radius-sm);
  font-weight: 600; color: var(--body); font-size: 0.98rem;
}
.symptoms li::before {
  content: ""; position: absolute; left: 1.05rem; top: 50%; translate: 0 -50%;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230063C6' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
  background-size: 60%; background-position: center; background-repeat: no-repeat;
}
.deliverable-box {
  margin-top: 1.8rem; padding: 1.5rem 1.6rem;
  background: var(--navy); color: var(--steel);
  border-radius: var(--radius-sm);
}
.deliverable-box h4 { color: var(--sky); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.4rem; }
.deliverable-box p { color: #fff; font-weight: 600; font-size: 1.02rem; }

/* ---------- Contact ---------- */

/* V5 SS12: balanced two-column — intro copy left, form right */
.contact-section .container { padding-block: clamp(3.6rem, 8vh, 6rem); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.4rem, 5vw, 4.5rem); align-items: start; }
.contact-copy h1 { max-width: 12em; }
.contact-copy .lede { margin-top: 1.1rem; }
/* Advisor 9.8.26: the diagnostic question sits between headline and lede */
.contact-diagnostic { margin-top: 1.1rem; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.contact-copy .contact-alt { margin-top: 1.6rem; }
.contact-alt { font-size: 0.95rem; color: var(--muted); }
.contact-alt a { font-weight: 700; }

.contact-form {
  display: grid; gap: 1.05rem; padding: 2rem;
  background: #fff; border: 1px solid var(--cloud);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}
/* display:grid above beats the browser's [hidden] rule: without this the sent
   form (and its button) would stay on screen above the confirmation */
.contact-form[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.form-field { display: grid; gap: 0.4rem; }
.form-field label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.label-optional { font-weight: 500; color: var(--graphite); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 0.78rem 0.95rem;
  font-family: inherit; font-size: 1rem; color: var(--phantom);
  background: var(--light); border: 1.5px solid var(--graphite); border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field textarea { resize: vertical; }
.form-field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2340424D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 16px;
}
.form-field select:has(option[value=""]:checked) { color: var(--graphite); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 99, 198, 0.18);
}
.form-note { font-size: 0.85rem; color: var(--graphite); text-align: center; }
.form-status { font-size: 0.92rem; font-weight: 600; color: var(--navy); text-align: center; }
/* V5 SS12: the card ends where its content ends — an empty status adds no gap */
.form-status:empty { display: none; }
.form-status.is-error { color: #B3261E; }
/* spam trap: out of sight and out of the tab order; bots still fill it */
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA band ---------- */

.cta-band { text-align: left; }
.cta-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; }
.cta-band h2 { max-width: 15em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: flex-end; }
.cta-glow {
  position: absolute; width: 640px; height: 640px; right: -240px; top: -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 99, 198, 0.3), rgba(0, 99, 198, 0.06) 45%, transparent 70%);
  pointer-events: none;
}

/* ---------- Footer ---------- */

.footer { background: var(--navy-deep); color: var(--space); padding-block: 3rem 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, auto); gap: clamp(1.8rem, 5vw, 4.5rem); }
.footer-tag { margin-top: 1rem; max-width: 22em; font-size: 0.9rem; }
.footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.15rem; }
.footer ul a {
  color: var(--space); text-decoration: none; font-size: 0.92rem; font-weight: 600;
  display: inline-block; padding-block: 0.35rem;
}
.footer ul a:hover { color: #fff; }
.footer-legal {
  margin-top: 2.4rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.85rem;
}

/* ---------- Reveal animations (gated on .js) ---------- */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-l { opacity: 0; transform: translateX(-26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal-l.in { opacity: 1; transform: none; }
.js .reveal-r { opacity: 0; transform: translateX(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal-r.in { opacity: 1; transform: none; }
.grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.grid > .reveal:nth-child(4) { transition-delay: 0.24s; }
.roadmap > :nth-child(2) { transition-delay: 0.1s; }
.roadmap > :nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal-l, .js .reveal-r { transition: none; opacity: 1; transform: none; }
  .btn, .card-link, .nav-caret, .nav-menu { transition: none; }
  .draw-path { transition: none !important; stroke-dashoffset: 0 !important; }
  .fade-in-slow { transition: none; opacity: 1; transform: none; }
  .hbar-fill { transition: none; }
  .map-pulse { animation: none; opacity: 0; }
}

/* ---------- Service cards (home) ----------
   Compact four-card grid; the whole card is the link, everything readable
   with zero interaction. One row on desktop, two-by-two on mobile. */

/* services + value are consecutive white sections — halve the doubled seam */
#services { padding-bottom: clamp(2.2rem, 4vw, 3.2rem); }
#value { padding-top: clamp(2rem, 3.5vw, 3rem); }
/* same seam since Insights moved above Get Started: market capture → insights */
#market-capture { padding-bottom: clamp(2.2rem, 4vw, 3.2rem); }
#insights { padding-top: clamp(2rem, 3.5vw, 3rem); }
.eyebrow-title { display: block; margin-bottom: 1.6rem; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  padding: 1.5rem 1.4rem 1.6rem;
  background: #fff;
  border: 1px solid rgba(0, 99, 198, 0.3);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
/* the navy lift is a POINTER affordance: gated to hover-capable devices so a
   touch long-press cannot stick it; keyboard focus keeps the identical state */
@media (hover: hover) {
  .svc-card:hover {
    background: var(--navy); border-color: var(--navy);
    transform: translateY(-3px); box-shadow: var(--shadow-pop);
  }
  .svc-card:hover h3, .svc-card:hover p, .svc-card:hover .svc-card-icon { color: #fff; }
}
.svc-card:focus-visible {
  background: var(--navy); border-color: var(--navy);
  transform: translateY(-3px); box-shadow: var(--shadow-pop);
  outline: 2px solid var(--blue); outline-offset: 3px;
}
.svc-card:focus-visible h3,
.svc-card:focus-visible p,
.svc-card:focus-visible .svc-card-icon { color: #fff; }
.svc-card-icon { color: var(--navy); align-self: flex-end; transition: color 0.18s var(--ease); }
.svc-card-icon svg { width: 44px; height: 44px; }
.svc-card h3 { margin-top: 1.3rem; font-size: 1.16rem; letter-spacing: -0.01em; color: var(--ink); transition: color 0.18s var(--ease); }
.svc-card p { margin-top: 0.5rem; font-size: 0.93rem; line-height: 1.55; color: var(--muted); transition: color 0.18s var(--ease); }

/* ---------- How A2B creates value (home) ---------- */

.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: stretch; }
.value-panel {
  display: flex; flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--light); border: 1px solid var(--cloud); border-radius: var(--radius);
}
.value-panel .eyebrow { font-size: 0.75rem; }
.value-panel h3 { margin-top: 0.3rem; font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.01em; }
.value-panel > p { margin-top: 0.8rem; font-size: 1rem; line-height: 1.65; color: var(--body); max-width: 34em; }
.value-media { margin-top: auto; padding-top: 1.5rem; }
.signal-panel {
  background: #fff; border: 1px solid var(--cloud); border-radius: var(--radius-sm);
  padding: 1.3rem 1.4rem;
}
/* Advisor 9.6.26 item 4: the career-depth graphic — reuses the .hbar family */
.exp-graphic .exp-title {
  margin-bottom: 1rem;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy);
}
.exp-graphic .hbars { margin-top: 0; }
.exp-graphic .hbar-label { font-size: 0.88rem; }
.exp-graphic .hbar-value { white-space: nowrap; }
.value-media.signal-panel { margin-top: auto; }
/* the six signal chips are held off the homepage (advisor 2026-10-13);
   these rules stay so restoring the list is a markup-only change */
.signal-chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.signal-chips li {
  padding: 0.34rem 0.8rem;
  background: var(--blue-tint); color: var(--blue);
  border-radius: 999px; font-size: 0.82rem; font-weight: 700;
}
.signal-stat { margin-top: 1.1rem; font-size: 0.95rem; color: var(--muted); }
.signal-stat:first-child { margin-top: 0; }
.signal-stat strong { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }

/* ---------- Founder quote (home) — an editorial moment, not a card ---------- */

/* V4 Option A: editorial pull quote on white — left-aligned text inside a
   centered block, oversized blue opening mark, attribution row below. */
.quote-section { padding-block: clamp(5.5rem, 11vw, 9rem); }
.quote-wrap { max-width: 960px; text-align: left; }
.quote-mark {
  height: 0.45em;
  font-size: clamp(5rem, 9vw, 8rem); font-weight: 800; line-height: 1;
  color: var(--blue);
}
.quote-wrap blockquote {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4rem); /* ~32px mobile to ~64px desktop */
  font-weight: 700; line-height: 1.22; letter-spacing: -0.02em;
  color: var(--ink);
}
/* V5 SS5: one attribution row — Andrew's image on the left, slightly larger,
   spanning the full height of the name/title/About stack beside it */
.quote-attrib {
  margin-top: 2.4rem;
  display: flex; align-items: stretch; gap: 1.25rem;
}
.quote-attrib .quote-photo {
  width: 92px; align-self: stretch; flex: none;
  border-radius: var(--radius-sm);
  object-fit: cover; object-position: 50% 22%;
  border: 3px solid var(--blue-tint);
}
.quote-id { display: flex; flex-direction: column; justify-content: center; }
.quote-name { display: inline-flex; align-items: center; font-weight: 800; color: var(--ink); }
.quote-role { margin-top: 0.2rem; font-size: 0.92rem; color: var(--muted); }
.quote-about { margin-top: 0.45rem; font-size: 0.92rem; }

/* ---------- LinkedIn mark (official logo, accessible label) ---------- */

.li-link { display: inline-flex; align-items: center; color: var(--blue); transition: color 0.2s var(--ease), transform 0.2s var(--ease); }
.li-link svg { width: 20px; height: 20px; }
.li-link:hover { color: var(--blue-hover); transform: translateY(-1px); }
.li-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.li-name { margin-left: 0.45rem; vertical-align: -3px; }
.li-name svg { width: 18px; height: 18px; }
.footer .li-link { color: var(--steel); }
.footer .li-link:hover { color: #fff; }
.footer .li-link:focus-visible { outline-color: #fff; }

/* ---------- Service pages (shared V3 treatment) ---------- */

/* subtle real photography behind the service hero: blue-toned monochrome,
   low opacity, masked into the white background — readability unchanged */
.service-hero { position: relative; overflow: hidden; }
.hero-bg-photo { position: absolute; inset: 0 0 0 30%; pointer-events: none; }
.hero-bg-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%) sepia(12%) hue-rotate(180deg) saturate(220%);
  opacity: 0.09;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 45%);
  mask-image: linear-gradient(90deg, transparent 0%, black 45%);
}
.service-hero .container { position: relative; }

/* deliberate breathing room between the service hero and the overview */
.section-overview { padding-top: clamp(5.5rem, 10vw, 8.5rem); }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2.5vw, 2rem); align-items: stretch; }
.overview-card { height: 100%; }
.overview-card { padding: 1.7rem 1.6rem 1.9rem; }
.overview-card h3 { font-size: 1.22rem; letter-spacing: -0.01em; }
.overview-card .symptoms { margin-top: 1.1rem; }
.overview-card .symptoms li { background: var(--light); }

/* V5 SS10: deliverables feed one larger outcome card. The connector lines are
   drawn at runtime (script.js drawConnectors) into the absolutely-positioned
   .deliver-lines overlay, one line per card from the card's right edge to the
   outcome card — recomputed on resize and font load, sitting behind cards. */
.deliver-diagram {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 34fr) minmax(0, 58fr);
  column-gap: clamp(56px, 9vw, 130px);
  align-items: stretch;
}
.deliver-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; display: block;
}
.deliver-stack { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; align-content: center; }
.deliver-stack li {
  padding: 0.85rem 1.1rem;
  background: #fff; border: 1px solid var(--cloud);
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; line-height: 1.45; color: var(--body);
}
.deliver-arrow { display: none; }
.outcome-card {
  position: relative; z-index: 1;
  align-self: center;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  background: #fff; border: 1px solid rgba(0, 99, 198, 0.3); border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.outcome-card h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
.outcome-card p { margin-top: 0.7rem; font-size: 1.08rem; line-height: 1.65; color: var(--body); }

/* ---------- Article lead image ---------- */

.article-lead { margin: 1.9rem 0 2.3rem; }
.article-lead img {
  display: block; width: 100%;
  aspect-ratio: 3 / 1; max-height: 320px; object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ---------- Founder Operating Record backdrop (home) ---------- */

.case-section { position: relative; overflow: hidden; }
.case-section .container { position: relative; }

/* the Pacers-building photograph sits in the section BACKGROUND — subtle,
   low-opacity, faded into the cloud field (V4 §11). The second, horizontal
   mask fades the right side out: with the chart card gone that side is no
   longer covered, and it is where the photo's sponsor signage sits — a
   third-party mark must not read as an affiliation. */
.case-bg { position: absolute; inset: 0; pointer-events: none; }
.case-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.07;
  filter: grayscale(100%); /* V5 SS8: no visible color */
  -webkit-mask-image:
    linear-gradient(180deg, black 0%, rgba(0,0,0,0.6) 55%, transparent 92%),
    linear-gradient(90deg, black 0%, black 38%, transparent 68%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, black 0%, rgba(0,0,0,0.6) 55%, transparent 92%),
    linear-gradient(90deg, black 0%, black 38%, transparent 68%);
  mask-composite: intersect;
}

/* ---------- Insight covers ---------- */

.post-cover {
  margin: -1.9rem -1.7rem 0.55rem;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy);
}
.post-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Positive lists (principles, deliverables) ---------- */

.principles li::before,
.deliverable-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230063C6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E");
}

/* ---------- About (profile-led) ---------- */

.about-lead .about-grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); align-items: start; }
.about-name .li-name { vertical-align: -2px; }

.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.principle-card {
  display: flex; flex-direction: column;
  padding: 1.4rem 1.3rem 1.5rem;
  background: #fff; border: 1px solid var(--cloud); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.principle-card .svc-card-icon { align-self: flex-start; color: var(--blue); }
.principle-card .svc-card-icon svg { width: 30px; height: 30px; }
.principle-card .svc-card-icon svg path, .principle-card .svc-card-icon svg rect, .principle-card .svc-card-icon svg line, .principle-card .svc-card-icon svg circle { stroke-width: 2.2; }
.principle-card p { margin-top: 1.1rem; font-size: 0.95rem; line-height: 1.55; font-weight: 600; color: var(--body); }
.about-mission { margin-top: 1.4rem; font-size: 1.08rem; color: var(--ink); }

/* ---------- Contact flow (form -> confirmation) ---------- */

/* V4 §15: compact checkbox group — plain checkboxes, tight vertical rhythm,
   full label clickable, two columns on wide screens */
.form-checks { border: 0; margin: 0; padding: 0; }
.form-checks legend { font-size: 0.85rem; font-weight: 700; color: var(--ink); padding: 0; margin-bottom: 0.55rem; }
.form-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.form-checks legend { grid-column: 1 / -1; }
.check {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.95rem; font-weight: 500; color: var(--body);
  cursor: pointer; user-select: none;
}
.check:hover { color: var(--blue); }
.check:has(input:checked) { color: var(--ink); font-weight: 700; }
.check:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.check input { width: 17px; height: 17px; margin: 0; accent-color: var(--blue); flex-shrink: 0; }
.check span { line-height: 1.3; }

.form-confirm {
  background: #fff; border: 1px solid var(--cloud); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.9rem 1.8rem;
}
.form-confirm:focus { outline: none; }
.form-confirm h2 { font-size: 1.45rem; }
.form-confirm-note { margin-top: 0.5rem; font-size: 0.95rem; color: var(--muted); }
.form-confirm-next {
  margin-top: 1.3rem; padding: 1.2rem 1.3rem;
  background: var(--blue-tint); border-radius: var(--radius-sm);
  font-size: 0.95rem; line-height: 1.6; color: var(--body);
}
.form-confirm-next a { color: var(--blue); font-weight: 700; }
/* phones: Andrew's address breaks only after "@", so the card gives it room */
@media (max-width: 400px) {
  .form-confirm { padding: 1.5rem 1.15rem; }
  .form-confirm-next { padding: 1rem 0.95rem; }
}

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .svc-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .svc-card { padding: 1.1rem 1rem 1.2rem; border-radius: var(--radius-sm); }
  .svc-card-icon { width: 36px; height: 36px; border-radius: 10px; }
  .svc-card-icon svg { width: 18px; height: 18px; }
  .svc-card h3 { margin-top: 1rem; font-size: 1rem; }
  .svc-card p { font-size: 0.86rem; }
  .value-grid { grid-template-columns: 1fr; }
}

/* ---------- Photo credits ---------- */
.credits-list { margin: 0; padding: 0; list-style: none; max-width: 760px; display: grid; gap: 0.9rem; }
.credits-list li { padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--cloud); border-radius: var(--radius-sm); font-size: 0.97rem; line-height: 1.6; color: var(--body); }
.credits-note { margin-top: 1.6rem; font-size: 0.9rem; color: var(--muted); max-width: 760px; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .principle-grid { grid-template-columns: 1fr 1fr; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }

  .detail-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-card { max-width: 520px; }
  .contact-form, .form-confirm { max-width: 680px; }

  .roadmap { grid-template-columns: 1fr; gap: 2rem; }
  .roadmap-step { padding-top: 0; padding-left: 64px; }
  .roadmap-step::before { top: 54px; bottom: calc(10px - 2rem); left: 21px; right: auto; width: 2px; height: auto; }
  .roadmap-step:last-child::before { display: none; }
  .roadmap-step h3 { margin-top: 0; }
  .deliverables-grid { grid-template-columns: 1fr; }

  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  /* About stacks on phones: .about-lead .about-grid outranks the .about-grid
     rule above, so the page never stacked and the profile card was clipped.
     Scoped here, where the two columns broke; wider layouts are unchanged. */
  .about-lead .about-grid { grid-template-columns: 1fr; }
  /* side reveals become rise reveals on mobile so their pre-animation
     offset can never widen the page */
  .js .reveal-l, .js .reveal-r { transform: translateY(18px); }
  .js .reveal-l.in, .js .reveal-r.in { transform: none; }
  .deliver-diagram { grid-template-columns: 1fr; }
  .deliver-lines { display: none; }
  .deliver-arrow {
    display: block; text-align: center; padding: 0.9rem 0;
    color: var(--blue); font-size: 1.3rem; font-weight: 800;
  }
  .deliver-arrow::before { content: "\2193"; }
  .outcome-card { align-self: auto; }
  .form-checks { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
  .hero-bg-photo { inset: 0; }
  /* intentional mobile crop: keep the glass rail + suite line visible */
  .hero-photo img { object-position: 68% 45%; }
  .hero-photo::after { background: rgba(0, 26, 66, 0.78); }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.6rem 1.5rem 1.4rem;
    background: #fff; border-bottom: 1px solid var(--cloud);
    box-shadow: 0 30px 40px -30px rgba(0, 25, 61, 0.25);
    max-height: calc(100vh - 70px); overflow: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn) {
    width: 100%; justify-content: space-between;
    padding: 0.85rem 0; font-size: 1.05rem;
    border-bottom: 1px solid var(--cloud);
  }
  .nav-item { width: 100%; }
  .nav-parent {
    width: 100%; justify-content: space-between;
    border-bottom: 1px solid var(--cloud);
  }
  .nav-parent > a { flex: 1; padding: 0.85rem 0; font-size: 1.05rem; }
  .nav-caret-btn { padding: 0.85rem 0.6rem; }
  .nav-menu {
    position: static; translate: none; min-width: 0;
    border: 0; box-shadow: none; padding: 0 0 0 0.9rem;
    display: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav-item.open .nav-menu { display: block; }
  .nav-links .btn { margin-top: 1rem; }

  .grid-4, .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }
  .grid-3 > :last-child:nth-child(odd) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cta .btn { width: 100%; }
  /* About: the longer secondary label stacks cleanly, centered, full width */
  .about-cta .btn { width: 100%; padding-inline: 1.1rem; text-align: center; }
}

/* where a fact row cannot fit its longest label and value side by side
   (the narrow two-column card, and phones), the label wraps inside its share
   so the value never leaves the card */
@media (min-width: 761px) and (max-width: 883px), (max-width: 400px) {
  .about-facts li span { max-width: 60%; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Premium market capture (variant section) ----------
   Area encodes the captured/uncaptured split: identical tiles, 1-col vs 3-col
   grids inside a quarter/three-quarter parent. The 3-step ordinal ramp is
   built from the brand blue and applies ONLY inside the uncaptured group
   (validated: #0B3A78/#fff 11.1:1 - #0063C6/#fff 5.8:1 - #86B6EE/navy 8.2:1
   text, 2.11:1 against the white plate). Current clients sit OFF the ramp:
   neutral near-empty tiles, so they can never read as "weakest accounts".
   The plate stays light by design - the encoding only holds on light. */
.mc-plate {
  --mc-gap: 10px;
  --mc-tile-h: 96px;
  background: #fff; border: 1px solid var(--cloud);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: clamp(1.3rem, 3vw, 2.2rem);
}
.mc-toolbar { display: flex; justify-content: flex-end; margin-bottom: 1.2rem; }
.mc-toggle {
  font: inherit; font-size: 0.88rem; font-weight: 700; color: var(--blue);
  background: #fff; border: 1.5px solid var(--blue); border-radius: 999px;
  padding: 0.45rem 1.15rem; cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.mc-toggle:hover { background: var(--blue-tint); }
.mc-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.mc-toggle[aria-pressed="true"] { background: var(--blue); color: #fff; }

/* quarter / three-quarters, with the gap taken out so tiles in BOTH groups
   compute to exactly the same width */
/* the toggle swaps these two via the hidden attribute; the explicit rules are
   required because the CSS display would otherwise beat [hidden] */
.mc-split[hidden], .mc-table-wrap[hidden] { display: none; }
.mc-split {
  display: grid;
  grid-template-columns: calc((100% - 3 * var(--mc-gap)) / 4) 1fr;
  column-gap: var(--mc-gap);
  align-items: start;
}
/* fixed header height so a wrapping count line cannot knock the two tile
   grids off their shared baseline */
.mc-group-head { min-height: 3.7rem; margin-bottom: 0.9rem; }
.mc-group-head h3 {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink);
}
.mc-group-head p { margin-top: 0.2rem; font-size: 0.86rem; color: var(--muted); }
.mc-grid { display: grid; gap: var(--mc-gap); grid-auto-rows: var(--mc-tile-h); }
.mc-grid-captured { grid-template-columns: 1fr; }
.mc-grid-open { grid-template-columns: repeat(3, 1fr); }

.mc-tile {
  display: flex; flex-direction: column; justify-content: space-between;
  min-width: 0; padding: 0.7rem 0.8rem; border-radius: 10px;
}
.mc-name { font-size: 0.88rem; font-weight: 700; line-height: 1.25; }
.mc-tag {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.09em;
  text-transform: uppercase;
}
/* the evidence ramp - uncaptured group only */
.mc-d1 { background: #0B3A78; color: #fff; }
.mc-d2 { background: var(--blue); color: #fff; }
.mc-d3 { background: #86B6EE; color: var(--navy); }
.mc-d1 .mc-tag, .mc-d2 .mc-tag { color: rgba(255, 255, 255, 0.82); }
.mc-d3 .mc-tag { color: #16407A; }
/* current clients: context, deliberately unscored */
.mc-neutral {
  background: #F6F8FB; color: var(--arsenic);
  box-shadow: inset 0 0 0 1px var(--smoke);
}
.mc-neutral .mc-tag { color: #63667A; }

.mc-table-wrap { overflow-x: auto; }
.mc-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.mc-table th[scope="col"] {
  text-align: left; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--muted);
  padding: 0.55rem 0.8rem; border-bottom: 2px solid var(--smoke);
}
.mc-table td, .mc-table th[scope="row"] {
  padding: 0.68rem 0.8rem; border-bottom: 1px solid var(--cloud);
  text-align: left; color: var(--body); font-weight: 500; vertical-align: top;
}
.mc-table th[scope="row"] { font-weight: 700; color: var(--ink); }
.mc-table .num { text-align: right; font-variant-numeric: tabular-nums; }

.mc-legend-row {
  margin-top: 1.7rem; padding-top: 1.5rem; border-top: 1px solid var(--cloud);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.6rem; align-items: start;
}
.mc-legend { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; }
.mc-legend li { display: grid; grid-template-columns: 18px 1fr; gap: 0.75rem; }
.mc-swatch { width: 18px; height: 18px; border-radius: 5px; margin-top: 0.1rem; }
.mc-legend strong { display: block; font-size: 0.92rem; color: var(--ink); }
.mc-legend span:not(.mc-swatch) { display: block; margin-top: 0.05rem; font-size: 0.85rem; color: var(--muted); }
.mc-note {
  font-size: 0.92rem; line-height: 1.65; color: var(--body);
  background: var(--blue-tint); border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
}
.mc-takeaway {
  margin-top: 2.2rem; max-width: 28em;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.35; color: var(--ink);
}
.mc-footnote { margin-top: 0.9rem; font-size: 0.82rem; color: var(--muted); }

@media (max-width: 900px) {
  .mc-legend-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* stacked groups, both 2-up at the same tile size, so the 5-vs-15
     proportion survives as area */
  .mc-plate { --mc-tile-h: 88px; }
  .mc-split { grid-template-columns: 1fr; row-gap: 1.7rem; }
  .mc-grid-captured, .mc-grid-open { grid-template-columns: 1fr 1fr; }
  .mc-group-head { min-height: 0; }
}
