/* ==========================================================================
   Accelerate Revenue Partners
   Stylesheet. Tokens follow the brand SOP (SOP-ARP-DS-2026-V1) and the
   approved UI and UX mockup.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand colors */
  --navy: #0A1930;
  --navy-deep: #071226;
  --navy-line: rgba(255, 255, 255, 0.12);
  --slate-light: #F8FAFC;
  --surface: #F1F5F9;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --gold: #C59B3C;
  --gold-hover: #B38A2E;
  --gold-text: #8A671B;      /* gold for small text on light fills, 5.0:1 on white */
  --cyan: #1E8AA3;
  --cyan-text: #146E83;      /* cyan for small text on light fills, 5.6:1 on white */
  --cyan-on-navy: #5CC3DA;   /* cyan for data on navy, 7.9:1 */
  --cyan-tint: #EDF6F8;

  /* Text */
  --text: #0A1930;
  --text-muted: #475569;
  --text-soft: #64748B;
  --text-on-navy: #FFFFFF;
  --text-on-navy-muted: #B6C2D3;

  /* Type */
  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-display: clamp(2.25rem, 1.35rem + 3.6vw, 4rem);
  --fs-h1: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 1.25rem + 2vw, 2.875rem);
  --fs-h3: clamp(1.1875rem, 1.05rem + 0.5vw, 1.5rem);
  --fs-h4: 1.0625rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-y: clamp(4rem, 2.5rem + 6vw, 7rem); /* 96 px or more on desktop */
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --container: 80rem; /* 1280 px */

  /* Geometry */
  --radius: 2px;
  --rule: 1px solid var(--border);
  --header-h: 100px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 160ms;
}

@media (max-width: 899px) {
  :root { --header-h: 84px; }
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  text-wrap: balance;
}

h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h4 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

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

/* ---------- 3. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.section--slate { background: var(--slate-light); }
.section--navy { background: var(--navy); color: var(--text-on-navy); }
.section--tight-top { padding-top: 0; }

/* Split heading row used across sections: heading left, context right */
.section-head {
  display: grid;
  gap: var(--space-5) var(--space-8);
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.section-head__lead {
  color: var(--text-muted);
  font-size: var(--fs-lead);
  line-height: 1.6;
  max-width: 36rem;
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 7fr 5fr; align-items: end; }
  .section-head--top { align-items: start; }
  .section-head--top .section-head__lead { padding-top: 2.4rem; }
}

.section-head--single { grid-template-columns: 1fr; max-width: 56rem; }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: block;
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.section--navy .eyebrow,
.on-navy .eyebrow { color: var(--gold); }

.h-display { font-size: var(--fs-display); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }

.lead { font-size: var(--fs-lead); color: var(--text-muted); line-height: 1.6; }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-small); }
.micro { font-size: var(--fs-micro); color: var(--text-soft); }

.prose > * + * { margin-top: var(--space-4); }
.prose { color: var(--text-muted); max-width: 42rem; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  --btn-border: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary {
  --btn-bg: var(--gold);
  --btn-fg: var(--navy);
  --btn-border: var(--gold);
}
.btn--primary:hover { --btn-bg: var(--gold-hover); --btn-border: var(--gold-hover); }

.btn--secondary:hover { --btn-bg: var(--navy); --btn-fg: var(--white); }

.btn--on-navy {
  --btn-fg: var(--white);
  --btn-border: rgba(255, 255, 255, 0.6);
}
.btn--on-navy:hover { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-border: var(--white); }

.btn--block { width: 100%; }

.btn[aria-disabled="true"],
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}
.btn--secondary[aria-disabled="true"]:hover,
.btn--secondary:disabled:hover { --btn-bg: transparent; --btn-fg: var(--navy); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}
.text-link:hover { color: var(--cyan-text); }

/* ---------- 6. Header and navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(10, 25, 48, 0.02);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: var(--header-h);
}

.brand {
  display: block;
  flex: none;
  width: 168px;
  padding-block: 6px;
}
.brand img { width: 100%; }

.primary-nav { display: none; }
.primary-nav ul {
  display: flex;
  gap: clamp(1rem, 0.2rem + 1.4vw, 2rem);
  list-style: none;
}
.primary-nav a {
  position: relative;
  display: inline-block;
  padding-block: var(--space-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.primary-nav a:hover { color: var(--gold-text); }
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--gold-text); }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -12px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (min-width: 1100px) {
  .primary-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .brand { width: 170px; }
}

/* Full screen navy drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: var(--space-5) var(--gutter) var(--space-6);
  background: var(--navy);
  color: var(--white);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s linear 200ms;
}
.nav-drawer.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s;
}
.nav-drawer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-7);
}
.nav-drawer__logo { width: 180px; }
.nav-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -12px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav-drawer__close svg { width: 22px; height: 22px; }
.nav-drawer__links { list-style: none; }
.nav-drawer__links a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--navy-line);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  text-decoration: none;
}
.nav-drawer__links a:hover,
.nav-drawer__links a[aria-current="page"] { color: var(--gold); }
.nav-drawer__cta { margin-top: var(--space-6); }
.nav-drawer__contact {
  margin-top: auto;
  padding-top: var(--space-6);
  font-size: var(--fs-small);
  color: var(--text-on-navy-muted);
}
.nav-drawer__contact a { color: var(--white); }
.nav-drawer__contact p + p { margin-top: var(--space-2); }

/* ---------- 7. Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.hero__grid {
  display: grid;
  gap: var(--space-7);
  padding-block: clamp(3rem, 2rem + 4vw, 6rem);
}
.hero__title { font-size: var(--fs-display); max-width: 17ch; }
.hero__copy .lead { margin-top: var(--space-5); max-width: 38rem; color: var(--text); opacity: 0.85; }
.hero__copy .hero__support { margin-top: var(--space-4); max-width: 38rem; color: var(--text-muted); }
.hero__copy .btn-row { margin-top: var(--space-6); }
.hero__micro { margin-top: var(--space-4); font-size: var(--fs-small); color: var(--text-soft); max-width: 34rem; }

.hero__visual { position: relative; }

@media (min-width: 1000px) {
  .hero::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 36%;
    background: var(--slate-light);
    border-left: var(--rule);
  }
  .hero__grid {
    grid-template-columns: 55fr 45fr;
    align-items: center;
    gap: clamp(2rem, 1rem + 3vw, 5rem);
    min-height: min(46rem, calc(100vh - var(--header-h) - 7rem));
  }
}

/* Dashboard panel */
.dash {
  position: relative;
  z-index: 1;
  background: var(--navy);
  color: var(--white);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 0.8rem + 1.5vw, 2rem);
  box-shadow: 0 24px 48px -28px rgba(10, 25, 48, 0.55);
}
.dash__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--navy-line);
}
.dash__title {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dash__tag {
  font-size: var(--fs-micro);
  color: var(--text-on-navy-muted);
}
.dash table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}
.dash th {
  padding: var(--space-4) 0 var(--space-2);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: var(--text-on-navy-muted);
}
.dash td {
  padding: 0.7rem 0;
  border-top: 1px solid var(--navy-line);
}
.dash th:not(:first-child),
.dash td:not(:first-child) { text-align: right; }
.dash .is-up { color: var(--cyan-on-navy); font-weight: 600; }
.dash .is-gold { color: var(--gold); font-weight: 600; }

.dash__chart {
  margin-top: var(--space-5);
  padding: var(--space-4);
  border: 1px solid var(--navy-line);
}
.dash__chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  margin-bottom: var(--space-3);
  font-size: var(--fs-micro);
  color: var(--text-on-navy-muted);
}
.legend { display: flex; gap: var(--space-4); }
.legend span { display: inline-flex; align-items: center; gap: var(--space-2); }
.legend i { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--cyan-on-navy); }
.legend i.is-dashed { border-top: 2px dashed #8A9AB3; }
.dash__chart svg { width: 100%; height: auto; }
.chart-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.chart-line--portfolio { stroke: var(--cyan-on-navy); stroke-width: 2.5; }
.chart-line--market { stroke: #8A9AB3; stroke-width: 1.5; stroke-dasharray: 5 5; }
.chart-grid { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; }
.chart-axis { fill: var(--text-on-navy-muted); font-size: 10px; font-family: var(--font-body); }

/* Proof strip */
.proof {
  background: var(--navy);
  color: var(--white);
}
.proof__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
}
.proof__item {
  padding: var(--space-6) var(--space-4) var(--space-6) 0;
}
.proof__item:nth-child(odd) { border-right: 1px solid var(--navy-line); }
.proof__item:nth-child(even) { padding-left: var(--space-5); }
.proof__item:nth-child(-n+2) { border-bottom: 1px solid var(--navy-line); }
.proof__value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--gold);
}
.proof__label {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-navy-muted);
}
@media (min-width: 900px) {
  .proof__list { grid-template-columns: repeat(4, 1fr); }
  .proof__item,
  .proof__item:nth-child(even) {
    padding: var(--space-7) var(--space-5);
    border-bottom: 0 !important;
    border-right: 1px solid var(--navy-line);
  }
  .proof__item:first-child { padding-left: 0; }
  .proof__item:last-child { border-right: 0; }
}

/* ---------- 8. Operator strip ---------- */
.operator-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  border-top: var(--rule);
  border-left: var(--rule);
}
.operator-strip li {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: var(--space-4) var(--space-4);
  border-right: var(--rule);
  border-bottom: var(--rule);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  transition: background-color var(--dur) var(--ease);
}
.operator-strip li:hover { background: var(--slate-light); }
@media (min-width: 1000px) {
  .operator-strip { grid-template-columns: repeat(6, 1fr); border-left: 0; }
  .operator-strip li { min-height: 112px; padding: var(--space-5); border-right: var(--rule); }
  .operator-strip li:last-child { border-right: 0; }
  .operator-strip li:first-child { padding-left: 0; }
}

.tag-note {
  display: inline-block;
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-4);
  border-left: 3px solid var(--gold);
  background: var(--surface);
  font-size: var(--fs-small);
  font-weight: 600;
}

/* ---------- 9. Diagnostic cards ---------- */
.diag-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 800px) {
  .diag-grid { grid-template-columns: repeat(2, 1fr); }
}
.diag {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  background: var(--white);
  border: var(--rule);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: border-color var(--dur) var(--ease);
}
.diag:nth-child(even) { border-left-color: var(--cyan); }
.diag:hover { border-top-color: var(--border-strong); border-right-color: var(--border-strong); border-bottom-color: var(--border-strong); }
.diag__title { font-size: var(--fs-h3); }
.diag p { color: var(--text-muted); }
.diag__question {
  margin-top: auto;
  padding: var(--space-3) var(--space-4);
  background: var(--cyan-tint);
  border-left: 2px solid var(--cyan);
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--text) !important;
}
.diag__question b {
  display: block;
  font-style: normal;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-text);
  margin-bottom: 2px;
}

/* ---------- 10. Point of view ---------- */
.pov-statement {
  margin-top: var(--space-5);
  padding-left: var(--space-5);
  border-left: 3px solid var(--gold);
}
.pov-statement p { font-family: var(--font-head); font-weight: 700; font-size: 1.1875rem; line-height: 1.4; letter-spacing: -0.01em; }
.pov-statement p + p { margin-top: var(--space-2); }
.pov-statement .is-muted { color: var(--text-soft); font-weight: 600; }

.principles {
  display: grid;
  list-style: none;
  border-top: 2px solid var(--navy);
}
.principle {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: var(--rule);
}
.principle__num {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-text);
  padding-top: 0.35rem;
}
.principle h3 { font-size: 1.25rem; }
.principle p { grid-column: 2; color: var(--text-muted); font-size: 0.9375rem; }
@media (min-width: 900px) {
  .principles { grid-template-columns: repeat(4, 1fr); }
  .principle {
    grid-template-columns: 1fr;
    padding: var(--space-6) var(--space-5) var(--space-5);
    border-bottom: 0;
    border-right: var(--rule);
  }
  .principle:first-child { padding-left: 0; }
  .principle:last-child { border-right: 0; }
  .principle p { grid-column: 1; }
}

/* ---------- 11. Stepper (desktop tabs, mobile accordion) ---------- */
.stepper { border: var(--rule); }

.stepper__tabs {
  display: none;
  background: var(--navy);
}
.stepper__tab {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-height: 48px;
  padding: var(--space-5) var(--space-5) calc(var(--space-5) + 4px);
  border: 0;
  border-right: 1px solid var(--navy-line);
  background: transparent;
  color: var(--text-on-navy-muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.stepper__tab:last-child { border-right: 0; }
.stepper__tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}
.stepper__tab:hover { background: rgba(255, 255, 255, 0.04); color: var(--white); }
.stepper__tab[aria-selected="true"] { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.stepper__tab[aria-selected="true"]::after { transform: scaleX(1); }
.stepper__tab:focus-visible { outline-offset: -3px; }
.stepper__tab-label {
  display: flex;
  gap: var(--space-3);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
}
.stepper__tab-label span { color: var(--gold); }
.stepper__tab-summary { font-size: var(--fs-small); line-height: 1.45; opacity: 0.9; }

.stepper__item + .stepper__item { border-top: 1px solid var(--navy-line); }

.stepper__acc-h { margin: 0; font: inherit; letter-spacing: normal; }
.stepper__acc {
  display: flex;
  width: 100%;
  align-items: center;
  gap: var(--space-3);
  min-height: 56px;
  padding: var(--space-3) var(--space-4);
  border: 0;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.stepper__acc span:first-child { color: var(--gold); font-size: var(--fs-small); }
.stepper__acc .chev { margin-left: auto; transition: transform 200ms var(--ease); }
.stepper__acc[aria-expanded="true"] .chev { transform: rotate(180deg); }
.stepper__acc:focus-visible { outline-offset: -3px; }

.stepper__panel {
  padding: var(--space-5) var(--space-4) var(--space-6);
  background: var(--white);
}
.stepper__panel[hidden] { display: none; }

.stage {
  display: grid;
  gap: var(--space-6);
}
.stage__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.stage__kicker { margin-top: var(--space-3); font-weight: 600; }
.stage__body { margin-top: var(--space-3); color: var(--text-muted); max-width: 40rem; }
.stage__list {
  margin-top: var(--space-4);
  columns: 2;
  column-gap: var(--space-6);
  list-style: none;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.stage__list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1rem;
  break-inside: avoid;
}
.stage__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.95em;
  width: 6px; height: 1px;
  background: var(--gold);
}
.stage__list--single { columns: 1; }
.stage__note { margin-top: var(--space-5); font-weight: 600; max-width: 36rem; }
.stage__note span { font-weight: 400; color: var(--text-muted); }

.stage__aside {
  align-self: start;
  padding: var(--space-5);
  background: var(--surface);
  border-left: 3px solid var(--gold);
}
.stage__aside h4 { font-size: 1.1875rem; margin-bottom: var(--space-3); }
.stage__aside p { color: var(--text-muted); font-size: 0.9375rem; }
.stage__aside .btn { margin-top: var(--space-5); }
.output-list { list-style: none; font-size: 0.9375rem; }
.output-list li { padding: var(--space-2) 0; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.output-list li:last-child { border-bottom: 0; }
.output-list b { color: var(--text); font-weight: 600; }


@media (min-width: 900px) {
  .stepper__tabs { display: flex; }
  .stepper__acc-h { display: none; }
  .stepper__item + .stepper__item { border-top: 0; }
  .stepper__panel { padding: clamp(2rem, 1rem + 2.5vw, 3rem); }
  .stage { grid-template-columns: 7fr 5fr; gap: var(--space-8); }
  .stepper__panel.is-entering .stage { animation: panel-in 260ms var(--ease); }
}
@media (max-width: 599px) {
  .stage__list { columns: 1; }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 12. Capabilities grid ---------- */
.cap-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: var(--rule);
  list-style: none;
}
.cap {
  position: relative;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  background: var(--white);
  transition: background-color var(--dur) var(--ease);
}
.cap::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}
.cap:hover::before { transform: scaleX(1); }
.cap h3 { font-size: 1.25rem; }
.cap p { margin-top: var(--space-3); color: var(--text-muted); font-size: 0.9375rem; max-width: 30rem; }
@media (min-width: 640px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cap-grid { grid-template-columns: repeat(3, 1fr); } .cap { min-height: 176px; } }

/* ---------- 13. Transformation rows ---------- */
.shift-list { list-style: none; border-top: var(--rule); }
.shift {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  padding: var(--space-5) 0;
  border-bottom: var(--rule);
}
.shift__from { color: var(--text-soft); font-size: 1rem; }
.shift__via {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.shift__via svg { width: 18px; height: 18px; }
.shift__to {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
@media (min-width: 800px) {
  .shift {
    grid-template-columns: 5fr 2fr 6fr;
    align-items: center;
    gap: var(--space-5);
    padding: var(--space-6) 0;
  }
  .shift__from { font-size: 1.125rem; }
  .shift__via { justify-content: center; }
}

/* ---------- 14. Case studies ---------- */
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-bottom: var(--space-4);
  list-style: none;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.case-meta b { color: var(--text); font-weight: 600; }

.featured-case {
  display: grid;
  gap: var(--space-7);
}
.featured-case__title { font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem); max-width: 24ch; }
.case-cols {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.case-col { border-top: 2px solid var(--navy); padding-top: var(--space-4); }
.case-col h3 {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.case-col p, .case-col li { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.55; }
.case-col ul { list-style: none; margin-top: var(--space-2); }
.case-col li { padding: 0.2rem 0 0.2rem 1rem; position: relative; }
.case-col li::before { content: ""; position: absolute; left: 0; top: 0.9em; width: 6px; height: 1px; background: var(--gold); }

.metric-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--navy-line);
  border: 1px solid var(--navy);
  list-style: none;
  align-self: start;
}
.metric-tile {
  padding: clamp(1.25rem, 0.8rem + 1.5vw, 2rem);
  background: var(--navy);
  color: var(--white);
}
.metric-tile__value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.metric-tile__label {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-navy-muted);
}

.featured-case__foot {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-7);
}
.quote {
  margin: 0;
  padding: var(--space-5) var(--space-6);
  background: var(--cyan-tint);
  border-left: 3px solid var(--cyan);
}
.quote--gold { background: var(--surface); border-left-color: var(--gold); }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
}
.quote figcaption { margin-top: var(--space-4); font-size: var(--fs-small); }
.quote figcaption b { display: block; font-weight: 700; }
.quote figcaption span { color: var(--text-muted); }

.report-link { display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; }
.report-link__note {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-micro);
  color: var(--text-soft);
}
.report-link__note svg { width: 14px; height: 14px; }

@media (min-width: 1000px) {
  .featured-case { grid-template-columns: 6fr 4fr; gap: var(--space-8); }
  .case-cols { grid-template-columns: repeat(3, 1fr); }
  .featured-case__foot { grid-template-columns: 6fr 4fr; gap: var(--space-8); align-items: start; }
  .featured-case__foot .report-link { align-items: stretch; }
  .featured-case__foot .report-link .btn { width: 100%; }
  .featured-case__foot .report-link__note { justify-content: center; }
}

.more-cases__title { font-size: var(--fs-h3); margin-bottom: var(--space-5); }
.case-cards {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 900px) { .case-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .case-cards--three { grid-template-columns: repeat(3, 1fr); } }

.case-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  background: var(--surface);
  border-top: 3px solid var(--navy);
}
.case-card__type {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.case-card h3 { margin-top: var(--space-3); font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.4375rem); }
.case-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  margin-top: var(--space-5);
  list-style: none;
}
.case-card__metrics li { display: flex; flex-direction: column; }
.case-card__metrics strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.case-card__metrics li:first-child strong { color: var(--gold-text); }
.case-card__metrics span { font-size: var(--fs-small); color: var(--text-muted); }
.case-card__lead-metric {
  margin-top: var(--space-5);
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--gold-text);
}
.case-card__sub-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-5);
  margin-top: var(--space-2);
  list-style: none;
  font-size: var(--fs-small);
  font-weight: 600;
}
.case-card__intervention { margin-top: var(--space-5); font-size: 0.9375rem; color: var(--text-muted); }
.case-card__intervention b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.case-card .report-link { margin-top: auto; padding-top: var(--space-6); }

.fine-print { margin-top: var(--space-5); font-size: var(--fs-small); color: var(--text-soft); max-width: 48rem; }

/* ---------- 15. Founder ---------- */
.founder {
  display: grid;
  gap: var(--space-7);
}
.portrait {
  position: relative;
  min-height: 320px;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  background: var(--navy);
  border-top: 4px solid var(--gold);
  overflow: hidden;
  color: var(--white);
}
.portrait__mark {
  position: absolute;
  left: -8%;
  right: -8%;
  top: 22%;
  opacity: 0.22;
  filter: saturate(0.9);
}
.portrait__rings {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  left: -12%;
  top: 8%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.portrait__plate {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-6);
  background: linear-gradient(180deg, rgba(10, 25, 48, 0) 0%, rgba(7, 18, 38, 0.9) 60%);
}
.portrait__initials {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
}
.portrait__name { margin-top: var(--space-3); font-weight: 600; }
.portrait__role { font-size: var(--fs-small); color: var(--text-on-navy-muted); }

.founder__name { margin-top: var(--space-5); font-size: 1.375rem; }
.founder__role { margin-top: var(--space-1); color: var(--text-soft); font-size: var(--fs-small); }
.founder .prose { margin-top: var(--space-5); max-width: 44rem; }
.founder .quote { margin-top: var(--space-6); }
.founder .btn { margin-top: var(--space-6); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: var(--space-6);
  border-top: var(--rule);
  border-left: var(--rule);
  list-style: none;
}
.stat-row li {
  padding: var(--space-4);
  border-right: var(--rule);
  border-bottom: var(--rule);
}
.stat-row strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat-row span {
  display: block;
  margin-top: var(--space-2);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  line-height: 1.4;
}
@media (min-width: 700px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) {
  .founder { grid-template-columns: 4fr 6fr; gap: var(--space-8); align-items: start; }
  .portrait { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- 16. Onboarding steps ---------- */
.steps {
  display: grid;
  gap: var(--space-4);
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--space-5);
  background: var(--white);
  border: var(--rule);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--gold-text);
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: var(--space-4); font-size: 1.1875rem; }
.step p { margin-top: var(--space-2); color: var(--text-muted); font-size: 0.9375rem; }
.step .flow { margin-top: var(--space-3); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(var(--space-5) + 22px);
    left: calc(var(--space-5) + 44px);
    right: calc(-1 * var(--space-5) - 1px);
    border-top: 1px dashed var(--border-strong);
  }
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  font-size: 0.9375rem;
  color: var(--text);
}
.flow li { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; }
.flow li + li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='%23C59B3C' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center;
}
.flow--lead { font-size: var(--fs-lead); }
.flow--lead li { font-weight: 500; color: var(--text-muted); }

.row-end {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-strong);
}

/* ---------- 17. FAQ ---------- */
.faq {
  display: grid;
  gap: 0 var(--space-7);
}
@media (min-width: 900px) { .faq { grid-template-columns: repeat(2, 1fr); } }
.faq__col { border-top: var(--rule); }
.faq__item { border-bottom: var(--rule); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-5);
  min-height: 56px;
  padding: var(--space-5) 0;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color var(--dur) var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--cyan-text); }
.faq__icon {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 0.3rem;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--gold);
  transition: transform 200ms var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 var(--space-7) var(--space-5) 0; color: var(--text-muted); font-size: 0.9375rem; }
.faq__answer p + p { margin-top: var(--space-2); }

/* ---------- 18. Final CTA ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.final-cta__inner { position: relative; z-index: 1; max-width: 48rem; margin-inline: auto; }
.final-cta h2 { color: var(--white); font-size: var(--fs-h2); }
.final-cta p { margin-top: var(--space-5); color: var(--text-on-navy-muted); font-size: var(--fs-lead); }
.final-cta .btn { margin-top: var(--space-6); }
.final-cta__mark {
  position: absolute;
  right: -6%;
  bottom: -18%;
  width: min(760px, 70vw);
  opacity: 0.08;
  pointer-events: none;
}

/* ---------- 19. Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--text-on-navy-muted);
  font-size: var(--fs-small);
}
.site-footer__grid {
  display: grid;
  gap: var(--space-7);
  padding-block: var(--space-8) var(--space-7);
}
.site-footer__logo { width: 180px; }
.site-footer__tagline { margin-top: var(--space-5); max-width: 22rem; line-height: 1.6; }
.site-footer h2 {
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.site-footer ul { list-style: none; }
.site-footer li + li { margin-top: var(--space-2); }
.site-footer a {
  display: inline-block;
  padding-block: 2px;
  color: var(--text-on-navy-muted);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer__bottom {
  padding-block: var(--space-5);
  border-top: 1px solid var(--navy-line);
  font-size: var(--fs-micro);
}
@media (min-width: 700px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .site-footer__grid { grid-template-columns: 4fr 2.5fr 2.5fr 3fr; }
}

/* ---------- 20. Inner page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  background: var(--slate-light);
  border-bottom: var(--rule);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 52rem; }
.page-hero h1 { font-size: var(--fs-h1); }
.page-hero .lead { margin-top: var(--space-5); max-width: 44rem; }
.page-hero__mark {
  position: absolute;
  right: -4%;
  top: 50%;
  width: min(620px, 55vw);
  transform: translateY(-50%);
  opacity: 0.14;
  pointer-events: none;
}
@media (max-width: 699px) {
  .page-hero__mark { width: 90vw; right: -30%; top: 18%; opacity: 0.08; }
}

/* ---------- 21. Revenue management page ---------- */
.report {
  border: var(--rule);
  background: var(--white);
}
.report__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: var(--rule);
}
.report__head h3 { font-size: 1.125rem; }
.report__kpis {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--navy-line);
  list-style: none;
}
.report__kpi {
  padding: var(--space-5);
  background: var(--navy);
  color: var(--white);
}
.report__kpi--light { background: var(--surface); color: var(--text); }
.report__kpi span {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-navy-muted);
}
.report__kpi--light span { color: var(--gold-text); font-weight: 600; }
.report__kpi strong {
  display: inline-block;
  margin-top: var(--space-2);
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.report__kpi em {
  margin-left: var(--space-2);
  font-style: normal;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--cyan-on-navy);
}
.report__kpi--light em { color: var(--cyan-text); }
.report__commentary { padding: var(--space-5); }
.report__commentary h4 {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.report__commentary p { color: var(--text-muted); max-width: 48rem; }
.report__commentary p b { color: var(--text); }
.report__lower { display: grid; }
@media (min-width: 700px) {
  .report__kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .report__kpis { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 22. About page ---------- */
.about-founder {
  display: grid;
  gap: var(--space-7);
}
.about-founder__copy {
  padding-left: var(--space-5);
  border-left: 3px solid var(--gold);
}
.about-founder__copy h2 { font-size: var(--fs-h2); }
.about-founder__copy .role { margin-top: var(--space-2); font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; }
.about-founder__copy .prose { margin-top: var(--space-5); }
.spec-list {
  display: grid;
  gap: 0 var(--space-6);
  margin-top: var(--space-6);
  list-style: none;
}
.spec-list li {
  padding: var(--space-3) 0;
  border-top: 1px solid var(--navy);
  font-size: 0.9375rem;
}
@media (min-width: 600px) { .spec-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .about-founder { grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; }
}

.big-stats {
  display: grid;
  grid-template-columns: 1fr;
  list-style: none;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}
.big-stats li { padding: var(--space-6) 0; border-bottom: 1px solid var(--border-strong); }
.big-stats li:last-child { border-bottom: 0; }
.big-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.big-stats span { display: block; margin-top: var(--space-3); color: var(--text-muted); }
@media (min-width: 600px) {
  .big-stats { grid-template-columns: repeat(2, 1fr); }
  .big-stats li { padding: var(--space-6) var(--space-5); border-bottom: 1px solid var(--border-strong); }
  .big-stats li:nth-child(odd) { border-right: 1px solid var(--border-strong); padding-left: 0; }
  .big-stats li:nth-child(n+3) { border-bottom: 0; }
}
@media (min-width: 1000px) {
  .big-stats { grid-template-columns: repeat(4, 1fr); }
  .big-stats li,
  .big-stats li:nth-child(odd) { border-bottom: 0; border-right: 1px solid var(--border-strong); padding: var(--space-7) var(--space-5); }
  .big-stats li:first-child { padding-left: 0; }
  .big-stats li:last-child { border-right: 0; }
}

/* ---------- 23. Contact page ---------- */
.channels {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 800px) { .channels { grid-template-columns: repeat(2, 1fr); } }
.channel {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  border: var(--rule);
  border-top: 3px solid var(--gold);
}
.channel--cyan { border-top-color: var(--cyan); }
.channel__handle {
  margin-top: var(--space-2);
  font-family: var(--font-head);
  font-size: clamp(1.125rem, 0.9rem + 1vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.channel p { margin-top: var(--space-3); color: var(--text-muted); }
.channel .btn { margin-top: var(--space-5); align-self: flex-start; }
@media (max-width: 599px) { .channel .btn { align-self: stretch; } }

.context-note {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border-left: 3px solid var(--cyan);
}
.context-note b { font-weight: 600; }

/* ---------- 24. Reveal on scroll (one restrained entrance) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .hero__copy > * { animation: hero-in 700ms var(--ease) both; }
.js .hero__copy > *:nth-child(2) { animation-delay: 60ms; }
.js .hero__copy > *:nth-child(3) { animation-delay: 120ms; }
.js .hero__copy > *:nth-child(4) { animation-delay: 180ms; }
.js .hero__copy > *:nth-child(n+5) { animation-delay: 240ms; }
.js .dash { animation: hero-in 800ms var(--ease) 200ms both; }
.js .chart-line--portfolio {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw 1400ms var(--ease) 600ms forwards;
}
@keyframes hero-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .chart-line--portfolio { stroke-dashoffset: 0; }
}

/* ---------- 25. Print ---------- */
@media print {
  .site-header, .nav-drawer, .final-cta, .site-footer { display: none; }
  .stepper__panel[hidden] { display: block !important; }
}

/* Dashboard row headers */
.dash tbody th {
  padding: 0.7rem 0;
  border-top: 1px solid var(--navy-line);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white);
}

/* ---------- 26. Small screen refinements ---------- */
@media (max-width: 599px) {
  .hero .btn-row .btn,
  .report-link,
  .report-link .btn,
  .row-end .btn { width: 100%; }
  .dash table { font-size: 0.875rem; }
  .dash td:nth-child(2) { white-space: nowrap; }
}
@media (max-width: 999px) {
  .portrait { aspect-ratio: 16 / 11; min-height: 240px; max-height: 420px; }
  .portrait__mark { top: 10%; }
}

/* ==========================================================================
   v2 components
   ========================================================================== */

/* ---------- 27. Home service overview (links into Services) ---------- */
.stage-overview {
  display: grid;
  list-style: none;
  border-top: 2px solid var(--navy);
  counter-reset: none;
}
.stage-overview li { border-bottom: var(--rule); }
.stage-overview a {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--space-2) var(--space-4);
  height: 100%;
  padding: var(--space-5) 0;
  color: inherit;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease);
}
.stage-overview__num {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-text);
  padding-top: 0.3rem;
}
.stage-overview h3 { font-size: 1.1875rem; }
.stage-overview p { grid-column: 2; color: var(--text-muted); font-size: 0.9375rem; }
.stage-overview__more {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--navy);
}
.stage-overview__more svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.stage-overview a:hover h3 { color: var(--cyan-text); }
.stage-overview a:hover .stage-overview__more svg { transform: translateX(3px); }
@media (min-width: 900px) {
  .stage-overview { grid-template-columns: repeat(4, 1fr); }
  .stage-overview li { border-bottom: 0; border-right: var(--rule); }
  .stage-overview li:last-child { border-right: 0; }
  .stage-overview a { grid-template-columns: 1fr; padding: var(--space-6) var(--space-5); }
  .stage-overview li:first-child a { padding-left: 0; }
  .stage-overview p,
  .stage-overview__more { grid-column: 1; }
  .stage-overview__more { margin-top: auto; padding-top: var(--space-3); }
  .stage-overview a { display: flex; flex-direction: column; gap: var(--space-3); }
}

/* Section footer row with a link to the full index */
.section-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-strong);
}
.section-foot p { color: var(--text-muted); max-width: 36rem; }
@media (max-width: 599px) { .section-foot .btn { width: 100%; } }

/* ---------- 28. Contact channels with icons ---------- */
@media (min-width: 1000px) { .channels--three { grid-template-columns: repeat(3, 1fr); } }
.channel--navy { border-top-color: var(--navy); }
.channel__top { display: flex; align-items: center; gap: var(--space-3); }
.channel__top .eyebrow { margin-bottom: 0; }
.channel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: var(--rule);
  color: var(--navy);
}
.channel__icon svg { width: 22px; height: 22px; }
.channel--cyan .channel__icon { color: var(--cyan-text); }
.channel .channel__handle { margin-top: var(--space-4); }
.channel .btn { margin-top: auto; }
.channel p:last-of-type { margin-bottom: var(--space-5); }

/* ---------- 29. Embedded Google Form ---------- */
.form-embed {
  background: var(--white);
  border: var(--rule);
  border-top: 3px solid var(--gold);
}
.form-embed__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: var(--rule);
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.form-embed__head a { font-weight: 600; color: var(--navy); }
.form-embed iframe {
  display: block;
  width: 100%;
  height: 1500px;
  border: 0;
  background: var(--white);
}
@media (max-width: 699px) { .form-embed iframe { height: 1750px; } }
@media (min-width: 1000px) {
  .assess__intro { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

/* ---------- 30. Tags ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; }
.tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---------- 31. Insights index ---------- */
.insight-tools {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 2px solid var(--navy);
}
@media (min-width: 800px) {
  .insight-tools { grid-template-columns: 1fr auto; align-items: end; }
}
.search {
  position: relative;
}
.search label,
.sort label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--fs-small);
  font-weight: 600;
}
.search__field { position: relative; }
.search__field svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--text-soft);
  pointer-events: none;
}
.search input,
.sort select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.search input { padding: 0.75rem 3rem 0.75rem 2.75rem; }
.search input::-webkit-search-cancel-button { display: none; }
.sort select {
  appearance: none;
  min-width: 13rem;
  padding: 0.75rem 2.5rem 0.75rem 0.9rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A1930' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  cursor: pointer;
}
.search input:hover,
.sort select:hover { border-color: var(--text-soft); }
.search input:focus,
.sort select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 2px var(--cyan); }
.search__clear {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
}
.search__clear:hover { color: var(--navy); }
.search__clear[hidden] { display: none; }
.search__clear svg { position: static; transform: none; width: 16px; height: 16px; }

.insight-status {
  padding: var(--space-4) 0;
  font-size: var(--fs-small);
  color: var(--text-soft);
}

.insight-list { list-style: none; }
.insight-row {
  display: grid;
  gap: var(--space-2) var(--space-6);
  padding: var(--space-6) 0;
  border-bottom: var(--rule);
}
.insight-row[hidden] { display: none; }
.insight-row__date {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--gold-text);
  font-variant-numeric: tabular-nums;
  padding-top: 0.35rem;
}
.insight-row__title { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); }
.insight-row__title a { color: var(--text); text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 240ms var(--ease), color var(--dur) var(--ease); }
.insight-row__title a:hover { background-size: 100% 2px; }
.insight-row__hook { margin-top: var(--space-3); color: var(--text-muted); max-width: 46rem; }
.insight-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-4);
  font-size: var(--fs-small);
  color: var(--text-soft);
}
.insight-row__read {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.insight-row__read svg { width: 16px; height: 16px; }
.insight-row__read:hover { color: var(--cyan-text); }
mark { background: #F6EBCB; color: inherit; padding: 0 1px; }
@media (min-width: 800px) {
  .insight-row { grid-template-columns: 9rem 1fr; }
}

.empty-state {
  padding: var(--space-7) 0;
  border-bottom: var(--rule);
}
.empty-state h2 { font-size: var(--fs-h3); }
.empty-state p { margin-top: var(--space-3); color: var(--text-muted); }
.empty-state .btn { margin-top: var(--space-5); }
.empty-state[hidden] { display: none; }

.load-more { display: flex; justify-content: center; margin-top: var(--space-6); }
.load-more[hidden] { display: none; }

/* Home: latest insights */
.insight-cards {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: var(--rule);
  list-style: none;
}
@media (min-width: 900px) { .insight-cards { grid-template-columns: repeat(3, 1fr); } }
.insight-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  background: var(--white);
}
.insight-card time { font-size: var(--fs-small); font-weight: 600; color: var(--gold-text); }
.insight-card h3 { font-size: 1.25rem; }
.insight-card h3 a { color: var(--text); text-decoration: none; }
.insight-card h3 a:hover { color: var(--cyan-text); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.insight-card p { color: var(--text-muted); font-size: 0.9375rem; }
.insight-card .insight-row__read { margin-top: auto; padding-top: var(--space-3); }

/* ---------- 32. Article page ---------- */
.article-head {
  padding-block: clamp(3rem, 2rem + 3vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3rem);
  background: var(--slate-light);
  border-bottom: var(--rule);
  position: relative;
  overflow: hidden;
}
.article-head .page-hero__mark { opacity: 0.1; }
.article-head__inner { position: relative; z-index: 1; max-width: 50rem; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  list-style: none;
  font-size: var(--fs-small);
  color: var(--text-soft);
}
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); color: var(--border-strong); }
.breadcrumb a { color: var(--navy); font-weight: 600; }
.article-head h1 { font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3rem); }
.article-dek { margin-top: var(--space-5); font-size: var(--fs-lead); color: var(--text-muted); max-width: 44rem; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-5);
  font-size: var(--fs-small);
  color: var(--text-soft);
}
.article-meta b { color: var(--text); font-weight: 600; }

.article-body { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.article-layout { display: grid; gap: var(--space-7); }
@media (min-width: 1100px) {
  .article-layout { grid-template-columns: minmax(0, 46rem) 1fr; gap: var(--space-8); }
}
.article-aside { align-self: start; }
@media (min-width: 1100px) { .article-aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.article-aside__box { padding: var(--space-5); background: var(--surface); border-left: 3px solid var(--gold); }
.article-aside__box h2 { font-size: 1.125rem; }
.article-aside__box p { margin-top: var(--space-3); color: var(--text-muted); font-size: 0.9375rem; }
.article-aside__box .btn { margin-top: var(--space-5); width: 100%; }
.article-aside .tag-list { margin-top: var(--space-5); }

.rich { color: var(--text); font-size: 1.0625rem; line-height: 1.7; }
.rich > * + * { margin-top: 1.1em; }
.rich h2 { margin-top: 2em; font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); }
.rich h3 { margin-top: 1.7em; font-size: 1.25rem; }
.rich h4 { margin-top: 1.5em; font-size: 1.0625rem; }
.rich h2 + *, .rich h3 + *, .rich h4 + * { margin-top: 0.6em; }
.rich p, .rich li { color: #334155; }
.rich a { color: var(--cyan-text); text-decoration-color: var(--gold); }
.rich ul, .rich ol { padding-left: 1.3em; }
.rich li + li { margin-top: 0.4em; }
.rich li::marker { color: var(--gold-text); }
.rich strong { color: var(--text); }
.rich blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--cyan);
  background: var(--cyan-tint);
  font-size: 1.125rem;
}
.rich blockquote p { color: var(--text); }
.rich blockquote p + p { margin-top: var(--space-3); }
.rich hr { border: 0; border-top: var(--rule); margin-block: 2em; }
.rich figure { margin-inline: 0; }
.rich img { width: 100%; border: var(--rule); background: var(--white); }
.rich figcaption { margin-top: var(--space-2); font-size: var(--fs-small); color: var(--text-soft); }
.rich code { font-size: 0.9em; padding: 0.1em 0.35em; background: var(--surface); border-radius: var(--radius); }
.table-wrap { overflow-x: auto; border: var(--rule); -webkit-overflow-scrolling: touch; }
.rich table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.rich th, .rich td { padding: 0.7rem 0.9rem; text-align: left; border-bottom: var(--rule); vertical-align: top; }
.rich thead th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rich tbody tr:last-child td { border-bottom: 0; }
.rich tbody tr:nth-child(even) td { background: var(--slate-light); }
.rich iframe, .rich video { width: 100%; border: 0; }

.article-nav {
  display: grid;
  gap: 1px;
  margin-top: var(--space-8);
  background: var(--border);
  border: var(--rule);
}
@media (min-width: 700px) { .article-nav { grid-template-columns: 1fr 1fr; } }
.article-nav a {
  display: block;
  padding: var(--space-5);
  background: var(--white);
  text-decoration: none;
  color: var(--text);
  transition: background-color var(--dur) var(--ease);
}
.article-nav a:hover { background: var(--slate-light); }
.article-nav span { display: block; font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.article-nav b { display: block; margin-top: var(--space-2); font-family: var(--font-head); font-weight: 700; line-height: 1.3; }
.article-nav .is-next { text-align: right; }
.article-nav .is-empty { background: var(--white); }

/* ---------- 33. Misc ---------- */
.is-hidden { display: none !important; }
.site-footer .social-link { display: inline-flex; align-items: center; gap: var(--space-2); }
.site-footer .social-link svg { width: 16px; height: 16px; }
.article-layout > * { min-width: 0; }

/* Contact: assessment layout */
.assess { display: grid; gap: var(--space-7); }
@media (min-width: 1000px) { .assess { grid-template-columns: 4fr 7fr; gap: var(--space-8); } }
.assess__intro p { margin-top: var(--space-4); color: var(--text-muted); }
.form-embed__head a { display: inline-flex; align-items: center; gap: var(--space-2); }
.form-embed__head a svg { width: 14px; height: 14px; }
.channel .channel__handle { color: var(--text); }
a.tag { text-decoration: none; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
a.tag:hover { border-color: var(--navy); color: var(--navy); }
