/* ==========================================================================
   Multineo Bookkeeping LLC — site styles
   Apple-inspired: generous whitespace, big confident type, soft gray
   surfaces, rounded tiles, translucent nav. Brand colors from the logo.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand (sampled from the shield logo) */
  --brand-900: #0f3556;
  --brand-800: #14456f;   /* wordmark navy */
  --brand-700: #175d8c;
  --brand-600: #1a6fa3;   /* primary: 5.2:1 on white */
  --brand-500: #2a7fb4;
  --brand-400: #3a8bc0;   /* light shield blue */
  --brand-200: #bcd8ec;
  --brand-100: #e6f1f9;
  --brand-50:  #f2f8fc;
  --silver:    #b9b9b9;   /* logo bar gray */

  /* Neutrals */
  --ink:        #1d1d1f;
  --ink-2:      #56565b;  /* secondary text: 7:1 on white, 6.5:1 on --surface */
  --ink-3:      #6e6e73;  /* tertiary, large/meta only */
  --line:       #d2d2d7;
  --line-soft:  #e8e8ed;
  --surface:    #f5f5f7;
  --white:      #ffffff;
  --danger:     #c4271d;
  --success:    #1d7a3a;

  /* Semantic */
  --color-bg: var(--white);
  --color-fg: var(--ink);
  --color-primary: var(--brand-600);
  --color-primary-hover: var(--brand-700);
  --color-on-primary: #fff;
  --color-link: var(--brand-600);
  --focus-ring: 0 0 0 3px rgba(26, 111, 163, .45);

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-hero: clamp(2.75rem, 1.6rem + 5.2vw, 5.5rem);
  --fs-h1:   clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);
  --fs-h2:   clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --fs-h3:   clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --fs-h4:   1.3125rem;
  --fs-lead: clamp(1.1875rem, 1.05rem + .55vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-sm:   .875rem;
  --fs-xs:   .75rem;

  /* Space (8pt rhythm) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --max: 1200px;
  --max-narrow: 820px;

  /* Shape & depth */
  --r-sm: 12px; --r-md: 18px; --r-lg: 28px; --r-pill: 980px;
  --shadow-1: 0 2px 8px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.04);
  --shadow-2: 0 12px 40px rgba(15,53,86,.10), 0 2px 6px rgba(15,53,86,.06);

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms; --t-med: 280ms; --t-slow: 700ms;

  /* Layers */
  --z-nav: 100; --z-menu: 90; --z-skip: 1000;

  --nav-h: 52px;
  color-scheme: light;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  letter-spacing: -.011em;
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--color-link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -.022em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-skip);
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: var(--fs-sm);
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--max-narrow) + var(--gutter) * 2); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--brand-900); color: #e9f1f7; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.stack > * + * { margin-top: var(--s-4); }

.eyebrow {
  display: inline-block; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .02em;
  color: var(--brand-600); margin-bottom: var(--s-3);
}
.section--dark .eyebrow { color: var(--brand-200); }
.headline { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lead); line-height: 1.42; color: var(--ink-2); font-weight: 400; letter-spacing: -.016em; }
.section--dark .lead { color: #c7d7e4; }
.section-head { max-width: 760px; margin: 0 auto var(--s-8); text-align: center; }
.section-head .lead { margin-top: var(--s-4); }
.section-head--left { margin-inline: 0; text-align: left; }

/* ---------- Buttons & links ---------- */
.btn {
  --_bg: var(--color-primary); --_fg: var(--color-on-primary);
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 44px; padding: 11px 22px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  background: var(--_bg); color: var(--_fg);
  font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.2;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) ease;
  touch-action: manipulation;
}
.btn:hover { --_bg: var(--color-primary-hover); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn--ghost { --_bg: transparent; --_fg: var(--color-primary); border-color: var(--color-primary); }
.btn--ghost:hover { --_bg: var(--color-primary); --_fg: #fff; }
.btn--light { --_bg: #fff; --_fg: var(--brand-800); }
.btn--light:hover { --_bg: var(--brand-100); }
.btn--sm { min-height: 32px; padding: 6px 14px; font-size: var(--fs-sm); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .55; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); align-items: center; }
.center .btn-row, .btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .15em; font-size: 1.0625rem; font-weight: 400;
  color: var(--color-link); min-height: 44px;
}
.link-arrow::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-.04em); transition: transform var(--t-fast) var(--ease-out); }
.link-arrow:hover::after { transform: translate(3px, -.04em); }
.section--dark .link-arrow { color: #8ec3e8; }

/* ---------- Global nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: var(--z-nav); isolation: isolate;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed mobile menu panel inside the 52px bar. */
.site-nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.menu-open .site-nav::before { background: #fff; }
.site-nav__inner { height: 100%; display: flex; align-items: center; gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-800); font-weight: 700; letter-spacing: -.02em; font-size: 1.0625rem; min-height: 44px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand span small { font-weight: 500; color: var(--ink-3); font-size: .8em; margin-left: 4px; }
.nav-links { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: var(--fs-sm); color: var(--ink); opacity: .82; transition: opacity var(--t-fast) ease, color var(--t-fast) ease;
}
.nav-links a:hover { opacity: 1; text-decoration: none; color: var(--brand-600); }
.nav-links a[aria-current="page"] { opacity: 1; color: var(--brand-600); font-weight: 600; }
.nav-cta { margin-left: var(--s-2); }
.nav-links a.btn { color: #fff; opacity: 1; padding: 6px 14px; min-height: 32px; }
.nav-links a.btn:hover { color: #fff; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; border-radius: 10px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast) ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* 7 menu items + CTA need ~1080px; below that the menu collapses to the hamburger */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: var(--z-menu);
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: var(--s-5) var(--gutter) var(--s-8);
    background: rgba(255,255,255,.97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
    overflow-y: auto;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-links a { font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em; min-height: 56px; padding: 0; opacity: 1; }
  .nav-cta { margin: var(--s-5) 0 0; align-self: flex-start; }
  .nav-links a.nav-cta { font-size: 1.0625rem; font-weight: 500; min-height: 48px; padding: 12px 24px; color: #fff; }
  body.menu-open { overflow: hidden; }
}

/* Local sub-nav (ads.apple.com style) */
.subnav {
  position: sticky; top: var(--nav-h); z-index: calc(var(--z-nav) - 1);
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.subnav__inner { display: flex; align-items: center; gap: var(--s-5); min-height: 52px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__title { font-size: 1.3125rem; font-weight: 600; letter-spacing: -.02em; margin-right: auto; white-space: nowrap; }
.subnav__links { display: contents; }
.subnav a { font-size: var(--fs-xs); color: var(--ink); white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.subnav a:hover { color: var(--brand-600); text-decoration: none; }
.subnav .btn { color: #fff; min-height: 30px; }
@media (max-width: 600px) { .subnav__title { font-size: 1.0625rem; } .subnav__links { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  background: linear-gradient(180deg, #fff 0%, #f4f7fa 60%, #e9eff4 100%);
}
/* Text sits on clean white; the photo rises up underneath and fades in from the top */
.hero__media { order: 2;
  position: relative; z-index: -1; width: 100%;
  margin-top: clamp(-7rem, -4vw, -2rem);
  height: clamp(340px, 52vw, 760px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__content { position: relative; max-width: 1080px; padding-inline: var(--gutter); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--s-5);
  padding: 6px 14px 6px 8px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.75); border: 1px solid rgba(20,69,111,.12);
  font-size: var(--fs-sm); font-weight: 500; color: var(--brand-800);
}
.hero__badge img { width: 22px; height: 22px; }
.hero h1 { font-size: var(--fs-hero); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; color: var(--brand-900); }
.hero h1 .accent { background: linear-gradient(90deg, var(--brand-600), var(--brand-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: var(--s-5) auto 0; max-width: 640px; color: #2d3a46; }
.hero .btn-row { justify-content: center; margin-top: var(--s-6); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(4rem, 3rem + 5vw, 8rem) clamp(3rem, 2rem + 4vw, 6rem); text-align: center; }
.page-hero h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.032em; }
.page-hero .lead { max-width: 700px; margin: var(--s-5) auto 0; }
.page-hero .btn-row { justify-content: center; margin-top: var(--s-6); }

/* ---------- Apple-style tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 12px; }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 560px; padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) var(--s-6) 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--surface); border-radius: var(--r-lg);
}
.tile--full { grid-column: 1 / -1; min-height: 620px; }
.tile--navy { background: var(--brand-900); color: #dce8f2; }
.tile--navy h3 { color: #fff; }
.tile--navy p { color: #c1d4e3; }
.tile--blue { background: linear-gradient(160deg, var(--brand-100), #fff 70%); }
.tile h3 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); font-weight: 600; letter-spacing: -.03em; }
.tile p { margin-top: var(--s-2); font-size: var(--fs-lead); line-height: 1.35; color: var(--ink-2); max-width: 30ch; }
.tile .btn-row { justify-content: center; margin-top: var(--s-4); }
.tile--navy p { color: #c1d4e3; }
.tile--navy .eyebrow { color: var(--brand-200); }
.tile--navy .link-arrow { color: #8ec3e8; }
.tile__art { margin-top: auto; width: 100%; display: flex; justify-content: center; align-items: flex-end; padding-top: var(--s-6); }
.tile__art img { border-radius: var(--r-md) var(--r-md) 0 0; width: min(100%, 560px); aspect-ratio: 16 / 10; object-fit: cover; box-shadow: var(--shadow-2); }
.tile--full .tile__art img { width: min(100%, 900px); }
@media (max-width: 860px) {
  .tiles { grid-template-columns: 1fr; padding: 0; gap: 12px; }
  .tile { border-radius: 0; min-height: 500px; }
}

/* Mock “ledger” art built with HTML (no fake screenshots) */
.ledger {
  width: min(100%, 520px); background: #fff; border-radius: var(--r-md) var(--r-md) 0 0;
  box-shadow: var(--shadow-2); padding: var(--s-5) var(--s-5) var(--s-6); text-align: left; color: var(--ink);
}
.ledger__head { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-sm); color: var(--ink-2); margin-bottom: var(--s-4); }
.ledger__head strong { color: var(--ink); font-size: 1rem; }
.ledger__row { display: grid; grid-template-columns: 1fr auto; gap: var(--s-3); padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.ledger__row span:last-child { font-weight: 600; }
.ledger__row--total { border-top: 2px solid var(--ink); font-weight: 700; }
.ledger__check { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-weight: 600; font-size: var(--fs-sm); margin-top: var(--s-4); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; margin-top: var(--s-3); }
.bars i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--brand-400), var(--brand-600)); }
.bars i:nth-child(even) { background: linear-gradient(180deg, #d4d4d4, var(--silver)); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); text-align: center; }
.stat__num { display: block; font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--brand-600); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--ink-2); }
.section--dark .stat__num { color: #fff; }
.section--dark .stat__label { color: #b9cddd; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-7); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: #fff; border-radius: var(--r-md); padding: var(--s-6);
  box-shadow: var(--shadow-1); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.section--surface .card { border-color: transparent; }
a.card { color: inherit; text-decoration: none; }
a.card:hover, .card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.card h3 { font-size: var(--fs-h4); letter-spacing: -.02em; line-height: 1.2; }
.card p { color: var(--ink-2); font-size: 1rem; }
.card .link-arrow { margin-top: auto; font-size: 1rem; }
.icon-badge {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand-600); flex: none;
}
.icon-badge svg { width: 24px; height: 24px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Check list */
.checklist { display: grid; gap: var(--s-3); }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 1rem; }
.checklist li svg { width: 20px; height: 20px; color: var(--brand-600); flex: none; margin-top: 2px; }
.section--dark .checklist li { color: #d0deea; }
.section--dark .checklist li svg { color: var(--brand-400); }

/* ---------- Feature rows (image + copy) ---------- */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.feature + .feature { margin-top: var(--s-10); }
.feature--flip .feature__media { order: 2; }
.feature__media img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-2); }
.feature__copy h2, .feature__copy h3 { font-size: var(--fs-h3); }
.feature__copy .lead { margin-top: var(--s-4); }
.feature__copy .checklist { margin-top: var(--s-5); }
.feature__copy .btn-row { margin-top: var(--s-6); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature + .feature { margin-top: var(--s-8); }
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); counter-reset: step; }
.step { position: relative; padding-top: var(--s-6); border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -2px; left: 0; padding-top: var(--s-3);
  font-size: var(--fs-sm); font-weight: 700; color: var(--brand-600); letter-spacing: .04em;
  border-top: 2px solid var(--brand-600); width: 48px;
}
.step h3 { font-size: var(--fs-h4); margin-top: var(--s-3); }
.step p { margin-top: var(--s-2); color: var(--ink-2); font-size: 1rem; }
.section--dark .step { border-color: rgba(255,255,255,.18); }
.section--dark .step::before { color: var(--brand-200); border-color: var(--brand-400); }
.section--dark .step p { color: #c1d4e3; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-7); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); font-size: .9375rem; color: var(--ink);
}
.chip svg { width: 18px; height: 18px; color: var(--brand-600); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: var(--s-4);
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: var(--s-7) var(--s-6) var(--s-6); box-shadow: var(--shadow-1);
}
.plan--featured { border: 2px solid var(--brand-600); box-shadow: var(--shadow-2); }
.plan__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand-600); color: #fff; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em;
  padding: 5px 12px; border-radius: var(--r-pill); white-space: nowrap;
}
.plan h3 { font-size: 1.5rem; }
.plan__desc { color: var(--ink-2); font-size: 1rem; min-height: 3em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.plan__price strong { font-size: 3rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.plan__price span { color: var(--ink-2); font-size: 1rem; }
.plan__from { font-size: var(--fs-sm); color: var(--ink-2); margin-bottom: -10px; }
.plan .checklist { margin-block: var(--s-2) var(--s-4); }
.plan .btn { margin-top: auto; width: 100%; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--s-7); }
.addon { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.addon span:last-child { color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .addons { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border-radius: var(--r-lg); padding: var(--s-7) var(--s-6) var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-5); border: 1px solid var(--line-soft);
}
.section--surface .quote { border-color: transparent; }
.quote__stars { display: flex; gap: 2px; color: var(--brand-600); }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote { margin: 0; font-size: 1.1875rem; line-height: 1.45; letter-spacing: -.016em; color: var(--ink); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-sm); color: var(--ink-2); }
.quote figcaption strong { display: block; color: var(--ink); font-size: .9375rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-700)); color: #fff; font-weight: 600; font-size: .9375rem;
}

/* ---------- About ---------- */
.portrait {
  aspect-ratio: 4 / 5; width: 100%; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--brand-100), var(--surface));
  display: grid; place-items: center; text-align: center; color: var(--ink-2); font-size: var(--fs-sm);
  border: 1px dashed var(--brand-200);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__placeholder { display: grid; gap: var(--s-3); justify-items: center; padding: var(--s-5); }
.portrait__placeholder img { width: 96px; height: 96px; opacity: .9; object-fit: contain; }
.values .card { background: transparent; border: 0; box-shadow: none; padding: 0; }
.credentials { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-5) 0; min-height: 44px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.016em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none; margin-right: 4px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translateY(-3px); transition: transform var(--t-med) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:hover { color: var(--brand-600); }
.faq summary:focus-visible { box-shadow: var(--focus-ring); }
.faq .answer { padding: 0 var(--s-6) var(--s-5) 0; color: var(--ink-2); max-width: 70ch; }
.faq .answer p + p { margin-top: var(--s-3); }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.contact-list li { display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-list strong { display: block; font-size: 1rem; color: var(--ink); }
.contact-list span, .contact-list a { font-size: 1rem; color: var(--ink-2); }
.contact-list a { color: var(--brand-600); }

.form { background: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: var(--shadow-2); border: 1px solid var(--line-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: var(--s-4); }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); padding: 0; }
.field .req { color: var(--danger); margin-left: 2px; }
.field .hint { font-size: var(--fs-sm); color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font-size: 1rem;
  background: #fff; border: 1px solid #b8b8bf; border-radius: var(--r-sm);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.input:hover, .select:hover, .textarea:hover { border-color: #8e8e95; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand-600); box-shadow: var(--focus-ring); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.error-msg { display: none; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--danger); }
.field.has-error .error-msg { display: flex; }
.check-group { display: flex; flex-wrap: wrap; gap: var(--s-2); border: 0; margin: 0 0 var(--s-4); padding: 0; }
.check-group legend { margin-bottom: var(--s-2); font-size: var(--fs-sm); font-weight: 600; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check-pill span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line); font-size: .9375rem; cursor: pointer; transition: all var(--t-fast) ease; user-select: none;
}
.check-pill input:checked + span { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.check-pill input:focus-visible + span { box-shadow: var(--focus-ring); }
.form-note { margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--ink-2); }
.form-status { display: none; margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--r-sm); font-size: .9375rem; }
.form-status.is-success { display: block; background: #eaf6ee; color: var(--success); }
.form-status.is-error { display: block; background: #fdeceb; color: var(--danger); }
.form-status:focus { outline: none; box-shadow: var(--focus-ring); }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff; }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,53,86,.78), rgba(15,53,86,.88)); }
.cta-band h2 { color: #fff; font-size: var(--fs-h2); }
.cta-band .lead { color: #d6e4ef; margin: var(--s-4) auto 0; max-width: 620px; }
.cta-band .btn-row { justify-content: center; margin-top: var(--s-6); }
.cta-band .link-arrow { color: #fff; }

/* ---------- Footer (apple.com style) ---------- */
.site-footer { background: var(--surface); color: var(--ink-2); font-size: var(--fs-xs); line-height: 1.5; padding-block: var(--s-6) var(--s-5); }
.footer-note { padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.footer-note p + p { margin-top: var(--s-2); }
.footer-cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: var(--s-5); padding-block: var(--s-5); }
.footer-cols h3 { font-size: var(--fs-xs); font-weight: 600; color: var(--ink); letter-spacing: 0; margin-bottom: var(--s-2); line-height: 1.5; }
.footer-cols li + li { margin-top: 2px; }
.footer-cols a { color: var(--ink-2); display: inline-block; padding-block: 4px; }
.footer-cols a:hover { color: var(--ink); }
.footer-brand { display: flex; gap: 10px; align-items: flex-start; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand strong { display: block; color: var(--ink); font-size: var(--fs-sm); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 0 var(--s-3); }
.footer-legal a { color: var(--ink-2); }
.footer-contact { margin-top: var(--s-2); }
.footer-contact li + li { margin-top: 2px; }
.footer-cols .footer-contact a { color: var(--ink-2); padding-block: 0; }
.footer-cols .footer-contact a:hover { color: var(--ink); }
.footer-cols .footer-cta { display: inline-block; margin-top: var(--s-3); font-weight: 600; color: var(--brand-600); }
.footer-cols .footer-cta:hover { text-decoration: underline; }
@media (max-width: 1080px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } .footer-cols > :first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-nav, .subnav, .cta-band, .site-footer .footer-cols { display: none; }
}

/* ==========================================================================
   v2 additions
   ========================================================================== */

/* ---------- How it works: 4-lane stepper with sliding highlight ---------- */
.process { --dur: 6000ms; position: relative; max-width: 1040px; margin-inline: auto; }
.process__track {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.process__highlight {
  --i: 0;
  position: absolute; top: 6px; bottom: 6px; left: 6px;
  width: calc((100% - 12px) / 4);
  border-radius: var(--r-pill); background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transform: translateX(calc(var(--i) * 100%));
  transition: transform 520ms var(--ease-out);
}
.process__tab {
  position: relative; z-index: 1; min-height: 56px; padding: 8px 12px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: none; border: 0; border-radius: var(--r-pill); cursor: pointer;
  color: #c1d4e3; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em;
  transition: color var(--t-med) ease;
  touch-action: manipulation;
}
.process__tab:hover { color: #fff; }
.process__tab[aria-selected="true"] { color: var(--brand-800); }
.process__num { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; opacity: .75; font-variant-numeric: tabular-nums; }
.process__bar { position: absolute; left: 28%; right: 28%; bottom: 7px; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
.process.is-playing .process__tab[aria-selected="true"] .process__bar { background: var(--brand-100); }
.process.is-playing .process__tab[aria-selected="true"] .process__bar::after {
  content: ""; position: absolute; inset: 0; background: var(--brand-600);
  transform-origin: left; transform: scaleX(0); animation: process-fill var(--dur) linear forwards;
}
@keyframes process-fill { to { transform: scaleX(1); } }

.process__panels { margin-top: var(--s-7); }
.process__panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; animation: panel-in 520ms var(--ease-out); }
.process__panel[hidden] { display: none; }
.process__panel:focus-visible { box-shadow: var(--focus-ring); border-radius: var(--r-md); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.process__step { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--brand-200); margin-bottom: var(--s-3); }
.process__copy h3 { font-size: var(--fs-h3); color: #fff; }
.process__copy p { margin-top: var(--s-4); font-size: var(--fs-lead); line-height: 1.42; color: #c7d7e4; }
.process__card {
  display: grid; gap: var(--s-5); padding: var(--s-6);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg);
}
.section--dark .icon-badge { background: rgba(58,139,192,.22); color: var(--brand-200); }
.process__toggle {
  display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-6);
  min-height: 36px; padding: 6px 14px; border-radius: var(--r-pill); cursor: pointer;
  background: none; border: 1px solid rgba(255,255,255,.22); color: #c1d4e3; font-size: var(--fs-sm);
}
.process__toggle:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.process__toggle .icon { width: 14px; height: 14px; }
.process__toggle .icon-play { display: none; }
.process__toggle.is-paused .icon-play { display: block; }
.process__toggle.is-paused .icon-pause { display: none; }
@media (max-width: 700px) {
  .process__track { border-radius: var(--r-md); }
  .process__highlight { border-radius: 12px; }
  .process__tab { flex-direction: column; gap: 2px; min-height: 64px; padding: 8px 4px; font-size: .875rem; border-radius: 12px; }
  .process__bar { bottom: 5px; left: 22%; right: 22%; }
  .process__panel { grid-template-columns: 1fr; }
}

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s-5); max-width: 1040px; margin-inline: auto; }
.review-summary { background: #fff; border-radius: var(--r-lg); padding: var(--s-7) var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); }
.review-summary__source { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.g-logo { width: 24px; height: 24px; flex: none; }
.review-summary__score { display: flex; align-items: center; gap: var(--s-3); }
.review-summary__score strong { font-size: 3.5rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.review-summary__score .quote__stars svg { width: 22px; height: 22px; }
.review-summary__note { font-size: var(--fs-sm); color: var(--ink-2); }
.review-summary .btn-row { margin-top: auto; padding-top: var(--s-3); }
.review-summary .btn .icon { width: 14px; height: 14px; }
.quote--feature { justify-content: center; }
.quote--feature blockquote { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.3; font-weight: 500; letter-spacing: -.022em; }
@media (max-width: 800px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Founder one-liner ---------- */
.oneliner { margin: 0; text-align: center; display: grid; justify-items: center; gap: var(--s-5); }
.oneliner img { width: 44px; height: 44px; }
.oneliner blockquote { margin: 0; font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; color: var(--brand-900); text-wrap: balance; }
.oneliner figcaption { font-size: var(--fs-sm); color: var(--ink-2); }

/* ---------- About ---------- */
.story-p { margin-top: var(--s-4); color: var(--ink-2); font-size: 1.0625rem; }
.signature { margin-top: var(--s-5); font-size: 1.25rem; font-weight: 600; color: var(--brand-800); letter-spacing: -.01em; }
.signature span { display: block; font-size: var(--fs-sm); font-weight: 400; color: var(--ink-2); letter-spacing: 0; }

/* ---------- Pricing: custom quote ---------- */
.plan__price--quote strong { font-size: 2.25rem; letter-spacing: -.03em; color: var(--brand-600); }

/* ---------- Contact ---------- */
.map { margin-top: var(--s-6); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-soft); background: var(--line-soft); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.form-intro { margin-bottom: var(--s-5); color: var(--ink-2); font-size: var(--fs-sm); }
.form-intro .req { color: var(--danger); }
.opt { font-weight: 400; color: var(--ink-2); }
.form-group { border: 0; padding: 0; margin: 0 0 var(--s-5); min-width: 0; }
.form-group > legend { font-size: 1.0625rem; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: var(--s-4); }
.form-group + .form-group { padding-top: var(--s-5); border-top: 1px solid var(--line-soft); }
.check-group { display: block; }
.check-group > legend { margin-bottom: var(--s-3); }
.check-pills { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* Call-to-action card that completes the services grid */
.card--cta { background: var(--brand-900); border-color: transparent; }
.card--cta h3 { color: #fff; }
.card--cta p { color: #c1d4e3; }
.card--cta .link-arrow { color: #8ec3e8; }
.card--cta .icon-badge { background: rgba(58,139,192,.22); color: var(--brand-200); }

/* ---------- Featured rail (horizontal scroller) ---------- */
.rail { padding: 12px 0 0; }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(calc(100% - 96px), 1080px);
  gap: 12px; padding: 0 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 12px; scroll-behavior: smooth;
  scrollbar-width: none; outline: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track:focus-visible { box-shadow: inset 0 0 0 3px var(--brand-400); border-radius: var(--r-lg); }
.tile--slide { scroll-snap-align: start; min-height: 640px; }
.rail__controls { display: flex; align-items: center; justify-content: center; gap: var(--s-4); padding: var(--s-4) 0 var(--s-2); }
.rail__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--surface); color: var(--ink);
  transition: background .2s, opacity .2s, transform .2s;
}
.rail__btn:hover { background: #e8e8ed; }
.rail__btn:active { transform: scale(.94); }
.rail__btn:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; }
.rail__btn[disabled] { opacity: .35; cursor: default; }
.rail__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rail__dots { display: flex; gap: 8px; }
.rail__dots i { width: 8px; height: 8px; border-radius: 4px; background: #c7c7cc; transition: width .3s, background .3s; }
.rail__dots i.is-on { width: 24px; background: var(--brand-600); }
@media (max-width: 860px) {
  .rail__track { grid-auto-columns: calc(100% - 40px); }
  .tile--slide { border-radius: var(--r-lg); min-height: 560px; }
}
@media (prefers-reduced-motion: reduce) { .rail__track { scroll-behavior: auto; } }

/* ---------- Mock UI art (replaces stock photos) ---------- */
.tile--navy .ledger { box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.cal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: var(--s-4); }
.cal span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 54px; border-radius: 10px; background: var(--surface); font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.cal .is-due { background: var(--brand-600); color: #fff; }
.cal small { font-size: .6875rem; font-weight: 500; opacity: .85; }
.spark { display: block; width: 100%; height: 120px; margin-bottom: var(--s-4); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpis div { background: var(--surface); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.kpis span { font-size: .75rem; color: var(--ink-2); }
.kpis strong { display: inline-flex; align-items: center; gap: 4px; font-size: .9375rem; color: var(--success); }
.kpis .icon { width: 16px; height: 16px; }
.step-row { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: var(--s-3); padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: .9375rem; }
.step-row .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--success); color: #fff; stroke-width: 3; }
.step-row span { font-weight: 600; }
.step-row em { font-style: normal; font-size: .8125rem; color: var(--ink-2); text-align: right; }
.meter { height: 8px; border-radius: 4px; background: var(--surface); overflow: hidden; margin-top: var(--s-4); }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-400), var(--brand-600)); }
.months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.months span { position: relative; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); font-size: .875rem; font-weight: 600; color: var(--ink-3); }
.months .ok { background: #e3f3e8; color: var(--success); }
.months .now { background: var(--brand-100); color: var(--brand-600); box-shadow: inset 0 0 0 2px var(--brand-400); }
.ledger--card { width: 100%; border-radius: var(--r-lg); padding: var(--s-6); }
.feature__media--art { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--brand-100), #fff 75%); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
@media (max-width: 480px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis div:last-child { grid-column: 1 / -1; }
  .step-row em { display: none; }
}

/* ---------- Services heading: fixed line breaks ---------- */
.section-head--wide { max-width: 1000px; }
.section-head--wide .line { display: block; }
@media (min-width: 861px) { .section-head--wide .line { white-space: nowrap; } }

/* ---------- Feature whose image matches the copy height ---------- */
.feature--fit { align-items: stretch; }
.feature--fit .feature__media { position: relative; min-height: 360px; }
.feature--fit .feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
@media (max-width: 860px) {
  .feature--fit .feature__media { min-height: 0; }
  .feature--fit .feature__media img { position: static; aspect-ratio: 4 / 3; }
}

/* Rail play/pause */
.rail__play .i-play { display: none; }
.rail.is-paused .rail__play .i-play { display: block; fill: currentColor; stroke: none; }
.rail.is-paused .rail__play .i-pause { display: none; }

/* ---------- Local SEO pages ---------- */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 0 0 var(--s-5); font-size: var(--fs-sm); color: var(--ink-2); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ink-3); }
.breadcrumbs a { color: var(--brand-600); }
.trust-row { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-5); font-size: var(--fs-sm); color: var(--ink-2); }
.trust-row li { display: inline-flex; align-items: center; gap: 6px; }
.trust-row .icon { width: 16px; height: 16px; color: var(--success); }
.trust-row .quote__stars svg { width: 16px; height: 16px; color: #f5a623; }
.local-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.local-h2 { font-size: var(--fs-h3); margin-top: var(--s-2); }
.local-grid .lead { margin-top: var(--s-4); }
.local-grid .story-p { margin-top: var(--s-4); color: var(--ink-2); }
.local-h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -.015em; margin-top: var(--s-6); }
.card .local-h3 { margin-top: var(--s-4); }
.area-card { background: #fff; border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-2); }
.area-card h3 { font-size: 1.25rem; }
.area-card__county { display: flex; align-items: center; gap: 6px; margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--ink-2); }
.area-card__county .icon { width: 16px; height: 16px; color: var(--brand-600); }
.area-list { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li { padding: 6px 12px; border-radius: var(--r-pill); background: var(--brand-100); color: var(--brand-800); font-size: var(--fs-sm); font-weight: 500; }
.area-list a { color: inherit; }
.area-facts { margin: var(--s-5) 0 0; border-top: 1px solid var(--line-soft); }
.area-facts div { display: grid; grid-template-columns: 90px 1fr; gap: var(--s-3); padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-sm); }
.area-facts dt { color: var(--ink-3); }
.area-facts dd { margin: 0; color: var(--ink); }
.local-duo .card p { margin-top: var(--s-3); color: var(--ink-2); }
.local-duo .checklist { margin: var(--s-4) 0; }
.local-duo .link-arrow { display: inline-flex; margin-top: var(--s-4); }
.local-quote { font-size: 1.125rem; font-weight: 600; color: var(--brand-800) !important; letter-spacing: -.01em; }
.other-areas { margin-top: var(--s-7); }
.other-areas h3 { font-size: 1rem; margin-top: var(--s-5); }
.other-areas ul { list-style: none; padding: 0; margin: var(--s-2) 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--fs-sm); }
.other-areas a { color: var(--brand-600); }
.area-blocks { display: grid; gap: var(--s-6); }
.area-block { background: var(--surface); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.area-block h2 { font-size: var(--fs-h3); }
.area-block h2 a { color: var(--ink); }
.area-block h2 a:hover { color: var(--brand-600); }
.area-block p { margin-top: var(--s-3); color: var(--ink-2); max-width: 70ch; }
.city-links { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.city-links a { display: block; padding: 12px 16px; border-radius: var(--r-sm); background: #fff; color: var(--ink); font-weight: 500; transition: background .2s, color .2s; }
.city-links a:hover { background: var(--brand-100); color: var(--brand-600); }
@media (max-width: 900px) { .local-grid { grid-template-columns: 1fr; } }

/* Industry pages + linked chips */
.chips li { list-style: none; }
a.chip { color: inherit; transition: background .2s, color .2s, border-color .2s; }
a.chip:hover { background: var(--brand-100); color: var(--brand-600); }
.ind-num { display: block; font-size: .875rem; font-weight: 700; color: var(--brand-600); letter-spacing: .04em; }
.card .ind-num + h3 { margin-top: var(--s-3); }
.card--hover .link-arrow { margin-top: var(--s-4); display: inline-flex; }

/* SMS consent + legal */
.consent { display: flex; gap: 12px; align-items: flex-start; margin: var(--s-2) 0 var(--s-5); font-size: .8125rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brand-600); cursor: pointer; }
.consent a { color: var(--brand-600); text-decoration: underline; }
.legal-list { margin: var(--s-3) 0 0; padding-left: 1.25rem; display: grid; gap: 6px; }
.legal p, .legal li { line-height: 1.6; }

/* ---------- Free guide (lead magnet) ---------- */
.guide-band { background: linear-gradient(160deg, var(--brand-100), #fff 70%); }
.guide { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.guide__cover img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 30px 60px rgba(15,53,86,.22), 0 4px 12px rgba(15,53,86,.10); transform: rotate(-2deg); }
.guide__title { font-size: var(--fs-h3); margin-top: var(--s-2); color: var(--brand-900); }
.guide__copy .lead { margin-top: var(--s-4); }
.guide__copy .checklist { margin-top: var(--s-4); }
.guide-form { margin-top: var(--s-6); }
.guide-form__row { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 10px; }
.guide-form__row .btn { white-space: nowrap; }
.guide-form__status { margin-top: var(--s-3); font-size: var(--fs-sm); font-weight: 600; }
.guide-form__status:empty { display: none; }
.guide-form__status.is-success { color: var(--success); }
.guide-form__status.is-error { color: #b42318; }
.guide-form__note { margin-top: var(--s-3); font-size: .8125rem; color: var(--ink-2); }
.guide-form__note a { color: var(--brand-600); text-decoration: underline; }
.guide-form.is-done .guide-form__row { display: none; }
@media (max-width: 900px) {
  .guide { grid-template-columns: 1fr; }
  .guide__cover { max-width: 260px; margin: 0 auto; }
  .guide-form__row { grid-template-columns: 1fr; }
}

/* Quick facts (About) */
.facts { margin: 0; border-top: 1px solid var(--line-soft); }
.facts div { display: grid; grid-template-columns: 160px 1fr; gap: var(--s-4); padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; color: var(--ink-2); }
@media (max-width: 600px) { .facts div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Smooth inertia scrolling (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Featured rail: centered card with peeking neighbors ---------- */
.rail { --card: min(72vw, 980px); }
.rail__track {
  grid-auto-columns: var(--card);
  gap: 16px;
  padding-inline: calc((100% - var(--card)) / 2);
  scroll-padding-inline: calc((100% - var(--card)) / 2);
}
.tile--slide { scroll-snap-align: center; transition: opacity .45s ease, transform .45s cubic-bezier(.22,.61,.36,1); }
.rail.is-ready .tile--slide:not(.is-active) { opacity: .55; transform: scale(.94); }
.rail.is-ready .tile--slide:not(.is-active):hover { opacity: .8; }
@media (max-width: 860px) {
  .rail { --card: calc(100vw - 88px); }
  .rail__track { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .tile--slide { transition: none; } }
.rail.is-jumping .tile--slide { transition: none !important; }
.tile--slide.is-clone { cursor: pointer; }

/* ---------- Link-in-bio page (/links) ---------- */
.bio { min-height: 100vh; min-height: 100dvh; display: flex; align-items: flex-start; justify-content: center; padding: clamp(2rem, 6vw, 4rem) 16px; background: linear-gradient(160deg, var(--brand-100), #fff 60%); }
.bio__card { width: min(100%, 460px); text-align: center; }
.bio__logo { width: 72px; height: 72px; margin: 0 auto; }
.bio__name { margin-top: var(--s-4); font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; color: var(--brand-900); }
.bio__who { margin-top: 6px; font-size: var(--fs-sm); color: var(--ink-2); }
.bio__line { margin-top: var(--s-4); font-size: 1rem; line-height: 1.5; color: var(--brand-800); font-weight: 500; }
.bio__links { margin-top: var(--s-6); display: grid; gap: 12px; }
.bio__btn { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line-soft); color: var(--ink); font-weight: 600; text-align: left; text-decoration: none; transition: transform .15s ease, border-color .2s, background .2s; }
.bio__btn .icon { width: 22px; height: 22px; color: var(--brand-600); flex: none; }
.bio__btn:hover { border-color: var(--brand-400); background: #fbfdff; }
.bio__btn:active { transform: scale(.98); }
.bio__btn:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; }
.bio__btn--primary { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.bio__btn--primary .icon { color: #fff; }
.bio__btn--primary:hover { background: var(--brand-800); border-color: var(--brand-800); }
.bio__contact { margin-top: var(--s-6); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; font-size: var(--fs-sm); }
.bio__contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-600); }
.bio__contact .icon { width: 16px; height: 16px; }
.bio__area { margin-top: var(--s-4); font-size: .8125rem; color: var(--ink-3); }

/* Free guides: flipped layout + "see all" link */
@media (min-width: 901px) {
  .guide--flip { grid-template-columns: 1fr minmax(220px, 380px); }
  .guide--flip .guide__cover { order: 2; }
  .guide--flip .guide__cover img { transform: rotate(2deg); }
}
.guide__more { margin-top: var(--s-4); }

/* =====================================================================
   v2 reusable sections (StoryBrand + scope + related)
   ===================================================================== */
.sb-card h3 { margin-top: var(--s-4); }
.sb-card p { margin-top: var(--s-2); color: var(--ink-2); }
.sb-authority { background: var(--surface); border-radius: var(--r-lg); padding: var(--s-6); }
.plan-step { position: relative; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #dce8f2; }
.section--dark .plan-step h3 { color: #fff; margin-top: var(--s-4); }
.section--dark .plan-step p { color: #c1d4e3; margin-top: var(--s-2); }
.plan-step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-400); color: #fff; font-weight: 700; }
.scope, .stakes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.scope__col, .stakes__col { background: #fff; border-radius: var(--r-lg); padding: var(--s-6); border: 1px solid var(--line-soft); }
.scope__col h3, .stakes__col h3 { font-size: 1.25rem; margin-bottom: var(--s-4); }
.scope__col--no, .stakes__col--bad { background: #fbfbfd; }
.checklist--no li svg { color: #b4232c; }
.scope__note { margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--ink-2); }
.stakes__col--good { background: linear-gradient(160deg, var(--brand-100), #fff 70%); }
.page-hero__img { margin-top: var(--s-7); }
.page-hero__img img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.prose { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-size: var(--fs-h4); color: var(--ink); margin: var(--s-7) 0 var(--s-3); }
.prose p + p, .prose ul { margin-top: var(--s-4); }
@media (max-width: 760px) { .scope, .stakes { grid-template-columns: 1fr; } }

/* ---------- Personal brand: Maxim avatar, trust person, person card, note, author box ---------- */
.person-avatar { display: inline-block; flex: none; border-radius: 50%; object-fit: cover; }
.person-avatar--initials { display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--brand-600), var(--brand-800)); color: #fff; font-weight: 700; letter-spacing: .02em; }
.trust-row .trust-person { gap: 8px; font-weight: 600; color: var(--ink); flex-basis: 100%; justify-content: center; }
.person-card { display: flex; align-items: center; gap: 12px; margin-top: var(--s-4); }
.person-card strong { display: block; color: var(--ink); }
.person-card span { display: block; font-size: var(--fs-sm); color: var(--ink-2); }
.person-feature { display: grid; grid-template-columns: auto 1fr; gap: var(--s-7); align-items: start; }
.person-feature .lead { margin-top: var(--s-3); }
.person-feature .story-p { margin-top: var(--s-4); color: var(--ink-2); }
.maxim-note { display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); align-items: start; background: var(--surface); border-radius: var(--r-lg); padding: var(--s-6); margin: 0; }
.maxim-note blockquote { margin: 0; }
.maxim-note blockquote p { font-size: 1.125rem; line-height: 1.55; color: var(--ink); font-weight: 500; }
.maxim-note figcaption { grid-column: 2; font-size: var(--fs-sm); color: var(--ink-2); }
.author-box { display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); margin-top: var(--s-8); padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); }
.author-box strong { display: block; font-size: 1.125rem; margin-top: 2px; }
.author-box p { margin-top: var(--s-2); color: var(--ink-2); font-size: var(--fs-sm); }
.author-box .link-arrow { margin-right: var(--s-4); }
@media (max-width: 640px) { .person-feature, .maxim-note, .author-box { grid-template-columns: 1fr; } .maxim-note figcaption { grid-column: 1; } }

/* ---------- Keyword pages (Compact Keywords layout) ---------- */
.page-hero__art { margin: var(--s-7) auto 0; max-width: 560px; text-align: left; }
.page-hero__art .ledger { width: 100%; border-radius: var(--r-lg); }
.kw-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.kw-block { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: var(--s-6); }
.kw-block h2 { font-size: 1.375rem; font-weight: 600; letter-spacing: -.015em; }
.kw-block p { margin-top: var(--s-2); color: var(--ink-2); }
.kw-block .checklist { margin-top: var(--s-4); }
.kw-block--wide { border: 0; padding: 0; background: none; }
.kw-block--wide h2 { font-size: var(--fs-h3); }
.kw-card__h { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; margin-top: var(--s-4); }
.kw-grid .card p { margin-top: var(--s-2); color: var(--ink-2); }
.chips--left { justify-content: flex-start; margin-top: var(--s-4); }
@media (max-width: 760px) { .kw-blocks { grid-template-columns: 1fr; } }

/* Guide cards (Resources hub + home) */
.guide-card { display: grid; grid-template-columns: 120px 1fr; gap: var(--s-2) var(--s-5); align-items: start; }
.guide-card img { grid-row: span 3; width: 120px; height: auto; border-radius: 8px; box-shadow: var(--shadow-1); }
.guide-card h3 { font-size: 1.125rem; }
.guide-card p { color: var(--ink-2); font-size: var(--fs-sm); }
@media (max-width: 560px) { .guide-card { grid-template-columns: 1fr; } .guide-card img { grid-row: auto; width: 140px; } }

/* ---------- Service-area pages: service sections, graphic and text alternate sides ---------- */
.svc-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.svc-split--art-left .svc-split__art { order: -1; }
.svc-split__art .ledger { max-width: 460px; }
.ledger__row--icon span:first-child { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.ledger__row--icon .icon { width: 18px; height: 18px; color: var(--brand-600); }
.ledger__row--icon span:last-child { font-weight: 500; color: var(--ink-2); font-size: .8125rem; }
@media (max-width: 900px) { .svc-split { grid-template-columns: 1fr; } .svc-split--art-left .svc-split__art { order: 0; } }
@media (max-width: 600px) { .svc-split__art.feature__media--art { padding: var(--s-3); } .svc-split__art .ledger--card { padding: var(--s-5); } }
.trust-row--roomy { row-gap: var(--s-4); }
/* Home: service areas by state */
.home-area h3 a { color: var(--ink); }
.home-area h3 a:hover { color: var(--brand-600); }
.home-area > p { margin-top: var(--s-1); color: var(--ink-2); font-size: var(--fs-sm); }
.home-area .area-list { margin-bottom: var(--s-5); gap: 6px; }
.home-area .area-list li { padding: 4px 10px; font-size: .8125rem; }
.home-area .area-list a:hover { text-decoration: underline; }

/* "Talk to Max" consultation section: white background (Nov 2026) */
.section--white { background: var(--white); }

/* Small round photos removed (Nov 2026): these blocks are text-only now */
.person-feature, .maxim-note, .author-box { grid-template-columns: 1fr; }
.maxim-note figcaption { grid-column: 1; }
.trust-row .trust-person { gap: 0; }

/* About page photo (Nov 2026): full column width, top of photo kept, no dashed frame */
.portrait--photo { border: 0; box-shadow: 0 18px 40px -18px rgba(15, 30, 60, .35); }
