/* =================================================================
   Frontline Bookkeeping Solutions
   Design system v2 — "Trusted Advisor" theme
   Navy + gold, serif display type, full-bleed imagery.
   ================================================================= */

/* ----------------------------------------------------------------
   0. ACCESSIBILITY UTILITIES
---------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: .85rem 1.25rem;
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

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

/* ----------------------------------------------------------------
   1. TOKENS
---------------------------------------------------------------- */
:root {
  /* Navy scale */
  --navy-950: #060e1a;
  --navy-900: #0b1626;
  --navy-800: #102138;
  --navy-700: #16304f;
  --navy-600: #1d4270;
  --navy-500: #2b5a92;
  --navy-100: #dfe8f3;
  --navy-050: #f3f7fc;

  /* Gold scale */
  --gold-700: #8a6410;
  --gold-600: #a97c14;
  --gold-500: #c3951f;
  --gold-400: #d8b04a;
  --gold-300: #e8cd84;
  --gold-100: #f7efd8;

  /* Neutrals */
  --ink: #101d2e;
  --ink-soft: #45586e;
  --muted: #61738a;
  --line: #dde5ef;
  --line-soft: #eaf0f7;
  --paper: #ffffff;
  --paper-alt: #f6f8fc;
  --paper-warm: #fbf9f4;

  /* Semantic */
  --success: #1f6b45;
  --success-bg: #e7f4ec;

  /* Type */
  --serif: 'Source Serif 4', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shape — corporate, shallow radii */
  --radius-sm: 3px;
  --radius: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(16, 29, 46, .06), 0 2px 6px rgba(16, 29, 46, .05);
  --shadow: 0 2px 6px rgba(16, 29, 46, .05), 0 12px 32px rgba(16, 29, 46, .09);
  --shadow-lg: 0 4px 12px rgba(16, 29, 46, .07), 0 26px 60px rgba(16, 29, 46, .14);

  --container: 1180px;
  --header-h: 88px;
}

/* ----------------------------------------------------------------
   2. RESET + BASE
---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
picture { display: contents; }

a { color: inherit; text-decoration: none; }

p, li { color: var(--ink-soft); }
p { margin-top: 0; }
ul { margin-top: 0; padding-left: 1.15rem; }
h1, h2, h3, h4 { margin-top: 0; color: var(--ink); font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
strong { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-shell { overflow: clip; }

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

.section { padding: 5.25rem 0; }
.section-sm { padding: 3rem 0; }

.section--tint { background: var(--paper-alt); }
.section--warm { background: var(--paper-warm); }
.section--navy { background: var(--navy-900); color: rgba(255,255,255,.82); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy strong { color: #fff; }
.section--navy p, .section--navy li { color: rgba(255,255,255,.78); }

.align-center { align-items: center; }

.split-grid { display: grid; gap: 3rem; grid-template-columns: 1fr 1fr; align-items: center; }

/* ----------------------------------------------------------------
   4. TYPOGRAPHY
---------------------------------------------------------------- */
h1 { font-size: clamp(2.4rem, 4.1vw, 3.7rem); line-height: 1.1; }
h2 { font-size: clamp(1.85rem, 2.7vw, 2.65rem); line-height: 1.16; }
h3 { font-size: 1.22rem; line-height: 1.3; }

.lead {
  font-size: 1.13rem;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--gold-700);
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--gold-500);
  flex: none;
}

.eyebrow-light { color: var(--gold-300); }
.eyebrow-light::before { background: var(--gold-400); }

.breadcrumbs {
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.breadcrumbs a { color: var(--ink-soft); font-weight: 600; }
.breadcrumbs a:hover { color: var(--gold-700); }

.section-heading { max-width: 54rem; margin-bottom: 2.75rem; }
.section-heading.narrow { max-width: 44rem; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading h2 { margin-bottom: .85rem; }

.mini-label, .service-kicker, .pillar-step, .plan-label, .blog-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--gold-700);
}

.mini-label, .service-kicker {
  background: var(--gold-100);
  border: 1px solid rgba(195, 149, 31, .28);
  padding: .4rem .7rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.pillar-step {
  width: 2.6rem; height: 2.6rem;
  justify-content: center;
  background: var(--navy-900);
  color: var(--gold-300);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

/* ----------------------------------------------------------------
   5. BUTTONS
---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.7rem;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: 0 8px 20px rgba(163, 122, 12, .22);
}
.btn-primary:hover { background: var(--gold-400); }

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--navy-700); background: var(--navy-050); }

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-light {
  background: #fff;
  color: var(--navy-900);
}
.btn-light:hover { background: var(--gold-100); }

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin: 2rem 0 0;
}

/* ----------------------------------------------------------------
   6. SITE CHROME — utility bar + masthead
---------------------------------------------------------------- */
.utility-bar {
  background: var(--navy-950);
  color: rgba(255,255,255,.72);
  font-size: .8rem;
  letter-spacing: .03em;
}

.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 42px;
  padding: .5rem 0;
}

.utility-bar p { margin: 0; color: rgba(255,255,255,.66); }
.utility-bar a { color: rgba(255,255,255,.82); font-weight: 600; }
.utility-bar a:hover { color: var(--gold-300); }

.utility-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.utility-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem;
  background: var(--gold-500);
  color: var(--navy-950) !important;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: .02em;
}
.utility-phone:hover { background: var(--gold-400); color: var(--navy-950) !important; }

/* Legacy topbar (kept so any un-migrated page still renders) */
.topbar { background: var(--navy-950); color: rgba(255,255,255,.72); font-size: .8rem; }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 42px; padding: .5rem 0;
}
.topbar p { margin: 0; color: rgba(255,255,255,.66); }
.topbar a { color: rgba(255,255,255,.85); font-weight: 600; }
.topbar a:hover { color: var(--gold-300); }
.premium-topbar { background: var(--navy-950); }

/* Masthead */
.masthead, .site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.masthead-inner, .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem 0;
}

.brand { display: inline-flex; align-items: center; gap: .95rem; }

.brand img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  object-fit: contain;
}

.brand span { display: flex; flex-direction: column; line-height: 1.16; }

.brand strong {
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -.015em;
}

.brand small {
  margin-top: .22rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-700);
}

/* Primary nav */
.primary-nav, .desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.primary-nav > a, .desktop-nav > a {
  position: relative;
  padding: .35rem 0;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}

.primary-nav > a::after, .desktop-nav > a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold-500);
  transition: width .2s ease;
}

.primary-nav > a:hover, .desktop-nav > a:hover { color: var(--navy-700); }
.primary-nav > a:hover::after, .desktop-nav > a:hover::after { width: 100%; }

.primary-nav a.is-active, .desktop-nav a.is-active { color: var(--navy-700); }
.primary-nav a.is-active::after, .desktop-nav a.is-active::after { width: 100%; }

.nav-cta, .btn.nav-cta {
  padding: .78rem 1.4rem;
  background: var(--navy-800);
  color: #fff !important;
  border-radius: var(--radius-sm);
  box-shadow: none;
}
.nav-cta:hover { background: var(--gold-500); color: var(--navy-950) !important; }

/* Secondary nav action: existing clients signing in. Kept lighter than the
   Contact CTA so the primary conversion path stays dominant. */
.primary-nav > a.nav-login, .desktop-nav > a.nav-login {
  padding: .62rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--navy-700);
  white-space: nowrap;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.primary-nav > a.nav-login::after, .desktop-nav > a.nav-login::after { display: none; }
.primary-nav > a.nav-login:hover, .desktop-nav > a.nav-login:hover {
  border-color: var(--navy-700);
  background: var(--paper-alt);
  color: var(--navy-800);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.1rem;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ----------------------------------------------------------------
   7. HERO — full-bleed image + navy scrim (signature)
---------------------------------------------------------------- */
.hero-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 620px;
  padding: 6rem 0;
  background: var(--navy-900);
  overflow: hidden;
}

.hero-banner__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* push subject right: keep left third calm for text */
  object-position: 72% 50%;
}

/* directional scrim — dark on the left, clear on the right */
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(6,14,26,.95) 0%, rgba(6,14,26,.88) 34%, rgba(8,20,38,.62) 58%, rgba(8,20,38,.28) 78%, rgba(8,20,38,.18) 100%);
}

.hero-banner__inner { position: relative; z-index: 1; }

.hero-banner__copy { max-width: 44rem; }

.hero-banner h1 {
  color: #fff;
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  line-height: 1.08;
  margin-bottom: 1.15rem;
  text-wrap: balance;
}

.hero-banner .lead {
  color: rgba(255,255,255,.82);
  font-size: 1.16rem;
  max-width: 40rem;
}

.hero-banner__rule {
  width: 68px;
  height: 3px;
  background: var(--gold-500);
  margin: 0 0 1.6rem;
}

/* Hero proof strip pinned to the bottom of the banner */
.hero-banner__proof {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 3.25rem;
  border-top: 1px solid rgba(255,255,255,.18);
}

.hero-banner__proof div {
  padding: 1.35rem 1.5rem 0 0;
}
.hero-banner__proof div + div {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255,255,255,.14);
}

.hero-banner__proof strong {
  display: block;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: .3rem;
}

.hero-banner__proof span {
  font-size: .86rem;
  line-height: 1.5;
  color: rgba(255,255,255,.68);
}

/* ----------------------------------------------------------------
   8. OVERLAP CARDS — signature floating shortcut row
---------------------------------------------------------------- */
.overlap-row {
  position: relative;
  z-index: 5;
  margin-top: -4.5rem;
}

.overlap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.overlap-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--line);
  transition: background-color .2s ease;
}

.overlap-card:last-child { border-right: 0; }
.overlap-card:hover { background: var(--navy-050); }

.overlap-card__icon {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--gold-100);
  color: var(--gold-700);
  font-size: 1.1rem;
  margin-bottom: .35rem;
}

.overlap-card strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

.overlap-card span { font-size: .88rem; line-height: 1.55; color: var(--muted); }

.overlap-card__link {
  margin-top: .3rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-700);
}

/* ----------------------------------------------------------------
   9. PAGE HERO — interior pages (no full-bleed photo)
---------------------------------------------------------------- */
.page-hero, .services-premium-hero {
  position: relative;
  padding: 4.25rem 0 3.5rem;
  background:
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: rgba(255,255,255,.8);
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -8rem; top: -10rem;
  width: 34rem; height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195,149,31,.20), transparent 66%);
  pointer-events: none;
}

.page-hero__inner, .page-hero-grid, .services-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 3rem;
  align-items: center;
}

.page-hero h1, .page-hero h2 {
  color: #fff;
  font-size: clamp(2.1rem, 3.3vw, 3.1rem);
  line-height: 1.13;
  margin-bottom: 1rem;
}
.page-hero .lead { color: rgba(255,255,255,.8); }
.page-hero .eyebrow { color: var(--gold-300); }
.page-hero .eyebrow::before { background: var(--gold-400); }
.page-hero .breadcrumbs { color: rgba(255,255,255,.55); }
.page-hero .breadcrumbs a { color: rgba(255,255,255,.82); }
.page-hero .breadcrumbs a:hover { color: var(--gold-300); }

.page-hero--wide .page-hero-grid,
.page-hero--wide .page-hero__inner { grid-template-columns: 1fr; max-width: 60rem; }

/* The hero forces white headings; the aside panel is a white card, so restore ink there. */
.page-hero .services-hero-panel h2,
.page-hero .services-hero-panel h3,
.page-hero .services-hero-panel strong { color: var(--ink); }
.page-hero .services-hero-panel p { color: var(--ink-soft); }
.page-hero .services-hero-panel .card__list li { color: var(--ink-soft); }
.page-hero .services-hero-panel .form-note { color: var(--muted); }

.services-panel-divider {
  height: 1px;
  margin: 1.5rem 0 1.25rem;
  background: var(--line);
  border: 0;
}

/* ----------------------------------------------------------------
   10. CARD SYSTEM
---------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.card--hover:hover { border-color: var(--navy-100); box-shadow: var(--shadow); transform: translateY(-3px); }

.card--accent {
  border-top: 3px solid var(--gold-500);
  border-radius: 0 0 var(--radius) var(--radius);
}

.card--navy {
  background: var(--navy-900);
  border-color: var(--navy-700);
  color: rgba(255,255,255,.78);
}
.card--navy strong, .card--navy h3 { color: #fff; }
.card--navy p, .card--navy li { color: rgba(255,255,255,.74); }

.card h3 { margin-bottom: .6rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.card__list { list-style: none; padding: 0; margin: 1rem 0 0; }
.card__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .55rem;
  font-size: .93rem;
  line-height: 1.6;
}
.card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: .62rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
}

.card__list--check li::before {
  content: '✓';
  width: auto; height: auto;
  left: 0; top: 0;
  background: none;
  color: var(--gold-600);
  font-weight: 800;
  font-size: .86rem;
}

/* Grids */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--gap-lg { gap: 2rem; }

/* ----------------------------------------------------------------
   11. SERVICE CARDS (image-topped, defined block)
---------------------------------------------------------------- */
.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .22s ease, transform .22s ease;
}
.service-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.service-tile__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-800);
}
.service-tile__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-tile:hover .service-tile__media img { transform: scale(1.04); }

.service-tile__body { padding: 1.6rem 1.6rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.service-tile__body h3 { margin-bottom: .55rem; }
.service-tile__body .card__list { margin-top: auto; }

.service-tile--feature { border-top: 3px solid var(--gold-500); }

/* ----------------------------------------------------------------
   12. STAT / RIBBON BANDS
---------------------------------------------------------------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.stat-band > div {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--line);
}
.stat-band > div:last-child { border-right: 0; }

.stat-band strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--navy-800);
  margin-bottom: .5rem;
}
.stat-band span { font-size: .88rem; color: var(--muted); line-height: 1.55; }

.ribbon-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: 2.4rem 0;
  border-top: 3px solid var(--gold-500);
  border-bottom: 1px solid var(--line);
}
.ribbon-band strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: .4rem;
}
.ribbon-band span { font-size: .92rem; color: var(--muted); line-height: 1.6; }

/* ----------------------------------------------------------------
   13. FEATURE / SPOTLIGHT BANDS
---------------------------------------------------------------- */
.feature-band { display: grid; grid-template-columns: 1.02fr .98fr; gap: 3.5rem; align-items: center; }

.feature-band__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
  background: var(--navy-800);
}
.feature-band__media img { width: 100%; height: 100%; object-fit: cover; }

.feature-list { display: grid; gap: 1.1rem; margin: 1.8rem 0 0; }
.feature-list > div {
  padding-left: 1.4rem;
  border-left: 2px solid var(--gold-500);
}
.feature-list strong { display: block; font-family: var(--serif); font-size: 1.05rem; margin-bottom: .25rem; }
.feature-list span { font-size: .92rem; color: var(--muted); line-height: 1.6; }

/* Software spotlight — navy panel */
.spotlight {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3.5rem;
  align-items: center;
}

.spotlight__panel {
  background: linear-gradient(165deg, var(--navy-900), var(--navy-700));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 2.4rem;
  color: rgba(255,255,255,.8);
  box-shadow: var(--shadow-lg);
}
.spotlight__panel h3 { color: #fff; margin-bottom: .7rem; }
.spotlight__panel p { color: rgba(255,255,255,.76); }
.spotlight__panel .mini-label { background: rgba(195,149,31,.18); border-color: rgba(195,149,31,.4); color: var(--gold-300); }

.spotlight__panel .card__list li { color: rgba(255,255,255,.8); }
.spotlight__panel .card__list li::before { background: var(--gold-400); }

.panel-note {
  margin: 1rem 0 0;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-300) !important;
  font-weight: 700;
}

/* ----------------------------------------------------------------
   14. PROCESS STEPS
---------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.process-step {
  padding: 2rem 1.75rem 1.5rem 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.process-step:last-child { border-right: 0; }
.process-step + .process-step { padding-left: 1.75rem; }

.process-step .pillar-step { margin-bottom: 1rem; }
.process-step strong { display: block; font-family: var(--serif); font-size: 1.1rem; margin-bottom: .45rem; }
.process-step p { font-size: .92rem; margin-bottom: 0; }

/* ----------------------------------------------------------------
   15. TESTIMONIALS
---------------------------------------------------------------- */
.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: 0;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.quote-card p {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.62;
  color: var(--ink);
  margin: 0;
}
.quote-card cite {
  font-style: normal;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-top: auto;
}

/* ----------------------------------------------------------------
   16. FAQ (two-column definition list)
---------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: start;
}
.faq-item h3 { font-size: 1.08rem; margin-bottom: 0; }
.faq-item p { margin: 0; font-size: .96rem; }

/* ----------------------------------------------------------------
   17. AUDIENCE BLOCKS
---------------------------------------------------------------- */
.audience-tile {
  padding: 2rem 1.85rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy-700);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--paper);
  transition: border-top-color .2s ease, box-shadow .2s ease;
}
.audience-tile:hover { border-top-color: var(--gold-500); box-shadow: var(--shadow); }
.audience-tile h3 { font-size: 1.14rem; margin-bottom: .5rem; }
.audience-tile p { font-size: .93rem; margin-bottom: 0; }

/* ----------------------------------------------------------------
   18. CTA BAND
---------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 58%, var(--navy-700) 100%);
  color: rgba(255,255,255,.8);
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -6rem; bottom: -12rem;
  width: 32rem; height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195,149,31,.17), transparent 68%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .85rem; }
.cta-band p { color: rgba(255,255,255,.76); }
.cta-band .eyebrow { color: var(--gold-300); }
.cta-band .eyebrow::before { background: var(--gold-400); }

.cta-layout {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 3.5rem;
  align-items: center;
  padding: 4.5rem 0;
}

.contact-panel {
  border-left: 2px solid var(--gold-500);
  padding-left: 1.75rem;
}
.contact-panel ul { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.contact-panel li { color: rgba(255,255,255,.78); font-size: .93rem; }
.contact-panel li + li { margin-top: .5rem; }
.contact-panel strong { color: #fff; }
.contact-panel .hero-actions { margin-top: 1.6rem; }

/* ----------------------------------------------------------------
   19. FOOTER
---------------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.68);
  padding: 4rem 0 0;
  font-size: .92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .8fr .9fr .9fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.site-footer h3 {
  color: #fff;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--gold-300); }
.site-footer p { color: rgba(255,255,255,.64); }

.footer-brand { margin-bottom: 1.2rem; }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 1.2rem; }
.footer-brand small { color: var(--gold-300); }
.footer-brand img { width: 48px; height: 48px; border-radius: var(--radius); }

.footer-copy { max-width: 40ch; line-height: 1.7; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: .6rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.4rem 0 1.8rem;
  font-size: .84rem;
}
.footer-bottom p { margin: 0; color: rgba(255,255,255,.55); }
.footer-bottom a { color: var(--gold-300); }

/* ----------------------------------------------------------------
   20. NEWS / BLOG TEASER BAND
---------------------------------------------------------------- */
.news-band { background: var(--paper-alt); }

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .22s ease, transform .22s ease;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.news-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-800);
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }

.news-card__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.news-card__body h3 { font-size: 1.18rem; line-height: 1.34; margin: .8rem 0 .6rem; }
.news-card__body p { font-size: .93rem; }
.news-card__link {
  margin-top: auto;
  padding-top: 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.news-card__link:hover { color: var(--navy-700); }

.news-card--muted { opacity: .72; }
.news-card--muted .news-card__link { color: var(--muted); }

/* ----------------------------------------------------------------
   21. NEWSLETTER / STAY UPDATED BAR
---------------------------------------------------------------- */
.subscribe-band {
  background: var(--gold-500);
  color: var(--navy-950);
}
.subscribe-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.6rem 0;
}
.subscribe-band strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy-950);
}
.subscribe-band span { font-size: .92rem; color: rgba(6,14,26,.72); }

/* ----------------------------------------------------------------
   22. ARTICLE LAYOUT
---------------------------------------------------------------- */
.article-shell { max-width: 54rem; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: 3.5rem;
  align-items: start;
}

.article-content { font-size: 1.06rem; line-height: 1.78; }
.article-content h2 {
  font-size: 1.6rem;
  margin: 2.4rem 0 .85rem;
  padding-top: .5rem;
}
.article-content h3 { font-size: 1.2rem; margin: 1.8rem 0 .6rem; }
.article-content p { margin-bottom: 1.15rem; }
.article-content ul, .article-content ol { margin-bottom: 1.3rem; }
.article-content li { margin-bottom: .5rem; }
.article-content blockquote {
  margin: 1.8rem 0;
  padding: .4rem 0 .4rem 1.5rem;
  border-left: 3px solid var(--gold-500);
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
}
.article-content a { color: var(--gold-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { color: var(--navy-700); }

.article-hero-image {
  margin: 2.5rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: var(--navy-800);
}
.article-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.article-sidebar { display: grid; gap: 1.5rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }

.sidebar-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500);
  background: var(--paper-alt);
  padding: 1.6rem;
  border-radius: 0 0 var(--radius) var(--radius);
}
.sidebar-card h3 { font-size: 1rem; margin-bottom: .6rem; }
.sidebar-card p { font-size: .9rem; }
.sidebar-card ul { list-style: none; padding: 0; margin: .8rem 0 0; }
.sidebar-card li { font-size: .9rem; }
.sidebar-card li + li { margin-top: .45rem; }

/* ----------------------------------------------------------------
   23. PRICING
---------------------------------------------------------------- */
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.price-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.price-card--featured {
  border: 2px solid var(--navy-800);
  border-top: 4px solid var(--gold-500);
  box-shadow: var(--shadow-lg);
}

.price-card h2 {
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
  margin: 1rem 0 .6rem;
  color: var(--navy-900);
}
.price-card h2 span { font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.price-card .plan-fit { font-size: .93rem; min-height: 4.5rem; }
.price-card .card__list { margin-top: 1.2rem; }
.price-card .btn { margin-top: 1.6rem; }

.pricing-note {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  background: var(--paper-alt);
  border-left: 3px solid var(--gold-500);
  font-size: .93rem;
}

/* ----------------------------------------------------------------
   24. FORMS
---------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 1.5rem 0;
}
.form-grid label {
  display: grid;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
}
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%;
  padding: .85rem .95rem;
  font: inherit;
  font-size: .95rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(195,149,31,.16);
}
.form-grid textarea { resize: vertical; min-height: 8rem; }
.full-span { grid-column: 1 / -1; }
.form-success { margin: 1rem 0 0; color: var(--success); font-weight: 600; }
.form-note { font-size: .84rem; color: var(--muted); }

/* Contact page blocks */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

/* ----------------------------------------------------------------
   25. FOUNDER / ABOUT
---------------------------------------------------------------- */
.founder-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: 3.5rem; align-items: start; }

.founder-portrait-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500);
  background: var(--paper-alt);
  padding: 2rem;
  text-align: center;
  border-radius: 0 0 var(--radius) var(--radius);
}
.founder-photo img {
  width: 11rem; height: 11rem;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}
.portrait-name { display: grid; gap: .2rem; margin: 0; }
.portrait-name strong { font-family: var(--serif); font-size: 1.2rem; }
.portrait-name span { font-size: .78rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--gold-700); }

.timeline { display: grid; gap: 0; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.timeline-item {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1.75rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.timeline-item strong {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-700);
  padding-top: .18rem;
}
.timeline-item p { margin: 0; font-size: .95rem; }

/* ----------------------------------------------------------------
   26. 404
---------------------------------------------------------------- */
.not-found-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
  background: var(--navy-900);
}
.not-found-card { max-width: 40rem; text-align: center; }
.not-found-card h1 { color: #fff; }
.not-found-card p { color: rgba(255,255,255,.72); }
.not-found-card .eyebrow { justify-content: center; color: var(--gold-300); }
.not-found-card .eyebrow::before { background: var(--gold-400); }
.not-found-links { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }

/* ----------------------------------------------------------------
   27. LEGACY CLASS BRIDGES
   Maps the old class vocabulary onto the v2 system so every page
   renders correctly during and after the markup migration.
---------------------------------------------------------------- */
.hero-copy, .premium-copy { max-width: 46rem; }
.hero-showcase-card, .services-hero-panel, .page-aside-card, .contact-form-card, .contact-card,
.article-content, .mini-card, .outcome-card, .value-panel, .pillar-card, .process-step-card,
.consultation-panel, .blog-card, .info-card, .stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
}
.hero-showcase-card, .services-hero-panel { padding: 2rem; }
.showcase-metrics, .fit-metrics { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.showcase-metrics article, .fit-metrics div { padding-left: 1rem; border-left: 2px solid var(--gold-500); }
.showcase-metrics strong, .fit-metrics strong { display: block; font-family: var(--serif); margin-bottom: .25rem; }
.showcase-footer { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.showcase-footer ul { list-style: none; padding: 0; margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.showcase-footer li { padding: .35rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: .82rem; font-weight: 600; }

.media-band { padding: 0 0 4rem; }
.media-band-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; background: var(--navy-800); position: relative; }
.media-band-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-band-frame figcaption { position: absolute; left: 1.75rem; right: 1.75rem; bottom: 1.5rem; color: #fff; font-family: var(--serif); font-size: 1.2rem; text-shadow: 0 2px 14px rgba(6,14,26,.7); }

.service-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.blog-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.blog-card, .premium-service-card { padding: 0; overflow: hidden; }
.blog-card > :not(picture):not(img), .premium-service-card > :not(picture):not(img) { padding-inline: 1.6rem; }
.blog-card > :last-child, .premium-service-card > :last-child { padding-bottom: 1.8rem; }
.blog-card h2, .premium-service-card h3 { padding-top: 1.4rem; }
.premium-service-card > .service-kicker { margin: 1.4rem 1.6rem 0; }
.premium-service-card.featured-service-card { background: var(--navy-900); border-color: var(--navy-700); }
.premium-service-card.featured-service-card h3,
.premium-service-card.featured-service-card p,
.premium-service-card.featured-service-card li { color: #fff; }
.premium-service-card.featured-service-card .service-kicker { background: rgba(195,149,31,.18); border-color: rgba(195,149,31,.4); color: var(--gold-300); }

.services-proof-bar { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; padding: 1.6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-proof-bar strong { display: block; font-family: var(--serif); margin-bottom: .2rem; }
.hero-proof-inline { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; margin-top: 2rem; }
.hero-proof-inline strong { display: block; font-family: var(--serif); font-size: 1.1rem; margin-bottom: .3rem; }
.hero-badge-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.hero-badge-row span { padding: .4rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: .8rem; font-weight: 600; }
.value-checklist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-top: 1.5rem; list-style: none; padding: 0; }
.value-checklist p { margin: 0; padding-left: 1.5rem; position: relative; font-size: .95rem; }
.value-checklist p::before { content: '✓'; position: absolute; left: 0; color: var(--gold-600); font-weight: 800; }
.services-link-row { display: flex; justify-content: center; margin-top: 2.25rem; }
.dark-panel { background: var(--navy-900); color: rgba(255,255,255,.78); padding: 3rem; border-radius: var(--radius); }
.dark-panel h2, .dark-panel strong { color: #fff; }
.premium-ribbon { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; padding: 2.4rem 0; border-top: 3px solid var(--gold-500); border-bottom: 1px solid var(--line); }
.premium-ribbon strong { display: block; font-family: var(--serif); font-size: 1.15rem; margin-bottom: .35rem; }
.premium-ribbon span { font-size: .92rem; color: var(--muted); }
.disabled-card { opacity: .72; }
.plan-label, .blog-tag { margin-bottom: .6rem; }

/* ----------------------------------------------------------------
   27b. PRODUCT SCREENSHOTS + CREDENTIAL BADGE
---------------------------------------------------------------- */
.product-tour { display: grid; gap: 2.25rem; }
.product-tour--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }

.product-shot { margin: 0; }
.product-shot__frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  line-height: 0;
}
.product-shot__frame img { display: block; width: 100%; height: auto; }
.product-shot figcaption {
  margin-top: .95rem;
  font-size: .89rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.product-shot figcaption strong { color: var(--ink); font-weight: 600; }

/* faux browser chrome so screenshots read as a real product surface */
.browser-chrome {
  display: flex;
  align-items: center;
  gap: .42rem;
  padding: .62rem .9rem;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
  line-height: 1;
}
.browser-chrome i {
  width: 9px; height: 9px;
  border-radius: 999px;
  background: var(--line);
  display: block;
}
.browser-chrome em {
  margin-left: .55rem;
  font-style: normal;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .02em;
}

/* QuickBooks credential badge (original artwork — see README licensing note) */
.qb-badge { display: inline-block; width: 232px; height: auto; }
.credential-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-warm);
}
.credential-row .qb-badge { flex: 0 0 auto; }
.credential-row div { min-width: 0; }
.credential-row strong { display: block; font-family: var(--serif); font-size: 1.02rem; color: var(--ink); }
.credential-row span { font-size: .85rem; color: var(--ink-soft); }

/* ----------------------------------------------------------------
   28. RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--4, .stat-band, .process-steps, .services-proof-bar,
  .overlap-grid, .premium-outcomes-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .stat-band > div:nth-child(2) { border-right: 0; }
  .stat-band > div:nth-child(1), .stat-band > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .process-step:nth-child(2) { border-right: 0; }
  .overlap-card:nth-child(2) { border-right: 0; }
  .overlap-card:nth-child(1), .overlap-card:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 960px) {
  .split-grid, .feature-band, .spotlight, .cta-layout, .contact-layout,
  .article-layout, .founder-grid, .page-hero__inner, .page-hero-grid, .services-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .article-sidebar { position: static; }
  .hero-banner { min-height: 0; padding: 4.5rem 0; }
  .hero-banner__proof { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .hero-banner__proof div { padding: 1.1rem 0 0; }
  .hero-banner__proof div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .cta-layout { padding: 3.5rem 0; }
  .contact-panel { border-left: 0; border-top: 2px solid var(--gold-500); padding-left: 0; padding-top: 1.75rem; }
  .overlap-row { margin-top: -2.5rem; }
}

@media (max-width: 820px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .faq-item { grid-template-columns: 1fr; gap: .6rem; }
  .timeline-item { grid-template-columns: 1fr; gap: .35rem; }
  .ribbon-band { grid-template-columns: 1fr; gap: 1.5rem; }
  .subscribe-band .container { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .menu-toggle { display: inline-flex; }
  .primary-nav, .desktop-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 0 1rem;
  }
  .primary-nav.is-open, .desktop-nav.is-open { display: flex; }
  .primary-nav > a, .desktop-nav > a {
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: .82rem;
  }
  .primary-nav > a::after, .desktop-nav > a::after { display: none; }
  .nav-cta { margin-top: .85rem; text-align: center; border-bottom: 0 !important; }

  .masthead-inner, .nav-wrap { flex-wrap: wrap; }
  .utility-bar .container, .topbar-inner { flex-direction: column; align-items: flex-start; gap: .55rem; }
  .utility-links { flex-wrap: wrap; gap: .9rem; }
}

@media (max-width: 660px) {
  .section { padding: 3.5rem 0; }
  .grid--4, .stat-band, .process-steps, .services-proof-bar, .overlap-grid,
  .premium-outcomes-grid, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-band > div, .process-step, .overlap-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step, .process-step + .process-step { padding: 1.75rem 0; }
  .stat-band > div:last-child, .process-step:last-child, .overlap-card:last-child { border-bottom: 0; }
  .showcase-metrics, .fit-metrics, .hero-proof-inline, .value-checklist { grid-template-columns: 1fr; }
  .container { width: min(var(--container), calc(100% - 1.75rem)); }
  .hero-banner h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .brand strong { font-size: 1.06rem; }
  .site-footer { padding-top: 3rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media print {
  .masthead, .utility-bar, .topbar, .site-header, .cta-band, .subscribe-band, .overlap-row { display: none; }
}
