/* =============================================================
   INTEGRITY ROOFING — PROPOSAL 3 "BUILT IN BRAND"
   Brand-forward, posterized, interactive landing page.
   ============================================================= */

/* ---- 0. TOKENS ------------------------------------------------ */
:root {
  --brand-blue: #1B75BB;
  --brand-blue-dark: #155C92;
  --brand-green: #8DC73F;
  --brand-green-dark: #6FA228;
  --ink: #0A0A0A;
  --ink-soft: #3D434B;
  --gray: #BCBEC0;
  --gray-soft: #E5E7EB;
  --surface: #FFFFFF;
  --surface-soft: #F5F7F9;
  --error: #dc2626;

  --font-display: 'Oswald', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-card: 0 6px 24px rgba(10, 10, 10, 0.08), 0 2px 6px rgba(10, 10, 10, 0.04);
  --shadow-lift: 0 18px 40px rgba(10, 10, 10, 0.18);

  --container: 1240px;

  --rail-w: 4px;
}

/* ---- 1. RESET / BASE ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  /* `clip` prevents horizontal scroll without creating a scroll container,
     so `position: sticky` (e.g. product image) keeps working. */
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; } /* height:auto prevents squished images when width is constrained */
svg { display: block; max-width: 100%; }

h1, h2, h3, h4, .display, .eyebrow, .badge {
  font-family: var(--font-display);
  letter-spacing: -0.005em;
  line-height: 1.05;
  margin: 0;
}

.eyebrow, .badge {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 12px;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* Global focus-visible — accessibility */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 2px;
}
.btn:focus-visible,
.storm__submit:focus-visible,
.nav__cta:focus-visible,
.modal__submit:focus-visible {
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Skip-to-content link — visually hidden until focused */
.skip-link {
  position: absolute;
  top: -200px;
  left: 8px;
  z-index: 1000;
  background: var(--brand-blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 6px;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 8px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---- 2. STICKY HEADER NAV ------------------------------------ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: 70px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-soft);
  z-index: 100;
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.is-scrolled {
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .nav__inner { padding: 0 40px; } }

.nav__logo img {
  height: 48px;
  width: auto;
}

.nav__menu {
  display: none;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 0;
  position: relative;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out-quart);
}
.nav__menu a:hover::after { transform: scaleX(1); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__phone {
  display: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--brand-blue);
  letter-spacing: 0.02em;
}
.nav__phone:hover { color: var(--brand-blue-dark); }

/* "Now Open / Closed" status widget */
.nav__status {
  display: none;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--gray-soft);
  color: var(--ink-soft);
  white-space: nowrap;
  line-height: 1;
}
.nav__status.is-open { color: var(--brand-green-dark); }
.nav__status.is-closed { color: var(--ink-soft); }
.nav__status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray);
  flex-shrink: 0;
  position: relative;
}
.nav__status.is-open .nav__status-dot { background: var(--brand-green); }
.nav__status.is-closed .nav__status-dot { background: var(--gray); }
.nav__status.is-open .nav__status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--brand-green);
  opacity: 0.5;
  animation: nav-status-pulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes nav-status-pulse {
  0%   { transform: scale(0.7); opacity: 0.55; }
  100% { transform: scale(2.0); opacity: 0; }
}
@media (min-width: 1100px) {
  .nav__status { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__status.is-open .nav__status-dot::after { animation: none !important; opacity: 0; }
}

.nav__cta {
  background: var(--brand-green);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  transition: background .2s ease, transform .2s ease;
}
.nav__cta:hover { background: var(--brand-green-dark); transform: translateY(-1px); }

.nav__hamburger {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--ink);
}
@media (min-width: 1024px) {
  .nav__menu { display: flex; }
  .nav__phone { display: inline-block; margin-right: 12px; }
  .nav__hamburger { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(85vw, 360px);
  height: 100vh;
  height: 100dvh; /* mobile URL bar shrinks the visual viewport — 100vh clips */
  background: var(--brand-blue);
  color: #fff;
  transform: translateX(100%);
  transition: transform .35s var(--ease-out-quart);
  z-index: 110;
  padding: 80px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto; /* long menus (services + areas) must scroll */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.drawer.is-open { transform: translateX(0); }
.drawer__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  color: #fff;
  display: grid; place-items: center;
}
.drawer a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.drawer .drawer__cta {
  margin-top: 18px;
  background: var(--brand-green);
  color: var(--ink);
  padding: 16px;
  text-align: center;
  border-radius: 12px;
  border-bottom: 0;
}
.backdrop {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 105;
}
.backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ---- 3. HERO — DIAGONAL SPLIT (ELEVATED) --------------------- */
.hero {
  position: relative;
  margin-top: 70px;
  /* Living gradient instead of dead-flat fill */
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(255,255,255,0.10), rgba(255,255,255,0) 46%),
    linear-gradient(150deg, var(--brand-blue) 0%, var(--brand-blue-dark) 78%);
  color: #fff;
  overflow: hidden;
  min-height: 80vh;
}
@media (min-width: 768px) { .hero { min-height: 100vh; } }

/* Blueprint grid texture layered over the whole panel (faint, behind content) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 82%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 22%, #000 82%, transparent);
  z-index: 0;
  pointer-events: none;
}

/* Ghosted rooftop motif — echoes the gray rooftops in the brand logo */
.hero__motif {
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__rooftops {
  position: absolute;
  left: -4%;
  bottom: -2%;
  width: 78%;
  height: auto;
}
.hero__rooftops path {
  fill: none;
  stroke: rgba(255,255,255,0.09);
  stroke-width: 2.5;
  stroke-linejoin: round;
}
@media (min-width: 900px) {
  .hero__motif { width: 55%; right: auto; }
  .hero__rooftops { width: 60%; }
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: inherit;
  z-index: 1;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 55% 45%; }
}

.hero__left {
  position: relative;
  padding: 56px 24px 80px;
  display: flex;
  flex-direction: column;
  /* center normally; `safe center` (progressive — browsers without it keep the
     plain `center` above) top-aligns instead of clipping the H1/logo when the
     content is taller than the panel (zoom / short viewports). */
  justify-content: center;
  justify-content: safe center;
  min-width: 0;
  z-index: 2;
}
@media (min-width: 768px) {
  .hero__left { padding: 72px 56px; }
}
@media (min-width: 900px) {
  .hero__left { padding: 96px 64px 96px 56px; }
}

.hero__right {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
.hero__right img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Brand-blue duotone tint near the seam, fading into full-color photo */
.hero__photo-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg,
    rgba(21,92,146,0.55) 0%,
    rgba(27,117,187,0.22) 18%,
    rgba(27,117,187,0) 42%);
  mix-blend-mode: multiply;
}
@media (min-width: 900px) {
  .hero__right { min-height: auto; }
  /* The confident diagonal blue wedge that joins the two halves.
     A green stripe rides the hypotenuse via a second clipped layer (::after). */
  .hero__right::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 -1px;
    width: 16%;
    background: linear-gradient(150deg, var(--brand-blue), var(--brand-blue-dark));
    clip-path: polygon(0 0, 100% 0, 0 100%, 0 100%);
    z-index: 3;
  }
  /* Brand-green accent stripe: same wedge, scaled slightly larger so only a
     few px of green shows along the diagonal edge. */
  .hero__right::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 -1px;
    width: 16%;
    /* translate the identical wedge straight right so its hypotenuse sits a
       uniform offset right of the blue wedge edge -> even-width green stripe */
    transform: translateX(9px);
    background: var(--brand-green);
    clip-path: polygon(0 0, 100% 0, 0 100%, 0 100%);
    z-index: 2;
    filter: drop-shadow(0 0 9px rgba(141,199,63,0.6));
    /* draw-in: reveal the stripe from top to bottom on load (solid mask grows height) */
    -webkit-mask-image: linear-gradient(#000, #000);
            mask-image: linear-gradient(#000, #000);
    -webkit-mask-size: 100% 0%;
            mask-size: 100% 0%;
    -webkit-mask-position: top left;
            mask-position: top left;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
  }
  body.is-loaded .hero__right::after {
    animation: hero-seam-draw 0.95s var(--ease-out-quart) 0.5s forwards;
  }
}
@keyframes hero-seam-draw {
  to { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
}
.hero__seam { display: none; } /* SVG fallback element unused; CSS wedge stripe used instead */

/* ---- Floating trust chip straddling the seam ----------------- */
.hero__chip {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(10,10,10,0.04);
  /* mobile: centered over the seam where panel meets photo */
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  max-width: calc(100% - 40px);
}
.hero__chip-badge {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--brand-green), var(--brand-green-dark));
  color: var(--ink);
}
.hero__chip-body { display: flex; flex-direction: column; line-height: 1.15; }
.hero__chip-stars { color: var(--brand-green-dark); font-size: 12px; letter-spacing: 0.12em; }
.hero__chip-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 15px;
}
.hero__chip-meta { font-size: 12px; color: var(--ink-soft); }
@media (min-width: 900px) {
  .hero__chip {
    /* Anchored over the photo (lower-right) so it never overlaps the panel
       copy — the left edge stays right of the column seam at every width. */
    left: auto;
    right: clamp(20px, 3vw, 56px);
    top: auto;
    bottom: 13%;
    transform: none;
    padding: 14px 20px;
    border-radius: 16px;
    max-width: min(360px, 34vw);
  }
  body.is-loaded .hero__chip {
    animation: hero-chip-rise 0.7s var(--ease-out-quart) 0.85s both;
  }
}
@keyframes hero-chip-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Rotated photo-corner stamp ------------------------------ */
.hero__stamp {
  position: absolute;
  z-index: 4;
  top: 18px; right: 18px;
  width: 92px; height: 92px;
  display: grid;
  place-items: center;
  color: #fff;
  transform: rotate(-12deg);
}
.hero__stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__stamp-text {
  fill: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-anchor: middle;
}
.hero__stamp::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 50%;
}
.hero__stamp-core {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--brand-green);
  text-shadow: 0 1px 6px rgba(10,10,10,0.5);
}
body.is-loaded .hero__stamp {
  animation: hero-stamp-pop 0.6s var(--ease-out-quart) 1.05s both;
}
@keyframes hero-stamp-pop {
  from { opacity: 0; transform: rotate(-12deg) scale(0.6); }
  to   { opacity: 1; transform: rotate(-12deg) scale(1); }
}
@media (max-width: 560px) {
  .hero__stamp { width: 74px; height: 74px; top: 12px; right: 12px; }
  .hero__stamp-core { font-size: 18px; }
}

/* ---- Scroll cue ---------------------------------------------- */
.hero__scroll {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
@media (min-width: 900px) {
  /* Centered near the seam (x=50%): the trust row text ends well left of here,
     so the cue never sits on top of it at any width. */
  .hero__scroll { display: inline-flex; left: 50%; bottom: 20px; }
}
/* Very short viewports have no spare room below the copy — hide the cue there. */
@media (min-width: 900px) and (max-height: 720px) {
  .hero__scroll { display: none; }
}
.hero__scroll-label {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
}
.hero__scroll-track {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-dot {
  position: absolute;
  left: 50%; top: 6px;
  width: 4px; height: 7px;
  border-radius: 3px;
  background: var(--brand-green);
  transform: translateX(-50%);
  animation: hero-scroll-bob 1.6s ease-in-out infinite;
}
.hero__scroll:hover { color: #fff; }
.hero__scroll:hover .hero__scroll-track { border-color: #fff; }
.hero__scroll:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 4px;
  border-radius: 6px;
}
@keyframes hero-scroll-bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50%      { transform: translate(-50%, 10px); opacity: 0.4; }
}

.hero__logo {
  align-self: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 22px;
  box-shadow: 0 12px 30px -12px rgba(10,10,10,0.45);
}
.hero__logo img { height: 42px; width: auto; display: block; }
@media (max-width: 767px) { .hero__logo img { height: 36px; } }

.hero__eyebrow {
  color: #fff;
  font-weight: 600;
  margin-bottom: 22px;
  opacity: 0.85;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--brand-green);
  vertical-align: middle;
  margin-right: 10px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7.4vw, 76px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 28px;
  /* long words (e.g. a location phrase) shrink-wrap instead of overflowing */
  overflow-wrap: break-word;
}
.hero__title .green { color: var(--brand-green); }
.hero__title .block { display: block; }

/* INTEGRITY — the hero word: oversized, with a green highlight-swipe drawn behind it */
.hero__title-feature {
  position: relative;
  display: inline-block;
  margin: 2px 0 4px;
}
.hero__title .hero__word {
  position: relative;
  z-index: 1;
  display: inline-block;
  /* Sized for a short PHRASE (e.g. "in Hickory,") not a single word, so it
     never outgrows the panel column at mid widths. */
  font-size: clamp(44px, 7.8vw, 82px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  color: var(--brand-green);
  max-width: 100%;
}
/* The swipe: a slanted green band that draws across behind INTEGRITY on load */
.hero__swipe {
  position: absolute;
  z-index: 0;
  left: -8px; right: -8px;
  top: 16%; bottom: 16%;
  background: linear-gradient(90deg, rgba(141,199,63,0.22), rgba(141,199,63,0.10));
  transform: skewX(-9deg) scaleX(0);
  transform-origin: left center;
  border-left: 4px solid var(--brand-green);
}
body.is-loaded .hero__swipe {
  animation: hero-swipe-draw 0.7s var(--ease-out-quart) 0.55s forwards;
}
@keyframes hero-swipe-draw {
  to { transform: skewX(-9deg) scaleX(1); }
}

/* Green ambient glow behind the primary CTA (separate from JS box-shadow pulse) */
.hero__cta-wrap {
  position: relative;
  display: inline-flex;
  border-radius: 6px;
}
.hero__cta-wrap::before {
  content: '';
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: 16px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(141,199,63,0.45), rgba(141,199,63,0) 72%);
  opacity: 0.75;
  filter: blur(6px);
  pointer-events: none;
}
.hero__cta-wrap:hover::before { opacity: 1; }
.hero__cta-wrap .btn--green { position: relative; z-index: 1; }

.hero__sub {
  font-size: 18px;
  max-width: 540px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 14px;
}
/* Friendly coverage nudge under the hero subhead — the invite in brand green. */
.hero__coverage {
  font-size: 16px;
  max-width: 560px;
  color: rgba(255,255,255,0.9);
  margin: 0 0 30px;
}
.hero__coverage .green { color: var(--brand-green); font-weight: 700; }

/* ---- Hero on SHORT / zoomed-in viewports ----
   Browser zoom and short laptops shrink the CSS viewport height; the tall H1
   would otherwise overflow the panel and collide with the trust row. Scale the
   type + tighten the vertical rhythm down as height drops so it always fits. */
@media (min-width: 900px) and (max-height: 840px) {
  .hero__logo { margin-bottom: 14px; }
  .hero__logo img { height: 40px; }
  .hero__eyebrow { margin-bottom: 12px; }
  .hero__title { font-size: clamp(38px, 4.8vw, 60px); margin-bottom: 18px; }
  .hero__title .hero__word { font-size: clamp(42px, 5.2vw, 66px); }
  .hero__sub { margin-bottom: 20px; }
  .hero__ctas { margin-bottom: 18px; }
}
@media (min-width: 900px) and (max-height: 700px) {
  .hero__logo { margin-bottom: 10px; }
  .hero__logo img { height: 34px; }
  .hero__eyebrow { margin-bottom: 8px; }
  .hero__title { font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }
  .hero__title .hero__word { font-size: clamp(34px, 4.3vw, 52px); }
  .hero__sub { margin-bottom: 14px; font-size: 16px; }
  .hero__ctas { margin-bottom: 12px; gap: 10px; }
}

/* ---- Hero on large / ultrawide screens ----
   Scale type + padding so the panel reads as intentional and full at 1440p /
   4K / ultrawide (kept modest so the longer location H1 never overflows). */
@media (min-width: 1500px) and (min-height: 841px) {
  .hero__left { padding: 96px clamp(56px, 6vw, 130px); }
  .hero__logo img { height: 50px; }
  .hero__eyebrow { font-size: 15px; letter-spacing: 0.16em; }
  .hero__title { font-size: clamp(72px, 4.6vw, 92px); }
  .hero__title .hero__word { font-size: clamp(78px, 5vw, 100px); }
  .hero__sub { font-size: clamp(18px, 1.35vw, 23px); max-width: 600px; }
  .hero__trust { font-size: 15px; }
  .hero__chip { padding: 16px 22px; }
}
@media (min-width: 2200px) and (min-height: 841px) {
  .hero { min-height: 0; height: clamp(860px, 82vh, 1080px); }
  .hero__left { padding-left: clamp(130px, 9vw, 300px); padding-right: clamp(40px, 4vw, 110px); }
  .hero__title { font-size: clamp(92px, 4.4vw, 128px); }
  .hero__title .hero__word { font-size: clamp(100px, 4.8vw, 140px); }
  .hero__sub { font-size: 25px; max-width: 720px; margin-bottom: 40px; }
  .hero__logo img { height: 62px; }
  .hero__trust { font-size: 17px; }
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  padding: 16px 28px;
  border-radius: 4px;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  border: 0;
}
.btn--green {
  background: var(--brand-green);
  color: var(--ink);
}
.btn--green:hover { background: var(--brand-green-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(141,199,63,0.4); }
.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 14px 26px;
}
.btn--outline-white:hover { background: #fff; color: var(--brand-blue); }
.btn--blue {
  background: var(--brand-blue);
  color: #fff;
}
.btn--blue:hover { background: var(--brand-blue-dark); transform: translateY(-2px); }
.btn--white {
  background: #fff;
  color: var(--brand-blue);
}
.btn--white:hover { background: var(--surface-soft); transform: translateY(-2px); }
.btn--outline-ink {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 14px 26px;
}
.btn--outline-ink:hover { background: var(--ink); color: #fff; }

.hero__trust {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero__trust .stars {
  color: var(--brand-green);
  letter-spacing: 0.08em;
}
.hero__trust .sep {
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
}
/* Drop a signal on the smallest screens to keep trust row to 1 line */
@media (max-width: 419px) {
  .hero__trust .sep:nth-of-type(2),
  .hero__trust > span:nth-of-type(5) { display: none; }
}

/* Rooftop divider — repeated motif */
.rooftop-divider {
  position: relative;
  width: 100%;
  height: 36px;
  overflow: hidden;
  background: transparent;
}
.rooftop-divider svg { width: 100%; height: 100%; display: block; }
.rooftop-divider--top { transform: scaleY(-1); }

/* ---- 4. STAT COUNTERS ---------------------------------------- */
.stats {
  background: #fff;
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-soft);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

.stat {
  text-align: center;
  padding: 24px 14px;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--gray-soft);
}
@media (max-width: 899px) {
  .stat:nth-child(odd) + .stat::before { display: block; }
  .stat:nth-child(3)::before, .stat:nth-child(4)::before {
    content: '';
    position: absolute;
    left: 12%; right: 12%; top: 0;
    height: 1px;
    background: var(--gray-soft);
  }
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 10vw, 88px);
  color: var(--brand-blue);
  line-height: 1;
  display: inline-flex;
  align-items: flex-start;
}
.stat__suffix {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 44px);
  color: var(--brand-green);
  margin-left: 4px;
  margin-top: 8px;
}
.stat__label {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: var(--ink);
}

/* ---- 5. SERVICES MOSAIC -------------------------------------- */
.services {
  padding: 80px 0 0;
}
.services__head {
  text-align: center;
  margin-bottom: 56px;
  padding: 0 24px;
}
.services__eyebrow {
  color: var(--brand-blue);
  font-weight: 700;
}
.services__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 12px;
}
.services__title .green { color: var(--brand-green); }

.mosaic {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}
@media (min-width: 700px) and (max-width: 1099px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  /* 9 tiles = odd count; let the last tile span both columns for a clean finish */
  .t9 { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .mosaic {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 260px;
  }
}

.tile {
  position: relative;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 240px;
  min-width: 0;   /* let grid items shrink to their track so content wraps, never clips */
  overflow: hidden;
  transition: transform .25s var(--ease-out-quart), box-shadow .25s ease, z-index 0s linear .25s;
}
.tile:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lift);
  z-index: 5;
  transition-delay: 0s;
}
.tile__icon {
  width: 32px;
  height: 32px;
  display: block;
  margin-bottom: 14px;
  color: currentColor;       /* inherits each tile's text color */
  flex: none;
}
.tile__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 38px);
  text-transform: uppercase;
  line-height: 1;
  overflow-wrap: break-word;   /* safety: a too-long word breaks rather than clipping */
}
.tile__desc {
  font-size: 15px;
  margin: 14px 0 22px;
  max-width: 340px;
}
.tile__link {
  margin-top: auto;          /* pin link to the bottom of the tile */
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tile__link svg { transition: transform .2s ease; }

/* ---- Whole tile is clickable (stretched link) + richer hover/focus motion ---- */
.tile { cursor: pointer; }
/* Transparent overlay tied to the tile's link makes the entire card clickable,
   while keeping a single real, accessible "Learn more" link inside. */
.tile__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.tile__icon { transition: transform .3s var(--ease-out-quart); }
.tile:hover .tile__icon,
.tile:focus-within .tile__icon { transform: translateY(-4px) scale(1.12); }
.tile:hover .tile__link svg,
.tile:focus-within .tile__link svg { transform: translateX(6px); }
/* Keyboard focus mirrors the hover lift + shows a clear ring. */
.tile:focus-within { transform: scale(1.02); box-shadow: var(--shadow-lift); z-index: 5; }
.tile__link:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 2px; }

.tile__badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

.tile--blue   { background: var(--brand-blue); color: #fff; }
.tile--green  { background: var(--brand-green); color: var(--ink); }
.tile--black  { background: var(--ink); color: #fff; }
.tile--white  { background: #fff; color: var(--ink); border: 1px solid var(--gray-soft); }
.tile--gray   { background: var(--gray); color: var(--ink); }

.tile--white .tile__name { color: var(--brand-blue); }
.tile--white .tile__name::after {
  content: '';
  display: block;
  width: 56px; height: 4px;
  background: var(--brand-green);
  margin-top: 10px;
}

/* Tile sizing — desktop mosaic positions (12-col, 9 tiles, 3 rows)
   Explicit placement guarantees no two adjacent tiles share a color.
   Storm (t3) spans rows 1-2 as the tall emphasis tile.
   Row 1: blue | white | black | green(tall)
   Row 2: gray | blue  | white | green(tall continues)
   Row 3: green | black                                                */
@media (min-width: 1100px) {
  .tile { min-height: 0; }
  .t1 { grid-column: 1 / 5;   grid-row: 1; }      /* Residential  — blue  */
  .t2 { grid-column: 5 / 8;   grid-row: 1; }      /* Commercial   — white */
  .t4 { grid-column: 8 / 10;  grid-row: 1; }      /* Insurance    — black */
  .t3 { grid-column: 10 / 13; grid-row: 1 / 3; }  /* Storm — tall — green */
  .t5 { grid-column: 1 / 5;   grid-row: 2; }      /* Inspections  — gray  */
  .t6 { grid-column: 5 / 8;   grid-row: 2; }      /* Gutters      — blue  */
  .t7 { grid-column: 8 / 10;  grid-row: 2; }      /* Repairs      — white */
  .t8 { grid-column: 1 / 6;   grid-row: 3; }      /* Siding       — green */
  .t9 { grid-column: 6 / 13;  grid-row: 3; }      /* Power Washing— black */

  /* Narrow 2-col tiles (Insurance, Repairs) can't hold the base 38px title —
     "MAINTENANCE" would overflow. Fit the title + tighten side padding so the
     longest word always sits on one line at every width from 1100px up. */
  .t4, .t7 { padding-left: 22px; padding-right: 20px; }
  .t4 .tile__name, .t7 .tile__name { font-size: clamp(19px, 1.65vw, 26px); }
  .t4 .tile__desc, .t7 .tile__desc { font-size: 14px; }
  /* 3-col tiles: gentle trim so 10-char words never crowd the edge. */
  .t2 .tile__name, .t6 .tile__name, .t3 .tile__name { font-size: clamp(24px, 2.3vw, 32px); }
}

/* ---- 6. STORM TRACKER ---------------------------------------- */
.storm {
  background: var(--brand-blue);
  color: #fff;
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.storm::before {
  content: '';
  position: absolute;
  inset: -80px -80px auto auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle at center, rgba(141,199,63,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.storm__head { text-align: center; margin-bottom: 36px; }
.storm__eyebrow { color: var(--brand-green); font-weight: 700; margin-bottom: 14px; }
.storm__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 64px);
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
}
.storm__sub {
  max-width: 620px;
  margin: 18px auto 0;
  color: rgba(255,255,255,0.9);
  font-size: 17px;
}
.storm__form {
  margin: 32px auto 0;
  max-width: 600px;
  display: flex;
  gap: 10px;
  flex-direction: column;
  padding: 0 16px;
}
@media (min-width: 600px) { .storm__form { flex-direction: row; padding: 0 24px; } }
.storm__input {
  flex: 1;
  height: 64px;
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 0 26px;
  font-size: 18px;
  font-family: var(--font-body);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.storm__input::placeholder { color: var(--ink-soft); opacity: 0.6; }
.storm__input:focus { border-color: var(--brand-green); box-shadow: 0 0 0 4px rgba(141,199,63,0.3); }
.storm__submit {
  height: 64px;
  padding: 0 30px;
  background: var(--brand-green);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
  transition: background .2s ease, transform .2s ease;
}
.storm__submit:hover { background: var(--brand-green-dark); transform: translateY(-2px); }

.storm__result {
  margin: 24px auto 0;
  max-width: 720px;
  padding: 22px 26px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  display: none;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.storm__result.is-shown { display: flex; }
.storm__result-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: var(--brand-green);
  color: var(--ink);
}
.storm__result--miss .storm__result-icon { background: #fff; color: var(--brand-blue); border: 2px solid var(--brand-blue); }
.storm__result--error .storm__result-icon { background: var(--error); color: #fff; }
.storm__result-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  flex: 1;
  min-width: 200px;
}
.storm__result .btn { margin-left: auto; flex-shrink: 0; }
@media (max-width: 599px) {
  .storm__result .btn { margin-left: 0; width: 100%; justify-content: center; }
}

.storm__note {
  text-align: center;
  margin: 24px auto 0;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  max-width: 700px;
  padding: 0 24px;
}

/* ---- 7. BEFORE / AFTER --------------------------------------- */
.beforeafter {
  background: var(--surface-soft);
  padding: 96px 0;
}
.beforeafter__head { text-align: center; margin-bottom: 48px; padding: 0 24px;}
.beforeafter__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 60px);
  text-transform: uppercase;
  color: var(--ink);
}
.beforeafter__sub { color: var(--ink-soft); margin-top: 12px; font-size: 17px; }

.ba {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  cursor: ew-resize;
  box-shadow: var(--shadow-card);
  background: #000;
}
.ba__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}
.ba__before {
  clip-path: inset(0 50% 0 0);
  -webkit-clip-path: inset(0 50% 0 0);
  transition: clip-path .15s ease-out, -webkit-clip-path .15s ease-out;
  will-change: clip-path;
}
.ba__handle { transition: left .15s ease-out; will-change: left; }
.ba__pill {
  position: absolute;
  top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  z-index: 4;
}
.ba__pill--before { left: 18px; background: var(--brand-blue); }
.ba__pill--after { right: 18px; background: var(--brand-green); color: var(--ink); }

.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 0 30px rgba(0,0,0,.5);
  transform: translateX(-50%);
  z-index: 5;
  cursor: ew-resize;
}
.ba__grab {
  position: absolute;
  top: 50%; left: 50%;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-blue);
  box-shadow: 0 6px 14px rgba(0,0,0,.3);
}
.ba__grab svg { width: 22px; height: 22px; display: block; }

/* ---- 8. PROCESS — VERTICAL SPINE ----------------------------- */
.process {
  background: #fff;
  padding: 96px 0;
}
.process__head { text-align: center; margin-bottom: 64px; padding: 0 24px; }
.process__eyebrow { color: var(--brand-blue); font-weight: 700; }
.process__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 60px);
  text-transform: uppercase;
  margin-top: 12px;
}

.timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}
/* Spine drawn as per-step connectors (node N -> node N+1) so it terminates
   at the LAST node instead of trailing past it into step 4's text. */
.tstep::before {
  content: '';
  position: absolute;
  left: 0;             /* aligns with the node (mobile) */
  top: 30px;           /* node vertical centre (60px node at top:0) */
  bottom: -86px;       /* reach next node centre: margin-bottom 56 + half-node 30 */
  width: 3px;
  background: var(--brand-blue);
  z-index: 0;
}
.tstep:last-child::before { display: none; }
.tstep {
  position: relative;
  padding-left: 80px;
  margin-bottom: 56px;
  min-height: 60px;
}
.tstep:last-child { margin-bottom: 0; }
.tstep__node {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px; height: 60px;
  background: var(--brand-green);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 26px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--brand-blue);
  z-index: 2;
}
.tstep__eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: var(--brand-blue);
  margin-bottom: 6px;
  display: block;
}
.tstep__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}
.tstep__desc { color: var(--ink-soft); font-size: 16px; max-width: 540px; }

@media (min-width: 900px) {
  /* Desktop alternates sides; every node sits on the centre line, so the
     connector rides each step's inner edge and reaches down 94px (margin 64 +
     half-node 30) to the next node. */
  .tstep:not(.tstep--right)::before { left: auto; right: -1.5px; bottom: -94px; }
  .tstep--right::before { left: -1.5px; bottom: -94px; }
  .tstep {
    width: 50%;
    padding-left: 0;
    padding-right: 60px;
    margin-bottom: 64px;
    min-height: 100px;
  }
  .tstep__node {
    left: auto;
    right: -30px;
    top: 0;
  }
  .tstep--right {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 60px;
    text-align: left;
  }
  .tstep--right .tstep__node { right: auto; left: -30px; }
  .tstep:not(.tstep--right) {
    text-align: right;
  }
  .tstep:not(.tstep--right) .tstep__desc { margin-left: auto; }
}

/* ---- 9. TESTIMONIALS — SCROLL-SNAP CAROUSEL ------------------ */
.testimonials {
  background: var(--ink);
  color: #fff;
  padding: 96px 0 84px;
  overflow: hidden;
}
.testimonials__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  padding: 0 24px;
  max-width: var(--container);
  margin-left: auto; margin-right: auto;
}
.testimonials__title-wrap { max-width: 700px; }
.testimonials__eyebrow { color: var(--brand-green); font-weight: 700; }
.testimonials__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 56px);
  text-transform: uppercase;
  color: #fff;
  margin-top: 10px;
}
.testimonials__sub {
  color: rgba(255,255,255,0.7);
  margin-top: 14px;
  font-size: 17px;
}
.testimonials__arrows { display: flex; gap: 10px; }
.tarrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.tarrow:hover { background: var(--brand-blue-dark); transform: translateY(-2px); }

.tcarousel {
  display: flex;
  align-items: stretch;      /* uniform card heights (clamped body caps the tallest) */
  gap: 32px;                 /* more breathing room between cards */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 24px;
  scroll-behavior: smooth;
  padding: 0 24px 28px;
  scrollbar-width: none;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.tcarousel::-webkit-scrollbar { display: none; }
.tcarousel.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.tcard {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  border-top: 4px solid var(--brand-blue);
  padding: 36px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .22s var(--ease-out-quart), box-shadow .22s ease;
}
@media (min-width: 768px) { .tcard { flex: 0 0 380px; } }
.tcard:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -20px rgba(0,0,0,0.55); }

.tcard__quote {
  position: absolute;
  top: 18px;
  left: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  color: var(--brand-blue);
  opacity: 0.18;
}
.tcard__body {
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.6;
  margin: 18px 0 22px;
  /* Clamp long reviews to a uniform, de-cluttered height. The card links to the
     full reviews page; the fade signals there's more. */
  display: -webkit-box;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}
.tcard__more {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: -6px 0 18px;
  opacity: 0;
  transition: opacity .2s ease;
}
.tcard:hover .tcard__more,
.tcard:focus-within .tcard__more { opacity: 1; }
.tcard { cursor: pointer; }
.tcard__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
/* Touch devices have no hover — always show the "read full review" cue there. */
@media (hover: none) { .tcard__more { opacity: 1; } }

/* ---- Full-review popup ---- */
.tmodal {
  position: fixed; inset: 0; z-index: 1100; display: none;
  align-items: center; justify-content: center;
  background: rgba(10,10,10,0.78); padding: 5vh 20px;
  opacity: 0; transition: opacity 0.2s ease;
}
.tmodal.is-open { display: flex; opacity: 1; }
.tmodal__box {
  position: relative; background: #fff; color: var(--ink);
  border-radius: 18px; border-top: 5px solid var(--brand-blue);
  max-width: 620px; width: 100%; max-height: 86vh; overflow-y: auto;
  padding: 44px 40px 34px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.tmodal__close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
  border-radius: 50%; border: 0; background: var(--surface-soft); color: var(--ink);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.tmodal__close:hover, .tmodal__close:focus { background: var(--brand-green); }
.tmodal__qmark {
  font-family: var(--font-display); font-weight: 700; font-size: 60px; line-height: 0.5;
  color: var(--brand-blue); opacity: 0.18; display: block; margin-bottom: 8px;
}
.tmodal__stars { color: var(--green-ink); font-size: 20px; letter-spacing: 0.1em; margin: 4px 0 18px; }
.tmodal__body { font-size: 17px; line-height: 1.75; color: var(--ink); }
.tmodal__meta { display: flex; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.tmodal__name {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink);
}
.tcard__stars {
  color: var(--brand-green);
  font-size: 18px;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.tcard__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
}
.tcard__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tcard__pill {
  background: var(--surface-soft);
  color: var(--brand-blue-dark);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
}

.tdots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}
.tdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(141,199,63,0.35);
  transition: transform .2s ease, background .2s ease;
  cursor: pointer;
  padding: 0;
  border: 0;
}
.tdot:hover { background: rgba(141,199,63,0.7); }
.tdot.is-active {
  background: var(--brand-green);
  transform: scale(1.4);
}

/* ---- 10. PARTNERS -------------------------------------------- */
.partners {
  background: #fff;
  padding: 64px 0;
  border-top: 1px solid var(--gray-soft);
  border-bottom: 1px solid var(--gray-soft);
}
.partners__head { text-align: center; margin-bottom: 28px; padding: 0 24px; }
.partners__eyebrow { color: var(--brand-blue); font-weight: 700; }
.partners__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 0 24px;
}
.partner {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color .25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.partner:hover { color: var(--brand-blue); }
.partner .star { color: inherit; }
/* Real review badges recovered from the client's live site */
.partner-badge-img {
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform .25s ease;
}
.partner-badge-img:hover { transform: translateY(-2px); }

/* ---- 11. SERVICE AREA ---------------------------------------- */
.area {
  background: var(--surface-soft);
  padding: 96px 0;
}
.area__head { text-align: center; margin-bottom: 56px; padding: 0 24px; }
.area__eyebrow { color: var(--brand-blue); font-weight: 700; }
.area__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 60px);
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 12px;
}
.area__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
}
@media (min-width: 900px) { .area__grid { grid-template-columns: 1fr 1fr; gap: 48px; } }

.area__map {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}
/* Interactive Leaflet service-area map */
.area-map {
  position: relative;
  z-index: 0;                 /* keep below nav (100) + modal (200) */
  width: 100%;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-soft);
  isolation: isolate;          /* contain Leaflet panes' stacking context */
}
.area-map .leaflet-pane,
.area-map .leaflet-top,
.area-map .leaflet-bottom { z-index: 1; }
.area-map .leaflet-control-zoom a {
  color: var(--brand-blue);
  font-weight: 700;
}
.area-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--ink);
}
.area-map__key { display: inline-flex; align-items: center; gap: 8px; }
.area-map__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
}
.area-map__dot--hq { background: var(--brand-blue); width: 16px; height: 16px; }
.area-map__dot--served { background: var(--brand-green); }
.leaflet-popup-content { font-family: var(--font-body, "Open Sans", sans-serif); font-size: 13px; }
.leaflet-popup-content strong { font-family: var(--font-display, "Oswald", sans-serif); color: var(--brand-blue); }
@media (max-width: 899px) {
  .area-map { height: 300px; }
}
.area__lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--gray-soft);
}
.area__list h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  margin-bottom: 10px;
}
.area__list ul { margin: 0; padding: 0; list-style: none; }
.area__list li {
  font-size: 14px;
  color: var(--ink);
  padding: 3px 0;
}

.area__iframe-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  border-radius: 16px;
  display: block;
}

/* ---- 12. FINAL CTA ------------------------------------------- */
.finalcta {
  background: var(--brand-green);
  color: var(--ink);
  padding: 96px 24px;
  text-align: center;
}
.finalcta__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 80px);
  text-transform: uppercase;
  line-height: 0.95;
  max-width: 900px;
  margin: 0 auto;
}
.finalcta__sub {
  font-size: 18px;
  max-width: 660px;
  margin: 24px auto 32px;
  color: var(--ink);
}
.finalcta__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- 13. FOOTER ---------------------------------------------- */
.footer {
  background: #fff;
  border-top: 3px solid var(--brand-blue);
  padding: 72px 0 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  margin-bottom: 16px;
}
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-bottom: 8px; font-size: 14px; color: var(--ink-soft); }
.footer li a { color: var(--ink-soft); transition: color .15s ease; }
.footer li a:hover { color: var(--brand-blue); }

.footer__brand img { height: 56px; width: auto; margin-bottom: 16px; }
.footer__tag {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 320px;
}
.footer__socials { display: flex; gap: 10px; }
.fsoc {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-blue);
  color: var(--brand-blue);
  display: grid; place-items: center;
  transition: background .2s ease, color .2s ease;
}
.fsoc:hover { background: var(--brand-green); color: var(--ink); border-color: var(--brand-green); }

.footer__nap address { font-style: normal; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.footer__nap a { color: var(--brand-blue); }
.footer__nap a:hover { color: var(--brand-blue-dark); }

.footer__bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--gray-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-soft);
}
.footer__bottom a { color: var(--ink-soft); margin-right: 14px; }
.footer__bottom a:hover { color: var(--brand-blue); }

/* ---- 13b. BOOK PAGE ------------------------------------------ */
/* Two-column booking layout used by the /book/ page content. */
.book-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; margin-top: 8px; }
/* Break out of the 760px prose column — the booking layout wants room. */
.entry-content > .book-wrap { max-width: 1120px; }
@media (max-width: 900px) { .book-wrap { grid-template-columns: 1fr; } }
.book-main { background: #fff; border-radius: 18px; border-top: 4px solid var(--brand-blue); box-shadow: 0 14px 40px rgba(15, 40, 68, 0.10); padding: 30px 28px; }
.book-main > h2 { margin-top: 0; }
.book-trust { color: var(--ink-soft); font-size: 14px; margin-top: 14px; }
.book-side { display: flex; flex-direction: column; gap: 20px; }
.book-card { background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(15, 40, 68, 0.08); padding: 22px 22px; }
.book-card--accent { background: linear-gradient(160deg, var(--brand-blue), #0d3a66); color: #fff; }
.book-card--accent a.btn { margin-top: 10px; }
.book-card h3, .prose .book-card h3 { margin: 4px 0 8px; font-size: 19px; }
.book-card--accent h3, .prose .book-card--accent h3 { color: #fff; }
.book-card--accent p { color: rgba(255, 255, 255, 0.88); }
.book-hours { width: 100%; font-size: 14px; border-collapse: collapse; margin-top: 10px; }
.book-hours th { text-align: left; font-weight: 600; padding: 6px 0; }
.book-hours td { text-align: right; padding: 6px 0; }
.book-card--accent .book-hours th, .book-card--accent .book-hours td { color: rgba(255, 255, 255, 0.92); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.book-steps { list-style: none; margin: 0; padding: 0; counter-reset: bookstep; }
.book-steps li { position: relative; padding: 0 0 14px 44px; counter-increment: bookstep; }
.book-steps li::before { content: counter(bookstep); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-green); color: var(--ink); font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.book-steps strong { display: block; }
.book-badge img { max-width: 200px; height: auto; display: block; margin: 0 auto; }
/* Buttons inside book cards must not inherit prose link styling. */
.book-wrap .btn { text-decoration: none; }
.book-card--accent .btn--green { color: var(--ink); }

/* ---- 14. MODAL ----------------------------------------------- */
.modal {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .2s ease;
}
.modal.is-open { display: flex; opacity: 1; }
.modal__dialog {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  max-height: calc(100dvh - 24px); /* vh ignores the mobile URL bar; dvh doesn't */
  overflow-y: auto;
  padding: 32px 28px 28px;
  border-top: 4px solid var(--brand-blue);
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  transform: translateY(20px);
  transition: transform .25s var(--ease-out-quart);
}
.modal.is-open .modal__dialog { transform: translateY(0); }
.modal__close {
  /* Sticky, not absolute: the dialog scrolls on small screens and an
     absolutely-positioned button scrolls away with the content. */
  position: sticky;
  top: 0;
  float: right;
  margin: -16px -12px 0 12px;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background .15s ease;
}
.modal__close:hover { background: var(--surface-soft); }
.modal__close > * { pointer-events: none; }
@media (max-width: 640px) {
  /* Small screens: give the dialog nearly the whole visual viewport. */
  .modal { padding: 10px; }
  .modal__dialog { padding: 22px 18px 18px; max-height: calc(100dvh - 20px); }
}
.modal__eyebrow {
  color: var(--brand-blue);
  font-weight: 700;
}
.modal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  text-transform: none;
  color: var(--ink);
  margin: 8px 0 22px;
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--gray-soft);
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(27,117,187,0.18);
}
.field.is-error input,
.field.is-error select,
.field.is-error textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}
.field.is-valid input,
.field.is-valid select,
.field.is-valid textarea {
  border-color: var(--brand-green);
}
.field__error {
  display: none;
  font-size: 12px;
  color: var(--error);
  margin-top: 4px;
}
.field.is-error .field__error { display: block; }

.modal__submit {
  width: 100%;
  background: var(--brand-green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 15px;
  padding: 16px;
  border-radius: 10px;
  transition: background .2s ease, opacity .2s ease;
}
.modal__submit:hover { background: var(--brand-green-dark); }
.modal__submit:disabled { background: var(--gray); cursor: not-allowed; }

.modal__trust {
  margin-top: 14px;
  font-size: 12px;
  color: var(--brand-blue);
  text-align: center;
}

.modal__success {
  display: none;
  text-align: center;
  padding: 22px 8px 6px;
}
.modal__success.is-shown { display: block; }
.modal__check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  display: grid; place-items: center;
  margin: 0 auto 18px;
}
.modal__success h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 10px;
}
.modal__success p { color: var(--ink-soft); font-size: 15px; }

/* ---- 15. MOBILE STICKY BAR ----------------------------------- */
.mobar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  z-index: 90;
  padding-bottom: env(safe-area-inset-bottom);
}
.mobar a {
  flex: 1;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
}
.mobar__call { background: var(--brand-blue); color: #fff; }
.mobar__quote { background: var(--brand-green); color: var(--ink); }
@media (min-width: 768px) { .mobar { display: none; } }

/* Add bottom padding so content not hidden behind sticky bar */
@media (max-width: 767px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}

/* ---- 16. STICKY PROGRESS RAIL -------------------------------- */
.rail {
  position: fixed;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: var(--rail-w);
  height: 70vh;
  background: var(--gray-soft);
  border-radius: var(--rail-w);
  z-index: 80;
  display: none;
  overflow: hidden;
}
.rail__fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-green) 0%, var(--brand-blue) 100%);
  border-radius: var(--rail-w);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .08s linear;
}
@media (min-width: 1024px) { .rail { display: block; } }

/* ---- REVEAL animations --------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out-quart), transform .7s var(--ease-out-quart);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   SIGNATURE CREATIVE ADDITIONS — Proposal 3
============================================================ */

/* ---- 17. HERO PARALLAX --------------------------------------- */
/* No permanent will-change here: app.js promotes the hero halves only
   while the parallax is active and releases them once scrolled past,
   so the two viewport-scale layers (incl. the LCP image) don't hold
   GPU memory for the whole visit. */

/* ---- 18. HERO ENTRANCE CHOREOGRAPHY -------------------------- */
/* Desktop-only: on phones the staggered reveal held the H1 (the mobile LCP
   element) at opacity:0 for seconds on slow connections — mobile paints
   instantly instead and keeps only the swipe accent. */
@media (min-width: 961px) {
  .hero-stagger {
    opacity: 0;
    transform: translateY(18px);
  }
  body.is-loaded .hero-stagger {
    animation: hero-rise 0.7s var(--ease-out-quart) forwards;
    animation-delay: calc(100ms + var(--stagger, 0) * 130ms);
  }
}
@keyframes hero-rise {
  to { opacity: 1; transform: none; }
}

/* ---- 19. ROOFTOP DIVIDER DRAW-ON-SCROLL ---------------------- */
.rooftop-divider.is-animated svg path {
  fill: transparent;
  stroke: #1B75BB;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  transition: stroke-dashoffset 1200ms var(--ease-out-quart), fill 600ms ease 800ms;
}
.rooftop-divider.is-animated.is-drawn svg path {
  stroke-dashoffset: 0;
}
/* Once drawn, restore the original filled silhouette so the rhythm stays */
.rooftop-divider.is-animated.is-drawn svg path {
  fill: #BCBEC0;
  fill-opacity: 0.35;
}
.rooftop-divider.rooftop-divider--top.is-animated.is-drawn svg path {
  fill: #1B75BB;
  fill-opacity: 0.7;
  stroke: #1B75BB;
}

/* ---- 20. SHINGLE COLOR PICKER -------------------------------- */
.shingle {
  background: #fff;
  padding: 96px 0 88px;
  border-top: 1px solid var(--gray-soft);
  margin-top: 64px;
}
.shingle__head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.shingle__eyebrow { color: var(--brand-blue); font-weight: 700; }
.shingle__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5.4vw, 56px);
  text-transform: uppercase;
  margin-top: 12px;
  line-height: 1.02;
}
.shingle__title .green { color: var(--brand-green); }
.shingle__sub {
  color: var(--ink-soft);
  font-size: 17px;
  margin-top: 16px;
}

/* Series switcher pills (Landmark / Presidential Shake / Grand Manor / …) */
.shingle__series {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 1080px; margin: 0 auto 34px; padding: 0 24px;
}
.shingle__series-btn {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; font-size: 13px; cursor: pointer; white-space: nowrap;
  padding: 10px 18px; border-radius: 999px;
  background: #fff; color: var(--ink-soft); border: 2px solid var(--gray-soft);
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.shingle__series-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); transform: translateY(-1px); }
.shingle__series-btn.is-active {
  background: var(--brand-blue); border-color: var(--brand-blue); color: #fff;
  box-shadow: 0 6px 16px rgba(27,117,187,0.28);
}

.shingle__stage {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}
@media (min-width: 980px) {
  .shingle__stage { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; }
}

.shingle__photo-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16/10;
  isolation: isolate;
  /* Stay a fixed 16/10 box regardless of how many colour chips the chosen
     series has — without this the grid stretches the preview to match the
     controls column, so the image looked a different size per series. */
  align-self: start;
}

.shingle__cta { text-align: center; margin-top: 36px; padding: 0 24px; }
.shingle__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shingle__tag {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(10,10,10,0.78);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  border-left: 3px solid var(--brand-green);
}

.shingle__controls {
  background: var(--surface-soft);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--gray-soft);
}
.shingle__swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  align-items: start;
}
.shingle__swatches .swatch { flex: 0 0 78px; min-width: 0; }
@media (max-width: 520px) {
  .shingle__swatches { gap: 10px; }
  .shingle__swatches .swatch { flex-basis: 66px; }
  .swatch__name { max-width: 66px; }
}
.swatch {
  background: transparent;
  padding: 6px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border-radius: 12px;
  transition: transform .2s var(--ease-out-quart);
}
.swatch:hover { transform: translateY(-2px); }
.swatch__chip {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: block;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 6px 14px rgba(10,10,10,0.22);
  position: relative;
  border: 3px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
@media (max-width: 520px) {
  .swatch__chip { width: 48px; height: 48px; }
}
.swatch.is-active .swatch__chip {
  border-color: var(--brand-blue);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 0 0 3px #fff, 0 0 0 6px var(--brand-blue), 0 8px 18px rgba(27,117,187,0.35);
  transform: scale(1.04);
}
.swatch__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--ink);
  line-height: 1.2;
  max-width: 78px;
  overflow-wrap: break-word;
}
.swatch.is-active .swatch__name { color: var(--brand-blue); }

.shingle__readout {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--gray-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.shingle__readout strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.shingle__more {
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.shingle__more:hover { color: var(--brand-blue-dark); }
.shingle__more svg { transition: transform .2s ease; }
.shingle__more:hover svg { transform: translateX(3px); }

/* ---- 21. SHINGLE PICKER DISCLAIMER --------------------------- */
.shingle__disclaimer {
  font-family: var(--font-body, 'Open Sans', sans-serif);
  font-size: 12px;
  font-style: italic;
  color: var(--ink-soft);
  margin: 8px 0 0;
  width: 100%;
}

/* ---- 22. STAT 0% PULSE --------------------------------------- */
@keyframes stat-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
.stat__suffix--pulse {
  display: inline-block;
  transform-origin: 50% 60%;
  animation: stat-pulse 2.4s ease-in-out infinite;
}

/* ---- 23. RAIL SECTION LABEL ---------------------------------- */
.rail__label {
  position: absolute;
  left: calc(var(--rail-w) + 12px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .3s ease, transform .3s var(--ease-out-quart);
  pointer-events: none;
  background: rgba(255,255,255,0.92);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--gray-soft);
  backdrop-filter: blur(4px);
}
.rail__label.is-shown {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ---- 24. BEFORE/AFTER DRAG STATE ----------------------------- */
.ba.is-dragging { cursor: grabbing; }
.ba.is-dragging .ba__grab {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35), inset 0 0 0 3px rgba(27,117,187,0.55);
  color: var(--brand-blue-dark);
  transition: transform .15s var(--ease-out-quart), box-shadow .15s ease;
}

/* ---- 25. SERVICE MOSAIC STAGGERED TILE REVEAL ---------------- */
.tile {
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity .55s var(--ease-out-quart), transform .55s var(--ease-out-quart), box-shadow .25s ease;
}
.mosaic.is-in .tile {
  opacity: 1;
  transform: none;
}
.mosaic.is-in .t1 { transition-delay: 0ms; }
.mosaic.is-in .t2 { transition-delay: 80ms; }
.mosaic.is-in .t3 { transition-delay: 160ms; }
.mosaic.is-in .t4 { transition-delay: 240ms; }
.mosaic.is-in .t5 { transition-delay: 320ms; }
.mosaic.is-in .t6 { transition-delay: 400ms; }
.mosaic.is-in .t7 { transition-delay: 480ms; }
.mosaic.is-in .t8 { transition-delay: 560ms; }
.mosaic.is-in .t9 { transition-delay: 640ms; }

/* ---- REDUCED MOTION (applies to all additions) --------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-stagger { opacity: 1; transform: none; animation: none !important; }
  .rooftop-divider.is-animated svg path {
    stroke-dashoffset: 0;
    fill: #BCBEC0;
    fill-opacity: 0.35;
    stroke: transparent;
  }
  .rooftop-divider.rooftop-divider--top.is-animated svg path {
    fill: #1B75BB;
    fill-opacity: 0.7;
  }
  .tile { opacity: 1; transform: none; }
  .stat__suffix--pulse { animation: none !important; }
  .hero__left, .hero__right { transform: none !important; }
  .btn.is-brand-pulse { animation: none !important; }

  /* Hero elevation additions: show final states, no motion */
  .hero__right::after { -webkit-mask-size: 100% 100% !important; mask-size: 100% 100% !important; animation: none !important; }
  .hero__swipe { transform: skewX(-9deg) scaleX(1) !important; animation: none !important; }
  .hero__chip { opacity: 1 !important; transform: translateX(-50%) !important; animation: none !important; }
  .hero__stamp { opacity: 1 !important; animation: none !important; }
  .hero__scroll-dot { animation: none !important; top: 50%; transform: translate(-50%, -50%); }
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
  .hero__chip { transform: none !important; }
}

/* ---- 26. HERO CTA "BRAND PULSE" (after idle, once per session) ---- */
@keyframes brand-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(141,199,63,0.5); }
  100% { box-shadow: 0 0 0 14px rgba(141,199,63,0); }
}
.btn.is-brand-pulse {
  animation: brand-pulse 1.5s ease-out 3;
}

/* ---- 27. MODAL SUCCESS EMAIL FALLBACK ---- */
.modal__success-fallback {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
}
.modal__success-fallback a {
  color: var(--brand-blue);
  font-weight: 700;
}
.modal__success-fallback a:hover { color: var(--brand-blue-dark); }

/* ---- 28. PRINT-ONLY BLOCK (screen-hidden by default) ---- */
.print-only { display: none; }

/* ============================================================
   29. PRINT STYLESHEET
============================================================ */
@media print {
  /* Reset surfaces — everything white, dark ink */
  html, body {
    background: #fff !important;
    color: #000 !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body { font-size: 11pt !important; line-height: 1.4 !important; }

  /* Hide interactive / decorative chrome */
  .nav,
  .mobar,
  .drawer,
  .backdrop,
  .modal,
  .rail,
  .rooftop-divider,
  .area__iframe-wrap,
  .area-map,
  .area-map__legend,
  .testimonials__arrows,
  .tdots,
  .nav__hamburger,
  .nav__status,
  .hero__ctas,
  .finalcta__ctas,
  .footer__socials {
    display: none !important;
  }

  /* Storm tracker — keep heading + body, hide form */
  .storm__form,
  .storm__result,
  #stormForm,
  #stormInput,
  #stormResult { display: none !important; }

  /* Shingle picker — keep title + photo, hide swatches/readout */
  .shingle__controls,
  .shingle__swatches,
  .shingle__readout,
  .shingle__disclaimer,
  .shingle__tag,
  .shingle__more { display: none !important; }
  .shingle__stage { display: block !important; }
  .shingle__photo-wrap {
    box-shadow: none !important;
    background: transparent !important;
    border: 1px solid #999 !important;
    border-radius: 0 !important;
    page-break-inside: avoid;
  }

  /* Kill scroll reveals + animations */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
  }
  .reveal,
  .hero-stagger,
  .mosaic .tile {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Strip dark / brand color blocks — render as bordered white */
  .hero,
  .storm,
  .testimonials,
  .finalcta,
  .tile,
  .tile--blue,
  .tile--green,
  .tile--black,
  .tile--gray,
  .tile--white {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #999 !important;
    padding: 14pt !important;
    min-height: 0 !important;
  }
  .hero__title,
  .hero__title .green,
  .hero__sub,
  .hero__trust,
  .hero__eyebrow,
  .storm__title,
  .storm__sub,
  .storm__note,
  .storm__eyebrow,
  .testimonials__title,
  .testimonials__sub,
  .testimonials__eyebrow,
  .finalcta__title,
  .finalcta__sub,
  .tile__name,
  .tile__desc,
  .tcard__name,
  .tcard__pill,
  .tcard__body {
    color: #000 !important;
  }
  .tile__badge {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #666 !important;
  }
  .tile--white .tile__name::after { background: #000 !important; height: 2px !important; }

  /* Hero — flatten the diagonal split into stacked block */
  .hero { margin-top: 0 !important; min-height: 0 !important; }
  .hero__grid {
    display: block !important;
    grid-template-columns: none !important;
  }
  .hero__left,
  .hero__right {
    padding: 0 !important;
    margin: 0 0 12pt !important;
    min-height: 0 !important;
    width: 100% !important;
  }
  .hero__right { display: none !important; }
  .hero__right::before { display: none !important; }

  /* Layout: page is sectioned */
  section, footer { page-break-inside: auto; }
  .tcard,
  .tile,
  .tstep,
  .area__map,
  .footer__grid > * {
    page-break-inside: avoid;
  }

  /* Stats — keep but flatten */
  .stats { padding: 12pt 0 !important; border-bottom: 1px solid #999 !important; }
  .stat__num, .stat__suffix { color: #000 !important; }

  /* Process timeline — render as simple stacked list */
  .timeline::before { display: none !important; }
  .tstep,
  .tstep--right {
    width: 100% !important;
    margin: 0 0 10pt !important;
    padding: 8pt 0 8pt 50pt !important;
    text-align: left !important;
    min-height: 0 !important;
  }
  .tstep__node {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 8pt !important;
    width: 36pt !important; height: 36pt !important;
    font-size: 16pt !important;
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    box-shadow: none !important;
  }
  .tstep__desc { color: #000 !important; max-width: none !important; margin-left: 0 !important; }

  /* Testimonials — stack cards */
  .tcarousel {
    display: block !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  .tcard {
    flex: none !important;
    width: 100% !important;
    margin: 0 0 8pt !important;
    border-radius: 0 !important;
    border: 1px solid #999 !important;
    border-top: 2px solid #000 !important;
    padding: 10pt !important;
  }
  .tcard__quote { display: none !important; }
  .tcard__stars { color: #000 !important; }

  /* Mosaic — stack tiles */
  .mosaic {
    display: block !important;
    grid-template-columns: none !important;
  }
  .tile {
    margin: 0 0 8pt !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: block !important;
  }

  /* Area — keep map SVG + lists, kill iframe */
  .area { background: #fff !important; padding: 12pt 0 !important; }
  .area__grid { display: block !important; }

  /* Partners — render compact */
  .partners { padding: 10pt 0 !important; }
  .partner { color: #000 !important; }

  /* Footer */
  .footer {
    background: #fff !important;
    border-top: 1px solid #000 !important;
    padding: 12pt 0 0 !important;
  }
  .footer h3,
  .footer__nap a,
  .footer li,
  .footer li a { color: #000 !important; }

  /* Links — show URL after anchors with hrefs (optional, keep subtle) */
  a[href^="tel:"]::after,
  a[href^="mailto:"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
  a[href^="tel:"]::after { content: ""; } /* Phone shown inline already */

  /* Printable contact block visibility */
  .print-only {
    display: block !important;
    padding: 12pt 0 !important;
    border-top: 1px solid #000 !important;
    margin-top: 12pt !important;
    page-break-inside: avoid;
  }
  .print-only h2 {
    font-family: var(--font-display);
    font-size: 18pt;
    margin: 0 0 4pt;
  }
  .print-only h3 {
    font-family: var(--font-display);
    font-size: 12pt;
    margin: 10pt 0 4pt;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .print-only p { margin: 0 0 6pt; }

  /* Avoid widow page breaks at the top */
  @page { margin: 14mm; }
}

/* =============================================================
   WORDPRESS ADAPTATIONS (appended for the integrity theme)
   ============================================================= */

/* Admin bar offset so the fixed nav clears it when logged in */
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .nav { top: 46px; }
}
.admin-bar .drawer { padding-top: 92px; }

/* WordPress core alignment + caption helpers for prose content areas */
.entry-content { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.entry-content > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: 1080px; }
.entry-content > .alignfull { max-width: none; }
.alignleft  { float: left;  margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: 13px; color: var(--ink-soft); margin-top: 6px; text-align: center; }

/* Prose typography inside editor content areas */
.prose { font-size: 17px; color: var(--ink-soft); line-height: 1.7; }
.prose h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(28px,4vw,40px); color: var(--ink); margin: 1.6em 0 .5em; }
.prose h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px,3vw,30px); color: var(--ink); margin: 1.4em 0 .4em; }
.prose p { margin: 0 0 1.1em; }
.prose a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--brand-blue-dark); }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: 12px; margin: 1.2em 0; }
.prose blockquote { border-left: 4px solid var(--brand-green); padding: 6px 0 6px 20px; margin: 1.4em 0; color: var(--ink); font-style: italic; }

/* Page hero (interior pages) — compact brand band reusing hero tokens */
.page-hero {
  position: relative;
  margin-top: 70px;
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(255,255,255,0.10), rgba(255,255,255,0) 46%),
    linear-gradient(150deg, var(--brand-blue) 0%, var(--brand-blue-dark) 78%);
  color: #fff;
  overflow: hidden;
  padding: 72px 0 60px;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 82%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 22%, #000 82%, transparent);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__eyebrow { color: #fff; opacity: .85; font-weight: 600; margin-bottom: 14px; }
.page-hero__eyebrow::before { content:''; display:inline-block; width:24px; height:2px; background:var(--brand-green); vertical-align:middle; margin-right:10px; }
.page-hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px,6vw,68px); text-transform: uppercase; line-height: .95; color: #fff; }
.page-hero__title .green { color: var(--brand-green); }
.page-hero__sub { font-size: 18px; max-width: 640px; color: rgba(255,255,255,.92); margin-top: 18px; }
.page-hero__crumbs { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.page-hero__crumbs a { color: #fff; }
.page-hero__crumbs a:hover { color: var(--brand-green); }

/* Section wrapper for interior page bodies */
.section { padding: 72px 0; }
.section--soft { background: var(--surface-soft); }
.section__sub { color: var(--ink-soft); margin-top: 12px; font-size: 17px; }

/* Gravity Forms — restyle to match the modal/field design system */
.gform_wrapper .gfield_label {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: 12px; color: var(--ink); margin-bottom: 6px; display:block;
}
.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper input[type=number],
.gform_wrapper select,
.gform_wrapper textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1.5px solid var(--gray-soft);
  background: #fff; font-family: var(--font-body); font-size: 15px; color: var(--ink); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.gform_wrapper input:focus, .gform_wrapper select:focus, .gform_wrapper textarea:focus {
  border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(27,117,187,.18);
}
.gform_wrapper .gfield_error input, .gform_wrapper .gfield_error textarea, .gform_wrapper .gfield_error select {
  border-color: var(--error) !important; box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}
.gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_footer button,
.gform_wrapper .gform-button {
  width: 100%; background: var(--brand-green); color: #fff;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  font-size: 15px; padding: 16px; border-radius: 10px; border: 0; cursor: pointer;
  transition: background .2s ease;
}
.gform_wrapper .gform_footer input[type=submit]:hover,
.gform_wrapper .gform-button:hover { background: var(--brand-green-dark); }
.gform_confirmation_message { font-size: 16px; color: var(--ink); padding: 12px 0; }

/* ---- Interior components (trust bar, related, blog, breadcrumbs) ---- */
.ir-trustbar { display:flex; flex-wrap:wrap; align-items:center; gap:10px 22px; margin:18px 0; font-family:var(--font-display); font-weight:600; text-transform:uppercase; letter-spacing:.04em; font-size:13px; color:var(--ink); }
.ir-trustbar--dark { color:#fff; }
.ir-trust__item { display:inline-flex; align-items:center; gap:6px; }
.ir-trust__item + .ir-trust__item { padding-left:22px; border-left:1px solid var(--gray-soft); }
.ir-trustbar--dark .ir-trust__item + .ir-trust__item { border-color:rgba(255,255,255,.25); }
.ir-trust__stars { color:var(--brand-green); letter-spacing:.1em; }

.related { margin:48px 0; }
.related__title { font-family:var(--font-display); font-weight:700; text-transform:uppercase; font-size:clamp(22px,3vw,30px); color:var(--ink); margin-bottom:20px; }
.related__grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:14px; }
.related__card { display:flex; align-items:center; justify-content:space-between; gap:12px; background:var(--surface-soft); border:1px solid var(--gray-soft); border-radius:12px; padding:16px 18px; transition:transform .2s var(--ease-out-quart), box-shadow .2s ease, border-color .2s ease; }
.related__card:hover { transform:translateY(-2px); box-shadow:var(--shadow-card); border-color:var(--brand-blue); }
.related__name { font-family:var(--font-display); font-weight:600; text-transform:uppercase; letter-spacing:.02em; font-size:15px; color:var(--ink); }
.related__card svg { color:var(--brand-blue); flex:none; }

/* Two-column interior layout (content + sticky sidebar) */
.layout { display:grid; grid-template-columns:1fr; gap:40px; padding:0 24px; max-width:var(--container); margin:0 auto; }
@media (min-width:980px){ .layout--sidebar { grid-template-columns:minmax(0,1fr) 340px; gap:56px; } }
.sidebar { display:flex; flex-direction:column; gap:24px; }
@media (min-width:980px){ .sidebar { position:sticky; top:96px; align-self:start; max-height: calc(100vh - 112px); overflow-y: auto; padding-right: 2px; scrollbar-width: thin; scrollbar-color: rgba(15, 40, 68, .22) transparent; } }
.sidebar__card { background:var(--surface-soft); border:1px solid var(--gray-soft); border-radius:16px; padding:24px; }
.sidebar__card h3 { font-family:var(--font-display); font-weight:700; text-transform:uppercase; font-size:18px; color:var(--ink); margin-bottom:12px; }

/* Blog list */
.post-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:28px; }
.post-card { background:#fff; border:1px solid var(--gray-soft); border-radius:16px; overflow:hidden; display:flex; flex-direction:column; transition:transform .2s var(--ease-out-quart), box-shadow .2s ease; }
.post-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-card); }
.post-card__thumb { aspect-ratio:16/9; overflow:hidden; background:var(--surface-soft); }
.post-card__thumb img { width:100%; height:100%; object-fit:cover; }
.post-card__body { padding:22px 22px 24px; display:flex; flex-direction:column; flex:1; }
.post-card__cat { font-family:var(--font-display); font-weight:600; text-transform:uppercase; letter-spacing:.08em; font-size:11px; color:var(--brand-blue); margin-bottom:8px; }
.post-card__title { font-family:var(--font-display); font-weight:700; font-size:20px; line-height:1.2; color:var(--ink); margin-bottom:10px; }
.post-card__title a:hover { color:var(--brand-blue); }
.post-card__meta { margin-top:auto; padding-top:14px; font-size:13px; color:var(--ink-soft); }

/* Pagination */
.ir-pagination { display:flex; gap:8px; justify-content:center; margin:48px 0 0; flex-wrap:wrap; }
.ir-pagination .page-numbers { display:grid; place-items:center; min-width:44px; height:44px; padding:0 12px; border-radius:10px; border:1px solid var(--gray-soft); font-family:var(--font-display); font-weight:600; color:var(--ink); }
.ir-pagination .page-numbers.current { background:var(--brand-blue); color:#fff; border-color:var(--brand-blue); }
.ir-pagination a.page-numbers:hover { border-color:var(--brand-blue); color:var(--brand-blue); }

/* SEOPress breadcrumbs inside the brand band */
.page-hero__crumbs span[property], .page-hero__crumbs .seopress-breadcrumbs { color:rgba(255,255,255,.75); }

/* Gallery grid (projects) */
.proj-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:20px; }
.proj-card { border-radius:16px; overflow:hidden; box-shadow:var(--shadow-card); background:#000; aspect-ratio:4/3; position:relative; }
.proj-card img { width:100%; height:100%; object-fit:cover; }
.proj-card__label { position:absolute; left:14px; bottom:14px; background:rgba(10,10,10,.78); color:#fff; font-family:var(--font-display); font-weight:600; text-transform:uppercase; letter-spacing:.06em; font-size:12px; padding:7px 12px; border-radius:999px; }

/* Team grid */
.team-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:24px; }
.team-card { text-align:center; }
.team-card__photo { aspect-ratio:4/5; border-radius:16px; overflow:hidden; background:var(--surface-soft); margin-bottom:14px; }
/* Headshots: anchor the crop to the top so the square/portrait cover never
   slices the top of anyone's head off. */
.team-card__photo img { width:100%; height:100%; object-fit:cover; object-position:center top; }
.team-card__name { font-family:var(--font-display); font-weight:700; text-transform:uppercase; font-size:18px; color:var(--ink); }
.team-card__role { font-size:13px; color:var(--brand-blue); font-weight:600; }

/* CertainTeed product-line cards (image + colour count + hover zoom) */
.prodline-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:24px; }
.prodline-card {
  display:block; border-radius:16px; overflow:hidden; background:#fff;
  border:1px solid var(--gray-soft); box-shadow:var(--shadow-card);
  text-decoration:none; color:var(--ink);
  transition:transform .25s var(--ease-out-quart), box-shadow .25s ease;
}
.prodline-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lift); }
.prodline-card__media { position:relative; display:block; aspect-ratio:4/3; overflow:hidden; background:var(--surface-soft); }
.prodline-card__media img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s var(--ease-out-quart); }
.prodline-card:hover .prodline-card__media img { transform:scale(1.06); }
.prodline-card__ph { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--brand-blue); background:linear-gradient(150deg,var(--surface-soft),#fff); }
.prodline-card__colors {
  position:absolute; bottom:10px; left:10px;
  background:rgba(10,10,10,.78); color:#fff;
  font-family:var(--font-display); font-weight:700; font-size:11px;
  text-transform:uppercase; letter-spacing:.06em; padding:5px 11px; border-radius:999px;
}
.prodline-card__name {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:16px 18px; font-family:var(--font-display); font-weight:700;
  text-transform:uppercase; font-size:15px; line-height:1.15; color:var(--ink);
}
.prodline-card__name svg { color:var(--brand-blue); flex:none; transition:transform .2s ease; }
.prodline-card:hover .prodline-card__name svg { transform:translateX(4px); }

/* Gallery lightbox */
.proj-card[data-lightbox] { cursor: zoom-in; display: block; }
.ir-lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center;
  background: rgba(10,10,10,0.93); padding: 4vh 2vw;
  opacity: 0; transition: opacity 0.2s ease;
}
.ir-lightbox.is-open { display: flex; opacity: 1; }
.ir-lightbox__fig { margin: 0; max-width: 92vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ir-lightbox__img {
  max-width: 92vw; max-height: 84vh; width: auto; height: auto; object-fit: contain;
  border-radius: 10px; box-shadow: 0 16px 60px rgba(0,0,0,0.55); background: #0a0a0a;
}
.ir-lightbox__count { color: rgba(255,255,255,0.8); font-size: 14px; letter-spacing: 0.04em; }
.ir-lightbox__close {
  position: absolute; top: 20px; right: 24px; border: 0; color: #fff; cursor: pointer;
  background: rgba(255,255,255,0.12);
  width: 48px; height: 48px; border-radius: 50%; padding: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.9; transition: background 0.15s ease, opacity 0.15s ease;
}
.ir-lightbox__close:hover, .ir-lightbox__close:focus { opacity: 1; background: rgba(141,199,63,0.85); }
.ir-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.16); border: 0; color: #fff;
  width: 56px; height: 56px; border-radius: 50%; padding: 0;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s ease;
}
.ir-lightbox__close svg, .ir-lightbox__nav svg { display: block; }
.ir-lightbox__nav:hover, .ir-lightbox__nav:focus { background: rgba(141,199,63,0.85); }
.ir-lightbox__prev { left: 18px; }
.ir-lightbox__next { right: 18px; }
@media (max-width: 600px) {
  .ir-lightbox__nav { width: 44px; height: 44px; font-size: 28px; }
  .ir-lightbox__prev { left: 8px; } .ir-lightbox__next { right: 8px; }
  .ir-lightbox__close { top: 8px; right: 12px; }
}

/* Feature photo at the top of service/location content */
.entry-feature { margin:0 0 28px; border-radius:16px; overflow:hidden; line-height:0; box-shadow:0 6px 24px rgba(10,10,10,.10); }
.entry-feature img { width:100%; height:auto; display:block; aspect-ratio:16/9; object-fit:cover; }

/* Service/info blocks */
.info-block { margin:36px 0; padding:28px; background:var(--surface-soft); border-radius:16px; border-left:4px solid var(--brand-green); }
.info-block h2 { font-family:var(--font-display); font-weight:700; text-transform:uppercase; font-size:clamp(20px,3vw,26px); color:var(--ink); margin-bottom:10px; }
.layout__main { min-width:0; }
.sidebar__card .btn { width:100%; justify-content:center; }

/* ---- Reviews page grid ---- */
.reviews-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:22px; }
.rcard { background:#fff; border-radius:16px; border-top:4px solid var(--brand-blue); padding:28px 24px; box-shadow:var(--shadow-card); display:flex; flex-direction:column; }
.rcard__stars { color:var(--brand-green); font-size:18px; letter-spacing:.1em; margin-bottom:14px; }
.rcard__body { color:var(--ink); line-height:1.6; margin-bottom:18px; }
.rcard__meta { display:flex; align-items:center; gap:12px; margin-top:auto; flex-wrap:wrap; }
.rcard__name { font-family:var(--font-display); font-weight:600; text-transform:uppercase; font-size:16px; color:var(--ink); }

/* ---- FAQ accordion (native details/summary) ---- */
.faq-list { display:flex; flex-direction:column; gap:12px; }
.faq-item { background:#fff; border:1px solid var(--gray-soft); border-radius:14px; overflow:hidden; transition:border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color:var(--brand-blue); box-shadow:var(--shadow-card); }
.faq-item__q { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px 24px; font-family:var(--font-display); font-weight:700; text-transform:uppercase; letter-spacing:.01em; font-size:clamp(16px,2vw,19px); color:var(--ink); }
.faq-item__q::-webkit-details-marker { display:none; }
.faq-item__q:hover { color:var(--brand-blue); }
.faq-item__icon { position:relative; flex:none; width:22px; height:22px; }
.faq-item__icon::before, .faq-item__icon::after { content:''; position:absolute; background:var(--brand-blue); border-radius:2px; transition:transform .2s ease; }
.faq-item__icon::before { left:0; top:9px; width:22px; height:3px; }
.faq-item__icon::after { left:9px; top:0; width:3px; height:22px; }
.faq-item[open] .faq-item__icon::after { transform:scaleY(0); }
.faq-item__a { padding:0 24px 24px; color:var(--ink-soft); }
.faq-item__a > *:first-child { margin-top:0; }

/* ---- Navigation dropdowns (real WP menu) ---- */
.nav__menu { gap: 22px; align-items: center; }
.nav__menu > li { position: relative; }
.nav__menu .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 5px; }
.nav__menu .menu-item-has-children > a::after {
  content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .6; transition: transform .2s ease; position: static; background: none;
}
.nav__menu .menu-item-has-children:hover > a::after { transform: rotate(225deg) translateY(2px); }
.nav__menu .sub-menu {
  position: absolute; top: 100%; left: -12px; min-width: 240px; list-style: none; margin: 0;
  background: #fff; border: 1px solid var(--gray-soft); border-radius: 12px; box-shadow: var(--shadow-lift);
  padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 120;
}
.nav__menu > li:hover > .sub-menu, .nav__menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.nav__menu .sub-menu a { padding: 10px 14px; font-size: 13px; letter-spacing: .04em; border-radius: 8px; white-space: nowrap; width: 100%; }
.nav__menu .sub-menu a::after { display: none !important; }
.nav__menu .sub-menu a:hover { background: var(--surface-soft); color: var(--brand-blue); }
.nav__menu .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; pointer-events: auto; }
@media (min-width: 1024px) and (max-width: 1200px) { .nav__menu { gap: 16px; } .nav__menu a { font-size: 14px; } }

/* ---- Mobile drawer menu ---- */
.drawer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; width: 100%; }
.drawer__menu a { display: block; font-family: var(--font-display); font-weight: 600; font-size: 20px; text-transform: uppercase; letter-spacing: .06em; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.15); color: #fff; }
.drawer__menu .sub-menu { list-style: none; margin: 0; padding: 0 0 6px 14px; }
.drawer__menu .sub-menu a { font-size: 15px; font-weight: 500; opacity: .85; border-bottom: 0; padding: 6px 0; }

/* ---- Product feature layout ---- */
.product-feature { display:grid; grid-template-columns:1fr; gap:32px; margin-bottom:24px; }
@media (min-width:900px){ .product-feature { grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr); gap:48px; align-items:start; } }
.product-feature__media { border-radius:18px; overflow:hidden; box-shadow:var(--shadow-card); background:var(--surface-soft); aspect-ratio:4/3; }
/* On desktop the description is much taller than the image, so pin the image —
   it stays in view as you read instead of leaving a tall empty gap beside it. */
@media (min-width:900px){ .product-feature__media { position:sticky; top:90px; align-self:start; } }
/* Migrated content often has empty paragraphs; collapse the dead vertical space. */
.entry-content p:empty { display:none; }
.product-feature__media img { width:100%; height:100%; object-fit:cover; display:block; }
.product-feature__placeholder { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; color:var(--brand-blue); background:linear-gradient(150deg,var(--surface-soft),#fff); }
.product-feature__placeholder span { font-family:var(--font-display); font-weight:700; text-transform:uppercase; font-size:20px; color:var(--ink); text-align:center; padding:0 20px; }
.product-points { list-style:none; margin:24px 0; padding:0; display:flex; flex-direction:column; gap:12px; }
.product-points li { display:flex; align-items:center; gap:12px; font-family:var(--font-display); font-weight:600; text-transform:uppercase; letter-spacing:.02em; font-size:15px; color:var(--ink); }
.product-points svg { color:var(--brand-green); flex:none; }
.product-feature__ctas { display:flex; gap:14px; flex-wrap:wrap; margin-top:6px; }

/* =============================================================
   ACCESSIBILITY FIXES (audit batch 3)
   ============================================================= */

/* Accessible green for accent text on LIGHT backgrounds (brand --brand-green
   #8DC73F is only 2.02:1 on white). --green-ink passes large-text contrast;
   bright brand green is re-applied on dark/brand-colored sections below. */
:root { --green-ink: #5a8a1f; }
.green { color: var(--green-ink); }
.hero .green, .hero__title .green, .testimonials .green, .storm .green,
.page-hero .green, .finalcta .green, .tile--blue .green, .tile--black .green {
  color: var(--brand-green);
}

/* Honor reduced-motion for scrolling */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Inert background while a dialog/drawer is open */
[inert] { pointer-events: none; }

/* Larger touch targets on mobile (WCAG 2.5.8) without changing the visual size */
@media (max-width: 767px) {
  .tdot { width: 24px; height: 24px; padding: 8px; background-clip: content-box; box-sizing: border-box; }
  .tdot.is-active { transform: none; }
  .tile__link, .shingle__more, .footer li a, .area__list li, .drawer__menu .sub-menu a {
    min-height: 24px; display: inline-flex; align-items: center;
  }
  .footer li { margin-bottom: 4px; }
  .footer li a { padding: 6px 0; }
}

/* Override the higher-specificity original green rules on light-bg section titles */
.services__title .green, .shingle__title .green { color: var(--green-ink); }

/* ---- Local block (NAP + hours + map) ---- */
.local-block { background: var(--surface-soft); border-radius: 18px; padding: 32px; margin: 40px 0; }
.local-block__inner { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 820px) { .local-block__inner { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.local-block__nap { font-style: normal; line-height: 1.7; color: var(--ink-soft); margin: 12px 0 18px; }
.local-block__nap strong { color: var(--ink); }
.local-block__call .btn { margin-bottom: 18px; }
.local-block__hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.local-block__hours th { text-align: left; font-family: var(--font-display); font-weight: 600; color: var(--ink); padding: 7px 0; }
.local-block__hours td { text-align: right; color: var(--ink-soft); padding: 7px 0; }
.local-block__hours tr + tr { border-top: 1px solid var(--gray-soft); }
.faq-block { margin: 48px 0; }
.faq-block .faq-list { max-width: 820px; }

/* =============================================================
   NAV FIT (1920+ and mid-desktop) — no label/phone wrapping
   ============================================================= */
.nav__inner { max-width: 1560px; }
.nav__menu a { white-space: nowrap; }
.nav__phone { white-space: nowrap; flex-shrink: 0; }
.nav__status { white-space: nowrap; flex-shrink: 0; }
.nav__cta { white-space: nowrap; flex-shrink: 0; }
.nav__right { flex-shrink: 0; }
.nav__logo { flex-shrink: 0; }
/* Mid-desktop: tighten and drop the status pill so nothing wraps */
@media (min-width: 1024px) and (max-width: 1419px) {
  .nav__menu { gap: 16px; }
  .nav__menu a { font-size: 13px; letter-spacing: 0.05em; }
  .nav__status { display: none; }
  .nav__phone { margin-right: 8px; }
}
@media (min-width: 1420px) {
  .nav__menu { gap: 26px; }
}

/* =============================================================
   SERVICE/LOCATION SIDEBAR + INLINE CTA (Crannell-style layout)
   ============================================================= */
/* Inline CTA band between content sections */
.inline-cta { margin: 40px 0; border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 120% at 0% 0%, rgba(141,199,63,0.16), rgba(255,255,255,0) 50%), linear-gradient(150deg, var(--ink) 0%, #15233a 100%);
  color: #fff; }
.inline-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; }
.inline-cta__eyebrow { color: var(--brand-green); }
.inline-cta__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(20px,2.4vw,28px); line-height: 1.1; color: #fff; max-width: 640px; margin-top: 6px; }
.inline-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sticky sidebar */
.ssidebar { min-width: 0; }
/* Taller than the viewport, a sticky sidebar pins at top and its lower cards
   only appear at page end — cap it at viewport height and scroll internally
   so every card stays reachable while stuck. */
@media (min-width: 980px) { .ssidebar__sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; max-height: calc(100vh - 112px); overflow-y: auto; padding-right: 2px; scrollbar-width: thin; scrollbar-color: rgba(15, 40, 68, .22) transparent; } }
.ssidebar__sticky { display: flex; flex-direction: column; gap: 18px; }
.scard { background: #fff; border: 1px solid var(--gray-soft); border-radius: 16px; padding: 24px; }
.scard--accent { background: linear-gradient(150deg, var(--brand-blue), var(--brand-blue-dark)); border: 0; color: #fff; box-shadow: var(--shadow-card); }
.scard__eyebrow { color: var(--brand-green); }
.scard__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 22px; line-height: 1.1; color: var(--ink); margin: 8px 0 8px; }
.scard--accent .scard__title { color: #fff; }
.scard__title--sm { font-size: 18px; margin-top: 0; }
.scard__sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.scard--accent .scard__sub { color: rgba(255,255,255,0.9); }
.scard__btn { width: 100%; justify-content: center; }
.scard__call { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; }
.scard--accent .scard__call { color: #fff; }
.scard__trust { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.85); text-align: center; }
.scard__stars { color: var(--brand-green); letter-spacing: 0.1em; }
.scard__hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.scard__hours th { text-align: left; font-family: var(--font-display); font-weight: 600; color: var(--ink); padding: 6px 0; }
.scard__hours td { text-align: right; color: var(--ink-soft); padding: 6px 0; }
.scard__hours tr + tr { border-top: 1px solid var(--gray-soft); }
/* Sidebar services nav with active state */
.sidebar-nav { list-style: none; margin: 0; padding: 0; }
.sidebar-nav__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 10px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; font-size: 14px; color: var(--ink); transition: background .15s ease, color .15s ease; }
.sidebar-nav__link svg { color: var(--brand-blue); flex: none; opacity: .6; transition: transform .15s ease, opacity .15s ease; }
.sidebar-nav__link:hover { background: var(--surface-soft); color: var(--brand-blue); }
.sidebar-nav__link:hover svg { transform: translateX(3px); opacity: 1; }
.sidebar-nav__link.is-active { background: var(--brand-blue); color: #fff; }
.sidebar-nav__link.is-active svg { color: #fff; opacity: 1; }

/* =============================================================
   SERVICE AREAS HUB
   ============================================================= */
.areas__heading { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px,3vw,30px); color: var(--ink); margin: 8px 0 20px; }
.areas__heading + .areas-grid { margin-bottom: 44px; }
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }
.area-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--gray-soft); border-radius: 14px; padding: 18px 20px; transition: transform .2s var(--ease-out-quart), box-shadow .2s ease, border-color .2s ease; }
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--brand-blue); }
.area-card__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(150deg, var(--brand-blue), var(--brand-blue-dark)); color: #fff; }
.area-card__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.area-card__name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; font-size: 17px; color: var(--ink); line-height: 1.15; }
.area-card__sub { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; }
.area-card__arrow { flex: none; color: var(--brand-blue); transition: transform .2s ease; }
.area-card:hover .area-card__arrow { transform: translateX(4px); }
.area-card:hover .area-card__icon { background: linear-gradient(150deg, var(--brand-green), var(--brand-green-dark)); color: var(--ink); }
.areas__note { margin-top: 28px; text-align: center; color: var(--ink-soft); font-size: 15px; }
.areas__note a { color: var(--brand-blue); font-weight: 600; }
