/* TSE homepage, concept D: concept C's body with concept B's photo hero and roofline dividers.
   Every theme value is a custom property. Mobile first. */

:root {
  /* brand: emerald + metallic gold, sampled from the logo */
  --em-950: #001f08;
  --em-900: #00300c;
  --em-800: #003c18;
  --em-700: #005424;
  --em-600: #0b6a33;
  --em-tint: #e6efe8;
  --em-tint-2: #d5e4d8;
  --gold-600: #a86f0c;
  --gold-500: #c08418;
  --gold-400: #d89c30;
  --gold-300: #e8b553;
  --gold-200: #fcd86c;
  --gold-ink: #7a5208;
  --gold-wash: #fbf3df;

  /* neutrals */
  --ink: #16201a;
  --muted: #4f5a53;
  --bg: #ffffff;
  --bg-soft: #f3f6f2;
  --bg-mint: #e9f0ea;
  --line: #d6ded7;
  --ui-line: #8a968c;
  --on-dark: #ffffff;
  --on-dark-muted: #c5d4c8;
  --on-dark-line: rgba(255, 255, 255, .16);
  --pass: #0b6a33;
  --redact: #16201a;
  --watermark: rgba(180, 35, 24, .13);
  --map-hot: #5e9d78; /* a11y: selected county, 3:1 against unselected (#f8faf7) */

  /* focus */
  --focus-inner: #00300c;
  --focus-outer: #fcd86c;

  /* type */
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Cinzel", "Trajan Pro", Georgia, serif;
  --fs-sm: .875rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h3: 1.375rem;
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 4.4vw, 4.6rem);
  --leading: 1.6;

  /* space */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --gutter: 16px;
  --max: 1240px;
  --section: 72px;

  /* shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* depth: layered, emerald-tinted */
  --sh-1: 0 1px 2px rgba(0, 40, 14, .06), 0 2px 6px rgba(0, 40, 14, .06);
  --sh-2: 0 1px 2px rgba(0, 40, 14, .06), 0 8px 20px rgba(0, 40, 14, .08), 0 20px 40px rgba(0, 40, 14, .06);
  --sh-3: 0 2px 4px rgba(0, 40, 14, .06), 0 16px 32px rgba(0, 40, 14, .12), 0 40px 80px rgba(0, 40, 14, .10);
  --sh-paper: 0 1px 2px rgba(0, 30, 10, .10), 0 14px 30px rgba(0, 30, 10, .16), 0 40px 60px rgba(0, 30, 10, .10);

  /* chrome */
  --hdr-h: 68px;
  --abar-h: calc(74px + env(safe-area-inset-bottom, 0px));
  --roof-h: 40px;
  --scrim: 0, 31, 8;
  /* rowhouse and gable silhouette, from concept B (drawn from the logo's gables and Philly cornices) */
  --roof: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V18H56V22L80 4L92 13V6H98V17.5L104 22V26H150V16H153V13H189V16H192V24L216 10L240 24V48Z'/%3E%3C/svg%3E");

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --t-fast: .18s;
  --t-med: .35s;
  --t-slow: .6s;
}
@media (min-width: 768px) { :root { --gutter: 28px; --section: 96px; --roof-h: 56px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; --hdr-h: 80px; --fs-base: 1.125rem; --fs-h3: 1.5rem; --section: 120px; --abar-h: 0px; --roof-h: 68px; } }
/* MFIT phone tokens (plan A2). The phone-only tokens exist only inside these queries: never reference them outside a phone query. */
@media (max-width: 767px) {
  :root {
    --hdr-h: 60px;
    --abar-h: calc(64px + env(safe-area-inset-bottom, 0px));
    --section: 48px;
    --fs-h1p: clamp(1.75rem, .75rem + 5vw, 2.125rem);   /* inner-page H1 */
    --fs-h2: clamp(1.625rem, 1rem + 3.2vw, 1.875rem);
    --fs-band: clamp(1.375rem, 1rem + 2vw, 1.625rem);   /* heading on a band or photo card */
    --fs-h3: 1.25rem;                                   /* section sub-headings, card questions, form legend */
    --fs-h4: 1.125rem;                                  /* titles inside cards, rows, notes, timeline steps */
    --fs-lg: 1.0625rem;                                 /* every lead */
    --lh-lead: 1.5;
    --fs-body-sm: 1rem;                                 /* text inside cards, panels, lists */
    --fs-compact: .9375rem;                             /* choice boxes, field labels, hints, tables, small buttons, notes */
    --fs-meta: .8125rem;                                /* floor for labels and meta */
    --num: 28px;                                        /* numbered disc on a title row */
    --card-pad: 20px;
    --card-pad-sm: 16px;                                /* paper sheets, form card, nested boxes */
    --gap-stack: 12px;                                  /* between stacked cards */
    --gap-head: 20px;                                   /* section head to content */
    --gap-block: 24px;                                  /* between two blocks in one section */
    --field-gap: 14px;                                  /* between form fields */
    --map-h: 230px;                                     /* county map svg cap */
    --avatar: 88px;                                     /* portrait of a person in a section */
    --avatar-sm: 56px;                                  /* author card, byline */
    --ar-banner: 3 / 1;                                 /* photo with a card overlapping it */
    --ar-media: 16 / 9;                                 /* stand-alone photo */
  }
}
@media (max-width: 359px) {
  :root { --section: 40px; --fs-base: 1rem; --fs-lg: 1rem; --fs-h3: 1.1875rem; --card-pad: 16px; --card-pad-sm: 12px; --gap-block: 20px; --avatar: 72px; }
}
@media (max-width: 767px) and (max-height: 560px) {
  :root { --hdr-h: 52px; --abar-h: calc(58px + env(safe-area-inset-bottom, 0px)); --section: 40px; --map-h: 200px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); scroll-padding-bottom: calc(var(--abar-h) + 32px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-base)/var(--leading) var(--font-body); overflow-x: clip; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; color: var(--em-900); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }
p + p { margin-top: var(--s4); }
a { color: var(--em-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--em-900); text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus-outer); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-inner) !important; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--em-900); color: #fff; padding: 10px 14px; border-radius: var(--r-xs); }
.skip:focus { top: 8px; }
.source { font-size: var(--fs-sm); color: var(--muted); }
.source a { color: inherit; }
.disclaimer { font-size: var(--fs-sm); color: var(--muted); }
.text-link { font-weight: 600; }
.text-link--light { color: var(--gold-200); }
.text-link--light:hover { color: #fff; }
.phone-link { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ph { }
.show-ph .ph { outline: 1.5px dashed var(--gold-500); outline-offset: 2px; background: rgba(252, 216, 108, .18); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--em-700); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font: 700 1rem/1.1 var(--font-body); text-decoration: none; letter-spacing: .005em;
  box-shadow: var(--sh-1);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--sh-2); text-decoration: none; }
.btn:active { transform: translateY(0); box-shadow: var(--sh-1); }
.btn svg { transition: transform var(--t-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--em-700); }
.btn--primary:hover { --btn-bg: var(--em-800); }
.btn--gold { --btn-bg: var(--gold-400); --btn-fg: var(--em-950); }
.btn--gold:hover { --btn-bg: var(--gold-300); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); box-shadow: none; }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .08); --btn-bd: #fff; }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.06rem; }
.btn--block { width: 100%; }

/* ---------- brand lockup (flat vector logo) ---------- */
.lockup { display: inline-flex; align-items: center; text-decoration: none; border-radius: 6px; }
.lockup__img { height: 32px; width: auto; transition: transform var(--t-med) var(--ease); }
.lockup:hover .lockup__img { transform: translateY(-1px); }
@media (min-width: 420px) { .lockup__img { height: 36px; } }
@media (min-width: 1100px) { .lockup__img { height: 44px; } }
@media (min-width: 1100px) and (max-width: 1279px) { .hdr .lockup__img { height: 36px; } }
.ftr .lockup__img { height: 48px; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 100; background: transparent; transition: background-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.hdr::before { content: ""; position: absolute; inset: 0 0 -24px; background: linear-gradient(rgba(var(--scrim), .6), rgba(var(--scrim), 0)); pointer-events: none; transition: opacity var(--t-med) var(--ease); }
.hdr.is-solid { background: #fff; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 40, 14, .08); }
.hdr.is-solid::before { opacity: 0; }
.hdr__bar { position: relative; height: var(--hdr-h); display: flex; align-items: center; gap: var(--s4); max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.hdr__bar .lockup { margin-right: auto; }
.lockup__img--std, .hdr.is-solid .lockup__img--rev { display: none; }
.hdr.is-solid .lockup__img--std { display: block; }
.hdr__actions { display: flex; align-items: center; gap: var(--s3); }
.hdr__phone { display: none; align-items: center; gap: 8px; font-weight: 700; color: #fff; text-decoration: none; font-variant-numeric: tabular-nums; padding: 8px 12px; border-radius: var(--r-pill); transition: background-color var(--t-fast), color var(--t-fast); }
.hdr__phone svg { color: var(--gold-300); }
.hdr__phone:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.hdr.is-solid .hdr__phone { color: var(--em-900); }
.hdr.is-solid .hdr__phone svg { color: var(--em-700); }
.hdr.is-solid .hdr__phone:hover { background: var(--em-tint); }
.hdr__cta { display: none; --btn-bg: var(--gold-400); --btn-fg: var(--em-950); }
.hdr__cta:hover { --btn-bg: var(--gold-300); }
.hdr.is-solid .hdr__cta { --btn-bg: var(--em-700); --btn-fg: #fff; }
.hdr.is-solid .hdr__cta:hover { --btn-bg: var(--em-800); }
@media (min-width: 560px) { .hdr__cta { display: inline-flex; } }
.hdr__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none; }
.hdr__progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--gold-500), var(--gold-200)); }

/* burger */
.burger { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 14px; border-radius: var(--r-pill); border: 0; background: var(--em-900); color: #fff; font-weight: 700; font-size: .95rem; transition: background-color var(--t-fast); }
.burger:hover { background: var(--em-700); }
.hdr:not(.is-solid) .burger { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.hdr:not(.is-solid) .burger:hover { background: rgba(255, 255, 255, .2); }
.burger__box { position: relative; width: 20px; height: 14px; }
.burger__box span { position: absolute; left: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--t-med) var(--ease), opacity var(--t-fast), width var(--t-med) var(--ease), top var(--t-med) var(--ease); }
.burger__box span:nth-child(1) { top: 0; width: 20px; }
.burger__box span:nth-child(2) { top: 6px; width: 14px; }
.burger__box span:nth-child(3) { top: 12px; width: 20px; }
.burger[aria-expanded="true"] { background: var(--gold-400); color: var(--em-950); }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; width: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* desktop nav + dropdown */
.dnav { display: none; }
@media (min-width: 1100px) {
  .burger { display: none; }
  .hdr__phone { display: inline-flex; }
  .dnav { display: block; margin-right: var(--s3); }
  .dnav__list { display: flex; align-items: center; gap: 2px; }
  .dnav__item { position: relative; }
  .dnav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--r-pill); border: 0; background: none; color: var(--ink); font-weight: 600; font-size: .98rem; text-decoration: none; transition: background-color var(--t-fast), color var(--t-fast); }
  .dnav__link:hover, .dnav__trigger[aria-expanded="true"] { background: var(--em-tint); color: var(--em-900); }
  .hdr:not(.is-solid) .dnav__link { color: #fff; }
  .hdr:not(.is-solid) .dnav__link:hover, .hdr:not(.is-solid) .dnav__trigger[aria-expanded="true"] { background: rgba(255, 255, 255, .14); color: #fff; }
  .chev { transition: transform var(--t-med) var(--ease); }
  .dnav__trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .dd {
    position: absolute; top: calc(100% + 14px); left: -16px; width: 720px;
    display: grid; grid-template-columns: 1fr 220px; gap: var(--s3); padding: var(--s3);
    background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-3), 0 0 0 1px rgba(0, 40, 14, .06);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: 80px 0;
    transition: opacity .22s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .dd::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .dnav__item--sub.is-open .dd { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .3s var(--ease), visibility 0s; }
  .dd__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
  .dd__links a { display: block; padding: 12px 14px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); transition: background-color var(--t-fast); }
  .dd__links a:hover { background: var(--bg-soft); }
  .dd__parent { grid-column: 1 / -1; margin-bottom: 6px; }
  .dd__links .dd__parent a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--em-tint); border: 1px solid var(--em-tint-2);
    transition: background-color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); }
  .dd__links .dd__parent a::after { content: "View all"; flex: none; padding: 7px 14px; border-radius: 999px; background: var(--em-700); color: #fff; font: 700 .85rem/1 var(--font-body); transition: background-color var(--t-fast), transform var(--t-fast); }
  .dd__links .dd__parent a:hover, .dd__links .dd__parent a:focus-visible { background: #fff; border-color: var(--em-700); box-shadow: var(--sh-2); transform: translateY(-1px); }
  .dd__links .dd__parent a:hover::after, .dd__links .dd__parent a:focus-visible::after { background: var(--em-900); transform: translateX(3px); }
  .dd__links .dd__parent strong { color: var(--em-900); font-size: 1.02rem; }
  .dd__links .dd__parent .dd__parent-txt { flex: 1 1 auto; min-width: 0; margin: 0; }
  .dd__links .dd__parent .dd__parent-txt span { color: var(--muted); }
  .dd__links .dd__parent a::after { margin-right: 2px; }
  @media (prefers-reduced-motion: reduce) { .dd__links .dd__parent a, .dd__links .dd__parent a::after { transition: none; transform: none !important; } }
  .dd__links strong { display: block; font-weight: 700; color: var(--em-900); font-size: .97rem; }
  .dd__links span { display: block; font-size: .86rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
  .dd__links li { opacity: 0; transform: translateY(4px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .is-open .dd__links li { opacity: 1; transform: none; }
  .is-open .dd__links li:nth-child(2) { transition-delay: .02s; } .is-open .dd__links li:nth-child(3) { transition-delay: .04s; }
  .is-open .dd__links li:nth-child(4) { transition-delay: .06s; } .is-open .dd__links li:nth-child(5) { transition-delay: .08s; }
  .is-open .dd__links li:nth-child(6) { transition-delay: .1s; } .is-open .dd__links li:nth-child(7) { transition-delay: .12s; }
  .is-open .dd__links li:nth-child(8) { transition-delay: .14s; }
  .dd__aside { background: var(--em-900); color: var(--on-dark-muted); border-radius: var(--r-md); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); align-items: flex-start; font-size: .92rem; line-height: 1.45; }
  .dd__aside-title { font: 700 1.2rem/1.15 var(--font-display); color: #fff; }
  .dd__aside p + p { margin-top: 0; }
  .dd__aside .btn { margin-top: auto; }
  .dd__phone { color: var(--gold-200); font-weight: 700; text-decoration: none; }
  .dd__phone:hover { color: #fff; }
}
@media (min-width: 1100px) and (max-width: 1240px) { .dnav__link { padding: 10px 10px; } .hdr__phone svg { display: none; } }

/* ---------- mobile menu ---------- */
.mnav { position: fixed; z-index: 90; inset: var(--hdr-h) 0 0 0; background: var(--em-900); color: #fff; overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0 round 0 0 var(--r-xl) var(--r-xl)); transition: clip-path .5s var(--ease); }
.mnav::before { content: ""; position: absolute; width: 560px; height: 560px; right: -260px; bottom: -220px; border-radius: 50%; border: 1.5px solid rgba(216, 156, 48, .35); box-shadow: 0 0 0 60px rgba(216, 156, 48, .04); pointer-events: none; }
.mnav.is-open { clip-path: inset(0 0 0 0 round 0); }
.mnav__inner { position: relative; padding: var(--s5) var(--gutter) var(--s7); display: flex; flex-direction: column; gap: var(--s6); min-height: 100%; max-width: 640px; margin-inline: auto; }
.mnav__list { border-top: 1px solid var(--on-dark-line); }
.mnav__item { border-bottom: 1px solid var(--on-dark-line); opacity: 0; transform: translateY(14px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.mnav.is-open .mnav__item { opacity: 1; transform: none; }
.mnav.is-open .mnav__item:nth-child(1) { transition-delay: .12s; } .mnav.is-open .mnav__item:nth-child(2) { transition-delay: .16s; }
.mnav.is-open .mnav__item:nth-child(3) { transition-delay: .2s; } .mnav.is-open .mnav__item:nth-child(4) { transition-delay: .24s; }
.mnav.is-open .mnav__item:nth-child(5) { transition-delay: .28s; } .mnav.is-open .mnav__item:nth-child(6) { transition-delay: .32s; }
.mnav__link { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 16px 4px; background: none; border: 0; color: #fff; text-decoration: none; font: 600 1.6rem/1.15 var(--font-display); letter-spacing: -.015em; text-align: left; }
.mnav__link:hover { color: var(--gold-200); }
.mnav__plus { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); flex: none; transition: background-color var(--t-fast), border-color var(--t-fast); }
.mnav__plus::before, .mnav__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform var(--t-med) var(--ease); }
.mnav__plus::after { transform: rotate(90deg); }
.mnav__acc[aria-expanded="true"] .mnav__plus { background: var(--gold-400); border-color: var(--gold-400); color: var(--em-950); }
.mnav__acc[aria-expanded="true"] .mnav__plus::after { transform: rotate(0deg); }
.mnav__sub { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ease), visibility 0s linear .4s; }
.mnav__sub > ul { overflow: hidden; min-height: 0; }
.mnav__acc[aria-expanded="true"] + .mnav__sub { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--ease), visibility 0s; }
.mnav__sub ul { display: grid; gap: 2px; padding: 6px 6px 6px 10px; margin: -6px; } /* padding keeps focus rings inside the clip box */
.mnav__sub li:last-child { padding-bottom: var(--s4); }
.mnav__sub a { display: block; padding: 9px 12px; border-radius: var(--r-sm); color: var(--on-dark-muted); text-decoration: none; font-size: 1.05rem; }
.mnav__sub a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.mnav__card { margin-top: auto; background: var(--em-800); border: 1px solid var(--on-dark-line); border-radius: var(--r-lg); padding: var(--s5); display: grid; gap: var(--s4);
  opacity: 0; transform: translateY(18px); transition: opacity .4s var(--ease) .3s, transform .5s var(--ease) .3s; }
.mnav.is-open .mnav__card { opacity: 1; transform: none; }
.mnav__card-title { font-size: var(--fs-sm); color: var(--on-dark-muted); font-weight: 600; }
.mnav__phone { display: flex; align-items: center; gap: var(--s4); color: #fff; text-decoration: none; font: 700 1.5rem/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.mnav__phone small { display: block; font: 500 .85rem/1.3 var(--font-body); color: var(--on-dark-muted); margin-top: 4px; }
.mnav__phone-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-400); color: var(--em-950); flex: none; }
.mnav__cred { font-size: .82rem; color: var(--on-dark-muted); }
@media (min-width: 1100px) { .mnav { display: none !important; } }

/* ---------- roofline divider (concept B's device) ---------- */
.roofline {
  height: var(--roof-h); background: var(--roof-color, #fff);
  -webkit-mask: var(--roof) repeat-x left bottom / calc(var(--roof-h) * 5) 100%;
          mask: var(--roof) repeat-x left bottom / calc(var(--roof-h) * 5) 100%;
  pointer-events: none;
}

/* ---------- 1. hero (concept B's composition, concept C's type) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--em-950); color: #fff; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; transform: scale(1.04); }
.hero__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--scrim), .55) 0%, rgba(var(--scrim), .62) 28%, rgba(var(--scrim), .88) 60%, rgba(var(--scrim), .95) 100%); } /* a11y: 28% and 60% stops raised so the lead paragraph keeps 4.5:1 over the brightest photo pixels */
.hero__inner { position: relative; display: grid; gap: var(--s7); max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto;
  padding: calc(var(--hdr-h) + 40px) var(--gutter) calc(var(--roof-h) + 48px); }
.hero__chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 7px 14px 7px 10px; border-radius: var(--r-pill); background: rgba(var(--scrim), .45); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: .84rem; font-weight: 600; }
.hero__chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(216, 156, 48, .22); }
.hero__chip-num { color: var(--gold-200); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.hero__title { margin-top: var(--s5); font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 1.3rem + 5.6vw, 5.6rem); line-height: .96; letter-spacing: -.028em; color: #fff; max-width: 12ch; text-wrap: balance; }
.hero__lead { margin-top: var(--s5); font-size: var(--fs-lg); line-height: 1.6; max-width: 40rem; color: #e3ece5; }
.hero__actions { margin-top: var(--s6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s6); }
.hero__call { color: #fff; text-decoration: none; font: 700 1.3rem/1 var(--font-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; border-bottom: 2px solid var(--gold-400); padding-bottom: 5px; white-space: nowrap; transition: color var(--t-fast), border-color var(--t-fast); }
.hero__call span { font: 500 1rem/1 var(--font-body); letter-spacing: 0; color: var(--on-dark-muted); margin-right: 4px; }
.hero__call:hover { color: var(--gold-200); border-color: var(--gold-200); text-decoration: none; }
.hero__roof { position: absolute; left: 0; right: 0; bottom: -1px; --roof-color: var(--bg-soft); }

/* tilted specimen photo (crossfades with the 4-step path) */
.specimen { position: relative; width: min(88%, 380px); justify-self: end; margin: 0 8px 8px 0; transform: rotate(2deg); }
.specimen__photo { border-radius: var(--r-md); overflow: hidden; border: 6px solid #fff; box-shadow: 0 2px 6px rgba(0, 20, 6, .2), 0 30px 60px -12px rgba(0, 10, 3, .55); }
.specimen__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

@media (min-width: 768px) {
  .hero__inner { padding-top: calc(var(--hdr-h) + 72px); }
  .specimen { width: 400px; margin-right: 24px; }
}
@media (min-width: 1100px) {
  .hero { min-height: min(100svh, 960px); display: flex; align-items: stretch; }
  .hero__scrim { background:
    linear-gradient(90deg, rgba(var(--scrim), .93) 0%, rgba(var(--scrim), .84) 38%, rgba(var(--scrim), .35) 70%, rgba(var(--scrim), .15) 100%),
    linear-gradient(180deg, rgba(var(--scrim), .4) 0%, rgba(var(--scrim), 0) 30%, rgba(var(--scrim), 0) 70%, rgba(var(--scrim), .55) 100%); }
  .hero__inner { width: 100%; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); align-items: end; gap: var(--s8);
    padding-top: calc(var(--hdr-h) + 72px); padding-bottom: calc(var(--roof-h) + 96px); }
  .specimen { width: 400px; margin: 0 0 40px; }
}

/* ---------- 2. credentials ---------- */
.creds { background: var(--bg-soft); padding-block: var(--section); }
.creds__head { display: grid; gap: var(--s4); margin-bottom: var(--s6); }
.creds__note { color: var(--muted); max-width: 46ch; }
.creds__cards { display: grid; gap: var(--s5); }
.idcard { position: relative; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-2); overflow: hidden; transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.idcard:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.idcard__band { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; padding: 14px var(--s5); background: var(--em-900); color: var(--on-dark-muted); font-size: .84rem; position: relative; overflow: hidden; }
.idcard__band::after { content: ""; position: absolute; right: -40px; top: -60px; width: 160px; height: 160px; border-radius: 50%; border: 1.5px solid rgba(216, 156, 48, .3); }
.idcard__kind, .idcard__issuer { position: relative; z-index: 1; }
.idcard__kind { background: var(--gold-400); color: var(--em-950); font-weight: 700; font-size: .78rem; padding: 3px 10px; border-radius: var(--r-pill); }
.idcard__body { padding: var(--s5); display: grid; gap: var(--s4); }
.idcard__title { font-size: 1.3rem; }
.idcard__holder { color: var(--muted); margin-top: 4px; font-weight: 500; }
.idcard__who { display: flex; gap: var(--s4); align-items: center; }
.idcard__who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--gold-400); }
.idcard__facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); padding: var(--s4); background: var(--bg-soft); border-radius: var(--r-md); }
.idcard__facts dt { font-size: .78rem; color: var(--muted); font-weight: 600; }
.idcard__facts dd { font-weight: 700; color: var(--em-900); font-variant-numeric: tabular-nums; line-height: 1.35; margin-top: 2px; }
.idcard__num { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; letter-spacing: .02em; }
.copy { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid var(--ui-line); background: #fff; font-size: .75rem; font-weight: 700; color: var(--em-700); letter-spacing: 0; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.copy:hover { background: var(--em-tint); }
.copy.is-done { background: var(--em-700); border-color: var(--em-700); color: #fff; }
.idcard__check { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; justify-self: start; }
.idcard__check svg { transition: transform var(--t-fast) var(--ease); }
.idcard__check:hover svg { transform: translate(2px, -2px); }
.idcard__check--plain { display: block; color: var(--muted); font-weight: 600; line-height: 1.5; }
@media (min-width: 768px) { .creds__cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .creds__inner, .creds > .wrap:first-of-type { display: grid; grid-template-columns: 4fr 8fr; gap: var(--s8); align-items: center; }
  .creds__head { margin: 0; }
}

/* ---------- 3. who we test for ---------- */
.who { padding-block: var(--section); }
.who__head { display: grid; gap: var(--s5); margin-bottom: var(--s6); }
.seg { position: relative; display: flex; gap: 2px; padding: 6px; background: var(--bg-soft); border-radius: var(--r-pill); overflow-x: auto; scrollbar-width: none; justify-self: start; max-width: 100%; box-shadow: inset 0 0 0 1px var(--line); }
.seg::-webkit-scrollbar { display: none; }
.seg__btn { position: relative; z-index: 1; flex: none; padding: 10px 18px; border: 0; background: none; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem; color: var(--muted); white-space: nowrap; transition: color var(--t-med) var(--ease); }
.seg__btn:hover { color: var(--em-900); }
.seg__btn[aria-selected="true"] { color: #fff; }
.seg__thumb { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: var(--r-pill); background: var(--em-700); box-shadow: 0 2px 6px rgba(0, 60, 24, .25); transition: transform .45s var(--ease), width .45s var(--ease); }
html:not(.js) .seg__thumb { display: none; }
html:not(.js) .seg__btn[aria-selected="true"] { background: var(--em-700); }
html:not(.js) .who__panel[hidden] { display: grid; }
.who__panel { display: grid; gap: 0; }
.who__panel:focus-visible { outline-offset: 6px; border-radius: var(--r-lg); }
.who__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--sh-2); }
.who__img img { width: 100%; height: 100%; object-fit: cover; }
.who__copy { position: relative; margin: -40px 12px 0; background: #fff; border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--sh-3); }
.who__copy h3 a { color: var(--em-900); text-decoration: none; }
.who__copy h3 a:hover { text-decoration: underline; }
.who__copy p { margin-top: var(--s3); color: var(--ink); }
.who__copy .source { display: inline-block; } /* keeps the citation together but lets it wrap if a line is too short (1.4.10, 1.4.12) */
.who__ctas { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; }
.js .who__panel.is-entering .who__img { animation: whoImg .6s var(--ease) both; }
.js .who__panel.is-entering .who__copy { animation: whoCopy .55s var(--ease) .06s both; }
@keyframes whoImg { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes whoCopy { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (min-width: 1100px) {
  .who__head { grid-template-columns: auto 1fr; align-items: end; }
  .seg { justify-self: end; }
  .who__panel { grid-template-columns: 7fr 5fr; align-items: center; }
  .who__img { aspect-ratio: 16 / 11; grid-column: 1 / 2; grid-row: 1; }
  .who__copy { grid-column: 2 / 3; grid-row: 1; margin: 0 0 0 -96px; padding: var(--s6); }
  .who__copy h3 { font-size: 1.85rem; }
}

/* ---------- 4. how a visit works ---------- */
.visit { padding-block: 0 var(--section); }
.visit__shell { position: relative; overflow: hidden; background: var(--em-900); border-radius: var(--r-xl); padding: var(--s6) var(--s4) var(--s4); display: grid; gap: var(--s6); color: var(--on-dark-muted); }
.visit__shell::before { content: ""; position: absolute; left: -200px; bottom: -300px; width: 600px; height: 600px; border-radius: 50%; border: 1.5px solid rgba(216, 156, 48, .3); pointer-events: none; }
.visit__side { position: relative; padding-inline: var(--s2); }
.visit h2 { color: #fff; }
.visit__nav { position: relative; margin-top: var(--s5); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.visit__track { position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: rgba(255, 255, 255, .15); }
.visit__track span { display: block; height: 100%; background: var(--gold-400); transform-origin: 0 0; transform: scaleX(var(--f, 0)); transition: transform .5s var(--ease); }
.visit__step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); padding: 0; border: 0; background: none; color: var(--on-dark-muted); text-align: left; }
.visit__num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--em-800); border: 2px solid rgba(255, 255, 255, .25); color: #fff; font: 700 1.05rem/1 var(--font-display); transition: background-color var(--t-med), border-color var(--t-med), transform var(--t-med) var(--ease-spring), color var(--t-med); }
.visit__step:hover .visit__num { border-color: var(--gold-400); }
.visit__step.is-done .visit__num { background: var(--em-700); border-color: var(--gold-400); }
.visit__step[aria-selected="true"] .visit__num { background: var(--gold-400); border-color: var(--gold-400); color: var(--em-950); transform: scale(1.08); }
.visit__name { display: none; font-weight: 600; line-height: 1.3; }
.visit__more { margin-top: var(--s5); display: none; }
.visit__stage { position: relative; display: grid; }
.visit__panel { grid-area: 1 / 1; display: grid; }
.visit__panel:focus-visible { outline-offset: 4px; border-radius: var(--r-lg); }
.visit__panel > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.visit__card { position: relative; margin: -32px 10px 0; background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--sh-3); }
.visit__kicker { font-size: .82rem; font-weight: 700; color: var(--gold-ink); }
.visit__card h3 { margin-top: 4px; }
.visit__card h3 + p { margin-top: var(--s3); }
.visit__ctas { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: center; }
.visit__ctas .phone-link { color: var(--em-700); font-weight: 600; }
.visit__pager { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 2; }
.visit__arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: var(--em-900); box-shadow: var(--sh-2); transition: transform var(--t-fast) var(--ease), background-color var(--t-fast); }
.visit__arrow:hover { transform: scale(1.08); background: var(--gold-200); }
.visit__arrow:disabled { opacity: .45; cursor: default; transform: none; background: #fff; }
html:not(.js) .visit__pager { display: none; }
html:not(.js) .visit__panel[hidden] { display: grid; }
html:not(.js) .visit__stage { gap: var(--s5); }
html:not(.js) .visit__panel { grid-area: auto; }
.js .visit__panel { opacity: 1; transition: opacity .45s var(--ease); }
.js .visit__panel.is-entering > img { animation: whoImg .7s var(--ease) both; }
.js .visit__panel.is-entering .visit__card { animation: whoCopy .5s var(--ease) .08s both; }
.visit__out { padding: 0 var(--s2); }
@media (min-width: 768px) { .visit__name { display: block; font-size: .9rem; } }
@media (min-width: 1100px) {
  .visit__shell { grid-template-columns: 4.2fr 7.8fr; gap: var(--s7); padding: var(--s8) var(--s7) var(--s8) var(--s8); align-items: center; }
  .visit__side { padding: 0; }
  .visit__nav { grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s6); }
  .visit__track { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .visit__track span { height: 100%; width: 100%; transform: scaleY(var(--f, 0)); }
  .visit__step { flex-direction: row; align-items: center; gap: var(--s4); padding: 6px 12px 6px 0; border-radius: var(--r-pill); }
  .visit__name { font-size: 1.06rem; color: var(--on-dark-muted); transition: color var(--t-fast); }
  .visit__step[aria-selected="true"] .visit__name, .visit__step:hover .visit__name { color: #fff; }
  .visit__more { display: block; }
  .visit__panel > img { aspect-ratio: 16 / 11.5; }
  .visit__card { position: absolute; left: -48px; bottom: 28px; margin: 0; max-width: 430px; padding: var(--s6); }
  .visit__card h3 { font-size: 1.5rem; }
  .visit__pager { top: 18px; right: 18px; }
}

/* ---------- 5. what you receive ---------- */
.receive { background: var(--bg-mint); padding-block: var(--section); position: relative; overflow: hidden; }
.receive__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
.receive__intro > p { margin-top: var(--s4); color: var(--muted); max-width: 46ch; }
.receive__hint { font-size: .86rem; font-weight: 600; color: var(--em-700) !important; margin-top: var(--s5) !important; }
.rkey { margin-top: var(--s3); display: grid; gap: 6px; }
.rkey__btn { width: 100%; display: grid; grid-template-columns: 32px 1fr; gap: var(--s3); align-items: start; padding: 12px 14px; border: 0; border-radius: var(--r-md); background: transparent; text-align: left; transition: background-color var(--t-fast), box-shadow var(--t-fast); }
.rkey__btn:hover { background: rgba(255, 255, 255, .7); }
.rkey__btn[aria-pressed="true"] { background: #fff; box-shadow: var(--sh-2); }
.rkey__num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--em-900); color: #fff; font: 700 .9rem/1 var(--font-body); transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-med) var(--ease-spring); }
.rkey__btn[aria-pressed="true"] .rkey__num { background: var(--gold-400); color: var(--em-950); transform: scale(1.1); }
.rkey__btn strong { display: block; color: var(--em-900); font-weight: 700; }
.rkey__txt { display: block; color: var(--muted); font-size: .95rem; line-height: 1.5; margin-top: 2px; }
.receive__desk { position: relative; border-radius: var(--r-xl); padding: var(--s5) var(--s4) var(--s8); background:
  radial-gradient(circle at 1px 1px, rgba(0, 60, 24, .14) 1px, transparent 1.5px) 0 0 / 18px 18px,
  linear-gradient(160deg, #d9e6dc, #c9dbcd); box-shadow: inset 0 0 0 1px rgba(0, 60, 24, .08); }
.packet { position: relative; max-width: 560px; margin-inline: auto; }
.packet__back { position: absolute; inset: 22px -10px -10px 22px; background: #fbfcfb; transform: rotate(3deg); transform-origin: top left; display: none; }
.packet__back .packet__page { position: absolute; right: 16px; bottom: 12px; }
.paper { position: relative; background: #fff; box-shadow: var(--sh-paper); border-radius: 4px; overflow: hidden; }
.packet__sheet { position: relative; padding: var(--s5) var(--s4); font-size: .84rem; line-height: 1.4; transform: rotate(-1deg); }
.watermark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 clamp(3.5rem, 12vw, 7rem)/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--watermark); transform: rotate(-24deg); pointer-events: none; z-index: 2; }
.watermark::before { content: attr(data-text); }
.redact { display: inline-block; min-width: min(7em, 100%); height: .95em; background: var(--redact); vertical-align: -.1em; border-radius: 2px; }
.redact--short { min-width: min(3.5em, 100%); }
.redact--long { min-width: min(11em, 100%); }
.packet__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); border-bottom: 2px solid var(--ink); padding-bottom: var(--s2); }
.packet__title { font: 700 1.2rem/1.15 var(--font-display); color: var(--ink); }
.packet__page { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.packet__fields { margin-top: var(--s3); }
.packet__row { position: relative; display: grid; grid-template-columns: 6rem 1fr; gap: var(--s3); padding: var(--s2) 38px var(--s2) 6px; border-bottom: 1px solid var(--line); border-radius: 6px; transition: background-color var(--t-med); }
.packet__row dt { color: var(--muted); }
.packet__row dd { color: var(--ink); }
.packet__results { width: 100%; border-collapse: collapse; margin-top: var(--s4); font-size: .8rem; }
.packet__results th, .packet__results td { text-align: left; padding: 5px 8px 5px 0; border-bottom: 1px solid var(--line); }
.packet__results thead th { font-weight: 700; border-bottom: 1.5px solid var(--ink); white-space: nowrap; transition: background-color var(--t-med); }
.pass { display: inline-block; padding: 1px 8px; border-radius: var(--r-pill); background: var(--em-tint); color: var(--pass); font-weight: 700; font-size: .76rem; }
.packet__statement { margin-top: var(--s4); font-weight: 700; }
.packet__sign { margin-top: var(--s5); display: grid; grid-template-columns: 2fr 1fr; gap: var(--s5); font-size: .72rem; color: var(--muted); }
.packet__sign span { border-top: 1px solid var(--ink); padding-top: 4px; }
.pin { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--em-900); color: #fff; font: 700 .78rem/1 var(--font-body); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 40, 14, .3); z-index: 3; transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-med) var(--ease-spring); }
.pin--inline { position: static; transform: none; display: inline-grid; width: 22px; height: 22px; font-size: .7rem; margin-left: 4px; vertical-align: middle; }
.is-lit { background: var(--gold-wash) !important; }
.is-lit .pin, .pin.is-lit { background: var(--gold-400); color: var(--em-950); transform: translateY(-50%) scale(1.25); }
.is-lit .pin--inline { transform: scale(1.25); }
.receive__cta { position: absolute; right: 16px; bottom: 16px; display: inline-flex; flex-direction: column; padding: 12px 20px; border-radius: var(--r-md); background: var(--em-900); color: var(--on-dark-muted); text-decoration: none; font-size: .85rem; box-shadow: var(--sh-3); transition: transform var(--t-fast) var(--ease); z-index: 4; }
.receive__cta strong { color: var(--gold-200); font: 700 1.1rem/1.2 var(--font-display); }
.receive__cta:hover { transform: translateY(-3px); color: var(--on-dark-muted); }
@media (min-width: 768px) {
  .packet__sheet { padding: var(--s6); font-size: .92rem; }
  .packet__back { display: block; }
  .receive__desk { padding: var(--s7) var(--s7) var(--s9); }
}
@media (min-width: 1100px) {
  .receive__grid { grid-template-columns: 5fr 7fr; gap: var(--s8); align-items: center; }
  .receive__cta { right: 28px; bottom: 28px; }
}

/* ---------- 6. scope ---------- */
.scope { padding-block: var(--section); }
.scope__head { display: grid; gap: var(--s5); }
.scope__head h2 { max-width: 16ch; }
.scope__after { font-size: var(--fs-lg); color: var(--ink); max-width: 52ch; }
.fork { position: relative; margin-top: var(--s7); display: grid; gap: var(--s5); }
.fork__lines { display: none; }
.fork__root { justify-self: center; padding: 10px 20px; border-radius: var(--r-pill); background: var(--bg); border: 1.5px solid var(--em-900); color: var(--em-900); font-weight: 700; font-size: .95rem; box-shadow: var(--sh-1); position: relative; z-index: 1; }
.fork__root::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 24px; background: var(--em-900); }
.fork__do { position: relative; background: var(--em-900); color: var(--on-dark-muted); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); display: grid; }
.fork__img { aspect-ratio: 16 / 7; overflow: hidden; }
.fork__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.fork__body { padding: var(--s5) var(--s5) var(--s6); display: grid; gap: var(--s3); justify-items: start; }
.fork__tag { font-size: .82rem; font-weight: 700; padding: 4px 12px; border-radius: var(--r-pill); }
.fork__do .fork__tag { background: var(--gold-400); color: var(--em-950); }
.fork__do .fork__title { color: #fff; font-size: 2rem; }
.fork__do .btn { margin-top: var(--s2); }
.fork__refer { position: relative; border-radius: var(--r-xl); border: 2px dashed var(--ui-line); background: repeating-linear-gradient(135deg, #fff 0 14px, var(--bg-soft) 14px 15px); }
.fork__refer .fork__tag { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.fork__refer .fork__title { font-size: 2rem; color: var(--ink); }
.fork__refer p { color: var(--muted); }
.fork__out { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s2); padding: 10px 16px; border-radius: var(--r-pill); background: #fff; border: 1.5px solid var(--em-700); font-weight: 700; text-decoration: none; transition: background-color var(--t-fast); }
.fork__out:hover { background: var(--em-tint); }
.fork__out svg { transition: transform var(--t-fast) var(--ease); }
.fork__out:hover svg { transform: translate(2px, -2px); }
.scope__foot { margin-top: var(--s6); display: grid; gap: var(--s2); }
@media (min-width: 900px) {
  .scope__head { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--s7); }
  .fork { grid-template-columns: 1.3fr 1fr; column-gap: var(--s5); row-gap: 0; padding-top: 130px; margin-top: var(--s6); }
  .fork__lines { display: block; position: absolute; left: 0; right: 0; top: 30px; width: 100%; height: 100px; overflow: visible; }
  .fork__lines path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
  .fork__l { stroke: var(--em-900); }
  .fork__r { stroke: var(--ui-line); stroke-dasharray: 6 6; }
  .js .fork__lines path { stroke-dashoffset: 0; }
  .fork__root { position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
  .fork__root::after { display: none; }
  .fork__do { grid-template-columns: 1fr 1.2fr; }
  .fork__img { aspect-ratio: auto; }
  .fork__body { padding: var(--s6); align-content: center; }
}

/* ---------- 7. where we work ---------- */
.area { padding-bottom: var(--section); }
.area__sky { position: relative; height: 200px; overflow: hidden; margin: 0; }
.area__sky img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.area__sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 31, 8, .1) 0%, rgba(0, 31, 8, .64) 45%, rgba(0, 31, 8, .9) 100%); } /* a11y: middle stop raised for 4.5:1 */
.area__skytext { position: absolute; left: 0; right: 0; bottom: 96px; z-index: 1; color: #fff; }
.area__skytext h2 { color: #fff; }
.area__skytext p { margin-top: var(--s3); max-width: 58ch; color: #e7efe9; font-size: var(--fs-lg); }
.atlas { position: relative; z-index: 2; margin-top: -120px; background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-3); padding: var(--s4); display: grid; gap: var(--s5); }
.atlas__head p { margin-top: var(--s3); max-width: 54ch; font-size: var(--fs-lg); }
.atlas__map { position: relative; background: var(--bg-soft); border-radius: var(--r-lg); padding: var(--s4); width: 100%; max-width: 520px; margin-inline: auto; }
.county-map__svg { width: 100%; height: auto; }
.county-map__context path { fill: #eaefe9; stroke: #d3dbd3; stroke-width: 1; }
.county-map__county { fill: #f8faf7; stroke: var(--em-900); stroke-width: 1.5; cursor: pointer; transition: fill .35s var(--ease); }
.county-map__county:hover { fill: var(--em-tint-2); }
.county-map__county.is-hot { fill: var(--map-hot); }
.county-map__label { font: 700 26px/1 var(--font-body); fill: var(--em-900); paint-order: stroke; stroke: #fff; stroke-width: 4px; pointer-events: none; }
.county-map__town circle { fill: #fff; stroke: var(--gold-500); stroke-width: 3; r: 9px; transition: r .3s var(--ease-spring), fill .3s; }
.county-map__town.is-hot circle { fill: var(--gold-400); stroke: var(--em-900); r: 13px; }
.county-map__town text { font: 700 13px/1 var(--font-body); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.county-map__townname { display: none; }
.county-map__townnum { font-size: 26px !important; }
.county-map__town.is-hot .county-map__townname { display: inline; font-size: 24px; }
.county-map__town.is-hot .county-map__townnum { display: none; }
.county-map__town { cursor: pointer; }
.county-map__town text { pointer-events: auto; }
.county-map__town:hover circle { fill: var(--gold-400); }
.county-map__county:not([data-county="philadelphia"]) { cursor: default; }
.county-map__county:not([data-county="philadelphia"]):not(.is-hot):hover { fill: #f8faf7; }
.atlas__credit { margin-top: var(--s2); font-size: .78rem; }
.atlas__pick { font-weight: 700; color: var(--em-900); font-size: .9rem; }
.atlas__chips { margin-top: var(--s3); display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .92rem; color: var(--ink); transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease); }
.chip:hover { border-color: var(--em-700); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--em-900); border-color: var(--em-900); color: #fff; }
.atlas__places { margin-top: var(--s5); display: grid; }
.place { display: grid; grid-template-columns: auto minmax(0, 1fr); overflow-wrap: break-word; gap: var(--s4); align-items: start; padding: var(--s5); border-radius: var(--r-lg); background: var(--bg-soft); }
.js .place { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; }
.js .place.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }
html:not(.js) .atlas__places { gap: var(--s3); }
html:not(.js) .atlas__chips, html:not(.js) .atlas__pick { display: none; }
.place__badge { width: 84px; min-height: 84px; overflow-wrap: anywhere; border-radius: var(--r-md); background: var(--em-900); color: var(--on-dark-muted); display: grid; place-content: center; text-align: center; padding: 6px; }
.place__yrs { font: 700 2.2rem/1 var(--font-display); color: var(--gold-200); }
.place__unit { font-size: .68rem; line-height: 1.2; font-weight: 600; margin-top: 4px; }
.place__badge--q { background: #fff; border: 2px dashed var(--ui-line); color: var(--muted); }
.place__badge--q .place__yrs { color: var(--em-900); }
.place h3 { font-size: 1.3rem; }
.place h3 a { color: var(--em-900); }
.place p { margin-top: var(--s2); }
.place__status { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); background: var(--gold-wash); color: var(--gold-ink); font-weight: 700; font-size: .82rem; }
.atlas__call { margin-top: var(--s5); display: flex; align-items: center; gap: var(--s4); padding: var(--s4); border-radius: var(--r-lg); border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.atlas__call strong { display: block; color: var(--em-900); font-family: var(--font-display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.atlas__call:hover { border-color: var(--em-700); box-shadow: var(--sh-2); color: var(--ink); }
.atlas__call-ico { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--em-900); color: var(--gold-200); }
.area__src { margin-top: var(--s5); max-width: 90ch; }
@media (min-width: 768px) {
  .area__sky { height: 240px; }
  .county-map__label { font-size: 18px; }
  .county-map__town circle { r: 6px; }
  .county-map__town.is-hot circle { r: 9px; }
  .county-map__townname { display: inline; }
  .county-map__townnum { display: none; }
  .county-map__town.is-hot .county-map__townname { font-size: 16px; }
}
@media (min-width: 1100px) {
  .area__sky { height: 280px; }
  .atlas { margin-top: -180px; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); grid-template-areas: "head map" "side map"; padding: var(--s6); gap: var(--s5) var(--s7); align-items: start; }
  .atlas__head { grid-area: head; }
  .atlas__side { grid-area: side; }
  .atlas__map { grid-area: map; align-self: center; max-width: none; }
  .county-map__label { font-size: 21px; }
  .county-map__town text { font-size: 15px; }
  .county-map__town.is-hot .county-map__townname { font-size: 18px; }
}

/* ---------- 8. meet Amirra ---------- */
.amirra { position: relative; overflow: hidden; background: var(--em-800); color: var(--on-dark-muted); padding-block: var(--section); }
.amirra::before { content: ""; position: absolute; right: -10%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(11, 106, 51, .55), transparent); pointer-events: none; }
.amirra__grid { position: relative; display: grid; gap: var(--s7); }
.amirra__portrait { position: relative; width: min(340px, 82%); margin: 0 auto; padding: 18px 18px 0; }
.amirra__arch { border-radius: 999px 999px var(--r-lg) var(--r-lg) / 50% 50% var(--r-lg) var(--r-lg); border-radius: 50% 50% var(--r-lg) var(--r-lg) / 36% 36% var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--em-900); box-shadow: 0 30px 60px rgba(0, 10, 3, .4); }
.amirra__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.amirra__portrait::before { content: ""; position: absolute; inset: 0 0 40% 0; border: 2px solid var(--gold-400); border-bottom: 0; border-radius: 50% 50% 0 0 / 60% 60% 0 0; pointer-events: none; }
.amirra__badge { position: absolute; left: -8px; bottom: -18px; background: #fff; border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--sh-3); display: grid; }
.amirra__badge strong { color: var(--em-900); font-family: var(--font-display); font-size: 1.1rem; }
.amirra__badge span { font-size: .82rem; color: var(--muted); }
.amirra h2 { color: #fff; }
.amirra__quote { position: relative; margin-top: var(--s5); padding: var(--s5) var(--s5) var(--s5) var(--s7); border-radius: var(--r-lg); background: rgba(0, 31, 8, .45); color: #fff; font: 500 1.15rem/1.5 var(--font-display); }
.amirra__quote::before { content: "\201C"; position: absolute; left: 14px; top: 2px; font: 700 4rem/1 var(--font-display); color: var(--gold-400); }
.amirra__body > p { margin-top: var(--s4); max-width: 58ch; }
.amirra__body a:not(.btn) { color: var(--gold-200); }
.amirra__body a:not(.btn):hover { color: #fff; }
.amirra__ctas { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: var(--s4) var(--s5); align-items: center; }
@media (min-width: 1100px) {
  .amirra__grid { grid-template-columns: 5fr 7fr; gap: var(--s9); align-items: center; }
  .amirra__portrait { width: 100%; max-width: 420px; }
  .amirra__badge { left: -24px; bottom: 32px; }
}

/* ---------- 9. FAQ ---------- */
.faq { background: var(--bg-soft); padding-block: var(--section); }
.faq__grid { display: grid; gap: var(--s6); }
.faq__meta { margin-top: var(--s3); color: var(--muted); font-size: var(--fs-sm); }
.faq__ask { margin-top: var(--s5); padding: var(--s5); border-radius: var(--r-lg); background: var(--em-900); color: var(--on-dark-muted); display: grid; gap: var(--s3); justify-items: start; }
.faq__ask-title { font: 700 1.35rem/1.15 var(--font-display); color: #fff; }
.faq__ask p + p { margin-top: 0; }
.faq__ask .text-link { color: var(--gold-200); }
.faq__ask .text-link:hover { color: #fff; }
.faq__ask .btn { --btn-bg: var(--gold-400); --btn-fg: var(--em-950); }
.faq__ask .btn:hover { --btn-bg: var(--gold-300); }
.faq__list { display: grid; gap: var(--s3); align-content: start; }
.qa { background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-1); transition: box-shadow var(--t-med) var(--ease); }
.qa:hover { box-shadow: var(--sh-2); }
.qa[open] { box-shadow: var(--sh-2), inset 0 0 0 1.5px var(--em-700); }
.qa__q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: 18px 20px; cursor: pointer; font: 600 1.1rem/1.35 var(--font-display); color: var(--em-900); border-radius: var(--r-md); }
.qa__q::-webkit-details-marker { display: none; }
.qa__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--em-tint); transition: background-color var(--t-med), transform var(--t-med) var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--em-900); transition: transform var(--t-med) var(--ease), background-color var(--t-med); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--em-700); transform: rotate(180deg); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: #fff; }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__inner { padding: 0 20px 20px; max-width: 64ch; }
.qa__inner .source { margin-top: var(--s3); }
.faq__disc { margin-top: var(--s3); padding-left: 4px; }
@media (min-width: 1100px) {
  .faq__grid { grid-template-columns: 4fr 8fr; gap: var(--s8); align-items: start; }
  .faq__side { position: sticky; top: calc(var(--hdr-h) + 32px); }
  .qa__q { padding: 22px 26px; font-size: 1.2rem; }
  .qa__inner { padding: 0 26px 24px; }
}

/* ---------- 10. get a price ---------- */
.quote { padding-block: var(--section); background: linear-gradient(180deg, var(--bg-soft) 0 18%, var(--bg) 18%); }
.quote__card { display: grid; background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-3); overflow: hidden; }
.quote__rail { position: relative; overflow: hidden; background: var(--em-900); color: var(--on-dark-muted); padding: var(--s6) var(--s5); display: grid; gap: var(--s5); align-content: start; }
.quote__rail::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 340px; height: 340px; border-radius: 50%; border: 1.5px solid rgba(216, 156, 48, .35); pointer-events: none; }
.quote__rail h2 { color: #fff; }
.quote__steps { display: none; }
.quote__facts { display: grid; gap: var(--s4); }
.quote__fact { display: flex; gap: var(--s3); align-items: flex-start; color: #fff; font-weight: 500; }
.quote__fact svg { flex: none; color: var(--gold-400); margin-top: 3px; }
.quote__talk { padding: var(--s4); border-radius: var(--r-md); background: rgba(255, 255, 255, .06); border: 1px solid var(--on-dark-line); }
.quote__talk p + p { margin-top: 0; }
.quote__talk > p:first-child { font-size: .9rem; }
.quote__phone { display: inline-block; margin-top: 2px; color: var(--gold-200); font: 700 1.5rem/1.2 var(--font-display); text-decoration: none; font-variant-numeric: tabular-nums; }
.quote__phone:hover { color: #fff; }
.quote__hours { font-size: .85rem; margin-top: 4px !important; }
.qform { padding: var(--s6) var(--s5); }
.qform__top { display: grid; gap: var(--s2); margin-bottom: var(--s5); }
.qform__progress { font-size: .85rem; font-weight: 700; color: var(--gold-ink); }
.qform__bar { height: 6px; border-radius: 6px; background: var(--bg-soft); overflow: hidden; }
.qform__bar span { display: block; width: 25%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--em-700), var(--gold-400)); }
.qform__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.qform__legend { padding: 0; font: 700 1.5rem/1.2 var(--font-display); color: var(--em-900); letter-spacing: -.01em; }
.qform__choices { margin-top: var(--s5); display: grid; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__box { display: flex; align-items: center; gap: var(--s3); min-height: 58px; padding: 12px 16px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; font-weight: 600; line-height: 1.35; transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast) var(--ease); }
.choice__radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ui-line); background: #fff; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.choice:hover .choice__box { border-color: var(--em-700); transform: translateY(-1px); box-shadow: var(--sh-1); }
.choice input:checked + .choice__box { border-color: var(--em-700); background: var(--bg-mint); box-shadow: inset 0 0 0 1px var(--em-700); }
.choice input:checked + .choice__box .choice__radio { border-color: var(--em-700); box-shadow: inset 0 0 0 5px var(--em-700); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--focus-outer); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-inner); }
.qform__nav { margin-top: var(--s6); display: flex; justify-content: flex-end; }
@media (min-width: 768px) {
  .qform__choices { grid-template-columns: 1fr 1fr; }
  .qform { padding: var(--s7); }
  .quote__facts { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 1100px) {
  .quote__card { grid-template-columns: 360px 1fr; }
  .quote__rail { padding: var(--s7) var(--s6); }
  .quote__facts { grid-template-columns: 1fr; margin-top: auto; }
  .quote__steps { display: grid; gap: 0; position: relative; }
  .quote__steps li { position: relative; display: flex; align-items: center; gap: var(--s3); padding: 10px 0; font-weight: 600; font-size: .95rem; }
  .quote__steps li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 42px; width: 2px; height: 16px; background: rgba(255, 255, 255, .18); }
  .quote__steps span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .3); font-size: .85rem; color: #fff; }
  .quote__steps .is-on { color: #fff; }
  .quote__steps .is-on span { background: var(--gold-400); border-color: var(--gold-400); color: var(--em-950); }
  .qform { padding: var(--s8) var(--s8) var(--s7); }
}

/* ---------- footer ---------- */
.ftr { position: relative; overflow: hidden; background: var(--em-950); color: var(--on-dark-muted); padding: var(--s8) 0 var(--s5); }
.ftr::before { content: ""; position: absolute; left: 50%; top: -620px; width: 1100px; height: 1100px; margin-left: -550px; border-radius: 50%; border: 1.5px solid rgba(216, 156, 48, .22); pointer-events: none; }
.ftr .wrap { position: relative; }
.ftr__cta { display: grid; gap: var(--s5); padding: var(--s6) var(--s5); border-radius: var(--r-xl); background: linear-gradient(135deg, var(--em-700), var(--em-800)); box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.ftr__cta-title { font: 700 clamp(1.7rem, 1.2rem + 2vw, 2.4rem)/1.1 var(--font-display); color: #fff; letter-spacing: -.02em; }
.ftr__cta-sub { margin-top: var(--s2) !important; color: #e0ebe2; }
.ftr__cta-btns { display: flex; flex-wrap: wrap; gap: var(--s3); }
.ftr__grid { margin-top: var(--s7); display: grid; }
.ftr__about { display: grid; gap: var(--s4); justify-items: start; padding-bottom: var(--s6); }
.ftr__about > p { max-width: 40ch; }
.ftr__seal { display: grid; padding: 10px 16px; border-radius: var(--r-md); border: 1px solid rgba(216, 156, 48, .45); background: rgba(216, 156, 48, .06); font-size: .85rem; }
.ftr__seal-k { color: #fff; font-weight: 700; }
.ftr__seal-n { color: var(--gold-400); font-variant-numeric: tabular-nums; }
.ftr__col { border-top: 1px solid var(--on-dark-line); }
.ftr__col:last-child { border-bottom: 1px solid var(--on-dark-line); }
.ftr__h { font: 700 1.1rem/1.2 var(--font-display); color: #fff; letter-spacing: 0; }
.ftr__toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 2px; border: 0; background: none; color: #fff; font: inherit; text-align: left; }
.ftr__chev { position: relative; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: transform var(--t-med) var(--ease), background-color var(--t-med); }
.ftr__chev::before { content: ""; position: absolute; left: 50%; top: 45%; width: 8px; height: 8px; margin-left: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.ftr__toggle[aria-expanded="true"] .ftr__chev { transform: rotate(180deg); background: var(--gold-400); color: var(--em-950); }
.ftr__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ease), visibility 0s linear .4s; }
.ftr__panel > ul { overflow: hidden; min-height: 0; padding: 6px; margin: -6px; } /* padding keeps focus rings inside the clip box */
.ftr__col.is-open .ftr__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--ease), visibility 0s; }
html:not(.js) .ftr__panel { grid-template-rows: 1fr; visibility: visible; }
.ftr__label { display: none; }
.ftr__panel li:last-child { padding-bottom: var(--s4); }
.ftr__panel a { display: inline-block; padding: 7px 0; color: var(--on-dark-muted); text-decoration: none; transition: color var(--t-fast), transform var(--t-fast) var(--ease); }
.ftr__panel a:hover { color: var(--gold-200); transform: translateX(3px); }
.ftr__contact li { padding: 4px 0; }
.ftr__phone { color: #fff !important; font: 700 1.3rem/1.2 var(--font-display) !important; font-variant-numeric: tabular-nums; }
.ftr__legal { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--on-dark-line); display: grid; gap: var(--s3); font-size: .85rem; }
.ftr__legal p + p { margin-top: 0; }
.ftr__legal-links { display: flex; flex-wrap: wrap; gap: var(--s4); }
.ftr__legal-links a { display: inline-block; padding-block: 3px; margin-block: -3px; } /* 24px targets (2.5.8) */
.ftr__legal a { color: var(--on-dark-muted); }
.ftr__legal a:hover { color: #fff; }
.ftr__credit a { color: var(--gold-200) !important; }
@media (min-width: 900px) {
  .ftr { padding-top: var(--s9); }
  .ftr__cta { grid-template-columns: 1fr auto; align-items: center; padding: var(--s7); }
  .ftr__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s7); }
  .ftr__col, .ftr__col:last-child { border: 0; }
  .ftr__toggle { display: none; }
  .ftr__label { display: block; padding: 0 0 var(--s3); }
  .ftr__panel { grid-template-rows: 1fr !important; visibility: visible !important; }
  .ftr__legal { grid-template-columns: 1fr auto auto; align-items: center; gap: var(--s6); }
}

/* ---------- action bar: always fixed under 1100px (phones: Call + Get a price; 768-1099: Get a price only) ---------- */
.abar { position: fixed; z-index: 80; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px; border-radius: var(--r-lg); background: var(--em-950); box-shadow: 0 12px 30px rgba(0, 20, 6, .35), 0 0 0 1px rgba(255, 255, 255, .06); }
.abar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r-md); color: #fff; text-decoration: none; font-weight: 700; background: rgba(255, 255, 255, .08); transition: background-color var(--t-fast); }
.abar__btn:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.abar__btn--primary { background: var(--gold-400); color: var(--em-950); }
.abar__btn--primary:hover { color: var(--em-950); background: var(--gold-300); }
/* 500px and up: nobody calls from a computer or a sideways tablet, so the bar is one full-width quote button */
@media (min-width: 500px) {
  .abar { grid-template-columns: 1fr; }
  .abar__btn--call { display: none; }
}
@media (min-width: 1100px) { .abar { display: none; } }

/* ---------- reveals (one orchestrated set, not every section) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .creds__cards [data-reveal]:nth-child(2) { transition-delay: .12s; }
.js .fork [data-reveal]:nth-of-type(2) { transition-delay: .15s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* hidden panels stay hidden when JS runs */
.js [role="tabpanel"][hidden] { display: none !important; }

/* ---- round 2 fixes ---- */
.quote { padding-top: var(--s6); }
.ftr__about { align-content: start; }
.visit__track { right: calc((100% - 3 * var(--s2)) / 4 - 22px); }
@media (max-width: 767px) {
  .county-map__townnum { display: none; }
  .county-map__town.is-hot .county-map__townname { display: inline; font-size: 26px; }
}
@media (max-width: 1099px) {
  .receive__grid { gap: 0; }
  .receive__intro { display: contents; }
  .receive__intro h2 { order: 1; }
  .receive__intro > p:not(.receive__hint) { order: 2; margin-bottom: var(--s6); }
  .receive__desk { order: 3; }
  .receive__hint { order: 4; margin-top: var(--s6) !important; }
  .rkey { order: 5; }
}
@media (min-width: 1100px) {
  .visit__track { right: auto; }
  .who__panel { position: relative; }
  .who__panel::before { content: ""; position: absolute; right: -60px; top: -40px; width: 380px; height: 380px; border-radius: 50%; border: 1.5px solid rgba(192, 132, 24, .35); pointer-events: none; z-index: -1; }
  .who__panel { isolation: isolate; }
}
@media (max-width: 767px) {
  .receive__desk { padding-bottom: var(--s4); }
  .receive__cta { position: relative; right: auto; bottom: auto; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; margin-top: var(--s4); }
}
.ftr { padding-bottom: calc(var(--s5) + var(--abar-h) + 12px); }

/* ---- concept D: roofline dividers between light and dark sections ---- */
.area { position: relative; padding-bottom: calc(var(--section) + var(--roof-h)); }
.area__roof { position: absolute; left: 0; right: 0; bottom: -1px; --roof-color: var(--em-800); }
.quote { position: relative; padding-bottom: calc(var(--s8) + var(--roof-h)); }
.quote__roof { position: absolute; left: 0; right: 0; bottom: -1px; --roof-color: var(--em-950); }
.amirra::before { top: 12%; }
@media (prefers-reduced-motion: reduce) { .hero__bg { transform: none; } }

/* v2 logo is wider: keep header items on one line, shrink logo + nav gaps on mid-size desktops */
.hdr__phone, .hdr__cta, .dnav a, .dnav button { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1439px) {
  .hdr .lockup__img { height: 36px; }
  .hdr__bar { gap: var(--s3); }
  .hdr__phone svg { display: none; }
}
/* keep decorative overflow (hero bg zoom, watermarks) inside each section; clip, not hidden, so shadows survive */
main > section, .hero { overflow-x: clip; }
.dnav svg { flex-shrink: 0; }
/* heading beside the tab pill only when all five tabs fit */
@media (min-width: 1100px) and (max-width: 1239px) {
  .who__head { grid-template-columns: 1fr; align-items: start; }
  .seg { justify-self: start; }
}

/* ---- round 3: phone hero fits above the fold, full 4-step quote form ---- */

/* hero: one lead paragraph per breakpoint (the other is display:none, so screen readers get one) */
.hero__lead--short { display: none; }
@media (max-width: 767px) {
  .hero__inner { padding-top: calc(var(--hdr-h) + 18px); gap: var(--s6); }
  .hero__chip { font-size: .78rem; padding: 6px 12px 6px 9px; gap: 4px 8px; }
  .hero__title { margin-top: var(--s4); font-size: clamp(2.1rem, 1.35rem + 3.4vw, 2.4rem); line-height: 1.04; letter-spacing: -.022em; max-width: 15ch; }
  .hero__lead--full { display: none; }
  .hero__lead--short { display: block; margin-top: var(--s3); font-size: 1rem; line-height: 1.5; max-width: 34ch; }
  .hero__actions { margin-top: var(--s5); gap: var(--s3) var(--s5); }
  .hero__actions .btn--lg { min-height: 52px; padding: 12px 24px; }
  .hero__call { font-size: 1.15rem; }
  .hero__call span { font-size: .95rem; }
  .hero__steps { margin-top: var(--s6); }
}

/* quote form */
.qform [hidden], .quote__steps li[hidden] { display: none !important; }
.qform__hp { display: none; }
.qform__bar span { width: var(--w, 25%); transition: width var(--t-med) var(--ease); }
.qform__heading { display: inline-block; border-radius: 6px; }
.qform__heading:focus { outline: none; }
.qform__heading:focus-visible { outline: 3px solid var(--focus-outer); outline-offset: 3px; box-shadow: 0 0 0 2px var(--focus-inner) !important; }
.qform__hint { margin-top: var(--s2); color: var(--muted); font-size: .95rem; }
.qform__hint + .qform__choices { margin-top: var(--s4); }
.qform__choices--one { grid-template-columns: 1fr !important; margin-top: var(--s2); }
.field { margin-top: var(--s5); min-width: 0; }
.field > label, .field__label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.req { font-weight: 500; font-size: .85em; color: var(--muted); }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  display: block; width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid var(--ui-line); border-radius: var(--r-sm);
  background: #fff; color: var(--ink); font: 500 1rem/1.4 var(--font-body);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 76px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23005424' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field input[type="file"] { padding: 10px 12px; font-size: .95rem; }
.field input:hover:not([type="radio"]):not([type="checkbox"]), .field select:hover, .field textarea:hover { border-color: var(--em-700); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--em-700); }
.field ::placeholder { color: #66716a; opacity: 1; }
.field [aria-invalid="true"] { border-color: var(--err) !important; box-shadow: inset 0 0 0 1px var(--err); }
.field__hint { margin-top: 6px !important; font-size: .9rem; color: var(--muted); }
.field__error { display: flex; gap: 8px; align-items: flex-start; margin-top: 6px !important; color: var(--err); font-weight: 600; font-size: .92rem; line-height: 1.35; }
.field__error::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--err); color: #fff; font-size: .75rem; font-weight: 800; }
.qform__step > .field__error { margin-top: var(--s3) !important; }
.qform__pair { display: grid; column-gap: var(--s4); }
.qform__row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice--sm { display: inline-block; }
.choice--sm .choice__box { min-height: 44px; padding: 8px 16px 8px 12px; border-radius: var(--r-pill); gap: 10px; }
.choice--sm .choice__radio { width: 20px; height: 20px; }
.qform__checks { margin-top: var(--s5); display: grid; gap: 10px; }
.choice--check .choice__box { min-height: 52px; font-weight: 500; }
.choice--check .choice__radio { border-radius: 6px; }
.choice--check input:checked + .choice__box .choice__radio { box-shadow: none; background: var(--em-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11'%3E%3Cpath d='M1.5 5.5l3.8 3.8L12.5 1.8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; }
.qform__note { margin-top: var(--s4); padding: 12px 16px; border-left: 4px solid var(--gold-500); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--gold-wash); color: var(--ink); font-size: .95rem; line-height: 1.5; }
.qform__stop { margin-top: var(--s5); padding: var(--s5); border-radius: var(--r-md); background: var(--em-tint); border: 1.5px solid var(--em-700); color: var(--ink); }
.qform__stop p + p { margin-top: var(--s3); }
.qform__stop strong { color: var(--em-900); }
.qform__errors { margin-bottom: var(--s5); padding: var(--s4) var(--s5); border: 2px solid var(--err); border-radius: var(--r-md); background: #fdf1f0; color: var(--ink); }
.qform__errors:focus { outline: 3px solid var(--focus-outer); outline-offset: 2px; }
.qform__errors ul { margin-top: var(--s2); padding-left: 20px; list-style: disc; }
.qform__errors li + li { margin-top: 4px; }
.qform__errors a { color: var(--err-ink); font-weight: 600; }
.qform__nav { flex-wrap: wrap; gap: var(--s3); align-items: center; }
.qform__nav [data-next], .qform__nav [data-submit] { margin-left: auto; }
.btn--quiet { --btn-bg: #fff; --btn-fg: var(--em-900); --btn-bd: var(--ui-line); box-shadow: none; }
.btn--quiet:hover { --btn-bg: var(--em-tint); --btn-bd: var(--em-700); }
.btn--quiet:hover svg { transform: translateX(-3px); }
.qform__privacy { margin-top: var(--s5); font-size: .88rem; color: var(--muted); }
.quote__steps li { transition: color var(--t-fast); }
.quote__steps .is-done span { background: rgba(216, 156, 48, .16); border-color: var(--gold-400); color: var(--gold-200); }
:root { --err: #b42318; --err-ink: #8f1c13; }
@media (min-width: 560px) {
  .qform__pair { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 479px) {
  .qform__nav .btn { flex: 1 1 auto; }
}


/* hero 4-step path: each dot shows its photo; auto-advances unless paused or reduced motion */
.hero__steps { margin-top: var(--s7); display: flex; align-items: flex-start; gap: var(--s3); max-width: 560px; }
.hero__path { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.hero__path::before, .hero__path::after { content: ""; position: absolute; left: 7px; top: 6px; width: 75%; height: 2px; border-radius: 2px; }
.hero__path::before { background: rgba(255, 255, 255, .24); }
.hero__path::after { background: linear-gradient(90deg, var(--gold-400), var(--gold-200)); transform-origin: 0 50%; transform: scaleX(var(--to, 0)); }
.hero__path.is-running::after { animation: hfill var(--hdur, 4s) linear both; }
.hero__steps.is-held .hero__path::after { animation-play-state: paused; }
@keyframes hfill { from { transform: scaleX(var(--from, 0)); } to { transform: scaleX(var(--to, 0)); } }
.hero__dot { position: relative; z-index: 1; display: block; width: 100%; padding: 22px 8px 4px 0; margin: 0; border: 0; border-radius: 4px; background: none; color: var(--on-dark-muted); font: 600 .84rem/1.3 var(--font-body); text-align: left; transition: color var(--t-fast); }
.hero__dot::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--em-950); border: 2px solid var(--gold-400); transition: background-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.hero__dot.is-done::before { background: var(--gold-400); }
.hero__dot.is-on { color: #fff; }
.hero__dot.is-on::before { background: var(--gold-400); box-shadow: 0 0 0 4px rgba(216, 156, 48, .3); }
.hero__dot:hover { color: #fff; }
.hero__pause { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -9px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(var(--scrim), .5); color: #fff; transition: background-color var(--t-fast), border-color var(--t-fast); }
.hero__pause:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.hero__pause[hidden] { display: none; }
.hero__pause svg { grid-area: 1 / 1; }
.hero__play-i, .hero__pause.is-paused .hero__pause-i { display: none; }
.hero__pause.is-paused .hero__play-i { display: block; }
.specimen__photo { position: relative; background: var(--em-900); }
.specimen__img { opacity: 0; transition: opacity .9s var(--ease); }
.specimen__img + .specimen__img { position: absolute; inset: 0; height: 100%; }
.specimen__img.is-on { opacity: 1; }
.specimen__img[data-hphoto="3"] { object-position: 72% 50%; }
@media (max-width: 767px) { .hero__steps { margin-top: var(--s6); } }
@media (max-width: 359px) {
  .hero__inner { padding-top: calc(var(--hdr-h) + 10px); }
  .hero__chip { font-size: .72rem; }
  .hero__title { margin-top: var(--s3); font-size: 2rem; }
  .hero__lead--short { margin-top: var(--s2); font-size: .95rem; }
  .hero__actions { margin-top: var(--s4); gap: var(--s2) var(--s4); }
}
@media (max-width: 479px) { .hero__steps { gap: var(--s2); } .hero__dot { padding-right: 2px; font-size: .76rem; } }

/* phones and portrait tablets: center the hero copy, chip, buttons and photo steps */
@media (max-width: 1023px) {
  .hero__text { text-align: center; }
  .hero__title, .hero__lead { margin-inline: auto; }
  .hero__chip { justify-content: center; }
  .hero__actions { justify-content: center; }
  .hero__steps { margin-inline: auto; }
  .specimen { justify-self: center; margin: 0 auto 8px; }
}
/* phones + portrait tablets: centered photo-step row that matches the centered hero copy */
@media (max-width: 1023px) {
  .hero__steps { flex-direction: column; align-items: center; gap: var(--s3); width: 100%; max-width: 440px; }
  .hero__path { width: 100%; }
  .hero__path::before, .hero__path::after { left: 12.5%; width: 75%; }
  .hero__dot { padding: 22px 2px 4px; text-align: center; }
  .hero__dot::before { left: 50%; transform: translateX(-50%); }
  .hero__pause { margin-top: 0; }
  .specimen { transform: none; width: min(100%, 420px); }
}

/* credential line: typeset text with gold hairlines, no pill or glowing dot */
.hero__cred { display: inline-flex; flex-direction: column; gap: 4px; margin: 0; padding-left: 14px; border-left: 2px solid var(--gold-400); }
.hero__cred-label { font: 700 .74rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-200); }
.hero__cred-num { font: 600 .9rem/1.2 var(--font-body); letter-spacing: .04em; color: #fff; font-variant-numeric: tabular-nums; }
@media (max-width: 1023px) {
  .hero__cred { align-items: center; padding: 0; border: 0; }
  .hero__cred-label { display: flex; align-items: center; gap: 10px; }
  .hero__cred-label::before, .hero__cred-label::after { content: ""; width: 22px; height: 1px; background: var(--gold-400); }
}
/* phones: H1 and subtext use the full column width */
@media (max-width: 767px) {
  .hero__title { font-size: clamp(1.85rem, .9rem + 4.4vw, 2.3rem); line-height: 1.05; max-width: none; }
  .hero__lead--short { font-size: 1.08rem; line-height: 1.5; max-width: none; }
}
@media (max-width: 359px) {
  .hero__title { font-size: 1.75rem; }
  .hero__lead--short { font-size: 1rem; }
}
/* tablets: quote button as a pill in the bottom right, not a full-width bar */
@media (min-width: 768px) and (max-width: 1099px) {
  .abar { left: auto; right: max(16px, env(safe-area-inset-right, 0px)); width: 260px; }
}

/* pause/play sits on the photo it controls */
.specimen .hero__pause { position: absolute; top: 14px; right: 14px; z-index: 3; margin: 0; width: 36px; height: 36px; background: rgba(0, 20, 6, .62); border-color: rgba(255, 255, 255, .7); backdrop-filter: none; }
.specimen .hero__pause:hover { background: rgba(0, 20, 6, .8); border-color: #fff; }
/* wide screens: photo centered beside the headline block, not parked at the bottom */
@media (min-width: 1024px) {
  .specimen { align-self: center; margin-bottom: 0; }
}
/* photo never wider than its grid column (it overlapped the lead text around 1024-1250px) */
@media (min-width: 1024px) {
  .specimen { width: min(400px, 100%); justify-self: end; }
}
/* phones: H1 sized to break into exactly two balanced lines */
@media (max-width: 767px) {
  .hero__title { font-size: 6.4vw; line-height: 1.1; text-wrap: balance; }
}
/* phones: compact the hero so the step photo is fully visible on load, above the action bar */
@media (max-width: 767px) {
  .hero__inner { gap: var(--s4); }
  .hero__actions { margin-top: var(--s4); gap: var(--s2) var(--s4); }
  .hero__steps { margin-top: var(--s4); }
  .specimen { width: min(56vw, 240px); margin-bottom: 0; }
  .specimen__photo { border-width: 4px; }
  .specimen .hero__pause { top: 8px; right: 8px; width: 32px; height: 32px; }
}
/* under 500px the fixed bar already has Call, so the hero drops its "Or call" line */
@media (max-width: 499px) {
  .hero__call { display: none; }
  .specimen { width: min(56vw, 220px); }
}
@media (max-width: 499px) {
  .hero__inner { padding-top: calc(var(--hdr-h) + 6px); }
  .hero__title { margin-top: var(--s3); }
  .specimen { width: min(52vw, 200px); }
}
/* phones: wider, shorter crop so the photo reads bigger and still fits on load */
@media (max-width: 499px) {
  .specimen { width: min(74vw, 290px); }
  .specimen__photo img { aspect-ratio: 2 / 1; }
}

/* the menu dialog takes focus on open; it never shows a ring itself */
.mnav:focus { outline: none; }
/* menu ring is decoration only: pin it to the viewport so it never adds scroll area */
.mnav { overflow-x: hidden; }
.mnav::before { position: fixed; }
/* phones: tighter menu so links + contact card fit one screen without scrolling */
@media (max-width: 767px) {
  .mnav__inner { padding-top: var(--s3); padding-bottom: var(--s5); gap: var(--s4); }
  .mnav__link { padding: 11px 4px; font-size: 1.42rem; }
  .mnav__card { padding: var(--s4); gap: var(--s3); }
}

/* who-we-test-for pill: arrows on phones/small tablets, hidden where all tabs fit */
.seg-nav { display: flex; align-items: center; gap: 8px; min-width: 0; justify-self: start; max-width: 100%; }
.seg-nav .seg { flex: 1 1 auto; min-width: 0; }
.seg-nav__arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--em-900); box-shadow: 0 2px 8px rgba(0, 40, 14, .08); transition: background-color var(--t-fast), color var(--t-fast), opacity var(--t-fast); }
.seg-nav__arrow:hover:not(:disabled) { background: var(--em-700); color: #fff; }
.seg-nav__arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
@media (min-width: 768px) { .seg-nav__arrow { display: none; } }
@media (min-width: 1100px) { .seg-nav { justify-self: end; } }
@media (min-width: 1100px) and (max-width: 1239px) { .seg-nav { justify-self: start; } }
/* phones/small tablets: all five groups visible at once as a 2-column segmented grid (no scrolling, no arrows) */
.seg-nav__arrow { display: none !important; }
@media (max-width: 767px) {
  .seg-nav { width: 100%; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 22px; overflow: visible; width: 100%; }
  .seg__btn { padding: 11px 10px; font-size: .92rem; text-align: center; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(0, 40, 14, .06); transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
  .seg__btn:last-of-type { grid-column: 1 / -1; }
  .seg__btn[aria-selected="true"] { background: var(--em-700); color: #fff; box-shadow: 0 4px 12px rgba(0, 60, 24, .25); }
  .seg__thumb { display: none; }
}
/* link from credentials to the lead-safe vs lead-free fork */
.creds__which { margin-top: var(--s5); align-self: flex-start; }
.creds__which::after { content: ""; width: 8px; height: 8px; margin-left: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
@media (max-width: 1023px) { .creds__which { align-self: center; } }

/* ===== small phones (iPhone SE/4 class, under 400px) ===== */
@media (max-width: 399px) {
  /* who-we-test-for grid: columns may shrink, labels wrap instead of overflowing */
  .seg { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5px; padding: 5px; }
  .seg__btn { white-space: normal; line-height: 1.2; padding: 10px 6px; font-size: .86rem; min-height: 44px; }

  /* sample certificate: label sits above its value, roomier sheet */
  .receive__desk { padding-inline: 10px; }
  .packet__sheet { padding: var(--s4) var(--s3); transform: none; }
  .packet__row { grid-template-columns: 1fr; gap: 2px; padding-right: 34px; }
  .packet__row dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
  .packet__results { font-size: .76rem; }
  .packet__results th, .packet__results td { padding-right: 4px; }
}
/* town cards: the pill badge rules moved to the MFIT shared block (all phones) */

/* back to top: bottom right on every screen, stacked above the action bar where the bar shows */
.totop { position: fixed; z-index: 79; right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(var(--abar-h) + 14px); width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: var(--em-900); color: #fff; box-shadow: 0 10px 24px rgba(0, 20, 6, .28); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med), background-color var(--t-fast); }
.totop.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.totop:hover { background: var(--em-700); }
@media (min-width: 768px) and (max-width: 1099px) { .totop { bottom: calc(var(--abar-h) + 18px); right: max(16px, env(safe-area-inset-right, 0px)); } }
@media (min-width: 1100px) { .totop { bottom: 28px; right: 28px; } }
@media (prefers-reduced-motion: reduce) { .totop { transition: none; } }
body.menu-open .totop { display: none; }
/* FAQ shortcut: bottom left, opposite back-to-top; hidden on the FAQ page itself */
.faqfab { position: fixed; z-index: 79; left: max(14px, env(safe-area-inset-left, 0px)); bottom: calc(var(--abar-h) + 14px); display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: var(--em-900); color: #fff; font: 700 .95rem/1 var(--font-body); text-decoration: none; box-shadow: 0 10px 24px rgba(0, 20, 6, .28); transition: background-color var(--t-fast), transform var(--t-fast); }
.faqfab:hover { background: var(--em-700); color: #fff; transform: translateY(-2px); }
.faqfab svg { color: var(--gold-200); }
.page-faq .faqfab, body.menu-open .faqfab { display: none; }
@media (min-width: 768px) and (max-width: 1099px) { .faqfab { bottom: calc(var(--abar-h) + 18px); left: max(16px, env(safe-area-inset-left, 0px)); } }
@media (min-width: 1100px) { .faqfab { bottom: 28px; left: 28px; } }
@media (max-width: 767px) { .faqfab { height: 44px; width: 44px; padding: 0; justify-content: center; left: 10px; bottom: calc(var(--abar-h) + 10px); } .faqfab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .faqfab { transition: none; } .faqfab:hover { transform: none; } }
/* 1024-1099px (single-column hero while the quote pill shows): same centered layout as tablets */
@media (min-width: 1024px) and (max-width: 1099px) {
  .hero__text { text-align: center; }
  .hero__title, .hero__lead { margin-inline: auto; }
  .hero__cred { align-items: center; padding: 0; border: 0; }
  .hero__cred-label { display: flex; align-items: center; gap: 10px; }
  .hero__cred-label::before, .hero__cred-label::after { content: ""; width: 22px; height: 1px; background: var(--gold-400); }
  .hero__actions { justify-content: center; }
  .hero__steps { flex-direction: column; align-items: center; gap: var(--s3); width: 100%; max-width: 440px; margin-inline: auto; }
  .hero__path { width: 100%; }
  .hero__path::before, .hero__path::after { left: 12.5%; width: 75%; }
  .hero__dot { padding: 22px 2px 4px; text-align: center; }
  .hero__dot::before { left: 50%; transform: translateX(-50%); }
  .specimen { justify-self: center; margin: 0 auto 8px; transform: none; width: min(100%, 420px); }
}

/* homepage-preview note (shown instead of navigating to unbuilt pages) */
.pvtoast { position: fixed; z-index: 120; left: 50%; top: calc(var(--hdr-h) + 12px); transform: translate(-50%, -8px); display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 24px); padding: 12px 12px 12px 18px; border-radius: var(--r-md); background: var(--em-950); color: #fff; font-size: .92rem; line-height: 1.4; box-shadow: 0 14px 34px rgba(0, 20, 6, .35); border: 1px solid rgba(216, 156, 48, .45); opacity: 0; transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease); }
.pvtoast.is-on { opacity: 1; transform: translate(-50%, 0); }
.pvtoast__x { flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; }
.pvtoast__x:hover { background: rgba(255, 255, 255, .2); }
@media (prefers-reduced-motion: reduce) { .pvtoast { transition: none; } }

.hero__title:focus { outline: none; }

/* ===== MFIT shared (phones): chrome, fold, quote options, avatar, badge cards, chip row, helpers, shared components.
   Tokens are at the top of this file. Breakpoints: P max-width 767, P-wide 360 to 767, P-small max-width 359, P-short max-height 560. ===== */
.p-only { display: none; }
@keyframes fold-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 767px) {
  /* chrome: bottom bar and back to top */
  .abar { left: 8px; right: 8px; bottom: calc(6px + env(safe-area-inset-bottom, 0px)); padding: 6px; gap: 6px; }
  .abar__btn { min-height: 46px; }
  .totop { width: 44px; height: 44px; right: 10px; bottom: calc(var(--abar-h) + 10px); }

  /* fold: phone-only accordion built by js/d.js from data-fold markup */
  .fold-on .fold__head { margin: 0; display: block; }
  .fold-on .fold__btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 10px 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; letter-spacing: inherit; }
  .fold-on .fold__label { flex: 1 1 auto; min-width: 0; }
  .fold__icon, .js .rkey__btn::after { flex: none; width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(var(--em-900), var(--em-900)) center / 12px 2px no-repeat, linear-gradient(var(--em-900), var(--em-900)) center / 2px 12px no-repeat, var(--em-tint); }
  .fold-on .is-open > .fold__btn .fold__icon, .fold-on .is-open .fold__btn .fold__icon, .js .rkey__btn[aria-expanded="true"]::after {
    background: linear-gradient(#fff, #fff) center / 12px 2px no-repeat, var(--em-700); }
  .fold-on .fold__body { animation: fold-in .2s var(--ease); }
  .fold-on [data-fold-item] + [data-fold-item] { border-top: 1px solid var(--line); }
  .sec--dark .fold-on [data-fold-item] + [data-fold-item] { border-top-color: var(--on-dark-line); }
  /* numbered variant (timelines): the number disc is the state marker, no plus/minus disc */
  .fold-on.tl .fold__icon { display: none; }
  .fold-on.tl > li::before { background: var(--em-tint); color: var(--em-900); }
  .fold-on.tl > li.is-open::before { background: var(--gold-400); color: var(--em-950); }

  /* quote form options: one filled selected state for every radio choice */
  .qform__choices { gap: 6px; margin-top: 10px; }
  .qform__hint + .qform__choices { margin-top: 10px; }
  .choice__box { min-height: 46px; padding: 8px 12px; font-size: var(--fs-body-sm); line-height: 1.25; border-radius: var(--r-sm); }
  .choice:not(.choice--check) .choice__radio { display: none; }
  .choice:not(.choice--check) input:checked + .choice__box { background: var(--em-700); border-color: var(--em-700); color: #fff; }
  .qform__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
  .choice--sm { display: block; }
  .choice--sm .choice__box { justify-content: center; text-align: center; min-height: 44px; padding: 6px; font-size: var(--fs-compact); line-height: 1.15; border-radius: var(--r-sm); }

  /* avatar: one implementation for every portrait of a person */
  .avatar-row.avatar-row { display: grid; grid-template-columns: var(--avatar) minmax(0, 1fr); gap: 14px; align-items: center; }
  .avatar.avatar { position: static; width: var(--avatar); height: var(--avatar); aspect-ratio: 1; border-radius: 50%; overflow: hidden; object-fit: cover; object-position: 50% 15%; box-shadow: 0 0 0 3px var(--avatar-bg, #fff), 0 0 0 5px var(--gold-400); }
  .avatar.avatar::before { display: none; }
  .avatar.avatar img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 15%; border-radius: 0; box-shadow: none; }
  .avatar--sm.avatar--sm { width: var(--avatar-sm); height: var(--avatar-sm); box-shadow: 0 0 0 2px var(--gold-400); }
  .amirra__portrait { width: auto; margin: 0; padding: 0; }
  .amirra__portrait::before { display: none; }
  .amirra__badge { position: static; padding: 0; background: none; box-shadow: none; border-radius: 0; }
  .amirra__badge strong { color: #fff; }
  .amirra__badge span { color: var(--on-dark-muted); font-size: var(--fs-compact); }
  .amirra, .ahero { --avatar-bg: var(--em-800); }

  /* badge-plus-text cards: the badge sits on its own row, the text uses the full card width */
  .place { grid-template-columns: 1fr; gap: var(--s3); padding: var(--s4); }
  .place__badge { width: auto; min-height: 0; display: inline-flex; align-items: baseline; gap: 6px; justify-self: start; padding: 6px 12px; border-radius: var(--r-pill); overflow-wrap: normal; }
  .place__yrs { font-size: 1.2rem; line-height: 1; }
  .place__unit { margin-top: 0; font-size: var(--fs-meta); }
  .quote__fact { display: block; }
  .quote__fact svg { display: inline; vertical-align: -3px; margin: 0 6px 0 0; }

  /* chip row and phone picker */
  .chiprow { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-start; }
  .chiprow .chip, .chiprow > button, .chiprow > a, .chiprow > li > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: var(--fs-sm); }
  .sec--dark .chiprow .chip[aria-pressed="true"] { background: var(--gold-400); border-color: var(--gold-400); color: var(--em-950); }   /* emerald on emerald would vanish */
  .js .p-only { display: block; }
  .js .chiprow.p-only { display: flex; }
  .js [data-atlas] [data-place-card]:not(.is-on) { display: none; }

  /* small helpers */
  .tap { display: inline-flex; align-items: center; min-height: 44px; }
  .btn--sm { min-height: 44px; }
  .source { overflow-wrap: anywhere; }
  .copy, .ftr__legal-links a { position: relative; }
  .copy::after, .ftr__legal-links a::after { content: ""; position: absolute; inset: -14px -6px; }
  /* a source link on its own line under an FAQ answer: halo, so the answer does not grow */
  .qa .source a { position: relative; }
  .qa .source a::after { content: ""; position: absolute; inset: -14px -6px; }
  .pin--inline { font-size: var(--fs-meta); }
  .req { font-size: var(--fs-meta); }

  /* credential cards */
  .creds__cards { gap: var(--gap-stack); }
  .idcard__band { padding: 10px var(--card-pad); gap: 4px 10px; }
  .idcard__kind, .idcard__issuer { font-size: var(--fs-meta); }
  .idcard__body { padding: var(--card-pad); gap: 12px; }
  .idcard__title { font-size: var(--fs-h4); }
  .idcard__facts { grid-template-columns: 1.3fr 1fr; padding: 12px; gap: 10px; }
  .idcard__facts dt { font-size: var(--fs-meta); }
  .idcard__check--plain { display: block; font-size: var(--fs-compact); line-height: 1.45; }   /* a note: compact tier */
  .copy { font-size: var(--fs-meta); }

  /* FAQ block: the ask card moves after the questions */
  .faq__grid { gap: 0; }
  .faq__side { display: contents; }
  .faq__meta { margin-top: 8px; }
  .faq__list { order: 2; margin-top: var(--gap-head); gap: 8px; }
  .faq__ask { order: 3; margin-top: var(--gap-head); padding: var(--card-pad); gap: 10px; }
  .qa__q { min-height: 52px; padding: 12px 14px; gap: 12px; font-size: var(--fs-body-sm); line-height: 1.3; }
  .qa__icon { width: 28px; height: 28px; }
  .qa__inner { padding: 0 14px 14px; font-size: var(--fs-body-sm); line-height: 1.55; }

  /* quote section */
  .quote { padding-top: 24px; }
  .quote__rail { padding: var(--card-pad-sm); gap: 10px; }
  .quote__facts { gap: 10px; }
  .quote__fact { font-size: var(--fs-compact); }
  .quote__talk { padding: 10px 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
  .quote__phone { display: inline-flex; align-items: center; min-height: 44px; margin: 0; }
  .quote__hours { flex-basis: 100%; font-size: var(--fs-meta); margin-top: 0 !important; }
  .qform { padding: var(--card-pad-sm); }
  .qform__top { margin-bottom: 12px; gap: 6px; }
  .qform__legend { font-size: var(--fs-h3); }
  .qform__hint { margin-top: 2px; font-size: var(--fs-compact); }
  .qform__errors { margin-bottom: 12px; padding: 12px 14px; }
  /* fields: the only field sizing on the site (.cs-form and .ct-form inherit it) */
  .field { margin-top: var(--field-gap); }
  .field > label, .field__label { font-size: var(--fs-compact); margin-bottom: 4px; }
  .field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea { min-height: 46px; padding: 9px 12px; }
  .field select { padding-right: 40px; }   /* room for the chevron */
  fieldset legend.field__label { padding: 0; }   /* lines the legend up with the field labels */
  .field textarea { min-height: 68px; height: 68px; }
  .field textarea[rows="4"] { height: 96px; }
  .field__hint { font-size: var(--fs-meta); margin-top: 4px !important; }
  .qform__checks { margin-top: var(--field-gap); gap: 6px; }
  .choice--check .choice__box { min-height: 46px; font-size: var(--fs-compact); }
  .qform__note { margin-top: 10px; padding: 10px 12px; font-size: var(--fs-compact); border-left: 0; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px rgba(192, 132, 24, .25); }
  .qform__stop { margin-top: var(--field-gap); padding: var(--card-pad-sm); font-size: var(--fs-body-sm); }
  .qform__nav { margin-top: 14px; flex-wrap: nowrap; gap: 8px; }
  .qform__nav [data-back] { flex: 0 0 auto; padding-inline: 14px; }
  .qform__nav [data-next], .qform__nav [data-submit] { flex: 1 1 auto; margin-left: 0; }
  .qform__privacy { margin-top: 12px; font-size: var(--fs-meta); }

  /* footer */
  .ftr { padding-top: 40px; }
  .ftr__cta { padding: var(--card-pad); gap: 14px; }
  .ftr__grid { margin-top: 32px; }
  .ftr__about { padding-bottom: 24px; gap: 12px; }
  .ftr__toggle { padding: 13px 2px; }
  .ftr__panel a { padding: 10px 0; }
  .ftr__legal { margin-top: 32px; padding-top: 16px; }

  /* county map board (home and service-areas). Doubled selectors so page CSS loaded later cannot override them. */
  .mapboard.mapboard { padding: 12px; gap: 14px; grid-template-columns: minmax(0, 1fr); --chiprow-bleed: 12px; }
  .mapboard > * { min-width: 0; }
  .mapboard__map.mapboard__map { padding: 8px; }
  .mapboard__credit.mapboard__credit { font-size: var(--fs-meta); margin-top: 4px; }
  .county-map__svg { width: 100%; height: auto; max-height: var(--map-h); }
  .county-map__label { font-size: 34px; }
}

@media (min-width: 360px) and (max-width: 767px) {
  .qform__choices--tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .qform__choices--tiles .choice__box { min-height: 48px; height: 100%; padding: 8px 10px; font-size: var(--fs-compact); }
  .qform__choices--tiles .choice:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .qform__pair { grid-template-columns: 1fr 1fr; column-gap: 10px; align-items: end; }
  /* two buttons on one row; flex (not equal columns) so the phone number never wraps */
  .ftr__cta-btns { display: flex; flex-wrap: wrap; gap: 8px; }
  .ftr__cta-btns .btn { flex: 1 1 auto; padding-inline: 10px; font-size: var(--fs-compact); white-space: nowrap; }
}

@media (max-width: 359px) {
  .idcard__band { padding-block: 8px; }
  .idcard__body { gap: 10px; }
  .idcard__who img { width: 48px; height: 48px; }
  .qform__nav .btn { padding-inline: 12px; font-size: var(--fs-compact); white-space: nowrap; }
  .ftr__cta-btns { display: grid; grid-template-columns: 1fr; gap: 8px; }
}

/* narrow or short phones: a chip group is a one-row swipe strip */
@media (max-width: 359px), (max-width: 767px) and (max-height: 560px) {
  .chiprow { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(var(--chiprow-bleed, var(--card-pad-sm)) * -1); padding: 4px var(--chiprow-bleed, var(--card-pad-sm)); scroll-padding-inline: var(--chiprow-bleed, var(--card-pad-sm)); }
  .chiprow::-webkit-scrollbar { display: none; }
  .chiprow .chip, .chiprow > button, .chiprow > a, .chiprow > li { flex: none; white-space: nowrap; scroll-snap-align: start; }
}

@media (max-width: 767px) and (max-height: 560px) {
  .abar { padding: 4px; }
  .abar__btn { min-height: 44px; }
}

/* ===== MFIT home (phones) ===== */
@media (max-width: 767px) {
  /* 1. hero */
  .hero__inner { padding-bottom: 56px; }
  .hero__dot { font-size: var(--fs-meta); min-height: 44px; }
  .hero__cred-label { font-size: var(--fs-meta); letter-spacing: .1em; }
  .specimen .hero__pause::after { content: ""; position: absolute; inset: -6px; }

  /* 2. credentials */
  .creds__head { gap: 10px; margin-bottom: var(--gap-head); }
  .creds__which { margin-top: 16px; }

  /* 3. who we test for */
  .who__head { gap: 14px; margin-bottom: 16px; }
  .who__img { aspect-ratio: var(--ar-banner); }
  .who__copy { margin: -24px 8px 0; padding: var(--card-pad-sm); font-size: var(--fs-body-sm); }
  .who__ctas { margin-top: 14px; gap: 8px 16px; }

  /* 4. the visit */
  .visit__shell { padding: 20px 12px 12px; gap: 16px; }
  .visit__panel > img { aspect-ratio: var(--ar-banner); }
  .visit__card { margin: -20px 8px 0; padding: var(--card-pad-sm); font-size: var(--fs-body-sm); }
  .visit__ctas { margin-top: 12px; }

  /* 5. certificate: heading, intro, hint, numbered key (accordion), then the sample sheet */
  .receive__intro > p:not(.receive__hint) { margin-bottom: 0; }
  .receive__hint { order: 3; margin-top: var(--gap-head) !important; }
  .rkey { order: 4; gap: 4px; }
  .receive__desk { order: 5; margin-top: var(--gap-head); padding: 16px 10px; }
  .rkey__btn { grid-template-columns: var(--num) minmax(0, 1fr) 28px; gap: 0 10px; padding: 10px 12px; min-height: 48px; align-items: center; }
  .rkey__num { width: var(--num); height: var(--num); font-size: var(--fs-meta); }
  .rkey__btn > span:not(.rkey__num) { display: contents; }
  .js .rkey__btn::after { content: ""; grid-column: 3; grid-row: 1; }
  .rkey__txt { grid-column: 1 / -1; margin-top: 6px; font-size: var(--fs-compact); }
  .js .rkey__btn:not([aria-expanded="true"]) .rkey__txt { display: none; }
  .rkey__btn[aria-expanded="true"] { background: #fff; box-shadow: var(--sh-2); }
  .rkey__btn[aria-expanded="true"] .rkey__num { background: var(--gold-400); color: var(--em-950); }
  .packet__sheet { padding: 16px 12px; }
  .packet__head { padding-bottom: 4px; }
  .packet__fields { margin-top: 8px; }
  .packet__row { padding: 3px 30px 3px 6px; }
  .packet__row dt, .packet__results, .packet__sign, .packet__page, .pass { font-size: var(--fs-meta); }
  .packet__results { margin-top: 8px; }
  .packet__results th, .packet__results td { padding-block: 3px; }
  .packet__statement { margin-top: 10px; }
  .packet__sign { margin-top: 12px; }
  .packet .pin:not(.pin--inline) { font-size: var(--fs-meta); }
  /* shorter address bar so the property row stays on two lines and the whole sheet fits at 375x667 */
  .packet__row .redact:not(.redact--short):not(.redact--long) { min-width: 4.5em; }

  /* 6. which certificate */
  .scope__head { gap: 12px; }
  .fork { margin-top: var(--gap-block); gap: 14px; }
  .fork__img { aspect-ratio: var(--ar-banner); }
  .fork__body { padding: 16px var(--card-pad) var(--card-pad); gap: 10px; }
  .fork__do .fork__title, .fork__refer .fork__title { font-size: var(--fs-band); }
  .scope__foot { margin-top: var(--gap-head); }
  /* source links: same tap halo as the FAQ source links */
  .scope__foot .source a, .area__src a { position: relative; }
  .scope__foot .source a::after, .area__src a::after { content: ""; position: absolute; inset: -14px -6px; }

  /* 7. where we work (board, map, credit, pill badge and the picker come from the shared block) */
  .atlas__pick { text-align: left; font-size: var(--fs-compact); }
  .atlas__chips { margin-top: 8px; }
  .place { padding: var(--card-pad); gap: 10px; }
  .place h3 { font-size: var(--fs-h4); }
  .atlas__places { margin-top: 14px; }
  .atlas__call { margin-top: 14px; padding: 12px; gap: 12px; }
  .atlas__call-ico { width: 40px; height: 40px; }

  /* 8. meet Amirra (the portrait is the shared avatar) */
  .amirra__grid { gap: 20px; }
  .amirra__quote { margin-top: 16px; padding: 40px var(--card-pad) var(--card-pad); font-size: var(--fs-lg); }
  .amirra__quote::before { left: 16px; top: 4px; font-size: 3rem; }
  .amirra__ctas { margin-top: 20px; }
}
@media (min-width: 360px) and (max-width: 767px) {
  /* five tabs in two rows: three, then two */
  .seg { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .seg__btn { grid-column: span 2; white-space: normal; line-height: 1.15; min-height: 44px; padding: 8px 6px; font-size: var(--fs-sm); }
  .seg__btn:nth-of-type(n+4) { grid-column: span 3; }
  .packet__row { grid-template-columns: 4.75rem 1fr; gap: 8px; }
  .packet__row dt { text-transform: none; letter-spacing: 0; }
}
@media (max-width: 359px) {
  /* the credential label stays on one line: no side rules, tighter tracking */
  .hero__cred-label { letter-spacing: .05em; }
  .hero__cred-label::before, .hero__cred-label::after { display: none; }
}
@media (max-width: 767px) and (max-height: 560px) {
  .hero__lead { margin-top: 12px; }
  .hero__steps { margin-top: 12px; }
}

/* phone menu: the parent page link reads as the head of the lead services list */
.mnav__sub .mnav__parent a { background: rgba(255, 255, 255, .1); color: #fff !important; font-weight: 700; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px rgba(252, 216, 108, .35); }
