/* ==========================================================================
   Daniel Buys Homes — Version 2 "Clear Path"
   Structured, trust-forward. Navy bands, orange only on numerals >=24px,
   bars and the mark. Mobile-first. No overrides by force, no inline styles.
   --------------------------------------------------------------------------
   1  Tokens          6  Header / nav / footer     11 Options table
   2  Base            7  Hero + call panel         12 FAQ accordion
   3  Layout          8  Route (timeline)          13 CTA band
   4  Typography      9  Cards, tiles, lists       14 Motion
   5  Buttons        10  Page-specific blocks      15 Utilities
   ========================================================================== */

/* 1  TOKENS ---------------------------------------------------------------- */
:root {
  /* Brand colour */
  --navy: #17324d;
  --navy-deep: #0f2338;
  --orange: #e57722;
  --sky: #e8f4ff;
  --white: #fff;

  /* Supporting neutrals (all AA on their intended grounds) */
  --ink-muted: #46586b;        /* 7.3:1 on white, 6.6:1 on sky */
  --line: #c9d8e6;
  --line-strong: #8aa1b6;
  --on-dark-muted: #cfdbe7;    /* 9:1 on navy */
  --track: #d3e2f0;

  /* Type */
  --font: "Avenir Next", Avenir, "Nunito Sans", Arial, sans-serif;
  --fw-regular: 400;
  --fw-demi: 600;
  --fw-bold: 700;
  --fw-heavy: 800;              /* small eyebrows and numerals only */
  --fs-body: 1.25rem;                                   /* 20px */
  --fs-small: 1rem;                                     /* 16px, minimum for any readable text (the wordmark tag, --fs-micro, is the one lockup exception) */
  --fs-micro: 0.8125rem;                                /* 13px, wordmark lockup tag only (brand-book lockup; exempt from the 16px body minimum) */
  --fs-ui: 1.0625rem;                                   /* 17px, compact UI labels */
  --fs-btn: 1.1875rem;                                  /* 19px */
  --fs-cond: 1.125rem;                                  /* 18px, "Conditions" size in the kit */
  --fs-eyebrow: 1rem;
  --fs-title: 1.375rem;                                 /* 22px, card titles */
  --fs-xl: 1.5rem;                                      /* 24px, large numerals and phone numbers */
  --fs-numeral: 1.75rem;                                /* 28px, route node numerals */
  --fs-brand: 1.875rem;
  --fs-brand-lg: 2.25rem;
  --fs-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h1: clamp(2rem, 1.2rem + 3.4vw, 4rem);           /* 32 -> 64 */
  --fs-h2: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);       /* 28 -> 44 */
  --fs-h3: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem);   /* 22 -> 28 */
  --fs-h4: 1.25rem;
  --lh-body: 1.6;
  --lh-tight: 1.12;
  --lh-snug: 1.25;

  /* 8px spacing scale (+ one half step) */
  --space-half: 0.25rem;
  --space-icon: 0.375rem;       /* inner padding of round icon chips */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --section-y: clamp(var(--space-6), 3rem + 3vw, var(--space-12));

  /* Layout */
  --container: 75rem;           /* 1200px */
  --gutter: clamp(1rem, 4vw, 2rem);
  --measure: 40rem;
  --header-h: 5rem;
  --dock-offset: 4.5rem;        /* keeps the mobile Call/Text bar above the review-server pill; set to 0.75rem at launch */

  /* Radii + shadows */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(23 50 77 / 8%), 0 2px 6px rgb(23 50 77 / 6%);
  --shadow-md: 0 4px 12px rgb(23 50 77 / 10%), 0 12px 32px rgb(23 50 77 / 10%);
  --shadow-lg: 0 8px 24px rgb(15 35 56 / 22%), 0 24px 64px rgb(15 35 56 / 28%);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-1: 200ms;
  --dur-2: 400ms;
  --dur-3: 700ms;
  --dur-route: 120ms;           /* scroll-linked route line follows the scroll */
  --stagger: 90ms;              /* reveal stagger step */
  --rise-step: 0.15s;           /* headline stagger step */
  --halo-dur: 2.2s;
  --halo-delay: 1.6s;
  --shift-sm: 0.75rem;
  --shift-md: 1.5rem;

  /* Photo heroes. Scrim alpha is what guarantees AA: worst-case white pixel under 0.72 navy
     still gives >= 4.5:1 for white text (verified by sampling the real image, see qa). */
  --hero-min: 35rem;            /* 560px floor where svh is unsupported */
  --hero-min-floor: 35rem;
  --hero-copy-max: 40rem;
  --page-hero-min: 22rem;
  --page-hero-floor: 20rem;
  --page-hero-vh: 50svh;
  --band-h: clamp(15rem, 34vw, 30rem);
  --feature-h: clamp(26rem, 56svh, 38rem);
  --scrim-dir: 90deg;
  --scrim-a: 0.88;
  --scrim-b: 0.74;
  --scrim-c: 0.12;
  --scrim-hold: 62%;
  --scrim-flat: 0.72;
  --lqip-blur: 12px;
  --bar-w: 6rem;
  --bar-h: 4px;
  --kb-dur: 32s;                /* Ken Burns drift */
  --sweep-dur: 18s;
  --dot-dur: 22s;
  --bar-dur: 1.1s;
  --sweep-a: 0.16;

  --focus-color: var(--navy);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-1: 0.01ms;
    --dur-2: 0.01ms;
    --dur-3: 0.01ms;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--space-3));
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  padding-bottom: var(--space-8); /* free space for the review-server pill */
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

:focus:not(:focus-visible) {
  outline: none;
}

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

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

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

/* 3  LAYOUT ---------------------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
}

.section--sky {
  background: var(--sky);
}

.section--navy {
  --focus-color: var(--white);

  background: var(--navy);
  color: var(--white);
}

.section-head {
  max-width: 48rem;
  margin-bottom: var(--space-5);
}

.section-head > * + * {
  margin-top: var(--space-2);
}

.grid {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 40em) {
  .grid--2,
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64em) {
  .grid {
    gap: var(--space-4);
  }

  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.split {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}

@media (min-width: 64em) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--space-8);
  }

  .split--even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split__aside {
    position: sticky;
    top: calc(var(--header-h) + var(--space-3));
  }
}

/* 4  TYPOGRAPHY ------------------------------------------------------------ */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.15;
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
}

p {
  margin: 0;
  max-width: var(--measure);
  text-wrap: pretty;
}

p + p {
  margin-top: var(--space-2);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.small {
  font-size: var(--fs-small);
  line-height: 1.5;
}

.muted {
  color: var(--ink-muted);
}

.section--navy .muted,
.hero .muted {
  color: var(--on-dark-muted);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin: 0 0 var(--space-2);
  max-width: none;
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-heavy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 2rem;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
}

.link-inline {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 3rem;
  font-weight: var(--fw-bold);
}

.link-arrow .icon {
  transition: transform var(--dur-1) var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* 5  BUTTONS --------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.5rem 1.75rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: var(--fs-btn);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--dur-1) var(--ease),
    color var(--dur-1) var(--ease),
    transform var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease);
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--navy-deep);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--secondary {
  background: var(--white);
  color: var(--navy);
}

.btn--secondary:hover {
  background: var(--sky);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--xl {
  min-height: 4.5rem;
  padding-inline: var(--space-5);
  font-size: var(--fs-xl);
}

.btn--block {
  width: 100%;
}

/* Narrowest phones (320-479): trim button padding and size so labels never wrap. */
@media (max-width: 29.999em) {
  .btn,
  .btn--xl {
    gap: var(--space-1);
    padding-inline: var(--space-2);
    font-size: var(--fs-ui);
  }
}

/* Call-button halo: a soft ring that breathes twice, then rests. */
.btn--call::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgb(23 50 77 / 0%);
  pointer-events: none;
}

.btn--call:hover::after,
.btn--call:focus-visible::after {
  box-shadow: 0 0 0 6px rgb(23 50 77 / 18%);
  transition: box-shadow var(--dur-2) var(--ease);
}

.phone-number {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  font-size: var(--fs-xl);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 6  HEADER / NAV / FOOTER ------------------------------------------------- */
.skip-link {
  position: absolute;
  top: var(--space-1);
  left: var(--space-1);
  z-index: 100;
  padding: var(--space-2) var(--space-3);
  background: var(--navy);
  color: var(--white);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-sm);
  transform: translateY(-200%);
}

.skip-link:focus {
  --focus-color: var(--white);

  transform: translateY(0);
}

.utility-bar {
  --focus-color: var(--white);

  background: var(--navy-deep);
  color: var(--white);
  font-size: var(--fs-small);
}

.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 3rem;
}

.utility-bar__right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  justify-content: space-between;
}

.utility-bar__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 3rem;
  font-weight: var(--fw-bold);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 29.999em) {
  .utility-bar__inner,
  .utility-bar__right {
    gap: var(--space-1);
  }

  .utility-bar__phone {
    white-space: nowrap;
  }

  .utility-bar__phone .icon {
    display: none;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-width: 3rem;
  min-height: 3rem;
  font-weight: var(--fw-demi);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  font-weight: var(--fw-bold);
}

.lang-switch [aria-current] {
  padding-bottom: 2px;
  border-bottom: 3px solid var(--orange);
  font-weight: var(--fw-heavy);
}

@media (min-width: 48em) {
  .utility-bar__right {
    width: auto;
    margin-left: auto;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-2) var(--ease);
}

/* Condensing never changes layout: height stays fixed, only shadow and mark scale change. */
.site-header.is-condensed {
  box-shadow: var(--shadow-md);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--header-h);
}

.brand {
  --mark: 3rem;

  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.site-header.is-condensed .brand__mark {
  transform: scale(0.88);
}

.brand__mark {
  width: var(--mark);
  height: calc(var(--mark) * 150 / 140);
  overflow: visible;
  transform-origin: left center;
  transition: transform var(--dur-2) var(--ease);
}

.brand__ring {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-dasharray: 1;
  opacity: 0;
}

.brand__text {
  display: grid;
  line-height: 1;
}

.brand__name {
  font-size: var(--fs-brand);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
}

.brand__tag {
  margin-top: 0.3rem;
  font-size: var(--fs-micro);
  font-weight: var(--fw-heavy);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header__call {
  min-height: 3rem;
  padding-inline: var(--space-2);
  gap: var(--space-1);
  font-size: var(--fs-ui);
  white-space: nowrap;
}

.site-header__call-more {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: var(--space-1);
  min-height: 3.5rem;
  padding: 0 var(--space-2);
  border: 2px solid var(--navy);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: var(--fs-btn);
  font-weight: var(--fw-bold);
  cursor: pointer;
}

.menu-toggle .icon--close,
.menu-toggle[aria-expanded="true"] .icon--open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon--close {
  display: block;
}

.site-nav {
  width: 100%;
  flex: 1 1 100%;
  max-width: 100%;
  min-width: 0;
  order: 5;
  overflow-wrap: anywhere;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  gap: 0 var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  font-weight: var(--fw-bold);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.site-nav__link:hover {
  border-bottom-color: var(--navy);
}

.site-nav__link[aria-current="page"] {
  border-bottom-color: var(--orange);
}

.site-nav__cta {
  display: grid;
  max-width: 100%;
  gap: var(--space-2);
  padding: var(--space-2) 0 var(--space-3);
}

@media (max-width: 79.999em) {
  /* No-JS: nav drops to its own full-width row and the header scrolls away instead of sticking. */
  html:not(.js) .site-header {
    position: static;
  }

  html:not(.js) .site-header__inner {
    flex-wrap: wrap;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: var(--space-1) var(--gutter) var(--space-2);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav__list {
    display: block;
  }

  .js .site-nav__link {
    justify-content: flex-start;
    min-height: 3.5rem;
    border-bottom: 1px solid var(--line);
    font-size: var(--fs-body);
  }

  .js .site-nav__link[aria-current="page"] {
    border-bottom-color: var(--line);
    box-shadow: inset 6px 0 0 var(--orange);
    padding-left: var(--space-2);
  }
}

@media (max-width: 29.999em) {
  .site-header__call {
    min-width: 3rem;
    padding-inline: 0;
    justify-content: center;
  }

  .site-header__call-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 39.999em) {
  .site-header__inner {
    gap: var(--space-1);
  }

  .js .menu-toggle {
    justify-content: center;
    min-width: 3rem;
    min-height: 3rem;
    padding: 0;
  }

  .js .menu-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (min-width: 40em) {
  .site-header__call {
    min-height: 3.5rem;
    padding-inline: var(--space-3);
    font-size: var(--fs-btn);
  }

  .site-header__call-more {
    display: inline;
  }

}

@media (min-width: 80em) {
  .site-nav__cta {
    display: none;
  }

  .site-nav {
    flex: 0 1 auto;
    width: auto;
    order: 0;
  }

  .site-nav__list {
    gap: 0 var(--space-2);
  }

  .site-nav__link {
    padding-inline: var(--space-half);
    font-size: var(--fs-ui);
  }

}

@media (min-width: 90em) {
  .site-nav__list {
    gap: 0 var(--space-3);
  }

  .site-nav__link {
    font-size: var(--fs-btn);
  }
}

/* Mobile sticky Call / Text bar — appears after the hero. */
.sticky-cta {
  position: fixed;
  right: var(--space-2);
  bottom: var(--dock-offset);
  left: var(--space-2);
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1);
  padding: var(--space-1);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  transition:
    transform var(--dur-2) var(--ease),
    visibility var(--dur-2);
}

.sticky-cta .btn {
  gap: var(--space-1);
  padding-inline: var(--space-1);
  font-size: var(--fs-ui);
  white-space: nowrap;
}

.js .sticky-cta:not(.is-visible) {
  visibility: hidden;
  transform: translateY(160%);
}

@media (min-width: 48em) {
  .sticky-cta {
    display: none;
  }
}

.site-footer {
  --focus-color: var(--white);

  padding-block: var(--space-8) calc(var(--space-6) + var(--space-8));
  background: var(--navy);
  color: var(--white);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-5);
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-footer__brand img {
  width: 3.5rem;
  height: auto;
}

.site-footer .brand__name {
  font-size: var(--fs-brand-lg);
}

.site-footer__title {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-heavy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  font-weight: var(--fw-demi);
}

.site-footer__about {
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
}

.site-footer__legal {
  display: grid;
  gap: var(--space-1);
  margin-top: var(--space-6);
  padding-top: var(--space-3);
  border-top: 1px solid rgb(255 255 255 / 25%);
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
}

.site-footer__legal p {
  max-width: 52rem;
}

@media (min-width: 48em) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--space-6);
  }
}

@media (max-width: 47.999em) {
  .site-footer {
    padding-bottom: calc(var(--dock-offset) + var(--space-10));
  }
}

/* 7  HERO + CALL PANEL ----------------------------------------------------- */
.hero {
  --focus-color: var(--white);

  position: relative;
  display: flex;
  flex-direction: column;
  min-height: var(--hero-min);
  padding-block: var(--space-6) var(--space-4);
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

@supports (min-height: 100svh) {
  .hero {
    min-height: max(var(--hero-min-floor), 100svh);
  }
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  flex: 1;
  gap: var(--space-4);
  align-content: center;
  max-width: var(--hero-copy-max);
  margin-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
}

.hero__copy > * + * {
  margin-top: var(--space-3);
}

.hero__copy::after,
.page-hero__body::after {
  content: "";
  display: block;
  width: var(--bar-w);
  height: var(--bar-h);
  margin-top: var(--space-3);
  background: var(--orange);
  border-radius: 2px;
  transform-origin: left center;
}

.hero__title {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
}

.hero__title .line {
  display: block;
}

.hero__sub {
  font-size: var(--fs-lead);
  font-weight: var(--fw-demi);
}

@media (min-width: 64em) {
  .hero {
    padding-block: var(--space-8) var(--space-4);
  }
}

.page-hero {
  --focus-color: var(--white);

  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--page-hero-min);
  overflow: hidden;
  padding-block: var(--space-5) var(--space-6);
  background: var(--navy);
  color: var(--white);
}

@supports (min-height: 50svh) {
  .page-hero {
    min-height: max(var(--page-hero-floor), var(--page-hero-vh));
  }
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero__body {
  max-width: 48rem;
}

.page-hero__body > * + * {
  margin-top: var(--space-2);
}

.page-hero h1 {
  margin-top: var(--space-3);
}

/* Photo component: full-bleed image + navy scrim, shared by heroes, bands and features.
   Ken Burns drift (--kb), parallax (--drift) and the light sweep / dots are transform-only. */
.photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--navy);
}

.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/shared/img/hero-lqip.jpg") center / cover no-repeat;
  filter: blur(var(--lqip-blur));
  transform: scale(1.1);
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    var(--scrim-dir),
    rgb(15 35 56 / var(--scrim-a)) 0%,
    rgb(23 50 77 / var(--scrim-b)) var(--scrim-hold),
    rgb(23 50 77 / var(--scrim-c)) 100%
  );
}

.photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 70% 55%);
}

.photo__fx {
  display: none;
}

.photo--light {
  --scrim-dir: 180deg;
  --scrim-a: 0.1;
  --scrim-b: 0.2;
  --scrim-c: 0.45;
  --scrim-hold: 60%;
}

.photo--drift .photo__img {
  inset: -12% 0 auto;
  height: 124%;
}

.photo--door {
  --pos: 62% 58%;
}

.photo--palms {
  --pos: 12% 35%;
}

.photo--tree {
  --pos: 96% 30%;
}

.photo--lawn {
  --pos: 50% 88%;
}

.photo--roof {
  --pos: 60% 28%;
}

.photo--porch {
  --pos: 52% 60%;
}

@media (max-width: 79.99em) {
  .photo {
    --scrim-dir: 180deg;
    --scrim-a: var(--scrim-flat);
    --scrim-b: var(--scrim-flat);
    --scrim-c: var(--scrim-flat);
  }

  .photo--light {
    --scrim-a: 0.1;
    --scrim-b: 0.2;
    --scrim-c: 0.45;
  }
}

.photo-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-3);
}

.photo-caption {
  margin: 0;
  padding: var(--space-half) var(--space-2);
  background: rgb(15 35 56 / 78%);
  border-radius: var(--radius-pill);
  color: var(--white);
  font-size: var(--fs-small);
}

.band {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: var(--band-h);
  padding-block: var(--space-3);
  overflow: hidden;
  background: var(--navy);
}

.band .photo-foot {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-top: 0;
}

.feature {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--feature-h);
  overflow: hidden;
}

.feature__body {
  position: relative;
  z-index: 1;
}

.feature__body > * {
  max-width: 40rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: var(--space-1);
  color: var(--on-dark-muted);
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
}

.call-panel {
  --focus-color: var(--navy);

  padding: var(--space-3);
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.call-panel__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-3);
}

.call-panel__row + .call-panel__row {
  margin-top: var(--space-2);
}

.call-panel__note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-1);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: var(--fs-small);
}

.call-panel__note .icon {
  margin-top: 0.1rem;
  color: var(--navy);
}

.call-panel .btn {
  flex: 1 0 auto;
  max-width: 100%;
}

@media (min-width: 40em) {
  .call-panel {
    padding: var(--space-4);
  }

  .call-panel .btn {
    flex: 0 0 auto;
  }
}

/* Trust strip — persistent on every page, directly under the hero. */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-strip__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 4.5rem;
  padding-block: var(--space-1);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-ui);
  font-weight: var(--fw-bold);
  line-height: 1.35;
}

.trust-strip__item:last-child {
  border-bottom: 0;
}

.trust-strip__item .icon {
  width: 2rem;
  height: 2rem;
  padding: var(--space-icon);
  background: var(--sky);
  border-radius: 50%;
}

@media (min-width: 40em) {
  .trust-strip__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-4);
  }

  .trust-strip__item:nth-last-child(2) {
    border-bottom: 0;
  }
}

@media (min-width: 64em) {
  .trust-strip__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 0;
  }

  .trust-strip__item {
    min-height: 5.5rem;
    padding-inline: var(--space-3);
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .trust-strip__item:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

/* 8  ROUTE (VERTICAL TIMELINE WITH SCROLL-DRAWN LINE) ---------------------- */
.route {
  --node: 3rem;

  margin: 0;
  padding: 0;
  list-style: none;
}

.route__step {
  position: relative;
  padding: 0 0 var(--space-4) calc(var(--node) + var(--space-3));
}

.route__step:last-child {
  padding-bottom: 0;
}

.route__node {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--node);
  height: var(--node);
  background: var(--navy);
  border: 3px solid var(--navy);
  border-radius: 50%;
  color: var(--orange);
  font-size: var(--fs-numeral);
  font-weight: var(--fw-heavy);
  line-height: 1;
  transition:
    background-color var(--dur-2) var(--ease),
    color var(--dur-2) var(--ease);
}

.route__step:not(:last-child)::before,
.route__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--node) / 2);
  bottom: calc(var(--node) / -2);
  left: calc(var(--node) / 2 - 2px);
  width: 4px;
  border-radius: 2px;
  background: var(--track);
}

.route__step:not(:last-child)::after {
  background: var(--orange);
  transform: scaleY(var(--p, 1));
  transform-origin: top;
}

.js .route__step:not(.is-reached) .route__node {
  background: var(--white);
  color: var(--navy);
}

.route__card {
  padding: var(--space-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.route__card > * + * {
  margin-top: var(--space-1);
}

.route__title {
  font-size: var(--fs-h3);
}

.route__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-2);
  padding: var(--space-half) var(--space-2);
  background: var(--sky);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
}

@media (min-width: 48em) {
  .route {
    --node: 3.5rem;
  }

  .route__card {
    padding: var(--space-4);
  }
}

/* Compact numbered stages ("plain timeline") */
.stages {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stage;
}

.stages__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-weight: var(--fw-bold);
  line-height: 1.35;
}

.stages__item::before {
  content: counter(stage);
  counter-increment: stage;
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--navy);
  border-radius: 50%;
  color: var(--orange);
  font-size: var(--fs-xl);
  font-weight: var(--fw-heavy);
  line-height: 1;
}

.stages__item small {
  display: block;
  margin-top: var(--space-half);
  color: var(--ink-muted);
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
}

@media (min-width: 64em) {
  .stages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 9  CARDS, TILES, LISTS --------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.card::before {
  content: "";
  width: 3rem;
  height: 4px;
  margin-bottom: var(--space-1);
  background: var(--orange);
  border-radius: 2px;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-1);
  background: var(--sky);
  border-radius: var(--radius-sm);
}

.card__title {
  font-size: var(--fs-title);
  line-height: 1.25;
}

.card__text {
  font-size: var(--fs-cond);
}

.card__detail {
  margin-top: auto;
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: var(--fs-small);
}

.tile {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 4.5rem;
  padding: var(--space-2) var(--space-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: var(--fs-cond);
  font-weight: var(--fw-bold);
  line-height: 1.3;
  text-decoration: none;
  transition:
    transform var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease);
}

.tile:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tile .icon:first-child {
  width: 2rem;
  height: 2rem;
}

.tile .icon:last-child {
  margin-left: auto;
}

.checklist {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  max-width: var(--measure);
}

.checklist .icon {
  width: 2rem;
  height: 2rem;
  margin-top: calc(var(--space-half) / -2);
  padding: var(--space-icon);
  background: var(--navy);
  border-radius: 50%;
  color: var(--white);
}

.section--navy .checklist .icon {
  background: var(--white);
  color: var(--navy);
}

.callout {
  padding: var(--space-3);
  background: var(--sky);
  border-left: 6px solid var(--orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-weight: var(--fw-bold);
}

.callout p {
  max-width: 48rem;
}

.note {
  padding: var(--space-2) var(--space-3);
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--ink-muted);
  font-size: var(--fs-small);
}

.note strong {
  color: var(--navy);
}

.pullquote {
  padding-left: var(--space-3);
  border-left: 6px solid var(--orange);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  font-weight: var(--fw-bold);
  line-height: 1.4;
}

.pullquote p {
  max-width: 36rem;
}

.pullquote footer {
  margin-top: var(--space-2);
  font-size: var(--fs-body);
  font-weight: var(--fw-demi);
}

/* 10  PAGE-SPECIFIC BLOCKS ------------------------------------------------- */
.paths {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.paths__item {
  display: grid;
  gap: var(--space-half);
  padding: var(--space-2) var(--space-3);
  background: var(--white);
  border-radius: var(--radius-md);
  color: var(--navy);
}

.paths__item strong {
  font-size: var(--fs-btn);
}

.paths__item span {
  color: var(--ink-muted);
  font-size: var(--fs-small);
}

.situation {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  align-content: start;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.situation__head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.situation__head .card__icon {
  flex: none;
  margin: 0;
}

.situation__head h3 {
  display: flex;
  align-items: center;
  min-height: 3rem;
  margin: 0;
}

.situation__label {
  margin-bottom: var(--space-half);
  color: var(--ink-muted);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-heavy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.situation__body {
  display: grid;
  gap: var(--space-2);
  font-size: var(--fs-cond);
}

.situation__body > div + div {
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 var(--space-2);
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  text-decoration: none;
  transition: background-color var(--dur-1) var(--ease);
}

.jump a:hover {
  background: var(--sky);
}

.contact-grid {
  display: grid;
  gap: var(--space-4);
}

.contact-actions {
  display: grid;
  gap: var(--space-2);
}

.contact-actions .btn {
  width: 100%;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  font-size: var(--fs-title);
  font-weight: var(--fw-bold);
  overflow-wrap: anywhere;
}

@media (min-width: 64em) {
  .contact-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--space-8);
    align-items: start;
  }
}

/* 11  OPTIONS TABLE -------------------------------------------------------- */
/* The explicit ARIA table roles in options.html are intentional: they keep table semantics when this table is restyled to display:block on small screens. Do not strip them. */
.options-table {
  display: block;
  width: 100%;
  font-size: var(--fs-ui);
  line-height: 1.5;
}

.options-table__head {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.options-table__body {
  display: grid;
  gap: var(--space-3);
}

.options-table__row {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.options-table__name {
  display: block;
  padding: var(--space-2) var(--space-3);
  background: var(--navy);
  color: var(--white);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  text-align: left;
}

.options-table__cell {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-top: 1px solid var(--line);
}

.options-table__cell:first-of-type {
  border-top: 0;
}

.options-table__cell::before {
  content: attr(data-label);
  display: block;
  margin-bottom: var(--space-half);
  color: var(--ink-muted);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-heavy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (min-width: 64em) {
  .options-table {
    --col-name: 14%;

    display: table;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }

  .options-table__head {
    position: static;
    display: table-header-group;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
  }

  .options-table__body {
    display: table-row-group;
  }

  .options-table__head .options-table__row {
    display: table-row;
    background: var(--navy);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .options-table__row {
    display: table-row;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .options-table__colhead {
    display: table-cell;
    padding: var(--space-2);
    color: var(--white);
    font-size: 1rem;
    font-weight: var(--fw-heavy);
    text-align: left;
    vertical-align: bottom;
  }

  .options-table__name,
  .options-table__cell {
    display: table-cell;
    padding: var(--space-3) var(--space-2);
    border-top: 1px solid var(--line);
    vertical-align: top;
  }

  .options-table__name {
    width: var(--col-name);
    background: var(--sky);
    color: var(--navy);
    font-size: var(--fs-cond);
  }

  .options-table__body .options-table__row:first-child .options-table__name,
  .options-table__body .options-table__row:first-child .options-table__cell {
    border-top: 0;
  }

  .options-table__cell:first-of-type {
    border-top: 1px solid var(--line);
  }

  .options-table__cell::before {
    display: none;
  }
}

/* 12  FAQ ACCORDION -------------------------------------------------------- */
.faq {
  max-width: 52rem;
  border-top: 1px solid var(--line-strong);
}

.faq__item {
  border-bottom: 1px solid var(--line-strong);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 4rem;
  padding: var(--space-2) 0;
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.faq__chevron {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--sky);
  border-radius: 50%;
  transition: transform var(--dur-1) var(--ease);
}

.section--sky .faq__chevron {
  background: var(--white);
}

.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}

.faq__a {
  padding-bottom: var(--space-3);
}

.faq__a p {
  max-width: 46rem;
  font-size: var(--fs-cond);
}

.faq-aside {
  display: none;
}

@media (min-width: 64em) {
  .faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: var(--space-8);
    align-items: start;
  }

  .faq-aside {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + var(--space-3));
  }

  .faq-aside .call-panel {
    display: grid;
    gap: var(--space-2);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .faq-aside .call-panel__row {
    margin: 0;
  }

  .faq-aside .btn {
    flex: 1 1 100%;
  }
}

/* 13  CTA BAND ------------------------------------------------------------- */
.cta-band {
  --focus-color: var(--white);

  padding-block: var(--space-8);
  background:
    radial-gradient(50rem 24rem at 10% 120%, rgb(232 244 255 / 12%), transparent 65%),
    var(--navy);
  color: var(--white);
}

.cta-band__grid {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

.cta-band__copy > * + * {
  margin-top: var(--space-2);
}

@media (min-width: 64em) {
  .cta-band__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: var(--space-8);
  }
}

/* 14  MOTION --------------------------------------------------------------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(var(--shift-md));
  }
}

@keyframes ring-draw {
  0% {
    stroke-dashoffset: 1;
    opacity: 1;
  }

  65% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes mark-fill {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
}

@keyframes mark-house {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes leaf-settle {
  0% {
    opacity: 0;
    transform: translate(-6px, -16px) rotate(-22deg);
  }

  55% {
    opacity: 1;
    transform: translate(1px, 2px) rotate(4deg);
  }

  100% {
    transform: none;
  }
}

@keyframes text-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
}

@keyframes halo {
  0% {
    box-shadow: 0 0 0 0 rgb(23 50 77 / 38%);
  }

  100% {
    box-shadow: 0 0 0 18px rgb(23 50 77 / 0%);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.16) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes sweep {
  0% {
    transform: translateX(-100%) skewX(-12deg);
  }

  55%,
  100% {
    transform: translateX(150%) skewX(-12deg);
  }
}

@keyframes dot-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }

  15% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: translate3d(1.5rem, -55svh, 0);
  }
}

@keyframes bar-draw {
  from {
    transform: scaleX(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, -6%, 0);
  }

  to {
    transform: translate3d(0, 6%, 0);
  }
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Logo: ring draws in, fruit fills, house and leaf settle, wordmark slides. */
  .brand__ring {
    animation: ring-draw 1.1s var(--ease) 0.1s both;
  }

  .brand__fruit {
    transform-box: fill-box;
    transform-origin: center;
    animation: mark-fill 0.6s var(--ease) 0.55s backwards;
  }

  .brand__house {
    animation: mark-house 0.5s var(--ease) 0.8s backwards;
  }

  .brand__leaf {
    transform-box: fill-box;
    transform-origin: 0 100%;
    animation: leaf-settle 0.8s var(--ease) 0.9s backwards;
  }

  .brand__text {
    animation: text-in 0.6s var(--ease) 0.9s backwards;
  }

  /* Headline: staggered rise */
  .rise {
    animation: rise var(--dur-3) var(--ease) backwards;
  }

  .rise--1 {
    animation-delay: calc(var(--rise-step) + 0.1s);
  }

  .rise--2 {
    animation-delay: calc(var(--rise-step) * 2 + 0.1s);
  }

  .rise--3 {
    animation-delay: calc(var(--rise-step) * 3 + 0.1s);
  }

  .rise--4 {
    animation-delay: calc(var(--rise-step) * 4 + 0.1s);
  }

  .rise--5 {
    animation-delay: calc(var(--rise-step) * 5 + 0.1s);
  }

  /* Photo: very slow Ken Burns, a light sweep, rising dots, and an orange bar that draws in. */
  .photo--kb .photo__img {
    animation: kenburns var(--kb-dur) ease-in-out infinite alternate;
  }

  .photo__fx {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    pointer-events: none;
  }

  .photo__sweep {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 55%;
    background: linear-gradient(100deg, transparent, rgb(255 255 255 / var(--sweep-a)), transparent);
    animation: sweep var(--sweep-dur) ease-in-out infinite;
    transform: translateX(-100%) skewX(-12deg);
  }

  .photo__dot {
    position: absolute;
    bottom: -1rem;
    width: 0.5rem;
    height: 0.5rem;
    background: radial-gradient(circle, rgb(255 255 255 / 90%), rgb(255 255 255 / 0%) 70%);
    border-radius: 50%;
    opacity: 0;
    animation: dot-rise var(--dot-dur) linear infinite;
  }

  .photo__dot:nth-child(2) {
    left: 58%;
    animation-delay: -3s;
  }

  .photo__dot:nth-child(3) {
    left: 70%;
    width: 0.75rem;
    height: 0.75rem;
    animation-delay: -9s;
  }

  .photo__dot:nth-child(4) {
    left: 82%;
    animation-delay: -14s;
  }

  .photo__dot:nth-child(5) {
    left: 92%;
    width: 0.375rem;
    height: 0.375rem;
    animation-delay: -18s;
  }

  .photo__dot:nth-child(6) {
    left: 48%;
    animation-delay: -6s;
  }

  .hero__copy::after,
  .page-hero__body::after {
    animation: bar-draw var(--bar-dur) var(--ease) 0.7s backwards;
  }

  @supports (animation-timeline: view()) {
    .photo--drift .photo__img {
      animation: drift linear both;
      animation-timeline: view();
    }
  }

  /* Call halo: two breaths, then still. */
  .hero__panel .btn--call::after {
    animation: halo var(--halo-dur) ease-out var(--halo-delay) 2;
  }

  /* Reveal on scroll (once). Content stays visible without JS. */
  .js .reveal {
    opacity: 0;
    transform: translateY(var(--shift-sm));
    transition:
      opacity var(--dur-2) var(--ease),
      transform var(--dur-2) var(--ease);
    transition-delay: calc(var(--i, 0) * var(--stagger));
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .js .reveal:nth-child(2) {
    --i: 1;
  }

  .js .reveal:nth-child(3) {
    --i: 2;
  }

  .js .reveal:nth-child(4) {
    --i: 3;
  }

  .route__step:not(:last-child)::after {
    transition: transform var(--dur-route) linear;
  }

  .faq__item[open] .faq__a {
    animation: faq-open var(--dur-1) var(--ease);
  }
}

/* 15  UTILITIES ------------------------------------------------------------ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.mt-3 {
  margin-top: var(--space-3);
}

.mt-4 {
  margin-top: var(--space-4);
}

.stack > * + * {
  margin-top: var(--space-2);
}

@media print {
  .utility-bar,
  .site-header,
  .sticky-cta {
    display: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .photo__fx {
    display: none;
  }
}

/* Public callback integration: preserve Clear Path touch targets and narrow layout. */
.site-nav__link,.site-header__call{white-space:nowrap}
.site-footer__list a,.breadcrumb a,.link-inline{display:inline-flex;align-items:center;min-height:3rem;min-width:3rem}
.hero__copy,.hero__panel{min-width:0}
.utility-bar__inner,.utility-bar__right{flex-wrap:wrap}
@media(max-width:30em){.hero__panel .btn{white-space:normal}.utility-bar__phone{font-size:1rem}.utility-bar__right{gap:.5rem}}
