/* Canonical header + footer chrome, matching the homepage.
   Linked last so it wins over shared.css / founder.css / drone.css. */
:root { --header-h: 88px; --sws-35yr-h: 28px; }

/* 35-year celebration strip at the top of the header.
   Remove this block together with .sws-35yr markup (see HTML comment) by 2027-09-30. */
.sws-35yr {
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #12507A;
  color: #FFFFFF;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(0.7rem, 2.55vw, 0.95rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  padding: 0.42em 0.75em;
  padding-top: calc(0.42em + env(safe-area-inset-top, 0px));
  border-bottom: 2px solid #8CCF44;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 400px) {
  .sws-35yr {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (min-width: 768px) {
  .sws-35yr {
    font-size: 0.88rem;
    letter-spacing: 0.16em;
  }
}


.brand-logo {
  display: block;
  width: 110px;
  height: auto;
  max-width: 280px;
}
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--white, #fff);
  height: auto;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 4px 0 var(--lime, #8CCF44),
    0 10px 0 var(--aqua, #0A9BB4),
    0 20px 0 var(--navy, #12507A),
    0 22px 18px rgba(18, 80, 122, 0.08);
}
.site-header .inner {
  height: var(--header-h);
  width: min(1360px, calc(100% - 20px));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: nowrap;
}
.menu-toggle {
  width: 48px; height: 48px; border: 0; background: transparent;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; cursor: pointer; padding: 0; flex-shrink: 0;
}
.menu-toggle span { display: block; width: 24px; height: 3px; background: var(--navy, #12507A); border-radius: 2px; }
.header-phone, .site-nav { display: none; }
#nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.drawer {
  display: none; position: fixed;
  top: calc(var(--header-h) + var(--sws-35yr-h, 28px) + env(safe-area-inset-top, 0px) + 20px); right: 12px; left: 12px;
  background: var(--white, #fff); border: 2px solid var(--navy, #12507A); border-top: 6px solid var(--aqua, #0A9BB4);
  border-radius: var(--radius, 10px); box-shadow: var(--shadow, 0 10px 24px rgba(18,80,122,0.12)); padding: 8px; z-index: 70;
}
#nav-toggle:checked ~ .drawer { display: block; }
.drawer a {
  display: flex; align-items: center; min-height: 48px; padding: 0 14px;
  text-decoration: none; color: var(--navy, #12507A);
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  font-size: 1.2rem; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 4px;
}
.drawer-backdrop { display: none; position: fixed; inset: 0; background: rgba(18,80,122,0.35); z-index: 65; }
#nav-toggle:checked ~ .drawer-backdrop { display: block; }

.site-footer { background: var(--navy, #12507A); color: var(--white, #fff); }
.footer-stripe {
  height: 12px;
  background: var(--aqua, #0A9BB4);
  box-shadow: 0 -6px 0 var(--lime, #8CCF44);
}
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto; padding: 8px 0 28px;
  display: grid; gap: 22px;
}
.footer-phone {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800;
  font-size: 1.8rem; letter-spacing: 0.08em; color: var(--white, #fff);
  text-decoration: none; display: inline-flex; min-height: 48px; align-items: center;
}
.footer-col h3 { color: var(--white, #fff); font-size: 1.05rem; margin: 12px 0 8px; }
.footer-col a, .footer-col p { color: rgba(255,255,255,0.88); text-decoration: none; margin: 0; display: block; font-size: 0.98rem; }
.footer-col a { min-height: 44px; display: flex; align-items: center; }

.footer-hq {
  font-style: normal;
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  line-height: 1.45;
  margin-top: 8px;
  display: block;
}
.footer-col .footer-hq a {
  color: inherit;
  text-decoration: none;
  display: inline;
  min-height: 0;
  font-size: inherit;
}
.footer-col .footer-hq a:hover,
.footer-col .footer-hq a:focus {
  text-decoration: underline;
  color: inherit;
}
.legal {
  border-top: 2px solid var(--aqua, #0A9BB4); margin-top: 8px; padding: 14px 0 8px;
  color: rgba(255,255,255,0.7); font-size: 0.85rem;
}
.footer-logo { width: 168px; max-width: 300px; height: auto; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 2px solid #8CCF44; color: #fff;
  text-decoration: none; transition: background .15s, color .15s;
}
.footer-social a:hover, .footer-social a:focus { background: #8CCF44; color: #12507A; }

/* Buttons + sticky mobile CTAs: no lime fills. White with Marine Blue text;
   2px Marine Blue border (visible on light and navy). Hover inverts to
   Marine Blue fill, white text, white border. Sticky: Call = white/blue,
   Get a Quote = Marine Blue with white border. */
.btn-lime { background: #FFFFFF; color: #12507A; border-color: #12507A; }
.btn-lime:hover, .btn-lime:focus, .btn-lime:focus-visible { background: #12507A; color: #FFFFFF; border-color: #FFFFFF; }
.sticky-cta .call { background: #FFFFFF; color: #12507A; border: 2px solid #12507A; box-sizing: border-box; }
.sticky-cta .quote, .sticky-cta .quote-btn { background: #12507A; color: #FFFFFF; border: 2px solid transparent; box-sizing: border-box; box-shadow: inset 0 0 0 2px #FFFFFF; }
.sticky-cta .call:hover, .sticky-cta .call:focus-visible { background: #12507A; color: #FFFFFF; border-color: #FFFFFF; }
.sticky-cta .quote:hover, .sticky-cta .quote:focus-visible,
.sticky-cta .quote-btn:hover, .sticky-cta .quote-btn:focus-visible { background: #FFFFFF; color: #12507A; border-color: #FFFFFF; box-shadow: none; }



@media (min-width: 768px) {
  :root { --header-h: 92px; --sws-35yr-h: 32px; }
  .menu-toggle { display: none; }
  .drawer, .drawer-backdrop, #nav-toggle:checked ~ .drawer { display: none !important; }
  .site-nav {
    display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center;
    flex-wrap: nowrap;
  }
  .site-nav a {
    text-decoration: none; color: var(--navy, #12507A);
    font-family: "Barlow Condensed", sans-serif; font-weight: 700;
    font-size: 1.02rem; letter-spacing: 0.06em; text-transform: uppercase;
    min-height: 48px; display: inline-flex; align-items: center; padding: 0 9px;
    white-space: nowrap;
  }
  .header-phone {
    display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px;
    background: var(--navy, #12507A); color: var(--white, #fff); text-decoration: none;
    font-family: "Barlow Condensed", sans-serif; font-weight: 800;
    letter-spacing: 0.06em; font-size: 1.05rem; border-radius: var(--radius, 10px); flex-shrink: 0;
  }
  .brand-logo { width: 118px; }
  /* Homepage tightens nav from 768 so eight desktop items plus Locations fit */
  .site-nav a { white-space: nowrap; font-size: 0.95rem; padding: 0 7px; }
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; align-items: start; padding-bottom: 36px;
  }
  .footer-stripe { height: 14px; box-shadow: 0 -7px 0 var(--lime, #8CCF44); }
  .footer-logo { width: 200px; }
}

/* With Locations added, mid-widths need a tighter nav so items and the phone stay on one row. */
@media (min-width: 768px) and (max-width: 1199px) {
  .site-nav { gap: 0; }
  .site-nav a,
  .site-nav .nav-parent { font-size: 0.82rem; letter-spacing: 0.04em; padding: 0 5px; }
  .header-phone { font-size: 0.92rem; padding: 0 10px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .brand-logo { width: 100px; }
  .site-nav a,
  .site-nav .nav-parent { font-size: 0.72rem; padding: 0 3px; letter-spacing: 0.03em; }
  .header-phone { font-size: 0.82rem; padding: 0 8px; flex-shrink: 0; white-space: nowrap; overflow: visible; }
}


/* 768–899px: desktop nav crowds the phone and clips it to "855.70…".
   Keep the hamburger drawer and show the full, unclipped number. */
@media (min-width: 768px) and (max-width: 899px) {
  .menu-toggle { display: inline-flex !important; }
  .site-nav { display: none !important; }
  .drawer, .drawer-backdrop { display: none; }
  #nav-toggle:checked ~ .drawer { display: block !important; }
  #nav-toggle:checked ~ .drawer-backdrop { display: block !important; }
  .header-phone {
    display: inline-flex;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: visible;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    padding: 0 10px;
  }
}

@media (min-width: 1200px) {
  :root { --header-h: 104px; }
  .brand-logo { width: 128px; }
  .site-nav a { font-size: 1.02rem; padding: 0 8px; }
}
@media (min-width: 1360px) {
  .site-nav a { font-size: 1.12rem; padding: 0 14px; }
}

@media (max-width: 899px) {
  .drawer {
    max-height: calc(100dvh - var(--header-h, 72px) - var(--sws-35yr-h, 28px) - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
  html:has(#nav-toggle:checked),
  html:has(#nav-toggle:checked) body { overflow: hidden; }
}


/* Karen call-center photo beside the HighLevel quote form */
.quote-karen-wrap { max-width: 1120px; margin: 0 auto; }
.quote-with-karen {
  display: grid;
  gap: 20px;
  align-items: start;
}
.quote-with-karen .karen-photo { margin: 0; }
.quote-with-karen .karen-photo img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border-radius: 16px;
}
.quote-with-karen .quote-form-col { min-width: 0; }
@media (min-width: 900px) {
  .quote-with-karen {
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    gap: 36px;
    align-items: start;
  }
  .quote-with-karen .karen-photo {
    position: static;
  }
  .quote-with-karen .karen-photo img {
    max-height: none;
    border-radius: 18px;
  }
}

/* When Karen sits inside an existing form|sidebar split, don't squeeze the form
   into one half. Full-width Karen+form, sidebar below. */
@media (min-width: 900px) {
  .quote-split:has(.quote-with-karen),
  .wt-quote-split:has(.quote-with-karen),
  .split:has(.quote-with-karen) {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 36px;
  }
}

/* Desktop: cancel the iframe's inline min-height:1256px so HighLevel form_embed.js can size
   the iframe to the rendered form (measured ~831–973px at 1440). Do not force a fixed
   height — that left an empty gap above the footer. Phones keep the inline 1256px+ resizer
   because the consent text wraps taller. */
@media (min-width: 900px) {
  .hl-embed { min-height: 0 !important; height: auto; }
  .hl-embed iframe[src*="leadconnectorhq.com/widget/form"] {
    min-height: 0 !important;
  }
}


/* ========================================================================
   Shared hero height
   Benchmark (1440×900 / 390×844, first hero under the header): median of
   peer exterior-cleaning, home-service and franchise sites is 650px (72vh)
   on desktop and ~480px (57vh) on phones. Applied at three breakpoints so
   every page type uses the same height. Photo heroes use object-fit: cover.
   Text is never clipped: typography tightens on small screens, and a hero
   may grow past --hero-h if its copy still will not fit (min-height).
   ======================================================================== */
:root { --hero-h: 480px; }
@media (min-width: 768px)  { :root { --hero-h: 560px; } }
@media (min-width: 1024px) { :root { --hero-h: 650px; } }

/* All dedicated heroes share the same min-height. */
.surf-hero,
.cty-hero,
.pw-hero,
.wt-hero,
.fran-hero,
.prod-hero,
.sub-hero,
.loc-hero,
.shield-hero,
.drone-hero,
.cause-hero,
.page-hero,
.hero-banner,
.hero-banner.generic,
section.hero {
  box-sizing: border-box;
  min-height: var(--hero-h) !important;
}

/* Exact height + vertical centering for the standard set.
   overflow: hidden is only for photo-cover cropping, not text. */
.surf-hero,
.cty-hero,
.pw-hero,
.wt-hero,
.fran-hero,
.prod-hero,
.sub-hero,
.loc-hero,
.shield-hero,
.drone-hero,
.cause-hero,
.page-hero,
.hero-banner,
.hero-banner.generic {
  height: var(--hero-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.surf-hero > .hero-inner,
.cty-hero > .wrap,
.pw-hero > .wrap,
.fran-hero > .wrap,
.prod-hero > .wrap,
.sub-hero > .wrap,
.loc-hero > .wrap,
.shield-hero > .wrap,
.drone-hero > .wrap,
.cause-hero > .wrap,
.page-hero > .wrap {
  /* Restore the site's standard content well. width:100% here overrode
     .wrap / .hero-inner (min(1120px, calc(100% - 40px)) + auto margins)
     and pinned every hero's copy flush to the viewport edges. */
  width: min(1120px, calc(100% - 40px));
  max-width: 1120px;
  margin-inline: auto;
  box-sizing: border-box;
}

/* --- Photo-cover heroes (background or <img>) --- */
.surf-hero,
.cty-hero,
.pw-hero {
  justify-content: center;
  overflow: hidden;
  background-size: cover !important;
  background-position: center top !important;
}
.wt-hero {
  padding: 0 !important;
  line-height: 0;
  overflow: hidden;
}
.wt-hero picture,
.wt-hero img {
  display: block;
  width: 100%;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center top;
}
.hero-banner,
.hero-banner.generic {
  padding: 0 !important;
  overflow: hidden;
  position: relative;
}
.hero-banner img,
.hero-banner .banner-support,
.hero-banner.generic img,
.hero-banner.generic img.banner-support {
  display: block;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover;
  object-position: center center;
}

/* Industry / healthcare-style pages: short title strip, then the photo banner
   is the actual hero. Don't inflate the title to 650px as well. */
.page-hero:has(+ .hero-banner),
.page-hero:has(+ .hero-banner.generic) {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible;
  padding-top: 20px;
  padding-bottom: 12px;
  justify-content: flex-end;
}

/* --- Faded photo heroes (WoS, drone hub, Our Cause) --- */
.shield-hero,
.drone-hero,
.cause-hero {
  overflow: hidden;
}
.shield-hero .wos-hero-grid,
.drone-hero .drone-hero-grid,
.cause-hero .cause-hero-grid {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  align-items: center;
}
.wos-hero-photo,
.drone-hero-photo,
.cause-hero-photo {
  height: 100%;
  max-width: none;
  margin: 0 !important;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.wos-hero-photo img,
.drone-hero-photo img,
.cause-hero-photo img,
.wos-hero-photo picture,
.drone-hero-photo picture,
.cause-hero-photo picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media (min-width: 900px) {
  .wos-hero-photo,
  .drone-hero-photo,
  .cause-hero-photo {
    margin: 0 !important;
  }
}

/* --- Locations split (photo + intro). Title stays inside the 650px band;
   the photo fills only the leftover space so it cannot shove the h1
   up and out of the overflow box. Faces stay at the top of the crop. --- */
.loc-hero {
  overflow: hidden;
  justify-content: stretch;
}
.loc-hero > .wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}
.loc-hero .kicker,
.loc-hero h1 { flex: 0 0 auto; }
.loc-hero .hero-split {
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
}
.loc-hero .hero-photo {
  min-height: 0;
  height: auto;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.loc-hero .hero-photo img {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

/* --- Subscription split --- */
.sub-hero { overflow: hidden; }
.sub-hero-art,
.sub-hero-art img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* --- Founder portrait stays a circle; don't crop the face oddly --- */
.page-hero .portrait-slot img {
  object-fit: cover;
  object-position: center top;
}

/* --- Homepage: campaign (Santa media + navy band) and default (lime + Karen) --- */
section.hero {
  height: var(--hero-h);
  min-height: var(--hero-h) !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
html[data-hero="campaign"] .hero-campaign {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
html[data-hero="campaign"] .hero-campaign-media {
  aspect-ratio: auto !important;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  position: relative;
  overflow: hidden;
}
html[data-hero="campaign"] .hero-slide img,
html[data-hero="campaign"] .hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep Santa's face in frame — same crop the campaign already used. */
}
html[data-hero="default"] .hero-default {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
html[data-hero="default"] .hero-lime {
  flex: 1 1 auto;
  min-height: 0 !important;
}


/* Tablet, stacked faded-photo heroes (2-col only starts at 900px). */
@media (min-width: 768px) and (max-width: 899px) {
  .drone-hero-photo,
  .cause-hero-photo,
  .wos-hero-photo { height: 240px; max-height: 240px; }
  /* Locations keeps a two-column split from 768px; the intro + caption
     will not fit 560px without clipping, so this hero may grow. */
  .loc-hero { height: auto; overflow: visible; }
}

/* Phone typography: shrink before we ever clip a heading, button or face.
   If a hero still can't fit, it is allowed to grow (min-height only). */
@media (max-width: 767px) {
  .cty-hero { padding: 24px 0 !important; }
  .cty-hero .hero-logo { width: min(170px, 48vw) !important; margin-bottom: 8px !important; }
  .cty-hero .of { font-size: clamp(1.05rem, 4.2vw, 1.35rem) !important; }
  .cty-hero h1 { font-size: clamp(2.1rem, 11vw, 3rem) !important; }
  .cty-hero .sub { font-size: 0.95rem !important; margin-top: 8px !important; }
  .cty-hero .cta-row { margin-top: 12px !important; }

  .surf-hero { padding: 20px 0 24px !important; }
  .surf-hero .circle-before { width: min(140px, 42vw) !important; height: min(140px, 42vw) !important; }
  .surf-hero h1 { font-size: clamp(1.7rem, 8vw, 2.4rem) !important; }
  .surf-hero .subhead { font-size: clamp(1rem, 4vw, 1.25rem) !important; }
  .surf-hero .hero-inner { gap: 10px !important; }

  .loc-hero { padding: 20px 0 22px !important; overflow: visible; height: auto; }
  .loc-hero h1 { font-size: clamp(1.55rem, 6.5vw, 2rem) !important; margin-bottom: 12px !important; }
  .loc-hero .intro p { font-size: 0.95rem; line-height: 1.4; margin: 0 0 8px; }
  .loc-hero .hero-photo { max-height: none; }
  .loc-hero .hero-photo img { height: 200px; flex: 0 0 auto; object-position: center 12%; }

  .fran-hero,
  .prod-hero,
  .sub-hero,
  .shield-hero,
  .page-hero,
  .drone-hero,
  .cause-hero { padding-top: 20px !important; padding-bottom: 20px !important; }
  .fran-hero h1,
  .prod-hero h1,
  .sub-hero h1,
  .shield-hero h1,
  .page-hero h1,
  .drone-hero-text h1,
  .cause-hero h1 { font-size: clamp(1.55rem, 7vw, 2.15rem) !important; }
  .fran-hero .sub,
  .shield-hero .subhead,
  .sub-hero .subhead,
  .cause-hero .subhead,
  .drone-hero-text .subhead { font-size: 0.95rem !important; margin-bottom: 8px !important; }
  .shield-hero h1.wos-h1 { font-size: clamp(2.2rem, 12vw, 3.2rem) !important; margin-bottom: 10px !important; }

  /* Stacked faded-photo heroes: keep a moderate photo band so text+photo can
     still fit ~480px; if not, allow the section to grow. */
  .drone-hero-photo,
  .cause-hero-photo,
  .wos-hero-photo { height: 200px; max-height: 200px; }
  .drone-hero,
  .cause-hero,
  .shield-hero { overflow: visible; height: auto; }

  .sub-hero { overflow: visible; height: auto; }
  .sub-hero-art { max-height: 180px; overflow: hidden; }
  .sub-hero-art img { height: 180px; width: 100%; object-fit: cover; }
}

/* Safety: if copy still overflows a fixed-height hero, let that hero grow
   rather than clip buttons or text. JS is not required — min-height remains
   the floor. Pages that still use height:auto above already do this. */

/* ========================================================================
   Hero top alignment (AC, 2026-11-25)
   Hero copy sits at the TOP of every hero box (no vertical centering);
   horizontal alignment is unchanged. Navy/text heroes are only as tall as
   their content so nothing (copy, buttons, photo) falls below the fold at
   1440×900 or 1366×768 and there is no empty navy band under the copy.
   Full-bleed photo heroes (Surfaces, county pages, Plant Wash, Kathy
   Ireland) keep the shared --hero-h so the photo still reads; their copy is
   top-aligned inside it. section.* selectors outrank page <style> blocks.
   ======================================================================== */
section.surf-hero,
section.cty-hero,
section.pw-hero,
section.fran-hero,
section.prod-hero,
section.sub-hero,
section.loc-hero,
section.shield-hero,
section.drone-hero,
section.cause-hero,
section.page-hero {
  justify-content: flex-start !important;
}

/* Text heroes: fit the content. */
section.fran-hero,
section.prod-hero,
section.sub-hero,
section.loc-hero,
section.shield-hero:not(:has(> .hero-media)),
section.drone-hero,
section.cause-hero,
section.page-hero {
  height: auto !important;
  min-height: 0 !important;
}
section.loc-hero > .wrap {
  justify-content: flex-start !important;
  height: auto !important;
  min-height: 0 !important;
}

/* Surfaces photo hero: circle-before and H1 share a top line. */
@media (min-width: 900px) {
  section.surf-hero .hero-inner { align-items: start; }
}

/* Side-by-side heroes: text column starts at the image top. */
.page-hero > .wrap.hero-grid,
.sub-hero .wrap.hero-split { align-items: start !important; }

/* Faded-photo heroes (Wall of Shame, drone hub, Our Cause): top-aligned
   text; the photo gets its own height now that the hero is auto height. */
section.shield-hero .wos-hero-grid,
section.drone-hero .drone-hero-grid,
section.cause-hero .cause-hero-grid {
  height: auto;
  align-items: start !important;
}
section.drone-hero .drone-hero-text,
section.cause-hero .cause-hero-text,
section.shield-hero .wos-hero-text { justify-content: flex-start !important; }
@media (min-width: 900px) {
  section.shield-hero .wos-hero-photo,
  section.drone-hero .drone-hero-photo,
  section.cause-hero .cause-hero-photo {
    height: 440px;
    align-items: flex-start;
  }
}

/* Locations split: the photo fills the height of the text column instead of
   its own intrinsic height driving the hero taller than the viewport. */
@media (min-width: 768px) {
  section.loc-hero .hero-photo img {
    contain: size;
    height: auto !important;
    min-height: 0 !important;
    flex: 1 1 0;
  }
}

/* Copy now sits at the top of photo heroes, so the scrim is darkest at the
   top (was darkest at the bottom) to keep white/aqua text readable. */
section.surf-hero:not(.dh-hero)::before {
  background: linear-gradient(180deg, rgba(18,80,122,0.66) 0%, rgba(18,80,122,0.46) 45%, rgba(18,80,122,0.22) 100%);
}
section.pw-hero::before {
  background: linear-gradient(180deg, rgba(18,80,122,0.78) 0%, rgba(18,80,122,0.50) 45%, rgba(18,80,122,0.18) 100%);
}

/* Five Year Spot-Free Warranty highlight (roof-cleaning pages). v=20261126e */
.sws-warranty {
  background: #12507A;
  color: #fff;
  padding: 48px 0;
  border-top: 4px solid #8CCF44;
  border-bottom: 4px solid #0A9BB4;
  overflow-x: hidden;
  box-sizing: border-box;
}
.sws-warranty-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  justify-items: center;
}
.sws-warranty-logo {
  width: min(200px, 56vw);
  max-width: 100%;
  min-width: 0;
}
.sws-warranty-logo img,
.sws-warranty-logo picture {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin-inline: auto;
}
.sws-warranty-logo-caption {
  margin: 10px 0 0;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  max-width: 20rem;
  margin-inline: auto;
  text-wrap: pretty;
}
.sws-warranty-copy {
  min-width: 0;
  max-width: 40rem;
  width: 100%;
  box-sizing: border-box;
}
.sws-warranty-kicker {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 8px;
  font-size: 0.95rem;
}
.sws-warranty h2 {
  color: #fff;
  margin: 0 0 14px;
}
.sws-warranty-copy p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Source Sans 3", sans-serif;
  line-height: 1.55;
}
.sws-warranty .cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.sws-warranty .btn-navy {
  background: #12507A;
  color: #FFFFFF;
  /* Transparent 2px border keeps the same box as the neighboring white
     button. Inset white stroke sits on the padding edge, matching that
     white button's visible fill (its navy border disappears on navy). */
  border-color: transparent;
  box-shadow: inset 0 0 0 2px #FFFFFF;
}
.sws-warranty .btn-navy:hover, .sws-warranty .btn-navy:focus-visible {
  background: #FFFFFF;
  color: #12507A;
  border-color: #FFFFFF;
  box-shadow: none;
}

/* Terms table graphic */
.sws-warranty-terms {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: #fff;
  color: #12507A;
  border-top: 4px solid #8CCF44;
}
.sws-warranty-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0;
}
.sws-warranty-table caption {
  caption-side: top;
  background: #12507A;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(1.05rem, 4.2vw, 1.45rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 12px;
  border-bottom: 4px solid #0A9BB4;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
}
.sws-warranty-table th,
.sws-warranty-table td {
  box-sizing: border-box;
  vertical-align: middle;
  text-align: left;
  padding: 16px 14px;
  border-bottom: 2px solid #0A9BB4;
  overflow-wrap: anywhere;
}
.sws-warranty-table tbody tr:last-child th,
.sws-warranty-table tbody tr:last-child td {
  border-bottom: 0;
}
.sws-warranty-table th[scope="row"] {
  width: 36%;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #12507A;
  border-right: 3px solid #8CCF44;
}
.sws-warranty-term {
  display: block;
  font-size: clamp(0.95rem, 3.2vw, 1.15rem);
  line-height: 1.15;
}
.sws-warranty-fig {
  display: block;
  margin-top: 4px;
  color: #FFFFFF;
  font-size: clamp(1.55rem, 5.6vw, 2.15rem);
  line-height: 1;
  letter-spacing: 0.02em;
  overflow-wrap: normal;
}
.sws-warranty-table tr:first-child .sws-warranty-fig {
  color: #FFFFFF;
}
.sws-warranty-fig-sub {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}
.sws-warranty-fig-text {
  color: #FFFFFF;
  font-size: clamp(1.35rem, 4.6vw, 1.7rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0;
}
.sws-warranty-table td {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #12507A;
  background: #fff;
}
.sws-warranty-bar {
  display: flex;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 12px 12px 14px;
  box-sizing: border-box;
  background: #fff;
  list-style: none;
}
.sws-warranty-bar li {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}
.sws-warranty-bar .seg {
  display: block;
  height: 14px;
  background: #0A9BB4;
}
.sws-warranty-bar li:first-child .seg {
  background: #8CCF44;
}
.sws-warranty-bar .seg-label {
  display: block;
  margin-top: 6px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(0.58rem, 2.4vw, 0.75rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #12507A;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.sws-warranty-bar .seg-label .yr,
.sws-warranty-bar .seg-label .pct { display: block; }
.sws-warranty-notes {
  list-style: none;
  margin: 0;
  padding: 12px 14px 16px;
  background: #fff;
  border-top: 2px solid #8CCF44;
  box-sizing: border-box;
}
.sws-warranty-notes li {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(18, 80, 122, 0.82);
  margin: 0 0 6px;
}
.sws-warranty-notes li:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
  .sws-warranty-table,
  .sws-warranty-table tbody {
    display: block;
    width: 100%;
  }
  .sws-warranty-table caption {
    display: block;
  }
  .sws-warranty-table tr {
    display: block;
    width: calc(100% - 16px);
    margin: 10px 8px 0;
    box-sizing: border-box;
    border-top: 3px solid #8CCF44;
    background: #fff;
  }
  .sws-warranty-table th[scope="row"],
  .sws-warranty-table td {
    display: block;
    width: 100%;
    border: 0;
    border-right: 0;
    text-align: center;
  }
  .sws-warranty-table th[scope="row"] {
    background: #12507A;
    color: #fff;
    padding: 12px 12px 8px;
  }
  .sws-warranty-table td {
    padding: 12px 12px 14px;
  }
  .sws-warranty-table tbody tr:last-child th,
  .sws-warranty-table tbody tr:last-child td {
    border-bottom: 0;
  }
}

@media (min-width: 768px) {
  .sws-warranty-inner {
    grid-template-columns: auto 1fr;
    text-align: left;
    gap: 36px 48px;
    align-items: center;
    justify-items: stretch;
  }
  .sws-warranty-logo { width: 240px; }
  .sws-warranty-logo-caption {
    margin-inline: 0;
    max-width: none;
  }
  .sws-warranty-copy { max-width: none; }
  .sws-warranty-terms { grid-column: 1 / -1; }
  .sws-warranty .cta-row { justify-content: flex-start; }
  .sws-warranty-table th[scope="row"] { width: 30%; }
}
/* end sws-warranty */


/* When a white quote button sits with the new white/blue Call button on a
   navy field, fill the quote button Marine Blue with a white border so the
   pair stays distinguishable (same pattern as the sticky bar). */
.cty-hero .btn-white,
.loc-hero .btn-white,
.surf-hero .btn-white,
.page-hero .btn-white,
.hero-navy .btn-white,
.sws-warranty .btn-white,
.prod-hero .btn-white,
.pw-hero .btn-white,
.sub-hero .btn-white,
.cause-hero .btn-white,
.fran-hero .btn-white,
.dh-hero .btn-white,
.shield-hero .btn-white,
.cta .btn-white {
  background: #12507A;
  color: #FFFFFF;
  /* Same 2px optical inset as .sws-warranty .btn-navy (see comment there). */
  border-color: transparent;
  box-shadow: inset 0 0 0 2px #FFFFFF;
}
.cty-hero .btn-white:hover, .cty-hero .btn-white:focus-visible,
.loc-hero .btn-white:hover, .loc-hero .btn-white:focus-visible,
.surf-hero .btn-white:hover, .surf-hero .btn-white:focus-visible,
.page-hero .btn-white:hover, .page-hero .btn-white:focus-visible,
.hero-navy .btn-white:hover, .hero-navy .btn-white:focus-visible,
.sws-warranty .btn-white:hover, .sws-warranty .btn-white:focus-visible,
.prod-hero .btn-white:hover, .prod-hero .btn-white:focus-visible,
.pw-hero .btn-white:hover, .pw-hero .btn-white:focus-visible,
.sub-hero .btn-white:hover, .sub-hero .btn-white:focus-visible,
.cause-hero .btn-white:hover, .cause-hero .btn-white:focus-visible,
.fran-hero .btn-white:hover, .fran-hero .btn-white:focus-visible,
.dh-hero .btn-white:hover, .dh-hero .btn-white:focus-visible,
.shield-hero .btn-white:hover, .shield-hero .btn-white:focus-visible,
.cta .btn-white:hover, .cta .btn-white:focus-visible {
  background: #FFFFFF;
  color: #12507A;
  border-color: #FFFFFF;
  box-shadow: none;
}


/* SWS-CIRCLES (20261126k) -----------------------------------------------
   Booklet page-8 halftone circles on LARGE solid Marine Blue (#12507A) panels
   (heroes, bands, CTA blocks, footer). Lime panels get water droplets instead
   (never circles on lime). Small things stay flat: buttons, chips, stripes,
   header bar, 35-year banner, sticky mobile bar, badges, table cells.
   Tile: a wide, non-repeating-X SVG (desktop 1600, mobile 400), repeated on Y
   only and stretched to section width (background-size: 100% auto). Circles
   start larger and more present on the left (r ~9px, 7% white — 7% is the
   cap that keeps white text at 7.15:1; 12% would fall to 6.28:1) and shrink
   and fade to the right (~1.5px, ~1%). No radial overlay.
   Opt in on any future large panel with class="sws-bg-circles" or "sws-bg-droplets". */
body .sws-bg-circles,
body section.sws-warranty,
body footer.site-footer,
body section.fam,
body section.area,
body section.link-cols,
body section.counters,
body section.shield-hero,
body section.shield-section.cta,
body section.sws-sub-std,
body section.champion,
body section.business-leader,
body section.author,
body section.advisory-board,
body section.sub-hero,
body section.ready,
body section.pull,
body section.stat-band,
body section.sixx-block,
body section.prod-hero,
body section.loc-hero,
body section.contact-band,
body section.fran-hero,
body section.territory,
body section.next-state,
body aside.ask-siri,
body section.cause-hero,
body section.cobrand,
body section.dh-hero,
body div.hero-navy {
  background-color: #12507A;
  background-image: url("../patterns/sws-circles-m.svg?v=20261126k");
  background-size: 100% auto !important;
  background-position: left top !important;
  background-repeat: repeat-y !important;
}
@media (min-width: 768px) {
  body .sws-bg-circles, body section.sws-warranty, body footer.site-footer, body section.fam, body section.area, body section.link-cols, body section.counters, body section.shield-hero, body section.shield-section.cta, body section.sws-sub-std, body section.champion, body section.business-leader, body section.author, body section.advisory-board, body section.sub-hero, body section.ready, body section.pull, body section.stat-band, body section.sixx-block, body section.prod-hero, body section.loc-hero, body section.contact-band, body section.fran-hero, body section.territory, body section.next-state, body aside.ask-siri, body section.cause-hero, body section.cobrand, body section.dh-hero, body div.hero-navy {
    background-image: url("../patterns/sws-circles.svg?v=20261126k");
    background-size: 100% auto !important;
    background-position: left top !important;
    background-repeat: repeat-y !important;
  }
}
/* Founder/Our Cause/6X panels carry inline style="background:#12507A"; the image layers need !important to show through. */
body section.champion, body section.author, body section.business-leader, body section.sws-sub-std {
  background-image: url("../patterns/sws-circles-m.svg?v=20261126k") !important;
}
@media (min-width: 768px) {
  body section.champion, body section.author, body section.business-leader, body section.sws-sub-std {
    background-image: url("../patterns/sws-circles.svg?v=20261126k") !important;
  }
}
/* Lime panels: glossy water beads (transparent WebP overlay, ~47 KB) on the lime fill. */
body .sws-bg-droplets,
body .tagline-band,
body .hero-lime {
  background-color: var(--lime, #8CCF44);
  background-image: url("../patterns/sws-droplets.webp");
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
/* /SWS-CIRCLES */

/* SWS-TILES (20261126m) -------------------------------------------------
   Label + detail tiles, sitewide. EXACTLY two lines from 1440 down to 320:
   line 1 = label (larger font), line 2 = detail (smaller font, ONE line).
   Both lines are nowrap and auto-fit to the tile's own width with container
   query units: font-size = tile width / the group's widest text (in em),
   clamped between a floor and a ceiling. --t-lw / --t-dw are those widest
   label / detail widths in em (measured, see group modifiers below).
   If a detail still would not fit at its floor size at 320, shorten the words;
   never let it wrap. Never set a lime text colour here.
   Use:  <div class="sws-tile sws-tile--stat">
           <strong class="sws-tile-label">97</strong>
           <span class="sws-tile-detail">Affiliates and franchisees</span></div>
   Groups: --lg (page section headers), --stat (numbers / proof), --yr (history
   cards), --op (county operator card).
   --t-lw / --t-dw are set inline on each tile (style="--t-lw:9.4;--t-dw:17.2")
   from the widest label / detail among its siblings, in em; re-measure when
   the words change. */
.sws-tile {
  container-type: inline-size;
  min-width: 0;
  --t-lw: 10;
  --t-dw: 20;
  --t-label-min: 1.0625rem;
  --t-label-max: 1.75rem;
  --t-detail-min: 0.8125rem;
  --t-detail-max: 0.9375rem;
}
.sws-tile > .sws-tile-label {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.05 !important;
  margin: 0;
  white-space: nowrap !important;
  font-size: clamp(var(--t-label-min), calc((100cqw - var(--t-side, 0px)) / var(--t-lw)), var(--t-label-max)) !important;
}
.sws-tile > .sws-tile-detail {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.2 !important;
  margin: 6px 0 0;
  white-space: nowrap !important;
  font-size: clamp(var(--t-detail-min), calc((100cqw - var(--t-side, 0px)) / var(--t-dw)), var(--t-detail-max)) !important;
}
/* Page section headers (Founder: Champion, Author, Business Leader, Advisory) */
.sws-tile--lg {
  margin: 0 0 12px;
  color: #fff;
  --t-lw: 10;
  --t-dw: 17;
  --t-label-max: clamp(1.25rem, 0.7rem + 2.4vw, 2.35rem);
  --t-detail-max: clamp(0.8125rem, 0.7rem + 0.55vw, 1.125rem);
}
.sws-tile--lg > .sws-tile-label { text-transform: uppercase; color: #fff; }
.sws-tile--lg > .sws-tile-detail { color: #dbe9ef; font-weight: 600; }
/* Stat / proof tiles */
.sws-tile--stat { --t-lw: 8; --t-dw: 14; --t-label-min: 1rem; --t-label-max: 2.75rem; --t-detail-min: 0.8125rem; --t-detail-max: 1rem; }
/* History cards (Historical Timeline) */
.sws-tile--yr { --t-lw: 6; --t-dw: 16; --t-label-min: 1rem; --t-label-max: 1.5rem; --t-detail-min: 0.75rem; --t-detail-max: 1.0625rem; }
/* County operator card (label = "SoftWash Systems of X County") */
.sws-tile--op { --t-lw: 16; --t-dw: 21; --t-label-min: 0.8rem; --t-label-max: 2.4rem; --t-detail-min: 0.6875rem; --t-detail-max: 1rem; }
.sws-tile--op > .sws-tile-label { text-transform: uppercase; }
@media (max-width: 480px) { body .op-card { padding-left: 14px; padding-right: 14px; } }
/* Timeline rail on phones: year + node on one row, card full width underneath so
   the card text has room for one line */
@media (max-width: 480px) {
  body .yr.has-event .yr-label { grid-row: 1; }
  body .yr.has-event .yr-node { grid-row: 1; }
  body .yr.has-event .yr-events { grid-column: 1 / -1; grid-row: 2; padding-left: 0; margin-top: 8px; }
  body .yr-card.sws-tile { padding-left: 10px; padding-right: 10px; }
}
/* Two cards in the same year: breathing room between them */
.yr-events > .yr-card + .yr-card { margin-top: 10px; }
/* Long-form card (a paragraph, not a one-line detail): the detail wraps normally.
   Only the date label keeps the one-line rule. */
.sws-tile.yr-card--long > .sws-tile-detail {
  white-space: normal !important;
  overflow-wrap: anywhere;
  font-size: 1rem !important;
  line-height: 1.45 !important;
  text-wrap: pretty;
}
@media (min-width: 768px) { .sws-tile.yr-card--long > .sws-tile-detail { font-size: 1.0625rem !important; } }
/* Layout adjustments so every tile is wide enough for its one-line detail */
/* Homepage proof strip: awards line drops to its own row at tablet widths */
@media (min-width: 768px) and (max-width: 899px) {
  body .proof-grid { grid-template-columns: repeat(4, 1fr); }
  body .proof-grid .proof-awards { grid-column: 1 / -1; }
}
/* Franchising proof bar: 1 column on small phones, 3 + 2 on tablets */
@media (max-width: 519px) { body .proof-bar ul { grid-template-columns: 1fr; } }
@media (min-width: 520px) and (max-width: 767px) { body .proof-bar ul li:last-child { grid-column: 1 / -1; } }
@media (min-width: 768px) and (max-width: 1199px) {
  body .proof-bar ul { grid-template-columns: repeat(6, 1fr); }
  body .proof-bar ul li { grid-column: span 2; }
  body .proof-bar ul li:nth-child(n+4) { grid-column: span 3; }
}
/* SoftWash 6X + Products stat tiles: stack until there is room for three across */
@media (max-width: 819px) { body .sixx-stats { grid-template-columns: 1fr; } }
/* Our Cause impact tiles: one column until wide */
@media (min-width: 768px) and (max-width: 1199px) { body .impact-stats { grid-template-columns: 1fr; } }
/* County operator card: logo + text on tablets, details row underneath */
@media (min-width: 768px) and (max-width: 1023px) {
  body .op-card { grid-template-columns: 200px 1fr; }
  body .op-card > dl { grid-column: 1 / -1; }
}
/* History cards: compact text on the left, small photo thumbnail on the right.
   --t-side reserves the thumbnail column (thumb + gap) so the text still fits one line. */
.sws-tile--yr { --t-side: 74px; --t-label-max: 1.25rem; }
@media (min-width: 768px) { .sws-tile--yr { --t-side: 108px; } }
/* /SWS-TILES */


/* ========================================================================
   Desktop video fit (AC)
   In-page players (.video-frame and the video/iframe inside) must not be
   taller than the space between the sticky header (35-year strip + nav)
   and the bottom of the viewport. 16:9 is kept; the player is centered
   when the cap shrinks its width. Applies at desktop viewports only so
   phones are unchanged. Does not target full-bleed hero background
   videos (e.g. html[data-hero="campaign"] .hero-slide video).
   ======================================================================== */
@media (min-width: 1024px) {
  body .video-frame {
    width: min(100%, calc((100dvh - var(--header-h, 88px) - var(--sws-35yr-h, 28px) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px) * 16 / 9));
    max-width: 100%;
    max-height: calc(100dvh - var(--header-h, 88px) - var(--sws-35yr-h, 28px) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px);
    height: auto;
    aspect-ratio: 16 / 9;
    margin-inline: auto;
  }
  body .video-frame video,
  body .video-frame iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* Lighthouse fix 2026-11-27: WebP <picture> wrappers are layout-neutral */
picture.sws-pic{display:contents}
picture.sws-pic>source{display:none}
