/* =====================================================================
   Sunshine Basement Waterproofing — warm, trustworthy, family-business waterproofing site.
   Palette pulled from the brand logo (orange / yellow / wave-blue / navy).
   Type: Plus Jakarta Sans (modern sans, used for headings + body).
   Fonts are loaded via <link> in each page <head> (faster first paint
   than an @import here).
   ===================================================================== */

:root {
  /* Brand palette — drawn from the logo */
  --orange:       #F36C21;
  --orange-dark:  #D85812;
  --yellow:       #FFC72C;
  --blue:         #1E73BE;
  --blue-dark:    #14568F;
  --navy:         #0F2A47;
  --navy-soft:    #2A4566;

  /* Neutrals */
  --bg:           #FFFFFF;
  --bg-soft:      #FFF8EC;   /* warm cream tint */
  --bg-cool:      #F4F7FB;   /* cool gray-blue tint */
  --line:         #E5E9F0;
  --text:         #1F2937;
  --text-soft:    #4B5563;
  --muted:        #6B7280;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15,42,71,.06), 0 2px 4px rgba(15,42,71,.04);
  --shadow-md: 0 4px 12px rgba(15,42,71,.08), 0 2px 4px rgba(15,42,71,.04);
  --shadow-lg: 0 12px 32px rgba(15,42,71,.12);

  /* Radius */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;

  /* Type & layout */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:    "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font: var(--font-body); /* back-compat alias used throughout the sheet */
  --container: 1180px;
  --gutter: 24px;
}

/* -----------------------------------------------------------------
   Base
   ----------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* keep #anchor targets clear of the sticky header */
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* guard against any horizontal scroll on mobile (doesn't break sticky) */
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
hr { border: 0; border-top: 1px solid var(--line); }
::selection { background: var(--orange); color: #fff; }

.container { width: min(100% - calc(var(--gutter) * 2), var(--container)); margin-inline: auto; }
.center { text-align: center; }
.hidden { display: none !important; }

.skip-link {
  position: absolute; top: -80px; left: 16px; z-index: 999;
  background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* -----------------------------------------------------------------
   Typography
   ----------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -.01em;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.08;
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 800;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
p { margin: 0 0 1em; }
.lede {
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  color: var(--text-soft);
  max-width: 60ch;
  line-height: 1.55;
}

em.accent {
  font-style: normal;
  color: var(--orange);
  font-weight: 800;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--blue);
}

/* -----------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }

.button-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(243,108,33,.28);
}
.button-primary:hover { background: var(--orange-dark); color: #fff; box-shadow: 0 8px 20px rgba(243,108,33,.34); }

.button-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.button-secondary:hover { background: var(--navy); color: #fff; }

.button-light {
  background: #fff;
  color: var(--navy);
}
.button-light:hover { background: var(--yellow); color: var(--navy); }

.button-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.button-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.button-wide { width: 100%; }

.text-link {
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .15s ease, gap .15s ease;
}
.text-link:hover { color: var(--orange); gap: 10px; }

.phone-link {
  font-weight: 800;
  color: var(--navy);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 1px;
}
.phone-link:hover { color: var(--orange); }

/* -----------------------------------------------------------------
   Header — simple, with phone + book CTAs prominent
   ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: .88rem;
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.topbar-inner > * { display: inline-flex; align-items: center; gap: 8px; }
.topbar a { color: #fff; font-weight: 700; }
.topbar a:hover { color: var(--yellow); }
.topbar svg { width: 14px; height: 14px; stroke: var(--yellow); fill: none; stroke-width: 2; }

.header-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 84px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--navy);
}
.brand img {
  height: 83px;
  width: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 5px 10px rgba(15,42,71,.14));
  animation: logo-rise 700ms ease-out both;
}
.brand-wordmark {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: .92;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--navy);
  transform-origin: left center;
  animation: wordmark-slide 780ms 90ms cubic-bezier(.2,.8,.2,1) both;
}
.brand-wordmark span:first-child {
  font-size: clamp(1.05rem, 1.45vw, 1.36rem);
}
.brand-wordmark span:last-child {
  font-size: clamp(.72rem, .98vw, .92rem);
  color: var(--orange);
}
.brand:hover .brand-wordmark { color: var(--blue-dark); }
@keyframes logo-rise {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes wordmark-slide {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}
.primary-nav a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  padding: 10px 10px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.primary-nav a:hover { color: var(--orange); background: var(--bg-soft); }
.primary-nav a[aria-current="page"] { color: var(--orange); }

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.header-actions .header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.02rem;
}
.header-actions .header-phone svg {
  width: 18px; height: 18px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-actions .header-phone:hover { color: var(--orange); }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .96rem;
  color: #fff;
  background: var(--orange);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 4px 12px rgba(243,108,33,.28);
}
.header-cta:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(243,108,33,.36); }

/* Scrolled state — toggled by main.js once the page scrolls past the top.
   Condenses the header slightly and lifts it with a stronger shadow. */
.site-header.is-scrolled {
  box-shadow: 0 6px 22px rgba(15,42,71,.10);
  border-bottom-color: transparent;
}
.site-header.is-scrolled .header-main { min-height: 70px; }
.site-header.is-scrolled .brand img { height: 70px; }

.menu-button { display: none; }

/* -----------------------------------------------------------------
   Hero — homepage (energetic, brand-led)
   ----------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 64px 0 110px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,199,44,.18) 0%, transparent 38%),
    radial-gradient(circle at 92% 78%, rgba(30,115,190,.14) 0%, transparent 42%),
    linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 -1px 0;
  background-image:
    radial-gradient(circle at 8% 88%, rgba(243,108,33,.06) 0%, transparent 24%),
    radial-gradient(circle at 96% 18%, rgba(243,108,33,.06) 0%, transparent 24%);
  pointer-events: none;
}

/* Silk — animated WebGL background (assets/js/silk.js). Sits behind the
   hero content; the scrim keeps the left-side copy readable over the flow. */
.hero-silk {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(96deg,
    var(--bg-soft) 0%,
    rgba(255,248,236,.94) 28%,
    rgba(255,248,236,.62) 52%,
    rgba(255,248,236,.18) 78%,
    rgba(255,248,236,0) 100%);
}
@media (max-width: 1120px) {
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(255,248,236,.84) 0%,
      rgba(255,248,236,.70) 55%,
      rgba(255,248,236,.88) 100%);
  }
}

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 64px;
  pointer-events: none;
  z-index: 1;
}
.hero-wave svg { width: 100%; height: 100%; display: block; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid rgba(243,108,33,.25);
  color: var(--orange);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(243,108,33,.08);
  margin-bottom: 22px;
}
.hero-eyebrow .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(243,108,33,.18);
}

.hero-copy h1 { margin-bottom: .35em; }
.hero-copy h1 .accent-block {
  background: linear-gradient(180deg, transparent 60%, rgba(255,199,44,.55) 60% 92%, transparent 92%);
  padding: 0 .12em;
  color: var(--navy);
  font-style: normal;
  font-weight: 800;
}
.hero-copy h1 em.accent {
  position: relative;
  /* The headline phrase is long now, so it must wrap. Draw the marker
     underline as a cloned background so every wrapped line keeps it
     (a single absolute bar would float under the whole multi-line box). */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: linear-gradient(rgba(243,108,33,.25), rgba(243,108,33,.25));
  background-repeat: no-repeat;
  background-position: 0 calc(100% - .05em);
  background-size: 100% .18em;
}
.hero-copy .lede { margin-bottom: 26px; max-width: 52ch; }

/* Rotating word in the hero headline (cycled by silk.js) */
.rotator {
  display: inline-block;
  color: var(--blue);
  transition: opacity .3s ease, transform .3s ease;
  will-change: opacity, transform;
}
.rotator.is-out {
  opacity: 0;
  transform: translateY(-.28em);
}
@media (prefers-reduced-motion: reduce) {
  .rotator { transition: none; }
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 30px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  font-size: .94rem;
  color: var(--text-soft);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.hero-trust svg {
  width: 18px; height: 18px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-trust .stars { color: #F5A623; letter-spacing: .08em; font-size: 1.05rem; }

.hero-visual { position: relative; }
.hero-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 4px solid #fff;
  outline: 1px solid var(--line);
}
.hero-image img {
  width: 100%; height: auto; display: block;
  transition: transform 8s ease;
}
.hero-image:hover img { transform: scale(1.04); }
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,42,71,.28) 100%);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: #fff;
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  z-index: 2;
}
.hero-badge .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(243,108,33,.2);
}

.hero-stat-card {
  position: absolute;
  top: 22px;
  right: -18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.hero-stat-card .rating-stars {
  color: #F5A623;
  font-size: 1rem;
  letter-spacing: .08em;
}
.hero-stat-card .rating-text strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.1;
}
.hero-stat-card .rating-text span {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 500;
}
@keyframes float-y {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

.hero-drop {
  position: absolute;
  width: 22px; height: 30px;
  background: var(--blue);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform: rotate(45deg);
  opacity: .14;
}
.hero-drop.d1 { top: 14%; left: 6%; }
.hero-drop.d2 { bottom: 18%; left: 2%; width: 16px; height: 22px; background: var(--orange); opacity: .16; }
.hero-drop.d3 { top: 64%; right: 4%; width: 14px; height: 20px; background: var(--yellow); opacity: .4; }

@media (max-width: 1120px) {
  .hero-stat-card { right: 16px; top: 16px; }
  .hero-drop { display: none; }
}

/* -----------------------------------------------------------------
   Proof strip
   ----------------------------------------------------------------- */

.proof-strip {
  background: var(--navy);
  color: #fff;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-grid > div {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.proof-grid > div:last-child { border-right: 0; }
.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.proof-grid span {
  font-size: .9rem;
  color: rgba(255,255,255,.82);
  font-weight: 500;
}

/* -----------------------------------------------------------------
   Sections
   ----------------------------------------------------------------- */

.section { padding: 80px 0; position: relative; }
.section-soft, .section-cream, .section-paper { background: var(--bg-soft); }
.section-cool, .section-cream-2 { background: var(--bg-cool); }
.section-dark {
  background:
    radial-gradient(circle at 14% 18%, rgba(30,115,190,.20) 0%, transparent 42%),
    radial-gradient(circle at 88% 88%, rgba(243,108,33,.10) 0%, transparent 44%),
    var(--navy);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.82); }
.section-dark .eyebrow { color: var(--yellow); }
.section-dark .text-link { color: var(--yellow); }
.section-dark .text-link:hover { color: #fff; }

.section-head { max-width: 700px; margin: 0 0 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-soft); font-size: 1.06rem; }
.section-head.center p { margin-inline: auto; max-width: 60ch; }

.split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 56px;
}
.split-thirds {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 56px;
}
.align-center { align-items: center; }
.align-start  { align-items: start; }
.sticky-copy  { position: sticky; top: 130px; }

/* -----------------------------------------------------------------
   Promise / intro
   ----------------------------------------------------------------- */

.promise-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
  gap: 64px;
  align-items: start;
}
.promise-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--orange);
  padding-bottom: 18px;
  border-bottom: 3px solid var(--yellow);
  display: inline-block;
  margin-bottom: 22px;
}
.promise-stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.promise-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}
.promise-stats span {
  font-size: .9rem;
  color: var(--text-soft);
  font-weight: 500;
}

/* -----------------------------------------------------------------
   Services
   ----------------------------------------------------------------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-grid.five { grid-template-columns: repeat(5, 1fr); gap: 18px; }

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 30px; height: 30px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { margin-bottom: 10px; }
.service-card h3 a { color: inherit; }
.service-card h3 a:hover { color: var(--orange); }
.service-card p { color: var(--text-soft); font-size: .96rem; margin-bottom: 18px; }
.service-card .text-link { margin-top: auto; }

/* -----------------------------------------------------------------
   Process
   ----------------------------------------------------------------- */

.process-stack { display: grid; gap: 0; }
.process-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.process-card:last-child { border-bottom: 0; }
.process-card .num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.process-card h3 { margin-bottom: 6px; }
.process-card p { margin: 0; color: var(--text-soft); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.timeline article {
  position: relative;
  padding-top: 20px;
  border-top: 3px solid var(--orange);
}
.timeline .num {
  display: inline-block;
  font-weight: 800;
  font-size: 1rem;
  color: var(--orange);
  margin-bottom: 10px;
  letter-spacing: .04em;
}
.timeline h3 { margin-bottom: 8px; }
.timeline p { margin: 0; color: var(--text-soft); font-size: .94rem; }

/* -----------------------------------------------------------------
   Projects / gallery cards
   ----------------------------------------------------------------- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.project-card .project-img {
  background: var(--bg-cool);
  padding: 8px;
}
.project-card .project-img img,
.project-card .project-img svg {
  width: 100%; height: auto; border-radius: var(--r-sm);
}
.project-card .project-body { padding: 20px 22px 24px; }
.project-card .project-tag {
  display: inline-block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 8px;
}
.project-card h3 { margin-bottom: 8px; }
.project-card p { margin: 0; color: var(--text-soft); font-size: .94rem; }

.section-dark .project-card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.16);
}
.section-dark .project-card .project-img { background: rgba(255,255,255,.06); }
.section-dark .project-card p { color: rgba(255,255,255,.72); }
.section-dark .project-card .project-tag { color: var(--yellow); }

/* Real project photo galleries */
.work-hero-card {
  display: block;
  position: relative;
  padding: 0;
  min-height: 360px;
}
.work-hero-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: none;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.work-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(15,42,71,0) 48%, rgba(15,42,71,.72) 100%);
  pointer-events: none;
}
.work-hero-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  max-width: calc(100% - 36px);
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: .86rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}
.work-photo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.work-photo-card {
  grid-column: span 4;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.work-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.work-photo-card.is-wide { grid-column: span 8; }
.work-photo-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}
.work-photo-card.is-wide .work-photo-media { aspect-ratio: 16 / 9; }
.work-photo-card.is-tall .work-photo-media { aspect-ratio: 3 / 4; }
.work-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.work-photo-card:hover .work-photo-media img { transform: scale(1.04); }
.work-photo-copy {
  padding: 20px 22px 24px;
}
.work-photo-copy h3 { margin-bottom: 8px; }
.work-photo-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: .94rem;
}
.work-preview-grid {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  grid-template-rows: repeat(3, minmax(132px, 1fr));
  gap: 14px;
}
.work-preview-card {
  position: relative;
  min-height: 132px;
  border-radius: var(--r);
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 16px 38px rgba(0,0,0,.22);
}
.work-preview-main {
  grid-row: span 3;
  min-height: 430px;
}
.work-preview-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .55s ease;
}
.work-preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,42,71,0) 42%, rgba(15,42,71,.82) 100%);
  pointer-events: none;
}
.work-preview-card span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.work-preview-card:hover img { transform: scale(1.05); }

/* -----------------------------------------------------------------
   Reviews
   ----------------------------------------------------------------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.review-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.stars { color: #F5A623; letter-spacing: .08em; font-size: 1.05rem; }
.review-source {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.review-card h3 { margin-bottom: 10px; }
.review-card p { margin: 0; color: var(--text-soft); }
.review-card.large { padding: 36px 32px; }

/* -----------------------------------------------------------------
   Service areas
   ----------------------------------------------------------------- */

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.area-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
}
.area-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.area-card ul { list-style: none; margin: 0; padding: 0; }
.area-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.area-card li:last-child { border-bottom: 0; }
.area-card a {
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.area-card a:hover { color: var(--orange); gap: 12px; }
.area-card a::after {
  content: "→";
  color: var(--muted);
}
.area-card a:hover::after { color: var(--orange); }

.location-hero-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 48px 32px;
  text-align: center;
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
}
.location-hero-card .state {
  font-size: .95rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.location-hero-card .county {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -.02em;
}
.location-hero-card .meta {
  font-size: .9rem;
  color: rgba(255,255,255,.74);
  margin-top: 16px;
}

/* -----------------------------------------------------------------
   Forms
   ----------------------------------------------------------------- */

.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.lead-form.compact { padding: 28px; }
.form-head { margin-bottom: 22px; }
.form-head h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 8px; }
.form-head p { color: var(--text-soft); margin: 0; font-size: .95rem; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
label {
  display: grid;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}
.full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(243,108,33,.16);
}
textarea { resize: vertical; min-height: 110px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2A47' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 40px;
}
.upload {
  background: var(--bg-soft);
  border: 1.5px dashed var(--line);
  border-radius: var(--r-sm);
  padding: 14px;
}
.upload input[type="file"] { background: transparent; border: 0; padding: 0; font-size: .9rem; }
.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  margin: 20px 0;
  font-size: .88rem;
  color: var(--text-soft);
  font-weight: 500;
}
.consent input { width: auto; height: auto; margin-top: 4px; accent-color: var(--orange); }

.contact-band { background: var(--bg-soft); }
.form-split {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1fr);
  gap: 48px;
  align-items: start;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  display: grid;
  gap: 4px;
}
.contact-card strong, .contact-card a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}
.contact-card a:hover { color: var(--orange); }
.contact-card.mini {
  background: transparent;
  border: 0;
  border-left: 3px solid var(--orange);
  padding: 8px 0 8px 18px;
  border-radius: 0;
  margin-top: 22px;
}
.contact-card.mini strong { font-size: 1.05rem; }
.contact-card.mini span { font-size: .92rem; color: var(--text-soft); font-weight: 500; }

/* -----------------------------------------------------------------
   Page hero (interior pages)
   ----------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding: 64px 0 72px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  gap: 56px;
  align-items: center;
}
.page-hero h1 { margin-bottom: .3em; max-width: 18ch; }
.breadcrumbs {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 500;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs .sep { margin: 0 8px; color: var(--line); }
.breadcrumbs .current { color: var(--navy); font-weight: 600; }

.page-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  min-height: 280px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.page-hero-card img,
.page-hero-card svg { max-height: 340px; border-radius: var(--r); }

/* -----------------------------------------------------------------
   Check lists & solution panels
   ----------------------------------------------------------------- */

.check-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.check-grid li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: .95rem;
  font-weight: 500;
}
.check-grid li svg {
  width: 20px; height: 20px;
  flex: 0 0 auto;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 1px;
}

.check-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
}
.check-list.two-col { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: .95rem;
  font-weight: 500;
}
.check-list li svg {
  width: 20px; height: 20px;
  flex: 0 0 auto;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 1px;
}

.solution-panel {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 36px 32px;
}
.solution-panel h2 { color: #fff; }
.solution-panel p { color: rgba(255,255,255,.82); margin: 0; }
.solution-panel .eyebrow { color: var(--yellow); }

/* -----------------------------------------------------------------
   FAQ
   ----------------------------------------------------------------- */

.faq-list { display: grid; gap: 0; }
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--orange);
  line-height: 1;
  transition: transform .2s ease;
  flex: 0 0 auto;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  margin: 14px 0 0;
  color: var(--text-soft);
  max-width: 70ch;
}

/* -----------------------------------------------------------------
   Related links
   ----------------------------------------------------------------- */

.related-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px;
}
.related-links a {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 600;
  color: var(--navy);
  font-size: .94rem;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.related-links a:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* -----------------------------------------------------------------
   Value list & feature grid
   ----------------------------------------------------------------- */

.value-list { display: grid; gap: 4px; }
.value-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.value-list article:last-child { border-bottom: 0; }
.value-list span.icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-soft);
}
.value-list span.icon svg {
  width: 18px; height: 18px;
  stroke: var(--blue); fill: none;
  stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.value-list h3 { margin-bottom: 6px; }
.value-list p { margin: 0; color: var(--text-soft); font-size: .95rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.score-card, .photo-checklist {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
}
.score-card strong, .photo-checklist h3 {
  display: block;
  color: var(--orange);
  font-size: 1.05rem;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--yellow);
  font-weight: 800;
}
.score-card ul, .photo-checklist ul { list-style: none; margin: 0; padding: 0; }
.score-card li, .photo-checklist li {
  padding: 10px 0 10px 22px;
  position: relative;
  color: var(--text-soft);
  font-size: .95rem;
  border-bottom: 1px solid var(--line);
}
.score-card li:last-child, .photo-checklist li:last-child { border-bottom: 0; }
.score-card li::before, .photo-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 9px;
  color: var(--orange);
  font-weight: 800;
}

/* Trust pills */
.trust-pills {
  display: flex; flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.trust-pills span {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
}
.trust-pills svg {
  width: 14px; height: 14px;
  stroke: var(--blue); fill: none;
  stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Trust badges — compact credibility row (hero + footer) */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.trust-badges .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  line-height: 1;
}
.trust-badges .badge svg {
  width: 16px; height: 16px;
  stroke: var(--blue); fill: none;
  stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.trust-badges .badge .badge-stars { color: #F5A623; letter-spacing: .04em; font-size: .95rem; }
/* On dark sections (footer CTA) the badges invert to translucent glass */
.section-dark .trust-badges .badge,
.footer-cta .trust-badges .badge {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  color: #fff;
  box-shadow: none;
}
.section-dark .trust-badges .badge svg,
.footer-cta .trust-badges .badge svg { stroke: var(--yellow); }

/* Legal pages */
.legal h2 { font-size: 1.3rem; margin-top: 32px; margin-bottom: 10px; }
.legal p { color: var(--text-soft); }

/* -----------------------------------------------------------------
   Footer
   ----------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: #fff;
}
.footer-cta {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 56px 0;
}
.footer-cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 40px;
}
.footer-cta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 10px;
}
.footer-cta p {
  color: rgba(255,255,255,.78);
  max-width: 52ch;
  margin: 0;
}
.footer-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr .9fr .9fr;
  gap: 40px;
  padding: 56px 0 40px;
}
.footer-brand img {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
  background: #fff;
  padding: 8px 12px;
  border-radius: var(--r-sm);
}
.footer-brand p {
  color: rgba(255,255,255,.78);
  max-width: 36ch;
  font-size: .94rem;
}
.footer-contact {
  margin-top: 16px;
  font-size: .94rem;
  line-height: 1.7;
  color: rgba(255,255,255,.9);
}
.footer-contact strong { color: var(--yellow); font-weight: 800; font-size: 1.05rem; }
.footer-grid h3 {
  font-size: 1rem;
  color: var(--yellow);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a {
  color: rgba(255,255,255,.78);
  font-size: .94rem;
  transition: color .15s ease;
}
.footer-grid a:hover { color: #fff; }
.footer-grid .footer-note {
  margin-top: 14px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  flex-wrap: wrap;
}

/* Mobile sticky action bar */
.mobile-action-bar { display: none; }

/* -----------------------------------------------------------------
   Reveal animations
   ----------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(14px); animation: fade-up .7s cubic-bezier(.2,.7,.3,1) forwards; }
.reveal.d-1 { animation-delay: .08s; }
.reveal.d-2 { animation-delay: .16s; }
.reveal.d-3 { animation-delay: .24s; }
@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal: applied via IntersectionObserver in main.js */
.in-view-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.in-view-target.in-view {
  opacity: 1;
  transform: translateY(0);
}
.in-view-target.delay-1 { transition-delay: .08s; }
.in-view-target.delay-2 { transition-delay: .16s; }
.in-view-target.delay-3 { transition-delay: .24s; }

/* Service-card icon nudge */
.service-card { transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, border-color .2s ease; }
.service-card:hover .service-icon { transform: translateY(-3px) rotate(-3deg); }
.service-icon { transition: transform .25s cubic-bezier(.2,.7,.3,1); }

/* Text-link gap-based nudge (existing arrow is inline in markup) */
.text-link { transition: color .15s ease, gap .2s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .in-view-target { opacity: 1 !important; transform: none !important; }
}

/* -----------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------- */

@media (max-width: 1120px) {
  .header-main { grid-template-columns: auto auto 1fr; gap: 16px; }
  .menu-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-weight: 700;
    font-size: .9rem;
    color: var(--navy);
    justify-self: end;
    cursor: pointer;
  }
  .menu-button-icon {
    display: grid;
    gap: 4px;
  }
  .menu-button-icon span {
    display: block;
    width: 20px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
  }
  .primary-nav {
    display: none;
    position: absolute;
    left: 16px; right: 16px;
    top: calc(100% + 6px);
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    gap: 2px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }
  .primary-nav a { padding: 12px 14px; }
  .nav-open .primary-nav { display: flex; }
  .header-actions .header-phone { display: none; }

  .hero-grid, .page-hero-grid, .split, .split-thirds, .form-split, .promise-grid, .footer-cta-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sticky-copy { position: static; }
  .footer-actions { justify-content: flex-start; }
  .service-grid, .service-grid.five { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .review-grid, .project-grid, .area-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .work-photo-card { grid-column: span 6; }
  .work-photo-card.is-wide { grid-column: 1 / -1; }
  .work-preview-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .work-preview-main { grid-row: auto; min-height: 260px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 64px; }
  .container { width: min(100% - 28px, var(--container)); }
  .topbar-inner { gap: 12px; flex-wrap: wrap; text-align: center; padding: 8px 0; min-height: auto; }
  .topbar-inner > *:nth-child(2) { display: none; }

  .section { padding: 56px 0; }
  .hero, .page-hero { padding: 48px 0 56px; }
  .hero-silk { opacity: .7; } /* softer flowing background on mobile (−30%) */

  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1 1 200px; }
  .hero-badge { left: 14px; bottom: 14px; padding: 10px 14px; font-size: .88rem; }

  .header-actions .header-cta { display: none; }

  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 24px 18px; }
  .proof-grid > div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
  .proof-grid > div:nth-last-child(-n+2) { border-bottom: 0; }

  .service-grid, .service-grid.five { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .review-grid, .project-grid, .area-grid, .feature-grid { grid-template-columns: 1fr; }
  .work-photo-grid { grid-template-columns: 1fr; }
  .work-photo-card, .work-photo-card.is-wide { grid-column: 1 / -1; }
  .work-photo-card.is-wide .work-photo-media,
  .work-photo-card.is-tall .work-photo-media { aspect-ratio: 4 / 3; }
  .work-preview-grid { grid-template-columns: 1fr; }
  .work-preview-card, .work-preview-main { min-height: 220px; }
  .promise-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .check-grid, .check-list.two-col { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .lead-form { padding: 22px; }

  .footer-grid { grid-template-columns: 1fr; padding: 44px 0 32px; }
  .footer-cta { padding: 40px 0; }
  .footer-actions { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .mobile-action-bar {
    position: fixed; z-index: 80;
    bottom: 0; left: 0; right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(15,42,71,.12);
  }
  .mobile-action-bar a {
    display: grid; place-items: center;
    font-weight: 700;
    font-size: .95rem;
    color: var(--navy);
    min-height: 60px;
  }
  .mobile-action-bar a:last-child {
    background: var(--orange);
    color: #fff;
  }

  .brand img { height: 73px; }
  .header-main { min-height: 72px; }
}

@media (max-width: 430px) {
  .topbar-inner { font-size: .8rem; }
  .promise-stats { grid-template-columns: 1fr; }
  h1 { font-size: clamp(1.95rem, 8.5vw, 2.4rem); }
  .hero-copy h1 { line-height: 1.12; }
  .hero-actions .button { flex: 1 1 100%; }            /* full-width stacked CTAs */
  .hero-stat-card { top: 12px; right: 12px; padding: 10px 12px; }
  .hero-eyebrow { font-size: .76rem; }
}
