/* ==========================================================================
   Keystone Ledger CPA & Advisors — site.css
   Palette derived from brand mark: deep ledger navy + warm gold accent.
   All text/background pairings verified to WCAG 2.1 AA (4.5:1 normal, 3:1 large).
   ========================================================================== */

:root {
  --primary:        #0F3D56;  /* 11.2:1 on white  */
  --primary-dark:   #0A2A3B;
  --primary-light:  #E6F0F4;
  --secondary:      #1B7F79;  /* 4.8:1 on white   */
  --secondary-dark: #145F5B;
  --accent:         #E8A33D;  /* used only behind dark text / as large shapes  */
  --accent-dark:    #B87A1E;  /* 3.6:1 on white — non-text UI only (focus ring,
                                 icons). Clears WCAG 1.4.11's 3:1 bar, but NOT
                                 the 4.5:1 required of body text.              */
  --accent-text:    #8F5D0E;  /* 5.6:1 on white — the gold that is safe as text */

  --text-dark:      #14212B;  /* 15.1:1 on white  */
  --text-light:     #4E6069;  /* 5.4:1  on white  */
  --text-on-dark:   #E8EFF2;  /* 12.1:1 on --primary-dark */
  --text-on-dark-muted: #B4C6CE; /* 7.1:1 on --primary-dark */

  --bg-light:       #F7FAFB;
  --bg-warm:        #FDF7EF;
  --bg-dark:        #0A2A3B;
  --white:          #FFFFFF;
  --border:         #DCE5E9;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(10, 42, 59, .06), 0 2px 8px rgba(10, 42, 59, .05);
  --shadow:    0 4px 12px rgba(10, 42, 59, .07), 0 12px 32px rgba(10, 42, 59, .07);
  --shadow-lg: 0 12px 28px rgba(10, 42, 59, .10), 0 28px 64px rgba(10, 42, 59, .12);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--primary-dark); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
p  { margin: 0 0 1.15em; }
a  { color: var(--secondary-dark); }
ul { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

/* ---------- Accessibility primitives ---------- */
.skip-link {
  position: absolute; left: .5rem; top: -100px; z-index: 200;
  background: var(--primary-dark); color: var(--white);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700; text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }

/* Visible focus ring on every interactive element — never removed. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
/* Fallback for browsers without :focus-visible */
a:focus, button:focus { outline: 3px solid var(--accent-dark); outline-offset: 3px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

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

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tint { background: var(--bg-light); }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--text-on-dark-muted); }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--secondary-dark); margin-bottom: 1rem;
}
.section--dark .eyebrow { color: var(--accent); }
.lede { font-size: clamp(1.075rem, 1.6vw, 1.25rem); color: var(--text-light); max-width: 60ch; }
.section--dark .lede { color: var(--text-on-dark-muted); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .9rem 1.6rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; text-align: center;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-dark); box-shadow: var(--shadow); }
.btn--accent { background: var(--accent); color: var(--text-dark); box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: #F0B053; box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--ghost:hover { background: var(--primary); color: var(--white); }
.btn--on-dark { background: var(--white); color: var(--primary-dark); }
.btn--on-dark:hover { background: var(--primary-light); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__mark {
  width: 42px; height: 42px; flex: none; border-radius: 10px;
  background: var(--primary); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  border-bottom: 3px solid var(--accent);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--primary-dark); }
.brand__sub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-light); font-weight: 600; }

.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: .55rem .8rem; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 600; color: var(--text-dark); text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.nav__link:hover { background: var(--primary-light); color: var(--primary-dark); }
.nav__link[aria-current="page"] { color: var(--primary); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }

/* Services disclosure menu */
.has-menu { position: relative; }
.nav__disclosure {
  display: inline-flex; align-items: center; gap: .35rem;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body);
}
.nav__disclosure svg { transition: transform .18s ease; }
.nav__disclosure[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__menu {
  display: none; list-style: none; margin: 0; padding: .5rem;
  position: absolute; top: calc(100% + .4rem); left: 0; z-index: 110;
  min-width: 260px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.nav__menu.is-open { display: block; }
.nav__menu li { margin: 0; }
.nav__menu a {
  display: block; padding: .65rem .75rem; border-radius: var(--radius-sm);
  font-size: .93rem; font-weight: 600; color: var(--text-dark); text-decoration: none;
}
.nav__menu a:hover { background: var(--primary-light); color: var(--primary-dark); }
.nav__menu a[aria-current="page"] { background: var(--primary-light); color: var(--primary); box-shadow: inset 3px 0 0 var(--accent); }

@media (max-width: 900px) {
  .nav__menu {
    position: static; display: block; box-shadow: none; border: 0;
    padding: 0 0 0 .75rem; min-width: 0;
    border-left: 2px solid var(--border); margin: .25rem 0 .5rem;
  }
  .nav__disclosure { display: none; }
}

.header__cta { display: flex; align-items: center; gap: .75rem; }
.header__phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; color: var(--primary-dark); text-decoration: none; font-size: .95rem;
  padding: .5rem .65rem; border-radius: var(--radius-sm);
}
.header__phone:hover { background: var(--primary-light); }

.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  background: var(--primary); color: var(--white); border: 0;
  font-family: var(--font-body); font-weight: 700; font-size: .9rem;
  padding: .65rem 1rem; border-radius: 999px; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-warm); }
.hero::after {
  content: ""; position: absolute; inset: auto -10% -55% 55%;
  height: 90%; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,163,61,.16), transparent 65%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero h1 { margin-bottom: .4em; }
.hero h1 .accent-underline {
  background-image: linear-gradient(transparent 62%, rgba(232,163,61,.45) 62%);
  background-repeat: no-repeat;
}
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.hero__meta-item { font-size: .9rem; color: var(--text-light); }
.hero__meta-item strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--primary); font-weight: 700; }

.image-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), var(--bg-warm));
  box-shadow: var(--shadow-lg); min-height: 300px;
}
.image-frame img { width: 100%; object-fit: cover; min-height: 300px; }
.image-frame--tall img { min-height: 420px; }

.hero__badge {
  position: absolute; left: -1.25rem; bottom: 1.75rem; z-index: 2;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .9rem 1.15rem;
  display: flex; align-items: center; gap: .75rem; max-width: 260px;
}
.hero__badge-icon {
  width: 38px; height: 38px; flex: none; border-radius: 9px;
  background: var(--secondary); color: var(--white); display: grid; place-items: center;
}
.hero__badge-text { font-size: .82rem; line-height: 1.35; color: var(--text-light); }
.hero__badge-text strong { display: block; color: var(--primary-dark); font-size: .92rem; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--primary-dark); color: var(--text-on-dark); padding-block: 1.1rem; }
.trustbar__list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.5rem;
  list-style: none; margin: 0; padding: 0;
  font-size: .88rem; font-weight: 600; letter-spacing: .02em;
}
.trustbar__list li { display: flex; align-items: center; gap: .5rem; margin: 0; color: var(--text-on-dark-muted); }
.trustbar__list svg { color: var(--accent); flex: none; }

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

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.85rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.card:hover, .card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C3D4DB; }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px; flex: none;
  background: var(--primary-light); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 1.15rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-light); font-size: .97rem; margin-bottom: 1.15rem; }
.card__link {
  margin-top: auto; align-self: flex-start;
  font-weight: 700; font-size: .93rem; color: var(--secondary-dark); text-decoration: none;
  display: inline-flex; align-items: center; gap: .35rem;
}
.card__link:hover { text-decoration: underline; }
.card__link svg { transition: transform .16s ease; }
.card__link:hover svg { transform: translateX(3px); }

/* Stretched link — whole card clickable, single tab stop, still keyboard accessible */
.card--linked { position: relative; }
.card--linked .card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .9rem; color: var(--text-light); }
.checklist svg { flex: none; margin-top: .3rem; color: var(--secondary); }
.checklist strong { color: var(--text-dark); }
.section--dark .checklist li { color: var(--text-on-dark-muted); }
.section--dark .checklist strong { color: var(--white); }
.section--dark .checklist svg { color: var(--accent); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { position: relative; padding-top: 3.5rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--primary-dark);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--text-light); margin: 0; font-size: .97rem; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 1.85rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.quote blockquote { margin: 0 0 1.25rem; font-size: 1.02rem; color: var(--text-dark); }
.quote figcaption { margin-top: auto; font-size: .9rem; color: var(--text-light); }
.quote figcaption strong { display: block; color: var(--primary-dark); font-size: .97rem; }
.stars { display: flex; gap: .15rem; color: var(--accent-dark); margin-bottom: 1rem; }

/* ---------- Team ---------- */
.person { text-align: center; }
.person__avatar {
  width: 96px; height: 96px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem;
  border-bottom: 4px solid var(--accent);
}
.person h3 { margin-bottom: .1rem; font-size: 1.15rem; }
.person__role { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary-dark); margin-bottom: .75rem; }
.person p { font-size: .93rem; color: var(--text-light); margin: 0; }

/* ---------- Lead magnet ---------- */
.magnet { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.magnet__cover {
  position: relative; aspect-ratio: 4 / 5; max-width: 340px; margin-inline: auto;
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 4px var(--radius) var(--radius) 4px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  padding: 2.25rem 1.75rem; color: var(--white);
  display: flex; flex-direction: column;
  transform: rotate(-2.5deg);
}
.magnet__cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: rgba(0,0,0,.22); }
.magnet__cover::after {
  content: ""; position: absolute; right: -30%; bottom: -30%; width: 75%; aspect-ratio: 1;
  border-radius: 50%; background: rgba(232,163,61,.22);
}
.magnet__cover-kicker { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: auto; }
.magnet__cover-title { font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; line-height: 1.15; color: var(--white); position: relative; z-index: 1; }
.magnet__cover-rule { width: 48px; height: 4px; background: var(--accent); margin: 1rem 0; }
.magnet__cover-foot { font-size: .78rem; color: var(--text-on-dark-muted); position: relative; z-index: 1; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; margin-bottom: .4rem; color: var(--text-dark); }
.field .req { color: var(--accent-text); }
.field .hint { font-size: .82rem; color: var(--text-light); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text-dark);
  padding: .8rem .95rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9CBD3; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,61,86,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #B3261E; background: #FDF4F3;
}
.error-msg {
  display: none; align-items: center; gap: .35rem;
  color: #8C1D18; font-size: .85rem; font-weight: 600; margin-top: .4rem;
}
.error-msg.is-visible { display: flex; }

/* Honeypot — off-screen, never focusable */
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; color: var(--text-light); }
.consent input { width: auto; margin-top: .25rem; flex: none; }

.form-status { margin-top: 1.15rem; }
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--radius-sm); font-size: .93rem; }
.alert svg { flex: none; margin-top: .15rem; }
.alert--success { background: #E7F4EC; border: 1px solid #B4DEC4; color: #14532D; }
.alert--error   { background: #FDF4F3; border: 1px solid #F0C4C0; color: #8C1D18; }
.alert a { color: inherit; font-weight: 700; }

.privacy-note { font-size: .82rem; color: var(--text-light); margin-top: 1rem; margin-bottom: 0; }

/* ---------- Contact details ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-list__icon {
  width: 44px; height: 44px; flex: none; border-radius: 11px;
  background: var(--primary-light); color: var(--primary); display: grid; place-items: center;
}
.contact-list h3 { font-size: 1rem; margin-bottom: .2rem; font-family: var(--font-body); font-weight: 700; }
.contact-list p, .contact-list address { margin: 0; font-style: normal; color: var(--text-light); font-size: .95rem; }
.contact-list a { color: var(--secondary-dark); font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.map-frame { border: 0; width: 100%; height: 340px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem .25rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--primary-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-body); font-size: 1.5rem; font-weight: 400;
  color: var(--secondary-dark); flex: none; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 .25rem 1.25rem; margin: 0; color: var(--text-light); max-width: 75ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--primary-dark); color: var(--text-on-dark); }
.cta-band::before {
  content: ""; position: absolute; right: -8%; top: -40%; width: 45%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,163,61,.20), transparent 65%);
}
.cta-band__inner { position: relative; z-index: 1; text-align: center; max-width: 62ch; margin-inline: auto; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--text-on-dark-muted); }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding-block: 1rem; border-bottom: 1px solid var(--border); background: var(--bg-light); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; font-size: .85rem; color: var(--text-light); }
.crumbs li { margin: 0; display: flex; gap: .5rem; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--border); }
.crumbs a { color: var(--secondary-dark); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Page header (interior pages) ---------- */
.page-hero { background: var(--bg-warm); padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-hero .lede { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 2rem; }

/* ---------- Prose (legal / accessibility pages) ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.5rem; font-size: 1.6rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul { color: var(--text-light); }
.prose a { color: var(--secondary-dark); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: var(--text-on-dark-muted); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2, .site-footer h3 { color: var(--white); font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.15rem; }
.site-footer p { font-size: .93rem; }
.site-footer .brand__name { color: var(--white); }
.site-footer .brand__sub { color: var(--text-on-dark-muted); }
.site-footer .brand { margin-right: 0; margin-bottom: 1.15rem; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: .6rem; }
.footer__list a, .site-footer address a { color: var(--text-on-dark-muted); text-decoration: none; font-size: .93rem; }
.footer__list a:hover, .site-footer address a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; font-size: .93rem; line-height: 1.7; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .85rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer__legal a { color: var(--text-on-dark-muted); text-decoration: none; }
.footer__legal a:hover { color: var(--white); text-decoration: underline; }
.footer__disclaimer { font-size: .8rem; color: #8FA6B0; margin-top: 1.25rem; max-width: 90ch; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); padding: .75rem var(--gutter) 1.25rem;
  }
  .site-nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: .85rem .5rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav__link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
  .header__cta .btn { display: none; }
  .hero__inner, .split, .magnet { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid--3, .grid--2, .steps { grid-template-columns: 1fr; }
  .hero__badge { left: 1rem; }
  .magnet__cover { transform: none; }
}
@media (max-width: 640px) {
  .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .header__phone span { display: none; }
  .hero__meta { gap: 1.25rem; }
}

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

/* ---------- High contrast / forced colors ---------- */
@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .card, .form-card, .quote { border: 1px solid CanvasText; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .btn { display: none !important; }
  body { color: #000; }
}
