/* ==========================================================================
   Mainstream Compliance Inspections — Website stylesheet
   Design protocol: see DESIGN-PROTOCOL.md (tokens, components, voice, legal).
   Layout: one 12-column grid (8 on tablet, 4 on phone) with fixed outer
   margins and an 8-pt spacing scale. Every section snaps to the same columns.
   Visual language: the Mainstream brand kit (navy / cyan / white).
   Toggle the grid overlay with Shift+G, or add ?grid to any URL.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;

  /* Brand palette — ONLY these colors. Sampled from the Mainstream vector logo files.
     navy + cyan + white + tint; everything else is a neutral derived from navy. */
  --navy: #00244F;          /* Clean Navy — text, buttons, dark bands */
  --navy-900: #001834;      /* deeper navy — utility bar, hover on navy */
  --cyan: #009DC5;          /* Corporate Blue — accents, icons, rules, large type, cyan bands */
  --white: #FFFFFF;
  --tint: #EEF5F8;          /* the one light panel color (brochure) */

  --ink: #10233D;           /* body text (navy-based neutral) */
  --muted: #4A5B70;         /* secondary text */
  --on-navy-muted: rgba(255,255,255,.8); /* secondary text on navy */
  --line: #D3DFE6;
  --line-strong: #B4C6D2;
  --error: #B42318;         /* form validation errors only */

  /* Type — Helvetica Neue per brand kit. Neue Haas Grotesk (Adobe Fonts)
     is listed first so a web-licensed kit can be dropped in. */
  --font-display: "neue-haas-grotesk-display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: "neue-haas-grotesk-text", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --fs-display: clamp(2.6rem, 1.55rem + 3.6vw, 4.6rem);
  --fs-h1: clamp(2.35rem, 1.5rem + 2.8vw, 4rem);
  --fs-h2: clamp(1.95rem, 1.35rem + 1.8vw, 3rem);
  --fs-h3: clamp(1.35rem, 1.18rem + .55vw, 1.7rem);
  --fs-lede: clamp(1.125rem, 1.05rem + .3vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --fs-xs: .8125rem;

  /* Layout grid — 12 columns ≥1024px, 8 columns 640–1023px, 4 columns <640px */
  --max: 1280px;                               /* content width (12 columns + 11 gaps) */
  --margin: clamp(20px, 5.5vw, 80px);          /* outer page margin */
  --gap: clamp(16px, 2.2vw, 32px);             /* column gutter */
  --cols: 12;
  --container: min(100vw - 2 * var(--margin), var(--max));
  --col: calc((var(--container) - (var(--cols) - 1) * var(--gap)) / var(--cols));

  /* Spacing scale (8-pt) */
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 48px; --sp-6: 64px; --sp-7: 96px; --sp-8: 128px;
  --section: clamp(72px, 9vw, 128px);          /* section top/bottom padding */
  --section-sm: clamp(48px, 6vw, 80px);
  --head-gap: clamp(40px, 5vw, 64px);          /* section heading → content */
  --pad-card: clamp(24px, 2.6vw, 40px);        /* inner padding of cards and panels */

  /* Icon size scale */
  --icon-xl: 48px; --icon-lg: 40px; --icon-md: 32px; --icon-sm: 28px; --icon-xs: 20px;

  /* legacy aliases */
  --wrap: var(--max);
  --gutter: var(--margin);
  --header-h: 80px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);   /* motion: quick start, long soft landing */
  interpolate-size: allow-keywords;          /* lets FAQ answers animate to their natural height */
}
@media (max-width: 1023px) { :root { --cols: 8; } }
@media (max-width: 639px) { :root { --cols: 4; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* conditional form questions and other hidden parts stay hidden, whatever their display style */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration-color: var(--cyan); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
a:hover { color: var(--navy); text-decoration-thickness: 2.5px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -.025em;
  line-height: 1.05;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -.02em; }
h4 { font-size: 1.125rem; letter-spacing: -.01em; line-height: 1.25; }
strong { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
::selection { background: var(--cyan); color: var(--white); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.mark { fill: currentColor; stroke: none; }
/* Icon treatments
   none    — line only (grids, navigation, form choices, notes, interface glyphs)
   partial — soft cyan circle offset to the upper right, behind the line (feature icons that introduce a concept)
   solid   — white circle the icon sits inside (icons that anchor rows on tint backgrounds) */
.icon-badge { position: relative; isolation: isolate; display: inline-grid; place-items: center; flex: none; }
.icon-badge--partial::before {
  content: ""; position: absolute; z-index: -1; width: 66%; aspect-ratio: 1; border-radius: 50%;
  top: 2%; right: -12%; background: rgba(0,157,197,.24);
}
.icon-badge--solid { width: var(--badge-size, 64px); height: var(--badge-size, 64px); border-radius: 50%; background: var(--white); }

/* Line weight follows the icon size scale (constant on screen within each step):
   40–48px → 2px · 32px → 1.75px · 28px → 1.5px. Interface glyphs keep the 2px base. */
.pillar .icon, .svc-detail__icon .icon, .svc-item__body .icon, .iconsheet__cell .icon { stroke-width: 2; }
.mega__link .icon, .audience__list .icon, .role-note > .icon, .choice__icon, .page-note .icon { stroke-width: 1.75; }
.mobile-menu a .icon, .draft-flag .icon, .contact-list > li > .icon { stroke-width: 1.5; }
/* Small glyphs (18px and under) get the lightest line so they never look crowded */
.header-phone .icon, .mega-toggle .icon, .faq-item__toggle .icon, .dropdown__check, .form-foot__note .icon,
.source-note .icon, .ob-save .icon, .page-hero__meta .icon { stroke-width: 1.5; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 12px 18px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--margin)); margin-inline: auto; padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); }
/* Full-bleed grid: same columns as .wrap, plus margin tracks so panels can run to the viewport edge */
.bleed { display: grid; grid-template-columns: [full-start] minmax(calc(var(--margin) - var(--gap)), 1fr) [content-start] repeat(var(--cols), minmax(0, calc((var(--max) - (var(--cols) - 1) * var(--gap)) / var(--cols)))) [content-end] minmax(calc(var(--margin) - var(--gap)), 1fr) [full-end]; column-gap: var(--gap); }
.section { padding-block: var(--section); }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--cyan { background: var(--cyan); color: var(--navy); }
.section--tight { padding-block: var(--section-sm); }

/* Preheader: small uppercase label with a solid line beneath, as wide as the text.
   (Not an outlined box — that would read as an outline button.) */
.eyebrow {
  display: block; width: fit-content; justify-self: start;
  margin: 0 0 var(--sp-3); padding-bottom: 12px;
  --eyebrow-line: var(--cyan);
  background: linear-gradient(var(--eyebrow-line), var(--eyebrow-line)) 0 100% / 100% 2px no-repeat;
  font-size: var(--fs-xs); font-weight: 700; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy);
}
.section--navy .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--white); }
.section--cyan .eyebrow, .cta-band .eyebrow { color: var(--navy); --eyebrow-line: var(--navy); }

.lede { font-size: var(--fs-lede); line-height: 1.5; font-weight: 500; letter-spacing: -.005em; color: var(--navy); }
/* Body copy that follows a lead paragraph steps back */
.lede ~ p:not(.eyebrow):not(.lede) { color: var(--muted); }
/* Lead paragraph in brand cyan on white sections. Cyan on white is 3:1, so it is used only where the lede
   is large text (24px, from 640px up). On tint (2.9:1) and on phones (smaller lede) it stays navy. */
@media (min-width: 640px) {
  .section:not(.section--tint):not(.section--cyan):not(.section--navy) .lede { font-size: 1.5rem; line-height: 1.45; color: var(--cyan); }
}
.muted { color: var(--muted); }
.accent { color: var(--cyan); }
.section-head { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); margin-bottom: var(--head-gap); }
.section-head > * { grid-column: 1 / span 8; }
.section-head--split { align-items: end; }
.section-head--split > :first-child { grid-column: 1 / span 6; }
.section-head--split > :last-child { grid-column: 8 / span 5; }
@media (max-width: 1023px) {
  .section-head > *, .section-head--split > :first-child, .section-head--split > :last-child { grid-column: 1 / -1; }
  .section-head--split > :last-child { margin-top: var(--sp-2); }
}
.section-head p:last-child { margin-bottom: 0; }

/* ---------- 3. Buttons & links ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.5em;
  border: 2px solid var(--btn-bd); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 1.0625rem; font-weight: 600; line-height: 1.1; text-decoration: none;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { --btn-bg: var(--navy-900); --btn-bd: var(--navy-900); color: var(--white); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .2s var(--ease); }
.btn:hover .icon--move, .btn:hover .icon:has(> use[href="#i-arrow-right"]) { transform: translateX(4px); }
.btn--navy { --btn-bg: var(--navy); --btn-bd: var(--navy); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy); }
.btn--outline:hover { --btn-bg: var(--navy); --btn-bd: var(--navy); color: var(--white); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-bd: var(--white); }
.btn--light:hover { --btn-bg: var(--tint); --btn-bd: var(--tint); color: var(--navy); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.75); }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-bd: var(--white); color: var(--navy); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--sm { min-height: 44px; padding: .55em 1.15em; font-size: .95rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; color: var(--navy); text-decoration: none;
}
.link-arrow .icon { width: 1.1em; height: 1.1em; color: var(--cyan); transition: transform .2s var(--ease); }
.section--cyan .link-arrow .icon, .cta-band .link-arrow .icon { color: currentColor; }
.link-arrow {
  padding-bottom: 3px;
  background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .35s var(--ease-out), color .2s var(--ease);
}
.link-arrow:hover { color: var(--navy); text-decoration: none; background-size: calc(100% - 1.55em) 1.5px; }
.section--cyan .link-arrow { background-image: linear-gradient(var(--navy), var(--navy)); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--navy { color: var(--navy); }
.link-arrow--light { color: var(--white); }
.link-arrow--light:hover { color: var(--white); }

/* ---------- 4. Header & navigation ---------- */
/* Thin cyan top edge (letterhead / proposal cover), clean text navigation, one action. */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-top: 4px solid var(--cyan); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); height: calc(var(--header-h) - 4px); }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { width: clamp(168px, 14vw, 210px); height: auto; }
/* Optical centering: the drop's tip rises above the wordmark, so centering the image box leaves the
   wordmark + tagline (the visual weight) sitting low. Shift up so that block is centered instead:
   block center is 15.75 of the logo's 128 viewBox units below the box center = 12.3% of its height. */
.brand img { transform: translateY(-12.3%); }

.primary-nav { display: flex; align-self: stretch; }
.nav-list { display: flex; align-items: stretch; gap: clamp(18px, 2.4vw, 36px); list-style: none; }
.nav-item { display: flex; align-items: center; }
.nav-link {
  position: relative; display: flex; align-items: center; height: 100%;
  color: var(--navy); font-size: .98rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-link:hover { color: var(--navy); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .has-mega:hover .nav-link::after { transform: scaleX(1); }
.mega-toggle { display: flex; align-items: center; height: 100%; padding: 0 0 0 6px; border: 0; background: none; color: var(--navy); cursor: pointer; }
.mega-toggle .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.mega-toggle[aria-expanded="true"] .icon, .has-mega:hover .mega-toggle .icon { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  color: var(--navy); font-size: .98rem; font-weight: 600; text-decoration: none;
}
.header-phone .icon { width: 18px; height: 18px; color: var(--cyan); }
.header-phone:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: .3em; }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-strong);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.has-mega:hover .mega, .mega.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.mega__inner { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); max-width: calc(var(--max) + 2 * var(--margin)); margin-inline: auto; padding-inline: var(--margin); }
.mega__intro { grid-column: 1 / span 3; padding: var(--sp-5) var(--sp-4) var(--sp-5) 0; border-right: 1px solid var(--line); }
.mega__lead { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; letter-spacing: -.015em; color: var(--navy); margin-bottom: 18px; }
.mega__grid { grid-column: 4 / -1; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: var(--sp-3) 0; gap: 4px; }
.mega__link {
  display: flex; gap: 14px; align-items: flex-start; height: 100%;
  padding: 16px; color: var(--ink); text-decoration: none; transition: background .2s var(--ease);
}
.mega__link:hover { background: var(--tint); color: var(--ink); }
.mega__link .icon { transition: transform .4s var(--ease-out); }
.mega__link:hover .icon { transform: translateY(-3px); }
.mega__link .icon { width: var(--icon-md); height: var(--icon-md); color: var(--navy); }
.mega__link strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 2px; }
.mega__link span { display: block; color: var(--muted); font-size: .875rem; line-height: 1.45; }

/* Mobile nav */
.menu-toggle {
  display: none; align-items: center; gap: 8px; padding: 8px 0 8px 8px;
  border: 0; background: none; color: var(--navy); font-weight: 600; cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.mobile-menu { display: none; }
@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .primary-nav, .header-phone { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu[data-open="true"] {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-strong);
  }
}
@media (max-width: 639px) { .header-actions__cta { display: none; } }
.mobile-menu ul { list-style: none; }
.mobile-menu__group { padding: 8px 0; border-bottom: 1px solid var(--line); }
.mobile-menu__label { padding: 16px var(--gutter) 6px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mobile-menu a {
  display: flex; align-items: center; gap: 12px; padding: 13px var(--gutter);
  color: var(--navy); font-weight: 600; text-decoration: none;
}
.mobile-menu a:hover { background: var(--tint); }
.mobile-menu a .icon { width: 28px; height: 28px; color: var(--navy); }
.mobile-menu__ctas { display: grid; gap: 10px; padding: 20px var(--gutter) 28px; }
.mobile-menu__ctas .btn { padding: .8em 1.5em; justify-content: center; color: var(--btn-fg); }
.mobile-menu__ctas .btn:hover { background: var(--btn-bg); }

/* ---------- 6. Media slots (photography with branded fallback) ---------- */
.media {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
}
.media__img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .6s var(--ease); }
.media.is-loaded .media__img { opacity: 1; }
.media__mark { position: absolute; right: -6%; bottom: -16%; height: 118%; width: auto; aspect-ratio: 71 / 99; color: rgba(255,255,255,.07); pointer-events: none; }
.media.is-loaded .media__mark { display: none; }
.media__slot {
  position: absolute; left: 16px; top: 14px; z-index: 3;
  display: none; align-items: center; gap: 6px;
  color: rgba(255,255,255,.55);
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.media.is-empty .media__slot { display: inline-flex; }
.media--light { background: var(--tint); }
.media--light .media__mark { color: rgba(0,157,197,.12); }
.media--ratio-4x3 { aspect-ratio: 4 / 3; }
.media--ratio-16x10 { aspect-ratio: 16 / 10; }
.media--ratio-4x5 { aspect-ratio: 4 / 5; }

/* ---------- 7. Home hero — full-cover photograph ---------- */
/* The photo fills the hero edge to edge under a navy overlay (darkest behind the text, left).
   Text sits on the 12-column grid, anchored low; the LL152 tool bar overlaps the bottom edge. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-start;   /* text set high in the sky; the lower part of the photo shows the buildings */
  min-height: clamp(600px, 74vh, 700px);
  padding-block: clamp(48px, 8vh, 96px) calc(var(--sp-7) + var(--sp-5));   /* content fits the set height — the hero never grows */
  background: var(--navy); color: var(--white);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg .media__img { background-position: 55% 50%; }   /* sky behind the text (set high); the water tower stands on the
   right, clear of the right edge (checked 1280–1920 wide); buildings fill the lower part */
@media (max-width: 1023px) { .hero__bg .media__img { background-position: 60% 60%; } }  /* tablets (640–1023): own 4:3 photo, hero-building-narrow.jpg — text on the sky, building and water tower on the right */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero .hero__title, .hero .hero__sub { grid-column: 1 / span 6; }   /* three-line headline, narrower column — the right third is the tower's */
  .hero .hero__lede { max-width: min(26rem, 52vw); }   /* lines end before the building at every tablet width */
  section.hero { padding-bottom: calc(var(--sp-6) + var(--sp-7)); }   /* a little more photo below the button: skyline sits under the intro */
}
/* Home hero video: same framing as the still underneath, fades in once it plays; never under reduced motion.
   Camera movement belongs in the footage itself (a CSS zoom on a flat clip read as shaking). */
.hero__video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.hero__video.is-playing { opacity: 1; }
@media (max-width: 1279px) { .hero__video { object-position: 68% 50%; } }
@media (max-width: 1023px) { .hero__video { object-position: 0% 50%; } }
@media (max-width: 639px)  { .hero__video { object-position: 15% 50%; } }
.hero__controls { position: absolute; top: var(--sp-4); left: 0; right: 0; display: flex; justify-content: flex-end; pointer-events: none; }
.hero__motion {
  pointer-events: auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
  color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.55); cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.hero__motion:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.hero__motion:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.hero__motion .icon { width: 18px; height: 18px; stroke-width: 1.5; }
@media (prefers-reduced-motion: reduce) { .hero__video, .hero__controls { display: none; } }
/* Hero photo framing: full scenes; the part of the room in shade sits behind the text */
@media (min-width: 640px) {
  .page-services .page-hero__media .media__img { background-position: 50% 70%; }   /* type on the slate wall, meters to the right */
}
/* Contact: a customer-service representative in a headset on the right; the text sits on the navy office wall on the
   left. Desktop shows the whole width; tablets shift the photo so his face stays clear of the intro. */
@media (min-width: 1024px) { .page-contact .page-hero__media .media__img { background-position: 0% 40%; } }
@media (min-width: 640px) and (max-width: 1023px) { .page-contact .page-hero__media .media__img { background-position: 40% 40%; } }
@media (max-width: 639px) {
  .hero__bg .media__img { background-position: 15% 50%; }   /* Manhattan skyline, small water tower on the left */
  .page-services .page-hero__media .media__img { background-size: auto 125%; background-position: 0% 70%; }   /* slate wall behind the type, meters to the side */
  .page-contact .page-hero__media .media__img { background-size: auto 120%; background-position: 0% 0%; }    /* phones: the navy wall behind the text */
}
@media (min-width: 480px) and (max-width: 639px) { .hero__bg .media__img { background-position: 0% 50%; } }   /* large phones: keep the main building clear of the intro */
.hero__intro { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); }
.hero__title {
  grid-column: 1 / span 7; margin: 0; color: var(--white);   /* three lines: "Compliance is / mandatory. / Headaches aren't." */
  font-size: clamp(2.6rem, 1.3rem + 4vw, 5.25rem); line-height: .96; letter-spacing: -.045em;
}
.hero__title .accent { display: block; color: var(--white); }   /* type on photos is all white */
.hero__sub {   /* a short intro with the button beside it — one compact row under the headline */
  grid-column: 1 / span 8; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-4);
  margin-top: var(--sp-4); position: relative;   /* no rule between the headline and the intro */
}
.hero__lede { flex: 1 1 22rem; min-width: 0; max-width: 30rem; margin: 0; font-size: 1.0625rem; line-height: 1.5; color: var(--white); }
.hero__actions { flex: none; margin: 0; justify-content: flex-start; }

/* LL152 tool bar */
.finder-wrap { position: relative; z-index: 2; margin-top: calc(-1 * var(--sp-7)); }
.finder {
  display: grid; grid-template-columns: 1.25fr 1fr 1.25fr auto; gap: var(--sp-4); align-items: center;
  padding: var(--pad-card); background: var(--tint); border-top: 3px solid var(--cyan);   /* very light panel (client's choice); white fields sit on it */
}
.finder .eyebrow { margin-bottom: var(--sp-2); padding-bottom: 8px; }
.finder h2 { margin: 0; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.85rem); }
.finder__label { display: block; margin-bottom: var(--sp-1); font-size: .9rem; font-weight: 600; color: var(--navy); }
.finder .field__help { margin-top: var(--sp-1); }
.finder__result { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-left: var(--sp-4); border-left: 1px solid var(--line); }
.finder__year { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2); align-items: center; margin: 0; }
.finder__year strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--navy); }
.finder__year span { font-size: .95rem; line-height: 1.4; color: var(--ink); }
.finder__detail { margin: var(--sp-1) 0 0; font-size: .88rem; color: var(--muted); }
.finder__cta { white-space: nowrap; }
.finder--search { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; }   /* intro · address or BIN · button */
.finder--search .finder__field { align-self: start; }
.finder--search .finder__cta { align-self: start; margin-top: calc(.9rem * 1.5 + var(--sp-1)); }   /* lines up with the input, below its label */
.finder--search.has-error .input { border-color: var(--error); }
.finder--search.has-error .field__help { color: var(--error); }

@media (max-width: 1023px) {
  .hero { min-height: 0; padding-block: var(--sp-7) calc(var(--sp-6) + var(--sp-6)); }
  .hero__title, .hero__sub, .hero__lede, .hero__actions { grid-column: 1 / -1; }
  .hero__sub { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .hero__lede { flex: none; max-width: 34rem; font-size: 1rem; }
  .hero__actions { justify-content: flex-start; }
  .finder-wrap { margin-top: calc(-1 * var(--sp-6)); }
  .finder { grid-template-columns: 1fr 1fr; }
  .finder__intro, .finder__cta { grid-column: 1 / -1; }
  .finder--search .finder__field { grid-column: 1 / -1; }
  .finder--search .finder__cta { margin-top: 0; justify-self: start; }
}
@media (max-width: 639px) {
  .finder { grid-template-columns: 1fr; gap: var(--sp-3); }
  .finder__result { padding: var(--sp-3) 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Deadline countdown (used in the LL157 popup) */
.countdown {
  display: flex; align-items: baseline; gap: 10px; margin: 4px 0 20px;
  padding: 2px 0 2px 16px; border-left: 3px solid var(--cyan);
  font-size: 1rem; color: var(--muted);
}
.countdown strong { color: var(--navy); font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; letter-spacing: -.02em; line-height: 1; }

/* ---------- 9. Statement ---------- */
.statement { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--sp-5); align-items: center; }
.statement > :first-child { grid-column: 1 / span 6; }
.statement > :last-child { grid-column: 8 / span 5; }
@media (max-width: 1023px) { .statement > :first-child, .statement > :last-child { grid-column: 1 / -1; } }
.statement h2 { font-size: var(--fs-h2); }
.statement__body .lede { margin-bottom: 1.1em; }
.statement__media { aspect-ratio: 5 / 4; }
@media (max-width: 1023px) { .statement__media { aspect-ratio: 4 / 3; } }

/* Note callout */
.role-note {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 18px;
  padding: var(--sp-3) var(--sp-4); background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--cyan);
}
.role-note > .icon { grid-row: span 2; width: var(--icon-md); height: var(--icon-md); color: var(--navy); }
.role-note h3, .role-note h4 { margin: 0; font-size: 1.15rem; letter-spacing: -.01em; }
.role-note p { margin: 0; color: var(--ink); font-size: .98rem; }

/* ---------- 10. Services grid (brochure "Our Services" panel) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--sp-6); list-style: none; }
.svc-grid > li { grid-column: span 3; }
.svc-item { position: relative; display: flex; flex-direction: column; }
/* Whole tile is the link target; the "Learn more" link stretches over it */
.svc-item .link-arrow::after { content: ""; position: absolute; inset: 0; }
.svc-item__rule { transition: background-color .3s var(--ease); }
.svc-item__body .icon { transition: transform .45s var(--ease-out); }
.svc-item:hover .svc-item__rule { background: var(--white); }
.svc-item:hover .svc-item__body .icon { transform: translateY(-4px); }
.svc-item:hover .link-arrow { background-size: calc(100% - 1.55em) 1.5px; }
.svc-item:hover .link-arrow .icon { transform: translateX(3px); }
.svc-item h3 { color: var(--white); font-size: clamp(1.5rem, 1.3rem + .5vw, 1.75rem); margin: 0; letter-spacing: -.025em; line-height: 1.08; min-height: 2.16em; display: flex; align-items: flex-end; }
.svc-item__rule { height: 3px; background: var(--navy); margin: 16px 0 20px; }
.svc-item__body { display: grid; grid-template-columns: var(--icon-lg) 1fr; gap: var(--sp-2); align-items: start; }
.svc-item__body .icon { width: var(--icon-lg); height: var(--icon-lg); color: var(--navy); }
.svc-item__body p { margin: 0; color: var(--navy); font-size: 1rem; line-height: 1.5; }
.svc-item .link-arrow { margin: var(--sp-2) 0 0 calc(var(--icon-lg) + var(--sp-2)); color: var(--navy); }
.svc-cta { background: var(--navy); color: var(--white); padding: var(--pad-card); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.svc-cta h3 { color: var(--white); font-size: 1.6rem; margin: 0; }
.svc-cta p { color: var(--on-navy-muted); margin: 0; font-size: 1rem; }
.svc-cta .btn { align-self: flex-start; white-space: nowrap; }
.svc-grid > .svc-cta { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; align-items: center; gap: var(--sp-2) var(--sp-5); }   /* eight services = two full rows; the "not sure" band runs below them */
.svc-grid > .svc-cta .btn { align-self: center; }
@media (max-width: 1023px) { .svc-grid > .svc-cta { grid-template-columns: 1fr; align-items: start; } .svc-grid > .svc-cta .btn { justify-self: start; } }
.section--cyan .section-head h2 { color: var(--white); }
.section--cyan .section-head p:not(.eyebrow) { color: var(--navy); font-size: var(--fs-lede); line-height: 1.5; }
@media (max-width: 1023px) { .svc-grid > li { grid-column: span 4; } }
@media (max-width: 639px) { .svc-grid { row-gap: var(--sp-5); } .svc-item h3 { min-height: 0; } }

/* ---------- 11. Pitch line + status label (Services page) ---------- */
.pitch { color: var(--navy); font-weight: 600; font-size: 1.08rem; line-height: 1.45; padding-left: var(--sp-2); border-left: 3px solid var(--cyan); }
.pitch--spaced { margin-top: var(--sp-3); }
.pill { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); vertical-align: 1px; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }

/* ---------- 12. Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--sp-5); list-style: none; }
.step { grid-column: span 3; position: relative; padding-top: var(--sp-4); border-top: 1px solid var(--line-strong); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 4px; background: var(--cyan); }
.step__num { display: block; font-family: var(--font-display); font-size: 3.2rem; font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--cyan); margin-bottom: var(--sp-3); }
.step h3 { font-size: 1.45rem; margin-bottom: .45em; }
.step p { color: var(--ink); font-size: 1rem; margin: 0; }
.role-note .link-arrow { grid-column: 2; margin-top: var(--sp-1); }
@media (max-width: 1023px) { .step { grid-column: span 4; } }

/* ---------- 13. The Mainstream Standard (pillars) ---------- */
.pillars { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap); list-style: none; }
.pillar {
  position: relative; grid-column: span 3; background: var(--tint); padding: var(--sp-5) var(--sp-4); text-align: center;
  transition: background-color .35s var(--ease);
}
/* Hover: card turns white, a cyan line draws across the top, the icon rises (cursor stays default — not a link) */
.pillar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.pillar:hover { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.pillar:hover::before { transform: scaleX(1); }
.pillar .icon-badge { margin: 0 auto var(--sp-3); transition: transform .5s var(--ease-out); }
.pillar .icon { width: var(--icon-xl); height: var(--icon-xl); color: var(--navy); }
.pillar:hover .icon-badge { transform: translateY(-5px); }
/* When the scroll reveal is active, keep its staggered delay for the entrance only — hover responds instantly */
.pillars .pillar.reveal {
  transition: opacity .9s var(--ease-out) calc(min(var(--i, 0), 6) * 90ms), transform .9s var(--ease-out) calc(min(var(--i, 0), 6) * 90ms),
              background-color .35s var(--ease) 0s;
}
.pillar h3 { font-size: 1.7rem; margin-bottom: .45em; }
.pillar p { margin: 0; font-size: 1rem; color: var(--ink); }
.standard-head { text-align: center; margin: 0 auto var(--head-gap); max-width: calc(8 * var(--col) + 7 * var(--gap)); }
.standard-head h2 { color: var(--cyan); font-size: clamp(2.4rem, 1.5rem + 3vw, 4.2rem); line-height: 1; letter-spacing: -.04em; }
@media (max-width: 1023px) { .pillar { grid-column: span 4; } }

/* ---------- 14. Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--sp-5); align-items: center; }
.audience > :first-child { grid-column: 1 / span 6; }
.audience > :last-child { grid-column: 8 / span 5; }
.audience__media { aspect-ratio: 5 / 4; }
.audience__list { list-style: none; margin-top: var(--sp-4); }
.audience__list li { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: var(--sp-3); padding: var(--sp-3) 0; border-top: 1px solid var(--line-strong); }
.audience__list li:last-child { border-bottom: 1px solid var(--line-strong); }
.audience__list .icon { width: 36px; height: 36px; color: var(--navy); }
.audience__list h3 { font-size: 1.35rem; margin-bottom: .3em; }
.audience__list p { margin: 0; font-size: 1rem; }
@media (max-width: 1023px) { .audience > :first-child, .audience > :last-child { grid-column: 1 / -1; } }

/* ---------- 15. CTA band (brochure outside panel) ---------- */
.cta-band { background: var(--cyan); color: var(--navy); position: relative; overflow: hidden; }
.cta-band__inner { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--sp-4); align-items: center; padding-block: var(--section); position: relative; z-index: 1; }
.cta-band__inner > h2 { grid-column: 1 / span 6; }
.cta-band__aside { grid-column: 7 / span 4; }   /* leaves the last two columns to the watermark */
.cta-band h2 { color: var(--white); font-size: clamp(2.4rem, 1.5rem + 2.6vw, 3.8rem); line-height: .98; letter-spacing: -.04em; margin: 0; }
.cta-band__aside p { font-size: 1.15rem; color: var(--navy); margin-bottom: .4em; }
.cta-band__aside .btn-row { margin-top: var(--sp-3); }
.cta-band__phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--navy); text-decoration: none; letter-spacing: -.01em; border-bottom: 2px solid var(--navy); }
.cta-band__phone:hover { color: var(--white); border-color: var(--white); }
/* Watermark always bleeds: sized to the band's height and pushed past the top, bottom and right edges */
.cta-band__mark { position: absolute; right: -6%; bottom: -14%; height: 124%; width: auto; aspect-ratio: 71 / 99; color: rgba(255,255,255,.12); pointer-events: none; }
@media (max-width: 1023px) { .cta-band__inner > h2, .cta-band__aside { grid-column: 1 / -1; } }

/* ---------- 16. Interior page hero ---------- */
/* Two variants, same layout and type:
   .page-hero--image  full-cover photograph under a navy overlay
   .page-hero--simple solid navy */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--white); }
.page-hero__inner { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); padding-block: var(--sp-7); }
.page-hero__inner > * { grid-column: 1 / span 7; }
.page-hero--simple .page-hero__inner > * { grid-column: 1 / span 8; }
.page-hero--image { display: flex; align-items: flex-end; min-height: clamp(420px, 56vh, 580px); }
.page-hero--image .page-hero__inner { width: 100%; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero h1 { color: var(--white); font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.4rem); line-height: 1; letter-spacing: -.035em; margin-bottom: .35em; }
.page-hero .lede { color: var(--white); margin-bottom: 0; font-size: 1.0625rem; line-height: 1.5; }   /* 17px, same as the home hero intro */
.page-contact .page-hero .lede { max-width: 34rem; }   /* intro stays on the navy wall, clear of the representative */
@media (min-width: 640px) and (max-width: 1023px) { .page-contact .page-hero .lede { max-width: min(26rem, 60vw); } }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: var(--sp-4); font-size: .95rem; color: var(--on-navy-muted); list-style: none; }
.page-hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.page-hero__meta .icon { color: var(--cyan); width: 18px; height: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: var(--sp-3); font-size: var(--fs-small); color: var(--on-navy-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,.45); }
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero--image .breadcrumb { color: var(--white); }
.page-hero--image .breadcrumb li + li::before { color: rgba(255,255,255,.7); }
@media (max-width: 1023px) {
  .page-hero__inner > *, .page-hero--simple .page-hero__inner > * { grid-column: 1 / -1; }
  .page-hero--image { min-height: 0; }
}

/* ---------- 17. Sticky sub-navigation ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav__list { display: flex; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav a {
  position: relative; display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 18px;
  color: var(--navy); font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.subnav a .icon { width: var(--icon-xs); height: var(--icon-xs); color: var(--navy); }
.subnav a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; background: var(--cyan); transform: scaleX(0); transition: transform .25s var(--ease); }
.subnav a:hover::after, .subnav a.is-active::after { transform: scaleX(1); }
.subnav li:first-child a { padding-left: 0; }
.subnav li:first-child a::after { left: 0; }

/* ---------- 18. Service detail ---------- */
.svc-detail { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--sp-5); }
.svc-detail__head { grid-column: 1 / span 4; }
.svc-detail__body { grid-column: 6 / span 7; display: grid; grid-template-columns: subgrid; align-content: start; }
.svc-detail__body > * { grid-column: 1 / span 6; }
.svc-detail__body > .facts, .svc-detail__body > .data-table-wrap, .svc-detail__body > .checklist, .svc-detail__body > .source-note { grid-column: 1 / -1; }
.svc-detail > * { min-width: 0; }
.svc-detail__head { align-self: start; position: sticky; top: calc(var(--header-h) + 92px); }
.svc-detail__icon { color: var(--navy); margin-bottom: var(--sp-3); }
.svc-detail__icon .icon { width: var(--icon-xl); height: var(--icon-xl); }
.svc-detail__head h2 { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); }
.svc-detail__head p { color: var(--muted); font-size: 1.08rem; }
.svc-detail__head .btn { margin-top: 10px; }
.svc-detail__body > h3 { font-size: 1.4rem; margin: var(--sp-4) 0 .6em; padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.svc-detail__body > h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: var(--sp-4) 0; list-style: none; }
.fact { background: var(--tint); padding: var(--sp-3); border-top: 3px solid var(--navy); }
.section--tint .fact { background: var(--white); }
.fact strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; line-height: 1.05; letter-spacing: -.03em; color: var(--navy); margin-bottom: 8px; }
.fact span { display: block; font-size: .92rem; color: var(--muted); line-height: 1.45; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checklist .icon { width: 22px; height: 22px; color: var(--cyan); margin-top: 3px; }
.checklist--2col { grid-template-columns: 1fr 1fr; gap: 12px 32px; }
@media (max-width: 639px) { .checklist--2col { grid-template-columns: 1fr; } }
.svc-detail__body .role-note { margin-top: var(--sp-4); }
.source-note { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin-top: 26px; font-size: var(--fs-small); color: var(--muted); }
.source-note a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); }
.source-note a .icon { color: var(--cyan); }
.source-note .icon { width: 15px; height: 15px; }
.data-table-wrap { overflow-x: auto; margin: 20px 0 8px; border: 1px solid var(--line); }
.data-table { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--white); }
.data-table caption { text-align: left; padding: 14px 18px; font-weight: 600; color: var(--navy); background: var(--tint); border-bottom: 1px solid var(--line); }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .98rem; }
.data-table thead th { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.data-table tbody th { color: var(--navy); font-weight: 600; }
.data-table tr:last-child td, .data-table tr:last-child th { border-bottom: 0; }
.data-table tr.is-current { background: var(--tint); }
.data-table tr.is-current th { box-shadow: inset 4px 0 0 var(--cyan); }
@media (max-width: 1023px) {
  .svc-detail__head, .svc-detail__body { grid-column: 1 / -1; }
  .svc-detail__body > * { grid-column: 1 / -1; }
  .svc-detail__head { position: static; }
  .facts { grid-template-columns: 1fr; }
}
.page-note { display: grid; grid-template-columns: var(--icon-sm) 1fr; gap: var(--sp-2); align-items: start; max-width: 900px; font-size: .95rem; color: var(--muted); }
.page-note .icon { width: var(--icon-sm); height: var(--icon-sm); color: var(--navy); }

/* ---------- 19. FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.faq-nav { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + var(--sp-3)); }
.faq-layout > :last-child { grid-column: 5 / span 8; }
.faq-nav h2 { font-size: var(--fs-xs); font-family: var(--font-text); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.faq-nav ul { list-style: none; border-left: 1px solid var(--line); }
.faq-nav a { display: block; padding: 9px 0 9px 18px; margin-left: -1px; border-left: 3px solid transparent; color: var(--navy); font-weight: 600; text-decoration: none; font-size: .98rem; }
.faq-nav a:hover, .faq-nav a.is-active { border-left-color: var(--cyan); background: var(--tint); }
.faq-search { position: relative; margin-bottom: var(--sp-5); }
.faq-search .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--cyan); pointer-events: none; }
.faq-search input { width: 100%; height: 64px; padding: 0 20px 0 54px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); font-size: 1.1rem; background: var(--white); }
.faq-search input:focus { outline: none; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.faq-group { margin-bottom: var(--sp-6); }
.faq-group > h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); padding-bottom: 16px; border-bottom: 3px solid var(--navy); margin-bottom: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: grid; grid-template-columns: 1fr 32px; gap: 20px; align-items: center;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: .2em; }
.faq-item__toggle { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--navy); transition: background .2s var(--ease), transform .25s var(--ease); }
.faq-item__toggle .icon { width: 18px; height: 18px; }
.faq-item[open] .faq-item__toggle { background: var(--navy); border-color: var(--navy); color: var(--white); transform: rotate(45deg); }
.faq-item__answer { padding: 0 0 var(--sp-3); max-width: calc(6 * var(--col) + 5 * var(--gap)); }
@media (max-width: 639px) { .faq-item__answer { max-width: none; } }
.faq-item__answer p:last-child, .faq-item__answer ul:last-child { margin-bottom: 0; }
.faq-item__answer ul { padding-left: 1.2em; margin-bottom: 1em; }
.faq-empty { display: none; padding: 32px; background: var(--tint); }
.faq-empty.is-visible { display: block; }
@media (max-width: 1023px) { .faq-layout > :last-child { grid-column: 1 / -1; } .faq-nav { display: none; } }

/* ---------- 20. Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: var(--pad-card); }
.form-card h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > .field__label, fieldset > legend { font-size: .92rem; font-weight: 600; color: var(--navy); }
.field__req { color: var(--cyan); margin-left: 2px; }
.field__opt { color: var(--muted); font-weight: 400; font-size: .85rem; margin-left: 4px; }
.field__help { font-size: .85rem; color: var(--muted); margin: -2px 0 0; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white);
  font-size: 1rem; color: var(--ink); transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300244F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--error); }
.field__error { display: none; font-size: .85rem; color: var(--error); font-weight: 500; }
.field.has-error .field__error { display: block; }
.input[readonly] { background: var(--tint); color: var(--muted); cursor: default; }   /* filled in for you (e.g. State: New York) */
/* "I agree": the submit button stays gray until it's checked; trying to go on without it turns the box red */
.btn[aria-disabled="true"], .btn[aria-disabled="true"]:hover { --btn-bg: var(--line); --btn-bd: var(--line); color: var(--muted); cursor: not-allowed; }
.btn[aria-disabled="true"] .icon { transform: none !important; }
.field.has-error .consent { color: var(--error); }
.field.has-error .consent input { outline: 2px solid var(--error); outline-offset: 2px; }
/* Building-list upload (Schedule form) — the whole box is the file picker; files can be dropped on it */
.field > .field__label { display: block; margin-bottom: var(--sp-1); }
.upload { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 2px dashed var(--line-strong); border-radius: var(--radius); background: var(--white); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.upload:hover, .upload.is-dragover { border-color: var(--navy); background: var(--tint); }
.upload:focus-within { outline: 3px solid var(--cyan); outline-offset: 2px; }
.upload.has-file { border-style: solid; border-color: var(--navy); }
.upload__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload__icon { width: var(--icon-md); height: var(--icon-md); color: var(--navy); flex: none; }
.upload__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.upload__text strong { color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.upload__text small { color: var(--muted); font-size: .85rem; }
.upload__remove { align-self: flex-start; margin-top: 6px; }
.field.has-error .upload { border-color: var(--error); }
/* Address suggestions (Google) — same look as the designed dropdowns */
.addr { position: relative; }
.addr.is-open .dropdown__list { opacity: 1; visibility: visible; transform: none; transition: opacity .18s var(--ease), transform .25s var(--ease-out), visibility 0s; }
.addr__note { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
.addr__note.is-verified { color: var(--navy); font-weight: 600; }
.addr__note .icon { width: 16px; height: 16px; color: var(--cyan); }
/* Form notes (e.g. how to create a DOB NOW account) */
.ob-note { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 16px 20px; background: var(--tint); border-left: 4px solid var(--cyan); font-size: .92rem; line-height: 1.55; color: var(--ink); }
.ob-note > .icon { width: 24px; height: 24px; color: var(--navy); stroke-width: 1.5; }
.ob-note p { margin: 0 0 8px; color: var(--navy); }
.ob-note ol { margin: 0 0 0 1.25em; padding: 0; }
.ob-note li { margin: 4px 0; }
.ob-note a { color: var(--navy); font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset > legend { padding: 0; margin-bottom: 10px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.choices--compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; background: var(--white); transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--muted); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid var(--line-strong); background: var(--white); color: transparent; transition: all .15s; }
.choice input[type="radio"] + .choice__box { border-radius: 50%; }
.choice__box .icon { width: 15px; height: 15px; stroke-width: 2; }
.choice__text { display: flex; flex-direction: column; gap: 2px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.choice__text small { font-weight: 400; color: var(--muted); font-size: .86rem; }
.choice__icon { width: var(--icon-md); height: var(--icon-md); color: var(--navy); margin-left: auto; flex: none; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--tint); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:checked + .choice__box { background: var(--navy); border-color: var(--navy); color: var(--white); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--cyan); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .92rem; color: var(--ink); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; gap: 14px; align-items: flex-start; padding: 18px 20px; margin-top: 20px; font-size: .98rem; }
.form-status.is-visible { display: grid; grid-template-columns: 24px 1fr; }
.form-status .icon { width: 24px; height: 24px; }
.form-status--success, .form-status--demo { background: var(--tint); color: var(--navy); border-left: 4px solid var(--cyan); }
.form-status--success .icon, .form-status--demo .icon { color: var(--cyan); }
.form-status--error { background: var(--white); color: var(--navy); border: 1px solid var(--line); border-left: 4px solid var(--error); }
.form-status--error .icon { color: var(--error); }
.form-status p { margin: 0; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-2); margin-top: var(--sp-4); }
.form-foot__note { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); margin: 0; }
.form-foot__note .icon { width: 16px; height: 16px; }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 639px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- 21. Contact ---------- */
.contact-layout { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--sp-5); align-items: start; }
.contact-layout > :first-child { grid-column: 1 / span 4; }
.contact-layout > :last-child { grid-column: 6 / span 7; }
/* Contact details: a ruled list, the way a corporate directory reads */
.contact-list { list-style: none; border-top: 2px solid var(--navy); }
.contact-list > li { display: grid; grid-template-columns: 28px 1fr; gap: var(--sp-3); align-items: start; padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
.contact-list > li > .icon { width: 28px; height: 28px; margin-top: 1px; color: var(--navy); }
.contact-list h3 { font-family: var(--font-text); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.contact-list a:not(.link-arrow), .contact-list address { display: block; font-style: normal; font-size: clamp(1.05rem, .62rem + .62vw, 1.2rem); font-weight: 500; line-height: 1.45; color: var(--navy); text-decoration: none; }
.contact-list a:not(.link-arrow):hover { text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.contact-list .link-arrow { margin-top: var(--sp-1); font-size: .95rem; font-weight: 600; color: var(--navy); }
.contact-aside-cta { margin-top: var(--sp-5); padding: var(--sp-4); background: var(--navy); color: var(--white); }
.contact-aside-cta h3 { color: var(--white); font-size: 1.5rem; margin-bottom: .35em; }
.contact-aside-cta p { color: var(--on-navy-muted); font-size: 1rem; }
@media (max-width: 1023px) { .contact-layout > :first-child, .contact-layout > :last-child { grid-column: 1 / -1; } }

/* ---------- 22. Onboarding ---------- */
.ob-layout { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.ob-layout > .ob-steps { grid-column: 1 / span 3; }
.ob-layout > [data-panel] { grid-column: 5 / span 8; }
.ob-layout > .ob-panel, .ob-layout > noscript { grid-column: 3 / span 8; }
.ob-steps { position: sticky; top: calc(var(--header-h) + var(--sp-3)); list-style: none; counter-reset: ob; }
.ob-steps__title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ob-step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 0 0 26px; }
.ob-step:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.ob-step.is-done:not(:last-child)::before { background: var(--cyan); }
.ob-step__num { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--line-strong); border-radius: 50%; background: var(--white); color: var(--muted); font-weight: 700; font-size: .95rem; }
.ob-step__num .icon { width: 18px; height: 18px; stroke-width: 2.5; }
.ob-step__text { padding-top: 2px; }
.ob-step__text strong { display: block; color: var(--muted); font-size: 1rem; line-height: 1.3; }
.ob-step__text span { display: block; color: var(--muted); font-size: .86rem; line-height: 1.4; margin-top: 2px; }
.ob-step > button { all: unset; grid-column: 1 / -1; display: grid; grid-template-columns: 40px 1fr; gap: 14px; cursor: pointer; }
.ob-step > button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.ob-step > button:hover .ob-step__text strong { text-decoration: underline; }
.ob-step.is-current .ob-step__num { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ob-step.is-current .ob-step__text strong { color: var(--navy); }
.ob-step.is-done .ob-step__num { background: var(--cyan); border-color: var(--cyan); color: var(--white); }
.ob-step.is-done .ob-step__text strong { color: var(--navy); }
.ob-steps__help { margin-top: 12px; padding: 22px; background: var(--tint); font-size: .92rem; }
.ob-steps__help strong { display: block; color: var(--navy); margin-bottom: 4px; }
.ob-steps__help a { font-weight: 600; color: var(--navy); }
.ob-progress { display: none; }
.ob-panel { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); }
.ob-panel__head { padding: var(--pad-card) var(--pad-card) 0; }
.ob-panel__kicker { display: block; width: fit-content; margin: 0 0 var(--sp-2); padding-bottom: 8px; border-bottom: 2px solid var(--cyan); font-size: var(--fs-xs); font-weight: 700; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.ob-panel__head h2 { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.5rem); margin-bottom: .3em; }
.ob-panel__head p { color: var(--muted); margin: 0; }
.ob-panel__body { padding: var(--pad-card); }
.ob-panel__foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: var(--sp-3) var(--pad-card); background: var(--tint); border-top: 1px solid var(--line); }
.ob-panel__foot .btn-row { margin-left: auto; }
.ob-save { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--navy); font-weight: 600; cursor: pointer; padding: 8px 0; }
.ob-save .icon { width: 18px; height: 18px; color: var(--cyan); }
.ob-save:hover { text-decoration: underline; text-decoration-color: var(--cyan); }
.ob-save-status { font-size: .86rem; color: var(--muted); }
.repeater-item { position: relative; padding: var(--sp-3); margin-bottom: var(--sp-2); border: 1px solid var(--line); background: var(--tint); }
.repeater-item__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.repeater-item__head h3 { font-size: 1.15rem; margin: 0; letter-spacing: -.01em; }
.repeater-remove { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--muted); font-size: .9rem; font-weight: 600; cursor: pointer; padding: 6px; }
.repeater-remove:hover { color: var(--error); }
.repeater-remove .icon { width: 16px; height: 16px; }
.repeater-add { display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px; width: 100%; justify-content: center; border: 1.5px dashed var(--line-strong); background: var(--white); color: var(--navy); font-weight: 600; cursor: pointer; }
.repeater-add:hover { border-color: var(--navy); background: var(--tint); }
.repeater-add .icon { width: 18px; height: 18px; color: var(--cyan); }
.review-section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.review-section:first-child { padding-top: 0; }
.review-section__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-section__head h3 { font-size: 1.2rem; margin: 0; letter-spacing: -.01em; }
.review-edit { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--navy); font-weight: 600; cursor: pointer; font-size: .92rem; }
.review-edit .icon { width: 16px; height: 16px; color: var(--cyan); }
.review-list { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 8px 20px; margin: 0; font-size: .96rem; }
.review-list dt { color: var(--muted); }
.review-list dd { margin: 0; color: var(--ink); font-weight: 500; word-break: break-word; }
.review-sub { margin: 14px 0 8px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.ob-success { text-align: center; padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px); }
.ob-success__icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--cyan); color: var(--white); }
.ob-success__icon .icon { width: 38px; height: 38px; stroke-width: 2.5; }
.ob-success h2 { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.8rem); }
.ob-success p { max-width: 520px; margin-inline: auto; color: var(--muted); }
.ob-success .btn-row { justify-content: center; margin-top: 24px; }
@media (max-width: 1023px) {
  .ob-layout > [data-panel], .ob-layout > .ob-panel { grid-column: 1 / -1; }
  .ob-steps { display: none; }
  .ob-progress { display: block; margin-bottom: 16px; }
  .ob-progress__label { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
  .ob-progress__bar { height: 6px; background: var(--line); }
  .ob-progress__bar span { display: block; height: 100%; background: var(--cyan); transition: width .3s var(--ease); }
}
@media (max-width: 639px) {
  .review-list { grid-template-columns: 1fr; gap: 2px; }
  .review-list dd { margin-bottom: 10px; }
  .ob-panel__foot .btn-row { width: 100%; }
  .ob-panel__foot .btn-row .btn { flex: 1; }
}

/* ---------- 23. Disclosures / prose ---------- */
.prose { grid-column: 1 / span 7; }
@media (max-width: 1023px) { .prose { grid-column: 1 / -1; } }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-top: 1.6em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose ul { padding-left: 1.25em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.draft-flag { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 16px 20px; background: var(--tint); border-left: 4px solid var(--cyan); font-size: .92rem; color: var(--navy); margin-bottom: 2em; }
.draft-flag .icon { width: 28px; height: 28px; color: var(--navy); }
.draft-flag p { margin: 0; }

/* ---------- 24. Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); }
.footer-main { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--sp-5); padding-block: var(--sp-7) var(--sp-6); }
.footer-brand { grid-column: 1 / span 3; }
.footer-brand img { width: 210px; height: auto; }
.footer-brand__tag { margin: var(--sp-3) 0 var(--sp-1); font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.01em; color: var(--cyan); }
.footer-brand__tag sup { font-size: .45em; }
.footer-brand__text { margin: 0; max-width: 30ch; font-size: .95rem; }
.footer-col--services { grid-column: 5 / span 3; }
.footer-col--company { grid-column: 8 / span 2; }
.footer-col--contact { grid-column: 10 / span 3; }
.footer-col h2 { margin: 0 0 var(--sp-2); font-family: var(--font-text); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-muted); }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a, .footer-col address { font-style: normal; font-size: .95rem; color: var(--white); text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--cyan); }
.footer-bottom { padding-block: var(--sp-4) var(--sp-5); border-top: 1px solid rgba(255,255,255,.14); }
.footer-legal { max-width: calc(8 * var(--col) + 7 * var(--gap)); margin: 0 0 var(--sp-3); font-size: .78rem; line-height: 1.6; color: rgba(255,255,255,.6); }
.footer-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-1) var(--sp-4); font-size: .82rem; color: rgba(255,255,255,.6); }
.footer-copy p { margin: 0; }
.footer-copy ul { display: flex; gap: var(--sp-3); list-style: none; }
.footer-copy a { color: var(--white); text-decoration: none; }
.footer-copy a:hover { text-decoration: underline; text-decoration-color: var(--cyan); }
@media (max-width: 1023px) {
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--services { grid-column: 1 / span 3; }
  .footer-col--company { grid-column: 4 / span 2; }
  .footer-col--contact { grid-column: 6 / span 3; }
  .footer-legal { max-width: none; }
}
@media (max-width: 639px) {
  .footer-col--services, .footer-col--company, .footer-col--contact { grid-column: 1 / -1; }
}

/* ---------- 25a. Designed dropdown (assets/js/dropdown.js enhances every select.select) ---------- */
.dropdown { position: relative; }
.dropdown__native { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.dropdown__button {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  width: 100%; min-height: 52px; padding: 12px 14px; text-align: left; cursor: pointer;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white);
  font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.dropdown__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown.is-empty .dropdown__value { color: var(--muted); }
.dropdown__button:hover { border-color: var(--muted); }
.dropdown__button:focus-visible, .dropdown.is-open .dropdown__button { outline: none; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.dropdown__button:disabled { cursor: not-allowed; background: var(--tint); }
.dropdown__chevron { width: 20px; height: 20px; color: var(--navy); transition: transform .3s var(--ease-out); }
.dropdown.is-open .dropdown__chevron { transform: rotate(180deg); }
.field.has-error .dropdown__button { border-color: var(--error); }

.dropdown__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40;
  max-height: 336px; overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 6px 0; list-style: none;
  background: var(--white); border: 1.5px solid var(--navy); border-top: 3px solid var(--cyan);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .25s var(--ease-out), visibility 0s linear .25s;
}
.dropdown.is-up .dropdown__list { top: auto; bottom: calc(100% + 6px); transform: translateY(6px); }
.dropdown.is-open .dropdown__list { opacity: 1; visibility: visible; transform: none; transition: opacity .18s var(--ease), transform .25s var(--ease-out), visibility 0s; }
.dropdown__list:focus { outline: none; }
.dropdown__option {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  min-height: 44px; padding: 10px 16px 10px 18px; font-size: 1rem; line-height: 1.35; color: var(--ink); cursor: pointer;
}
.dropdown__option + .dropdown__option { border-top: 1px solid var(--tint); }
.dropdown__option.is-active { background: var(--tint); }
.dropdown__option.is-active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--cyan); }
.dropdown__option[aria-selected="true"] { color: var(--navy); font-weight: 600; }
.dropdown__check { width: 18px; height: 18px; flex: none; color: var(--navy); opacity: 0; }
.dropdown__option[aria-selected="true"] .dropdown__check { opacity: 1; }
.dropdown__option[aria-disabled="true"] { color: var(--muted); cursor: default; }

/* Grid variant — short numeric choices such as community districts */
.dropdown--grid .dropdown__list {
  right: auto; min-width: 100%; display: grid; grid-template-columns: repeat(6, 44px); gap: 6px; padding: 12px;
}
.dropdown--grid .dropdown__option {
  justify-content: center; min-height: 44px; padding: 0; border: 1px solid var(--line);
  font-weight: 500; font-variant-numeric: tabular-nums; color: var(--navy);
}
.dropdown--grid .dropdown__option + .dropdown__option { border-top: 1px solid var(--line); }
.dropdown--grid .dropdown__check { display: none; }
@media (max-width: 639px) { .dropdown--grid .dropdown__list { right: 0; min-width: 0; grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.dropdown--grid .dropdown__option.is-active { background: var(--tint); border-color: var(--cyan); }
.dropdown--grid .dropdown__option.is-active::before { display: none; }
.dropdown--grid .dropdown__option[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); font-weight: 600; }

/* ---------- 25b. Announcement popup (LL157) ---------- */
.promo {
  padding: 0; border: 0; border-top: 4px solid var(--cyan); margin: auto;
  width: calc(100% - 32px); max-width: 900px; max-height: calc(100vh - 32px); overflow: auto;
  background: var(--white); color: var(--ink);
}
.promo[open] { display: grid; grid-template-columns: 1fr 1.25fr; animation: promo-in .35s var(--ease); }
.promo::backdrop { background: rgba(0,24,52,.62); }
.promo__media { min-height: 360px; }
.promo__body { position: relative; padding: clamp(32px, 4vw, 48px); }
.promo__body h2 { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.5rem); line-height: 1.04; letter-spacing: -.03em; margin-bottom: .45em; padding-right: 24px; }
.promo__body p:not(.eyebrow) { font-size: 1rem; }
.promo__body .btn-row { margin-top: 24px; align-items: center; gap: 12px 24px; }
.promo .countdown { color: var(--muted); }
.promo .countdown strong { color: var(--navy); }
.promo__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--navy); cursor: pointer; }
.promo__close:hover { background: var(--tint); }
.promo__close .icon { width: 22px; height: 22px; }
@keyframes promo-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 639px) {
  .promo[open] { grid-template-columns: 1fr; }
  .promo__media { min-height: 0; aspect-ratio: 16 / 9; }
}

/* ---------- 25d. Icon reference sheet (icons.html, internal) ---------- */
.iconsheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: var(--sp-2); list-style: none; }
.iconsheet__cell { --s: var(--icon-xl); display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); padding: var(--sp-4) var(--sp-2) var(--sp-3); border: 1px solid var(--line); color: var(--navy); }
.section--tint .iconsheet__cell { border-color: var(--line-strong); }
.section--cyan .iconsheet__cell { border-color: rgba(255,255,255,.35); }
.iconsheet__cell .icon { width: var(--s); height: var(--s); }
.iconsheet__cell span { font-size: var(--fs-xs); color: var(--muted); }
.section--cyan .iconsheet__cell span { color: var(--navy); }
.iconsheet--sizes .iconsheet__cell { justify-content: flex-end; min-height: 140px; }
.iconsheet--treat .iconsheet__cell { min-height: 170px; justify-content: flex-end; }
.iconsheet--treat .icon-badge--solid .icon { width: 36px; height: 36px; }
.iconsheet--treat .section--tint, .iconsheet__cell--tint { background: var(--tint); }

/* ---------- 25c. Grid overlay (Shift+G or ?grid) ---------- */
.grid-overlay { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.grid-overlay .wrap { height: 100%; }
.grid-overlay__cols { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); height: 100%; }
.grid-overlay__cols span { background: rgba(0,157,197,.09); box-shadow: inset 1px 0 0 rgba(0,157,197,.35), inset -1px 0 0 rgba(0,157,197,.35); }
.grid-overlay__cols span:nth-child(n + 13) { display: none; }
@media (max-width: 1023px) { .grid-overlay__cols span:nth-child(n + 9) { display: none; } }
@media (max-width: 639px) { .grid-overlay__cols span:nth-child(n + 5) { display: none; } }

/* ---------- 26. Motion ---------- */
/* Restrained and structural: things arrive in reading order, lines draw, photos settle.
   Hover feedback only on things you can click. Everything is off with "reduce motion". */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes rise-sm { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* Home hero entrance */
  .hero__title { animation: rise 1s var(--ease-out) .1s both; }
  .hero__title .accent { animation: rise 1s var(--ease-out) .28s both; }
  .hero__sub::before { animation: draw-x 1.3s var(--ease-out) .45s both; }
  .hero__lede { animation: rise .9s var(--ease-out) .55s both; }
  .hero__actions { animation: rise .9s var(--ease-out) .68s both; }
  .finder-wrap { animation: rise .9s var(--ease-out) .85s both; }
  .hero__bg.is-loaded .media__img, .page-hero__media.is-loaded .media__img { animation: settle 2.6s var(--ease-out) both; }

  /* Interior hero entrance */
  .page-hero__inner > * > * { animation: rise .9s var(--ease-out) both; }
  .page-hero__inner > * > :nth-child(1) { animation-delay: .05s; }
  .page-hero__inner > * > :nth-child(2) { animation-delay: .15s; }
  .page-hero__inner > * > :nth-child(3) { animation-delay: .27s; }
  .page-hero__inner > * > :nth-child(4) { animation-delay: .38s; }

  /* Small interactions */
  .mobile-menu[data-open="true"] { animation: menu-in .32s var(--ease-out); }
  .finder__result.is-new > * { animation: rise-sm .5s var(--ease-out) both; }
  .finder__result.is-new > * + * { animation-delay: .08s; }
  .faq-item::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete; }
  .faq-item[open]::details-content { block-size: auto; }
}

/* Scroll reveals — classes are added by main.js, so nothing is hidden without JavaScript */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(min(var(--i, 0), 6) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.eyebrow.reveal { background-size: 0 2px; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), background-size 1s var(--ease-out) .3s; }
.eyebrow.reveal.is-in { background-size: 100% 2px; }
.reveal-media { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-out); }
.reveal-media .media__img { transform: scale(1.1); transition: transform 1.8s var(--ease-out), opacity .6s var(--ease); }
.reveal-media.is-in { clip-path: inset(0); }
.reveal-media.is-in .media__img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-media { clip-path: none; }
  .eyebrow.reveal { background-size: 100% 2px; }
}

/* ---------- 27. Print ---------- */
@media print {
  .site-header, .subnav, .cta-band, .footer-main, .promo, .finder { display: none !important; }
  .page-hero, .section--navy, .section--cyan { background: none !important; color: #000 !important; }
  .page-hero h1, .section--navy h2 { color: #000 !important; }
}
