/* Maverick Water Pros
   Layout and design grammar modeled on varickagents.com (light display type, navy/cream,
   small square buttons, dark rounded carousels, gradient panel, two-column FAQ).
   All code is original. */

:root {
  --navy: #05142a;
  --navy-2: #072444;
  --navy-3: #0d2c55;
  --cream: #f8f7ee;
  --light: #f4f4f1;
  --white: #fff;
  --ink: #1a1a1a;
  --text: #3d4450;
  --muted: #6b7280;
  --line: #e2e2dc;
  --line-dark: rgba(248, 247, 238, .14);
  --blue: #3b82f6;
  --water: #7cc4ff;

  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --r: 4px;
  --r-lg: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--cream); color: var(--navy); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--water); outline-offset: 3px; }

/* Type */
.display-1 { font: 300 clamp(40px, 5.2vw, 72px)/1.06 var(--display); letter-spacing: -.025em; color: inherit; }
.display-2 { font: 300 clamp(30px, 3.4vw, 46px)/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.display-2 strong { font-weight: 400; }
.display-3 { font: 400 24px/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); }
.eyebrow { font: 500 13px/1.4 var(--body); color: var(--muted); margin-bottom: 14px; }
.eyebrow--light { color: rgba(248, 247, 238, .7); }
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); margin-top: 16px; }
.lead--light { color: rgba(248, 247, 238, .75); }

/* Buttons: small, square-ish, chevron */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--r); font: 500 15px/1.2 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn--sm { padding: 8px 12px; font-size: 14px; }
.btn--lg { padding: 14px 18px; font-size: 16px; justify-content: center; }
.btn .chev { width: 14px; height: 14px; transition: transform .2s; }
.btn:hover .chev { transform: translateX(2px); }
.btn--cream { background: var(--cream); color: var(--navy-2); }
.btn--cream:hover { background: #fff; }
.btn--outline { border-color: rgba(255, 255, 255, .85); color: #fff; font-weight: 400; }
.btn--outline:hover { background: rgba(255, 255, 255, .08); }
.btn--navy { background: var(--navy-2); color: var(--cream); }
.btn--navy:hover { background: var(--navy); }
.btn--outline-dark { border-color: var(--ink); color: var(--ink); font-weight: 400; }
.btn--outline-dark:hover { background: var(--ink); color: #fff; }
.btn--ghost-dark { color: var(--ink); font-weight: 400; }
.btn--ghost-dark:hover { background: var(--line); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* Announcement bar */
/* Header + bar float over the hero as frosted glass, so the hero image runs to the top of the page.
   Every page starts with .hero or .page-hero, which pad by --chrome to clear them. */
:root { --header-h: 64px; --announce-h: 40px; --chrome: calc(var(--header-h) + var(--announce-h)); }
.announce { position: absolute; top: var(--header-h); left: 0; right: 0; z-index: 60; color: rgba(248, 247, 238, .85); font-size: 13.5px; background: rgba(255, 255, 255, .035); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 12px; height: var(--announce-h); }
.announce__chip { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); padding: 2px 9px; border-radius: var(--r); font-weight: 500; color: var(--cream); }
.announce__text strong { color: var(--cream); font-weight: 600; }
.announce__link { display: inline-flex; align-items: center; gap: 4px; color: var(--cream); text-decoration: none; font-weight: 500; }
.announce__link svg { width: 14px; height: 14px; }
.announce__phone { display: none; align-items: center; gap: 7px; color: rgba(248, 247, 238, .85); text-decoration: none; }
.announce__phone strong { color: var(--cream); font-weight: 600; }
.announce__phone svg { width: 14px; height: 14px; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 80; color: var(--cream); }
/* The glass lives on a pseudo-element: backdrop-filter on .header itself would make it a backdrop root,
   and the dropdown menus inside it could then no longer blur the page behind them. */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015)), rgba(5, 20, 42, .22); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); transition: background-color .3s, box-shadow .3s; }
/* Past the hero top, tint the glass darker so the nav stays readable over light sections. */
.header.is-scrolled::before { background-color: rgba(5, 20, 42, .74); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 30px -12px rgba(0, 0, 0, .45); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--cream); flex: none; }
.logo__mark { width: 26px; height: 26px; color: var(--water); }
.logo span { font: 400 22px/1 var(--display); letter-spacing: -.02em; }
.logo em { font: 500 10.5px/1 var(--body); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: rgba(248, 247, 238, .6); margin-left: 8px; }
.logo--dark { color: var(--ink); }
.logo--dark .logo__mark { color: var(--navy-3); }
.logo--dark em { color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__trigger, .nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; background: none; border: 0; border-radius: var(--r); color: rgba(248, 247, 238, .85); font-size: 14.5px; text-decoration: none; cursor: pointer; transition: color .15s, background .15s; }
.nav__trigger svg { width: 14px; height: 14px; opacity: .7; transition: transform .2s; }
.nav__trigger:hover, .nav__link:hover, .nav__group.is-open .nav__trigger { color: #fff; background: rgba(248, 247, 238, .06); }
.nav__group { position: relative; }
.nav__menu { position: absolute; top: calc(100% + 10px); left: -8px; min-width: 260px; padding: 10px; background: rgba(5, 20, 42, .76); -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 24px 48px -16px rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav__menu--wide { min-width: 520px; }
.nav__menu-grid { display: grid; grid-template-columns: 1fr 1fr; }
.nav__menu-label { font-size: 12px; color: rgba(248, 247, 238, .5); padding: 6px 10px 8px; }
.nav__menu a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 6px; color: rgba(248, 247, 238, .85); text-decoration: none; font-size: 14.5px; }
.nav__menu a:hover { background: rgba(248, 247, 238, .07); color: #fff; }
.nav__menu a.is-featured strong { color: #fff; font-weight: 600; }
.nav__menu a.is-featured span { font-size: 11px; color: var(--water); border: 1px solid rgba(124, 196, 255, .35); border-radius: 999px; padding: 2px 8px; }
.nav__menu-all { margin-top: 6px; border-top: 1px solid var(--line-dark); border-radius: 0 0 6px 6px !important; padding-top: 12px !important; color: var(--cream) !important; justify-content: flex-start !important; gap: 6px !important; }
.nav__menu-all svg { width: 14px; height: 14px; }
.nav__group:hover .nav__menu, .nav__group.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__group:hover .nav__trigger svg, .nav__group.is-open .nav__trigger svg { transform: rotate(180deg); }
.header__actions { display: flex; gap: 8px; }
.header__phone svg { width: 15px; height: 15px; flex: none; }
.burger { display: none; }

/* Full-screen mobile menu */
.menu { position: fixed; inset: 0; z-index: 70; background: rgba(5, 20, 42, .86); -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%); color: var(--cream); overflow-y: auto; padding: calc(var(--header-h) + 40px) 0 48px; }
.menu[hidden] { display: none; }
.menu__inner { display: grid; gap: 32px; }
.menu__label { font-size: 12px; color: rgba(248, 247, 238, .5); margin-bottom: 8px; }
.menu__col a { display: block; padding: 9px 0; font: 300 22px/1.25 var(--display); color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.menu__col a.is-featured { display: flex; justify-content: space-between; align-items: center; }
.menu__col a.is-featured span { font: 500 11px/1 var(--body); color: var(--water); }
.menu__cta { display: grid; gap: 10px; }
.menu__cta .btn { justify-content: center; padding: 14px; }
body.menu-open { overflow: hidden; }

/* Hero (dark, light streaks) */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--cream); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--navy) url("/img/hero-background.webp") center right / cover no-repeat; }
/* Darken the left edge for headline contrast and fade the bottom into the navy below. */
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 20, 42, .55) 0%, rgba(5, 20, 42, .15) 45%, transparent 70%), linear-gradient(180deg, transparent 70%, rgba(5, 20, 42, .85) 100%); }
.hero { padding: calc(var(--chrome) + 88px) 0 0; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: end; min-height: 600px; }
.hero__copy { padding-bottom: 96px; max-width: 640px; }
.hero__lead { font-size: 19px; line-height: 1.6; color: rgba(248, 247, 238, .82); margin-top: 24px; max-width: 54ch; }
.hero__lead strong { color: #fff; }
.hero__media { align-self: center; justify-self: end; width: min(100%, 430px); margin-bottom: 72px; padding: 10px; border: 1px solid var(--line-dark); border-radius: 16px; background: rgba(248, 247, 238, .03); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
/* Full photo, no crop: height follows the image's own 936x1226 shape. */
.hero__media img { width: 100%; height: auto; border-radius: 10px; }

/* Ticker */
.ticker { position: relative; border-top: 1px solid var(--line-dark); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; align-items: center; gap: 36px; width: max-content; padding: 22px 0; animation: ticker 40s linear infinite; font: 300 22px/1 var(--display); color: rgba(248, 247, 238, .55); }
.ticker__track .is-featured { color: var(--cream); font-weight: 400; }
.ticker__track i { width: 5px; height: 5px; border-radius: 50%; background: rgba(124, 196, 255, .5); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Statement + stats */
.statement { background: var(--navy); color: var(--cream); padding: 120px 0 112px; border-top: 1px solid var(--line-dark); }
.statement__text { font: 300 clamp(24px, 2.6vw, 34px)/1.35 var(--display); letter-spacing: -.01em; text-align: center; max-width: 960px; margin: 0 auto; color: var(--cream); }
.statement__text .w { opacity: .25; transition: opacity .4s; }
.statement__text .w.is-on { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 88px; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 24px; }
.stat + .stat { border-left: 1px solid var(--line-dark); }
.stat__num { font: 300 clamp(40px, 4.6vw, 64px)/1 var(--display); letter-spacing: -.03em; }
.stat__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(248, 247, 238, .55); }

/* Sections */
.section { padding: 112px 0; }
.section--light { background: var(--light); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy .display-2 { color: var(--cream); }
.section--flush-top { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.section-head > div { max-width: 720px; }
.section-head--tight { margin: 72px 0 28px; }

/* Process (step list + swapping image) */
.process { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.process__steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process__steps li { border-bottom: 1px solid var(--line); padding: 24px 0; }
.process__steps button { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 4px; width: 100%; }
.process__steps button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.process__title { font: 300 30px/1.15 var(--display); letter-spacing: -.015em; color: #9aa0a8; transition: color .25s; }
.process__time { font-size: 13px; color: var(--muted); }
.process__steps p { color: var(--text); font-size: 15.5px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s ease, opacity .3s, margin .3s; }
.process__steps li.is-active .process__title, .process__steps button:hover .process__title { color: var(--ink); }
.process__steps li.is-active p { max-height: 160px; opacity: 1; margin-top: 12px; }
.process__media { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; box-shadow: 0 30px 60px -40px rgba(5, 20, 42, .45); }
.process__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; transition: opacity .3s; }
.process__media figcaption { font-size: 14px; color: var(--muted); padding: 14px 6px 4px; }

/* Dark carousel */
.carousel { background: var(--navy); color: var(--cream); border-radius: var(--r-lg); padding: 56px 0 56px 56px; overflow: hidden; }
.carousel__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-right: 56px; margin-bottom: 40px; }
.carousel__head .display-2 { color: var(--cream); max-width: 720px; }
.carousel__arrows { display: flex; gap: 8px; }
.carousel__arrows button { width: 40px; height: 40px; display: grid; place-items: center; background: transparent; border: 1px solid rgba(248, 247, 238, .3); border-radius: var(--r); color: var(--cream); cursor: pointer; transition: background .15s, border-color .15s, opacity .15s; }
.carousel__arrows button:hover { background: rgba(248, 247, 238, .08); border-color: var(--cream); }
.carousel__arrows button:disabled { opacity: .35; cursor: default; }
.carousel__arrows svg { width: 18px; height: 18px; }
.carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-right: 56px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 clamp(240px, 26vw, 340px); aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; scroll-snap-align: start; text-decoration: none; color: #fff; background: var(--navy-2); }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 20, 42, .85)); }
.slide:hover img { transform: scale(1.04); }
.slide__label { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; font: 300 24px/1.15 var(--display); letter-spacing: -.01em; }

/* Gradient panel with list + swapping image */
.panel { border-radius: var(--r-lg); padding: 72px 56px 56px; color: var(--cream); background: linear-gradient(180deg, #33589e 0%, #1d3c78 45%, #102a5c 100%); }
.panel__title { color: var(--cream); margin-bottom: 56px; }
.panel__grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; margin-bottom: 40px; }
.panel__list { list-style: none; padding: 0; margin: 0; }
.panel__list a { display: block; padding: 10px 0; font-size: 17px; color: rgba(248, 247, 238, .6); text-decoration: none; transition: color .2s, padding .2s; }
.panel__list a:hover, .panel__list a.is-active { color: #fff; }
.panel__list a.is-active { padding-left: 14px; border-left: 2px solid var(--water); }
.panel__media { background: rgba(5, 20, 42, .35); border: 1px solid rgba(248, 247, 238, .15); border-radius: 12px; padding: 10px; }
.panel__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; transition: opacity .3s; }
.panel__media figcaption { display: flex; align-items: center; gap: 10px; padding: 14px 8px 4px; font-size: 14.5px; color: rgba(248, 247, 238, .85); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--water); box-shadow: 0 0 0 4px rgba(124, 196, 255, .2); flex: none; }

/* Areas */
.areas { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.areas__featured { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.area-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; padding: 24px; border-radius: 10px; overflow: hidden; color: #fff; text-decoration: none; background: var(--navy); }
.area-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.area-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 20, 42, .1) 30%, rgba(5, 20, 42, .9)); }
.area-feature:hover img { transform: scale(1.04); }
.area-feature__tag, .area-feature__name { position: relative; z-index: 1; }
.area-feature__tag { align-self: flex-start; font-size: 12px; font-weight: 500; color: var(--navy); background: var(--cream); padding: 4px 9px; border-radius: var(--r); margin-bottom: 12px; }
.area-feature__name { font: 400 32px/1.1 var(--display); letter-spacing: -.02em; }
.areas__list { border-top: 1px solid var(--line); align-self: start; }
.area-row { display: grid; grid-template-columns: 1fr auto 16px; gap: 16px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 300 22px/1.2 var(--display); transition: padding .2s, background .2s; }
.area-row:hover { padding-left: 12px; background: var(--light); }
.area-row__zip { font: 400 13px/1 var(--body); color: var(--muted); }
.area-row .chev { width: 16px; height: 16px; color: var(--muted); }

/* Lined grid (like a partner/logo grid) */
.grid-lines { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid-lines div { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 140px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; background: var(--light); }
.grid-lines strong { font: 400 20px/1.2 var(--display); color: var(--ink); }
.grid-lines span { font-size: 13.5px; color: var(--muted); }

/* Promise badges */
.promise { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.promise .btn-row, .promise .btn { margin-top: 28px; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 0; }
.badges .badge { flex: 0 0 33.333%; }
.badge { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-size: 14px; color: rgba(248, 247, 238, .8); }
.badge svg { width: 88px; height: 88px; padding: 20px; border-radius: 50%; border: 1.5px solid rgba(248, 247, 238, .55); color: var(--cream); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-size: 16px; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 16px; height: 16px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%231a1a1a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--text); }

/* Final CTA */
.final { padding: 128px 0; background: var(--light); border-top: 1px solid var(--line); }
.final__title { color: var(--ink); margin-bottom: 32px; font-size: clamp(34px, 4vw, 56px); }

/* Page hero (inner pages) */
.page-hero { padding: calc(var(--chrome) + 64px) 0 80px; }
.page-hero--short { padding: calc(var(--chrome) + 80px) 0 96px; }
.page-hero--short .hero__lead { max-width: 64ch; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-dark); }
.page-hero .eyebrow { margin-top: -4px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; font-size: 13.5px; color: rgba(248, 247, 238, .55); }
.crumbs a { color: rgba(248, 247, 238, .75); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* Split + numbered lists (service pages) */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.split__head { position: sticky; top: 100px; }
.split__head .btn { margin-top: 28px; }
.split__media { margin-top: 32px; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.numbered { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.numbered li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.numbered .num { font: 300 15px/1.9 var(--display); color: var(--muted); }
.numbered h3 { font: 300 28px/1.2 var(--display); letter-spacing: -.015em; color: var(--ink); }
.numbered p { margin-top: 12px; color: var(--text); font-size: 16.5px; max-width: 60ch; }
.prose p { font-size: 18px; line-height: 1.7; color: var(--text); }
.prose p + p { margin-top: 18px; }

/* Chip band */
.band { background: var(--navy); color: var(--cream); padding: 64px 0; }
.band__inner { display: grid; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 16px; border: 1px solid rgba(248, 247, 238, .25); border-radius: var(--r); font: 300 19px/1.2 var(--display); color: var(--cream); }
.band__note { font-size: 13.5px; color: rgba(248, 247, 238, .55); }

/* Find us */
.find { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: end; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.find .lead { margin: 0; color: var(--text); }
.find .lead strong { color: var(--ink); }

/* Tiles (service cards) */
.tiles { display: grid; gap: 20px; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .25s, transform .25s; }
.tile:hover { border-color: transparent; box-shadow: 0 30px 60px -36px rgba(5, 20, 42, .45); transform: translateY(-2px); }
.tile__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--light); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover .tile__img img { transform: scale(1.04); }
.tile__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile__body h3 { font: 400 22px/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); }
.tile__body p { font-size: 15px; color: var(--muted); flex: 1; }
.link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--navy-3); }
.link .chev { width: 14px; height: 14px; transition: transform .2s; }
.tile:hover .link .chev { transform: translateX(3px); }

/* Systems page */
.cat { margin: 88px 0 28px; }
.cat:first-child { margin-top: 0; }
.product { display: grid; grid-template-columns: 380px 1fr; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.product + .product { margin-top: 20px; }
.product__img { background: var(--navy); }
.product__img img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.product__body { padding: 36px 40px; }
.product__body > p { color: var(--text); margin-top: 12px; }
.tag { display: inline-block; font-size: 12px; font-weight: 500; color: var(--navy-3); background: #e8eef8; padding: 4px 9px; border-radius: var(--r); margin-bottom: 14px; }
.specs { display: flex; flex-wrap: wrap; gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.specs div { flex: 1 1 140px; background: var(--light); padding: 14px 16px; }
.specs dt { font-size: 12px; color: var(--muted); }
.specs dd { font: 400 18px/1.3 var(--display); color: var(--ink); margin-top: 2px; }
.product__best { margin-top: 18px; font-size: 15px; }
.product__best strong { color: var(--ink); }
.note { margin-top: 32px; font-size: 13.5px; color: var(--muted); }

/* Contact */
.contact { background: var(--navy); color: var(--cream); padding: 112px 0; border-top: 1px solid var(--line-dark); }
.contact__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
.contact .display-2 { color: var(--cream); }
.contact .eyebrow { color: rgba(248, 247, 238, .6); }
.contact .lead { color: rgba(248, 247, 238, .75); }
.contact__list { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line-dark); }
.contact__list li { display: grid; grid-template-columns: 22px 110px 1fr; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.contact__list svg { width: 20px; height: 20px; color: var(--water); }
.contact__list span { font-size: 13.5px; color: rgba(248, 247, 238, .55); }
.contact__list a, .contact__list p { color: var(--cream); text-decoration: none; font-size: 16px; }
.contact__list strong { color: #fff; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 32px; background: rgba(248, 247, 238, .04); border: 1px solid var(--line-dark); border-radius: var(--r-lg); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: 13px; color: rgba(248, 247, 238, .7); }
.field em { font-style: normal; opacity: .6; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; background: rgba(5, 20, 42, .6); border: 1px solid rgba(248, 247, 238, .18); border-radius: var(--r); color: var(--cream); font-size: 16px; transition: border-color .15s, background .15s; }
.field input::placeholder, .field textarea::placeholder { color: rgba(248, 247, 238, .35); }
.field select { appearance: none; background: rgba(5, 20, 42, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23f8f7ee' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 14px no-repeat; padding-right: 36px; }
.field select:invalid { color: rgba(248, 247, 238, .45); }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--water); background-color: rgba(5, 20, 42, .9); }
.form .btn--lg { margin-top: 6px; }
.form__fine { font-size: 12.5px; color: rgba(248, 247, 238, .5); text-align: center; }
.form__status { font-size: 15px; text-align: center; color: var(--cream); }
.form__status:empty { display: none; }
.form.is-sent .field, .form.is-sent .btn, .form.is-sent .form__fine { display: none; }
.form.is-sent .form__status { padding: 28px; border: 1px solid var(--line-dark); border-radius: var(--r); }

/* Footer */
.footer { background: var(--white); color: var(--text); padding: 88px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1.1fr 1fr .8fr 1.4fr; gap: 40px; }
.footer__brand p { margin-top: 18px; font-size: 14.5px; color: var(--muted); max-width: 32ch; }
.footer__phone { display: block; margin-top: 22px; font: 400 22px/1 var(--display); color: var(--ink); text-decoration: none; }
.footer__mail { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); text-decoration: none; }
.footer__h { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer ul a { font-size: 14px; color: var(--text); text-decoration: none; }
.footer ul a:hover { color: var(--ink); text-decoration: underline; }
.footer ul strong { color: var(--ink); }
.footer__card { align-self: start; background: var(--navy); color: var(--cream); border-radius: 10px; padding: 28px; }
.footer__card-label { font-size: 12px; color: rgba(248, 247, 238, .55); }
.footer__card-title { font: 300 26px/1.15 var(--display); letter-spacing: -.015em; margin-top: 8px; }
.footer__card-text { font-size: 14px; color: rgba(248, 247, 238, .7); margin: 12px 0 20px; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 72px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__base strong { color: var(--ink); }

/* Motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; opacity: 0; transform: translateY(.35em); animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal, [data-split] .w { opacity: 1; transform: none; animation: none; transition: none; }
  .statement__text .w { opacity: 1; }
  .ticker__track { animation: none; }
  .carousel__track { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1180px) {
  .header__inner { gap: 20px; }
  .header__phone svg { display: none; }
  .nav__trigger, .nav__link { padding: 8px 9px; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__card { grid-column: span 2; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  /* The phone number stays in the bar next to the menu button; the book-a-test button moves into the menu. */
  .header__inner { gap: 10px; }
  .header__actions { margin-left: auto; }
  .header__actions .btn--cream { display: none; }
  .header__phone { height: 44px; }
  .burger { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; background: none; border: 1px solid var(--line-dark); border-radius: var(--r); cursor: pointer; }
  .burger span { display: block; width: 18px; height: 1.5px; background: var(--cream); transition: transform .25s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .hero__grid, .page-hero__grid, .process, .split, .faq-layout, .promise, .contact__grid, .find, .areas { grid-template-columns: 1fr; gap: 40px; }
  .hero__grid { min-height: 0; }
  .hero__copy { padding-bottom: 0; }
  .hero__media { justify-self: start; width: min(100%, 420px); margin-bottom: 56px; }
  .split__head, .process__media { position: static; }
  .panel { padding: 48px 28px 32px; }
  .panel__grid { grid-template-columns: 1fr; gap: 20px; }
  .panel__list { display: flex; flex-wrap: wrap; gap: 6px; }
  .panel__list a { padding: 8px 12px; border: 1px solid rgba(248, 247, 238, .25); border-radius: var(--r); font-size: 14.5px; }
  .panel__list a.is-active { padding-left: 12px; border: 1px solid var(--cream); background: rgba(248, 247, 238, .1); }
  .tiles--3, .grid-lines { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr; }
  .product__img img { min-height: 0; aspect-ratio: 16 / 10; }
  .section, .contact { padding: 88px 0; }
  .statement { padding: 88px 0; }
}

/* Very narrow phones: logo + number + menu button don't fit in one row. The header keeps a
   tap-to-call icon button, and the bar under it spells out the number. */
@media (max-width: 359px) {
  .header__phone { width: 44px; padding: 0; justify-content: center; }
  .header__phone span { display: none; }
  .header__phone svg { display: block; width: 17px; height: 17px; }
  .announce__text { display: none; }
  .announce__phone { display: inline-flex; }
}

@media (max-width: 640px) {
  .logo em { display: none; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .announce__chip, .announce__link { display: none; }
  .announce { font-size: 13px; }
  .panel__title br { display: none; }
  .hero { padding-top: calc(var(--chrome) + 56px); }
  .hero__lead { font-size: 17px; }
  .section, .contact { padding: 72px 0; }
  .section--flush-top { padding-top: 0; }
  .stats { grid-template-columns: 1fr; margin-top: 56px; }
  .stat { padding: 24px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line-dark); }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
  .carousel { padding: 36px 0 36px 20px; border-radius: 10px; }
  .carousel__head { padding-right: 20px; flex-direction: column; align-items: flex-start; }
  .carousel__track { padding-right: 20px; }
  .slide { flex-basis: 78%; }
  .areas__featured, .tiles--3, .grid-lines { grid-template-columns: 1fr 1fr; }
  .badges .badge { flex-basis: 50%; }
  .areas__featured { grid-template-columns: 1fr; }
  .area-feature { min-height: 280px; }
  .tiles--3 { grid-template-columns: 1fr; }
  .grid-lines div { min-height: 110px; padding: 16px; }
  .badge svg { width: 72px; height: 72px; padding: 16px; }
  .numbered li { grid-template-columns: 40px 1fr; padding: 26px 0; }
  .numbered h3 { font-size: 24px; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .contact__list li { grid-template-columns: 22px 1fr; }
  .contact__list li > :last-child { grid-column: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__card { grid-column: 1 / -1; }
  .final { padding: 88px 0; }
}
