/* Wholecare Caregivers: one stylesheet. Tokens first; every element is a base component + variants. */

@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/cinzel-latin.woff2") format("woff2");
  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: "Cinzel"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/cinzel-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/assets/fonts/nunitosans-latin.woff2") format("woff2");
  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: "Nunito Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/assets/fonts/nunitosans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Brand (brandbook): navy 38/78/125, deep navy 23/64/104, red 215/31/41, soft red 233/82/89 */
  --navy: #264e7d;
  --navy-deep: #174068;
  --ink: #0e2440;
  --red: #d71f29;
  --red-dark: #b5161f;
  --red-soft: #e95259;
  --red-light: #f69599; /* small red text on navy: passes 4.5:1 contrast */
  --white: #fff;
  --mist: #f2f5f9;
  --line: #dce3ec;
  --text: #1c2b3b;
  --muted: #546273;

  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -28px rgba(14, 36, 64, .35);
  --header-h: 96px;
  --header-wave-h: clamp(52px, 6.2vw, 92px);
  --wave-h: clamp(72px, 9vw, 140px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--header-wave-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: .01em; text-wrap: balance; }
ul { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
::selection { background: var(--navy); color: var(--white); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--white); color: var(--ink); border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 16px; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: var(--font-body); font-size: .8125rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--red-light); }
.eyebrow--center { justify-content: center; }
.h-display { font-size: clamp(2.5rem, 6.2vw, 5rem); line-height: 1.04; font-weight: 600; }
.h-section { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.h-sub { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--muted); }
.accent { color: var(--red); }
.accent-soft { color: var(--red-soft); }

/* ---------- Buttons (base + variants) ---------- */
.btn { --btn-bg: var(--red); --btn-fg: var(--white); --btn-border: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 28px;
  border: 2px solid var(--btn-border); border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-size: 1rem; font-weight: 800; letter-spacing: .02em; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(215, 31, 41, .6); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--red:hover { --btn-bg: var(--red-dark); }
.btn--navy { --btn-bg: var(--navy-deep); }
.btn--navy:hover { --btn-bg: var(--ink); box-shadow: 0 14px 30px -14px rgba(14, 36, 64, .6); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-border: rgba(255, 255, 255, .55); }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-border: var(--white); box-shadow: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-deep); --btn-border: var(--line); }
.btn--ghost:hover { --btn-border: var(--navy-deep); box-shadow: none; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

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

/* ---------- Header: white bar with two drifting waves under it (red behind, white in front) ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ink); }
.site-header__bar { position: relative; z-index: 2; background: var(--white); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .35s var(--ease); }
.site-header__brand { display: block; width: 116px; flex: none; transition: width .35s var(--ease); }
.site-header__brand img { width: 100%; height: auto; }
.site-header .waves--header { position: absolute; top: calc(100% - 4px); bottom: auto; height: calc(var(--header-wave-h) + 34px); z-index: 1; }
.waves--header .waves__layer { bottom: auto; height: calc(var(--header-wave-h) + 3px); animation-timing-function: ease-in-out; animation-direction: alternate; animation-iteration-count: infinite; }
.waves--header .waves__layer--red-top { background-image: url("/assets/img/wave-red-top.svg"); background-position: 0 0; background-size: 900px 100%; animation-name: wave-sway-right; animation-duration: 14s; filter: drop-shadow(0 10px 12px rgba(10, 24, 44, .45)); }
.waves--header .waves__layer--white-top { background-image: url("/assets/img/wave-white-top.svg"); background-position: -300px 0; background-size: 1400px 100%; animation-name: wave-sway-left; animation-duration: 10s; filter: drop-shadow(0 6px 7px rgba(10, 24, 44, .38)); }
@keyframes wave-sway-left { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-360px, 0, 0); } }
@keyframes wave-sway-right { from { transform: translate3d(-360px, 0, 0); } to { transform: translate3d(0, 0, 0); } }
.site-header.is-scrolled .site-header__inner { height: 72px; }
.site-header.is-scrolled .site-header__brand { width: 84px; }

.site-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); list-style: none; }
.site-nav__link { position: relative; padding: 8px 0; font-weight: 700; font-size: .975rem; text-decoration: none; color: var(--navy-deep); }
.site-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__phone .site-nav__link { font-weight: 600; }
.site-nav__toggle { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .site-header__brand { width: 88px; }
  .site-header.is-scrolled .site-header__inner { height: 64px; }
  .site-header.is-scrolled .site-header__brand { width: 72px; }
  .site-nav__toggle { position: relative; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-right: -8px; padding: 0; border: 0; background: none; color: var(--navy-deep); cursor: pointer; }
  .site-nav__toggle-bars, .site-nav__toggle-bars::before, .site-nav__toggle-bars::after { display: block; width: 24px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), background-color .3s; }
  .site-nav__toggle-bars { position: relative; }
  .site-nav__toggle-bars::before, .site-nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
  .site-nav__toggle-bars::before { top: -7px; }
  .site-nav__toggle-bars::after { top: 7px; }
  .nav-open .site-nav__toggle { color: var(--white); }
  .nav-open .site-nav__toggle-bars { background: transparent; }
  .nav-open .site-nav__toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .site-nav__toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav__list { position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 8px; padding: 96px var(--gutter) 48px;
    background: var(--navy-deep); visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility 0s linear .3s; }
  .nav-open .site-nav__list { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
  .site-nav__link { display: block; padding: 10px 0; font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; text-align: center; color: var(--white); }
  .site-nav__link::after { background: var(--red-soft); }
  .site-nav__phone .site-nav__link { font-family: var(--font-body); font-size: 1.15rem; }
  .site-nav__cta { margin-top: 16px; }
  .nav-open { overflow: hidden; }
}

/* ---------- Waves (base: animated; variant: static) ---------- */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: var(--wave-h); overflow: hidden; pointer-events: none; z-index: 2; }
.waves__layer { position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% + 1440px); background-repeat: repeat-x; background-position: 0 100%; background-size: 1440px 100%; will-change: transform; animation: wave-drift linear infinite; }
.waves__layer--red { background-image: url("/assets/img/wave-red.svg"); animation-duration: 95s; }
.waves__layer--navy { background-image: url("/assets/img/wave-navy.svg"); animation-duration: 60s; }
.waves__layer--white { background-image: url("/assets/img/wave-white.svg"); animation-duration: 60s; }
@keyframes wave-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-1440px, 0, 0); } }
.waves--static .waves__layer { animation: none; }
.waves--static .waves__layer--navy { background-position: -380px 100%; }
.motion-paused .waves__layer { animation-play-state: paused; }

/* ---------- Hero (base: home; variant: page) ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: max(640px, min(100svh, 940px)); padding: calc(var(--header-h) + var(--header-wave-h) + 40px) 0 calc(var(--wave-h) + 64px); color: var(--white); background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(14, 36, 64, .92) 0%, rgba(23, 64, 104, .78) 42%, rgba(23, 64, 104, .32) 100%),
              linear-gradient(0deg, rgba(14, 36, 64, .55) 0%, rgba(14, 36, 64, 0) 40%); }
.hero__content { position: relative; max-width: 700px; }
.hero__title { color: var(--white); }
.hero__title span { display: block; }
.hero__lead { max-width: 560px; margin: 26px 0 36px; font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.65; color: rgba(255, 255, 255, .9); }
.motion-toggle { position: absolute; right: 14px; bottom: calc(var(--wave-h) + 10px); z-index: 3; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; background: rgba(14, 36, 64, .25); color: rgba(255, 255, 255, .7); cursor: pointer; opacity: .55; transition: opacity .25s, background-color .25s; }
.motion-toggle:hover, .motion-toggle:focus-visible { opacity: 1; background: rgba(14, 36, 64, .6); }
.motion-toggle .icon { width: 12px; height: 12px; }
.motion-toggle [data-when="paused"] { display: none; }
.motion-paused .motion-toggle [data-when="playing"] { display: none; }
.motion-paused .motion-toggle [data-when="paused"] { display: block; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }
.hero--page { min-height: 0; padding: calc(var(--header-h) + var(--header-wave-h) + clamp(56px, 8vw, 104px)) 0 calc(var(--wave-h) + clamp(56px, 7vw, 96px)); }
.hero--page::before { background: linear-gradient(100deg, rgba(14, 36, 64, .94) 0%, rgba(23, 64, 104, .84) 55%, rgba(23, 64, 104, .55) 100%); }
.hero--page .hero__content { max-width: 780px; }
.hero--page .hero__lead { margin-bottom: 0; }

/* Load-in for hero text (only when scripting is on, so nothing is hidden without JS) */
@media (scripting: enabled) {
  .hero__content > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
  .hero__content > *:nth-child(2) { animation-delay: .12s; }
  .hero__content > *:nth-child(3) { animation-delay: .24s; }
  .hero__content > *:nth-child(4) { animation-delay: .36s; }
  .form-card--hero { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) .3s forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Sections (base + variants) ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-deep); color: rgba(255, 255, 255, .86); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--tight-top { padding-top: clamp(40px, 6vw, 72px); }
.section__head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; }
.section__head .lead { margin: 20px auto 0; max-width: 640px; }

/* ---------- Pillars (navy band under the home hero) ---------- */
.pillars__title { max-width: 900px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; font-size: clamp(1.5rem, 2.9vw, 2.35rem); line-height: 1.3; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
.pillar { padding: 8px clamp(20px, 3vw, 44px); text-align: center; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 24px; border: 1px solid rgba(215, 31, 41, .35); border-radius: 50%; color: var(--red); transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.pillar__icon .icon { width: 32px; height: 32px; }
.pillar:hover .pillar__icon { background: var(--red); color: var(--white); transform: translateY(-4px); }
.pillar__title { margin-bottom: 14px; font-size: 1.35rem; line-height: 1.3; }
.pillar p { margin: 0; color: var(--muted); }
@media (max-width: 820px) {
  .pillars__grid { grid-template-columns: 1fr; gap: 0; }
  .pillar { padding: 32px 0; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.split--wide-text { grid-template-columns: 5fr 6fr; }
.split__media { position: relative; isolation: isolate; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media--landscape img { aspect-ratio: 5 / 4; }
.split__media--frame::before { content: ""; position: absolute; inset: 28px -22px -22px 28px; z-index: -1; border: 2px solid var(--red); border-radius: var(--radius); }
.split__body .h-section { margin-bottom: 24px; }
@media (max-width: 900px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split__media--frame { margin-right: 22px; }
}

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 14px; margin: 28px 0 36px; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; font-weight: 700; color: var(--ink); }
.checklist .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(215, 31, 41, .1); color: var(--red); stroke-width: 2.4; }
.checklist--two { grid-template-columns: 1fr 1fr; gap: 14px 28px; }
@media (max-width: 560px) { .checklist--two { grid-template-columns: 1fr; } }

/* ---------- Services (alternating editorial rows) ---------- */
.services { display: grid; gap: clamp(72px, 9vw, 128px); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__media { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.service-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-row:hover .service-row__media img { transform: scale(1.04); }
.service-row__num { display: block; margin-bottom: 10px; font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: .2em; color: var(--red); }
.service-row__title { margin-bottom: 28px; font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
.service-list { list-style: none; border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.service-item .icon { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--mist); color: var(--navy); transition: background-color .3s var(--ease), color .3s var(--ease); }
.service-item:hover .icon { background: var(--navy-deep); color: var(--white); }
.service-item h4 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 800; letter-spacing: 0; color: var(--ink); }
.service-item p { margin: 0; color: var(--muted); }
.services__cta { margin-top: clamp(56px, 7vw, 88px); text-align: center; }
@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
}

/* ---------- Contact block + form ---------- */
.contact-block { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-block__intro .h-section { margin-bottom: 20px; }
.contact-list { display: grid; gap: 14px; margin-top: 36px; list-style: none; }
.contact-list a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); text-decoration: none; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.contact-list a:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(14, 36, 64, .45); }
.contact-list .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--navy-deep); color: var(--white); }
.contact-list small { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.contact-list span { display: block; font-weight: 700; color: var(--ink); line-height: 1.4; }
@media (max-width: 900px) { .contact-block { grid-template-columns: 1fr; } }

.form-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.form-card__title { margin-bottom: 6px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.form-card__note { margin-bottom: 28px; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .9375rem; font-weight: 800; color: var(--ink); }
.field .req { color: var(--red); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1.5px solid #c9d3df; border-radius: var(--radius-sm); background: var(--white);
  font: inherit; font-size: 1rem; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(38, 78, 125, .16); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.field legend { margin-bottom: 8px; padding: 0; }
.choice-group { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1.5px solid #c9d3df; border-radius: 999px; font-size: .9375rem; font-weight: 700; color: var(--text); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.choice span:hover { border-color: var(--navy); }
.choice input:checked + span { border-color: var(--navy-deep); background: var(--navy-deep); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; font-weight: 600; cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy-deep); }
.consent a { color: var(--navy); font-weight: 800; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { margin: 0; font-weight: 700; }
.form__status:empty { display: none; }
.form__status[data-state="success"] { padding: 14px 16px; border-radius: var(--radius-sm); background: #e8f4ec; color: #17603a; }
.form__status[data-state="error"] { padding: 14px 16px; border-radius: var(--radius-sm); background: #fdecee; color: #a01a22; }
.form button[disabled] { opacity: .65; cursor: wait; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__aside .h-section { margin-bottom: 20px; }
.faq__aside img { margin-top: 36px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-family: var(--font-body); font-size: 1.125rem; font-weight: 800; line-height: 1.4; color: var(--ink); transition: color .2s; }
.faq__item summary:hover .faq__q { color: var(--navy); }
.faq__toggle { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy-deep); transition: transform .3s var(--ease), background-color .3s; }
.faq__toggle::after { transform: rotate(90deg); }
.faq__item[open] .faq__toggle { background: var(--red); border-color: var(--red); }
.faq__item[open] .faq__toggle::before, .faq__item[open] .faq__toggle::after { background: var(--white); }
.faq__item[open] .faq__toggle::after { transform: rotate(0deg); }
.faq__a { padding: 0 56px 26px 0; color: var(--muted); }
.faq__a p:last-child { margin: 0; }
.faq__item[open] .faq__a { animation: faq-open .35s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .faq__a { padding-right: 0; }
}

/* ---------- Steps (contact page) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); list-style: none; counter-reset: step; }
.step { position: relative; padding-top: 88px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy-deep); color: var(--white); font: 700 1.15rem/1 var(--font-display); letter-spacing: .06em; box-shadow: 0 0 0 8px var(--white); }
.step::after { content: ""; position: absolute; top: 32px; left: 80px; right: calc(-1 * clamp(28px, 4vw, 56px)); height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step:last-child::after { display: none; }
.step:first-child::before { background: var(--red); }
.step__label { display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.step h3 { margin-bottom: 12px; font-size: 1.35rem; line-height: 1.3; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step { padding: 0 0 0 88px; min-height: 64px; }
  .step::after { top: 76px; bottom: -36px; left: 31px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
}

/* ---------- About ---------- */
.pullquote { margin: 32px 0; padding-left: 24px; border-left: 3px solid var(--red); font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.3; color: var(--ink); }
.pullquote em { font-style: normal; color: var(--red); }
.counties { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; }
.counties li { padding: 12px 22px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-weight: 700; color: var(--white); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.counties li:hover { background: var(--red); border-color: var(--red); }
.counties-note { margin: 28px auto 0; max-width: 620px; text-align: center; }
.counties-note a { color: var(--white); font-weight: 800; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--mist); padding-block: var(--section-y) calc(var(--section-y) * .6); text-align: center; }
.cta-band__title { font-size: clamp(2.1rem, 5vw, 3.75rem); line-height: 1.12; }
.cta-band__title span { display: block; }
.cta-band .btn-row { justify-content: center; margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding-top: var(--wave-h); color: rgba(255, 255, 255, .78); background: var(--white); }
body:has(main > :last-child:is(.section--mist, .cta-band)) .site-footer { background: var(--mist); }
.site-footer .waves { top: 0; bottom: auto; }
.site-footer__body { background: var(--navy-deep); padding: clamp(32px, 5vw, 56px) 0 28px; margin-top: -1px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.5fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.site-footer__brand img { width: 170px; margin-bottom: 18px; }
.site-footer__brand p { max-width: 260px; margin: 0; }
.site-footer__heading { margin-bottom: 18px; font-family: var(--font-body); font-size: .8125rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--red-light); }
.site-footer__list { display: grid; gap: 10px; list-style: none; }
.site-footer__list--cols { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__contact { display: grid; gap: 12px; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; font-size: .875rem; }
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }
.site-footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } .site-footer__list--cols { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin: 48px 0 14px; font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--navy); font-weight: 700; }
.prose .updated { color: var(--muted); font-size: .9375rem; }

/* ---------- 404 ---------- */
.not-found { text-align: center; }
.not-found .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Scroll reveal (only with scripting, so content never hides without JS) ---------- */
@media (scripting: enabled) {
  [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  [data-reveal].is-in { opacity: 1; transform: none; }
  [data-reveal-delay="1"] { transition-delay: .1s; }
  [data-reveal-delay="2"] { transition-delay: .2s; }
}

/* ---------- Reduced motion: everything still, nothing hidden ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .waves__layer { animation: none !important; }
  .hero__content > *, .form-card--hero { opacity: 1 !important; transform: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

.lead:empty { display: none; }

.hero--legal { background: linear-gradient(120deg, var(--ink), var(--navy-deep) 60%, var(--navy)); }
.hero--legal::before { display: none; }
.waves--static .waves__layer--white { background-position: -380px 100%; }
@media (max-width: 760px) { .hero::before { background: linear-gradient(180deg, rgba(14, 36, 64, .62) 0%, rgba(14, 36, 64, .78) 55%, rgba(14, 36, 64, .9) 100%); } }

/* ---------- Home hero with the inquiry form ---------- */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.form-card--hero { color: var(--text); scroll-margin-top: calc(var(--header-h) + var(--header-wave-h) + 16px); }
.form-card--hero .form { gap: 14px 16px; }
.form-card--hero .form-card__note { margin-bottom: 18px; }
.form-card--hero .field textarea { min-height: 88px; }
.form-card--hero .choice span { min-height: 40px; padding: 8px 14px; font-size: .875rem; }
.form-card--hero fieldset.field legend { margin-bottom: 6px; }
.hero__ready { display: none; }
@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__ready { display: inline-flex; }
  .page-home .hero { align-items: flex-start; }
}

/* ---------- Two ways we help ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.path { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.paths .path:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.path p { margin: 0; color: var(--muted); }
.path .btn { margin-top: auto; }
.path__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--mist); color: var(--navy); }
.path__icon .icon { width: 28px; height: 28px; }
.path__title { font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.25; }
.path--featured { position: relative; overflow: hidden; border-color: transparent; background: var(--navy-deep); }
.path--featured::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--red); }
.path--featured .path__title { color: var(--white); }
.path--featured p { color: rgba(255, 255, 255, .84); }
.path--featured .path__icon { background: rgba(255, 255, 255, .1); color: var(--red-soft); }
.path--featured .path__note { font-size: .875rem; color: rgba(255, 255, 255, .66); }
@media (max-width: 820px) { .paths { grid-template-columns: 1fr; } }
.hero__grid .hero__title { font-size: clamp(2.3rem, 4.6vw, 4.1rem); }
.form-card--hero { padding: clamp(24px, 3vw, 36px); }
.form-card--hero .form-card__title { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.form-card--hero .field input[type="text"], .form-card--hero .field input[type="tel"], .form-card--hero .field input[type="email"] { min-height: 46px; padding: 10px 14px; }

/* ---------- Form: short first, the rest opens calmly (home hero) ---------- */
.form__more { grid-column: 1 / -1; display: grid; grid-template-rows: 1fr; transition: grid-template-rows .65s var(--ease); }
.form__more-inner { display: grid; grid-template-columns: 1fr 1fr; gap: inherit; min-height: 0; margin: -6px; padding: 6px; overflow: hidden; }
.form-card--hero .form__more-inner { gap: 14px 16px; }
.form__more-lead { margin: 4px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--mist); font-weight: 700; color: var(--navy-deep); }
.form[data-steps="off"] .form__more-lead { display: none; }
.form__continue { display: none; }
@media (scripting: enabled) {
  .form[data-steps="on"]:not(.is-open) .form__more { grid-template-rows: 0fr; }
  .form[data-steps="on"] .form__more-inner > * { transition: opacity .5s var(--ease) .2s, transform .5s var(--ease) .2s; }
  .form[data-steps="on"]:not(.is-open) .form__more-inner > * { opacity: 0; transform: translateY(-8px); }
  .form[data-steps="on"]:not(.is-open) .form__continue { display: block; }
}
@media (max-width: 600px) { .form__more-inner { grid-template-columns: 1fr; } }

/* Home hero: headline and form start lower so the faces in the video show in the open band under the header,
   and the form grows downward without anything above it moving */
.page-home .hero { align-items: flex-start; padding-top: calc(var(--header-h) + var(--header-wave-h) + clamp(150px, 27vh, 270px)); }
.page-home .hero__grid { align-items: start; }
.page-home .hero__media video, .page-home .hero__media img { object-position: 50% 20%; }
.page-home .hero::before { background: linear-gradient(180deg, rgba(14, 36, 64, .12) 0%, rgba(14, 36, 64, .2) 24%, rgba(14, 36, 64, .78) 46%, rgba(14, 36, 64, .9) 100%); }
@media (max-width: 1040px) {
  .page-home .hero { padding-top: calc(var(--header-h) + var(--header-wave-h) + clamp(190px, 34svh, 360px)); }
  .page-home .hero__media { bottom: auto; height: clamp(380px, 62svh, 600px); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .page-home .hero__media video, .page-home .hero__media img { object-position: 50% 0%; }
  .page-home .hero::before { background: linear-gradient(180deg, rgba(14, 36, 64, .08) 0%, rgba(14, 36, 64, .15) 30%, rgba(14, 36, 64, .82) 52%, rgba(14, 36, 64, .96) 100%); }
}
