/* =====================================================================
   LANCE THOMAS INSURANCE — STYLESHEET
   ---------------------------------------------------------------------
   Tokens, reset, header, and home hero. Validate WCAG AA contrast on
   every new color combination (see conventions/accessibility.md).
   ===================================================================== */


/* =========================================================
   TOKENS — design system variables
   ========================================================= */
:root{
  /* Surfaces */
  --bg: #FFFFFF;
  --surface: #F5F7FB;

  /* Brand (navy pulled from the logo SVG) */
  --brand-primary: #013189;     /* logo navy: 12.4:1 on white */
  --brand-bright: #1F5FD6;      /* buttons: white text 5.7:1 */
  --brand-light: #8CBCFF;       /* accent text on the dark hero overlay */
  --navy-deep: #030E26;         /* dark section ground (matches hero scrim) */
  --sky: #EAF1FC;               /* pale blue icon wells */

  /* Text */
  --ink: #1B1B1B;
  --ink-soft: #555555;

  /* Lines */
  --rule: rgba(0,0,0,.10);
  --rule-strong: rgba(0,0,0,.18);

  /* Type stacks */
  --display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --maxw: 1440px;
  --gut: clamp(20px, 3vw, 48px);
  --hdr-h: 116px;
}


/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: var(--brand-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--brand-bright); }
h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 700; margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 3px; }


/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--sans);
  line-height: 1.2;
  border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-pill {
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--brand-bright);
  color: #fff;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.btn-pill:hover { background: var(--brand-primary); color: #fff; }

.btn-outline,
.btn-solid {
  padding: 13px 29px;
  border-width: 1px;
  border-radius: 3px;
  font-size: clamp(18px, 1.6vw, 22px);
  /* hover fill sweeps in from the left */
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  transition: background-size .35s ease, color .35s ease;
}
.btn-outline:hover,
.btn-solid:hover { background-size: 100% 100%; }
.btn-outline {
  color: #fff;
  border-color: #fff;
  background-color: rgba(0,0,0,.15);
  background-image: linear-gradient(#fff, #fff);
}
.btn-outline:hover { color: var(--brand-primary); }
.btn-solid {
  color: #fff;
  border-color: rgba(255,255,255,.85);
  background-color: var(--brand-bright);
  background-image: linear-gradient(var(--brand-primary), var(--brand-primary));
}
.btn-solid:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .btn-outline,
  .btn-solid { transition: none; }
}


/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }

.hdr-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px var(--gut);
  min-height: var(--hdr-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { flex-shrink: 0; }
.brand img { width: 122px; height: 82px; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 30px);
}
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-list > li { flex-shrink: 0; }
.nav-list > li > a { padding: 10px 0; }
.nav-list a:hover,
.nav-list a[aria-current="page"],
.nav-list .has-sub.is-current > a { color: var(--brand-bright); }
.nav-list > li > .btn-pill { padding: 13px 24px; }
.nav-list .btn-pill,
.nav-list .btn-pill:hover { color: #fff; }

/* Nav quote CTA: a shine sweeps across the face every 7 seconds and a soft
   glow pulses behind it, drawing the eye without moving layout. */
.nav-cta .btn-pill {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 0 0 0 rgba(31,95,214,.45);
  animation: ctaGlow 7s ease-in-out infinite;
}
.nav-cta .btn-pill::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  translate: -120% 0;
  animation: ctaShine 7s ease-in-out infinite;
}
@keyframes ctaShine {
  0%, 84% { translate: -120% 0; }
  97%, 100% { translate: 120% 0; }
}
@keyframes ctaGlow {
  0%, 75%, 100% { box-shadow: 0 0 0 0 rgba(31,95,214,0); }
  90% { box-shadow: 0 0 18px 2px rgba(31,95,214,.35); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-cta .btn-pill,
  .nav-cta .btn-pill::after { animation: none; }
  .nav-cta .btn-pill::after { display: none; }
}

.sub-btn {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
}
.sub-btn svg { transition: transform .2s; }
.has-sub[data-open="true"] .sub-btn svg { transform: rotate(180deg); }

.sub {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 240px;
  padding: 10px 0;
  background: var(--bg);
  border-top: 3px solid var(--brand-bright);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.sub a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: none;
}
.sub a:hover { background: var(--surface); }

.menu-btn {
  display: none;
  padding: 8px;
  border: 0;
  background: none;
  color: var(--brand-primary);
}
.menu-btn .ic-close { display: none; }
.site-header[data-open="true"] .menu-btn .ic-open { display: none; }
.site-header[data-open="true"] .menu-btn .ic-close { display: block; }

/* Desktop: dropdowns open on hover, keyboard focus, or chevron click */
@media (min-width: 1181px){
  .has-sub:hover .sub,
  .has-sub:has(:focus-visible) .sub,
  .has-sub[data-open="true"] .sub { opacity: 1; visibility: visible; transform: none; }
  .nav-cta { margin-left: 4px; }
}

/* Tablet + mobile: hamburger menu with collapsible submenus */
@media (max-width: 1180px){
  :root { --hdr-h: 88px; }
  .brand img { width: 92px; height: 62px; }
  .menu-btn { display: block; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--hdr-h));
    max-height: calc(100dvh - var(--hdr-h));
    overflow-y: auto;
    background: var(--bg);
    border-top: 1px solid var(--rule);
    box-shadow: 0 16px 28px rgba(0,0,0,.12);
    display: none;
  }
  .site-header[data-open="true"] .primary-nav { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gut) 24px;
  }
  .nav-list > li {
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid var(--rule);
  }
  .nav-list > li > a { flex: 1; padding: 16px 0; }
  .sub-btn { width: 44px; height: 44px; }

  .sub {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    padding: 0 0 12px 14px;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    display: none;
  }
  .has-sub[data-open="true"] .sub { display: block; }
  .sub a { padding: 10px 0; font-size: 15px; }
  .sub a:hover { background: none; }

  .nav-list > li.nav-cta { border-bottom: 0; padding-top: 20px; }
  .nav-cta .btn-pill { flex: 1; padding: 15px 22px; }
}

@media (max-width: 640px){
  :root { --hdr-h: 76px; }
  .brand img { width: 77px; height: 52px; }
}


/* =========================================================
   HERO (home)
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, calc(100vh - var(--hdr-h)), 780px);
  display: grid;
  place-items: center;
  padding: clamp(64px, 10vw, 120px) var(--gut);
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg picture,
.hero-bg img { width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center 35%; max-width: none; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3,14,38,.55) 0%, rgba(3,14,38,.62) 100%);
}

.hero-content { max-width: 1080px; }
.hero h1 {
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 22px;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-lede {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  max-width: 90ch;
  margin: 0 auto 36px;
}
.hero-lede { text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hl { color: var(--brand-light); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 640px){
  .hero { min-height: 540px; }
  /* Mobile gets its own portrait crop (dad + toddler), so center it. */
  .hero-bg img { object-position: center; }
  .hero-actions .btn { flex: 1 1 100%; max-width: 320px; }
  .hero-actions { flex-direction: column; align-items: center; }
}


/* =========================================================
   SERVICES (home) — photo tiles
   ---------------------------------------------------------
   Montserrat headings, navy-tinted scrims instead of neutral black,
   and the surface tint behind the grid.
   ========================================================= */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.eyebrow {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.services {
  padding: clamp(56px, 7vw, 96px) 0;
  /* Anchor jumps land below the sticky header rather than under it. */
  scroll-margin-top: var(--hdr-h);
  background: var(--surface);
  text-align: center;
}
.services-head h2 {
  font-size: clamp(28px, 3.9vw, 51px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.services-head .accent { color: var(--brand-bright); }

.service-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: clamp(36px, 5vw, 56px) 0 0;
}

.service-tile {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  min-height: clamp(300px, 34vw, 360px);
  padding: 0 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
}
/* Resting scrim. Navy-tinted to match the hero overlay rather than neutral
   black, and heavy enough at the base to hold white text at AA. */
.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(3,14,38,.78), rgba(3,14,38,.34) 60%, rgba(3,14,38,.18));
}

.service-tile-bg { position: absolute; inset: 0; z-index: 0; }
.service-tile-bg picture { display: block; width: 100%; height: 100%; }
.service-tile-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform .3s ease;
}

/* Per-photo crops: keep faces and subjects clear of the title at the bottom. */
.service-tile--pos1 .service-tile-bg img { object-position: 50% 55%; }
.service-tile--pos2 .service-tile-bg img { object-position: 50% 50%; }
.service-tile--pos3 .service-tile-bg img { object-position: 50% 35%; }
.service-tile--pos4 .service-tile-bg img { object-position: 50% 30%; }
.service-tile--pos5 .service-tile-bg img { object-position: 50% 30%; }
.service-tile--pos6 .service-tile-bg img { object-position: 50% 40%; }

/* Slides up on hover so the body copy reads against a solid field. */
.service-tile-hover-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(3,14,38,.95), rgba(3,14,38,.82) 65%, rgba(3,14,38,.45));
  transform: translateY(100%);
  transition: transform .4s ease;
  pointer-events: none;
}
.service-tile:hover .service-tile-hover-overlay,
.service-tile:focus-within .service-tile-hover-overlay { transform: translateY(0); }

.service-tile-border {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 3px;
  pointer-events: none;
  z-index: 2;
}

/* Left static on purpose: the stretched-link ::after below needs .service-tile
   as its containing block. z-index still applies here because h3 is a flex item. */
.service-tile h3 {
  z-index: 2;
  font-size: clamp(19px, 2vw, 23px);
  letter-spacing: -0.01em;
  margin: 0;
}
.service-tile h3 a { color: #fff; text-decoration: none; }
.service-tile h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* The whole tile is the hit target; the heading link carries the accessible name. */
.service-tile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }

.service-tile-body {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 15px;
  line-height: 1.55;
  margin: 10px 0 0;
  transition: max-height .3s ease, opacity .3s ease;
}
.service-tile:focus-within .service-tile-body { max-height: 240px; opacity: 1; }

/* Touch devices get the copy permanently visible — there is no hover to
   reveal it. Only pointer devices collapse it behind the hover interaction. */
@media (hover: hover) and (pointer: fine) {
  .service-tile-body { max-height: 0; opacity: 0; overflow: hidden; }
  .service-tile:hover .service-tile-body { max-height: 240px; opacity: 1; }
  .service-tile:hover .service-tile-bg img,
  .service-tile:focus-within .service-tile-bg img { transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .service-tile-bg img,
  .service-tile-hover-overlay,
  .service-tile-body { transition: none; }
}

.services-actions { margin-top: clamp(30px, 4vw, 48px); }

.btn-ghost {
  padding: 13px 30px;
  border-radius: 999px;
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: transparent;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.btn-ghost:hover { background: var(--brand-primary); color: #fff; }

@media (max-width: 1024px){
  .service-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .service-tiles { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
}


/* =========================================================
   SHARED SECTION PIECES
   ========================================================= */
/* Sections that paint absolutely positioned layers (grids, photos, map card) */
.about-b, .process-a, .reviews-b, .faq-b, .quote-a, .visit-a { position: relative; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.accent { color: var(--brand-bright); }
.eyebrow--light { color: var(--brand-light); }

main > section h2 {
  font-size: clamp(28px, 3.9vw, 51px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
}
.section-head h2 { margin: 0; }
.section-actions { margin-top: clamp(40px, 5vw, 64px); text-align: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--brand-primary);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.text-link .ic { transition: transform .25s ease; }
.text-link:hover .ic { transform: translateX(4px); }
.text-link--light,
.text-link--light:hover { color: #fff; }

.stars { display: flex; gap: 4px; color: #F5B400; }
.stars svg { width: 18px; height: 18px; }

/* Scroll reveal. Hidden only when JS is running, so content never
   disappears for no-JS visitors. Hovers use `translate` (not `transform`)
   so they don't fight the reveal's transform.
   Variants: (default) rise a little · rise (bigger lift) · left · right ·
   pop (scale up) · fade. [data-reveal-group] staggers its children. */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .8s ease, transform .9s cubic-bezier(.16,.84,.3,1),
              translate .4s ease, background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.js [data-reveal="rise"]  { transform: translate3d(0, 56px, 0); }
.js [data-reveal="left"]  { transform: translate3d(-56px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(56px, 0, 0); }
.js [data-reveal="pop"]   { transform: scale(.9); }
.js [data-reveal="fade"]  { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Side-entering elements start past the viewport edge; clip so phones never
   get a horizontal scrollbar. `clip` keeps sticky columns working. */
main, .footer-a { overflow-x: clip; }

/* How It Works: the connector line draws across once the steps arrive. */
.js [data-reveal-line]::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s cubic-bezier(.16,.84,.3,1) .35s;
}
.js [data-reveal-line].line-in::after { transform: scaleX(1); }

/* Hero entrance on load: photo settles from a slight zoom, copy rises in. */
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: none; } }
@keyframes heroRise { from { opacity: 0; transform: translate3d(0, 30px, 0); } to { opacity: 1; transform: none; } }
.hero-bg img { animation: heroZoom 2.2s cubic-bezier(.16,.84,.3,1) both; }
.hero-content > * { animation: heroRise 1s cubic-bezier(.16,.84,.3,1) both; }
.hero-content > :nth-child(1) { animation-delay: .15s; }
.hero-content > :nth-child(2) { animation-delay: .35s; }
.hero-content > :nth-child(3) { animation-delay: .55s; }

/* Gentle parallax where the browser supports scroll-driven animations. */
@supports (animation-timeline: view()) {
  @keyframes parallaxDrift { from { translate: 0 -6%; } to { translate: 0 6%; } }
  @keyframes heroDrift { from { translate: 0 0; } to { translate: 0 10%; } }
  /* The hero photo sits 10% taller than the hero, so drifting down as the
     hero scrolls away never exposes its top edge. */
  .hero { overflow: hidden; }
  .hero-bg picture { position: absolute; inset: -10% 0 0; height: auto; animation: heroDrift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  .about-a-media picture img { scale: 1.14; animation: parallaxDrift linear both; animation-timeline: view(); animation-range: cover; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js [data-reveal-line]::after { transform: none; transition: none; }
  .hero-bg img,
  .hero-content > *,
  .hero-bg picture,
  .about-a-media picture img { animation: none; }
  .about-a-media picture img { scale: 1; }
}


/* =========================================================
   ABOUT · STORY — split photo + story
   ========================================================= */
.about-a { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg); }
.about-a-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}
/* The navy block is the photo's exact size, offset down-left by --offset. */
.about-a-media { --offset: 36px; position: relative; width: 100%; max-width: 460px; justify-self: center; padding: 0 0 var(--offset) var(--offset); }
.about-a-media::after {
  content: "";
  position: absolute;
  inset: var(--offset) var(--offset) 0 0;
  border-radius: 5px;
  background: var(--brand-primary);
}
.about-a-media picture {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: 5px;
  overflow: hidden;
}
.about-a-media picture::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 3px;
}
.about-a-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 22% 40%; }
.about-a-card {
  position: absolute;
  z-index: 2;
  right: -28px;
  bottom: 88px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px 18px 18px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 22px 50px -12px rgba(3,14,38,.28);
}
.about-a-card .ic {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--brand-primary);
}
.about-a-card p { margin: 0; }
.about-a-card-title { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); }
.about-a-card-sub { font-size: 14px; color: var(--ink-soft); }
.about-a-card-link { display: inline-block; margin-top: 1px; padding-block: 3px; font-size: 14px; font-weight: 700; color: var(--brand-bright); }
.about-a-card-link:hover { color: var(--brand-primary); }

.about-a-copy h2 { margin: 0 0 24px; font-size: clamp(28px, 3.3vw, 46px); max-width: 16ch; }
.about-a-quote {
  margin: 36px 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--brand-bright);
}
.about-a-quote p {
  margin: 0 0 12px;
  font-style: italic;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.5;
  color: var(--ink);
}
.about-a-quote footer {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: start;
  gap: 14px clamp(32px, 5vw, 72px);
  margin: 0 0 40px;
}
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.check-list .ic {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--brand-bright);
  stroke-width: 2.4;
}

@media (max-width: 900px){
  .about-a-grid { grid-template-columns: 1fr; }
  .about-a-media { max-width: 520px; width: 100%; margin: 0 auto; }
  .about-a-card { right: 12px; bottom: 60px; }
}
@media (max-width: 480px){
  .about-a-media { --offset: 20px; }
  .check-list { grid-template-columns: max-content; }
}


/* =========================================================
   ABOUT · STATEMENT — dark editorial statement
   ========================================================= */
.about-b {
  overflow: hidden;
  padding: clamp(96px, 12vw, 170px) 0 clamp(80px, 10vw, 140px);
  color: #fff;
  background: var(--navy-deep);
}
/* Blue glow on the right edge. site.js drives --glow-y from 100% (bottom)
   to 0% (top) as the section scrolls through the viewport; without JS, or
   with reduced motion, it rests in the top right corner. */
.about-b::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50% 70% at 100% var(--glow-y, 0%), rgba(31,95,214,.11), transparent 62%);
}
/* Fine blueprint grid, faded out toward the lower left */
.about-b::after,
.quote-a::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 90% 0%, #000 0%, transparent 60%);
          mask-image: radial-gradient(ellipse at 90% 0%, #000 0%, transparent 60%);
}
.about-b .wrap { position: relative; z-index: 1; }
.about-b h2 {
  max-width: none;
  text-wrap: pretty;
  margin: 0 0 clamp(28px, 3.5vw, 48px);
  font-size: clamp(30px, 4.6vw, 67px);
  line-height: 1.02;
  letter-spacing: -0.032em;
}
.about-b-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(44px, 5vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.about-b-lede {
  max-width: none;
  text-wrap: pretty;
  margin: 0;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.65;
  color: rgba(255,255,255,.82);
}
.about-b-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.about-b-facts > div { padding: 36px 32px 0 0; }
.about-b-facts > div + div { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.16); }
.about-b-facts dt {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-light);
}
.about-b-facts dd { margin: 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; }

@media (max-width: 760px){
  .about-b-facts { grid-template-columns: 1fr; }
  .about-b-facts > div,
  .about-b-facts > div + div { padding: 24px 0; border-left: 0; }
  .about-b-facts > div + div { border-top: 1px solid rgba(255,255,255,.16); }
}


/* =========================================================
   HOW IT WORKS — connected timeline
   ========================================================= */
.process-a { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg); text-align: center; }
.process-a-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
}
.process-a-steps::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 16.6%;
  right: 16.6%;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-bright), rgba(31,95,214,.15));
}
.process-a-steps li { position: relative; z-index: 1; }
.process-a-dot {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 7px #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  color: var(--brand-primary);
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.process-a-steps li:hover .process-a-dot {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  box-shadow: inset 0 0 0 7px #fff, 0 0 0 8px rgba(31,95,214,.12);
}
.process-a-steps h3 { margin: 0 0 12px; font-size: 21px; letter-spacing: -0.01em; }
.process-a-steps p { max-width: 34ch; margin: 0 auto; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

@media (max-width: 800px){
  .process-a-steps { grid-template-columns: 1fr; gap: 48px; }
  .process-a-steps::after { display: none; }
}


/* =========================================================
   REVIEWS · SHARED — reviewer line
   ========================================================= */
.reviews-person { display: flex; align-items: center; gap: 14px; margin: 0; }
.reviews-person > span:last-child { display: flex; flex-direction: column; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.reviews-person small { margin-top: 2px; font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--ink-soft); }
.reviews-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-primary);
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}


/* =========================================================
   REVIEWS — featured quote + two supporting cards
   ========================================================= */
.reviews-b { padding: clamp(80px, 10vw, 140px) 0; background: var(--surface); }
.reviews-b .section-head { max-width: none; }
.reviews-b .section-head h2 { text-wrap: balance; }
.reviews-b-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.reviews-b-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 6px;
  background: #fff;
  transition: translate .3s ease, box-shadow .3s ease;
}
.reviews-b-card:hover { translate: 0 -4px; box-shadow: 0 30px 60px -32px rgba(3,14,38,.3); }
.reviews-b-card .stars { margin-bottom: 18px; }
.reviews-b-card blockquote { flex: 1; margin: 0 0 28px; }
.reviews-b-card blockquote p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink); }

.reviews-b-card--feature {
  position: relative;
  grid-row: 1 / span 2;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(36px, 4.5vw, 64px);
  color: #fff;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(31,95,214,.45), transparent 65%),
    var(--navy-deep);
}
.reviews-b-mark { position: absolute; top: clamp(32px, 4vw, 56px); left: clamp(36px, 4.5vw, 64px); width: 64px; height: 48px; color: var(--brand-bright); }
.reviews-b-card--feature .stars { margin-top: 96px; }
.reviews-b-card--feature blockquote { flex: 0; }
.reviews-b-card--feature blockquote p { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; letter-spacing: -0.015em; color: #fff; }
.reviews-b-card--feature .reviews-person > span:last-child { color: #fff; }
.reviews-b-card--feature .reviews-person small { color: rgba(255,255,255,.7); }
.reviews-b-card--feature .reviews-avatar { background: var(--brand-bright); }

.reviews-b-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-strong);
}
.reviews-b-bar-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.reviews-b-bar-score { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--brand-primary); }
.reviews-b-bar-sub { font-size: 15px; color: var(--ink-soft); }

@media (max-width: 900px){
  .reviews-b-grid { grid-template-columns: 1fr; }
  .reviews-b-card--feature { grid-row: auto; }
  .reviews-b-card--feature .stars { margin-top: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-b-card { transition: none; }
}


/* =========================================================
   FAQ · ACCORDION — built on <details>, works without JS
   ========================================================= */
.faq-b summary { list-style: none; cursor: pointer; }
.faq-b summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  transition: background-color .3s ease, border-color .3s ease, rotate .3s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--brand-primary);
  transition: background-color .3s ease, rotate .3s ease;
}
.faq-icon::after { rotate: 90deg; }
details[open] > summary .faq-icon { background: var(--brand-bright); border-color: var(--brand-bright); rotate: 180deg; }
details[open] > summary .faq-icon::before,
details[open] > summary .faq-icon::after { background: #fff; }
details[open] > summary .faq-icon::after { rotate: 0deg; }
@media (prefers-reduced-motion: reduce) {
  .faq-icon, .faq-icon::before, .faq-icon::after { transition: none; }
}


/* =========================================================
   FAQ — sticky heading + numbered accordion
   ========================================================= */
.faq-b { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg); }
.faq-b-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: start;
  gap: clamp(48px, 7vw, 120px);
}
.faq-b-head { position: sticky; top: calc(var(--hdr-h) + 40px); }
.faq-b-head h2 { margin: 0 0 22px; max-width: 14ch; }
.faq-b-head .lede { max-width: 38ch; margin-bottom: 36px; }
.faq-b-phone {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 30px 10px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand-primary);
  text-decoration: none;
  transition: box-shadow .3s ease, translate .3s ease;
}
.faq-b-phone:hover { color: var(--brand-primary); translate: 0 -2px; box-shadow: 0 16px 34px -14px rgba(3,14,38,.3); }
.faq-b-phone .ic { width: 52px; height: 52px; padding: 15px; border-radius: 50%; background: var(--brand-bright); color: #fff; }
.faq-b-phone span { display: flex; flex-direction: column; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.faq-b-phone small { font-family: var(--sans); font-weight: 400; font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); }

.faq-b-list { display: grid; gap: 14px; }
.faq-b-item {
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--surface);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.faq-b-item[open] { background: #fff; border-color: var(--rule-strong); box-shadow: 0 24px 48px -30px rgba(3,14,38,.3); }
.faq-b-item summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
}
.faq-b-num { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .08em; color: var(--brand-bright); }
.faq-b-q { font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.35; color: var(--ink); }
.faq-b-item summary:hover .faq-b-q { color: var(--brand-primary); }
.faq-b-item p { margin: 0; padding: 0 76px 26px 62px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }

@media (max-width: 900px){
  .faq-b-grid { grid-template-columns: 1fr; }
  .faq-b-head { position: static; }
  /* City page: let "Straight answers for Denton residents" run full width (2 lines on phones) */
  .city-page .faq-b-head h2 { max-width: none; }
}
@media (max-width: 640px){
  .faq-b-item summary { gap: 14px; padding: 18px; }
  .faq-b-item p { padding: 0 18px 22px; }
}


/* =========================================================
   QUOTE CTA — contact info + quote card
   ========================================================= */
.quote-a {
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) 0;
  color: #fff;
  background:
    radial-gradient(60% 70% at 100% 100%, rgba(31,95,214,.42), transparent 62%),
    var(--navy-deep);
  scroll-margin-top: var(--hdr-h);
}
.quote-a-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 60fr 40fr;
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}
/* Form on the left, copy on the right. The copy stays first in the markup so
   it still reads first on small screens and to screen readers. */
.quote-a-copy { grid-column: 2; grid-row: 1; }
.quote-a-card { grid-column: 1; grid-row: 1; }
.quote-a-copy h2 { margin: 0 0 22px; max-width: 13ch; font-size: clamp(30px, 4vw, 56px); }
.quote-a-copy .lede { max-width: 46ch; color: rgba(255,255,255,.82); }
.quote-a-contact { display: grid; gap: 26px; margin: 44px 0 0; }
.quote-a-contact li { display: flex; align-items: flex-start; gap: 18px; font-size: 17px; line-height: 1.5; }
.quote-a-contact .ic {
  width: 48px;
  height: 48px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: var(--brand-light);
}
.quote-a-contact small {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-light);
}
.quote-a-contact a { font-family: var(--display); font-weight: 700; font-size: 24px; color: #fff; text-decoration: none; }
.quote-a-contact a:hover { color: var(--brand-light); }

.quote-a-card {
  position: relative;
  padding: clamp(30px, 4vw, 48px);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.6);
}
.quote-a-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(30px, 4vw, 48px);
  width: 56px;
  height: 3px;
  background: var(--brand-bright);
}
.quote-a-card h3 { margin: 0 0 26px; font-size: 26px; letter-spacing: -0.015em; }

.quote-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.field em { font-style: normal; font-weight: 400; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none;
  padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%23013189' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 3px rgba(31,95,214,.2);
}
.quote-form-submit { width: 100%; margin-top: 6px; border-color: transparent; }
.quote-form-note { margin: 0; font-size: 13px; text-align: center; color: var(--ink-soft); }
.quote-card-text { margin: 0 0 26px; color: var(--ink-soft); }
a.quote-form-submit { display: flex; justify-content: center; max-width: 320px; margin: 0 auto 12px; padding: 12px 20px; font-size: 16px; }

@media (max-width: 900px){
  .quote-a-grid { grid-template-columns: 1fr; }
  .quote-a-copy,
  .quote-a-card { grid-column: auto; grid-row: auto; }
}
@media (max-width: 520px){
  .field-row { grid-template-columns: 1fr; }
}


/* =========================================================
   VISIT — map with floating info card
   ========================================================= */
.visit-a { background: var(--surface); }
.visit-a-map { height: clamp(460px, 44vw, 600px); }
.visit-a-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.visit-a-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}
.visit-a-card {
  max-width: 560px;
  padding: clamp(30px, 3.5vw, 46px);
  border-radius: 5px;
  background: #fff;
  box-shadow:
    0 2px 6px rgba(3,14,38,.08),
    0 18px 36px -8px rgba(3,14,38,.22),
    0 50px 100px -20px rgba(3,14,38,.5);
  pointer-events: auto;
}
.visit-a-card h2 { margin: 0 0 26px; font-size: clamp(25px, 2.5vw, 33px); line-height: 1.08; white-space: nowrap; }
.visit-list { display: grid; gap: 18px; margin: 0 0 32px; }
.visit-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; line-height: 1.5; }
.visit-list .ic { width: 22px; height: 22px; margin-top: 1px; color: var(--brand-bright); }
.visit-list a { color: var(--ink); font-weight: 700; text-decoration: none; }
.visit-list a:hover { color: var(--brand-bright); }

@media (max-width: 760px){
  .visit-a-map { height: 360px; }
  .visit-a-wrap { position: relative; display: block; margin-top: -72px; padding-bottom: 56px; }
  .visit-a-card { max-width: none; }
  .visit-a-card h2 { white-space: normal; }
}


/* =========================================================
   FOOTER — navy; brand + four columns, then a three-part base bar
   (copyright / social / credit). Layout matches the Eden Aesthetics footer.
   ========================================================= */
.footer-a {
  padding-top: clamp(56px, 7vw, 88px);
  background: var(--navy-deep);
  color: rgba(255,255,255,.76);
}
.footer-a-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr));
  gap: 48px clamp(28px, 3.5vw, 56px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.footer-a-brand img { display: block; width: 110px; height: auto; filter: brightness(0) invert(1); }
.footer-a-brand p { max-width: 28ch; margin: 20px 0 0; font-size: 16px; line-height: 1.6; }
.footer-a-head {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-light);
}
.footer-a-col { font-size: 15px; line-height: 1.6; color: #fff; }
.footer-a-col address { margin: 0 0 10px; font-style: normal; }
.footer-a-col p { margin: 0; }
.footer-a-col p + p { margin-top: 10px; }
.footer-a-note { font-size: 14px; color: rgba(255,255,255,.66); }
.footer-a-hours { margin: 0; }
.footer-a-hours > div + div { margin-top: 10px; }
.footer-a-hours dt { font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.66); }
.footer-a-hours dd { margin: 0; }
.footer-a-links { margin-top: -5px; }
.footer-a-links li + li { margin-top: 2px; }
.footer-a-links a { display: inline-block; padding-block: 5px; }
.footer-a-col a,
.footer-a-base p a { color: inherit; text-decoration: none; }
.footer-a-sep { display: inline-block; margin: 0 .75em; opacity: .5; }
.footer-a-col a:hover,
.footer-a-base p a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.footer-a-base {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px 24px;
  padding-block: 24px 32px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 14px;
}
.footer-a-base > p { grid-column: 1; grid-row: 1; margin: 0; }
.footer-a-social { grid-column: 2; grid-row: 1; display: flex; gap: 12px; }
.footer-a-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  color: #fff;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.footer-a-social a:hover { background: #fff; border-color: #fff; color: var(--navy-deep); }
.footer-a-social svg { width: 18px; height: 18px; }
.footer-a-credit { grid-column: 3; grid-row: 1; justify-self: end; display: inline-flex; }
.footer-a-credit a { display: inline-flex; opacity: .75; transition: opacity .2s ease; }
.footer-a-credit a:hover { opacity: 1; }
.footer-a-credit img { height: 22px; width: auto; }

@media (max-width: 1023px){
  .footer-a-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-a-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px){
  .footer-a-grid { gap: 36px 24px; }
  .footer-a-base { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .footer-a-social { grid-column: 1; grid-row: 1; }
  .footer-a-base > p { grid-column: 1; grid-row: 2; }
  .footer-a-credit { grid-column: 1; grid-row: 3; justify-self: center; }
}


/* =========================================================
   SERVICE AREA PAGE — /service-area
   Centered photo banner, opening statement, Leaflet city map
   synced to a card grid, a three-card coverage strip, then a
   full-bleed photo CTA with pill buttons.
   ========================================================= */
body.inner-page main {
  --maxw: 1440px;
  --gut: clamp(20px, 4vw, 56px);
  --body: clamp(14px, 1.05vw, 15px);
  --sa-rule-strong: rgba(3,14,38,.20);
}

/* ---- Page banner ---- */
.rev-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-block: clamp(96px, 12vw, 150px) clamp(60px, 8vw, 110px);
  text-align: center;
}
.rev-hero-bg { position: absolute; inset: 0; z-index: 0; }
.rev-hero-bg picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.rev-hero-bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 55%; }
.rev-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(125% 100% at 50% 42%, rgba(3,14,38,.12) 34%, rgba(3,14,38,.62) 100%),
    linear-gradient(180deg, rgba(3,14,38,.66) 0%, rgba(3,14,38,.5) 45%, rgba(3,14,38,.72) 100%);
}
.rev-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.rev-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.06;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.55), 0 4px 24px rgba(0,0,0,.4);
}
.rev-hero-sub {
  margin: 22px 0 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #fff;
  opacity: .94;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

/* ---- Opening statement ---- */
.about-intro { background: var(--bg); padding-block: clamp(64px, 9vw, 128px) clamp(16px, 2vw, 32px); }
.about-intro-body--center { text-align: center; }
.about-intro-inner { width: 85%; max-width: 1200px; text-align: center; }
.about-lead-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(25px, 3.9vw, 48px);
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
.about-rule {
  display: block;
  width: 116px; height: 1px;
  margin: clamp(16px, 2vw, 26px) auto;
  background: var(--sa-rule-strong);
}
.about-intro-body { max-width: 100%; margin-inline: auto; text-align: left; }
.about-intro-body p {
  margin: 0 0 clamp(16px, 1.8vw, 24px);
  font-size: var(--body);
  line-height: 1.85;
  color: var(--ink-soft);
}
.about-intro-body p:last-child { margin-bottom: 0; }

/* ---- "Where are you located?" chooser ---- */
.sa-where {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(56px, 7vw, 96px);
}
.sa-where-inner { max-width: 1160px; text-align: center; }
.sa-where-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(25px, 3.2vw, 39px);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
}
.sa-where-text {
  max-width: none;
  margin: clamp(14px, 1.6vw, 20px) auto 0;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.75;
  color: var(--ink-soft);
}
.sa-cities { scroll-margin-top: calc(var(--hdr-h) + 16px); }

/* Location CTAs: corner-bracket frames. Two opposing brackets grow into a full
   border on hover while the pale monogram darkens to navy. */
.sa-frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(32px, 4vw, 48px);
  text-align: left;
}
.sa-frame {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2vw, 26px);
  padding: 30px clamp(22px, 2.4vw, 32px);
  background: #fff;
  color: var(--navy-deep);
  text-decoration: none;
}
.sa-frame::before, .sa-frame::after {
  content: "";
  position: absolute;
  width: 28px; height: 28px;
  border: 0 solid var(--brand-primary);
  transition: width .4s cubic-bezier(.7, 0, .2, 1), height .4s cubic-bezier(.7, 0, .2, 1);
}
.sa-frame::before { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; }
.sa-frame::after { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; }
.sa-frame-mono {
  width: clamp(104px, 9.6vw, 136px);
  font: 700 clamp(38px, 3.6vw, 52px)/1 var(--display);
  letter-spacing: -.02em;
  color: #C9D8F2;
  transition: color .3s ease;
}
.sa-frame-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sa-frame-label { font: 700 clamp(18px, 1.7vw, 22px)/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.sa-frame-note { font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.sa-frame-go { width: 26px; height: 26px; color: var(--brand-primary); transition: transform .25s ease; }
.sa-frame:hover, .sa-frame:focus-visible { color: var(--navy-deep); }
.sa-frame:hover::before, .sa-frame:hover::after,
.sa-frame:focus-visible::before, .sa-frame:focus-visible::after { width: 100%; height: 100%; }
.sa-frame:hover .sa-frame-mono, .sa-frame:focus-visible .sa-frame-mono { color: var(--brand-primary); }
.sa-frame:hover .sa-frame-go, .sa-frame:focus-visible .sa-frame-go { transform: translateX(6px); }
.sa-frame:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 4px; }
@media (max-width: 760px) {
  .sa-frames { grid-template-columns: 1fr; }
  .sa-frame { grid-template-columns: 1fr auto; padding: 24px 20px; }
  .sa-frame-mono { grid-column: 1 / -1; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .sa-frame::before, .sa-frame::after { transition: none; }
}

/* ---- City map + grid ---- */
.sa-cities { padding-top: clamp(8px, 1vw, 16px); padding-bottom: clamp(64px, 8vw, 120px); background: var(--bg); }

.sa-map {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 460;
  margin: 0 auto clamp(32px, 4vw, 48px);
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(3,14,38,.16);
  overflow: hidden;
  z-index: 0;
}
@media (min-width: 901px) {
  .sa-map { aspect-ratio: 21 / 8; }
}
.sa-map.leaflet-container { font-family: var(--sans); }
.sa-map img { max-width: none; }

.sa-map .sa-dfw-label {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: .6;
  white-space: nowrap;
}
.sa-map .sa-dfw-label::before { display: none; }

.sa-map .sa-marker-label {
  background: var(--navy-deep);
  border: 0;
  box-shadow: 0 2px 6px rgba(3,14,38,.35);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.sa-map .sa-marker-label::before { border-top-color: var(--navy-deep); }

.sa-marker { background: none; border: 0; }
.sa-marker-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-primary);
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--brand-primary), 0 2px 6px rgba(3,14,38,.35);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.sa-marker-badge svg { width: 16px; height: 24px; fill: currentColor; }
.sa-marker.is-linked .sa-marker-badge { transform: scale(1.15); background: var(--brand-primary); color: #fff; }

.sa-map .leaflet-popup-content-wrapper { border-radius: 8px; }
.sa-map .leaflet-popup-content {
  margin: 8px 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.sa-map .leaflet-control-attribution {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-soft);
  background: rgba(255,255,255,.75);
}

.sa-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 20px);
}
/* Hover lift uses `translate` so it doesn't fight the scroll reveal's transform. */
.sa-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: clamp(22px, 2.4vw, 28px) clamp(18px, 2vw, 22px);
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--surface);
  transition: border-color .25s ease, translate .25s ease, background .25s ease, opacity .8s ease, transform .8s cubic-bezier(.16,.84,.3,1);
}
.sa-card:hover { border-color: var(--brand-bright); translate: 0 -2px; }
.sa-card.is-linked { border-color: var(--brand-bright); translate: 0 -2px; background: var(--surface); }
.sa-card-icon { color: var(--brand-bright); margin: 0 0 12px; display: block; fill: none; stroke: currentColor; stroke-width: 1.3; }
.sa-card-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  margin: 0;
}
.sa-card-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 6px 0 0;
  opacity: 0;
  transition: opacity .2s ease;
}
.sa-card:hover .sa-card-note,
.sa-card:focus-within .sa-card-note,
.sa-card.is-linked .sa-card-note { opacity: 1; }
.sa-card--more { background: var(--navy-deep); border-color: var(--navy-deep); }
.sa-card--more .sa-card-icon,
.sa-card--more .sa-card-name { color: #fff; }
.sa-card--more .sa-card-note { color: rgba(255,255,255,.75); }
.sa-card--more .sa-card-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.sa-card--more .sa-card-note a:hover { color: var(--brand-light); }

/* ---- Coverage strip ---- */
.addon-strip { background: #F9F9F9; padding-block: clamp(56px, 7vw, 100px); }
.addon-strip-head { text-align: center; max-width: 640px; margin: 0 auto clamp(32px, 4vw, 48px); }
.addon-strip-eyebrow {
  margin: 0 0 clamp(10px, 1.2vw, 14px);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brand-bright);
}
.addon-strip-title {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(25px, 2.8vw, 37px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink);
}
.addon-strip-sub { margin: 0; font-size: var(--body); line-height: 1.6; color: var(--ink-soft); }
.addon-strip-list {
  list-style: none;
  margin: 0 0 clamp(28px, 3.5vw, 40px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.addon-strip-card {
  padding: clamp(24px, 2.6vw, 30px) clamp(20px, 2.2vw, 26px);
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  transition: border-color .25s ease, translate .25s ease;
}
.addon-strip-card:hover { border-color: var(--brand-bright); translate: 0 -2px; }
.addon-strip-icon { color: var(--brand-bright); margin: 0 0 14px; display: block; }
.addon-strip-name {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}
.addon-strip-price {
  display: inline-block;
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--brand-bright);
}
.addon-strip-desc { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.addon-strip-foot { margin: 0; text-align: center; font-size: 14px; color: var(--ink-soft); }
.addon-strip-foot a { color: var(--brand-bright); text-decoration: underline; text-underline-offset: 3px; }

/* ---- CTA: full-bleed photo, headline + pill actions ----
   The photo dissolves into the navy footer, so the footer tightens up after it. */
.jcta {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-block: clamp(72px, 11vw, 144px) clamp(30px, 4.6vw, 64px);
  background: var(--navy-deep);
}
.jcta-bg { position: absolute; inset: 0; z-index: 0; }
.jcta-bg picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.jcta-bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 55%; }
.jcta-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3,14,38,.72) 0%, rgba(3,14,38,.42) 55%, rgba(3,14,38,.18) 100%),
    linear-gradient(180deg, rgba(3,14,38,.15) 0%, rgba(3,14,38,.3) 40%, rgba(3,14,38,.85) 82%, rgba(3,14,38,1) 100%);
}
.jcta-wrap { position: relative; z-index: 1; }
.jcta-inner {
  max-width: 1150px;
  margin-inline: 0;
  padding-left: clamp(16px, 8vw, 132px);
}
.jcta-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.jcta-title em { font-style: normal; color: var(--brand-light); }
.jcta-sub {
  margin: clamp(18px, 2vw, 26px) 0 0;
  max-width: 760px;
  font-size: var(--body);
  line-height: 1.75;
  color: rgba(255,255,255,.85);
}
.jcta-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(28px, 3.4vw, 42px); }
/* Matches .btn-pill / .btn-ghost type and sizing used elsewhere on the site */
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.pill-arrow,
.pill-icon { flex: none; }
.pill-solid { background: #fff; color: var(--ink); border-color: #fff; }
.pill-solid:hover,
.pill-solid:focus-visible { background: var(--brand-bright); color: #fff; border-color: var(--brand-bright); }
.pill-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.pill-ghost:hover,
.pill-ghost:focus-visible { background: #fff; color: var(--ink); border-color: #fff; }
main:has(> .jcta:last-child) + .footer-a { padding-top: clamp(22px, 3vw, 40px); }

@media (max-width: 900px) {
  .sa-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
  .addon-strip-list { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .about-intro-inner { width: 100%; }
}
@media (max-width: 640px) {
  .sa-grid { grid-template-columns: repeat(2, 1fr); }
  .sa-card { min-height: 0; }
}
/* Touch screens have no hover, so the town notes are always visible there. */
@media (hover: none) {
  .sa-card-note { opacity: 1; }
}


/* =========================================================
   ABOUT / TESTIMONIALS / SERVICES — /about, /testimonials, /services
   These pages share the banner, opening statement, strip, and photo
   CTA from the service-area block above.
   ========================================================= */

/* ---- About: values (editorial columns, hairline dividers) ---- */
.vals { background: var(--bg); padding-block: clamp(44px, 5.5vw, 84px) clamp(64px, 9vw, 128px); }
/* About: fade from white into the light blue of the reviews band below. */
.team + .vals:has(+ .reviews-b) { background: linear-gradient(to bottom, var(--bg), var(--surface)); padding-top: clamp(64px, 9vw, 128px); }
.vals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.vals-item {
  position: relative;
  padding: clamp(30px, 3.4vw, 48px) clamp(18px, 2vw, 30px);
  border-left: 1px solid var(--rule);
  transition: background-color .45s ease, opacity .8s ease, transform .8s cubic-bezier(.16,.84,.3,1);
}
.vals-item:first-child { border-left: 0; }
.vals-item:hover { background: var(--surface); }
.vals-item::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--brand-bright);
  transition: width .55s cubic-bezier(.2, .65, .25, 1);
}
.vals-item:hover::before { width: 100%; }
.vals-icon { display: block; margin-bottom: clamp(18px, 2vw, 26px); color: var(--brand-bright); }
.vals-icon svg {
  display: block;
  width: clamp(28px, 2.4vw, 34px);
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vals-name {
  margin: 0 0 clamp(10px, 1.2vw, 14px);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.25;
  color: var(--ink);
}
.vals-copy { margin: 0; font-size: var(--body); line-height: 1.75; color: var(--ink-soft); }
.about-intro:has(+ .vals) { padding-bottom: 0; }

/* About: values as cards on the white-to-blue fade. */
.vals--cards .vals-grid { gap: clamp(16px, 1.6vw, 24px); border-top: 0; }
.vals--cards + .reviews-b { padding-top: clamp(32px, 4vw, 56px); }
.vals--cards:has(+ .reviews-b) { padding-bottom: clamp(40px, 5vw, 72px); }
.vals--cards .vals-item {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 2.6vw, 36px) clamp(24px, 2.2vw, 32px) clamp(30px, 2.8vw, 40px);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 32px -18px rgba(1, 49, 137, .25);
  overflow: hidden;
  transition: box-shadow .45s ease, border-color .45s ease, opacity .8s ease, transform .8s cubic-bezier(.16,.84,.3,1);
}
/* Extra .vals-grid keeps these borders ahead of the column-divider rules in the mobile queries. */
.vals--cards .vals-grid .vals-item { border: 1px solid rgba(1, 49, 137, .08); }
.vals--cards .vals-grid .vals-item:hover { background: #fff; border-color: rgba(31, 95, 214, .35); box-shadow: 0 20px 40px -20px rgba(1, 49, 137, .4); }
.vals--cards .vals-item::before { top: 0; height: 3px; }
.vals--cards .vals-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: clamp(20px, 2vw, 26px);
  border-radius: 50%;
  background: rgba(31, 95, 214, .1);
}
.vals--cards .vals-icon svg { width: 26px; stroke-width: 1.5; }
.vals--cards .vals-name { font-size: clamp(18px, 1.35vw, 20px); }
@media (max-width: 1100px) {
  .vals--cards .vals-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .vals--cards .vals-grid { grid-template-columns: 1fr; }
}

/* ---- About: feature bands (photo + copy, optionally reversed) ---- */
.about-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--bg);
  margin-bottom: clamp(56px, 8vw, 104px);
}
.reviews-b + .about-feature { margin-top: clamp(56px, 8vw, 104px); }
.about-feature-media { position: relative; min-height: 420px; }
.about-feature-media picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.about-feature-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* Lance's portrait headshot: keep his face in frame when a slot crops it. */
.about-a-media img.lance-photo,
.about-feature-media img.lance-photo { object-position: 50% 22%; }
.about-feature-body { display: flex; align-items: center; padding: clamp(48px, 6vw, 104px) clamp(24px, 5vw, 96px); }
.about-feature-copy { max-width: 560px; }
.about-feature-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
}
.about-rule--left { margin-inline: 0; }
.about-feature-copy p { margin: 0 0 clamp(16px, 1.8vw, 22px); font-size: var(--body); line-height: 1.8; color: var(--ink-soft); }
.about-feature-btn { margin-top: clamp(10px, 1.4vw, 18px); }
.about-feature--reverse .about-feature-media { order: 2; }
/* About page headings use the site-wide eyebrow + accent h2 pattern (no divider rule). */
.about-page .about-intro h2 { max-width: 22ch; margin: 0 auto clamp(28px, 3.4vw, 44px); text-wrap: balance; }
.about-page .about-feature-copy h2 { margin: 0 0 24px; font-size: clamp(28px, 3.3vw, 46px); text-wrap: balance; }
.about-feature--reverse .about-feature-body { order: 1; }
.about-feature + .jcta { margin-top: 0; }
.about-feature:has(+ .jcta) { margin-bottom: clamp(56px, 8vw, 104px); }

/* ---- About: opening statement as copy left, family photo right ---- */
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 560px);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  text-align: left;
}
/* Full header width with the header's gutter, so the copy lines up with the logo. */
.about-intro--split .about-intro-inner { width: auto; max-width: var(--maxw); padding-inline: clamp(20px, 3vw, 48px); }
.about-page .about-intro--split h2 { max-width: none; margin: 0 0 clamp(24px, 3vw, 36px); font-size: clamp(26px, 3.1vw, 46px); }
.about-intro--split h2 .nowrap { white-space: nowrap; }
.about-intro-body p.about-signoff { margin-top: clamp(14px, 1.8vw, 22px); font-family: "Mrs Saint Delafield", "Snell Roundhand", "Brush Script MT", cursive; font-weight: 400; font-size: clamp(38px, 3.3vw, 50px); line-height: 1.1; word-spacing: .18em; -webkit-text-stroke: .9px currentColor; paint-order: stroke fill; color: var(--brand-primary); }
.about-signoff-dash { position: relative; top: -.18em; }
@media (max-width: 420px) { .about-intro--split h2 .nowrap { white-space: normal; } }
.about-split-photo { margin: 0 0 14px 0; }

.about-split-photo picture { display: block; border-radius: 5px; overflow: hidden; box-shadow: 14px 14px 0 var(--brand-primary); }
.about-split-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 1024px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split-photo { max-width: 480px; }
}

/* ---- About: team rows (small portrait beside name, role, bio) ---- */
.team { background: var(--surface); padding-block: clamp(72px, 9vw, 120px); }
.about-intro:has(+ .team) { padding-bottom: clamp(64px, 9vw, 128px); }
/* Match the opening statement's body width (.about-intro-inner: 85%, max 1200px). */
.team-inner { width: 85%; max-width: 1200px; }
.team .section-head { max-width: none; text-align: left; }
@media (max-width: 700px) {
  .team-inner { width: 100%; }
}
.team-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: clamp(40px, 5vw, 64px);
}
.team-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.team-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 8px 8px 0 var(--brand-primary);
}
.team-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 20%; }
.team-name { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; color: var(--ink); }
.team-role {
  margin: 6px 0 16px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-bright);
}
.team-body p:not(.team-role) { margin: 0; font-size: var(--body); line-height: 1.8; color: var(--ink-soft); }
@media (max-width: 640px) {
  .team-card { grid-template-columns: 1fr; }
  .team-photo { width: 180px; }
}

/* ---- Testimonials: masonry of quote cards ---- */
.tst { background: var(--bg); padding-block: clamp(24px, 3vw, 48px) clamp(64px, 8vw, 120px); }
.tst-grid { list-style: none; margin: 0; padding: 0; columns: 3 320px; column-gap: clamp(16px, 2vw, 24px); }
.tst-card {
  position: relative;
  break-inside: avoid;
  margin: 0 0 clamp(16px, 2vw, 24px);
  padding: clamp(26px, 2.6vw, 34px);
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--surface);
  transition: border-color .25s ease, translate .25s ease;
}
.tst-card:hover { border-color: var(--brand-bright); translate: 0 -2px; }
.tst-mark { display: block; width: 34px; height: 26px; margin-bottom: 16px; color: var(--brand-bright); }
.tst-card blockquote { margin: 0 0 22px; }
.tst-card blockquote p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink); }

/* ---- Services: icon-led cards (flex so the last partial row centers) ---- */
.svc { padding-block: clamp(72px, 10vw, 130px); background: var(--bg); }
.svc-head { text-align: center; max-width: 980px; margin: 0 auto clamp(40px, 5vw, 64px); }
.svc-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 0 clamp(14px, 1.8vw, 22px);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brand-bright);
}
.svc-eyebrow::before,
.svc-eyebrow::after { content: ""; flex: none; width: clamp(40px, 5vw, 72px); height: 1px; background: var(--brand-bright); }
.svc-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(25px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink);
}
.svc-sub { margin: clamp(14px, 1.6vw, 20px) auto 0; max-width: 680px; font-size: var(--body); line-height: 1.7; color: var(--ink-soft); }
.svci-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 2.4vw, 32px); }
.svci-card { flex: 1 1 250px; max-width: 300px; display: flex; scroll-margin-top: calc(var(--hdr-h) + 24px); }
.svci-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  padding: clamp(36px, 4vw, 46px) clamp(22px, 2.6vw, 30px);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 4px;
  transition: border-color .3s ease, box-shadow .3s ease, translate .3s ease;
}
.svci-link:hover,
.svci-link:focus-within,
.svci-card:target .svci-link { border-color: var(--brand-bright); box-shadow: 0 24px 48px rgba(3,14,38,.12); translate: 0 -4px; }
.svci-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 74px;
  height: 74px;
  margin-bottom: clamp(20px, 2.4vw, 26px);
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  transition: border-color .3s ease, color .3s ease, background-color .3s ease;
}
.svci-icon { width: 28px; height: 28px; }
.svci-link:hover .svci-icon-badge,
.svci-link:focus-within .svci-icon-badge { border-color: var(--brand-bright); color: var(--brand-bright); background: rgba(31,95,214,.06); }
.svci-label {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(16px, 1.3vw, 18px);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
}
.svci-desc { margin: 0 0 clamp(20px, 2.2vw, 26px); font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
/* Services page: headers and card titles use the same pattern as the other pages */
.services-page .section-head h2 { text-wrap: balance; }
.services-page .svc-lede { margin-top: 14px; }
.services-page .svci-label { font-size: 20px; letter-spacing: -.005em; text-transform: none; color: var(--navy-deep); }
.services-page .svci-desc { font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.services-page .addon-strip { background: var(--surface); }
.services-page .addon-strip-name { font-weight: 700; font-size: 20px; color: var(--navy-deep); }
.svci-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-bright);
  text-decoration: none;
}
.svci-more-arrow { transition: transform .3s ease; }
.svci-more:hover .svci-more-arrow,
.svci-more:focus-visible .svci-more-arrow { transform: translateX(6px); }

@media (max-width: 900px) {
  .vals-grid { grid-template-columns: repeat(2, 1fr); }
  .vals-item:nth-child(2n+1) { border-left: 0; }
  .vals-item:nth-child(2n) { border-left: 1px solid var(--rule); }
  .vals-item:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .about-feature { grid-template-columns: 1fr; }
  .about-feature-media { min-height: clamp(280px, 56vw, 440px); }
  .about-feature--reverse .about-feature-media { order: 0; }
}
@media (max-width: 560px) {
  .vals-grid { grid-template-columns: 1fr; }
  .vals-item { border-left: 0; }
  .vals-item:nth-child(2n) { border-left: 0; }
  .vals-item:nth-child(n+2) { border-top: 1px solid var(--rule); }
}


/* =========================================================
   CITY PAGES (e.g. /insurance-agency-denton-tx)
   Built from the service-area, about, and home page components.
   ========================================================= */
/* Banner text sits left on city, service, and other inner pages, with the scrim darkened on that side. */
.city-page .rev-hero, .service-page .rev-hero, .services-page .rev-hero, .about-page .rev-hero, .testimonials-page .rev-hero, .service-area .rev-hero, .contact-page .rev-hero { text-align: left; }
.city-page .rev-hero-inner, .service-page .rev-hero-inner, .services-page .rev-hero-inner, .about-page .rev-hero-inner, .testimonials-page .rev-hero-inner, .service-area .rev-hero-inner, .contact-page .rev-hero-inner { max-width: var(--maxw); }
.city-page .rev-hero-bg::after, .service-page .rev-hero-bg::after, .services-page .rev-hero-bg::after, .about-page .rev-hero-bg::after, .testimonials-page .rev-hero-bg::after, .service-area .rev-hero-bg::after, .contact-page .rev-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(3,14,38,.72) 0%, rgba(3,14,38,.45) 50%, rgba(3,14,38,.15) 100%),
    linear-gradient(180deg, rgba(3,14,38,.5) 0%, rgba(3,14,38,.3) 45%, rgba(3,14,38,.6) 100%);
}
/* "Insurance for ___" line above the city name. Pure CSS: the track holds
   the four lines plus a repeat of the first, so the loop resets unseen.
   Each line holds ~1.8s, then slides for ~0.75s (10.2s / 4 steps). */
.city-rotator {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 18px;
  font: 700 clamp(13px, 1.2vw, 16px)/1 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.city-rotator-sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.city-rotator-window {
  --row: 1.9em;
  display: block;
  height: var(--row);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.city-rotator-track {
  display: flex;
  flex-direction: column;
  animation: cityRotate 10.2s cubic-bezier(.7, 0, .2, 1) infinite;
}
.city-rotator-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: var(--row);
  white-space: nowrap;
  color: var(--brand-light);
}
.city-rotator-icon { width: 1.3em; height: 1.3em; flex-shrink: 0; }
@keyframes cityRotate {
  0%, 17.6%  { transform: translateY(0); }
  25%, 42.6% { transform: translateY(calc(var(--row) * -1)); }
  50%, 67.6% { transform: translateY(calc(var(--row) * -2)); }
  75%, 92.6% { transform: translateY(calc(var(--row) * -3)); }
  100%       { transform: translateY(calc(var(--row) * -4)); }
}
@media (max-width: 480px) {
  .city-rotator { gap: 8px; margin-bottom: 8px; font-size: 12px; letter-spacing: .08em; }
  .city-rotator-item { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .city-rotator-track { animation: none; }
}
/* Opening statement with Lance's headshot beside the copy. */
.city-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  max-width: 1200px;
}
.city-intro-photo { position: relative; margin: 0; }
.city-intro-photo picture { position: relative; display: block; box-shadow: 14px 14px 0 var(--brand-primary); }
.city-intro-photo img { width: 100%; height: auto; }
.city-intro-photo picture::before, .city-intro-photo picture::after {
  content: "";
  position: absolute;
  width: 44px; height: 44px;
  border: 0 solid var(--brand-bright);
  pointer-events: none;
}
.city-intro-photo picture::before { top: -14px; left: -14px; border-top-width: 3px; border-left-width: 3px; }
.city-intro-photo picture::after { bottom: -30px; right: -30px; border-bottom-width: 3px; border-right-width: 3px; }
.city-intro-photo figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 40px;
  font-size: 14px;
  color: var(--ink-soft);
}
.city-intro-photo figcaption strong { font: 700 17px/1.3 var(--display); color: var(--ink); }
.city-intro-copy { text-align: left; }
.city-intro-copy .about-lead-title { text-wrap: balance; }
@media (max-width: 900px) {
  .city-intro-grid { grid-template-columns: 1fr; }
  .city-intro-photo { max-width: 420px; margin: 14px 24px 0 14px; }
  .city-intro-photo picture { box-shadow: 10px 10px 0 var(--brand-primary); }
  .city-intro-photo picture::after { bottom: -22px; right: -22px; }
  .city-intro-photo figcaption { margin-top: 32px; }
  /* Stacked: heading + rule above the photo, body copy below it */
  .city-intro-grid { row-gap: 0; }
  .city-intro-copy { display: contents; }
  .city-intro-copy .about-lead-title { order: -2; }
  .city-intro-copy .about-rule { order: -1; margin-bottom: 28px; }
  .city-intro-copy .about-intro-body { margin-top: 40px; }
}
.city-near { padding-top: clamp(64px, 8vw, 120px); background: var(--surface); }
/* City names that link to a page: the whole card is the click target. */
.sa-card-name a { color: inherit; text-decoration: none; }
.sa-card-name a::after { content: ""; position: absolute; inset: 0; }
.sa-card:has(.sa-card-name a) { position: relative; }
.sa-card:hover .sa-card-name a,
.sa-card-name a:focus-visible { color: var(--brand-primary); text-decoration: underline; text-underline-offset: 3px; }
.city-near-foot { margin: clamp(32px, 4vw, 48px) 0 0; text-align: center; }

/* ---- City page services list: numbered two-column list ---- */
.city-svc { padding-block: clamp(56px, 7vw, 96px); }
.city-svc .section-head { max-width: 960px; margin-bottom: clamp(32px, 4vw, 48px); }
.city-svc .section-head h2 { text-wrap: balance; }
.city-svc-foot { margin: clamp(28px, 3.4vw, 40px) 0 0; text-align: center; }

.csb { background: var(--surface); }
.csb-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 5vw, 72px);
  border-top: 1px solid var(--rule-strong);
}
.csb-list li { border-bottom: 1px solid var(--rule-strong); }
.csb-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
  padding: 22px 12px;
  color: var(--navy-deep);
  text-decoration: none;
  transition: background-color .25s ease;
}
.csb-num { width: 2.2em; font: 700 13px/1 var(--display); letter-spacing: .12em; color: var(--brand-bright); }
.csb-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.csb-name { font: 700 clamp(18px, 1.6vw, 21px)/1.2 var(--display); }
.csb-desc { font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.csb-go { width: 22px; height: 22px; color: var(--brand-primary); transition: transform .25s ease; }
a.csb-row:hover, a.csb-row:focus-visible { background: #fff; color: var(--navy-deep); }
a.csb-row:hover .csb-name, a.csb-row:focus-visible .csb-name { color: var(--brand-primary); }
a.csb-row:hover .csb-go, a.csb-row:focus-visible .csb-go { transform: translateX(6px); }
.csb-row:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: -3px; }

@media (max-width: 900px) {
  .csb-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .csb-go { transition: none; }
}


/* =========================================================
   SERVICE PAGES (e.g. /auto-insurance)
   Reuse the city page banner and home/about sections; the banner
   kicker, quick quote, and coverage grid are service-page only.
   ========================================================= */
.svc-page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font: 700 clamp(12px, 1.1vw, 14px)/1.3 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-light);
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.svc-page-kicker .ic { width: 18px; height: 18px; }

/* Screen-reader-only text (form legends, input labels). */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---- Service page quick quote: copy + coverage picker left, vehicle right ---- */
.aq { background: var(--bg); padding-block: clamp(64px, 8vw, 112px); overflow-x: clip; }
.aq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 3vw, 40px) clamp(32px, 4vw, 64px);
  max-width: 1360px;
}
.aq-title {
  grid-column: 1 / -1;
  max-width: 1100px;
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3.3vw, 44px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
.aq-lede { margin: 22px 0 0; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; color: var(--ink); }
.aq-lede--first { margin-top: 0; }
.aq-bundle { margin: 22px 0 0; font-size: 15px; color: var(--ink-soft); }
.aq-form { margin-top: 22px; max-width: 540px; }
.aq-options { margin: 0; padding: 0; border: 0; display: grid; gap: 12px; }
.aq-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1.5px solid var(--rule-strong);
  border-radius: 6px;
  background: #fff;
  font: 600 16px/1.2 var(--display);
  color: var(--navy-deep);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.aq-option input { position: absolute; opacity: 0; pointer-events: none; }
.aq-radio {
  position: relative;
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 2px solid var(--ink-soft);
  border-radius: 50%;
  transition: border-color .2s ease, background-color .2s ease;
}
.aq-option:hover { border-color: var(--brand-primary); }
.aq-option:has(input:checked) { border-color: var(--navy-deep); box-shadow: inset 0 0 0 1px var(--navy-deep); }
.aq-option input:checked + .aq-radio { border-color: var(--brand-primary); background: var(--brand-primary); }
.aq-option input:checked + .aq-radio::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.aq-option:has(input:focus-visible) { outline: 3px solid var(--brand-bright); outline-offset: 2px; }
.aq-start { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.aq-zip {
  flex: 0 1 170px;
  min-width: 0;
  padding: 14px 16px;
  border: 0;
  border-bottom: 2px solid var(--ink-soft);
  background: var(--surface);
  font: 400 17px/1.2 var(--sans);
  color: var(--ink);
}
.aq-zip:focus { outline: none; border-bottom-color: var(--brand-primary); background: var(--sky); }
.aq-submit { flex: 0 0 auto; padding: 15px 36px; cursor: pointer; }
.aq-call { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--brand-primary); }
/* On desktop the vehicle column bleeds past the page gutter to the screen's right edge. */
.aq-media { position: relative; margin-right: calc(-1 * (var(--gut) + max(0px, (100vw - 1360px) / 2))); }
.aq-media::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sky);
  transform: translate(-50%, -58%);
}
.aq-media picture { position: relative; z-index: 1; display: block; }
.aq-media img { width: 100%; height: auto; }
@media (max-width: 900px) {
  .aq-grid { grid-template-columns: 1fr; }
  .aq-title { order: -2; }
  .aq-media { order: -1; max-width: 520px; margin-top: 8px; margin-right: 0; }
  .aq-media::before { transform: translate(-50%, -50%); width: 70%; }
}
@media (max-width: 480px) {
  .aq-start { flex-wrap: nowrap; gap: 10px; }
  .aq-zip { flex: 1 1 auto; }
  .aq-submit { padding: 14px 20px; font-size: 14px; }
}

/* ---- Service page coverage section: vertical tabs + detail panel ---- */
.cov { background: var(--surface); padding-block: clamp(64px, 8vw, 112px); }
.cov .section-head { max-width: 960px; margin-bottom: clamp(36px, 4vw, 56px); }
.cov .section-head h2 { text-wrap: balance; }
.cov-tag {
  font: 700 11px/1.3 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-bright);
}
.cov-sub { margin: 14px 0 0; color: var(--ink-soft); }
.cov-note { margin: clamp(24px, 3vw, 36px) 0 0; text-align: center; font-size: 14px; color: var(--ink-soft); }
.cov-good {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--brand-bright);
  background: var(--sky);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
/* Texas liability minimums, shown inside the Liability panel. */
.cov-limits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}
.cov-limits div { padding: 16px 14px; border-radius: 6px; background: var(--surface); border-top: 3px solid var(--brand-bright); }
.cov-limits dt { font: 700 clamp(24px, 2.4vw, 32px)/1 var(--display); color: var(--navy-deep); }
.cov-limits dd { margin: 8px 0 0; font-size: 13px; line-height: 1.35; color: var(--ink-soft); }

.cvb {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  max-width: 1160px;
  margin: 0 auto;
  align-items: start;
}
.cvb-tabs { position: relative; display: grid; gap: 6px; }
.cvb-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font: 700 16px/1.25 var(--display);
  color: var(--navy-deep);
  text-align: left;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.cvb-tab > span { display: flex; flex-direction: column; gap: 2px; }
.cvb-tab .cov-tag { font-size: 11px; }
.cvb-tab-icon { width: 38px; height: 38px; padding: 8px; flex-shrink: 0; border-radius: 8px; background: var(--sky); color: var(--brand-primary); }
.cvb-tab:hover { background: #fff; border-color: var(--rule); }
.cvb-tab[aria-selected="true"] { background: var(--navy-deep); color: #fff; }
.cvb-tab[aria-selected="true"] .cov-tag { color: var(--brand-light); }
.cvb-tab[aria-selected="true"] .cvb-tab-icon { background: rgba(255,255,255,.12); color: #fff; }
.cvb-tab:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 2px; }
.cvb-panel {
  padding: clamp(28px, 3vw, 44px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 22px 50px -26px rgba(3,14,38,.3);
}
.cvb-panel p { margin: 12px 0 0; font-size: 16px; line-height: 1.7; color: var(--ink); }
.cvb-panel-icon { width: 58px; height: 58px; padding: 13px; margin-bottom: 16px; border-radius: 12px; background: var(--sky); color: var(--brand-primary); }
.cvb-name { margin: 6px 0 0; font: 700 clamp(26px, 2.6vw, 34px)/1.15 var(--display); color: var(--navy-deep); }
.cvb-panel .cvb-short { font-weight: 700; color: var(--navy-deep); }
.js .cvb-panel[hidden] { display: none; }

@media (max-width: 800px) {
  .cvb { grid-template-columns: 1fr; }
  .cvb-tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; }
}
@media (max-width: 560px) {
  .cov-limits { grid-template-columns: 1fr; }
  .cov-limits div { display: flex; align-items: baseline; gap: 12px; }
  .cov-limits dd { margin: 0; }
}

/* ---- "Who we help": intro column + staggered 2x2 cards ---- */
.who { padding-block: clamp(64px, 8vw, 112px); }
.wa { background: var(--bg); }
/* Auto page "How it works": own tinted band, tighter top than the default process section */
.wa + .process-a { padding-top: clamp(56px, 6vw, 88px); background: #F6F7FB; }
.wa + .process-a .section-head { margin-bottom: clamp(36px, 4.2vw, 56px); }
.wa-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  max-width: 1280px;
}
.wa-intro h2 { margin: 0; font: 700 clamp(26px, 3vw, 40px)/1.12 var(--display); color: var(--ink); text-wrap: balance; }
.wa-intro p:not(.eyebrow) { margin: 18px 0 28px; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
/* Taller card stacks: the intro stays pinned beside the cards as they scroll past. */
.wa--sticky .wa-grid { align-items: start; }
.wa--sticky .wa-intro { position: sticky; top: calc(var(--hdr-h) + 40px); }
.wa-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.wa-card {
  padding: 28px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--rule);
  transition: translate .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.wa-card:hover { translate: 0 -4px; background: #fff; box-shadow: 0 20px 44px -22px rgba(3,14,38,.3); }
.wa-card:nth-child(even) { translate: 0 28px; }
.wa-card:nth-child(even):hover { translate: 0 24px; }
.wa-icon { width: 50px; height: 50px; padding: 12px; border-radius: 50%; background: var(--brand-primary); color: #fff; }
.wa-name { margin: 18px 0 8px; font: 700 20px/1.25 var(--display); color: var(--navy-deep); }
.wa-copy { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }

@media (max-width: 1024px) {
  .wa-grid { grid-template-columns: 1fr; }
  .wa--sticky .wa-intro { position: static; }
}
@media (max-width: 560px) {
  .wa-cards { grid-template-columns: 1fr; }
  .wa-card:nth-child(even), .wa-card:nth-child(even):hover { translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-card { transition: none; }
}

/* ---- Service page reviews: dark wall of Google-style cards ---- */
.rv { padding-block: clamp(64px, 8vw, 112px); }
.rv blockquote { margin: 0; }
.rv blockquote p { margin: 0; }
.rv .stars { margin-bottom: 14px; }

.rvc { background: var(--navy-deep); }
.rvc .section-head .eyebrow { color: var(--brand-light); }
.rvc .section-head h2 { color: #fff; }
.rvc .section-head .accent { color: var(--brand-light); }
.rvc-wall { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; columns: 3 300px; column-gap: 20px; }
.rvc-card {
  break-inside: avoid;
  margin-bottom: 20px;
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.6);
}
.rvc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.rvc-top .reviews-person { margin: 0; }
.rvc-g {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sky);
  font: 700 14px/1 var(--display);
  color: var(--brand-primary);
}
.rvc-card .stars { margin-bottom: 10px; }
.rvc-card blockquote p { font-size: 15px; line-height: 1.65; color: var(--ink); }
.rvc-foot { margin: 16px 0 0; text-align: center; }



/* =========================================================
   LEGAL PAGE (/privacy-policy) + 404
   Plain reading layout: no banner, one narrow text column.
   ========================================================= */
.legal { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 120px); }
.legal-inner { max-width: 1100px; }
.legal-title {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.1;
  color: var(--navy-deep);
}
.legal-date { margin: 10px 0 32px; color: var(--ink-soft); font-size: 15px; }
.legal h2 {
  margin: 40px 0 12px;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.25;
  color: var(--navy-deep);
}
.legal p, .legal li, .legal address { font-size: 17px; line-height: 1.7; color: var(--ink); }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 1.3em; list-style: disc; }
.legal li { margin-bottom: 8px; }
.legal address { font-style: normal; }
.legal h3 { margin: 24px 0 8px; font-size: clamp(17px, 1.8vw, 19px); line-height: 1.3; color: var(--navy-deep); }

.nf { padding-block: clamp(64px, 10vw, 140px); text-align: center; }
.nf-inner { max-width: 720px; }
.nf-code {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brand-bright);
}
.nf-title { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; color: var(--navy-deep); }
.nf-lede { margin: 20px auto 32px; max-width: 56ch; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.nf-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 26px;
  margin-top: 44px; padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.nf-links a { font-weight: 700; }
/* About hero: the subjects' faces sit high in the frame, so keep them in the short banner crop. */
.rev-hero-bg img.about-hero-img { object-position: center top; }
