/* =============================================================================
   MASTER: finance-nexledger-static - concept preview by PXLNorth
   Parameterized from the operator-approved nhttax.com recreation of the
   nexledger blueprint (templates/blueprints/finance/nexledger, visual system)
   on the kruze structure (templates/blueprints/finance/kruze). Structure and
   density come from the blueprints; every color and font below is a slot the
   tailor pass fills per prospect.

   TYPE PAIRING
   ------------
   The font custom properties and the Google Fonts link are content-driven
   (content.json fonts object). The shipped default is the source build's
   pairing: Manrope 800 for display (a heavy geometric grotesk with tight, even
   counters and tabular figures, so the stat strip lines up) plus IBM Plex Sans
   for body (a humanist-leaning sans built for long reading of dense, factual
   text - an accounting firm publishes lists of tax items, not taglines). The
   tailor pass picks a pairing for each prospect's identity and documents the
   choice in the run. Never Fraunces (operator taste rule).

   COLOR SLOTS - every slot reads the fill-static palette (paletteMode pro);
   theme.json SHOULD pin the full scale via its pro object (see template.json).
   The prospect's real site scheme drives the slots, logo colors are accents:
     navy slots (900/800/700) : the DEEP GROUND - hero duotone, CTA band,
                                contact band, footer. Derived from a real dark
                                surface or button of THEIR site, never from the
                                logo. Surfaces stay light (paper/paper-2).
     duotone                  : the solid color the photo tints mix from
                                (hero, band, contact). A navy-family hue.
     blue / blue-strong       : the prospect's PRIMARY brand color, spent as an
                                ACCENT ONLY - links, rules, the float-card art,
                                the solid CTA pill. Never a canvas.
     blue-light / blue-wash   : pale relatives of the accent (focus ring, the
                                contact-person rule, the white pill hover).
     ink slots                : near-black text scale; line, paper, paper-2.
   Master-specific slot names fall back to derived standard keys (or a
   color-mix of the accent) when unpinned, so an unpinned theme still renders
   a coherent AA page, never an empty var. Photo tints use color-mix from the
   vars, so the whole page re-themes from the palette alone.
   ========================================================================== */

:root {
  --navy-900: #0f1715;
  --navy-800: #16211d;
  --navy-700: #1e2d27;
  --duotone: #17231f;
  --blue: #3f7a48;
  --blue-strong: #2f6138;
  --blue-light: #a9d4b0;
  --blue-wash: #edf5ee;
  --ink: #141a17;
  --ink-2: #3d4a44;
  --ink-3: #5f6b66;
  --line: #dde4df;
  --paper: #ffffff;
  --paper-2: #f3f6f4;
  --white: #ffffff;

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;

  --wrap: 1220px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(56px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-weight: 800; font-size: clamp(2.2rem, 1.1rem + 3.2vw, 3.5rem); letter-spacing: -0.025em; line-height: 1.05; }
h2 { font-weight: 800; font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-weight: 700; font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--blue-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }

.eyebrow {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  margin: 0 0 14px;
}
.eyebrow-dark { color: var(--blue-strong); }

/* ---- Buttons -------------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill-solid { background: var(--blue); color: var(--white); }
.pill-solid:hover { background: var(--blue-strong); }
.pill-white { background: var(--white); color: var(--navy-800); }
.pill-white:hover { background: var(--blue-wash); }
.pill-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.pill-outline:hover { background: rgba(255,255,255,.12); }
.pill-ghost { background: transparent; color: var(--white); border-color: transparent; text-decoration: underline; text-underline-offset: 5px; }

/* ---- Stage + header ------------------------------------------------------ */
.stage { background: var(--paper); }

.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; color: var(--white); }
.utility { border-bottom: 1px solid rgba(255,255,255,.12); }
.utility-row { display: flex; justify-content: space-between; align-items: center; min-height: 34px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-display); font-weight: 600; }
.utility-links { display: flex; gap: 22px; }
.utility a { color: rgba(255,255,255,.82); text-decoration: none; }
.utility a:hover { color: var(--white); }
.utility-hours { margin: 0; color: rgba(255,255,255,.82); }

.nav { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand-logo { max-height: 46px; height: auto; width: auto; max-width: 100%; min-width: 0; object-fit: contain; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: rgba(255,255,255,.9); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
}
.nav-links a:hover { color: var(--white); }
.nav-mobile-only { display: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone { color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.nav-phone-label { font-weight: 600; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-right: 6px; }
.nav-burger {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.5); background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0;
}
.nav-burger span { width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ----------------------------------------------------------------- */
.hero { padding: 0; background: var(--paper); }
.hero-frame {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh;
  display: flex; align-items: stretch;
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 68% 45%;
  filter: saturate(.6) contrast(1.08) brightness(.95);
  z-index: -2;
}
.hero-tint {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--navy-900) 92%, transparent) 0%, color-mix(in srgb, var(--navy-900) 78%, transparent) 36%, color-mix(in srgb, var(--navy-900) 30%, transparent) 64%, color-mix(in srgb, var(--navy-900) 18%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--navy-900) 55%, transparent) 0%, color-mix(in srgb, var(--navy-900) 8%, transparent) 30%, color-mix(in srgb, var(--navy-900) 35%, transparent) 72%, color-mix(in srgb, var(--navy-900) 90%, transparent) 100%),
    color-mix(in srgb, var(--duotone) 38%, transparent);
  mix-blend-mode: normal;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-template-areas:
    "copy card"
    "copy next"
    "stats stats";
  column-gap: 48px;
  padding-top: 150px;
  padding-bottom: 48px;
  align-content: end;
  color: var(--white);
}
.hero-copy { grid-area: copy; align-self: center; max-width: 660px; }
.hero-copy h1 { color: var(--white); margin-bottom: 22px; text-wrap: balance; }
.hero-lead { font-size: clamp(1rem, .95rem + .3vw, 1.08rem); line-height: 1.6; color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-call { display: none; }

.float-card {
  grid-area: card; justify-self: end; align-self: center;
  width: min(380px, 100%);
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); padding: 30px 30px 28px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
}
.float-card-art { width: 64px; height: 64px; color: var(--blue); margin-bottom: 14px; }
.float-card-title { font-size: 1.3rem; margin-bottom: 8px; }
.float-card p { font-size: .95rem; color: var(--ink-2); margin-bottom: 20px; }
.float-next {
  grid-area: next; justify-self: end; align-self: start;
  width: min(380px, 100%); margin-top: 18px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.45);
  color: var(--white); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .04em;
}
.float-next:hover { border-color: var(--white); }

.stats {
  grid-area: stats; margin: 40px 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.22);
}
.stat { display: grid; grid-template-rows: auto auto; gap: 6px; align-content: start; }
.stat dd { grid-row: 1; }
.stat dt { grid-row: 2; }
.stat dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat dt { font-family: var(--font-display); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.78); }

.scroll-cue { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 14px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: 0; } }

@media (min-width: 1024px) {
  .hero { padding: clamp(12px, 1.6vw, 24px); }
  .hero-frame { border-radius: var(--radius-xl); min-height: min(860px, calc(100svh - 24px)); }
}

/* ---- Light page body ------------------------------------------------------ */
main > section:not(.hero):not(.band):not(.faq):not(.contact) { background: var(--paper); }
.proof { background: var(--paper); padding: var(--section) 0 0; }
.proof-card {
  display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 44px; align-items: center;
  background: var(--paper-2); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 48px);
}
.proof-photo img { border-radius: var(--radius-lg); aspect-ratio: 1; object-fit: cover; }
.proof-body h2 { margin-bottom: 16px; }
.proof-body p { color: var(--ink-2); }
.proof-person { margin-top: 18px; padding-top: 18px; border-top: 2px solid var(--blue); display: flex; flex-direction: column; gap: 2px; }
.proof-person strong { font-family: var(--font-display); font-size: 1.05rem; }
.proof-person span { font-size: .9rem; color: var(--ink-3); }

.why { padding: var(--section) 0; }
.why-head { max-width: 760px; margin-bottom: 44px; }
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.why-photo { margin: 0; position: sticky; top: 24px; }
.why-photo img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; }
.why-list { display: grid; gap: 10px; }
.why-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-num { font-family: var(--font-display); font-weight: 800; color: var(--blue); font-size: 1.1rem; padding-top: 3px; }
.why-list h3 { grid-column: 2; margin-bottom: 6px; }
.why-list p { grid-column: 2; margin: 0; color: var(--ink-2); }

.steps { margin-top: 64px; background: var(--paper-2); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 44px); }
.steps-title { margin-bottom: 22px; }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps-list li { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 2px solid var(--blue); }
.step-num { font-family: var(--font-display); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-strong); font-weight: 700; }
.steps-list strong { font-family: var(--font-display); font-size: 1.05rem; }
.steps-list p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* ---- Deep CTA band -------------------------------------------------------- */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-800); color: var(--white); padding: clamp(48px, 7vw, 88px) 0;
}
/* Same duotone system as the hero: desaturated photo under a navy gradient. */
.band-photo, .contact-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
  filter: saturate(.6) contrast(1.08) brightness(.95);
}
.band-photo { object-position: 50% 62%; }
.band-tint, .contact-tint { position: absolute; inset: 0; z-index: -1; }
.band-tint {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--navy-900) 94%, transparent) 0%, color-mix(in srgb, var(--navy-900) 86%, transparent) 45%, color-mix(in srgb, var(--navy-900) 62%, transparent) 100%),
    color-mix(in srgb, var(--duotone) 45%, transparent);
}
.band-row { position: relative; }
.band-row { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.band h2 { color: var(--white); font-size: clamp(1.5rem, 1rem + 1.8vw, 2.2rem); max-width: 760px; }
.band p { color: rgba(255,255,255,.8); margin: 0; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Services ------------------------------------------------------------- */
.services { padding: var(--section) 0; }
.services-head { max-width: 760px; margin-bottom: 40px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.service { background: var(--paper-2); border-radius: var(--radius-xl); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.service-photo { margin: 0; }
.service-photo img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.service-body { padding: 26px 28px 30px; }
.service-body h3 { font-size: 1.35rem; }
.service-body p { color: var(--ink-2); }
.service-body ul { display: grid; gap: 6px; margin-top: 14px; }
.service-body li { position: relative; padding-left: 18px; font-size: .95rem; color: var(--ink-2); }
.service-body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--blue); }

/* ---- FAQ ------------------------------------------------------------------ */
.faq { padding: var(--section) 0; background: var(--paper-2); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.faq-head p { color: var(--ink-2); }
.faq-item { background: var(--paper); border-radius: var(--radius-md); border: 1px solid var(--line); margin-bottom: 10px; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  color: var(--blue-strong); border: 1.5px solid var(--blue-strong); font-weight: 600; line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); }

/* ---- Resources ------------------------------------------------------------ */
.resources { padding: var(--section) 0; }
.resources-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.resources-head p { color: var(--ink-2); }
.resource-list { display: grid; gap: 14px; }
.resource {
  display: flex; flex-direction: column; gap: 2px; padding: 20px 24px;
  border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.resource:hover { border-color: var(--blue); box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--blue) 50%, transparent); }
.resource strong { font-family: var(--font-display); }
.resource span { font-size: .85rem; color: var(--ink-3); }

/* ---- Contact / lead form -------------------------------------------------- */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  padding: var(--section) 0; background: var(--navy-900); color: var(--white);
}
.contact-photo { object-position: 70% 45%; }
.contact-tint {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--navy-900) 94%, transparent) 0%, color-mix(in srgb, var(--navy-900) 84%, transparent) 42%, color-mix(in srgb, var(--navy-900) 42%, transparent) 68%, color-mix(in srgb, var(--navy-900) 22%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--navy-900) 40%, transparent) 0%, color-mix(in srgb, var(--navy-900) 8%, transparent) 40%, color-mix(in srgb, var(--navy-900) 55%, transparent) 100%),
    color-mix(in srgb, var(--duotone) 30%, transparent);
}
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.contact-intro h2 { color: var(--white); }
.contact-intro p { color: rgba(255,255,255,.85); }
.contact-intro a { color: var(--white); }
.contact-person { margin: 18px 0 28px; padding-left: 16px; border-left: 2px solid var(--blue-light); }
.contact-person strong { font-family: var(--font-display); color: var(--white); }
.contact-offices { font-style: normal; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; font-size: .92rem; color: rgba(255,255,255,.85); line-height: 1.55; }
.contact-offices strong { display: block; font-family: var(--font-display); color: var(--white); margin-bottom: 4px; }

.lead-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-xl); padding: clamp(22px, 3vw, 36px); box-shadow: 0 24px 60px -30px rgba(0,0,0,.6); }
.lead-title { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-family: var(--font-display); font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 15%, transparent); }
.field textarea { resize: vertical; min-height: 110px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.call-link { font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.form-note { margin: 16px 0 0; font-size: .82rem; color: var(--ink-3); line-height: 1.5; }
.form-error { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff4e5; color: #6b3d00; font-size: .9rem; }
.form-error[hidden] { display: none; }

/* ---- Footer --------------------------------------------------------------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.82); padding: clamp(48px, 6vw, 80px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr .8fr; gap: 40px; }
.footer-brand img { max-height: 56px; width: auto; height: auto; max-width: 100%; min-width: 0; object-fit: contain; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; }
.footer-cred { font-size: .82rem; color: rgba(255,255,255,.6); }
.footer-col h3 { color: var(--white); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col p { font-size: .92rem; }
.footer-col ul { display: grid; gap: 8px; }
.footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .8rem; color: rgba(255,255,255,.6); }

/* ---- Preview badge (PXLNorth chrome) --------------------------------------- */
.preview-badge {
  position: fixed; right: 12px; bottom: 12px; z-index: 60;
  display: flex; gap: 8px; align-items: center;
  font-size: .72rem; font-family: var(--font-body);
}
.preview-badge a { background: rgba(16,24,40,.92); color: #fff; padding: 7px 11px; border-radius: 999px; text-decoration: none; border: 1px solid rgba(255,255,255,.25); }
.preview-badge-cta { background: var(--blue) !important; }

/* ---- Master additions ------------------------------------------------------
   Conditionals the approved nhttax build never exercised. Each rule fires only
   on a fill whose content LACKS something the source build had (no logo, no
   hero photo, no headshot, no why-photo, no published email) or HAS something
   it lacked (real reviews). With the oracle content every rule is inert. */
.brand-wordmark, .footer-wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--white); white-space: nowrap; }
.brand:has(.brand-wordmark) { text-decoration: none; }
.footer-wordmark { display: inline-block; margin-bottom: 18px; }
.hero-frame:not(:has(.hero-photo)) { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); }
.proof-card:not(:has(.proof-photo)) { grid-template-columns: minmax(0, 1fr); }
.proof-card:not(:has(.proof-photo)) .proof-body { max-width: 860px; }
.why-grid:not(:has(.why-photo)) { grid-template-columns: minmax(0, 1fr); }

.reviews { padding: var(--section) 0; }
.reviews-head { max-width: 760px; margin-bottom: 40px; }
.reviews-head p:not(.eyebrow) { color: var(--ink-2); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review { margin: 0; background: var(--paper-2); border-radius: var(--radius-lg); padding: 26px 28px; display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.review figcaption { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; padding-top: 14px; border-top: 2px solid var(--blue); margin-top: auto; }
.review figcaption strong { font-family: var(--font-display); }
.review figcaption span { color: var(--ink-3); }

.lead-card-phone { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.lead-card-phone .lead-title { margin-bottom: 0; }
.lead-phone-note { margin: 0; color: var(--ink-2); }
.lead-phone-note a { color: var(--blue-strong); font-weight: 600; }
.lead-phone-cta { align-self: stretch; font-size: 1.05rem; min-height: 54px; }
.lead-phone-hours { margin: 0; font-size: .9rem; color: var(--ink-3); }

/* ---- Motion --------------------------------------------------------------- */
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
  .pill:hover { transform: none; }
}

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 1023px) {
  .utility { display: none; }
  .nav { background: color-mix(in srgb, var(--navy-900) 55%, transparent); }
  .nav-row { min-height: 68px; }
  .brand-logo { max-height: 40px; }
  .nav-links {
    position: fixed; inset: 68px 0 0 0; z-index: 30;
    flex-direction: column; gap: 0; padding: 12px var(--gutter) 24px;
    background: var(--navy-900); transform: translateX(100%); transition: transform .25s ease;
  }
  .nav-links.open { transform: none; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links a { display: block; padding: 16px 0; font-size: .95rem; }
  .nav-mobile-only { display: block; }
  .nav-phone { display: none; }
  .nav-burger { display: flex; }
  .nav-actions .pill-white { min-height: 42px; padding: 0 18px; font-size: .85rem; }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "card" "next" "stats";
    padding-top: 100px; padding-bottom: 56px; row-gap: 0;
  }
  .hero-frame { min-height: 0; }
  .hero-photo { object-position: 62% 40%; }
  .float-card { justify-self: stretch; width: 100%; margin-top: 36px; }
  .float-next { justify-self: start; width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
  .hero-call { display: inline-flex; }

  .proof-card { grid-template-columns: minmax(0, 1fr); }
  .proof-photo img { max-width: 280px; }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-photo { position: static; }
  .why-photo img { aspect-ratio: 16 / 10; }
  .steps-list { grid-template-columns: minmax(0, 1fr); }
  .band-row { grid-template-columns: minmax(0, 1fr); }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .review-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid, .resources-row, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-grid { padding-top: 92px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-offices { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 18px 16px; }
  .preview-badge { right: 8px; bottom: 8px; }
  .preview-badge-info { display: none; }
}
