/* ==========================================================================
   Finexa CPA — production stylesheet (Asgard-structured revision)
   Brand tokens are defined once below; edit here to re-theme globally.
   ========================================================================== */

:root {
  --dark: #1B3A66;
  --dark-footer: #14294A;
  --accent: #F96A02;
  --accent-hover: #E05F00;
  --accent-on-dark: #FFB170;
  --text: #0A0A0B;
  --muted: #525A65;
  --warm: #F7F8FA;
  --surface-cool: #F4F6F8;
  --surface-cool-strong: #EEF2F6;
  --border: #E5E7EB;
  --border-cool: #DCE1E7;
  --border-on-dark: rgba(255, 255, 255, 0.08);
  --border-dark: #182337;
  --border-dark-2: #2A3850;
  --text-on-dark: #9AA5B8;
  --text-on-dark-muted: #B8C2D2;
  --ink-secondary: #273244;
  --surface: #FFFFFF;
  --service-icon-bg: #FFF0E6;
  --accent-soft: #FFF7F1;
  --accent-softest: #FFFAF5;
  --service-feature-text: #D7E0EC;
  --nav-dropdown-shadow: rgba(20, 41, 74, 0.16);
  --heading-font: 'Schibsted Grotesk', system-ui, sans-serif;
  --body-font: 'Hanken Grotesk', system-ui, sans-serif;
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--heading-font); letter-spacing: 0; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.15; }
p { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }

.section { padding: 128px 0; }
.section-warm { background: var(--warm); }
.section-dark { background: var(--dark); }
.section-dark h2, .section-dark h3 { color: var(--surface); }
.section-dark p:not(.eyebrow) { color: var(--text-on-dark); }

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.homepage-section-label { color: var(--accent); }
.center-heading { text-align: center; max-width: 820px; margin: 0 auto 64px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--body-font);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn-lg { font-size: 16px; padding: 16px 32px; }
.btn-primary { background: var(--accent); color: var(--surface); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-white { background: var(--surface); color: var(--text); }
.btn-white:hover { background: var(--warm); }
.btn-outline-light { background: transparent; color: var(--surface); border: 1px solid rgba(255,255,255,0.4); }
.btn-outline-light:hover { border-color: var(--surface); }
.btn-outline-white { background: transparent; color: var(--surface); border: 1px solid rgba(255,255,255,0.55); }
.btn-outline-white:hover { border-color: var(--surface); }
.text-link { color: var(--accent); font-weight: 700; text-decoration: none; font-size: 16px; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

/* ---------- Top contact bar ---------- */
.top-bar { background: var(--dark-footer); }
.top-bar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.top-bar a { color: var(--text-on-dark); text-decoration: none; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.top-bar a:hover { color: var(--surface); }
.client-portal-link {
  margin-right: auto;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--surface) !important;
  font-size: 12px !important;
  letter-spacing: 0;
}
.client-portal-link:hover { background: var(--accent-hover); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  box-shadow: 0 1px 12px rgba(14,23,38,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 72px;
}
.logo {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  text-decoration: none;
}
.brand-logo-art {
  position: relative;
  display: block;
  width: 230px;
  aspect-ratio: 4.7 / 1;
  overflow: hidden;
}
.brand-logo-art img {
  position: absolute;
  top: -104%;
  left: -12.8%;
  width: 125.5%;
  height: auto;
  max-width: none;
}
.site-footer .brand-logo-art {
  width: 250px;
}

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { color: var(--text); text-decoration: none; font-size: 15.5px; font-weight: 600; }
.main-nav a:hover { color: var(--accent); }
.client-portal-nav { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--dark);
  background-image:
    radial-gradient(760px 460px at 12% -8%, rgba(249,106,2,0.20), rgba(249,106,2,0) 66%),
    radial-gradient(680px 520px at 108% 118%, rgba(96,165,250,0.20), rgba(96,165,250,0) 62%),
    radial-gradient(520px 420px at 78% 6%, rgba(255,255,255,0.07), rgba(255,255,255,0) 70%),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: auto, auto, auto, 64px 64px, 64px 64px;
  padding: clamp(38px, 4.5vw, 56px) 0 clamp(48px, 5vw, 64px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(3px 3px at 22% 34%, rgba(255,255,255,0.55), rgba(255,255,255,0) 60%),
    radial-gradient(2px 2px at 62% 22%, rgba(249,106,2,0.85), rgba(249,106,2,0) 60%),
    radial-gradient(2px 2px at 84% 58%, rgba(255,255,255,0.5), rgba(255,255,255,0) 60%),
    radial-gradient(2.5px 2.5px at 46% 76%, rgba(96,165,250,0.8), rgba(96,165,250,0) 60%),
    radial-gradient(2px 2px at 33% 62%, rgba(255,255,255,0.4), rgba(255,255,255,0) 60%),
    radial-gradient(2px 2px at 92% 30%, rgba(255,255,255,0.45), rgba(255,255,255,0) 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 100%);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-kicker {
  color: var(--accent);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: clamp(32px, 4vw, 52px);
  align-items: center;
}
.nowrap { white-space: nowrap; }
.hero h1 {
  max-width: 780px;
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: var(--surface);
}
.hero-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 780px; }
.hero-sub { font-size: clamp(16.5px, 1.25vw, 19px); line-height: 1.45; color: var(--text-on-dark); max-width: 610px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.hero-proof {
  list-style: none;
  margin: 12px 0 0;
  padding: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-proof li {
  color: var(--surface);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-proof li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(249,106,2,0.16);
}
.hero-visual { width: 100%; max-width: 590px; min-height: 420px; justify-self: end; transform: translateX(32px); display: flex; align-items: center; justify-content: center; background: transparent; border: none; box-shadow: none; border-radius: 0; overflow: visible; }
.hero-visual img { min-height: 420px; }
@media (max-width: 1180px) {
  .hero-visual { transform: translateX(0); max-width: 560px; }
}
@media (max-height: 820px) and (min-width: 900px) {
  .hero { padding-top: 34px; padding-bottom: 48px; }
  .header-inner { height: 68px; }
  .hero-copy { gap: 14px; }
  .hero h1 { font-size: clamp(36px, 4vw, 52px); }
  .hero-sub { line-height: 1.42; }
  .hero-visual { max-width: 560px; min-height: 390px; }
  .hero-visual .gfx { min-height: 390px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { transform: none; justify-self: center; max-width: 100%; min-height: 300px; }
  .hero-visual .gfx { min-height: 300px; }
}
.hero-scroll {
  position: absolute;
  left: 28px; bottom: 20px;
  color: var(--text-on-dark);
  text-decoration: none;
  font-family: monospace;
  font-size: 13px;
}
.hero-scroll:hover { color: var(--surface); }

/* ---------- Intro ---------- */
.intro { padding: 108px 0; }
.intro-inner {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.intro h2 { max-width: 760px; }
.intro p { font-size: 18.5px; line-height: 1.75; color: var(--muted); }
.intro strong { color: var(--text); }

/* ---------- Category row ---------- */
.category-row {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.category-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.category-list li {
  display: flex;
  border-right: 1px solid var(--border);
}
.category-list li:last-child { border-right: none; }
.category-list a,
.category-list .category-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100px;
  padding: 0 12px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}
.category-list a {
  transition: color 0.15s, background 0.15s;
}
.category-list a:hover { color: var(--accent); background: var(--warm); }
.category-list-4 { grid-template-columns: repeat(4, 1fr); }
.category-list-5 { grid-template-columns: repeat(5, 1fr); }
.why-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Two-column (Who We Are) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.col-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.col-copy p:not(.eyebrow) { font-size: 17px; line-height: 1.75; color: var(--muted); }
.col-copy p:not(.eyebrow) strong { color: var(--text); }
.col-copy .eyebrow { margin-bottom: 0; color: var(--accent); }

.img-frame {
  min-height: 400px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface-cool-strong), var(--warm));
}
.img-frame img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; display: block; }
.img-frame.img-missing img { display: none; }

/* ---------- Finexa values hub ---------- */
.img-frame.values-frame {
  width: 100%;
  max-width: 620px;
  height: 440px;
  min-height: 440px;
  justify-self: center;
  background: var(--surface-cool-strong);
}
.values-hub {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 438px;
  overflow: hidden;
}
.values-connectors {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--dark);
  opacity: 0.2;
}
.values-connectors line {
  stroke: currentColor;
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}
.values-core,
.value-orbit {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--heading-font);
  text-align: center;
}
.values-core {
  top: 48%;
  left: 50%;
  width: 124px;
  height: 124px;
  flex-direction: column;
  border: 1px solid var(--accent-hover);
  background: var(--accent);
  color: var(--dark-footer);
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 30px rgba(20, 41, 74, 0.12);
}
.values-core small {
  margin-bottom: 2px;
  font-family: var(--heading-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.values-core strong {
  font-family: var(--heading-font);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}
.value-orbit {
  width: 108px;
  height: 108px;
  flex-direction: column;
  gap: 7px;
  border: 1px solid var(--border-cool);
  background: var(--surface);
  color: var(--dark-footer);
  box-shadow: 0 8px 24px rgba(20, 41, 74, 0.07);
  transition: background 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out, color 180ms ease-out;
}
.value-orbit:hover,
.value-orbit.is-highlighted {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark-footer);
  box-shadow: 0 10px 28px rgba(20, 41, 74, 0.12);
}
.value-orbit-icon {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value-orbit span {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.value-orbit--service { top: 7%; left: 6%; }
.value-orbit--clarity { top: 7%; right: 6%; }
.value-orbit--reliability { bottom: 9%; left: 3%; }
.value-orbit--integrity { right: 3%; bottom: 9%; }
.value-orbit--partnership {
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 560px) {
  .img-frame.values-frame {
    height: auto;
    min-height: 0;
    padding: 22px 16px;
  }
  .values-hub {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .values-connectors { display: none; }
  .values-core,
  .value-orbit {
    position: static;
    justify-self: center;
    transform: none;
  }
  .values-core {
    grid-column: 1 / -1;
    width: 100px;
    height: 100px;
  }
  .value-orbit {
    width: 92px;
    height: 92px;
    gap: 5px;
  }
  .value-orbit--partnership { grid-column: 1 / -1; }
  .value-orbit-icon { width: 22px; height: 22px; }
  .value-orbit span { font-size: 10px; }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--dark);
  padding: 56px 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stats-inner div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  border-left: 1px solid var(--border-on-dark);
}
.stats-inner div:first-child { border-left: none; }
.stats-inner strong {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--surface);
}
.stats-inner span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}

/* ---------- Who We Help ---------- */
.who-we-help { background: var(--surface); }
.who-we-help-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: 54px;
}
.who-we-help-head > div { max-width: 680px; }
.who-we-help-head .eyebrow { margin-bottom: 14px; }
.who-we-help-head > p { max-width: 420px; color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.ideal-client-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ideal-client-grid li {
  min-height: 252px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 7px;
  background: var(--warm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ideal-client-num { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 0.13em; }
.ideal-client-grid h3 { font-size: 21px; line-height: 1.2; }
.ideal-client-grid p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- Advisory system ---------- */
.advisory-system {
  background:
    linear-gradient(135deg, rgba(27,58,102,0.035), rgba(249,106,2,0.04)),
    var(--surface);
}
.advisory-head {
  max-width: 860px;
  margin: 0 auto 54px;
  text-align: center;
}
.advisory-head .eyebrow { margin-bottom: 14px; }
.advisory-head p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.advisory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.advisory-grid article {
  min-height: 300px;
  padding: 32px 26px;
  border: 1px solid rgba(27,58,102,0.13);
  border-radius: 8px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 20px 55px rgba(15,23,42,0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.advisory-num {
  font-family: var(--heading-font);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.advisory-grid h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}
.advisory-grid p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

/* ---------- Solution cards (plain, consulting style) ---------- */
.solution-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
}
.solution-grid li { display: flex; flex-direction: column; gap: 12px; }
.solution-grid h3 { font-size: 21px; font-weight: 700; padding-top: 18px; border-top: 2px solid var(--accent); }
.solution-grid p { font-size: 15.5px; line-height: 1.7; color: var(--muted); }

/* ---------- Service pillars ---------- */
.services-heading { max-width: 860px; }
.pillar-list { display: flex; flex-direction: column; gap: 0; margin-top: 72px; }
.pillar {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.85fr);
  grid-template-areas: "copy visual";
  gap: clamp(32px, 4vw, 44px);
  align-items: center;
  padding: 88px 0;
}
.pillar:first-child { padding-top: 0; }
.pillar-flip { grid-template-columns: minmax(330px, 0.85fr) minmax(0, 1.35fr); grid-template-areas: "visual copy"; }
.pillar-flip .img-frame { justify-self: end; order: initial; }
.pillar-flip .pillar-copy { justify-self: start; max-width: 760px; order: initial; }
.pillar-copy { grid-area: copy; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; max-width: 760px; justify-self: start; }
.pillar-name {
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 800;
  color: var(--text);
}
.pillar-copy h4 { font-size: 21px; font-weight: 700; color: var(--accent); letter-spacing: 0; }
.pillar-copy > p { font-size: 16.5px; line-height: 1.75; color: var(--muted); }
.pillar .img-frame, .pillar .img-frame img { min-height: 0; }
.pillar .img-frame { grid-area: visual; max-width: 430px; width: 100%; height: clamp(300px, 28vw, 340px); justify-self: start; aspect-ratio: unset; }
.pillar .img-frame .gfx { width: 100%; height: 100%; min-height: 0; }

.check-list {
  list-style: none;
  margin: 6px 0 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  width: 100%;
}
.key-outputs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 4px; }
.key-outputs-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.key-outputs-chip { font-size: 13.5px; font-weight: 600; color: var(--text); background: rgba(15,23,42,0.05); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; }
.check-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.55; }
.check-list li::before { content: "\2713"; color: var(--accent); font-weight: 800; }

/* ---------- Get Started CTA ---------- */
.get-started { background: var(--dark); padding: 80px 0; }
.get-started-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.get-started h2 { color: var(--surface); font-size: clamp(30px, 4vw, 44px); }
.get-started p { color: rgba(255,255,255,0.92); font-size: 18px; line-height: 1.6; max-width: 620px; }
.get-started .hero-ctas { justify-content: center; margin-top: 12px; }
.consultation-proof {
  width: min(100%, 960px);
  list-style: none;
  margin: 18px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,0.38);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.consultation-proof li { padding: 0 24px; display: flex; flex-direction: column; gap: 5px; border-left: 1px solid rgba(255,255,255,0.3); }
.consultation-proof li:first-child { border-left: none; }
.consultation-proof strong { color: var(--surface); font-size: 14px; font-weight: 800; }
.consultation-proof span { color: rgba(255,255,255,0.88); font-size: 13px; line-height: 1.55; }
.get-started .consultation-reference-note { max-width: 760px; margin-top: -4px; color: rgba(255,255,255,0.82); font-size: 13px; }

/* ---------- Why Choose Us ---------- */
.why-intro {
  display: flex;
  margin-bottom: 72px;
}
.why-intro h2 { margin-bottom: 4px; }
.why-intro > div {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.why-intro p { font-size: 17.5px; line-height: 1.75; }
.why-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 40px;
}
.why-grid li {
  border-top: 2px solid var(--accent);
  padding-top: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.why-grid h3 { font-size: 19px; font-weight: 700; }
.why-grid p { font-size: 15.5px; line-height: 1.7; }

/* ---------- Success stories ---------- */
.stories-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.stories-head p:not(.eyebrow) { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 640px; margin-top: 14px; }
.story-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.story-grid li {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 30px;
  display: flex; flex-direction: column; gap: 16px;
}
.story-tag {
  align-self: flex-start;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.story-grid p { font-family: var(--heading-font); font-weight: 600; font-size: 19px; line-height: 1.45; letter-spacing: 0; }
.outcome-note { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ---------- Big CTA line ---------- */
.cta-line { background: var(--dark); padding: 96px 0; }
.cta-line .container { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.cta-line h2 { color: var(--surface); font-size: clamp(30px, 4.5vw, 48px); max-width: 800px; }

/* ---------- Who We Work With ---------- */
.partner-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.partner-grid li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  transition: border-color 0.15s;
}
.partner-grid li:hover { border-color: var(--accent); }
.partner-grid h3 { font-size: 18px; font-weight: 700; }

/* ---------- Insights / posts ---------- */
.post-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.post-grid li { display: flex; flex-direction: column; gap: 16px; }
.post-img, .post-img img { min-height: 180px; height: 180px; }
.post-grid h3 { font-size: 17px; font-weight: 700; line-height: 1.4; }

/* ---------- FAQ ---------- */
.faq-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.faq-intro { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; position: sticky; top: 120px; }
.faq-intro p:not(.eyebrow) { font-size: 17px; line-height: 1.7; color: var(--muted); }
.faq-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { margin: 0; }
.faq-item button {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer;
  padding: 22px 28px;
  text-align: left;
  font-family: var(--heading-font);
  font-weight: 700; font-size: 17px;
  color: var(--text);
}
.faq-icon { color: var(--accent); font-size: 22px; line-height: 1; flex-shrink: 0; }
.faq-answer { display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { padding: 0 28px 24px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-footer); padding: 80px 0 36px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1.1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 340px; }
.footer-statement {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--surface);
}
.footer-social { display: flex; gap: 18px; }
.footer-social a { color: var(--text-on-dark); text-decoration: none; font-size: 14px; font-weight: 600; }
.footer-social a:hover { color: var(--surface); }
.footer-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-col h3 {
  color: var(--surface);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-col h3:not(:first-child) { margin-top: 16px; }
.footer-col a, .footer-col p, .footer-col p a {
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.5;
}
.footer-col a:hover, .footer-col p a:hover { color: var(--surface); }
.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; line-height: 1.6; color: #5F6B80; max-width: 820px; }
.footer-legal-links { display: flex; gap: 22px; }
.footer-legal-links a { color: #5F6B80; text-decoration: none; font-size: 13px; }
.footer-legal-links a:hover { color: var(--surface); }

/* ==========================================================================
   Animated graphics (inline SVG)
   Reveal on scroll via .in-view (IntersectionObserver in script.js);
   subtle loops; all motion disabled under prefers-reduced-motion.
   ========================================================================== */

.gfx { display: block; width: 100%; height: 100%; }
.img-frame .gfx { min-height: 400px; }
.pillar .img-frame .gfx { min-height: 360px; }
.hero-visual .gfx { width: 100%; height: 100%; min-height: 420px; display: block; }
.post-img.img-frame { min-height: 180px; height: 180px; }
.post-img .gfx { min-height: 180px; height: 180px; }
[data-rise] { transform-box: fill-box; transform-origin: bottom; }
.bar-accent { transform-box: fill-box; transform-origin: bottom; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes gfxDraw { from { stroke-dashoffset: 1; } }
  @keyframes gfxFade { from { opacity: 0; } }
  @keyframes gfxRise { from { transform: scaleY(0); } }
  @keyframes gfxPulse { 0%, 60%, 100% { opacity: 1; } 80% { opacity: 0.55; } }
  @keyframes gfxCell { 0%, 100% { opacity: 0; } 12% { opacity: 0.9; } 28% { opacity: 0; } }
  @keyframes gfxFloat { 0%, 68%, 100% { fill: #1B3A66; } 78%, 88% { fill: #F96A02; } }
  @keyframes gfxBreathe { 0%, 62%, 100% { fill: var(--base, #2B5590); } 74%, 86% { fill: #F96A02; } }
  @keyframes gfxTravel { 0%, 25% { offset-distance: 0%; opacity: 0; } 32% { opacity: 0.9; } 92% { opacity: 0.9; } 100% { offset-distance: 100%; opacity: 0; } }
  @keyframes gfxSheen { 0%, 40% { transform: translateX(-1050px); opacity: 0; } 52% { opacity: 0.45; } 100% { transform: translateX(1050px); opacity: 0; } }
  @keyframes gfxStripeMain { 0%, 26%, 48%, 72%, 100% { fill: #F96A02; } 33%, 41% { fill: #263753; } 55%, 65% { fill: #263753; } 79%, 89% { fill: #263753; } }
  @keyframes gfxArc { 0%, 36%, 60%, 100% { stroke: var(--base, #22304A); } 44%, 52% { stroke: #F96A02; } }

  /* Hidden pre-reveal states (only once JS is ready, so no-JS users see everything) */
  .anim-ready .gfx-reveal:not(.in-view) [data-rv] { opacity: 0; }
  .anim-ready .gfx-reveal:not(.in-view) [data-draw] { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .anim-ready .gfx-reveal:not(.in-view) [data-rise],
  .anim-ready .gfx-reveal:not(.in-view) .bar-accent { transform: scaleY(0); }

  /* Reveal animations */
  .in-view [data-draw] { stroke-dasharray: 1; animation: gfxDraw 3.4s cubic-bezier(0.4, 0, 0.2, 1) both; }
  .in-view [data-rv] { animation: gfxFade 1.5s ease-out both; }
  .in-view [data-rise] { animation: gfxRise 2s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .in-view .bar-accent { animation: gfxRise 2s cubic-bezier(0.22, 0.61, 0.36, 1) 1.3s both, gfxPulse 5s ease-in-out 3.5s infinite; }

  /* Stagger */
  .in-view [data-d="1"] { animation-delay: 0.3s; }
  .in-view [data-d="2"] { animation-delay: 0.55s; }
  .in-view [data-d="3"] { animation-delay: 0.8s; }
  .in-view [data-d="4"] { animation-delay: 1.05s; }
  .in-view [data-d="5"] { animation-delay: 1.3s; }
  .in-view [data-d="6"] { animation-delay: 1.55s; }
  .in-view [data-d="7"] { animation-delay: 1.8s; }

  /* Subtle loops (after reveal) */
  .in-view .loop-pulse { animation-name: gfxDraw, gfxPulse; animation-duration: 3.4s, var(--pdur, 5s); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1), ease-in-out; animation-delay: var(--ed, 0.8s), var(--ldel, 2s); animation-iteration-count: 1, infinite; animation-fill-mode: both; }
  .in-view circle.loop-pulse { animation-name: gfxFade, gfxPulse; }
  .travel { opacity: 0; offset-path: path('M120 660 L320 580 L480 620 L660 430 L840 470 L1080 240'); offset-rotate: 0deg; }
  .in-view .travel { animation: gfxTravel 8s linear 2s infinite; }
  .in-view .cell-glow { opacity: 0; animation: gfxCell var(--dur, 7s) ease-in-out var(--del, 0s) infinite; }
  .in-view .float { animation: gfxFloat var(--dur, 5s) ease-in-out var(--del, 0s) infinite; }
  .in-view .breathe { animation: gfxRise 2s cubic-bezier(0.22, 0.61, 0.36, 1) var(--ed, 0.55s) both, gfxBreathe var(--dur, 6s) ease-in-out var(--del, 0s) infinite; }
  .in-view .sheen { opacity: 0; animation: gfxSheen 6s linear 1.5s infinite; }
  .in-view .stripe-main { animation: gfxFade 1.5s ease-out 1.05s both, gfxStripeMain 16s ease-in-out 3.5s infinite; }
  .in-view .arc-glow { stroke-dasharray: 1; animation: gfxDraw 3.4s cubic-bezier(0.4, 0, 0.2, 1) var(--ed, 0.55s) both, gfxArc var(--dur, 12s) ease-in-out var(--del, 0s) infinite; }

  /* Hover: slightly stronger emphasis on the accent element only */
  .img-frame .accent { transition: filter 0.5s ease; }
  .img-frame:hover .accent { filter: brightness(1.15); }

  /* Pause all motion while a graphic is off-screen (script.js toggles .idle) */
  .anim-ready .gfx-reveal:not(.idle) * { animation-play-state: paused !important; }
}

@media (prefers-reduced-motion: reduce) {
  .gfx .cell-glow, .gfx .sheen, .gfx .travel { opacity: 0; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 28px; }
  .main-nav a.client-portal-nav { display: block; color: var(--accent); }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .category-list { grid-template-columns: repeat(3, 1fr); }
  .category-list-5 { grid-template-columns: repeat(5, 1fr); }
  .category-list li:nth-child(3n) { border-right: none; }
  .category-list li { border-bottom: 1px solid var(--border); }
  .category-list li:nth-child(n+4) { border-bottom: none; }
  .solution-grid, .why-grid, .story-grid, .partner-grid, .advisory-grid, .ideal-client-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .stats-inner div:nth-child(3) { border-left: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .section { padding: 84px 0; }
  .hero { padding: 72px 0 80px; }
  .pillar { padding: 56px 0; }
  .hero-inner, .two-col, .pillar, .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .pillar-flip .pillar-copy { order: 1; }
  .pillar-flip .img-frame { order: 2; }
  .hero-visual, .hero-visual img { min-height: 280px; }
  .img-frame, .img-frame img { min-height: 280px; }
  .img-frame .gfx, .hero-visual .gfx, .pillar .img-frame .gfx { min-height: 280px; }
  .br-wide { display: none; }
  .faq-intro { position: static; }
  .check-list { grid-template-columns: 1fr; }
  .advisory-grid article { min-height: 240px; }
  .top-bar-inner { justify-content: center; }
  .client-portal-link { display: none; }
  .nowrap { white-space: normal; }
  .who-we-help-head { align-items: flex-start; flex-direction: column; gap: 18px; }
  .who-we-help-head > p { max-width: 680px; }
  .consultation-proof { grid-template-columns: 1fr; gap: 16px; }
  .consultation-proof li { padding: 0; border-left: none; }
}

@media (max-width: 560px) {
  .category-list { grid-template-columns: repeat(2, 1fr); }
  .category-list li:nth-child(3n) { border-right: 1px solid var(--border); }
  .category-list li:nth-child(2n) { border-right: none; }
  .category-list li { border-bottom: 1px solid var(--border); }
  .category-list li:nth-child(n+5) { border-bottom: none; }
  .category-list-5 li:last-child { grid-column: 1 / -1; border-right: none; }
  .solution-grid, .why-grid, .story-grid, .partner-grid, .post-grid, .advisory-grid, .ideal-client-grid,
  .stats-inner, .footer-top { grid-template-columns: 1fr; }
  .stats-inner div { border-left: none; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .hero-proof { flex-direction: column; }
}

/* ==========================================================================
   Insights — listing, homepage preview, article pages
   ========================================================================== */

/* Page header band (shared by listing + article pages) */
.page-head {
  background-color: var(--dark);
  background-image:
    radial-gradient(720px 400px at 18% 0%, rgba(249,106,2,0.14), rgba(249,106,2,0) 70%),
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  padding: clamp(72px, 8vw, 104px) 0 clamp(52px, 6vw, 76px);
}
.page-head-inner { display: flex; flex-direction: column; align-items: flex-start; }
.page-head .eyebrow { margin-bottom: 16px; }
.page-head h1 {
  color: var(--surface);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  max-width: 900px;
}
.page-head p:not(.eyebrow) { color: var(--text-on-dark); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; max-width: 660px; margin-top: 20px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13.5px; color: var(--text-on-dark); margin-bottom: 22px; }
.breadcrumb a { color: var(--text-on-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--surface); }
.breadcrumb span { opacity: 0.55; }

/* Section head with title + link (homepage preview) */
.insights-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 52px; }
.insights-head .eyebrow { margin-bottom: 14px; color: var(--accent); }
.insights-head h2 { max-width: 620px; }
.insights-head-copy { max-width: 640px; }
.insights-head p:not(.eyebrow) { font-size: 17px; line-height: 1.7; color: var(--muted); margin-top: 16px; }

/* Insight cards */
.insight-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.insight-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.insight-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14,23,38,0.09); }
.insight-card .card-figure { height: 190px; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, var(--surface-cool-strong), var(--warm)); overflow: hidden; }
.insight-card .card-figure .gfx { width: 100%; height: 100%; min-height: 190px; }
.insight-card .card-body { display: flex; flex-direction: column; gap: 11px; padding: 26px 26px 28px; flex: 1; }
.card-cat { font-family: var(--heading-font); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.insight-card h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.card-excerpt { font-size: 15px; line-height: 1.65; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-date { font-size: 13.5px; color: var(--muted); }
.card-more { font-family: var(--heading-font); font-weight: 700; font-size: 14.5px; color: var(--accent); white-space: nowrap; }
.insight-card:hover .card-more { text-decoration: underline; }

/* Article page */
.article-wrap { padding: 64px 0 24px; }
.article-figure { max-width: 1000px; margin: 0 auto 56px; height: clamp(240px, 30vw, 360px); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, var(--surface-cool-strong), var(--warm)); }
.article-figure .gfx { width: 100%; height: 100%; min-height: 0; }
.article-body { max-width: 748px; margin: 0 auto; }
.article-body > *:first-child { margin-top: 0; }
.article-body h2 { font-size: clamp(24px, 2.6vw, 31px); font-weight: 800; line-height: 1.2; margin: 52px 0 18px; }
.article-body h3 { font-size: 20px; font-weight: 700; margin: 36px 0 12px; }
.article-body p { font-size: 17.5px; line-height: 1.8; color: var(--ink-secondary); margin: 0 0 20px; }
.article-body ul { margin: 0 0 26px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.article-body ul li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.65; color: var(--ink-secondary); }
.article-body ul li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body em { font-style: italic; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; background: var(--warm); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }
.article-lead { font-size: 19px; line-height: 1.68; color: var(--text); background: var(--warm); border-left: 3px solid var(--accent); border-radius: 0 14px 14px 0; padding: 24px 28px; margin: 0 0 40px; }
.article-lead p { margin: 0 0 12px; font-size: inherit; line-height: inherit; color: inherit; }
.article-lead p:last-child { margin: 0; }

/* Article tables */
.article-table-wrap { overflow-x: auto; margin: 0 0 28px; border: 1px solid var(--border); border-radius: 14px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.article-body th { text-align: left; font-family: var(--heading-font); font-weight: 700; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text); background: var(--warm); padding: 14px 16px; border-bottom: 2px solid var(--border); }
.article-body td { padding: 13px 16px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); color: var(--ink-secondary); line-height: 1.5; vertical-align: top; }
.article-body td:last-child { border-right: none; }
.article-body tbody tr:last-child td { border-bottom: none; }

/* Article FAQ + footer bits */
.article-faq { max-width: 748px; margin: 68px auto 0; padding: 44px 0 0; border-top: 1px solid var(--border); }
.article-faq h2 { font-size: 27px; font-weight: 800; margin: 0 0 28px; }
.faq-qa { display: flex; flex-direction: column; gap: 26px; }
.faq-qa h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.faq-qa p { font-size: 16.5px; line-height: 1.75; color: var(--muted); margin: 0; }
.article-back { max-width: 748px; margin: 0 auto; padding: 44px 0 8px; }
.article-back a { color: var(--accent); font-weight: 700; text-decoration: none; font-size: 15.5px; }
.article-back a:hover { text-decoration: underline; }
.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; color: var(--text-on-dark); font-size: 14.5px; }
.article-meta .cat-chip { font-family: var(--heading-font); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--surface); background: var(--accent); padding: 6px 13px; border-radius: 999px; }
.article-meta .dot { opacity: 0.5; }

@media (max-width: 1120px) {
  .insight-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .insight-grid { grid-template-columns: 1fr; }
}

/* Premium Insights directory redesign */
.page-head[data-screen-label="Insights header"] {
  padding: clamp(78px, 8vw, 112px) 0 clamp(64px, 7vw, 92px);
  background-image:
    linear-gradient(115deg, rgba(20,41,74,0.96), rgba(27,58,102,0.94)),
    radial-gradient(760px 420px at 84% 18%, rgba(249,106,2,0.18), rgba(249,106,2,0) 68%),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}
.page-head[data-screen-label="Insights header"] .page-head-inner {
  max-width: 1040px;
}
.page-head[data-screen-label="Insights header"] h1 {
  max-width: 980px;
  font-size: clamp(42px, 5.4vw, 72px);
}
.page-head[data-screen-label="Insights header"] p:not(.eyebrow) {
  max-width: 740px;
}
.insights-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.insights-hero-points span {
  color: var(--surface);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.insights-directory {
  background: linear-gradient(180deg, var(--surface) 0%, var(--warm) 100%);
}
.directory-intro {
  max-width: 820px;
  margin: 0 0 46px;
}
.directory-intro .eyebrow { margin-bottom: 14px; color: var(--accent); }
.directory-intro h2 {
  font-size: clamp(30px, 3.7vw, 48px);
  max-width: 780px;
}
.directory-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 720px;
}
.insights-directory .insight-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}
.insights-directory .insight-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  min-height: 210px;
  border-radius: 8px;
  border-color: rgba(27,58,102,0.14);
  box-shadow: 0 14px 36px rgba(15,23,42,0.05);
}
.insights-directory .insight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15,23,42,0.08);
}
.insights-directory .insight-card .card-figure {
  height: 100%;
  min-height: 210px;
  border-bottom: none;
  border-right: 1px solid var(--border);
}
.insights-directory .insight-card .card-body {
  padding: 30px 34px;
  justify-content: center;
}
.insights-directory .insight-card h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.16;
  max-width: 760px;
}
.insights-directory .card-excerpt {
  max-width: 760px;
  font-size: 16px;
}
.insights-directory .card-foot {
  justify-content: flex-start;
  gap: 18px;
  margin-top: 4px;
}
.insights-directory .insight-grid li:first-child .insight-card {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  background: var(--dark);
  color: var(--surface);
  border: none;
  box-shadow: 0 28px 70px rgba(15,23,42,0.16);
}
.insights-directory .insight-grid li:first-child .card-figure {
  height: clamp(280px, 34vw, 420px);
  border-right: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.insights-directory .insight-grid li:first-child .card-body {
  padding: clamp(30px, 4vw, 52px);
}
.insights-directory .insight-grid li:first-child .card-cat,
.insights-directory .insight-grid li:first-child .card-more {
  color: var(--accent);
}
.insights-directory .insight-grid li:first-child .card-date,
.insights-directory .insight-grid li:first-child .card-excerpt {
  color: var(--text-on-dark);
}
.insights-directory .insight-grid li:first-child h3 {
  color: var(--surface);
  font-size: clamp(32px, 4.2vw, 54px);
  max-width: 980px;
}
@media (max-width: 820px) {
  .insights-directory .insight-card {
    grid-template-columns: 1fr;
  }
  .insights-directory .insight-card .card-figure {
    height: 220px;
    min-height: 220px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .insights-directory .insight-card .card-body {
    padding: 26px;
  }
}
@media (max-width: 560px) {
  .insights-hero-points { flex-direction: column; align-items: flex-start; }
  .insights-directory .insight-card h3 { font-size: 22px; }
  .insights-directory .insight-grid li:first-child h3 { font-size: 30px; }
}

/* Premium article page redesign */
.page-head:not([data-screen-label="Insights header"]) {
  padding: clamp(70px, 7vw, 104px) 0 clamp(76px, 8vw, 118px);
  background-image:
    linear-gradient(115deg, rgba(20,41,74,0.98), rgba(27,58,102,0.94)),
    radial-gradient(760px 420px at 88% 16%, rgba(249,106,2,0.16), rgba(249,106,2,0) 70%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}
.page-head:not([data-screen-label="Insights header"]) .page-head-inner {
  max-width: 1080px;
}
.page-head:not([data-screen-label="Insights header"]) h1 {
  max-width: 980px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
}
.page-head:not([data-screen-label="Insights header"]) .breadcrumb {
  margin-bottom: 28px;
}
.page-head:not([data-screen-label="Insights header"]) .article-meta {
  margin-top: 28px;
  gap: 10px;
}
.page-head:not([data-screen-label="Insights header"]) .article-meta > span:not(.cat-chip):not(.dot) {
  color: #d7deea;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.055);
  border-radius: 999px;
  padding: 7px 12px;
}
.page-head:not([data-screen-label="Insights header"]) .article-meta .dot {
  display: none;
}
.article-wrap {
  position: relative;
  padding: 0 0 48px;
}
.article-figure {
  max-width: 1120px;
  height: clamp(260px, 32vw, 420px);
  margin: -54px auto 0;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 28px 70px rgba(15,23,42,0.16);
}
.article-body {
  max-width: 820px;
  margin: 54px auto 0;
  background: var(--surface);
  border: 1px solid rgba(27,58,102,0.12);
  border-radius: 8px;
  box-shadow: 0 18px 56px rgba(15,23,42,0.07);
  padding: clamp(30px, 5vw, 62px);
}
.article-body h2 {
  margin-top: 62px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-body h2:first-of-type {
  margin-top: 46px;
}
.article-body p {
  color: #202832;
}
.article-lead {
  position: relative;
  margin: 0 0 44px;
  padding: 34px 34px 32px;
  background:
    linear-gradient(135deg, rgba(27,58,102,0.045), rgba(249,106,2,0.055)),
    var(--surface);
  border: 1px solid rgba(27,58,102,0.12);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  box-shadow: none;
}
.article-lead::before {
  content: "Executive brief";
  display: block;
  margin-bottom: 14px;
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.article-lead p {
  font-size: 18px;
  line-height: 1.72;
}
.article-body ul {
  gap: 9px;
  margin-top: 4px;
}
.article-body ul li {
  padding-left: 30px;
}
.article-body ul li::before {
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(249,106,2,0.12);
}
.article-table-wrap {
  margin: 10px 0 34px;
  border-radius: 8px;
  border-color: rgba(27,58,102,0.12);
  box-shadow: 0 12px 32px rgba(15,23,42,0.055);
  background: var(--surface);
}
.article-body th {
  background: #f1f4f8;
  color: var(--dark);
  border-bottom-color: rgba(27,58,102,0.14);
}
.article-body td {
  border-color: rgba(27,58,102,0.1);
}
.article-body tbody tr:nth-child(even) td {
  background: rgba(247,248,250,0.66);
}
.article-faq {
  max-width: 820px;
  margin: 42px auto 0;
  padding: 36px clamp(26px, 4vw, 46px);
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.article-faq h2 {
  font-size: clamp(24px, 2.6vw, 32px);
}
.faq-qa > div {
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.faq-qa > div:first-child {
  padding-top: 0;
  border-top: none;
}
.article-back {
  max-width: 820px;
  padding: 30px 0 0;
}
.article-back a {
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}
.article-back a:hover {
  text-decoration: none;
  border-bottom-color: var(--accent);
}
.article-wrap + .get-started {
  margin-top: 38px;
  background:
    linear-gradient(120deg, rgba(20,41,74,0.98), rgba(27,58,102,0.96)),
    radial-gradient(540px 300px at 82% 22%, rgba(249,106,2,0.25), rgba(249,106,2,0));
}
.article-wrap + .get-started .btn-white {
  color: var(--dark);
}
@media (max-width: 860px) {
  .article-figure {
    margin-top: -36px;
    height: 260px;
  }
  .article-body {
    margin-top: 36px;
    padding: 28px 22px;
  }
  .article-lead {
    padding: 26px 22px;
  }
  .article-body p,
  .article-body ul li {
    font-size: 16.5px;
  }
}
@media (max-width: 560px) {
  .page-head:not([data-screen-label="Insights header"]) h1 {
    font-size: 34px;
  }
  .article-figure {
    height: 220px;
  }
  .article-body {
    border-left: none;
    border-right: none;
    border-radius: 0;
  }
}

/* Final compact Insights and article refinement */
.page-head[data-screen-label="Insights header"] {
  padding: 56px 0 58px;
}
.page-head[data-screen-label="Insights header"] h1 {
  font-size: clamp(32px, 4vw, 50px);
  max-width: 760px;
  line-height: 1.06;
}
.page-head[data-screen-label="Insights header"] p:not(.eyebrow) {
  font-size: 17px;
  max-width: 650px;
}
.insights-hero-points {
  margin-top: 20px;
}
.insights-hero-points span {
  padding: 7px 12px;
  font-size: 11.5px;
}
.insights-directory {
  padding-top: 72px;
}
.directory-intro {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 28px;
  align-items: end;
  max-width: none;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.directory-intro .eyebrow {
  margin: 0;
}
.directory-intro h2 {
  font-size: clamp(24px, 2.7vw, 34px);
  max-width: 520px;
}
.directory-intro p:not(.eyebrow) {
  grid-column: 2;
  margin-top: 8px;
  font-size: 16px;
  max-width: 620px;
}
.insights-directory .insight-grid {
  gap: 10px;
}
.insights-directory .insight-card,
.insights-directory .insight-grid li:first-child .insight-card {
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 152px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid rgba(27,58,102,0.12);
  border-radius: 6px;
  box-shadow: none;
}
.insights-directory .insight-card:hover,
.insights-directory .insight-grid li:first-child .insight-card:hover {
  transform: none;
  box-shadow: 0 12px 26px rgba(15,23,42,0.07);
}
.insights-directory .insight-card .card-figure,
.insights-directory .insight-grid li:first-child .card-figure {
  height: 100%;
  min-height: 152px;
  border-right: 1px solid var(--border);
  border-bottom: none;
}
.insights-directory .insight-card .card-body,
.insights-directory .insight-grid li:first-child .card-body {
  padding: 22px 24px;
  gap: 8px;
}
.insights-directory .insight-card h3,
.insights-directory .insight-grid li:first-child h3 {
  color: var(--text);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.18;
  max-width: 760px;
}
.insights-directory .card-excerpt,
.insights-directory .insight-grid li:first-child .card-excerpt {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.insights-directory .card-foot,
.insights-directory .insight-grid li:first-child .card-foot {
  padding-top: 4px;
}
.insights-directory .insight-grid li:first-child .card-date {
  color: var(--muted);
}
.page-head:not([data-screen-label="Insights header"]) {
  padding: 48px 0 64px;
}
.page-head:not([data-screen-label="Insights header"]) h1 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.07;
  max-width: 860px;
}
.page-head:not([data-screen-label="Insights header"]) .breadcrumb {
  margin-bottom: 18px;
}
.page-head:not([data-screen-label="Insights header"]) .article-meta {
  margin-top: 18px;
}
.article-figure {
  max-width: 1040px;
  height: clamp(200px, 24vw, 300px);
  margin-top: -30px;
  border-radius: 6px;
  box-shadow: 0 16px 42px rgba(15,23,42,0.12);
}
.article-layout {
  max-width: 1120px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 230px minmax(0, 790px);
  gap: 34px;
  align-items: start;
}
.article-sidebar {
  position: sticky;
  top: 102px;
  border-top: 2px solid var(--accent);
  padding-top: 18px;
}
.sidebar-label {
  margin: 0 0 10px;
  font-family: var(--heading-font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.sidebar-back {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}
.sidebar-panel {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px;
  background: var(--warm);
}
.sidebar-panel h2 {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.25;
}
.sidebar-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.sidebar-panel li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.sidebar-cta {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}
.article-body {
  margin: 0;
  max-width: none;
  border-radius: 6px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: none;
}
.article-body h2 {
  margin-top: 44px;
  padding-top: 18px;
  font-size: clamp(22px, 2.2vw, 28px);
}
.article-body h2:first-of-type {
  margin-top: 34px;
}
.article-body p {
  font-size: 16.5px;
  line-height: 1.72;
}
.article-body ul li {
  font-size: 16px;
  line-height: 1.55;
}
.article-lead {
  padding: 24px 24px 22px;
  margin-bottom: 32px;
  border-radius: 6px;
}
.article-lead p {
  font-size: 16.75px;
  line-height: 1.65;
}
.article-table-wrap {
  border-radius: 6px;
  box-shadow: none;
}
.article-body th,
.article-body td {
  padding: 11px 13px;
}
.article-faq,
.article-back {
  max-width: 790px;
  margin-left: calc((100% - 1120px) / 2 + 230px + 34px);
  margin-right: auto;
}
.article-faq {
  padding: 28px 32px;
  border-radius: 6px;
}
.article-wrap + .get-started {
  margin-top: 54px;
  padding: 72px 0;
}
@media (max-width: 1040px) {
  .article-layout {
    grid-template-columns: 1fr;
    max-width: 820px;
  }
  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
    align-items: center;
  }
  .sidebar-panel {
    grid-column: 1 / -1;
  }
  .article-faq,
  .article-back {
    max-width: 820px;
    margin-left: auto;
  }
  .article-tool-section {
    max-width: 820px;
    margin-left: auto;
  }
}
@media (max-width: 760px) {
  .directory-intro {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .directory-intro p:not(.eyebrow) {
    grid-column: auto;
  }
  .insights-directory .insight-card,
  .insights-directory .insight-grid li:first-child .insight-card {
    grid-template-columns: 1fr;
  }
  .insights-directory .insight-card .card-figure,
  .insights-directory .insight-grid li:first-child .card-figure {
    height: 170px;
    min-height: 170px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .article-sidebar {
    display: block;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
  .article-sidebar,
  .article-body,
  .sidebar-panel {
    min-width: 0;
    width: 100%;
  }
  .article-sidebar a {
    overflow-wrap: anywhere;
  }
}

/* Final size tightening after preview */
.page-head[data-screen-label="Insights header"] h1 {
  font-size: clamp(30px, 3.4vw, 42px);
  max-width: 720px;
}
.page-head:not([data-screen-label="Insights header"]) h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  max-width: 780px;
}
.page-head:not([data-screen-label="Insights header"]) {
  padding: 42px 0 56px;
}
.article-body {
  padding: clamp(26px, 3.2vw, 36px);
}
.article-figure {
  height: clamp(190px, 22vw, 270px);
}
.article-lead p,
.article-body p {
  font-size: 16px;
}

.article-decision-box {
  margin: 0 0 34px;
  padding: 22px 24px;
  border: 1px solid rgba(27,58,102,0.14);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(15,23,42,0.06);
}
.article-decision-box h2 {
  margin: 0 0 10px;
  padding-top: 0;
  font-size: 20px;
}
.article-decision-box p {
  margin-bottom: 14px;
}
.article-decision-box ul {
  margin-bottom: 14px;
}
.text-link-strong {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}
.text-link-strong:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Article reading-flow fix: remove oversized artwork and add subject navigation */
.article-wrap > .article-figure {
  display: none;
}
.article-layout {
  margin-top: 38px;
}
.sidebar-panel h2 {
  color: var(--dark);
}
.sidebar-panel li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-weight: 800;
}
.sidebar-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.article-subjects {
  margin-top: 14px;
  background: var(--surface);
}
.article-subjects h2 {
  margin-bottom: 12px;
}
.article-subjects ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 3px;
  counter-reset: article-subject;
}
.article-subjects li {
  padding: 0;
  font-weight: 700;
  counter-increment: article-subject;
}
.article-subjects li::before {
  display: none;
}
.article-subjects a {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: 8px;
  padding: 9px 8px;
  color: #394454;
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.28;
  border: 1px solid transparent;
  border-radius: 6px;
}
.article-subjects a::before {
  content: counter(article-subject, decimal-leading-zero);
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.7;
}
.article-subjects a:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(249,106,2,0.18);
}
.sidebar-cta {
  padding-top: 2px;
}
@media (max-width: 1040px) {
  .article-subjects {
    grid-column: 1 / -1;
  }
}

/* ========================================================================== 
   Lead-generation upgrade: homepage assessment, compact services, service pages
   ========================================================================== */

.section { padding: 96px 0; }
.img-frame,
.faq-list,
.story-grid li,
.advisory-grid article,
.insight-card { border-radius: 8px; }

.hero h1 {
  font-size: clamp(36px, 3.8vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}
.hero-portrait {
  position: relative;
  width: min(100%, 430px);
  min-height: 0;
  aspect-ratio: 4 / 5;
  transform: none;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: #111c2f;
  box-shadow: 0 26px 64px rgba(4,13,27,0.32);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.hero-portrait figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px;
  background: rgba(10,24,44,0.94);
  border-top: 1px solid rgba(255,255,255,0.14);
  color: var(--surface);
}
.hero-portrait figcaption strong { font-family: var(--heading-font); font-size: 16px; }
.hero-portrait figcaption span { color: var(--text-on-dark-muted); font-size: 13px; }

/* Finance Health Check */
.health-check { background: var(--surface-cool); }
.health-check-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: start;
}
.health-intro { position: sticky; top: 112px; }
.health-intro h2 { font-size: clamp(30px, 3.2vw, 42px); }
.health-intro > p:last-child {
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.health-shell {
  min-height: 438px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--border-cool);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(16,31,52,0.07);
}
.health-meter { margin-bottom: 36px; }
.health-meter-copy {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.health-meter-track { height: 4px; background: #e8ebef; overflow: hidden; }
.health-meter-track span {
  display: block;
  width: 16.666%;
  height: 100%;
  background: var(--accent);
  transition: width 180ms ease;
}
.health-question { margin: 0; padding: 0; border: 0; }
.health-question[hidden] { display: none; }
.health-question legend {
  max-width: 680px;
  margin-bottom: 28px;
  padding: 0;
  font-family: var(--heading-font);
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 800;
  line-height: 1.22;
}
.health-options { display: grid; gap: 10px; }
.health-options label { display: block; cursor: pointer; }
.health-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.health-options span {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 13px 16px 13px 46px;
  position: relative;
  border: 1px solid var(--border-cool);
  border-radius: 6px;
  color: var(--ink-secondary);
  font-size: 15.5px;
  font-weight: 600;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.health-options span::before {
  content: "";
  position: absolute;
  left: 17px;
  width: 16px;
  height: 16px;
  border: 2px solid #9aa4b2;
  border-radius: 50%;
  background: var(--surface);
}
.health-options label:hover span { border-color: #a9b3bf; background: #fafbfc; }
.health-options input:focus-visible + span { outline: 3px solid rgba(249,106,2,0.22); outline-offset: 2px; }
.health-options input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}
.health-options input:checked + span::before {
  border: 5px solid var(--accent);
}
.health-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
}
.btn-quiet { color: var(--text); background: #eef1f4; }
.btn-quiet:hover { background: #e3e7ec; }
.btn:disabled { opacity: 0.46; cursor: not-allowed; }
.health-result[hidden] { display: none; }
.health-result h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.health-result > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.health-priority {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 26px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.health-priority span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.health-priority strong { font-family: var(--heading-font); font-size: 18px; }
.health-result-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.health-restart {
  margin-top: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 700 14px var(--body-font);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Compact homepage service directory */
.pillar-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.pillar.pillar-featured {
  grid-column: 1 / -1;
  border-color: var(--dark);
  background: var(--dark);
  color: var(--surface);
}
.pillar-featured .pillar-copy { max-width: none; }
.pillar-featured .pillar-name { color: var(--surface); }
.pillar-featured .service-entry-label {
  color: var(--accent-on-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pillar-featured .service-briefs { border-color: rgba(255,255,255,0.2); }
.pillar-featured .service-brief + .service-brief { border-left-color: rgba(255,255,255,0.2); }
.pillar-featured .service-brief-label { color: var(--accent-on-dark); }
.pillar-featured .service-brief p:last-child { color: #d2dbe8; }
.pillar-featured .key-outputs-label { color: #c6cfdb; }
.pillar-featured .key-outputs-chip { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: var(--surface); }
.pillar-featured .service-detail-link { color: var(--accent-on-dark); }
.pillar,
.pillar:first-child,
.pillar-flip {
  display: block;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}
.pillar .img-frame { display: none; }
.pillar-copy,
.pillar-flip .pillar-copy { max-width: none; gap: 14px; }
.pillar-name { font-size: clamp(25px, 2.6vw, 32px); line-height: 1.14; }
.pillar-copy h4 { font-size: 18px; line-height: 1.35; }
.pillar-copy > p { font-size: 15.5px; line-height: 1.65; }
.service-briefs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin: 2px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.service-brief { padding: 18px 18px 18px 0; }
.service-brief + .service-brief { padding-left: 18px; border-left: 1px solid var(--border); }
.service-brief-label {
  margin: 0 0 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.service-brief p:last-child { color: var(--muted); font-size: 14.5px; line-height: 1.58; }
.pillar .check-list { grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.pillar .check-list li { font-size: 14px; }
.service-detail-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 4px;
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.service-detail-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Dedicated service and consultation pages */
.service-hero {
  padding: clamp(64px, 7vw, 92px) 0;
  background: var(--dark);
  color: var(--surface);
}
.service-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.68fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: center;
}
.service-breadcrumb {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  color: #aeb9c9;
  font-size: 13px;
}
.service-breadcrumb a { color: #c6cfdb; text-decoration: none; }
.service-breadcrumb a:hover { color: var(--surface); }
.service-hero .eyebrow { margin-bottom: 14px; }
.service-hero h1 {
  max-width: 820px;
  color: var(--surface);
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.05;
}
.service-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 22px;
  color: var(--text-on-dark-muted);
  font-size: 18px;
  line-height: 1.65;
}
.service-hero-copy .hero-ctas { margin-top: 28px; }
.service-summary {
  padding-left: 28px;
  border-left: 2px solid var(--accent);
}
.service-summary > span {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-on-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.service-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.service-summary li { position: relative; padding-left: 22px; color: var(--surface); font-size: 15px; line-height: 1.55; }
.service-summary li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; background: var(--accent); }
.service-section-head { max-width: 780px; margin-bottom: 48px; }
.service-section-head p:not(.eyebrow) { margin-top: 17px; color: var(--muted); font-size: 17px; line-height: 1.72; }
.signal-grid,
.deliverable-grid,
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.fit-grid { display: grid; }
.signal-grid { grid-template-columns: repeat(3, 1fr); gap: 34px; }
.signal-grid li { padding-top: 20px; border-top: 3px solid var(--accent); }
.signal-grid h3 { font-size: 20px; margin-bottom: 11px; }
.signal-grid p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.deliverable-grid { grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.deliverable-grid li { padding: 25px 0; border-top: 1px solid var(--border); }
.deliverable-grid h3 { font-size: 19px; margin-bottom: 9px; }
.deliverable-grid p { color: var(--muted); font-size: 15.5px; line-height: 1.68; }
.process-list { grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: service-step; }
.process-list li { counter-increment: service-step; }
.process-list li::before {
  content: "0" counter(service-step);
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 800;
}
.process-list h3 { font-size: 21px; margin-bottom: 11px; }
.process-list p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.fit-band { background: #eef2f6; }
.fit-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
.fit-grid h2 { font-size: 30px; margin-bottom: 22px; }
.fit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fit-list li { position: relative; padding-left: 24px; color: var(--ink-secondary); font-size: 16px; line-height: 1.6; }
.fit-list a { color: var(--accent); font-weight: 700; text-underline-offset: 2px; }
.fit-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--accent); }
.fit-grid > div:last-child .fit-list li::before { background: #8b96a5; }
.related-band { padding: 56px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.related-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.related-band h2 { max-width: 700px; font-size: clamp(25px, 3vw, 34px); }
.related-band p { margin-top: 11px; color: var(--muted); font-size: 15.5px; }
.service-faq { max-width: 900px; }
.service-faq .faq-intro { position: static; margin-bottom: 34px; }
.service-faq .faq-list { border-radius: 8px; }

.consult-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.88fr);
  gap: clamp(48px, 7vw, 88px);
  align-items: start;
}
.consult-copy,
.conversation-panel { min-width: 0; }
.consult-copy > h2,
.conversation-panel h2 { font-size: clamp(30px, 3.3vw, 40px); }
.consult-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.72; }
.consult-agenda { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 22px; }
.consult-agenda li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; }
.consult-agenda span { color: var(--accent); font-family: var(--heading-font); font-size: 13px; font-weight: 800; }
.consult-agenda h3 { font-size: 19px; margin-bottom: 7px; }
.consult-agenda p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.booking-panel {
  padding: 32px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 20px 46px rgba(16,31,52,0.08);
  scroll-margin-top: 112px;
}
.booking-panel h2 { font-size: 27px; }
.booking-panel > p:not(.eyebrow) { margin-top: 13px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.booking-panel .btn { width: 100%; margin-top: 24px; text-align: center; }
.booking-contact { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); }
.booking-contact p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.booking-contact a { color: var(--text); font-weight: 700; }
.booking-panel-hero {
  width: 100%;
  max-width: 440px;
  justify-self: end;
  border-color: rgba(255,255,255,0.18);
  background: #14294A;
  box-shadow: 0 24px 58px rgba(4,13,27,0.28);
}
.booking-panel-hero .eyebrow { margin-bottom: 12px; color: var(--accent-on-dark); }
.booking-panel-hero h2 { color: var(--surface); }
.booking-panel-hero > p { color: #c2ccda; }
.booking-panel-hero .booking-contact { border-top-color: rgba(255,255,255,0.16); }
.booking-panel-hero .booking-contact p { color: #c2ccda; }
.booking-panel-hero .booking-contact a { color: var(--surface); }
.consultation-hero-cta { display: none; }
.conversation-panel {
  padding: 0 0 0 clamp(32px, 4vw, 48px);
  border-left: 1px solid var(--border);
}
.conversation-intro {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}
.conversation-list {
  list-style: none;
  counter-reset: conversation-item;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--border);
}
.conversation-list li {
  counter-increment: conversation-item;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-secondary);
  font-size: 15.5px;
  line-height: 1.58;
}
.conversation-list li::before {
  content: "0" counter(conversation-item);
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.95;
}

@media (max-width: 960px) {
  .health-check-inner,
  .service-hero-inner,
  .consult-layout { grid-template-columns: 1fr; }
  .health-intro { position: static; max-width: 720px; }
  .service-summary { max-width: 650px; }
  .booking-panel-hero { max-width: 650px; justify-self: start; }
  .consultation-hero-cta { display: flex; }
  .conversation-panel {
    padding: 38px 0 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }
  .signal-grid,
  .process-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .hero-portrait {
    width: 100%;
    max-width: 620px;
    aspect-ratio: 16 / 10;
  }
  .hero-portrait img { object-position: center 20%; }
  .pillar-list,
  .deliverable-grid,
  .fit-grid { grid-template-columns: 1fr; }
  .service-briefs { grid-template-columns: 1fr; }
  .service-brief { padding: 16px 0; }
  .service-brief + .service-brief { padding-left: 0; border-top: 1px solid var(--border); border-left: 0; }
  .pillar .check-list { grid-template-columns: 1fr; }
  .signal-grid,
  .process-list { grid-template-columns: 1fr; }
  .fit-grid { gap: 46px; }
  .related-band-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .health-shell { min-height: 0; padding: 24px 20px; }
  .health-meter-copy { flex-direction: column; gap: 5px; }
  .health-actions { align-items: stretch; flex-direction: column-reverse; }
  .health-actions .btn { width: 100%; text-align: center; }
  .health-result-actions { align-items: stretch; flex-direction: column; }
  .health-result-actions .btn { width: 100%; text-align: center; }
  .pillar,
  .pillar:first-child,
  .pillar-flip { padding: 26px 22px; }
  .service-hero { padding: 56px 0; }
  .service-summary { padding-left: 20px; }
  .booking-panel { padding: 28px 22px; }
}

/* Legal and policy pages */
.legal-head { padding: 64px 0 54px; background: var(--dark); color: var(--surface); }
.legal-head h1 { max-width: 820px; color: var(--surface); font-size: clamp(34px, 4vw, 50px); }
.legal-head p:not(.eyebrow) { max-width: 720px; margin-top: 18px; color: var(--text-on-dark-muted); font-size: 17px; line-height: 1.65; }
.legal-body { max-width: 860px; padding-top: 72px; padding-bottom: 88px; }
.legal-updated { margin-bottom: 36px; color: var(--muted); font-size: 14px; font-weight: 700; }
.legal-body h2 { margin: 44px 0 16px; font-size: 26px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { margin: 28px 0 10px; font-size: 19px; }
.legal-body p,
.legal-body li { color: #303a48; font-size: 16.5px; line-height: 1.76; }
.legal-body p { margin-bottom: 17px; }
.legal-body ul { margin: 0 0 22px; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--accent); font-weight: 700; }
.legal-note { margin: 30px 0; padding: 22px 24px; border-left: 3px solid var(--accent); background: var(--surface-cool); }
.legal-note p { margin: 0; }

/* Article authorship and primary sources */
.article-credibility {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  margin-top: 54px;
  border: 1px solid #dbe2ea;
  border-radius: 6px;
  background: var(--surface);
  overflow: hidden;
}
.article-reviewer {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  padding: 25px;
  background: var(--dark);
  color: var(--surface);
}
.article-reviewer img {
  width: 68px;
  height: 68px;
  border-radius: 4px;
  object-fit: cover;
}
.article-reviewer .eyebrow {
  margin: 0 0 5px;
  color: var(--accent-on-dark);
}
.article-reviewer strong {
  display: block;
  color: var(--surface);
  font-family: var(--heading-font);
  font-size: 18px;
  line-height: 1.25;
}
.article-reviewer span {
  display: block;
  margin-top: 4px;
  color: #cbd6e4;
  font-size: 13.5px;
  line-height: 1.45;
}
.article-source-list {
  padding: 24px 26px;
  background: #f8fafc;
}
.article-source-list > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--dark);
  font-family: var(--heading-font);
  font-size: 16px;
}
.article-source-list ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}
.article-source-list li,
.article-source-list a {
  color: #40536a;
  font-size: 13.5px;
  line-height: 1.45;
}
.article-source-list a:hover { color: var(--accent); }
.article-source-list small {
  display: block;
  margin-top: 12px;
  color: #69778a;
  font-size: 11.5px;
}

/* Branded not-found page */
.not-found {
  padding: 100px 0 110px;
  background: var(--dark);
  color: var(--surface);
}
.not-found-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 70px;
  align-items: center;
}
.not-found-copy { max-width: 720px; }
.not-found .eyebrow { color: var(--accent-on-dark); }
.not-found h1 {
  margin: 12px 0 18px;
  color: var(--surface);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
}
.not-found p:not(.eyebrow) {
  max-width: 650px;
  color: #d1dbe8;
  font-size: 18px;
  line-height: 1.65;
}
.not-found-code {
  color: rgba(255,255,255,0.08);
  font-family: var(--heading-font);
  font-size: clamp(120px, 18vw, 250px);
  font-weight: 800;
  line-height: 0.8;
}
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.not-found-links {
  padding: 34px 0 40px;
  border-bottom: 1px solid var(--border);
}
.not-found-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.not-found-links a { color: var(--dark); font-weight: 700; }

/* Article assessment tools */
.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;
}
.article-tool-section {
  max-width: 790px;
  margin-top: 64px;
  margin-right: auto;
  margin-left: calc((100% - 1120px) / 2 + 230px + 34px);
}
.article-body > .article-tool-section {
  max-width: none;
  margin: 42px 0 50px;
}
.article-tool-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.65fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #d7e0e9;
  border-radius: 6px;
  background: var(--surface);
}
.article-tool-intro {
  position: relative;
  grid-row: span 2;
  padding: 34px 28px 30px;
  background: var(--dark);
}
.article-tool-intro::after {
  content: "";
  position: absolute;
  bottom: 28px;
  left: 28px;
  width: 48px;
  height: 4px;
  background: var(--accent);
}
.article-tool-intro .eyebrow {
  margin: 0;
  color: var(--accent-on-dark);
}
.article-tool-intro h2 {
  margin: 13px 0 15px;
  color: var(--surface);
  font-size: clamp(23px, 2.35vw, 29px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.article-tool-intro > p:not(.eyebrow) {
  margin: 0;
  color: #d2dbe8;
  font-size: 14.5px;
  line-height: 1.6;
}
.article-tool-work {
  padding: 32px 34px 28px;
  background: var(--surface);
}
.article-tool-mount {
  min-height: 330px;
}
.article-tool-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4eaf0;
}
.article-tool-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width 180ms ease;
}
.article-tool-status {
  margin: 24px 0 20px;
}
.article-tool-status span {
  display: block;
  margin-bottom: 9px;
  color: #69778a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.article-tool-status strong {
  display: block;
  max-width: 680px;
  color: var(--dark);
  font-family: var(--heading-font);
  font-size: 23px;
  line-height: 1.22;
}
.article-tool-question {
  margin: 0;
  padding: 0;
  border: 0;
}
.article-tool-options {
  display: grid;
  gap: 10px;
}
.article-tool-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 56px;
  padding: 16px;
  border: 1px solid #d2dbe5;
  border-radius: 5px;
  background: var(--surface);
  color: #26384d;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.45;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.article-tool-option:hover {
  border-color: #8fa0b3;
  background: #f8fafc;
}
.article-tool-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-softest);
  box-shadow: inset 4px 0 0 var(--accent);
}
.article-tool-option input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}
.article-tool-actions,
.article-tool-result-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.article-tool-actions {
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #e3e8ee;
}
.article-tool-actions .btn,
.article-tool-result-actions .btn {
  min-width: 126px;
  border: 1px solid #bdc8d5;
  background: var(--surface);
  color: var(--text);
}
.article-tool-actions .btn-primary,
.article-tool-result-actions .btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--surface);
}
.article-tool-actions .btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.article-tool-result {
  min-height: 316px;
  padding: 2px 0 0 25px;
  border-left: 4px solid var(--accent);
  color: var(--text);
}
.article-tool-result-label {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.article-tool-result h3 {
  max-width: 640px;
  margin: 0 0 12px;
  color: var(--dark);
  font-size: clamp(25px, 3vw, 31px);
  line-height: 1.2;
}
.article-tool-result > p:not(.article-tool-result-label) {
  max-width: 660px;
  color: #46566a;
  font-size: 15.5px;
  line-height: 1.62;
}
.article-tool-next-review {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #dfe6ed;
}
.article-tool-next-review strong {
  color: var(--dark);
  font-family: var(--heading-font);
  font-size: 15px;
}
.article-tool-next-review ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.article-tool-next-review li {
  position: relative;
  padding-left: 18px;
  color: #46566a;
  font-size: 14.5px;
  line-height: 1.45;
}
.article-tool-next-review li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}
.article-tool-result-actions .article-tool-reset {
  border-color: #bdc8d5;
  background: var(--surface);
  color: var(--text);
}
.article-tool-disclaimer {
  grid-column: 2;
  margin: 0;
  padding: 17px 34px 18px;
  border-top: 1px solid #e1e7ed;
  background: #f8fafc;
  color: #667386 !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
}

@media (max-width: 760px) {
  .not-found { padding: 70px 0 80px; }
  .not-found-inner { grid-template-columns: 1fr; gap: 30px; }
  .not-found-code { grid-row: 1; font-size: 120px; }
  .not-found-actions .btn { width: 100%; text-align: center; }
  .article-credibility { grid-template-columns: 1fr; }
  .article-reviewer,
  .article-source-list { padding: 22px 20px; }
  .article-tool-section {
    width: 100%;
    margin-top: 38px;
    margin-left: auto;
  }
  .article-tool-shell {
    display: block;
    border-radius: 0;
  }
  .article-tool-intro { padding: 27px 20px 33px; }
  .article-tool-intro::after { bottom: 20px; left: 20px; }
  .article-tool-intro h2 { font-size: 26px; }
  .article-tool-work { padding: 26px 20px 24px; }
  .article-tool-mount,
  .article-tool-result { min-height: 0; }
  .article-tool-status strong { font-size: 22px; }
  .article-tool-result { padding: 2px 0 0 18px; }
  .article-tool-disclaimer { padding: 16px 20px 17px; }
  .article-tool-actions,
  .article-tool-result-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .article-tool-actions .btn,
  .article-tool-result-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .header-inner {
    gap: 10px;
    padding-right: 16px;
    padding-left: 16px;
  }
  .site-header .brand-logo-art { width: 156px; }
  .nav-toggle { margin-left: auto; padding: 6px; }
}

/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4 */
/* ---------- Compact homepage service overview ---------- */
.services-overview {
  padding-top: 96px;
  padding-bottom: 104px;
}

.services-overview-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 72px;
}

.services-overview-head > div,
.services-overview-head > p {
  min-width: 0;
}

.services-overview-head h2 {
  max-width: 760px;
  overflow-wrap: anywhere;
}

.services-overview-head > p {
  max-width: 510px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.service-overview-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 52px minmax(220px, 0.8fr) minmax(300px, 1.15fr) auto;
  align-items: center;
  gap: 26px;
  padding: 28px 32px;
  border: 1px solid var(--dark);
  border-radius: 8px;
  background: var(--dark);
  color: var(--surface);
}

.service-overview-card {
  display: flex;
  min-width: 0;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 160ms ease, transform 160ms ease;
}

.service-overview-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.service-overview-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 6px;
  background: var(--service-icon-bg);
  color: var(--accent);
}

.service-overview-featured .service-overview-icon {
  background: var(--accent);
  color: var(--surface);
}

.service-overview-icon svg {
  width: 24px;
  height: 24px;
}

.service-overview-title p {
  margin-bottom: 5px;
  color: var(--accent-on-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-overview-title h3,
.service-overview-card h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.service-overview-description {
  color: var(--service-feature-text);
  font-size: 15.5px;
  line-height: 1.6;
}

.service-overview-card h3 {
  margin-top: 22px;
}

.service-overview-card > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.service-overview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--accent);
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.service-overview-featured .service-overview-link {
  margin-top: 0;
  padding-top: 0;
  color: var(--accent-on-dark);
}

.service-overview-link span {
  transition: transform 160ms ease;
}

.service-overview-link:hover span {
  transform: translateX(3px);
}

.service-overview-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

@media (max-width: 1020px) {
  .services-overview-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .services-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-overview-featured {
    grid-template-columns: 52px minmax(0, 1fr) minmax(260px, 1fr);
  }

  .service-overview-featured .service-overview-link {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .services-overview {
    padding-top: 76px;
    padding-bottom: 80px;
  }

  .services-overview-head > p {
    font-size: 16px;
  }

  .services-overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 34px;
  }

  .service-overview-featured {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    padding: 24px 22px;
  }

  .service-overview-featured .service-overview-description,
  .service-overview-featured .service-overview-link {
    grid-column: 1 / -1;
  }

  .service-overview-card {
    min-height: 0;
    padding: 23px 22px;
  }

  .service-overview-card .service-overview-link {
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-overview-card,
  .service-overview-link span {
    transition: none;
  }
}

/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4 */
/* ---------- Client feedback ---------- */
.client-feedback {
  padding-top: 96px;
  padding-bottom: 104px;
  background: var(--surface);
}

.client-feedback-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 72px;
}

.client-feedback-head > div,
.client-feedback-head > p {
  min-width: 0;
}

.client-feedback-head h2 {
  max-width: 800px;
  overflow-wrap: anywhere;
}

.client-feedback-head > p {
  max-width: 420px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.client-feedback-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.client-quote {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
  padding: 30px 32px 28px 68px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--warm);
}

.client-quote::before {
  content: "\201C";
  position: absolute;
  top: 18px;
  left: 26px;
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 50px;
  font-weight: 800;
  line-height: 1;
}

.client-quote-featured {
  grid-row: 1 / 3;
  justify-content: center;
  gap: 54px;
  padding: 54px 54px 44px 92px;
  border-color: var(--dark);
  background: var(--dark);
  color: var(--surface);
}

.client-quote-featured::before {
  top: 36px;
  left: 42px;
  color: var(--accent-on-dark);
  font-size: 64px;
}

.client-quote blockquote {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
}

.client-quote-featured blockquote {
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.42;
}

.client-quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.client-quote-featured figcaption {
  border-top-color: var(--border-on-dark);
}

.client-quote cite {
  font-style: normal;
  font-weight: 800;
}

.client-quote figcaption span {
  color: var(--muted);
  font-size: 13px;
}

.client-quote-featured figcaption span {
  color: var(--service-feature-text);
}

.service-testimonial-band {
  padding: 82px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.service-testimonial-inner {
  position: relative;
  max-width: 1000px;
  padding-left: 72px;
}

.service-testimonial-inner::before {
  content: "\201C";
  position: absolute;
  top: 32px;
  left: 28px;
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
}

.service-testimonial-inner .eyebrow {
  margin-bottom: 18px;
}

.service-testimonial-inner blockquote {
  max-width: 890px;
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(24px, 3vw, 34px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
}

.service-testimonial-inner cite {
  display: block;
  margin-top: 24px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 900px) {
  .client-feedback-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .client-feedback-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .client-quote-featured {
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .client-feedback {
    padding-top: 76px;
    padding-bottom: 80px;
  }

  .client-feedback-grid {
    margin-top: 34px;
    gap: 14px;
  }

  .client-quote,
  .client-quote-featured {
    gap: 28px;
    padding: 30px 22px 26px 58px;
  }

  .client-quote::before,
  .client-quote-featured::before {
    top: 20px;
    left: 20px;
    font-size: 46px;
  }

  .client-quote blockquote,
  .client-quote-featured blockquote {
    font-size: 19px;
    line-height: 1.48;
  }

  .service-testimonial-band {
    padding: 66px 0;
  }

  .service-testimonial-inner {
    padding-left: 58px;
  }

  .service-testimonial-inner::before {
    top: 28px;
    left: 20px;
    font-size: 48px;
  }

  .service-testimonial-inner blockquote {
    font-size: 23px;
  }
}

/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4 */
/* ---------- Services navigation dropdown ---------- */
.nav-services {
  position: relative;
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 3px;
}

.main-nav .nav-services-link {
  display: flex;
  height: 100%;
  align-items: center;
}

.nav-services-toggle {
  display: grid;
  width: 26px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-services-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.nav-services-toggle:hover,
.nav-services-toggle:focus-visible {
  color: var(--accent);
}

.nav-services-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.services-dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  z-index: 120;
  width: 310px;
  padding: 9px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 8px 8px;
  background: var(--surface);
  box-shadow: 0 16px 38px var(--nav-dropdown-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.main-nav .services-dropdown a {
  display: block;
  padding: 11px 13px;
  border-radius: 4px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.3;
  white-space: nowrap;
}

.main-nav .services-dropdown a:hover,
.main-nav .services-dropdown a:focus-visible {
  background: var(--service-icon-bg);
  color: var(--accent-hover);
}

.main-nav .services-dropdown a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.nav-services:hover .services-dropdown,
.nav-services:focus-within .services-dropdown,
.nav-services.open .services-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-services:hover .nav-services-toggle svg,
.nav-services:focus-within .nav-services-toggle svg,
.nav-services.open .nav-services-toggle svg {
  transform: rotate(180deg);
}

@media (max-width: 1120px) {
  .nav-services {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    align-self: auto;
    gap: 0;
  }

  .main-nav .nav-services-link {
    height: auto;
    padding: 14px 0 14px 28px;
  }

  .nav-services-toggle {
    width: 52px;
    height: 48px;
    margin-right: 16px;
    justify-self: end;
  }

  .services-dropdown {
    position: static;
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 3px 0 10px;
    border: 0;
    border-top: 1px solid var(--border);
    border-radius: 0;
    background: var(--warm);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav-services:hover .services-dropdown,
  .nav-services:focus-within .services-dropdown {
    display: none;
  }

  .nav-services.open .services-dropdown {
    display: block;
  }

  .main-nav .services-dropdown a {
    padding: 11px 28px 11px 46px;
    border-radius: 0;
    color: var(--muted);
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-services-toggle svg,
  .services-dropdown {
    transition: none;
  }
}

/* ---------- Final design consistency pass ---------- */
.get-started .btn-white,
.article-wrap + .get-started .btn-white {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--surface);
}

.get-started .btn-white:hover,
.article-wrap + .get-started .btn-white:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: var(--surface);
}

.home-page .section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.home-page .services-overview,
.home-page .client-feedback {
  padding-top: 80px;
  padding-bottom: 84px;
}

.home-page .client-feedback-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  margin-top: 38px;
}

.home-page .client-quote-featured {
  grid-row: auto;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 32px 28px 68px;
}

.home-page .client-quote-featured::before {
  top: 18px;
  left: 26px;
  font-size: 50px;
}

.home-page .client-quote-featured blockquote {
  font-size: 20px;
  line-height: 1.5;
}

.home-page #insights .insights-head {
  margin-bottom: 38px;
}

.home-page #insights .insight-card .card-figure {
  height: 165px;
}

.home-page #insights .insight-card .card-figure .gfx {
  min-height: 165px;
}

.home-page #insights .insight-card .card-body {
  padding: 22px 22px 24px;
}

.home-page #faq {
  padding-top: 64px;
  padding-bottom: 64px;
}

.home-page #faq .faq-inner {
  gap: 52px;
}

.home-page #faq .faq-item button {
  padding: 18px 24px;
}

.home-page #faq .faq-answer p {
  padding: 0 24px 20px;
}

@media (max-width: 860px) {
  .home-page .section,
  .home-page .services-overview,
  .home-page .client-feedback {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .home-page .hero {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .home-page .hero-inner {
    gap: 28px;
  }

  .home-page .client-feedback-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }
}

@media (max-width: 560px) {
  .home-page .hero {
    padding-top: 34px;
    padding-bottom: 44px;
  }

  .home-page .hero-copy {
    gap: 12px;
  }

  .home-page .hero h1 {
    font-size: 32px;
    line-height: 1.04;
  }

  .home-page .hero-sub {
    font-size: 16px;
    line-height: 1.42;
  }

  .home-page .hero-ctas {
    gap: 10px;
    margin-top: 2px;
  }

  .home-page .hero-ctas .btn {
    padding: 14px 16px;
  }

  .home-page .hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin-top: 4px;
    padding-top: 16px;
  }

  .home-page .hero-proof li:last-child {
    grid-column: 1 / -1;
  }

  .home-page .hero-portrait {
    width: min(100%, 310px);
  }

  .home-page #faq {
    padding-top: 54px;
    padding-bottom: 54px;
  }
}
