/* =========================================================================
   Dean Propst Pressure Washing and Gutter Cleaning of Jacksonville
   Written from the Expert Power Wash home page the user supplied
   (2026-11-01): blue tinted photo hero with a wave edge, Roboto black
   headings, giant pale blue section titles, yellow buttons, blue wave bands,
   white review cards, the blue map footer. Zero dependencies.
   ========================================================================= */

:root {
  --blue:     #1565B8;   /* template blue: bands, titles */
  --blue-dk:  #0D4A8C;   /* band gradient end, footer */
  --navy:     #0B3D7A;
  --sky:      #2D9CE8;   /* Dean's emblem blue, icons and highlights */
  --pale:     #8EC3EA;   /* the giant section titles */
  --yellow:   #F7C21B;   /* the template's buttons */
  --yellow-dk:#E0AC05;
  --ink:      #0E2A4F;   /* text on yellow and headings on white */
  --grey:     #F2F4F7;
  --white:    #FFFFFF;
  --body:     #44505F;
  --muted:    #6B7685;
  --line:     rgba(14, 42, 79, 0.10);
  --shadow:   0 10px 30px rgba(14, 42, 79, 0.12);
  --shadow-lg:0 22px 55px rgba(14, 42, 79, 0.22);
  --r:        16px;
  --font:     'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --wrap:     1180px;
  --header-h: 84px;
  /* Home hero copy and header edge: the page gutter, but on wide screens no
     further in than 2rem + 4vw, so the copy leaves the house in view (2026-11-02). */
  --hero-edge: max(clamp(1rem, 4vw, 2.5rem), min(calc((100% - var(--wrap)) / 2), calc(2rem + 4vw)));
  --ctabar-h: 62px;
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--body); background: var(--white); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img, picture { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); font-weight: 900; line-height: 1.1; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
strong { color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 0.5rem 1rem; z-index: 100; }
.skip-link:focus { left: 8px; }
.wrap { width: min(var(--wrap), calc(100% - 2 * clamp(1rem, 4vw, 2.5rem))); margin: 0 auto; }
.section { padding-block: clamp(3.5rem, 2.8rem + 3vw, 6rem); position: relative; }
.section--grey { background: var(--grey); }
.center { text-align: center; }
.lead { font-size: 1.15rem; }
.eyebrow { display: block; color: var(--blue); font-weight: 700; margin-bottom: 0.5rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* ---- Reveal ------------------------------------------------------------ */
.reveal, .reveal-group > * { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in, .reveal-group.is-in > * { opacity: 1; transform: none; }
.no-js .reveal, .no-js .reveal-group > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-group > * { transition: none; opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---- Buttons: yellow block, outline pill, phone pill -------------------- */
.ybtn, .obtn, .pill { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--font); font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s; line-height: 1.1; }
.ybtn { background: var(--yellow); color: var(--ink); border: 0; border-radius: 10px; padding: 0.9rem 1.7rem; font-size: 0.9rem; box-shadow: 0 8px 20px rgba(247, 194, 27, 0.35); }
.ybtn:hover { background: var(--yellow-dk); color: var(--ink); text-decoration: none; }
.ybtn--sm { padding: 0.7rem 1.3rem; font-size: 0.8rem; }
.ybtn--lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }
.ybtn--wide { width: 100%; }
.obtn { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 999px; padding: 0.6rem 1.4rem; font-size: 0.75rem; }
.obtn:hover { background: #fff; color: var(--blue); text-decoration: none; }
.obtn--blue { color: var(--blue); border-color: var(--blue); }
.obtn--blue:hover { background: var(--blue); color: #fff; }
.pill { color: #fff; border: 2px solid #fff; border-radius: 999px; padding: 0.6rem 1.4rem; font-size: 0.95rem; letter-spacing: 0.02em; }
.pill svg { width: 18px; height: 18px; }
.pill:hover { background: #fff; color: var(--blue); text-decoration: none; }
@media (hover: hover) { .ybtn:hover, .obtn:hover, .pill:hover { transform: translateY(-2px); } }
.ybtn:active, .obtn:active, .pill:active { transform: scale(0.98); }

/* ---- Header: over the hero, solid blue once scrolled -------------------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--blue-dk); color: #fff; transition: background 0.3s, box-shadow 0.3s; }
.is-home .header { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(10, 45, 95, 0.55), rgba(10, 45, 95, 0)); }
.is-home .header__in { width: auto; max-width: none; margin: 0; padding-inline: var(--hero-edge); }
.is-home .header.is-stuck { background: rgba(13, 74, 140, 0.97); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); }
.header__in { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 52px; width: auto; }
.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.1rem; }
.nav__link { display: inline-flex; color: #fff; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.55rem 0.7rem; border-radius: 6px; white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current="page"] { background: rgba(255, 255, 255, 0.12); text-decoration: none; }
.nav__drawer-cta { display: none; }
.nav__toggle { background: none; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 10px; color: #fff; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; }
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .ico-close { display: none; }
.nav__toggle[aria-expanded="true"] .ico-open { display: none; }
.nav__toggle[aria-expanded="true"] .ico-close { display: block; }
.header__mobile-call { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--yellow); color: var(--ink); }
.header__mobile-call svg { width: 20px; height: 20px; }
/* Desktop call button in the bar (phones have .header__mobile-call). */
.header__phone { display: none; align-items: center; gap: 0.5rem; color: #fff; font-weight: 800; font-size: 0.95rem; white-space: nowrap; border: 2px solid rgba(255, 255, 255, 0.6); border-radius: 999px; padding: 0.55rem 1.1rem; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.header__phone svg { width: 18px; height: 18px; flex: none; }
.header__phone:hover { background: #fff; color: var(--blue); border-color: #fff; text-decoration: none; }
/* Booking widget button (only when site.bookingWidget is set): the yellow
   block in the desktop header, an outline pill in the phone drawer. */
.header__book svg { width: 18px; height: 18px; flex: none; }
.header__book--bar { display: none; }
.header__book--drawer { width: 100%; font-size: 0.9rem; padding: 0.85rem 1.4rem; }
@media (max-width: 1023px) {
  .brand img { height: 40px; }
  .nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--blue-dk); overflow: auto; padding: 1rem clamp(1rem, 4vw, 2.5rem) 6rem; z-index: 49; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { font-size: 1rem; padding: 0.95rem 0.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0; }
  .nav__drawer-cta { display: grid; gap: 0.8rem; margin-top: 1.4rem; }
  .is-home .header { background: rgba(13, 74, 140, 0.92); }
}
@media (min-width: 1024px) {
  .nav { display: block; }
  .nav__toggle, .header__mobile-call { display: none; }
  .header__book--bar, .header__phone { display: inline-flex; }
  .header__book--bar { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1179px) {
  .header__phone { padding: 0.6rem; }
  .header__phone span { display: none; }
}

/* ---- Wave dividers ---------------------------------------------------- */
.wave { position: absolute; left: 0; width: 100%; height: clamp(40px, 6vw, 110px); display: block; z-index: 2; pointer-events: none; }
.wave--bottom { bottom: -1px; }
.wave--top { top: -1px; transform: rotate(180deg); }
.wave--flip.wave--top { transform: rotate(180deg) scaleX(-1); }
.wave path { fill: #fff; }
[data-surface="blue"] + [data-surface="grey"] .wave path, .neighbors .wave--bottom path { fill: var(--grey); }

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--blue-dk); scroll-margin-top: 0; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg picture, .hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 61, 122, 0.88) 0%, rgba(21, 101, 184, 0.62) 50%, rgba(21, 101, 184, 0.30) 100%),
              linear-gradient(180deg, rgba(11, 61, 122, 0.25) 0%, rgba(11, 61, 122, 0) 40%); }
.hero__in { position: relative; z-index: 1; padding: calc(var(--header-h) + clamp(2.5rem, 2rem + 4vw, 6rem)) 0 clamp(6.5rem, 5rem + 7vw, 11rem); max-width: 760px; margin-left: var(--hero-edge); }
.hero__eyebrow { font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(0.9rem, 0.8rem + 0.4vw, 1.15rem); margin: 0 0 0.6rem; color: #fff; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4rem); line-height: 1.05; text-shadow: 0 2px 18px rgba(5, 30, 70, 0.45); margin-bottom: 0.9rem; }
.br-d { display: none; }
@media (min-width: 760px) { .br-d { display: inline; } }
.hero__sub { font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.22rem); color: rgba(255, 255, 255, 0.92); max-width: 58ch; margin-bottom: 1.4rem; }
/* A2P review: chat-or-call box in place of the hero form (site.homeChatOnly). */
.hero-chat { max-width: 640px; }
.hero-chat__lead { color: #fff; font-weight: 700; font-size: 1.05rem; margin: 0 0 0.8rem; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; margin-top: 1.2rem; }
.hero__rating { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.92rem; color: rgba(255, 255, 255, 0.92); }
.stars { color: var(--yellow); letter-spacing: 0.08em; font-size: 1.05rem; line-height: 1; }

/* ---- Lead form (shared engine from Alexander's) ------------------------ */
.lead-form { display: grid; gap: 0.85rem; }
.lead-form .field { display: grid; gap: 0.35rem; position: relative; }
.lead-form .field > span { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.lead-form .field-row { display: grid; gap: 0.85rem; }
@media (min-width: 520px) { .lead-form .field-row { grid-template-columns: 1fr 1fr; } }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 0.9rem 1rem; border: 1px solid #DCE3EC; border-radius: 10px; background: #fff; color: var(--ink); }
.lead-form select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230E2A4F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 3px solid var(--yellow); outline-offset: 1px; }
.lead-form .opt { font-weight: 400; color: var(--muted); font-style: italic; }
.consent-rows { display: grid; gap: 0.45rem; }
.lead-form .consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.8rem; line-height: 1.45; color: var(--muted); }
.lead-form .consent input { width: 18px; height: 18px; margin-top: 0.1rem; flex: none; accent-color: var(--yellow); padding: 0; }
.lead-form .consent a { color: inherit; text-decoration: underline; }
.lead-form button[type="submit"] { font: inherit; border: 0; cursor: pointer; background: var(--yellow); color: var(--ink); font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.92rem; border-radius: 10px; padding: 0.9rem 1.4rem; box-shadow: 0 8px 20px rgba(247, 194, 27, 0.35); }
.lead-form button[type="submit"]:hover { background: var(--yellow-dk); }
.lead-form button[type="submit"] .tbtn__main svg { display: none; }
.form-fine { margin: 0; text-align: center; font-size: 0.95rem; color: var(--muted); }
.form-status { display: none; padding: 0.9rem 1rem; border-radius: 8px; font-weight: 600; }
.form-status.is-shown { display: block; }
.form-status--ok { background: #E7F7EE; color: #14532D; }
.form-status--err { background: #FDECEC; color: #7F1D1D; }
/* Inline hero form: labels hidden, fields straight on the photo (Alexander's pattern). */
.lead-form--inline { gap: 0.65rem; grid-template-columns: 1fr; }
.lead-form--inline .field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lead-form--inline .lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.lead-form--inline input, .lead-form--inline select { padding: 0.85rem 1rem; border-color: transparent; box-shadow: 0 4px 14px rgba(5, 30, 70, 0.18); }
.lead-form--inline .consent { color: rgba(255, 255, 255, 0.85); }
.lead-form--inline .consent a { color: #fff; }
@media (min-width: 760px) {
  .lead-form--inline { grid-template-columns: 1fr 1fr 1fr; }
  .lead-form--inline .lead-form__row { display: contents; }
  .lead-form--inline .form-status, .lead-form--inline .consent { grid-column: 1 / -1; }
}

/* ---- Intro: photo on a blob, copy right -------------------------------- */
.intro { padding-top: clamp(2rem, 1rem + 3vw, 4rem); }
.intro__in { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .intro__in { grid-template-columns: 1fr 1.05fr; } }
.intro__media { position: relative; padding: 1.5rem 1.5rem 2rem 0; }
.blob { position: absolute; left: -6%; right: 8%; top: 18%; bottom: -4%; background: var(--sky); opacity: 0.85; border-radius: 42% 58% 55% 45% / 48% 40% 60% 52%; }
.intro__photo { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.intro__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.h-blue { color: var(--blue); }
.h-pale { color: var(--pale); }
.intro__copy p { font-size: 1rem; }

/* ---- Blue wave band: mosaic + quote ----------------------------------- */
.band { position: relative; background: linear-gradient(135deg, var(--sky) 0%, var(--blue) 45%, var(--blue-dk) 100%); color: #fff; padding: clamp(5rem, 4rem + 5vw, 9rem) 0; overflow: hidden; }
.band__in { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: center; }
@media (min-width: 900px) { .band__in { grid-template-columns: 1.15fr 1fr; } }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mosaic picture { aspect-ratio: 1; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.band__quote { margin: 0; position: relative; }
.band__quote .stars { font-size: 1.4rem; }
.band__mark { display: block; font-size: 4rem; line-height: 0.6; font-weight: 900; margin: 1rem 0 0.4rem; color: rgba(255, 255, 255, 0.9); }
.band__quote blockquote { margin: 0 0 1.2rem; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); line-height: 1.55; color: #fff; }
.band__quote strong { color: #fff; }
.band__quote figcaption { font-weight: 900; font-size: 1.1rem; margin-bottom: 1rem; }

/* ---- Core services ---------------------------------------------------- */
.spaced { text-align: center; text-transform: uppercase; letter-spacing: 0.4em; font-size: 0.85rem; color: #A9B6C6; margin: 0 0 0.3rem; font-weight: 500; }
.giant { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); color: var(--pale); text-transform: uppercase; text-align: center; letter-spacing: -0.01em; line-height: 0.95; margin: 0 0 0.5rem; }
.core__hint { text-align: center; text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.72rem; color: var(--muted); font-weight: 700; margin-bottom: 1.6rem; }
.core__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; max-width: 980px; margin: 0 auto 2.5rem; }
@media (min-width: 760px) { .core__tabs { grid-template-columns: repeat(8, 1fr); } }
.core__tab { font: inherit; background: none; border: 0; cursor: pointer; display: grid; justify-items: center; gap: 0.35rem; padding: 0.6rem 0.2rem; color: #6F7C8C; border-radius: 10px; transition: color 0.2s, background 0.2s; }
.core__tab svg { width: 40px; height: 40px; }
.core__tab span { font-size: 0.82rem; font-weight: 500; }
.core__tab:hover { color: var(--blue); background: var(--grey); }
.core__tab[aria-selected="true"] { color: var(--yellow-dk); }
.core__tab[aria-selected="true"] span { font-weight: 700; }
.core__panel { display: grid; gap: 2rem; align-items: center; }
.core__panel[hidden] { display: none; }
@media (min-width: 900px) { .core__panel { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; } }
.core__crumb { font-size: 0.8rem; color: var(--muted); margin: 0 0 0.2rem; }
.core__copy h3 { color: var(--blue); text-transform: uppercase; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); margin-bottom: 0.7rem; }
.core__copy p { font-size: 1rem; }
.core__copy .btn-row { margin-top: 1.4rem; }
.core__copy .obtn--blue { border-radius: 10px; padding: 0.85rem 1.5rem; font-size: 0.9rem; }
.core__photo picture { border: 8px solid #fff; border-radius: 6px; box-shadow: var(--shadow-lg); overflow: hidden; }
.core__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.core__arrows { display: flex; justify-content: flex-end; gap: 0.4rem; margin-top: 1.5rem; }
.arrow { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.arrow svg { width: 16px; height: 16px; transform: rotate(90deg); }
.arrow--next svg { transform: rotate(-90deg); }
.arrow:hover { background: var(--yellow-dk); }

/* ---- Neighbors band --------------------------------------------------- */
.neighbors { position: relative; color: #fff; padding: clamp(6rem, 5rem + 5vw, 10rem) 0; overflow: hidden; background: var(--blue); }
.neighbors__bg { position: absolute; inset: 0; }
.neighbors__bg picture, .neighbors__bg img { width: 100%; height: 100%; object-fit: cover; }
.neighbors__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 101, 184, 0.86), rgba(13, 74, 140, 0.9)); }
.neighbors__in { position: relative; z-index: 1; text-align: center; }
.neighbors h2 { color: #fff; text-transform: uppercase; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.9rem); margin-bottom: 0.4rem; }
.rule { display: block; width: 60px; height: 3px; background: #fff; margin: 0 auto 2.5rem; border-radius: 2px; }
.rcards { display: grid; gap: 1.5rem; text-align: left; margin-bottom: 2.2rem; }
@media (min-width: 900px) { .rcards { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
.rcard { background: #fff; color: var(--body); border-radius: 22px; padding: 2.4rem 1.6rem 1.6rem; position: relative; box-shadow: var(--shadow-lg); margin-top: 1.6rem; }
.rcard__av { position: absolute; top: -1.6rem; left: 1.4rem; width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--blue)); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.15rem; border: 4px solid #fff; box-shadow: var(--shadow); }
.rcard h3 { color: var(--blue); font-size: 1.25rem; margin: 0.3rem 0 0.25rem; }
.rcard .stars { font-size: 1rem; }
.rcard__svc { font-weight: 700; color: var(--ink); font-size: 0.85rem; margin: 0.35rem 0 0.6rem; }
.rcard p:last-child { font-size: 0.92rem; margin: 0; }

/* ---- Work gallery ------------------------------------------------------ */
.work__head { position: relative; text-align: center; margin-bottom: 2rem; padding-bottom: clamp(2.6rem, 1.6rem + 4vw, 5rem); }
.ghost { position: absolute; left: 0; right: 0; bottom: 0; font-size: clamp(3.4rem, 2rem + 7vw, 7.5rem); font-weight: 900; text-transform: uppercase; color: rgba(14, 42, 79, 0.08); line-height: 1; white-space: nowrap; pointer-events: none; }
.work__head .giant { position: relative; }
.work__track-wrap { position: relative; margin-bottom: 2rem; }
.work__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.work__track::-webkit-scrollbar { display: none; }
@media (max-width: 999px) { .work__track { grid-auto-columns: calc((100% - 14px) / 2); } }
@media (max-width: 639px) { .work__track { grid-auto-columns: 82%; } }
.work__item { margin: 0; position: relative; scroll-snap-align: start; }
.work__item figcaption { margin-top: 0.6rem; font-weight: 700; color: var(--ink); font-size: 0.92rem; text-align: center; }
.work__photo, .work__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
/* Before and after slider: the before photo is clipped to the left of --pos */
.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); touch-action: pan-y; user-select: none; -webkit-user-select: none; background: var(--grey); cursor: ew-resize; }
.ba picture, .ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); pointer-events: none; }
.ba__grip { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--ink); border: 3px solid #fff; transform: translate(-50%, -50%); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); pointer-events: none; }
.ba__grip svg { width: 20px; height: 20px; }
.ba__tag { position: absolute; top: 0.7rem; background: rgba(14, 42, 79, 0.82); color: #fff; font-size: 0.7rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.6rem; border-radius: 6px; pointer-events: none; }
.ba__tag--l { left: 0.7rem; } .ba__tag--r { right: 0.7rem; background: var(--yellow); color: var(--ink); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.ba { -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.ba:focus-within { outline: 3px solid var(--yellow); outline-offset: 3px; }
.ba:focus-within:not(:has(.ba__range:focus-visible)) { outline: none; }
.ba.is-touching .ba__grip { transform: translate(-50%, -50%) scale(1.08); }
.work__track { overscroll-behavior-x: contain; }
.tag { position: absolute; top: 8px; left: 8px; background: rgba(14, 42, 79, 0.75); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.arrow--side { position: absolute; top: calc(50% - 1rem); transform: translateY(-50%); z-index: 2; background: var(--blue); color: #fff; left: -14px; }
.arrow--side.arrow--next { left: auto; right: -14px; }
.arrow--side:hover { background: var(--blue-dk); }

/* ---- Ready / count on -------------------------------------------------- */
.ready__in { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .ready__in { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.ready__left { display: grid; justify-items: center; gap: 1.6rem; }
@media (min-width: 900px) { .ready__left { justify-items: end; } .giant--right { text-align: right; } }
.ready__left .giant { margin: 0; }
.ready__right h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); margin-bottom: 1rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.checks li { display: flex; gap: 0.6rem; align-items: center; font-weight: 700; color: var(--ink); }
.checks svg { width: 22px; height: 22px; color: var(--blue); flex: none; }

/* ---- Footer: blue band over the map ----------------------------------- */
.footer { position: relative; background: var(--blue-dk); color: rgba(255, 255, 255, 0.88); overflow: hidden; padding-top: clamp(3rem, 2.5rem + 2vw, 4.5rem); font-size: 0.95rem; }
.footer__map { position: absolute; inset: 0 0 0 30%; opacity: 0.6; filter: saturate(0.6); pointer-events: none; }
.footer__map iframe { width: 100%; height: 100%; border: 0; }
.footer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue-dk) 32%, rgba(13, 74, 140, 0.55) 55%, rgba(13, 74, 140, 0.25)); z-index: 1; pointer-events: none; }
.footer__in { position: relative; z-index: 2; display: grid; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 900px) { .footer__in { grid-template-columns: 0.9fr 1.1fr; align-items: end; } }
.footer a { color: #fff; }
.footer__logo { width: min(300px, 85%); height: auto; margin-bottom: 1.2rem; }
.footer__nap strong { color: #fff; }
.footer__contact a { font-weight: 700; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); display: grid; place-items: center; }
.footer__social svg { width: 18px; height: 18px; }
.footer__areas { text-align: right; }
.footer__label { color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.5rem; }
.footer__towns { margin: 0; font-size: 0.85rem; }
.footer__towns span, .footer__bar span { opacity: 0.5; padding: 0 0.2rem; }
@media (max-width: 899px) { .footer__areas { text-align: left; } .footer__map { inset: 0; } }
.footer__bar { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, 0.15); padding: 1.1rem 0 calc(1.1rem + var(--ctabar-h)); font-size: 0.82rem; }
.footer__bar-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1.5rem; }
.footer__bar p { margin: 0; }
.footer__credit { width: 100%; text-align: center; color: rgba(255, 255, 255, 0.6); }

/* ---- Mobile CTA bar ---------------------------------------------------- */
.ctabar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 48; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--blue-dk); border-top: 1px solid rgba(255, 255, 255, 0.12); height: var(--ctabar-h); padding-bottom: env(safe-area-inset-bottom); }
.ctabar__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem; color: #fff; font-size: 0.72rem; font-weight: 700; text-decoration: none; border-right: 1px solid rgba(255, 255, 255, 0.08); }
.ctabar__btn svg { width: 20px; height: 20px; color: var(--pale); }
.ctabar__btn--call { background: var(--yellow); color: var(--ink); } .ctabar__btn--call svg { color: var(--ink); }
.ctabar__btn:hover { text-decoration: none; }
@media (min-width: 1024px) { .ctabar { display: none; } .footer__bar { padding-bottom: 1.1rem; } }

/* ---- Inner pages: photo head with the wave ---------------------------- */
.pagehead { position: relative; background: linear-gradient(135deg, var(--blue), var(--blue-dk)); color: #fff; overflow: hidden; }
.pagehead__bg { position: absolute; inset: 0; }
.pagehead__bg picture, .pagehead__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.pagehead__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 61, 122, 0.82), rgba(21, 101, 184, 0.72)); }
.pagehead__in { position: relative; z-index: 1; padding: clamp(3rem, 2.5rem + 3vw, 5rem) 0 clamp(5rem, 4rem + 5vw, 8.5rem); max-width: 860px; text-align: center; margin: 0 auto; }
.pagehead h1 { color: #fff; text-shadow: 0 2px 18px rgba(5, 30, 70, 0.4); }
.pagehead p { color: rgba(255, 255, 255, 0.92); }
.pagehead__sub { font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); max-width: 60ch; margin-inline: auto; }
.pagehead .btn-row { justify-content: center; margin-top: 1.6rem; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8rem; color: var(--blue); }
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 1.5rem; color: var(--body); }
a.card:hover { text-decoration: none; }
.card h3 { display: flex; gap: 0.5rem; align-items: center; font-size: 1.1rem; }
.card h3 svg { width: 24px; height: 24px; color: var(--blue); }
.linkpanel { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: center; }
.linkpanel a { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; }
.linkpanel svg { width: 16px; height: 16px; }
.obtn--sq { border-radius: 10px; padding: 0.85rem 1.5rem; font-size: 0.9rem; }
.svc-lead { max-width: 760px; margin: 0 auto 2.75rem; }
.svc-ico { display: inline-grid; width: 58px; height: 58px; place-items: center; border-radius: 16px; background: var(--grey); color: var(--blue); margin-bottom: 0.9rem; }
.svc-ico svg { width: 36px; height: 36px; }

/* Services index cards */
.svc-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.svc-card__img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.5s var(--ease); }
.svc-card:hover .svc-card__img img { transform: scale(1.04); }
.svc-card__img { overflow: hidden; display: block; }
.svc-card__body { position: relative; padding: 2.2rem 1.5rem 1.6rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.svc-card__ico { position: absolute; top: -30px; left: 1.4rem; width: 60px; height: 60px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; border: 4px solid #fff; box-shadow: var(--shadow); }
.svc-card__ico svg { width: 32px; height: 32px; }
.svc-card h3 { color: var(--blue); text-transform: uppercase; font-size: 1.2rem; margin-bottom: 0.5rem; }
.svc-card h3 a { color: inherit; }
.svc-card p { font-size: 0.97rem; flex: 1; }

/* Blue band with Dean's checklist */
.band--list { padding: clamp(5.5rem, 4.5rem + 5vw, 9rem) 0; text-align: center; }
.band__title { color: #fff; text-transform: uppercase; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.9rem); margin-bottom: 0.4rem; }
.checks--white { text-align: left; max-width: 900px; margin: 0 auto; }
.checks--white li { color: #fff; font-weight: 500; font-size: 1.05rem; }
.checks--white svg { color: var(--yellow); }
@media (min-width: 760px) { .checks--cols { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.offer-grid { display: grid; gap: 1.25rem; text-align: left; }
@media (min-width: 760px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .offer-grid { grid-template-columns: repeat(3, 1fr); } }
.offer { background: #fff; color: var(--body); border-radius: 18px; padding: 1.6rem; box-shadow: var(--shadow-lg); }
.offer h3 { color: var(--blue); font-size: 1.15rem; text-transform: uppercase; }
.offer p { margin: 0; font-size: 0.95rem; }

/* Process steps (commercial) */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; counter-reset: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--grey); border-radius: var(--r); padding: 2rem 1.6rem 1.6rem; position: relative; }
.step__n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 1.2rem; margin-bottom: 0.9rem; }
.step h3 { color: var(--blue); }
.step p { margin: 0; font-size: 0.97rem; }

/* Why choose us */
/* Flex, not grid, so the odd fifth card sits centered on the last row. */
.why-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.why-grid > * { flex: 1 1 100%; }
@media (min-width: 640px) { .why-grid > * { flex-basis: calc((100% - 1.25rem) / 2); flex-grow: 0; } }
@media (min-width: 1000px) { .why-grid > * { flex-basis: calc((100% - 2.5rem) / 3); } }
.why { background: #fff; border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow); }
.why__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--sky), var(--blue)); color: #fff; margin-bottom: 0.9rem; }
.why__ico svg { width: 24px; height: 24px; }
.why h3 { font-size: 1.12rem; color: var(--ink); }
.why p { margin: 0; font-size: 0.95rem; }

/* Reviews band on inner pages and the GHL widget */
.neighbors--plain { background: linear-gradient(135deg, var(--sky) 0%, var(--blue) 45%, var(--blue-dk) 100%); }
.neighbors--plain .wave--bottom path { fill: #fff; }
.ghl-reviews { background: #fff; border-radius: 22px; padding: clamp(0.75rem, 0.5rem + 1vw, 1.5rem); box-shadow: var(--shadow-lg); text-align: left; }
.ghl-reviews iframe { display: block; border: 0; min-height: 420px; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 0.8rem; margin-top: 1.5rem; }
.faq details { background: var(--grey); border-radius: 14px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3.2rem 1.1rem 1.3rem; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-weight: 900; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq__body { padding: 0 1.3rem 1.2rem; }
.faq__body p { margin: 0; }

/* Town and service link grids */
.linkgrid { display: grid; gap: 0.7rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-top: 1.6rem; }
.linkgrid a { display: flex; align-items: center; gap: 0.6rem; background: #fff; border-radius: 12px; padding: 0.85rem 1rem; font-weight: 700; color: var(--ink); box-shadow: 0 4px 14px rgba(14, 42, 79, 0.07); transition: color 0.2s, transform 0.2s var(--ease); }
.linkgrid a:hover { color: var(--blue); text-decoration: none; }
@media (hover: hover) { .linkgrid a:hover { transform: translateY(-2px); } }
.linkgrid svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.linkgrid--svc svg { width: 30px; height: 30px; }
.other-head { margin-top: 2.5rem; color: var(--blue); }

/* Service areas */
.area-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
.area-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow); color: var(--body); border-top: 4px solid var(--yellow); transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.area-card:hover { text-decoration: none; box-shadow: var(--shadow-lg); }
@media (hover: hover) { .area-card:hover { transform: translateY(-3px); } }
.area-card__pin svg { width: 30px; height: 30px; color: var(--blue); }
.area-card h3 { color: var(--blue); margin: 0.6rem 0 0.1rem; text-transform: uppercase; font-size: 1.2rem; }
.area-card__county { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; margin-bottom: 0.6rem; }
.area-card p:last-of-type { flex: 1; font-size: 0.95rem; }
.area-card__more { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 900; text-transform: uppercase; font-size: 0.8rem; color: var(--blue); letter-spacing: 0.04em; }
.area-card__more svg { width: 16px; height: 16px; }
.mapband { line-height: 0; background: var(--grey); }
.mapband iframe { width: 100%; height: clamp(320px, 45vw, 480px); border: 0; }

/* Quote band above the footer on every page but home */
.quote-band { position: relative; background: linear-gradient(135deg, var(--sky) 0%, var(--blue) 45%, var(--blue-dk) 100%); color: #fff; padding: clamp(3.5rem, 2.8rem + 3vw, 6rem) 0; scroll-margin-top: var(--header-h); }
.quote-band__in { display: grid; gap: 2rem; align-items: center; }
/* Quote buttons land on #get-a-quote, a marker just above the form
   (2026-11-02): on phones the form sits under the header, not the hero
   headline or photo. On the home page on desktop, where the form is
   already in view, the marker moves to the top of the hero. */
.quote-anchor { display: block; height: 0; scroll-margin-top: calc(var(--header-h) + 12px); }
@media (min-width: 1000px) { .hero .quote-anchor { position: absolute; top: 0; left: 0; scroll-margin-top: 0; } }
.quote-band__card { position: relative; }
.quote-band__card .quote-anchor { position: absolute; top: 0; left: 0; }
@media (min-width: 900px) { .quote-band__in { grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; } }
.quote-band h2 { color: #fff; text-transform: uppercase; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); }
.quote-band__copy p { color: rgba(255, 255, 255, 0.92); }
.quote-band__copy .pill { margin-top: 0.6rem; }
.quote-band__card { background: #fff; border-radius: 20px; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); box-shadow: var(--shadow-lg); color: var(--body); }
.lead-form__title { font-size: 1.4rem; color: var(--blue); margin: 0 0 0.2rem; }
.lead-form__sub { margin: 0; font-size: 0.95rem; }
.lead-form__free { margin: 0.2rem 0 0; font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.lead-form textarea { resize: vertical; }
.lead-form .tbtn__main { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.section--blue { background: linear-gradient(135deg, var(--sky) 0%, var(--blue) 45%, var(--blue-dk) 100%); color: rgba(255, 255, 255, 0.92); }
.section--blue h1, .section--blue h2 { color: #fff; }
.section--blue .btn-row { justify-content: center; }
.quote-band .lead-form__title { color: var(--blue); text-transform: none; font-size: 1.4rem; }

/* ---- Nav dropdowns: Services and Service Areas ------------------------- */
.nav__item--drop { position: relative; }
.nav__item--drop > .nav__link svg { width: 12px; height: 12px; margin-left: 0.3rem; transition: transform 0.2s; }
.nav__subtoggle { display: none; }
.nav__sub { list-style: none; margin: 0; padding: 0; }
.nav__sub a { display: block; color: var(--ink); font-weight: 500; font-size: 0.92rem; padding: 0.55rem 0.9rem; border-radius: 8px; white-space: nowrap; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--grey); color: var(--blue); text-decoration: none; }
@media (min-width: 1024px) {
  .nav__sub { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; z-index: 60; }
  /* an invisible bridge so the pointer can travel from the link to the panel */
  .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav__item--drop:hover > .nav__sub, .nav__item--drop:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
  .nav__item--drop:hover > .nav__link svg, .nav__item--drop:focus-within > .nav__link svg { transform: rotate(180deg); }
}
@media (max-width: 1023px) {
  .nav__item--drop { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav__item--drop > .nav__link { border-bottom: 0; }
  .nav__item--drop > .nav__link svg { display: none; }
  .nav__subtoggle { display: grid; place-items: center; width: 44px; height: 44px; background: rgba(255, 255, 255, 0.08); border: 0; border-radius: 10px; color: #fff; cursor: pointer; }
  .nav__subtoggle svg { width: 16px; height: 16px; transition: transform 0.2s; }
  .nav__subtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav__sub { grid-column: 1 / -1; display: none; padding: 0 0 0.6rem 0.6rem; }
  .nav__subtoggle[aria-expanded="true"] + .nav__sub { display: block; }
  .nav__sub a { color: rgba(255, 255, 255, 0.88); font-size: 0.95rem; }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: rgba(255, 255, 255, 0.1); color: #fff; }
}
.pagehead__credit { position: absolute; right: clamp(1rem, 4vw, 2.5rem); bottom: clamp(3rem, 2.5rem + 4vw, 7rem); z-index: 3; margin: 0; font-size: 0.68rem; color: rgba(255, 255, 255, 0.7) !important; }
.pagehead__credit a { color: inherit; text-decoration: underline; }

/* ---- Hero on phones and tablets (Alexander's pattern, user 2026-11-02):
   the wide background goes, the house sits as a framed photo between the
   subhead and the inline form, the band itself is the blue gradient. ------ */
.hero__photo { display: none; }
@media (max-width: 999px) {
  .hero { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dk) 70%, var(--navy) 100%); }
  .hero__bg { display: none; }
  .hero__photo { display: block; margin: 0 0 1.2rem; border-radius: var(--r); overflow: hidden; border: 4px solid rgba(255, 255, 255, 0.9); box-shadow: 0 18px 40px rgba(5, 30, 70, 0.4); }
  .hero__photo picture, .hero__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
}

/* ---- Gallery page (2026-11-07, Restore Outdoor's pattern, Dean's colours) ---- */
.gal-bar { position: sticky; top: calc(var(--header-h) + 0.25rem); z-index: 20; display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.7rem 0.2rem; margin: 0 0 1.5rem; background: var(--grey); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gal-bar::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .gal-bar { flex-wrap: wrap; justify-content: center; overflow: visible; } }
.gal-chip { flex: none; font: 700 0.92rem var(--font); color: var(--ink); background: #fff; border: 1px solid #D5E1EC; border-radius: 999px; padding: 0.6rem 1rem; min-height: 44px; cursor: pointer; white-space: nowrap; }
.gal-chip span { font-weight: 600; color: var(--muted); margin-left: 0.25rem; }
.gal-chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.gal-chip[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.8); }
.gal-chip:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.gal-cat { margin-bottom: 2.5rem; scroll-margin-top: calc(var(--header-h) + 5rem); }
.gal-cat[hidden] { display: none; }
.gal-cat__title { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); margin: 0 0 0.4rem; color: var(--ink); }
.gal-cat__hint { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }
.gal-ba-grid { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .gal-ba-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gal-ba-grid { grid-template-columns: repeat(3, 1fr); } }
.gal-ba { margin: 0; }
.gal-ba .ba { aspect-ratio: 4 / 3; }
.gal-ba figcaption { margin-top: 0.5rem; font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.gal-grid { columns: 2; column-gap: 0.7rem; }
@media (min-width: 700px) { .gal-grid { columns: 3; column-gap: 1rem; } }
@media (min-width: 1100px) { .gal-grid { columns: 4; } }
.gal-tile { position: relative; display: block; width: 100%; margin: 0 0 0.7rem; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #e8eef3; cursor: zoom-in; break-inside: avoid; box-shadow: 0 6px 16px rgba(14, 42, 79, 0.1); }
@media (min-width: 700px) { .gal-tile { margin-bottom: 1rem; } }
.gal-tile img { display: block; width: 100%; height: auto; transition: transform 0.3s var(--ease); }
.gal-tile:hover img { transform: scale(1.03); }
.gal-tile:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.gal-cta { margin-top: 1rem; }
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 14, 24, 0.94); color: #fff; }
.lb[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lb::backdrop { background: rgba(4, 14, 24, 0.94); }
.lb__fig { margin: 0; display: grid; justify-items: center; gap: 0.6rem; padding: 3.5rem 0 1.5rem; min-width: 0; }
.lb__img { max-width: 100%; max-height: calc(100vh - 8rem); width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lb__cap { font: 600 0.92rem var(--font); color: rgba(255, 255, 255, 0.88); text-align: center; padding: 0 1rem; }
.lb__btn { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 0.4rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; }
.lb__btn svg { width: 20px; height: 20px; }
.lb__prev svg { transform: rotate(90deg); }
.lb__next svg { transform: rotate(-90deg); }
.lb__close { position: absolute; top: 0.8rem; right: 0.8rem; margin: 0; }
.lb__btn:hover { background: rgba(255, 255, 255, 0.22); }
@media (max-width: 639px) { .lb[open] { grid-template-columns: 1fr; } .lb__prev, .lb__next { position: absolute; bottom: 1rem; } .lb__prev { left: 1rem; } .lb__next { right: 1rem; } .lb__fig { padding: 3.5rem 0.5rem 5rem; } .lb__img { max-height: calc(100vh - 10rem); } }

/* ---- Video cards (src/data/videos.js, click to play) -------------------- */
.section--tight { padding-top: 0; }
.vid-grid { display: grid; gap: 1.2rem; margin-top: 1.6rem; }
@media (min-width: 640px) { .vid-grid--2, .vid-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .vid-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.vid-grid--1 { max-width: 640px; margin-left: auto; margin-right: auto; }
.vid { margin: 0; }
.vid figcaption { margin-top: 0.55rem; font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.yt__play { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.yt__play:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.yt img, .yt iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.yt__btn { position: absolute; inset: 0; display: grid; place-items: center; }
.yt__btn svg { width: 68px; height: 48px; transition: transform .15s ease; }
.yt__play:hover .yt__btn svg { transform: scale(1.08); }
.vid-more { margin-top: 1.2rem; font-weight: 700; }
