/* =====================================================================
   KENNEDY HVAC — base styles (loaded on every page)
   Ported from the approved Stage 1 homepage (v2). Section bundles load
   only where used: cards.css, areas.css, faq.css, table.css, forms.css,
   blog.css (see inc/enqueue.php).

   1. Fonts             5. Buttons              9. Motion system
   2. Design tokens     6. Header + navigation 10. Responsive
   3. Base              7. Hero + CTA band     11. Reduced motion / print
   4. Components        8. Footer + mobile bar
   Naming: BEM. Mobile-first; breakpoints in em:
   30em 480 · 40em 640 · 48em 768 · 53.75em 860 · 64em 1024 · 68em 1088 · 90em 1440
   Theme Options override tokens with an inline :root block (only changed
   values), so editing colours, type, widths or spacing never needs CSS.
   ===================================================================== */

/* 1. FONTS — self-hosted (latin subset) with a metric-matched fallback --- */
@font-face {
  font-family: "National Park";
  src: url("../fonts/national-park-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/national-park-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "National Park Fallback";
  src: local("Arial"), local("ArialMT");
  size-adjust: 100.56%;
  ascent-override: 102.43%;
  descent-override: 29.83%;
  line-gap-override: 0%;
}


/* 2. DESIGN TOKENS ------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Brand palette (Kennedy HVAC Brand Guide, Oct 30 2026) */
  --color-navy: #1C2244;               /* header, footer, headings, all text */
  --color-blue: #5272A2;               /* secondary buttons, A/C (cool) icons */
  --color-orange: #D85D30;             /* primary buttons, alert bar, swoosh, stars */
  --color-cream: #FFF1D8;              /* alternate bands, text on navy */
  --color-white: #FFFFFF;

  /* Website helper shades (Brand Guide > Website colors) */
  --color-cream-light: #FFF8EC;        /* page background */
  --color-orange-dark: #B8481F;        /* primary hover, small orange text: 5.0:1 on light cream */
  --color-blue-dark: #3E5A86;          /* text links, secondary hover: 6.6:1 on light cream */
  --color-border: #E9DCC3;             /* card borders and dividers */
  --color-field-border: #CDBFA6;       /* form field borders (focus ring in blue) */

  /* Derived roles */
  --color-ink-muted: #4A5072;          /* quieter navy text, 7.4:1 on light cream */
  --color-on-dark: #FFF1D8;            /* text on navy: 13.8:1 */
  --color-on-dark-muted: #DDD3C1;      /* secondary text on navy: 10.4:1 */
  --color-link: var(--color-blue-dark);
  --color-link-hover: var(--color-orange-dark);
  --color-surface: #FFFFFF;
  --color-surface-tint: #FFFCF6;
  --color-line: var(--color-border);
  --color-line-strong: var(--color-field-border);
  --color-line-on-dark: rgba(255, 241, 216, 0.22);
  --color-error: #A61B1B;
  --color-focus: var(--color-blue);    /* 4.6:1 on light cream */
  --color-focus-on-dark: var(--color-cream);
  --color-glow: rgba(82, 114, 162, 0.22);

  /* Section styles (Theme Options > Layout & Sections) */
  --section-light: var(--color-cream-light);
  --section-tint: var(--color-cream);
  --section-white: var(--color-white);
  --section-slate: var(--color-navy);
  --section-deep: var(--color-navy);

  /* Typography: National Park for everything except the logo artwork */
  --font-display: "National Park", "National Park Fallback", Arial, sans-serif;
  --font-body: "National Park", "National Park Fallback", Arial, sans-serif;
  --fw-heading: 700;
  --fw-body: 400;
  --fw-strong: 700;
  --fw-button: 700;

  --fs-xs: 0.8125rem;
  --fs-sm: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --fs-sm-plus: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
  --fs-base: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --fs-md: clamp(1.125rem, 1.04rem + 0.35vw, 1.3125rem);
  --fs-lg: clamp(1.1875rem, 1.08rem + 0.45vw, 1.4375rem);
  --fs-h3-display: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --fs-h2: clamp(1.875rem, 1.25rem + 2.3vw, 3.5rem);
  --fs-h1: clamp(2.25rem, 1.2rem + 3.6vw, 4.75rem);
  --fs-h1-page: clamp(2.125rem, 1.35rem + 2.9vw, 4.125rem);

  --lh-tight: 1.06;
  --lh-snug: 1.25;
  --lh-body: 1.6;
  --tracking-label: 0.14em;
  --tracking-caps: 0.08em;             /* taglines and buttons: capitals, wide spacing */
  --fs-on-orange: 1.1875rem;           /* white text on orange: bold and at least 18.67px (WCAG large text) */

  /* Spacing */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: clamp(2rem, 1.25rem + 2.5vw, 3.5rem);
  --space-2xl: clamp(3rem, 2rem + 4vw, 6rem);
  --section-pad: clamp(4rem, 2.5rem + 5.5vw, 8.5rem);
  --section-pad-compact: clamp(2.5rem, 1.9rem + 2.4vw, 4.5rem);
  --section-pad-spacious: clamp(5rem, 3.3rem + 8.5vw, 11rem);
  --wave-h: clamp(2rem, 1rem + 3.5vw, 5rem);
  /* Brand swoosh (orange divider), used as a mask */
  --swoosh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 20' preserveAspectRatio='none'%3E%3Cpath d='M0 17C200 14 420 6 600 0V20C420 19 200 18.5 0 17Z'/%3E%3C/svg%3E");

  /* Layout — 90rem = 1440px content width */
  --container: 90rem;
  --container-narrow: 51.25rem;        /* 820px reading column */
  --gutter: clamp(1.25rem, 0.4rem + 3.4vw, 3rem);
  --header-h: 5.25rem;
  --mobile-bar-h: 3.75rem;
  --admin-bar: 0px;
  --logo-w: 13.75rem;                  /* the badge is never shown under 200px (12.5rem) */
  --logo-w-mobile: 12.5rem;
  --logo-w-footer: 15rem;

  /* Shape — softer, rounder */
  --radius-s: 0.5rem;
  --radius-m: 0.75rem;                 /* inputs (12px) */
  --radius-button: 0.75rem;            /* buttons (12px) */
  --radius-card: 1.25rem;              /* cards (20px) */
  --radius-l: 1.75rem;                 /* feature panels (28px) */
  --radius-pill: 999px;
  --border-w: 0.125rem;
  --border-w-thick: 0.1875rem;

  /* Buttons */
  --btn-pad-y: 0.6875rem;
  --btn-pad-x: 1.375rem;
  --btn-lg-pad-y: 0.875rem;
  --btn-lg-pad-x: 1.75rem;

  /* Shadows: soft depth + retro hard offsets for interaction */
  --shadow-soft: 0 0.75rem 2rem -1.25rem rgba(30, 42, 53, 0.35), 0 0 0 0 transparent;
  --shadow-lift: 0 1.75rem 3rem -1.75rem rgba(30, 42, 53, 0.5);
  --shadow-offset: 0.5rem 0.5rem 0 var(--color-orange);
  --shadow-offset-sm: 0.25rem 0.25rem 0 var(--color-orange);
  --shadow-offset-navy: 0.5rem 0.5rem 0 var(--color-navy);
  --shadow-offset-blue: 0.5rem 0.5rem 0 var(--color-blue);
  --shadow-float: 0 1.25rem 2.5rem -1.25rem rgba(30, 42, 53, 0.45);

  /* Motion. Springs are generated curves (soft: ~4% overshoot, bounce: ~23%). */
  --dur: 180ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.22, 1.2, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --ease-spring: linear(0, 0.025, 0.087, 0.174, 0.275, 0.377, 0.482, 0.58, 0.67, 0.747, 0.816, 0.873, 0.919, 0.956, 0.985, 1.005, 1.02, 1.03, 1.035, 1.038, 1.037, 1.036, 1.033, 1.029, 1.025, 1.021, 1.018, 1.014, 1.011, 1.008, 1.006, 1.004, 1.002, 1.001, 1, 0.999, 1);
    --ease-bounce: linear(0, 0.051, 0.179, 0.359, 0.553, 0.742, 0.909, 1.048, 1.145, 1.205, 1.231, 1.228, 1.204, 1.167, 1.123, 1.077, 1.035, 1.001, 0.974, 0.957, 0.948, 0.946, 0.95, 0.957, 0.967, 0.978, 0.988, 0.997, 1.004, 1.009, 1.012, 1.013, 1.012, 1.011, 1.009, 1.006, 1.004, 1.002, 1, 0.998, 0.998, 0.997, 0.997, 0.997, 0.998, 0.998, 0.999, 0.999, 1);
  }
}


/* 3. BASE ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--admin-bar) + 1rem);
}
html.header-static, .header-static { scroll-padding-top: 1rem; }

body {
  margin: 0;
  background: var(--section-light);
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-weight: var(--fw-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.admin-bar { --admin-bar: 46px; }

/* Paints the phone status-bar band in the sticky header's colour */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--color-navy);
  pointer-events: none;
}

h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
p { text-wrap: pretty; }
b, strong { font-weight: var(--fw-strong); }

h1, h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-heading);
  line-height: var(--lh-tight);
  letter-spacing: -0.005em;
  color: var(--color-navy);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 {
  font-family: var(--font-body);
  font-weight: var(--fw-strong);
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
  color: var(--color-navy);
}

a {
  color: var(--color-link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
a:hover { color: var(--color-link-hover); }
a[href^="tel:"] { white-space: nowrap; } /* keep phone numbers on one line */

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

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

:focus-visible {
  outline: var(--border-w-thick) solid var(--color-focus);
  outline-offset: var(--border-w-thick);
}
[tabindex="-1"]:focus { outline: none; }

::selection { background: var(--color-navy); color: var(--color-cream); }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

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

.skip-link {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + var(--admin-bar) + 0.5rem);
  left: max(1rem, env(safe-area-inset-left, 0px));
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-m);
  background: var(--color-navy);
  color: var(--color-cream);
  font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: var(--color-cream); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.container--reading { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }
.container--wide { max-width: none; }

/* 4. COMPONENTS ---------------------------------------------------------- */

/* Eyebrow label with a mid-century sparkle */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-orange-dark);
}
.eyebrow .icon { width: 0.875rem; height: 0.875rem; color: var(--color-orange); animation: twinkle 3.6s var(--ease-out) infinite; }

/* Arrow text link: underline draws, arrow springs forward */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
  background: linear-gradient(var(--color-orange), var(--color-orange)) left calc(50% + 0.85em) / 100% 0.125rem no-repeat;
  transition: background-size 0.45s var(--ease-expo), color var(--dur) var(--ease);
}
.link-arrow:hover { color: var(--color-orange-dark); background-size: 0% 0.125rem; background-position: right calc(50% + 0.85em); }
.link-arrow .icon { width: 1.125rem; height: 1.125rem; transition: transform 0.6s var(--ease-bounce); }
.link-arrow:hover .icon { transform: translateX(0.375rem); }

/* Phone link block */
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--color-navy);
  text-decoration: none;
}
.phone-link__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 0.1875rem 0 var(--color-navy);
  transition: transform 0.6s var(--ease-bounce), box-shadow 0.3s var(--ease-out), background-color 0.3s;
}
.phone-link__icon .icon { width: 1.375rem; height: 1.375rem; stroke-width: 2; }
.phone-link__text { display: grid; line-height: 1.2; }
.phone-link__label { font-size: var(--fs-sm); font-weight: 600; color: var(--color-ink-muted); }
.phone-link__number { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 800; letter-spacing: 0.02em; transition: color var(--dur); }
.phone-link:hover { color: var(--color-orange-dark); }
.phone-link:hover .phone-link__icon { transform: translate(-0.125rem, -0.125rem) scale(1.06); box-shadow: 0.3125rem 0.3125rem 0 var(--color-navy); background: var(--color-orange-dark); }
.phone-link--compact .phone-link__icon { width: 2.5rem; height: 2.5rem; }
.phone-link--compact .phone-link__icon .icon { width: 1.125rem; height: 1.125rem; }
.phone-inline { font-weight: 700; }

/* Phone icons ring on hover anywhere */
.icon--phone { transform-origin: 50% 50%; }
.btn:hover .icon--phone,
.phone-link:hover .icon--phone,
.topbar__phone:hover .icon--phone,
.site-footer__phone:hover .icon--phone { animation: ring 0.9s var(--ease-out) 1; }

/* Checklist with orange tick badges */
.checklist { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.checklist__item { display: flex; align-items: flex-start; gap: 0.75rem; font-weight: 600; line-height: 1.4; }
.checklist__icon {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.25rem;
  margin-top: -0.0625rem;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  stroke-width: 3;
}

/* Ribbon (slogan): orange capitals on navy, like the back of the business
   card. Orange on navy is 4.06:1, so the text stays bold and >= 19px. */
.ribbon {
  display: inline-block;
  padding: 0.625rem 1.875rem 0.6875rem;
  background: var(--color-navy);
  color: var(--color-orange);
  font-family: var(--font-display);
  font-size: max(var(--fs-on-orange), var(--fs-lg));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.875rem) 50%, 100% 100%, 0 100%, 0.875rem 50%);
  rotate: -1.75deg;
}

/* Chip link (service-area cities, related links): fill rises on hover */
.chip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.375rem 1rem;
  border: var(--border-w) solid var(--color-navy);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-navy);
  font-size: var(--fs-sm-plus);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.3s var(--ease-out), transform 0.55s var(--ease-bounce);
}
.chip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-navy);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-expo);
}
.chip:hover { color: var(--color-cream); transform: translateY(-0.1875rem); }
.chip:hover::before { transform: translateY(0); }
.chip--home { background: var(--color-navy); color: var(--color-cream); }
.chip--home::before { background: var(--color-orange-dark); }

/* Section shell: backgrounds, spacing presets, dark styles */
.section { position: relative; padding-block: var(--pad-top, var(--section-pad)) var(--pad-bottom, var(--section-pad)); }
.section--space-compact { --pad-top: var(--section-pad-compact); --pad-bottom: var(--section-pad-compact); }
.section--space-standard { --pad-top: var(--section-pad); --pad-bottom: var(--section-pad); }
.section--space-spacious { --pad-top: var(--section-pad-spacious); --pad-bottom: var(--section-pad-spacious); }
.section--cream { background: var(--section-light); }
.section--cream-2 { background: var(--section-tint); }
.section--white { background: var(--section-white); }
.section--slate { background: var(--section-slate); }
.section--deep { background: var(--section-deep); }
/* Two light sections in a row share the spacing instead of doubling it */
.section--cream + .section--cream:not(.section--wave),
.section--cream-2 + .section--cream-2:not(.section--wave),
.section--white + .section--white:not(.section--wave) { --pad-top: 0px; }

.section--deep,
.section--slate,
.is-dark {
  --color-focus: var(--color-focus-on-dark);
  color: var(--color-on-dark);
}
.is-dark h2,
.is-dark h3,
.is-dark .text-block__title { color: var(--color-cream); }
.is-dark .section__intro,
.is-dark .reasons__lead,
.is-dark .reasons__text,
.is-dark .steps__text { color: var(--color-on-dark-muted); }
.is-dark .eyebrow { color: var(--color-cream); }
.is-dark .eyebrow .icon { color: var(--color-orange); }
.is-dark a:not(.btn):not(.chip) { color: var(--color-cream); }
.is-dark a:not(.btn):not(.chip):hover { color: var(--color-white); text-decoration-color: var(--color-orange); }
.is-dark .link-arrow { color: var(--color-cream); }
.is-dark .chip { border-color: var(--color-cream); color: var(--color-cream); }
.is-dark .chip::before { background: var(--color-cream); }
.is-dark .chip:hover { color: var(--color-navy); }
.is-dark .phone-link { color: var(--color-cream); }
.is-dark .phone-link__label { color: var(--color-on-dark-muted); }
.is-dark .prose .callout { background: rgba(255, 241, 216, 0.08); color: var(--color-cream); }

/* Curved top edge: the section overlaps the one above and masks a wave */
.section--wave {
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 38C240 4 520 0 760 24s480 38 680 6V80H0Z'/%3E%3C/svg%3E");
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--wave-h));
  padding-top: calc(var(--pad-top, var(--section-pad)) + var(--wave-h));
  -webkit-mask: var(--wave) top center / 100% var(--wave-h) no-repeat, linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--wave-h) + 1px) no-repeat;
          mask: var(--wave) top center / 100% var(--wave-h) no-repeat, linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--wave-h) + 1px) no-repeat;
}
.section--wave-alt {
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 30c200 32 440 18 680-6S1200 4 1440 38V80H0Z'/%3E%3C/svg%3E");
}


.section__header {
  display: grid;
  gap: var(--space-s);
  max-width: 50rem;
  margin-bottom: clamp(2rem, 1rem + 3vw, 4rem);
}
.section__heading { display: grid; gap: var(--space-xs); justify-items: start; }
.section__title { max-width: 20ch; }
.section__intro { max-width: 36rem; font-size: var(--fs-md); color: var(--color-ink-muted); }

/* Breadcrumbs (Rank Math output or the theme fallback) */
.breadcrumbs { font-size: var(--fs-sm); font-weight: 600; color: var(--color-ink-muted); }
.breadcrumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; padding: 0; }
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumbs__item + .breadcrumbs__item::before { content: "/"; color: var(--color-ink-muted); font-weight: 400; }
.breadcrumbs a { color: var(--color-link); text-decoration-color: transparent; }
.breadcrumbs a:hover { color: var(--color-orange-dark); text-decoration-color: currentColor; }
.breadcrumbs [aria-current] { color: var(--color-ink-muted); }
.rank-math-breadcrumb p { margin: 0; }
.rank-math-breadcrumb .separator { padding-inline: 0.375rem; color: var(--color-ink-muted); }

/* Prose: rich text from the editor */
.prose { max-width: 46rem; }
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75em; font-size: var(--fs-lg); }
.prose h4 { margin-top: 1.5em; font-size: var(--fs-md); color: var(--color-navy); }
.prose h3 + *, .prose h4 + * { margin-top: 0.5em; }
.prose a { font-weight: 600; }
.prose ul,
.prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }
.prose .lead { font-size: var(--fs-md); color: var(--color-navy); }
.prose blockquote {
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: var(--border-w-thick) solid var(--color-orange);
  font-size: var(--fs-md);
  font-style: italic;
}
/* Tick list (Formats > Tick list / block style "Tick list") */
.prose ul.ticks,
.prose .is-style-ticks { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.prose ul.ticks li,
.prose .is-style-ticks li { position: relative; margin: 0; padding-left: 2.25rem; line-height: 1.5; }
.prose ul.ticks li::before,
.prose .is-style-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--color-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 0.9rem no-repeat;
}
/* Numbered steps list (Formats > Numbered steps / block style "Numbered steps") */
.prose ol.steps-list,
.prose .is-style-steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1rem; }
.prose ol.steps-list li,
.prose .is-style-steps li { position: relative; margin: 0; padding-left: 3.25rem; min-height: 2.25rem; counter-increment: step; line-height: 1.5; padding-top: 0.25rem; }
.prose ol.steps-list li::before,
.prose .is-style-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-cream);
  font-family: var(--font-display);
  font-weight: var(--fw-heading);
  font-size: 1.0625rem;
  line-height: 1;
  box-shadow: 0.1875rem 0.1875rem 0 var(--color-orange);
}
/* Call-out box (Formats > Call-out box / block style "Call-out box") */
.prose .callout,
.prose .is-style-callout {
  position: relative;
  padding: 1.125rem 1.25rem 1.125rem 3.5rem;
  border-radius: var(--radius-m);
  background: var(--color-cream);
  color: var(--color-navy);
  font-weight: 600;
  line-height: 1.5;
}
.section--cream-2 .prose .callout { background: var(--color-surface); }
.prose .callout::before,
.prose .is-style-callout::before {
  content: "!";
  position: absolute;
  left: 1.125rem;
  top: 1.125rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--color-orange-dark);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: var(--fw-heading);
  font-size: 0.875rem;
  line-height: 1;
}
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm-plus); }
.prose th,
.prose td { padding: 0.625rem 0.75rem; border-bottom: 0.0625rem solid var(--color-line-strong); text-align: left; vertical-align: top; }
.prose thead th { border-bottom: var(--border-w) solid var(--color-navy); color: var(--color-navy); }
.prose figure.wp-block-table { overflow-x: auto; }
.prose img { border-radius: var(--radius-card); }
.prose hr { border: 0; border-top: var(--border-w) dashed var(--color-line-strong); margin-block: 2em; }
/* Links to pages that are not published yet are shown as plain text */
.link-pending { font-weight: inherit; }

/* Text section: heading left, text right (ruled editorial blocks) */
.text-block { display: grid; gap: var(--space-m); }
.text-block--split,
.text-block--stacked { padding-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-top: var(--border-w) solid var(--color-navy); }
.is-dark .text-block--split,
.is-dark .text-block--stacked { border-top-color: var(--color-line-on-dark); }
.section--wave .text-block,
.text-block--no-heading { padding-top: 0; border-top: 0; }
.text-block__head { display: grid; gap: var(--space-xs); justify-items: start; align-content: start; }
.text-block__title { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.625rem); max-width: 22ch; }
.text-block__body { min-width: 0; }
.text-block__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: var(--space-m); }
.text-block--centered { justify-items: center; text-align: center; }
.text-block--centered .prose { margin-inline: auto; }
.text-block--centered .text-block__head { justify-items: center; }
.text-block--centered .text-block__actions { justify-content: center; }

/* Related links (chips) */
.related { display: grid; gap: 1rem; }
.related__title {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-orange-dark);
}
.related__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.related__after { margin-top: 1rem; }

/* Search form */
.search-form { display: flex; flex-wrap: wrap; gap: 0.625rem; max-width: 34rem; }
.search-form__input {
  flex: 1 1 14rem;
  min-height: 3.125rem;
  padding: 0.6875rem 1rem;
  border: var(--border-w) solid var(--color-field-border);
  border-radius: var(--radius-m);
  background: var(--color-surface-tint);
  font-size: max(1rem, var(--fs-base));
}
.search-form__input:focus { border-color: var(--color-blue); background: var(--color-white); outline: none; box-shadow: 0 0 0 0.3125rem var(--color-glow); }
.search-form__input:focus-visible { outline: var(--border-w) solid var(--color-focus); outline-offset: 0.0625rem; }
.search-form__button { flex: 0 0 auto; }

/* Empty state */
.empty-state { display: grid; gap: 0.75rem; justify-items: start; max-width: 36rem; }
.empty-state__title { font-family: var(--font-display); font-weight: var(--fw-heading); font-size: var(--fs-h3-display); color: var(--color-navy); }
.empty-state__actions { margin-top: 0.5rem; }

/* Shortcode / plugin output */
.embed-block { min-width: 0; }

/* Administrator-only reminders (never shown to visitors) */
.form-admin-notice {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border: var(--border-w) dashed var(--color-orange-dark);
  border-radius: var(--radius-m);
  background: var(--color-surface-tint);
  color: var(--color-navy);
  font-size: var(--fs-sm);
  line-height: 1.45;
}

/* 5. BUTTONS: lift + hard shadow, radial fill from the cursor, shine sweep,
      magnetic pull (JS sets --mx/--my), springy icons ------------------- */
.btn {
  --btn-bg: var(--color-navy);
  --btn-fg: var(--color-white);
  --btn-fg-hover: var(--btn-fg);
  --btn-border: transparent;
  --btn-fill: var(--color-navy);
  --btn-shadow: var(--color-orange);
  --btn-rest: 0.1875rem;
  --btn-shadow-rest: 0 var(--btn-rest) 0 var(--btn-shadow);
  --btn-shadow-hover: 0.375rem 0.375rem 0 var(--btn-shadow);
  --lift: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: var(--border-w) solid var(--btn-border);
  border-radius: var(--radius-button);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: max(var(--fs-on-orange), var(--fs-base)); /* white on orange needs bold >= 18.67px */
  font-weight: var(--fw-button);
  line-height: 1.2;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--btn-shadow-rest);
  translate: var(--mx, 0px) var(--my, 0px);
  transform: translate(var(--lift), var(--lift));
  transition:
    translate 0.6s var(--ease-spring),
    transform 0.55s var(--ease-bounce),
    box-shadow 0.35s var(--ease-out),
    color 0.3s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
/* Radial fill that grows from where the pointer entered (--fx/--fy) */
.btn::before {
  content: "";
  position: absolute;
  inset: -0.125rem;
  z-index: -1;
  background: var(--btn-fill);
  clip-path: circle(0% at var(--fx, 50%) var(--fy, 50%));
  transition: clip-path 0.6s var(--ease-expo);
}
/* Shine sweep */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: translateX(-130%) skewX(-18deg);
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
}
.btn:hover,
.btn:focus-visible {
  --lift: -0.1875rem;
  color: var(--btn-fg-hover);
  box-shadow: var(--btn-shadow-hover);
}
.btn:hover::before,
.btn:focus-visible::before { clip-path: circle(150% at var(--fx, 50%) var(--fy, 50%)); }
.btn:hover::after { transform: translateX(320%) skewX(-18deg); }
.btn:active {
  --lift: 0.125rem;
  box-shadow: 0 0 0 var(--btn-shadow);
  transition-duration: 0.6s, 0.08s, 0.08s, 0.3s;
}
.btn .icon { width: 1.25rem; height: 1.25rem; stroke-width: 2; }
.btn .icon--arrow { transition: transform 0.6s var(--ease-bounce); }
.btn:hover .icon--arrow { transform: translateX(0.3125rem); }

.btn--primary {
  --btn-bg: var(--color-orange);
  --btn-fill: var(--color-orange-dark);
  --btn-shadow: var(--color-navy);
}
.btn--secondary { --btn-bg: var(--color-blue); --btn-fill: var(--color-blue-dark); }
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--color-navy);
  --btn-fg-hover: var(--color-cream);
  --btn-border: var(--color-navy);
  --btn-fill: var(--color-navy);
  --btn-rest: 0px;
}
.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--color-cream);
  --btn-fg-hover: var(--color-navy);
  --btn-border: var(--color-cream);
  --btn-fill: var(--color-cream);
  --btn-rest: 0px;
}
.btn--outline-light::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent); }
.btn--lg { min-height: 3.625rem; padding: var(--btn-lg-pad-y) var(--btn-lg-pad-x); font-size: max(var(--fs-on-orange), var(--fs-md)); }
.btn--block { width: 100%; }

/* Button presets from Theme Options > Branding & Design > Buttons */
.btn-shadow-soft .btn { --btn-shadow-rest: 0 0.5rem 1rem -0.5rem rgba(28, 34, 68, 0.45); --btn-shadow-hover: 0 1rem 1.5rem -0.75rem rgba(28, 34, 68, 0.55); }
.btn-shadow-none .btn { --btn-shadow-rest: none; --btn-shadow-hover: none; }
/* E-mail addresses and web addresses stay lowercase (Brand Guide) */
.btn[href^="mailto:"] { text-transform: none; letter-spacing: 0.01em; }
/* "As typed" (Theme Options > Buttons) turns off the brand capitals */
.btn-text-as-typed .btn { text-transform: none; letter-spacing: 0.005em; }
.no-button-effects .btn::before,
.no-button-effects .btn::after { display: none; }
.no-button-effects .btn { translate: none; }
.no-button-effects .btn:hover { background: var(--btn-fill); }

/* 6. HEADER + NAVIGATION ------------------------------------------------ */
/* Orange alert bar. White on orange is 3.8:1, so every word in it is bold
   and at least 18.67px (WCAG large text), as the Brand Guide requires. */
.topbar {
  --color-focus: var(--color-navy);
  background: var(--color-orange);
  color: var(--color-white);
  font-size: var(--fs-on-orange);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 1.5rem; text-align: center; }
.topbar__text { padding-block: 0.5rem; line-height: 1.25; }
.topbar__owned { display: none; }
.topbar__sep { padding-inline: 0.5em; }
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--color-white);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.topbar__phone .icon { width: 1.125rem; height: 1.125rem; stroke-width: 2.25; }
.topbar__phone:hover { color: var(--color-white); text-decoration: underline; text-decoration-thickness: 0.1em; }
/* Phones: the fixed call bar already carries the number */
@media (max-width: 53.74em) {
  .has-mobile-bar .topbar__phone { display: none; }
}

.site-header {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + var(--admin-bar));
  z-index: 50;
  background: rgba(28, 34, 68, 0.97);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
          backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: var(--border-w-thick) solid var(--color-navy);
  color: var(--color-cream);
  transition: box-shadow 0.35s var(--ease-out);
}
.site-header--static { position: relative; top: auto; }
.site-header.is-scrolled { box-shadow: 0 1rem 2rem -1.5rem rgba(28, 34, 68, 0.55); }
/* Scroll progress drawn on the header rule */
.site-header__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1 * var(--border-w-thick));
  height: var(--border-w-thick);
  background: var(--color-orange);
  transform: scaleX(var(--scroll, 0));
  transform-origin: left;
  pointer-events: none;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  min-height: var(--header-h);
  padding-block: 0.4375rem;
}
/* The badge is never rotated, recoloured or given effects (Brand Guide) */
.site-header__brand { flex: none; margin-right: auto; border-radius: var(--radius-s); transition: transform 0.6s var(--ease-bounce); }
.site-header__brand:hover { transform: translateY(-0.125rem); }
.site-header { --color-focus: var(--color-focus-on-dark); }
.site-header .site-nav { --color-focus: var(--color-blue); }
.site-header__call { --btn-shadow: var(--color-blue); }
.site-header__logo { width: var(--logo-w-mobile); height: auto; }
.site-header__actions { display: flex; align-items: center; gap: 0.625rem; }
.site-header__call { display: none; }

.site-header__menu {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.375rem 0.9375rem 0.375rem 0.75rem;
  border: var(--border-w) solid var(--color-cream);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-cream);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.site-header__burger { position: relative; display: grid; gap: 0.25rem; width: 1.25rem; }
.site-header__burger span {
  display: block;
  height: 0.125rem;
  border-radius: 0.125rem;
  background: currentColor;
  transition: transform 0.5s var(--ease-bounce), opacity 0.2s;
}
.site-header__menu:hover { background: rgba(255, 241, 216, 0.12); }
/* Small phones: the badge keeps its 200px minimum, so the toggle shows only
   its icon (the label stays as the accessible name). */
@media (max-width: 23.99em) {
  .site-header__inner { gap: 0.75rem; }
  .site-header__menu { justify-content: center; width: 2.75rem; padding: 0; }
  .site-header__menu [data-nav-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.site-header__menu[aria-expanded="true"] { background: var(--color-cream); color: var(--color-navy); }
.site-header__menu[aria-expanded="true"] .site-header__burger span:nth-child(1) { transform: translateY(0.375rem) rotate(45deg); }
.site-header__menu[aria-expanded="true"] .site-header__burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-header__menu[aria-expanded="true"] .site-header__burger span:nth-child(3) { transform: translateY(-0.375rem) rotate(-45deg); }

/* Navigation — mobile/tablet panel first */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px) - var(--admin-bar));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--color-cream-light);
  color: var(--color-navy);
  border-top: 0.0625rem solid var(--color-line);
  border-bottom: var(--border-w-thick) solid var(--color-navy);
  box-shadow: var(--shadow-float);
}
.site-header.is-nav-open .site-nav { display: block; }
.has-nav-open { overflow: hidden; }
.site-nav__indicator { display: none; }

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem max(var(--gutter), env(safe-area-inset-right, 0px)) 0.5rem max(var(--gutter), env(safe-area-inset-left, 0px));
}
.site-nav__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border-bottom: 0.0625rem solid var(--color-line);
}
.site-nav__link {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  color: var(--color-navy);
  font-size: var(--fs-md);
  font-weight: 700;
  text-decoration: none;
}
.site-nav__link:hover { color: var(--color-orange-dark); }
.site-nav__item.is-current > .site-nav__link { color: var(--color-orange-dark); }
.site-nav__toggle {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius-s);
  background: none;
  color: var(--color-navy);
  cursor: pointer;
}
.site-nav__toggle .icon { width: 1.25rem; height: 1.25rem; stroke-width: 2.25; transition: transform 0.5s var(--ease-bounce); }
.site-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.site-nav__sub { display: none; grid-column: 1 / -1; padding: 0 0 1rem; }
.site-nav__toggle[aria-expanded="true"] + .site-nav__sub { display: block; animation: drop-in 0.45s var(--ease-spring) both; }
.site-nav__sublabel {
  margin-bottom: 0.25rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.site-nav__sublist {
  list-style: none;
  display: grid;
  margin: 0;
  padding: 0 0 0 0.875rem;
  border-left: var(--border-w-thick) solid var(--color-orange);
}
.site-nav__sublink {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--color-navy);
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: color var(--dur), transform 0.45s var(--ease-bounce);
}
.site-nav__sublink:hover { color: var(--color-orange-dark); transform: translateX(0.3125rem); }
.site-nav__sublist .is-current > .site-nav__sublink { color: var(--color-orange-dark); }
.site-nav__subfoot {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  margin-top: 0.25rem;
  font-weight: 700;
  color: var(--color-navy);
}
.site-nav__subfoot .icon { width: 1.125rem; height: 1.125rem; transition: transform 0.6s var(--ease-bounce); }
.site-nav__subfoot:hover .icon { transform: translateX(0.3125rem); }
.site-nav__cta {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem max(var(--gutter), env(safe-area-inset-right, 0px)) 1.5rem max(var(--gutter), env(safe-area-inset-left, 0px));
}

/* 7. HERO + CTA BAND ---------------------------------------------------- */
.hero {
  --burst-x: 50%;
  --burst-y: 0%;
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--section-tint);
  padding-block: clamp(2.5rem, 1.25rem + 4.5vw, 6.5rem) calc(clamp(3.5rem, 2rem + 5vw, 7rem) + var(--wave-h));
}
.hero.section--cream { background: var(--section-light); }
.hero.section--white { background: var(--section-white); }
.hero__decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Sunburst (drifts slightly with the pointer) */
.hero__burst {
  position: absolute;
  left: var(--burst-x);
  top: var(--burst-y);
  width: 110vmax;
  height: 110vmax;
  translate: calc(-50% + var(--hx, 0) * 16px) calc(-50% + var(--hy, 0) * 16px);
  transition: translate 1.4s var(--ease-out);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-100 -100 200 200'%3E%3Cdefs%3E%3CradialGradient id='g' cx='0' cy='0' r='100' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23FFF8EC'/%3E%3Cstop offset='0.14' stop-color='%23FFF8EC'/%3E%3Cstop offset='0.7' stop-color='%23FFF8EC' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath fill='url%28%23g%29' d='M0 0L149.9 -5.5L149.9 5.5ZM0 0L148.6 20.6L146.7 31.4ZM0 0L142.7 46.1L139.0 56.4ZM0 0L132.6 70.2L127.1 79.7ZM0 0L118.4 92.1L111.3 100.6ZM0 0L100.6 111.3L92.1 118.4ZM0 0L79.7 127.1L70.2 132.6ZM0 0L56.4 139.0L46.1 142.7ZM0 0L31.4 146.7L20.6 148.6ZM0 0L5.5 149.9L-5.5 149.9ZM0 0L-20.6 148.6L-31.4 146.7ZM0 0L-46.1 142.7L-56.4 139.0ZM0 0L-70.2 132.6L-79.7 127.1ZM0 0L-92.1 118.4L-100.6 111.3ZM0 0L-111.3 100.6L-118.4 92.1ZM0 0L-127.1 79.7L-132.6 70.2ZM0 0L-139.0 56.4L-142.7 46.1ZM0 0L-146.7 31.4L-148.6 20.6ZM0 0L-149.9 5.5L-149.9 -5.5ZM0 0L-148.6 -20.6L-146.7 -31.4ZM0 0L-142.7 -46.1L-139.0 -56.4ZM0 0L-132.6 -70.2L-127.1 -79.7ZM0 0L-118.4 -92.1L-111.3 -100.6ZM0 0L-100.6 -111.3L-92.1 -118.4ZM0 0L-79.7 -127.1L-70.2 -132.6ZM0 0L-56.4 -139.0L-46.1 -142.7ZM0 0L-31.4 -146.7L-20.6 -148.6ZM0 0L-5.5 -149.9L5.5 -149.9ZM0 0L20.6 -148.6L31.4 -146.7ZM0 0L46.1 -142.7L56.4 -139.0ZM0 0L70.2 -132.6L79.7 -127.1ZM0 0L92.1 -118.4L100.6 -111.3ZM0 0L111.3 -100.6L118.4 -92.1ZM0 0L127.1 -79.7L132.6 -70.2ZM0 0L139.0 -56.4L142.7 -46.1ZM0 0L146.7 -31.4L148.6 -20.6Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; /* rays in --color-cream-light, fade baked in */
  opacity: 0.9;
}
/* Floating sparkles with pointer parallax (JS sets --hx/--hy, -1…1) */
.hero__spark {
  position: absolute;
  width: var(--s);
  height: var(--s);
  color: var(--c);
  opacity: var(--o, 1);
  translate: calc(var(--hx, 0) * var(--depth) * 1px) calc(var(--hy, 0) * var(--depth) * 1px);
  transition: translate 1.2s var(--ease-out);
  animation: float var(--t) ease-in-out infinite alternate;
}
.hero__spark--1 { --s: 1.5rem; --c: var(--color-orange); --depth: 22; --t: 5s; left: 3%; top: 8%; }
.hero__spark--2 { --s: 2.5rem; --c: var(--color-blue); --o: 0.55; --depth: -30; --t: 7s; right: 4%; top: 6%; }
.hero__spark--3 { --s: 1.125rem; --c: var(--color-orange); --depth: 40; --t: 4.2s; left: 44%; bottom: calc(var(--wave-h) + 2rem); }
.hero__ring {
  position: absolute;
  right: -8rem;
  bottom: -10rem;
  width: clamp(18rem, 34vw, 38rem);
  aspect-ratio: 1;
  border: var(--border-w) dashed var(--color-line-strong);
  border-radius: 50%;
  translate: calc(var(--hx, 0) * -14px) calc(var(--hy, 0) * -14px);
  transition: translate 1.2s var(--ease-out);
  animation: spin 160s linear infinite reverse;
}

.hero__inner { display: grid; gap: var(--space-xl); align-items: center; }
.hero__content { display: grid; gap: var(--space-m); justify-items: start; min-width: 0; }
.hero__title { max-width: 15ch; }
/* Orange swoosh under the headline: thin at the left, widening to the right,
   like the swoosh on the van. Drawn as a mask so it follows --color-orange. */
.hero__title::after {
  content: "";
  display: block;
  width: min(100%, 9.5em);
  height: 0.15em;
  margin-top: 0.2em;
  background: var(--color-orange);
  -webkit-mask: var(--swoosh) left center / 100% 100% no-repeat;
          mask: var(--swoosh) left center / 100% 100% no-repeat;
  transform-origin: left center;
  transition: transform 1.1s var(--ease-expo) 0.35s;
}
.motion .hero__title[data-split]:not(.is-in)::after { transform: scaleX(0); }
.hero__tagline { filter: drop-shadow(0.25rem 0.25rem 0 var(--color-blue)); margin-block: 0.25rem 0.125rem; }
.hero__lead { max-width: 36rem; font-size: var(--fs-md); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; width: 100%; }
.hero__actions .btn { flex: 1 1 15rem; }
.hero__assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  width: 100%;
  padding-top: var(--space-m);
  border-top: var(--border-w) dashed var(--color-line-strong);
}
.hero__aside { min-width: 0; }
.hero__search { width: 100%; }

/* Inner-page hero: same language, calmer scale */
.hero--page,
.hero--post { padding-block: clamp(1.75rem, 1rem + 3vw, 4.5rem) calc(clamp(2.75rem, 1.75rem + 3.5vw, 5.25rem) + var(--wave-h)); }
.hero--compact { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) calc(clamp(2rem, 1.5rem + 2vw, 3.5rem) + var(--wave-h)); }
.hero--page .hero__title,
.hero--post .hero__title { max-width: 22ch; font-size: var(--fs-h1-page); }
.hero--page .hero__content,
.hero--post .hero__content { gap: var(--space-s); }
.hero--page .hero__lead,
.hero--post .hero__lead { max-width: 44rem; }
.hero--page .hero__actions { margin-top: 0.5rem; }
.hero--page .hero__ring,
.hero--post .hero__ring { width: clamp(14rem, 26vw, 28rem); bottom: -12rem; }
.hero--post .hero__title { max-width: 26ch; }
.hero--page .hero__spark--1,
.hero--post .hero__spark--1 { left: auto; right: 42%; top: 9%; }
/* A compact section loses part of its bottom space under the next section's
   curved edge; give it back so links never sit on the curve. */
.section--space-compact:has(+ .section--wave),
.section--space-compact:has(+ .cta-band.section--wave) { padding-bottom: calc(var(--pad-bottom) + var(--wave-h) * 0.75); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; font-size: var(--fs-sm); font-weight: 700; color: var(--color-ink-muted); }
.post-meta__cat {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--color-navy);
  color: var(--color-cream);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: var(--fs-xs);
  text-decoration: none;
}
.post-meta__cat:hover { background: var(--color-orange-dark); color: var(--color-white); }

/* Decorative Kennedy badge on inner-page heroes (desktop only) */
.hero__aside--badge { display: none; }
.hero-badge { position: relative; display: grid; place-items: center; width: clamp(18rem, 10rem + 12vw, 26rem); aspect-ratio: 1; margin-inline: auto; }
.hero-badge__seal {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--color-cream) 0 46%, transparent 46.5%),
    repeating-conic-gradient(from 0deg, var(--color-cream) 0deg 5deg, transparent 5deg 15deg);
  box-shadow: inset 0 0 0 var(--border-w) var(--color-line-strong), 0 0 0 0.75rem var(--section-tint), 0 0 0 0.875rem var(--color-line);
  animation: spin 120s linear infinite;
}
/* The badge itself is never rotated or given effects (Brand Guide) */
.hero-badge__logo {
  position: relative;
  width: 100%;
  min-width: 12.5rem;
  height: auto;
  transition: transform 0.7s var(--ease-bounce);
}
.hero-badge:hover .hero-badge__logo { transform: translateY(-0.375rem); }
.hero-badge__face { position: relative; width: 52%; height: auto; }
.hero__figure img {
  width: 100%;
  border: var(--border-w-thick) solid var(--color-navy);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-offset), var(--shadow-lift);
}

/* CTA band */
.cta-band {
  --color-focus: var(--color-focus-on-dark);
  --pad-top: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: var(--pad-top);
  padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  background: var(--section-slate);
  color: var(--color-cream);
}
.cta-band.section--deep { background: var(--section-deep); }
.cta-band.section--wave { padding-top: calc(var(--pad-top) + var(--wave-h)); }
.cta-band__burst {
  position: absolute;
  left: 78%;
  top: 60%;
  z-index: -1;
  width: 120vmax;
  height: 120vmax;
  translate: -50% -50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-100 -100 200 200'%3E%3Cdefs%3E%3CradialGradient id='g' cx='0' cy='0' r='100' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%235272A2' stop-opacity='0.24'/%3E%3Cstop offset='0.14' stop-color='%235272A2' stop-opacity='0.24'/%3E%3Cstop offset='0.65' stop-color='%235272A2' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath fill='url%28%23g%29' d='M0 0L149.8 -6.8L149.8 6.8ZM0 0L148.3 22.6L145.6 35.9ZM0 0L141.0 51.1L135.8 63.6ZM0 0L128.4 77.6L120.8 88.9ZM0 0L110.8 101.1L101.1 110.8ZM0 0L88.9 120.8L77.6 128.4ZM0 0L63.6 135.8L51.1 141.0ZM0 0L35.9 145.6L22.6 148.3ZM0 0L6.8 149.8L-6.8 149.8ZM0 0L-22.6 148.3L-35.9 145.6ZM0 0L-51.1 141.0L-63.6 135.8ZM0 0L-77.6 128.4L-88.9 120.8ZM0 0L-101.1 110.8L-110.8 101.1ZM0 0L-120.8 88.9L-128.4 77.6ZM0 0L-135.8 63.6L-141.0 51.1ZM0 0L-145.6 35.9L-148.3 22.6ZM0 0L-149.8 6.8L-149.8 -6.8ZM0 0L-148.3 -22.6L-145.6 -35.9ZM0 0L-141.0 -51.1L-135.8 -63.6ZM0 0L-128.4 -77.6L-120.8 -88.9ZM0 0L-110.8 -101.1L-101.1 -110.8ZM0 0L-88.9 -120.8L-77.6 -128.4ZM0 0L-63.6 -135.8L-51.1 -141.0ZM0 0L-35.9 -145.6L-22.6 -148.3ZM0 0L-6.8 -149.8L6.8 -149.8ZM0 0L22.6 -148.3L35.9 -145.6ZM0 0L51.1 -141.0L63.6 -135.8ZM0 0L77.6 -128.4L88.9 -120.8ZM0 0L101.1 -110.8L110.8 -101.1ZM0 0L120.8 -88.9L128.4 -77.6ZM0 0L135.8 -63.6L141.0 -51.1ZM0 0L145.6 -35.9L148.3 -22.6Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; /* rays in --color-blue at low opacity, fade baked in */
  opacity: 0.85;
}
.cta-band__inner { display: grid; gap: var(--space-xl); align-items: center; }
.cta-band__content { display: grid; gap: var(--space-m); justify-items: start; }
.cta-band__title { color: var(--color-cream); font-size: clamp(2.125rem, 1.3rem + 3vw, 4.25rem); max-width: 15ch; }
.cta-band__text { font-size: var(--fs-md); color: var(--color-on-dark-muted); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; width: 100%; }
.cta-band__actions .btn { flex: 1 1 15rem; }
.cta-band__actions .btn--primary { --btn-shadow: var(--color-blue); }
.cta-band__actions .btn--outline-light { --btn-shadow: var(--color-orange); }
/* Badge artwork on navy (allowed). Never tilted, rotated or shadowed. */
.cta-band__mascot { justify-self: center; width: min(100%, 20rem); padding-block: 0.5rem; }
.cta-band__mascot img {
  width: 100%;
  min-width: 12.5rem;
  animation: bob 5.5s ease-in-out infinite;
}

/* 8. FOOTER + MOBILE BAR ------------------------------------------------- */
.site-footer {
  --color-focus: var(--color-focus-on-dark);
  position: relative;
  margin-top: -1px; /* no sub-pixel seam against a navy band above */
  padding-top: clamp(3.5rem, 2rem + 3.5vw, 5.5rem);
  background: var(--color-navy);
  color: var(--color-on-dark-muted);
  font-size: var(--fs-sm-plus);
}
/* Orange swoosh across the top edge separates the footer from a navy band above */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(0.4375rem, 0.3rem + 0.45vw, 0.75rem);
  background: var(--color-orange);
  -webkit-mask: var(--swoosh) center / 100% 100% no-repeat;
          mask: var(--swoosh) center / 100% 100% no-repeat;
}
.site-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.site-footer__brand,
.site-footer__col--areas { grid-column: 1 / -1; }
.site-footer__col--areas .site-footer__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.site-footer__brand { display: grid; gap: 1rem; justify-items: start; align-content: start; }
.site-footer__logo-link { border-radius: var(--radius-s); transition: transform 0.6s var(--ease-bounce); }
.site-footer__logo-link:hover { transform: translateY(-0.125rem); }
.site-footer__logo { width: var(--logo-w-footer); min-width: 12.5rem; height: auto; }
/* Slogan and service-area line: orange capitals, bold and >= 19px on navy (4.06:1) */
.site-footer__slogan,
.site-footer__arealine {
  color: var(--color-orange);
  font-family: var(--font-display);
  font-size: var(--fs-on-orange);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.site-footer__website { color: var(--color-cream); font-weight: 700; letter-spacing: 0.02em; }
.site-footer__area { max-width: 22rem; }
.site-footer__contact { list-style: none; padding: 0; display: grid; gap: 0.25rem; }
.site-footer__phone,
.site-footer__email {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  color: var(--color-cream);
  text-decoration: none;
}
.site-footer__phone { font-family: var(--font-display); font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); font-weight: 800; letter-spacing: 0.02em; }
.site-footer__phone .icon,
.site-footer__email .icon { width: 1.25rem; height: 1.25rem; color: var(--color-orange); }
.site-footer__phone:hover,
.site-footer__email:hover { color: var(--color-white); text-decoration: underline; }
.site-footer__hours { display: grid; gap: 0.25rem; }
.site-footer__hours div { display: flex; flex-wrap: wrap; gap: 0 0.5rem; }
.site-footer__hours dt { font-weight: 700; color: var(--color-cream); }
.site-footer__social { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.25rem 0.875rem;
  border: 0.0625rem solid rgba(221, 211, 193, 0.4);
  border-radius: var(--radius-pill);
  color: var(--color-cream);
  font-weight: 600;
  text-decoration: none;
}
.site-footer__social-link:hover { border-color: var(--color-orange); color: var(--color-white); }
.site-footer__title {
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: var(--fw-heading);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-cream);
}
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; }
.site-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  color: var(--color-on-dark-muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color var(--dur), text-decoration-color var(--dur), transform 0.45s var(--ease-bounce);
}
.site-footer__link:hover { color: var(--color-cream); text-decoration-color: var(--color-orange); transform: translateX(0.25rem); }
.site-footer__link--strong { color: var(--color-cream); font-weight: 700; text-decoration-color: var(--color-orange); }
.site-footer__link[aria-current] { color: var(--color-cream); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  margin-top: var(--space-xl);
  padding-block: 1rem;
  border-top: 0.0625rem solid rgba(221, 211, 193, 0.22);
  font-size: var(--fs-sm);
}
.site-footer__license { white-space: nowrap; color: var(--color-cream); font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.site-footer__license { display: block; }
@media (min-width: 40em) {
  .site-footer__license { display: inline; }
  .site-footer__license::before { content: "·"; padding-inline: 0.5em; color: var(--color-on-dark-muted); font-weight: 400; }
}
.site-footer__legal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.site-footer__bottom .site-footer__link:hover { transform: none; }

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  background: var(--color-navy);
  box-shadow: 0 -0.25rem 1rem rgba(28, 34, 68, 0.25);
  transition: transform 0.35s var(--ease-expo), visibility 0s linear 0s;
}
.mobile-bar--single { grid-template-columns: 1fr; }
.mobile-bar.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform 0.35s var(--ease-expo), visibility 0s linear 0.35s; }
.mobile-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--mobile-bar-h);
  padding-inline: 0.75rem;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-bar__btn:hover { color: var(--color-white); }
.mobile-bar__btn:active { filter: brightness(0.88); }
.mobile-bar__btn .icon { width: 1.25rem; height: 1.25rem; stroke-width: 2; }
.mobile-bar__btn--call { background: var(--color-orange); font-size: var(--fs-on-orange); } /* white on orange: bold and >= 18.67px */
.mobile-bar__btn--call .icon--phone { animation: ring 0.9s var(--ease-out) 2s 2; }
.mobile-bar__btn--visit { background: var(--color-blue); }
.mobile-bar__btn:focus-visible { outline-color: var(--color-cream); outline-offset: -0.375rem; }
/* Keep the end of the footer clear of the fixed bar */
.has-mobile-bar .site-footer { padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px)); }
html:has(.has-mobile-bar) { scroll-padding-bottom: calc(var(--mobile-bar-h) + 1rem); }

/* 9. MOTION SYSTEM -------------------------------------------------------
   The `motion` class is set in <head> before first paint, only when the
   visitor allows motion. Elements start hidden and spring in when
   main.js adds `.is-in` (IntersectionObserver). Without JS, or with
   reduced motion, everything is simply visible.                          */
.motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 2.25rem, 0);
  transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-spring);
  transition-delay: var(--d, 0ms);
}
.motion [data-reveal="fade"] { transform: none; }
.motion [data-reveal="right"] { transform: translate3d(3.5rem, 0, 0) rotate(1.5deg); }
.motion [data-reveal="left"] { transform: translate3d(-3.5rem, 0, 0); }
.motion [data-reveal="pop"] {
  transform: scale(0.6) rotate(-10deg);
  transition: opacity 0.4s var(--ease-out), transform 1.1s var(--ease-bounce);
  transition-delay: var(--d, 0ms);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Word-by-word headline reveal (main.js wraps each word) */
.split__w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.06em 0.02em 0.14em;
  margin: -0.06em -0.02em -0.14em;
}
.split__w > span { display: inline-block; }
.motion [data-split]:not(.is-split) { opacity: 0; }
.motion [data-split] .split__w > span {
  transform: translate3d(0, 115%, 0) rotate(6deg);
  transition: transform 1.05s var(--ease-expo);
  transition-delay: calc(var(--d, 0ms) + var(--w, 0) * 55ms);
}
.motion [data-split].is-in .split__w > span { transform: none; }
.motion .hero__aside:not(.is-in) .request-card__badge { transform: scale(0.4) rotate(-40deg); }
.motion .hero__aside.is-in .request-card__badge { transition-delay: 0.55s; }
.motion .hero__aside.is-in .request-card:hover .request-card__badge { transition-delay: 0s; }

@keyframes spin { to { rotate: 360deg; } }
@keyframes float {
  from { transform: translateY(-0.5rem) rotate(-8deg) scale(0.95); }
  to { transform: translateY(0.625rem) rotate(10deg) scale(1.05); }
}
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -0.75rem; }
}
@keyframes ring {
  0%, 70%, 100% { rotate: 0deg; }
  10% { rotate: -18deg; }
  20% { rotate: 15deg; }
  30% { rotate: -12deg; }
  40% { rotate: 9deg; }
  50% { rotate: -5deg; }
  60% { rotate: 2deg; }
}
@keyframes twinkle {
  0%, 70%, 100% { scale: 1; rotate: 0deg; }
  80% { scale: 1.35; rotate: 45deg; }
}
@keyframes drop-in {
  from { opacity: 0; transform: translateY(-0.5rem) scale(0.97); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(1rem); }
}
@keyframes item-in {
  from { opacity: 0; transform: translateY(0.75rem); }
}
@keyframes nav-in {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes shake {
  0%, 100% { transform: none; }
  25% { transform: translateX(-0.25rem); }
  50% { transform: translateX(0.25rem); }
  75% { transform: translateX(-0.125rem); }
}

/* 10. RESPONSIVE --------------------------------------------------------- */
@media (min-width: 75em) {
  .topbar__inner { justify-content: space-between; text-align: left; }
  .topbar__owned { display: inline; }
}

@media (min-width: 40em) {
  .hero__actions .btn,
  .cta-band__actions .btn,
  .text-block__actions .btn { flex: 0 0 auto; }
}

@media (min-width: 48em) {
  .hero { --burst-x: 84%; --burst-y: 14%; }
  .section__header--split { max-width: none; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; column-gap: var(--space-2xl); }
  .section__header--split .section__intro { justify-self: end; }
  .section__header--split .link-arrow { justify-self: end; }
  .related { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 7rem); align-items: start; }
  .related__title { padding-top: 0.75rem; }
}

/* Phones: account for the 46px WordPress admin bar only while it is fixed */
@media (max-width: 600px) {
  body.admin-bar { --admin-bar: 0px; }
}
@media (min-width: 48.9375em) {
  body.admin-bar { --admin-bar: 32px; }
}

/* Tablet and up: no mobile call bar, Call Now button returns to the header */
@media (min-width: 53.75em) {
  .site-header__call { display: inline-flex; }
  .mobile-bar { display: none; }
  .has-mobile-bar .site-footer { padding-bottom: 0; }
  html:has(.has-mobile-bar) { scroll-padding-bottom: 0; }
}

@media (min-width: 56em) {
  .cta-band__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); }
  .cta-band__inner--solo { grid-template-columns: minmax(0, 1fr); }
  .cta-band__mascot { width: min(100%, 21rem); justify-self: end; }
}

@media (min-width: 64em) {
  :root { --header-h: 5.75rem; }
  .hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(3rem, 1rem + 4vw, 7rem); }
  .hero--page .hero__inner,
  .hero--post .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero--page.hero--has-aside .hero__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); }
  .hero--aside-form.hero--page .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .hero__aside--badge { display: block; }
  .text-block--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 5vw, 7rem); align-items: start; }
  .text-block--split .text-block__head { position: sticky; top: calc(var(--header-h) + var(--admin-bar) + 2rem); }
  .site-footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; }
  .site-footer__brand,
  .site-footer__col--areas { grid-column: auto; }
  .site-footer__col--areas .site-footer__list { grid-template-columns: minmax(0, 1fr); }
}

/* Mobile/tablet menu choreography */
@media (max-width: 67.99em) {
  .site-header.is-nav-open .site-nav { animation: nav-in 0.55s var(--ease-expo) both; }
  .site-header.is-nav-open .site-nav__item,
  .site-header.is-nav-open .site-nav__cta { animation: item-in 0.6s var(--ease-spring) both; animation-delay: calc(var(--i, 0) * 45ms + 90ms); }
  .site-nav__item:nth-child(2) { --i: 1; }
  .site-nav__item:nth-child(3) { --i: 2; }
  .site-nav__item:nth-child(4) { --i: 3; }
  .site-nav__item:nth-child(5) { --i: 4; }
  .site-nav__item:nth-child(6) { --i: 5; }
  .site-nav__item:nth-child(7) { --i: 6; }
  .site-nav__item:nth-child(n + 8) { --i: 7; }
  .site-nav__cta { --i: 8; }
}

/* Desktop navigation with a gliding hover pill (JS sets --ind-x/--ind-w) */
@media (min-width: 68em) {
  .site-header__logo { width: var(--logo-w); }
  .site-header__menu { display: none; }
  .site-header__inner { gap: var(--space-m); }
  .site-nav {
    display: block;
    position: relative;
    max-height: none;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .has-nav-open { overflow: visible; }
  .site-nav__indicator {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: var(--ind-w, 0px);
    height: 2.75rem;
    translate: var(--ind-x, 0px) -50%;
    border: var(--border-w) solid var(--color-cream);
    border-radius: var(--radius-pill);
    background: rgba(255, 241, 216, 0.1);
    box-shadow: 0.1875rem 0.1875rem 0 var(--color-orange);
    opacity: 0;
    transition: translate 0.55s var(--ease-spring), width 0.55s var(--ease-spring), opacity 0.25s var(--ease-out);
    pointer-events: none;
  }
  .site-nav.has-indicator .site-nav__indicator { opacity: 1; }
  .site-nav.no-glide .site-nav__indicator { transition: opacity 0.25s var(--ease-out); }
  .site-nav__list { position: relative; display: flex; align-items: center; gap: 0.25rem; padding: 0; }
  .site-nav__item { position: relative; display: flex; align-items: center; border: 0; }
  .site-nav__link {
    min-height: 2.75rem;
    padding: 0.5rem 0.875rem;
    color: var(--color-cream);
    font-size: 1.0625rem;
    border-radius: var(--radius-pill);
  }
  .site-header .site-nav { --color-focus: var(--color-focus-on-dark); color: var(--color-cream); }
  .site-nav__link:hover { color: var(--color-white); }
  .site-nav__item.is-current > .site-nav__link { color: var(--color-cream); text-decoration: underline; text-decoration-color: var(--color-orange); text-decoration-thickness: 0.15em; text-underline-offset: 0.45em; }
  .site-nav__item--has-sub .site-nav__link { padding-right: 0.125rem; }
  .site-nav__toggle { width: 2rem; height: 2.75rem; margin-right: 0.375rem; border-radius: var(--radius-pill); color: var(--color-cream); }
  .site-nav__sub { --color-focus: var(--color-blue); color: var(--color-navy); }
  .site-nav__toggle .icon { width: 1rem; height: 1rem; }
  .site-nav__sub {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    z-index: 10;
    width: max-content;
    max-width: 32rem;
    padding: 1.125rem 1.375rem 0.875rem;
    background: var(--color-surface);
    border: var(--border-w) solid var(--color-navy);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-offset-navy), var(--shadow-float);
    transform-origin: top left;
  }
  .site-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 1rem; }
  .site-nav__sublist { padding: 0; border: 0; }
  .site-nav__sublist--cols { grid-template-columns: repeat(2, minmax(10rem, auto)); column-gap: 2rem; }
  .site-nav__sublink { min-height: 2.5rem; font-size: 0.9375rem; }
  .site-nav__subfoot { margin-top: 0.5rem; padding-top: 0.5rem; border-top: var(--border-w) dashed var(--color-line); width: 100%; font-size: 0.9375rem; }
  .site-nav__cta { display: none; }
}
@media (hover: hover) and (min-width: 68em) {
  .site-nav__item--has-sub:hover > .site-nav__sub { display: block; animation: drop-in 0.45s var(--ease-spring) both; }
  .site-nav__item--has-sub:hover > .site-nav__toggle .icon { transform: rotate(180deg); }
}

/* 1088–1439px: tighten the desktop menu so the 200px badge, the labels and
   the Call Now button stay on one line */
@media (min-width: 68em) and (max-width: 89.99em) {
  .site-header__inner { gap: 0.75rem; }
  .site-header__logo { width: 12.5rem; }
  .site-nav__list { gap: 0; }
  .site-nav__link { padding-inline: 0.4375rem; font-size: 0.9375rem; }
  .site-nav__item--has-sub .site-nav__link { padding-right: 0; }
  .site-nav__toggle { width: 1.5rem; margin-right: 0.125rem; }
  .site-header__call { padding-inline: 0.875rem; letter-spacing: 0.04em; }
}
@media (min-width: 68em) {
  .site-nav__link { white-space: nowrap; }
}
@media (min-width: 90em) {
  .site-nav__list { gap: 0.375rem; }
}

/* 11. REDUCED MOTION + PRINT -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0s !important;
  }
  .btn:hover,
  .btn:active,
  .chip:hover { transform: none; }
}

@media print {
  .topbar, .site-nav, .site-header__actions, .mobile-bar, .hero__decor, .cta-band__burst, .hero__aside--badge { display: none !important; }
  .site-header { position: static; }
  .site-footer { padding-bottom: 0; }
  .motion [data-reveal], .motion [data-split] .split__w > span { opacity: 1 !important; transform: none !important; }
  .section--wave { -webkit-mask: none; mask: none; margin-top: 0; }
}
