/* ==========================================================================
   YOUR TAX OFFICE — Design System
   Tax Preparation & Planning
   --------------------------------------------------------------------------
   1. Tokens          6. Header & navigation   11. Testimonials
   2. Reset & base    7. Hero                  12. Resources & articles
   3. Typography      8. Trust bar             13. Forms
   4. Buttons         9. Services              14. Footer
   5. Layout         10. Split, CTA, process   15. Motion & responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand navy */
  --navy:        #0d1b2a;
  --navy-800:    #112337;
  --navy-700:    #17314a;
  --navy-600:    #21425f;
  --navy-line:   rgba(255, 255, 255, .13);

  /* Brand gold. Used for decorative marks (icons, rules, borders, fills) and
     for text on navy, where #c89a59 clears 6.8:1. */
  --gold:        #c89a59;
  --gold-light:  #ddb884;
  --gold-tint:   #f7f0e4;
  /* Gold that draws a CONTROL EDGE or focus state, not just decoration:
     #c89a59 is 2.55:1 on white and fails WCAG 1.4.11's 3:1 non-text
     threshold. This tone clears it (3.34:1 white / 3.2:1 off-white). */
  --gold-deep:   #b3843f;

  /* Gold TEXT on light surfaces. #c89a59 is only 2.6:1 on white, so small gold
     copy uses the ink tone (5.1:1) and large display gold uses the display
     tone (3.3:1, which clears the large-text threshold). Gold buttons carry
     navy labels for the same reason. */
  --gold-ink:      #916527;
  --gold-display:  #b0854a;

  /* Contextual: dark surfaces reset these for the surface they sit on. */
  --gold-text:  var(--gold-ink);
  --focus-ring: var(--navy);

  /* Neutrals */
  --white:       #ffffff;
  --off-white:   #fafaf8;
  --surface:     #f4f3f0;
  --heading:     #0d1b2a;
  --text:        #505866;
  --text-mute:   #6d7684;
  --text-invert: rgba(255, 255, 255, .74);
  --border:      #e3e5e8;
  --border-soft: #eceef0;

  /* Type */
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Helvetica, Arial, sans-serif;

  --fs-eyebrow: .75rem;
  --fs-sm:      .9375rem;
  --fs-body:    1.0625rem;
  --fs-lead:    1.1875rem;
  --fs-h4:      1.1875rem;
  --fs-h3:      1.5rem;
  --fs-h2:      clamp(2rem, 1.3rem + 2.2vw, 3.125rem);      /* 32 → 50 */
  --fs-h1:      clamp(2.25rem, 1.45rem + 2.5vw, 3.75rem);   /* 36 → 60 */

  --lh-tight: 1.06;
  --lh-snug:  1.22;
  --lh-body:  1.72;

  --ls-eyebrow: .2em;
  --ls-btn:     .13em;
  --ls-tight:   -.022em;

  /* Layout */
  --container:     1440px;
  --container-pad: clamp(1.25rem, .35rem + 3.6vw, 4.5rem);
  /* Distance from the viewport edge to the container's content edge. Safe in
     padding (a 100vw scrollbar overshoot cannot cause horizontal overflow). */
  --edge: max(var(--container-pad),
              calc((100vw - var(--container)) / 2 + var(--container-pad)));

  --section-y:    clamp(4.5rem, 2.5rem + 6.4vw, 8.75rem);   /* 72 → 140 */
  --section-y-sm: clamp(3.5rem, 2.1rem + 4.4vw, 6rem);

  --header-h:     100px;
  --header-h-sm:  76px;

  --radius:    3px;
  --radius-lg: 6px;

  --shadow-sm: 0 1px 2px rgba(13, 27, 42, .05);
  --shadow:    0 14px 34px -18px rgba(13, 27, 42, .28);
  --shadow-lg: 0 30px 60px -30px rgba(13, 27, 42, .38);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t:    260ms var(--ease);
}

/* Dark surfaces: gold text is legible at full brand chroma here.
   Any element painting the navy surface MUST be in this selector list --
   otherwise the element-level `h1 { color: var(--heading) }` paints navy
   on navy. */
.on-navy,
.phero,
.trust-bar,
.stat-band,
.footer {
  --gold-text: var(--gold);
  --focus-ring: var(--gold-light);
  --text: var(--text-invert);
  --heading: var(--white);
  --border: var(--navy-line);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-sm) + 1.5rem);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--heading);
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-snug);
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

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

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

hr { border: 0; }

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: .85rem 1.35rem;
  background: var(--navy);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .06em;
  transition: top 180ms var(--ease);
}
.skip-link:focus { top: 1rem; }

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
.eyebrow {
  display: block;
  margin: 0 0 1.15rem;
  color: var(--gold-text);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  line-height: 1.5;
  text-transform: uppercase;
}

/* Eyebrow with the short gold rule to its left, as in the reference hero. */
.eyebrow--rule {
  display: flex;
  align-items: center;
  gap: .95rem;
}
.eyebrow--rule::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

.h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.h4 { font-size: var(--fs-h4); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.68;
}

.measure    { max-width: 62ch; }
.measure-sm { max-width: 54ch; }

.gold { color: var(--gold-display); }
.on-navy .gold { color: var(--gold); }

/* Short gold rule used under headings. */
.rule-gold {
  width: 62px;
  height: 3px;
  margin: 1.6rem 0 0;
  background: var(--gold);
}
.rule-gold--center { margin-inline: auto; }

.section-head { margin-bottom: clamp(2.75rem, 1.6rem + 3vw, 4.25rem); }
.section-head .rule-gold { margin-bottom: 1.75rem; }
.section-head > p { color: var(--text); }
.section-head--center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.section-head--center .eyebrow--rule { justify-content: center; }

/* --------------------------------------------------------------------------
   4. BUTTONS & LINKS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --btn-bg-hover: var(--navy-700);
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: 1.15rem 1.85rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: var(--ls-btn);
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--t), border-color var(--t),
              color var(--t), transform var(--t), box-shadow var(--t);
}
.btn:hover {
  background: var(--btn-bg-hover);
  border-color: var(--btn-bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn:active { transform: translateY(0); }

.btn__arrow {
  display: inline-flex;
  font-size: 1.05em;
  transition: transform var(--t);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Muted gold button. Navy label, not white: gold + white is 2.2:1. */
.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--navy);
  --btn-bg-hover: var(--gold-light);
}

/* Outlined button, as in the reference hero's secondary action. */
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  background: transparent;
  border-color: var(--border);
}
.btn--ghost:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.on-navy .btn--ghost {
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, .3);
}
.on-navy .btn--ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.btn--wide { width: 100%; justify-content: center; }


/* Inline arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--gold-text);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
}
.link-arrow .icon { transition: transform var(--t); }
.link-arrow:hover .icon,
a:hover > .link-arrow .icon { transform: translateX(5px); }

/* Circular gold icon plate used on cards */
.icon-circle {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  background: var(--gold-tint);
  border-radius: 50%;
  color: var(--gold-ink);
  font-size: 1.65rem;
  transition: background var(--t), color var(--t);
}
.icon-circle--sm { width: 46px; height: 46px; font-size: 1.15rem; }
.on-navy .icon-circle {
  background: rgba(200, 154, 89, .13);
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   5. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.container--narrow { max-width: 1080px; }

.section    { padding-block: var(--section-y); }
.section--sm { padding-block: var(--section-y-sm); }
.section--tight-top { padding-top: 0; }
.section--alt  { background: var(--off-white); }
.section--navy { background: var(--navy); }

.grid-2 { display: grid; gap: clamp(2rem, 1rem + 3vw, 4.5rem); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.card-grid {
  display: grid;
  gap: clamp(1.25rem, .6rem + 1.4vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
@media (min-width: 1120px) {
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   6. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  transition: box-shadow var(--t), background var(--t);
}
.header.is-stuck {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--border-soft), 0 12px 28px -22px rgba(13, 27, 42, .5);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem);
  height: var(--header-h);
  transition: height var(--t);
}
.header.is-stuck .header__inner { height: 78px; }

@media (max-width: 1023px) {
  .header__inner { height: var(--header-h-sm); }
  .header.is-stuck .header__inner { height: var(--header-h-sm); }
}

/* Brand lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-right: auto;
}
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: block; }
.brand__name {
  display: block;
  color: var(--navy);
  font-size: clamp(1rem, .93rem + .25vw, 1.1875rem);
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.1;
  text-transform: uppercase;
}
.brand__sub {
  display: block;
  margin-top: .3rem;
  color: var(--text-mute);
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1;
  text-transform: uppercase;
}

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .nav__list { display: flex; align-items: center; gap: clamp(1.1rem, 1.9vw, 2.35rem); }
}
.nav__link {
  position: relative;
  display: block;
  padding: .6rem 0;
  color: var(--navy);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: color var(--t);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav__link:hover { color: var(--gold-ink); }
.nav__link:hover::after,
.nav__link.is-current::after { transform: scaleX(1); }
.nav__link.is-current { color: var(--gold-ink); }

.header__cta { display: none; }
@media (min-width: 1024px) { .header__cta { display: inline-flex; } }

/* Hamburger */
.burger {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.burger:hover { background: var(--navy); color: var(--white); }
@media (min-width: 1024px) { .burger { display: none; } }

/* Mobile drawer */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--navy);
  color: var(--white);
  visibility: hidden;
  opacity: 0;
  transition: opacity 320ms var(--ease), visibility 0s linear 320ms;
}
.mnav.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 320ms var(--ease), visibility 0s;
}

.mnav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h-sm);
  padding-inline: var(--container-pad);
  border-bottom: 1px solid var(--navy-line);
}
.mnav__top .brand__name { color: var(--white); }
.mnav__top .brand__sub  { color: var(--gold); }

.mnav__close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: none;
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 1.35rem;
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.mnav__close:hover { background: var(--white); color: var(--navy); }

.mnav__body {
  padding: clamp(1.5rem, 4vw, 2.75rem) var(--container-pad) 2.5rem;
  overflow-y: auto;
}
.mnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--navy-line);
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.01em;
  opacity: 0;
  transform: translateY(14px);
  transition: color var(--t);
}
.mnav__link .icon { color: var(--gold); font-size: 1rem; }
.mnav__link:hover { color: var(--gold); }
.mnav__link.is-current { color: var(--gold); }
.mnav.is-open .mnav__link {
  animation: mnav-in 420ms var(--ease) forwards;
  animation-delay: calc(90ms + var(--i) * 55ms);
}
@keyframes mnav-in { to { opacity: 1; transform: none; } }

.mnav__cta { margin-top: 2.25rem; }
.mnav__meta {
  margin-top: 2.5rem;
  display: grid;
  gap: .75rem;
  color: var(--text-invert);
  font-size: var(--fs-sm);
}
.mnav__meta a { display: inline-flex; align-items: center; gap: .65rem; }
.mnav__meta .icon { color: var(--gold); }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(34% 78% at 10% 32%, #ffffff 0%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, var(--off-white) 0%, #f2f1ee 100%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  padding-left: var(--edge);
  padding-right: var(--container-pad);
  padding-block: clamp(3rem, 1.5rem + 5vw, 6rem);
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: center;
    padding-right: 0;
    padding-block: 0;
    min-height: clamp(600px, 78vh, 840px);
  }
}

.hero__content { max-width: 44rem; }
@media (min-width: 900px) {
  .hero__content {
    position: relative;
    z-index: 1;                 /* sits above the figure's left overhang */
    padding-block: clamp(3rem, 6vh, 5rem);
    padding-right: clamp(1.5rem, 3vw, 4rem);
  }
}

.hero__title {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
}
.hero__title span { display: block; }

/* The headline is a two-line lockup, and whether it holds is set by the COLUMN, not the viewport -- the two
   diverge across the tablet range where the hero is two columns but narrow.
   Sizing against the column keeps the lockup intact; the viewport clamp
   above stays as the fallback. 8.1cqw is measured, not guessed: the longest
   line is 11.19x its own font-size. */
@supports (font-size: 1cqw) {
  .hero__content { container-type: inline-size; }
  .hero__title { font-size: clamp(1.75rem, 8.1cqw, 3.75rem); }
}

.hero__text {
  max-width: 40ch;
  margin-top: 1.9rem;
  font-size: var(--fs-lead);
  line-height: 1.66;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-top: 2.6rem;
}

/* Media column bleeds to the right viewport edge. */
.hero__media { position: relative; }
.hero__figure { margin: 0; }
.hero__figure picture { display: block; width: 100%; height: 100%; }
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}

@media (min-width: 900px) {
  .hero__media { align-self: stretch; }
  .hero__figure {
    position: absolute;
    inset: 0 0 0 -26%;
    overflow: hidden;
    z-index: 0;
  }
  /* The photo dissolves into the hero background at its left edge.
     The PHOTO is masked rather than covered by a matching overlay: two
     surfaces painting the same gradient dither slightly differently and
     leave a visible seam where they meet. Masking leaves one surface. */
  .hero__figure img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 3%,
                        rgba(0, 0, 0, .26) 12%, rgba(0, 0, 0, .70) 22%,
                        rgba(0, 0, 0, .94) 30%, #000 38%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 3%,
                rgba(0, 0, 0, .26) 12%, rgba(0, 0, 0, .70) 22%,
                rgba(0, 0, 0, .94) 30%, #000 38%);
  }
}

.hero__badge {
  position: absolute;
  left: clamp(-1rem, -2vw, 0rem);
  bottom: clamp(1.5rem, 4vw, 3.25rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.6rem 1.1rem 1.15rem;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero__badge strong {
  display: block;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.hero__badge span span {
  display: block;
  margin-top: .3rem;
  color: var(--text-mute);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
@media (max-width: 899px) {
  .hero__badge { position: static; margin-top: 1.25rem; box-shadow: var(--shadow); }
  .hero__figure img { aspect-ratio: 3 / 2; }
}

/* Interior page hero */
.phero {
  position: relative;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(3rem, 2rem + 4vw, 5.5rem);
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.phero::after {
  content: "";
  position: absolute;
  right: -14%;
  top: -35%;
  width: 46rem;
  height: 46rem;
  border: 1px solid rgba(200, 154, 89, .18);
  border-radius: 50%;
  pointer-events: none;
}
.phero__inner { position: relative; max-width: 58rem; }
.phero h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
.phero p { margin-top: 1.75rem; color: var(--text-invert); font-size: var(--fs-lead); max-width: 54ch; }
.phero .rule-gold { margin-top: 2rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, .6);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .55rem; opacity: .5; }
.breadcrumb li { display: inline-flex; align-items: center; }

/* --------------------------------------------------------------------------
   8. TRUST BAR
   -------------------------------------------------------------------------- */
.trust-bar {
  background: var(--navy);
  color: var(--white);
}
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.trust-bar__item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: clamp(2rem, 1.2rem + 2vw, 3rem) clamp(1.25rem, .5rem + 2vw, 2.5rem);
  border-left: 1px solid var(--navy-line);
}
.trust-bar__item:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 1023px) {
  .trust-bar__item { border-left: 0; border-top: 1px solid var(--navy-line); padding-inline: 0; }
  .trust-bar__item:first-child { border-top: 0; }
}
.trust-bar__icon {
  color: var(--gold);
  font-size: 1.75rem;
  line-height: 1;
  margin-top: .1rem;
}
.trust-bar__title {
  color: var(--white);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.35;
}
.trust-bar__text {
  margin: .5rem 0 0;
  color: var(--text-invert);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. SERVICES
   -------------------------------------------------------------------------- */
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35rem;
  padding: clamp(1.75rem, 1.1rem + 1.6vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 154, 89, .55);
  box-shadow: var(--shadow);
}
.service-card:hover .icon-circle { background: var(--gold); color: var(--navy); }
.service-card__title {
  font-size: var(--fs-h4);
  line-height: 1.35;
}
.service-card__text {
  margin: 0;
  color: var(--text);
  font-size: var(--fs-sm);
  line-height: 1.72;
  flex: 1;
}
.service-card__link { margin-top: .35rem; }

/* Detailed service block (Services page) */
.svc {
  display: grid;
  gap: clamp(2rem, 1rem + 3.5vw, 4.5rem);
  align-items: center;
  scroll-margin-top: 7rem;
}
@media (min-width: 900px) {
  .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .svc--flip .svc__media { order: -1; }
}
.svc + .svc { margin-top: clamp(3.5rem, 2rem + 5vw, 7rem); }
.svc__media { position: relative; }
.svc__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.svc__media::before {
  content: "";
  position: absolute;
  inset: auto auto -18px -18px;
  width: 130px;
  height: 130px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.svc__lede {
  margin-top: 1.5rem;
  font-size: var(--fs-lead);
  color: var(--heading);
  font-weight: 500;
  line-height: 1.6;
}
.svc__points {
  display: grid;
  gap: 1.1rem;
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border);
}
@media (min-width: 560px) { .svc__points { grid-template-columns: 1fr 1fr; } }
.svc__point { display: flex; gap: .8rem; }
.svc__point .icon { color: var(--gold-ink); font-size: 1.05rem; margin-top: .28rem; }
.svc__point strong {
  display: block;
  color: var(--heading);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.svc__point span span {
  display: block;
  margin-top: .2rem;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   10. SPLIT PANEL, APPOINTMENT STRIP, PROCESS, CTA
   -------------------------------------------------------------------------- */
.split { display: grid; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

.split__panel {
  background: var(--navy);
  color: var(--white);
  padding: clamp(3rem, 1.8rem + 5vw, 6.5rem) clamp(1.25rem, .5rem + 3vw, 5rem)
           clamp(3rem, 1.8rem + 5vw, 6.5rem) var(--edge);
}
@media (max-width: 959px) {
  .split__panel { padding-inline: var(--container-pad); }
}
.split__list {
  display: grid;
  gap: 1.15rem;
  margin: 2.5rem 0;
}
.split__list li {
  display: flex;
  align-items: flex-start;
  gap: .95rem;
  font-size: var(--fs-body);
  color: var(--white);
  font-weight: 500;
}
.split__list .icon {
  color: var(--gold);
  font-size: 1.05rem;
  margin-top: .38rem;
}

.split__media { position: relative; min-height: 340px; }
.split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 959px) {
  .split__media { min-height: 0; }
  .split__media img { position: static; height: auto; aspect-ratio: 3 / 2; }
}

/* Circular seal that overlaps the split seam, as in the reference. */
.seal {
  position: absolute;
  left: -68px;
  top: 50%;
  transform: translateY(-50%);
  width: 136px;
  height: 136px;
  z-index: 2;
  filter: drop-shadow(0 18px 30px rgba(13, 27, 42, .35));
}
@media (max-width: 959px) {
  .seal { left: auto; right: clamp(1rem, 4vw, 2.5rem); top: auto; bottom: -34px; transform: none; width: 108px; height: 108px; }
}

/* Appointment strip */
.appt {
  background: var(--gold-tint);
  border-top: 1px solid rgba(200, 154, 89, .3);
  border-bottom: 1px solid rgba(200, 154, 89, .3);
}
.appt__inner {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
@media (min-width: 860px) {
  .appt__inner { grid-template-columns: auto 1fr auto; }
}
.appt__icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
  color: var(--gold-ink);
  font-size: 2.1rem;
}
.appt__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); }
.appt__text { margin: .7rem 0 0; color: var(--text); }
.appt .eyebrow { margin-bottom: .7rem; }

/* Process */
.step {
  position: relative;
  padding: clamp(1.75rem, 1.1rem + 1.6vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 154, 89, .55);
  box-shadow: var(--shadow);
}
.step__num {
  display: block;
  color: var(--gold-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}
.step__title { margin-top: 1.35rem; font-size: var(--fs-h4); }
.step__text { margin: .8rem 0 0; font-size: var(--fs-sm); line-height: 1.72; }
.step__icon {
  position: absolute;
  right: clamp(1.25rem, 2vw, 2rem);
  top: clamp(1.25rem, 2vw, 2rem);
  color: var(--gold);
  font-size: 1.5rem;
  opacity: .5;
}

/* CTA banner */
.cta {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -60%;
  width: 52rem;
  height: 52rem;
  transform: translateX(-50%);
  border: 1px solid rgba(200, 154, 89, .16);
  border-radius: 50%;
  pointer-events: none;
}
.cta__inner {
  position: relative;
  padding-block: clamp(4rem, 2.4rem + 5vw, 7.5rem);
  text-align: center;
}
.cta__title { font-size: var(--fs-h2); }
.cta__text {
  max-width: 52ch;
  margin: 1.5rem auto 0;
  color: var(--text-invert);
  font-size: var(--fs-lead);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.75rem;
}

/* --------------------------------------------------------------------------
   11. TESTIMONIALS
   -------------------------------------------------------------------------- */
.quote-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.75rem, 1.1rem + 1.6vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--t), box-shadow var(--t);
}
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.quote-card__mark { color: var(--gold); font-size: 1.75rem; }
.quote-card blockquote {
  flex: 1;
  margin: 1.25rem 0 1.75rem;
  color: var(--heading);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.68;
}
.quote-card figcaption {
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
.quote-card cite {
  display: block;
  color: var(--heading);
  font-size: var(--fs-sm);
  font-style: normal;
  font-weight: 700;
}
.quote-card figcaption span {
  display: block;
  margin-top: .25rem;
  color: var(--gold-ink);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Featured navy testimonial band */
.feature-quote {
  display: grid;
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3rem, 2rem + 3.5vw, 5.5rem);
}
@media (min-width: 900px) { .feature-quote { grid-template-columns: auto 1fr auto; } }
.feature-quote__mark { color: var(--gold); font-size: 3rem; line-height: 1; }
.feature-quote blockquote {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.015em;
}
.feature-quote cite {
  display: block;
  margin-top: 1.35rem;
  color: var(--gold);
  font-size: .75rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.feature-quote__seal { width: 132px; height: 132px; flex: none; }
@media (max-width: 899px) { .feature-quote__seal { display: none; } }

/* --------------------------------------------------------------------------
   12. RESOURCES, ARTICLES, TEAM, STATS
   -------------------------------------------------------------------------- */
.rcard {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.rcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(200,154,89,.5); }
.rcard__media { display: block; overflow: hidden; }
.rcard__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 620ms var(--ease);
}
.rcard:hover .rcard__media img { transform: scale(1.05); }
.rcard__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .85rem;
  padding: clamp(1.4rem, 1rem + 1vw, 2rem);
}
.rcard__cat {
  color: var(--gold-ink);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.rcard__title { font-size: var(--fs-h4); line-height: 1.35; }
.rcard__title a::after { content: ""; position: absolute; inset: 0; }
.rcard { position: relative; }
.rcard__text { margin: 0; flex: 1; font-size: var(--fs-sm); line-height: 1.72; }
.rcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  color: var(--text-mute);
  font-size: .75rem;
}
.rcard__meta span:not(:last-child)::after { content: " ·"; }

/* Article prose */
.prose {
  max-width: 68ch;
  font-size: var(--fs-body);
}
.prose__h2 {
  margin: 2.75rem 0 1rem;
  font-size: 1.5rem;
}
.prose__list {
  display: grid;
  gap: .75rem;
  margin: 0 0 1.4rem;
}
.prose__list li {
  position: relative;
  padding-left: 1.65rem;
  line-height: 1.7;
}
.prose__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}
.prose code {
  padding: .1em .4em;
  background: var(--surface);
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em;
}
.callout {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  background: var(--gold-tint);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout p { margin: 0; font-size: var(--fs-sm); line-height: 1.72; color: var(--heading); }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  color: rgba(255, 255, 255, .68);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.article-meta .tag {
  padding: .4rem .8rem;
  background: rgba(200, 154, 89, .16);
  border: 1px solid rgba(200, 154, 89, .4);
  border-radius: 100px;
  color: var(--gold);
}

.article-figure { margin: 0 0 clamp(2rem, 1.2rem + 2vw, 3.25rem); }
.article-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Team */
.team-card { text-align: left; }
.team-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.team-card__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 620ms var(--ease);
}
.team-card:hover .team-card__media img { transform: scale(1.04); }
.team-card__role {
  margin-top: 1.35rem;
  font-size: var(--fs-h4);
}
.team-card__text { margin: .65rem 0 0; font-size: var(--fs-sm); line-height: 1.7; }
.team-card__name {
  display: block;
  margin-top: .55rem;
  color: var(--gold-ink);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Stats */
.stats {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.stat { padding-left: 1.5rem; border-left: 2px solid var(--gold); }
.stat__num {
  display: block;
  color: var(--heading);
  font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}
.on-navy .stat__num { color: var(--white); }
.stat__label {
  display: block;
  margin-top: .8rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* Accordion (FAQ) */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  color: var(--heading);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  text-align: left;
  cursor: pointer;
}
.faq__q .icon { color: var(--gold-ink); font-size: 1.1rem; transition: transform var(--t); flex: none; }
.faq__q[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease);
}
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { padding-bottom: 1.6rem; font-size: var(--fs-sm); line-height: 1.75; max-width: 68ch; }

/* --------------------------------------------------------------------------
   13. FORMS
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.35rem; }
@media (min-width: 680px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; } }

.field { display: grid; gap: .5rem; }
.field > label {
  color: var(--heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.field .req { color: var(--gold-ink); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .95rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--heading);
  font-size: var(--fs-sm);
  transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 158px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23505866' stroke-width='1.5' stroke-linecap='round'%3E%3Cpolyline points='6 9.5 12 15.5 18 9.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 3rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(179, 132, 63, .22);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, .12);
}

.field__error {
  display: none;
  color: #91231c;
  font-size: .8125rem;
  font-weight: 600;
}
.field__error.is-shown { display: block; }
.field__hint { color: var(--text-mute); font-size: .8125rem; }

.radio-set { display: flex; flex-wrap: wrap; gap: .75rem; }
.radio-pill {
  position: relative;
  display: inline-flex;
}
.radio-pill input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.radio-pill span {
  padding: .75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: var(--fs-sm);
  transition: all var(--t);
}
.radio-pill input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.radio-pill input:focus-visible + span {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.form__status {
  display: none;
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.form__status.is-shown { display: block; }
.form__status--ok { background: #eef6ef; border-left: 3px solid #2f7d3a; color: #1d5427; }
.form__status--err { background: #fdeeed; border-left: 3px solid #b3261e; color: #8c1d17; }

.btn.is-loading { pointer-events: none; opacity: .72; }
.btn.is-loading .btn__arrow { animation: pulse 900ms infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.form-card {
  padding: clamp(1.75rem, 1rem + 2.4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.info-list { display: grid; gap: 1.5rem; }
.info-list__item { display: flex; gap: 1.1rem; }
.info-list__item .icon-circle { flex: none; }
.info-list dt {
  color: var(--heading);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.info-list dd { margin: .45rem 0 0; font-size: var(--fs-sm); line-height: 1.65; }
.info-list dd a:hover { color: var(--gold-ink); text-decoration: underline; }
.on-navy .info-list dd a:hover { color: var(--gold); }

.hours { display: grid; gap: .75rem; }
.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
}
.hours__row dt { font-weight: 600; color: var(--heading); }
.hours__row dd { margin: 0; }


/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy);
  color: var(--text-invert);
  font-size: var(--fs-sm);
}
.footer__grid {
  display: grid;
  gap: clamp(2.25rem, 1.2rem + 3vw, 3.5rem);
  padding-block: clamp(3.5rem, 2.2rem + 4vw, 6rem) clamp(2.5rem, 2rem + 2vw, 4rem);
}
@media (min-width: 700px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1.15fr 1.25fr; } }

.footer__brand .brand__name { color: var(--white); }
.footer__brand .brand__sub  { color: var(--gold); }
.footer__about {
  max-width: 34ch;
  margin: 1.6rem 0 1.9rem;
  line-height: 1.75;
}

.footer__title {
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.footer__list { display: grid; gap: .85rem; }
.footer__list a { transition: color var(--t), padding-left var(--t); }
.footer__list a:hover { color: var(--gold); padding-left: 5px; }

.footer__contact { display: grid; gap: 1.15rem; }
.footer__contact li { display: flex; gap: .85rem; }
.footer__contact .icon { color: var(--gold); font-size: 1.05rem; margin-top: .25rem; flex: none; }
.footer__contact a:hover { color: var(--gold); }

.socials { display: flex; gap: .65rem; }
.social {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--navy-line);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.05rem;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--navy-line);
  font-size: .8125rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__legal a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   15. MOTION & RESPONSIVE
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Nothing should stay invisible if JS never runs. */
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .mnav.is-open .mnav__link { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 899px) {
  :root { --header-h: var(--header-h-sm); }
}

@media print {
  .header, .footer, .mnav, .appt, .cta, .btn { display: none !important; }
  body { color: #000; }
}

/* ==========================================================================
   16. COMP COMPONENTS
   Layout pieces specific to the approved design comp: the two-line brand
   lockup, the in-hero trust row and award badge, the flush service grid,
   the navy statistics band and the consultation split.
   ========================================================================== */

/* ------------------------------------------------------------ brand lockup */
.brand__name {
  font-size: clamp(.9375rem, .85rem + .3vw, 1.125rem);
  line-height: 1.16;
  letter-spacing: .09em;
}
.brand__sub {
  margin-top: .32rem;
  color: var(--gold-ink);
  font-size: .6875rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: .08em;
  text-transform: none;
}
.mnav__top .brand__sub,
.footer__brand .brand__sub { color: var(--gold); }
.brand__mark { width: 46px; height: 46px; }

/* Six nav items need tighter tracking than five did. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav__list { gap: 1.05rem; }
  .nav__link { font-size: .6875rem; letter-spacing: .1em; }
}

/* -------------------------------------------------------- hero trust row */
.hero-trust {
  display: grid;
  gap: clamp(1.25rem, .6rem + 1.6vw, 2.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  max-width: 40rem;
}
.hero-trust__icon {
  display: block;
  color: var(--navy);
  font-size: 2.75rem;
  line-height: 1;
}
.hero-trust__title {
  margin-top: 1.1rem;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: 0;
}
.hero-trust__text {
  margin: .5rem 0 0;
  font-size: .8125rem;
  line-height: 1.62;
}

/* ------------------------------------------------------------- hero badge */
.hero-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  max-width: 24rem;
  padding: 1.35rem 1.75rem;
  background: var(--navy);
  color: var(--white);
}
.hero-badge__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  flex: none;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.9rem;
}
.hero-badge__title {
  color: var(--white);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
  text-transform: uppercase;
}
.hero-badge__text {
  margin: .45rem 0 0;
  color: var(--text-invert);
  font-size: .8125rem;
  line-height: 1.55;
}
@media (max-width: 899px) {
  .hero-badge { position: static; max-width: none; }
}

/* -------------------------------------------------------- services block */
.services-section {
  position: relative;
  background: var(--off-white);
  overflow: hidden;
}
/* The faint architectural wash at the left edge of the comp: a facade of
   hairline mullions in perspective, masked so it dissolves before it reaches
   the cards. Decorative only -- it never sits under body copy. */
.services-section::before {
  content: "";
  position: absolute;
  left: -8rem;
  top: -6rem;
  width: 40rem;
  height: 42rem;
  background:
    repeating-linear-gradient(90deg, rgba(13, 27, 42, .05) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(0deg,  rgba(13, 27, 42, .035) 0 1px, transparent 1px 46px);
  transform: perspective(900px) rotateY(32deg) skewY(-6deg);
  transform-origin: left top;
  -webkit-mask-image: linear-gradient(150deg, #000 0%, transparent 58%);
  mask-image: linear-gradient(150deg, #000 0%, transparent 58%);
  pointer-events: none;
}
@media (max-width: 899px) { .services-section::before { display: none; } }

.services-head {
  position: relative;
  display: grid;
  gap: clamp(1.25rem, .6rem + 2vw, 3.5rem);
  margin-bottom: clamp(2.5rem, 1.5rem + 2.6vw, 3.75rem);
}
@media (min-width: 900px) {
  .services-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
}
.services-head .h2 { line-height: 1.2; }
.services-head > p { margin: 0; max-width: 46ch; }

/* Cards sit flush against one another, separated by a hairline, as drawn. */
.service-grid {
  position: relative;
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
@media (min-width: 1120px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
}
.service-grid .service-card {
  border: 0;
  border-radius: 0;
  background: var(--white);
}
.service-grid .service-card:hover {
  transform: none;
  box-shadow: 0 18px 40px -26px rgba(13, 27, 42, .45);
}

.icon-circle--navy { background: var(--navy); color: var(--gold); }
.icon-circle--gold { background: var(--gold); color: var(--navy); }
.service-card:hover .icon-circle--navy { background: var(--gold); color: var(--navy); }
.service-card:hover .icon-circle--gold { background: var(--navy); color: var(--gold); }

/* ------------------------------------------------------------- stat band */
.stat-band { background: var(--navy); }
.stat-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.stat-band__item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: clamp(2.25rem, 1.4rem + 2vw, 3.25rem) clamp(1.25rem, .5rem + 2vw, 2.5rem);
  border-left: 1px solid var(--navy-line);
}
.stat-band__item:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 1119px) {
  .stat-band__item { border-left: 0; border-top: 1px solid var(--navy-line); padding-inline: 0; }
  .stat-band__item:first-child { border-top: 0; }
}
.stat-band__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  border: 1px solid rgba(200, 154, 89, .45);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.6rem;
}
.stat-band__num {
  display: block;
  color: var(--white);
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.stat-band__label {
  display: block;
  margin-top: .3rem;
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.stat-band__text {
  margin: .5rem 0 0;
  color: var(--text-invert);
  font-size: .8125rem;
  line-height: 1.55;
}

/* --------------------------------------------------- consultation split */
.consult { display: grid; }
@media (min-width: 960px) {
  .consult { grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); }
}
.consult__media { position: relative; min-height: 260px; }
.consult__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 959px) {
  .consult__media { min-height: 0; }
  .consult__media img { position: static; height: auto; aspect-ratio: 16 / 9; }
}

.consult__panel {
  display: grid;
  gap: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  align-items: center;
  padding: clamp(2.75rem, 1.6rem + 4vw, 5rem) var(--edge)
           clamp(2.75rem, 1.6rem + 4vw, 5rem) clamp(1.5rem, .6rem + 3vw, 4.5rem);
  background: var(--white);
}
@media (min-width: 1120px) {
  .consult__panel { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 959px) {
  .consult__panel { padding-inline: var(--container-pad); }
}
.consult__body .h2 {
  /* Smaller than the page h2: this heading shares its row with the CTA, so the
     full display size wrapped "Let's Talk About Your" onto its own line. */
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem);
  line-height: 1.22;
}
.consult__body p { margin: 1.25rem 0 0; max-width: 46ch; }
.consult__cta { justify-self: start; }

/* --------------------------------------------------------- faq (comp form) */
.faq__q > span { flex: 1; }
