/* ==========================================================================
   Excalibur Professional Cleaning Services — Site Stylesheet
   --------------------------------------------------------------------------
   Layout concept: "clinical precision" — a calm 12-column grid, generous
   whitespace, editorial serif headlines ruled with a fine champagne line,
   and deep-navy bands for the sections that carry the brand's authority.

   Contents
   0.  Fonts
   1.  Design tokens
   2.  Base / reset
   3.  Typography
   4.  Layout helpers
   5.  Buttons & links
   6.  Header & navigation
   7.  Hero (home + inner pages)
   8.  Trust bar
   9.  Cards, lists, feature blocks
   10. Dark "Excalibur Standard" band
   11. Comparison table / partnership
   12. Process timeline
   13. Example programs
   14. Service area
   15. CTA band
   16. Forms
   17. Footer
   18. Mobile sticky CTA
   19. Motion (reveal) & reduced motion
   20. Responsive
   ========================================================================== */

/* 0. FONTS (self-hosted, SIL Open Font License — see assets/fonts/) ------ */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }

/* 1. DESIGN TOKENS ------------------------------------------------------- */
:root {
  /* Color */
  --midnight: #0a1a2f;      /* deepest brand navy: footer, dark bands */
  --navy: #0f2a47;          /* primary navy: headings, panels */
  --navy-soft: #16365a;     /* raised surfaces on dark */
  --blue: #1670b3;          /* action blue (AA on white) */
  --blue-brand: #1d83ce;    /* logo blue, decorative only */
  --blue-light: #5ab0ec;    /* blue on dark backgrounds */
  --gold: #c9ab72;          /* champagne accent on dark */
  --gold-ink: #8a6d38;      /* champagne accent on light (AA) */
  --ink: #16202b;           /* charcoal body text */
  --slate: #56606c;         /* secondary text */
  --mist: #aebccb;          /* secondary text on dark */
  --stone: #f3f2ef;         /* soft warm gray section ground */
  --line: #e2dfd9;          /* hairlines on light */
  --line-dark: rgba(255, 255, 255, .12);
  --white: #ffffff;

  /* Type */
  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --fs-hero: clamp(2.75rem, 1.6rem + 4.6vw, 5.25rem);
  --fs-h1: clamp(2.5rem, 1.7rem + 3.2vw, 4.25rem);
  --fs-h2: clamp(2.1rem, 1.55rem + 2.2vw, 3.4rem);
  --fs-h3: 1.1875rem;
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-eyebrow: .75rem;

  /* Space & shape */
  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
  --section: clamp(72px, 9vw, 136px);
  --radius: 3px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 47, .06), 0 4px 14px rgba(10, 26, 47, .05);
  --shadow-md: 0 2px 6px rgba(10, 26, 47, .06), 0 18px 44px rgba(10, 26, 47, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --header-h: 84px;
  --header-h-compact: 66px;
  --utility-h: 38px;
}

/* 2. BASE / RESET -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-compact) + 24px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--navy); color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 10px 16px;
  border-radius: var(--radius); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--blue-brand); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible, .mobile-menu :focus-visible { outline-color: var(--gold); }

/* 3. TYPOGRAPHY ---------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; color: var(--navy); text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.04; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-family: var(--font-body); font-size: var(--fs-h3); font-weight: 600; line-height: 1.35; letter-spacing: -.005em; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--slate); max-width: 62ch; }
.muted { color: var(--slate); }
em.serif, .serif-accent { font-family: var(--font-display); font-style: italic; font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.on-dark .eyebrow { color: var(--gold); }

/* Fine champagne rule used under section headings */
.rule { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 0; }

/* 4. LAYOUT HELPERS ------------------------------------------------------ */
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }
.section--tight { padding-block: calc(var(--section) * .66); }
.on-dark { background: var(--midnight); color: var(--mist); }
.on-dark h2, .on-dark h3, .on-dark h1 { color: var(--white); }
.on-dark .lead { color: var(--mist); }

.section-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split {
  max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 24px 64px;
}
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 72px); align-items: center; }
.stack { display: grid; gap: 20px; }
.stack-lg { display: grid; gap: 32px; }

/* 5. BUTTONS & LINKS ----------------------------------------------------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: var(--white); --btn-bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 26px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: .9375rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.btn:hover { --btn-bg: #125f98; --btn-bd: #125f98; box-shadow: 0 10px 24px rgba(22, 112, 179, .22); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--navy { --btn-bg: var(--navy); --btn-bd: var(--navy); }
.btn--navy:hover { --btn-bg: var(--midnight); --btn-bd: var(--midnight); box-shadow: 0 10px 24px rgba(10, 26, 47, .22); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: rgba(15, 42, 71, .28); }
.btn--ghost:hover { --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy); box-shadow: none; }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-bd: var(--white); }
.btn--light:hover { --btn-bg: var(--stone); --btn-fg: var(--midnight); --btn-bd: var(--stone); box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, .08); --btn-fg: var(--white); --btn-bd: var(--white); box-shadow: none; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--blue); font-weight: 600; text-decoration: none; font-size: .9375rem;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.text-link svg { width: 15px; height: 15px; }
.text-link:hover { border-color: currentColor; gap: 14px; }
.on-dark .text-link { color: var(--blue-light); }

.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* 6. HEADER & NAVIGATION ------------------------------------------------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: var(--white); transition: box-shadow .3s var(--ease); }
.utility-bar {
  background: var(--midnight); color: var(--mist); font-size: .8125rem;
  height: var(--utility-h); overflow: hidden;
  transition: height .3s var(--ease), opacity .3s var(--ease);
}
.utility-bar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility-bar a { color: var(--white); text-decoration: none; font-weight: 600; }
.utility-bar a:hover { color: var(--gold); }
.utility-links { display: flex; align-items: center; gap: 22px; }
.utility-links .sep { width: 1px; height: 14px; background: var(--line-dark); }

.header-main { border-bottom: 1px solid var(--line); }
.header-main .container { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; transition: height .3s var(--ease); }
.brand { display: block; flex: none; }
.brand img { width: 200px; height: auto; transition: width .3s var(--ease); }

.primary-nav { display: flex; align-items: center; gap: clamp(18px, 1.9vw, 30px); }
.primary-nav a {
  position: relative; text-decoration: none; color: var(--navy);
  font-size: .9063rem; font-weight: 600; letter-spacing: .005em; padding-block: 8px; white-space: nowrap;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold-ink);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 14px; }

.is-scrolled .site-header, .site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 26, 47, .08); }
.site-header.is-scrolled .utility-bar { height: 0; opacity: 0; }
.site-header.is-scrolled .header-main .container { height: var(--header-h-compact); }
.site-header.is-scrolled .brand img { width: 170px; }

/* Hamburger */
.menu-toggle {
  display: none; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; min-width: 44px; padding: 0 12px; margin-right: -12px;
  background: none; border: 0; cursor: pointer; color: var(--navy);
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.menu-toggle .bars { position: relative; width: 24px; height: 14px; }
.menu-toggle .bars span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 6.25px; }
.menu-toggle .bars span:nth-child(3) { top: 12.5px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 6.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 6.25px; transform: rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--midnight); color: var(--white);
  padding: calc(var(--header-h-compact) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display); font-size: 1.875rem; font-weight: 500; line-height: 1.2;
  color: var(--white); text-decoration: none;
}
.mobile-menu nav a svg { width: 18px; height: 18px; color: var(--gold); }
.mobile-menu nav a[aria-current="page"] { color: var(--gold); }
.mobile-menu .mm-actions { display: grid; gap: 12px; }
.mobile-menu .mm-actions .btn { width: 100%; }
.mobile-menu .mm-contact { font-size: .9375rem; color: var(--mist); line-height: 1.7; }
.mobile-menu .mm-contact a { color: var(--white); text-decoration: none; font-weight: 600; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { box-shadow: none; }

/* 7. HERO ---------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--midnight); color: var(--white);
  padding-block: clamp(96px, 12vw, 176px) clamp(120px, 13vw, 196px);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 26, 47, .96) 0%, rgba(10, 26, 47, .90) 34%, rgba(10, 26, 47, .55) 64%, rgba(10, 26, 47, .30) 100%),
    linear-gradient(0deg, rgba(10, 26, 47, .55) 0%, rgba(10, 26, 47, 0) 40%);
}
.hero__content { max-width: 760px; display: grid; gap: 28px; }
.hero h1 { color: var(--white); font-size: var(--fs-hero); line-height: 1; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero .lead { color: #d3dde7; max-width: 58ch; }
.hero .eyebrow { color: var(--gold); }
.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #c9d5e1;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 18px; }
.hero-trust span + span::before { content: ""; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }

/* Inner page hero */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--midnight); color: var(--mist);
  padding-block: clamp(72px, 9vw, 128px);
}
.page-hero .hero__media img { object-position: 60% 50%; opacity: .9; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 26, 47, .97) 0%, rgba(10, 26, 47, .88) 45%, rgba(10, 26, 47, .55) 100%);
}
.page-hero--plain::before { background: linear-gradient(120deg, var(--midnight), var(--navy)); }
.page-hero__content { max-width: 780px; display: grid; gap: 24px; }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: #d3dde7; }
.breadcrumb { font-size: .8125rem; color: var(--mist); display: flex; gap: 10px; flex-wrap: wrap; }
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* 8. TRUST BAR ----------------------------------------------------------- */
.trust-bar { position: relative; z-index: 2; margin-top: clamp(-88px, -6vw, -56px); }
.trust-bar__inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white); box-shadow: var(--shadow-md); border-radius: var(--radius);
  border-top: 2px solid var(--gold);
}
.trust-item { display: flex; gap: 16px; align-items: flex-start; padding: 30px 28px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .icon { width: 30px; height: 30px; color: var(--blue); margin-top: 2px; }
.trust-item strong { display: block; color: var(--navy); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.trust-item span { display: block; font-size: .875rem; color: var(--slate); line-height: 1.5; margin-top: 4px; }

/* 9. CARDS, LISTS, FEATURES ---------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 2.6vw, 36px);
  transition: border-color .3s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.card:hover { border-color: #d3cfc6; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card .icon { width: 34px; height: 34px; color: var(--blue); }
.card p { color: var(--slate); font-size: var(--fs-small); line-height: 1.7; }
.card .text-link { margin-top: auto; padding-top: 8px; }
.card-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }

.facility-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.facility-media { position: relative; min-height: 520px; border-radius: var(--radius); overflow: hidden; }
.facility-media img, .facility-media picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.facility-media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px;
  background: linear-gradient(0deg, rgba(10, 26, 47, .92), rgba(10, 26, 47, 0));
  color: var(--white); font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; font-style: italic;
}
.facility-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.facility-cards .card ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .875rem; color: var(--ink); }
.facility-cards .card li { display: flex; gap: 10px; align-items: baseline; }
.facility-cards .card li::before { content: ""; width: 5px; height: 5px; flex: none; background: var(--gold); transform: translateY(-2px) rotate(45deg); }

/* Service index (home) */
.service-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.service-group h3 { font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); padding-bottom: 16px; border-bottom: 1px solid var(--navy); }
.service-group ul { list-style: none; margin: 0; padding: 0; }
.service-group li a, .service-group li span {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: 1.0625rem;
  transition: padding .3s var(--ease), color .3s var(--ease);
}
.service-group li a svg { width: 16px; height: 16px; color: var(--gold-ink); opacity: 0; transform: translateX(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.service-group li a:hover { color: var(--blue); padding-left: 6px; }
.service-group li a:hover svg { opacity: 1; transform: none; }

/* Check list */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.55; }
.check-list li svg { width: 20px; height: 20px; flex: none; color: var(--blue); margin-top: 2px; }
.check-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.on-dark .check-list li svg { color: var(--gold); }
.on-dark .check-list li { color: #dbe3eb; }

/* Media frame (photos) */
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; max-width: 100%; }
.media-frame--wide { aspect-ratio: 16 / 10; max-width: 100%; }
.media-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(10, 26, 47, .06); border-radius: inherit; pointer-events: none; }
.media-accent { position: relative; }
.media-accent::before {
  content: ""; position: absolute; z-index: -1; top: -18px; left: -18px; width: 42%; height: 42%;
  border-top: 1px solid var(--gold); border-left: 1px solid var(--gold);
}
.media-accent--right::before { left: auto; right: -18px; border-left: 0; border-right: 1px solid var(--gold); }

/* Detail service blocks (services page) */
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 80px); }
.svc {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 20px;
  padding-block: 30px; border-top: 1px solid var(--line);
}
.svc .icon { width: 30px; height: 30px; color: var(--blue); grid-row: span 2; margin-top: 2px; }
.svc p { color: var(--slate); font-size: var(--fs-small); }

.split-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.split-feature--reverse > :first-child { order: 2; }

/* Frequency table (sample program) */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.freq-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .9375rem; }
.freq-table caption { text-align: left; padding: 18px 22px; font-size: .8125rem; color: var(--slate); border-bottom: 1px solid var(--line); caption-side: top; }
.freq-table th, .freq-table td { padding: 15px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.freq-table thead th { background: var(--navy); color: var(--white); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.freq-table tbody th { font-weight: 600; color: var(--navy); }
.freq-table td { text-align: center; color: var(--blue); }
.freq-table td svg { width: 18px; height: 18px; margin-inline: auto; }
.freq-table tbody tr:last-child > * { border-bottom: 0; }
.freq-table tbody tr:nth-child(even) { background: #faf9f7; }
.table-note { margin-top: 14px; font-size: .8125rem; color: var(--slate); }

/* 10. DARK "EXCALIBUR STANDARD" BAND ------------------------------------- */
.standard { position: relative; overflow: hidden; }
.standard::before {
  /* Faint oversized chevron, echoing the ">" and "Λ" in the Excalibur mark */
  content: ""; position: absolute; right: -8%; top: -10%; width: 620px; height: 620px;
  border-top: 1px solid rgba(201, 171, 114, .18); border-right: 1px solid rgba(201, 171, 114, .18);
  transform: rotate(45deg); pointer-events: none;
}
.pillars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.pillar { padding: 36px 26px 8px 0; display: grid; gap: 14px; align-content: start; position: relative; }
.pillar + .pillar { padding-left: 26px; border-left: 1px solid var(--line-dark); }
.pillar::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--gold); }
.pillar + .pillar::before { left: 26px; }
.pillar .icon { width: 30px; height: 30px; color: var(--gold); }
.pillar h3 { color: var(--white); font-size: 1.125rem; }
.pillar p { font-size: .9375rem; color: var(--mist); line-height: 1.7; }

/* 11. PARTNERSHIP COMPARISON --------------------------------------------- */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.compare__col { padding: clamp(26px, 3vw, 40px); }
.compare__col h3 { font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.compare__col--vendor { background: #faf9f7; }
.compare__col--vendor h3 { color: var(--slate); }
.compare__col--partner { background: var(--navy); color: #dbe3eb; }
.compare__col--partner h3 { color: var(--gold); }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: .9375rem; line-height: 1.55; }
.compare li { display: flex; gap: 12px; align-items: flex-start; }
.compare li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.compare__col--vendor li { color: var(--slate); }
.compare__col--vendor li svg { color: #9aa3ad; }
.compare__col--partner li svg { color: var(--gold); }

.highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(40px, 5vw, 64px); }
.highlight { background: var(--white); padding: 24px 24px 26px; display: grid; gap: 10px; align-content: start; }
.highlight .icon { width: 26px; height: 26px; color: var(--blue); }
.highlight strong { color: var(--navy); font-size: .9688rem; line-height: 1.35; }

/* 12. PROCESS TIMELINE --------------------------------------------------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(201, 171, 114, .35)); }
.step { position: relative; padding-right: 24px; display: grid; gap: 14px; align-content: start; }
.step__num {
  position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--white); border: 1px solid var(--gold);
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--navy);
  font-variant-numeric: lining-nums tabular-nums;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.step:hover .step__num { background: var(--navy); color: var(--white); }
.step h3 { margin-top: 10px; }
.step p { font-size: .9375rem; color: var(--slate); line-height: 1.65; }
.section--stone .step__num { background: var(--stone); }

.implementation { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 24px 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.implementation h3 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; line-height: 1.15; }
.impl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.impl-grid div { display: grid; gap: 6px; }
.impl-grid strong { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.impl-grid p { font-size: .9375rem; color: var(--slate); }

/* 13. EXAMPLE PROGRAMS --------------------------------------------------- */
.programs { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.program { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 2.6vw, 36px); display: grid; gap: 16px; align-content: start; }
.program--featured { background: var(--navy); border-color: var(--navy); color: #dbe3eb; }
.program--featured h3 { color: var(--white); }
.program--featured .card-kicker { color: var(--gold); }
.program h3 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; line-height: 1.15; }
.program ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; font-size: .9375rem; }
.program:not(.program--featured) ul { grid-template-columns: 1fr; }
.program li { display: flex; gap: 10px; align-items: baseline; line-height: 1.45; }
.program li::before { content: ""; width: 5px; height: 5px; flex: none; background: var(--gold); transform: translateY(-2px) rotate(45deg); }
.program .note { font-size: .8125rem; color: var(--slate); border-top: 1px solid var(--line); padding-top: 14px; }
.program--featured .note { color: var(--mist); border-color: var(--line-dark); }

/* 14. SERVICE AREA ------------------------------------------------------- */
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.states { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.state {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--navy); color: var(--mist); padding: 36px 30px 30px; min-height: 250px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.state::after {
  content: attr(data-abbr); position: absolute; right: -6px; bottom: -34px;
  font-family: var(--font-display); font-size: 9.5rem; font-weight: 600; line-height: 1; color: rgba(255, 255, 255, .06);
  pointer-events: none;
}
.state .card-kicker { color: var(--gold); }
.state strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem); color: var(--white); line-height: 1.05; }
.state p { font-size: .9375rem; position: relative; z-index: 1; }
.hq { margin-top: 18px; display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.hq .icon { width: 28px; height: 28px; color: var(--gold-ink); }
.hq strong { display: block; color: var(--navy); }
.hq address { font-style: normal; color: var(--slate); line-height: 1.6; }

/* 15. CTA BAND ----------------------------------------------------------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--midnight); color: var(--mist); padding-block: clamp(80px, 10vw, 140px); }
.cta-band .hero__media img { object-position: 50% 60%; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 26, 47, .97) 0%, rgba(10, 26, 47, .9) 50%, rgba(10, 26, 47, .7) 100%); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.cta-band h2 { color: var(--white); font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.75rem); }
.cta-band p { color: #d3dde7; font-size: var(--fs-lead); max-width: 52ch; margin-top: 22px; }
.cta-band .btn-row { justify-content: flex-end; }

.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(40px, 5vw, 64px); padding: 28px 32px; border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: var(--radius); background: var(--white); }
.inline-cta p { color: var(--navy); font-weight: 600; font-size: 1.0625rem; }
.inline-cta p span { display: block; color: var(--slate); font-weight: 400; font-size: .9375rem; }

/* 16. FORMS -------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact-aside { display: grid; gap: 28px; position: sticky; top: calc(var(--header-h-compact) + 32px); }
.contact-card { background: var(--navy); color: var(--mist); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); display: grid; gap: 22px; }
.contact-card h2 { color: var(--white); font-size: 2rem; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; }
.contact-line .icon { width: 22px; height: 22px; color: var(--gold); margin-top: 3px; }
.contact-line small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.contact-line a, .contact-line address, .contact-line span.v { color: var(--white); text-decoration: none; font-weight: 600; font-style: normal; line-height: 1.55; overflow-wrap: anywhere; }
.contact-line a:hover { color: var(--gold); }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; counter-increment: ns; font-size: .9375rem; color: var(--slate); }
.next-steps li::before { content: counter(ns); width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--navy); }
.next-steps strong { display: block; color: var(--navy); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: clamp(24px, 3.4vw, 48px); }
.form-card h2 { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); }
.form-intro { display: grid; gap: 10px; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .8125rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.field .req { color: var(--gold-ink); }
.field .hint { font-size: .8125rem; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 15px;
  background: var(--white); border: 1px solid #cfd5dc; border-radius: var(--radius);
  font-size: 1rem; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230f2a47' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9fabb8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 112, 179, .16); }
.field input::placeholder, .field textarea::placeholder { color: #8a939d; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.field-error { font-size: .8125rem; color: #b3261e; font-weight: 600; }

/* Inquiry type toggle */
.segmented { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.segmented .opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid #cfd5dc; border-radius: var(--radius); overflow: hidden; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented label.opt { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 14px; cursor: pointer; font-weight: 600; font-size: .9375rem; color: var(--navy); text-align: center; letter-spacing: 0; transition: background-color .2s var(--ease), color .2s var(--ease); }
.segmented label.opt + input + label.opt, .segmented .opt:nth-of-type(2) { border-left: 1px solid #cfd5dc; }
.segmented input:checked + label.opt { background: var(--navy); color: var(--white); }
.segmented input:focus-visible + label.opt { outline: 2px solid var(--blue-brand); outline-offset: -4px; }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 6px; }
.form-footer p { font-size: .8125rem; color: var(--slate); max-width: 46ch; }
.form-footer p a { color: var(--blue); }
.btn[disabled] { opacity: .7; cursor: progress; }

.form-alert { grid-column: 1 / -1; display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius); font-size: .9375rem; line-height: 1.55; }
.form-alert svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.form-alert--error { background: #fbeeed; color: #7d1a14; border: 1px solid #efc9c6; }
.form-alert--error a { color: inherit; font-weight: 700; }

.form-success { display: grid; gap: 18px; justify-items: start; padding-block: 12px; }
.form-success .seal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--navy); }
.form-success .seal svg { width: 28px; height: 28px; }
.form-success h2 { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem); }
.form-success p { color: var(--slate); max-width: 52ch; }

/* Prose (privacy / terms) */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.7rem, 1.4rem + .9vw, 2.2rem); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #37424e; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; margin: 14px 0; }
.prose a { color: var(--blue); }
.prose .updated { font-size: .875rem; color: var(--slate); margin-bottom: 32px; }

/* Placeholder note under placeholder images */
.ph-note { font-size: .75rem; color: var(--slate); margin-top: 10px; }

/* 17. FOOTER ------------------------------------------------------------- */
.site-footer { background: var(--midnight); color: var(--mist); padding-top: clamp(64px, 8vw, 104px); font-size: .9375rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px clamp(28px, 4vw, 64px); padding-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line-dark); }
.footer-brand img { width: 220px; }
.footer-brand p { margin-top: 22px; max-width: 34ch; line-height: 1.7; }
.footer-col h2 { font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: #dbe3eb; text-decoration: none; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-col .phone { font-family: var(--font-display); font-size: 1.625rem; font-weight: 600; color: var(--white); display: inline-block; margin-top: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px)); font-size: .8125rem; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.footer-bottom a { color: var(--mist); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* 18. MOBILE STICKY CTA -------------------------------------------------- */
.mobile-cta { display: none; }

/* 19. MOTION ------------------------------------------------------------- */
/* Elements are visible by default. JS adds .reveal-pending only to elements
   that start below the fold, and removes it as they scroll into view. */
.reveal-pending { opacity: 0; transform: translateY(18px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

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

/* 20. RESPONSIVE --------------------------------------------------------- */
@media (max-width: 1200px) {
  .primary-nav, .header-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
  .pillar:nth-child(4) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(4)::before { left: 0; }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .process::before { display: none; }
  .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program--featured { grid-column: 1 / -1; }
  .program--featured ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; --header-h-compact: 64px; }
  .utility-bar { display: none; }
  .brand img { width: 172px; }
  .site-header.is-scrolled .brand img { width: 156px; }
  .trust-bar__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section-head--split { grid-template-columns: 1fr; }
  .facility-layout { grid-template-columns: 1fr; }
  .facility-media { min-height: 0; aspect-ratio: 16 / 9; }
  .service-index { grid-template-columns: 1fr; gap: 40px; }
  .compare { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .implementation { grid-template-columns: 1fr; }
  .area, .grid-2, .split-feature, .contact-layout, .cta-band__inner { grid-template-columns: 1fr; }
  .split-feature--reverse > :first-child { order: 0; }
  .cta-band .btn-row { justify-content: flex-start; }
  .contact-aside { position: static; order: 2; }
  .svc-list { grid-template-columns: 1fr; }
  .media-frame--tall { aspect-ratio: 4 / 3; }
}

@media (max-width: 720px) {
  :root { --fs-body: 1rem; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .menu-toggle .label { display: none; }
  .hero { padding-block: 72px 112px; }
  .hero__content { gap: 22px; }
  .hero .btn-row .btn { width: 100%; }
  .hero-trust { font-size: .6875rem; letter-spacing: .12em; gap: 8px 14px; }
  .hero-trust span { gap: 14px; }
  .hero::before { background: linear-gradient(180deg, rgba(10, 26, 47, .80) 0%, rgba(10, 26, 47, .93) 55%, rgba(10, 26, 47, .97) 100%); }
  .trust-bar { margin-top: -64px; }
  .trust-item { padding: 22px 18px; gap: 12px; flex-direction: column; }
  .trust-item .icon { width: 26px; height: 26px; }
  .trust-item span { display: none; }
  .facility-cards { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; border-top: 0; }
  .pillar, .pillar + .pillar { padding: 26px 0 26px; border-left: 0; border-top: 1px solid var(--line-dark); }
  .pillar::before, .pillar + .pillar::before { left: 0; }
  .highlights { grid-template-columns: 1fr 1fr; }
  .highlight { padding: 20px 18px; }
  .process { grid-template-columns: 1fr; row-gap: 0; }
  .process::before { display: block; top: 28px; bottom: 28px; left: 27px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), rgba(201, 171, 114, .3)); }
  .step { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 20px; padding: 0 0 32px; }
  .step__num { grid-row: span 2; }
  .step h3 { margin-top: 12px; }
  .impl-grid { grid-template-columns: 1fr; }
  .programs { grid-template-columns: 1fr; }
  .program--featured ul { grid-template-columns: 1fr 1fr; }
  .states { grid-template-columns: 1fr; }
  .state { min-height: 0; }
  .check-list--cols { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-footer .btn { width: 100%; }
  .inline-cta { padding: 24px; }
  .inline-cta .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.4fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: var(--midnight); padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -8px 24px rgba(10, 26, 47, .18);
    transform: translateY(0); transition: transform .3s var(--ease);
  }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; text-decoration: none; font-weight: 700; font-size: .9375rem; color: var(--white); }
  .mobile-cta a svg { width: 18px; height: 18px; }
  .mobile-cta a:first-child { border-right: 1px solid var(--line-dark); }
  .mobile-cta a:last-child { background: var(--blue); }
  body.menu-open .mobile-cta { transform: translateY(110%); }
}

@media (max-width: 400px) {
  .highlights { grid-template-columns: 1fr; }
  .program--featured ul { grid-template-columns: 1fr; }
  .segmented .opts { grid-template-columns: 1fr; }
  .segmented .opt:nth-of-type(2) { border-left: 0; border-top: 1px solid #cfd5dc; }
}

@media (min-width: 1600px) {
  :root { --maxw: 1320px; }
}

/* Eyebrows on dark imagery */
.page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold); }

/* Utilities */
.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; }
.facility-media img { object-position: 78% 50%; }
.segmented legend { padding: 0; }
@media print { .reveal-pending { opacity: 1 !important; transform: none !important; } .site-header, .mobile-cta, .mobile-menu { position: static; } }

/* ---- Refinements after visual review ---------------------------------- */
.hero h1 em { display: block; }
.cta-band p.eyebrow { font-size: var(--fs-eyebrow); margin-top: 0; }
.cta-band .btn-row { display: grid; gap: 12px; justify-content: end; }
.cta-band .btn-row .btn { width: 100%; }
.state__pin { width: 26px; height: 26px; color: var(--gold); }
@media (max-width: 980px) { .cta-band .btn-row { justify-content: start; } }
@media (max-width: 720px) {
  .facility-media figcaption { font-size: 1.125rem; padding: 18px 20px; }
  .hero-trust span::before, .hero-trust span + span::before { content: ""; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }
  .hero-trust span { gap: 10px; }
  .cta-band .btn-row { justify-content: stretch; }
}
@media (max-width: 400px) { .highlights { grid-template-columns: 1fr 1fr; } }
@media (max-width: 340px) { .highlights { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .hide-sm { display: none; } }
