/* ============================================================
   Color Splash Painting — Brand system
   Tokens, typography, base layout, components used sitewide.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand colors (from official guidelines) */
  --orange: #FF4800;
  --blue:   #14B3F2;
  --magenta:#FF00BD;
  --ink:    #1F1F1F;
  --paper:  #FAFAF7;
  --paper-2:#F2F0EA;
  --line:   #E6E3DA;
  --muted:  #6B6B66;

  /* Gradient — purposeful accent, not a background */
  --grad: linear-gradient(95deg, #FF4800 0%, #FF00BD 55%, #14B3F2 100%);
  --grad-soft: linear-gradient(95deg, rgba(255,72,0,.12), rgba(255,0,189,.12) 55%, rgba(20,179,242,.12));

  /* Type */
  --font-display: 'Bungee', 'Archivo Black', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Sizing */
  --radius: 14px;
  --radius-lg: 22px;
  --max-w: 1240px;

  /* Density (tweakable) */
  --pad-section: clamp(56px, 8vw, 120px);
  --gap: 24px;

  /* Base font scale */
  --fs-body: 17px;
}

/* Density modes */
html[data-density="compact"]   { --pad-section: clamp(40px, 5vw, 80px); --gap: 16px; --fs-body: 16px; }
html[data-density="comfortable"]{ /* default */ }
html[data-density="spacious"]  { --pad-section: clamp(80px, 10vw, 160px); --gap: 32px; --fs-body: 18px; }

/* Accessibility — high contrast */
html[data-contrast="high"] {
  --ink: #000;
  --paper: #fff;
  --paper-2: #fff;
  --line: #000;
  --muted: #1F1F1F;
}
html[data-contrast="high"] .grad-text { background: none !important; -webkit-text-fill-color: #000 !important; color: #000 !important; }

/* Font scale (a11y toggle) */
html[data-fs="lg"]  { --fs-body: 19px; }
html[data-fs="xl"]  { --fs-body: 21px; }

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 12px 18px; z-index: 9999; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Layout primitives ---------- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding-block: var(--pad-section); }
.section-tight { padding-block: clamp(40px, 6vw, 80px); }

/* ---------- Type ---------- */
.h1, .h2, .h3, .h4, .display {
  font-family: var(--font-display);
  font-weight: 400; /* Bungee is single-weight */
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h1, .display { font-size: clamp(48px, 8vw, 112px); }
.h2 { font-size: clamp(36px, 5vw, 64px); }
.h3 { font-size: clamp(24px, 3vw, 36px); }
.h4 { font-size: clamp(20px, 2.4vw, 28px); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--orange);
}
.lede { font-size: clamp(18px, 1.4vw, 22px); color: var(--ink); max-width: 64ch; }
.body p { max-width: 68ch; text-wrap: pretty; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); box-shadow: 6px 6px 0 var(--orange); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--orange); }
.btn-grad {
  background: var(--grad); border: none; color: #fff;
  padding: 18px 28px;
}
.btn-grad:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(31,31,31,.25); border-color: var(--ink); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink); color: var(--paper);
  font-size: 14px; font-weight: 600;
  padding: 10px 16px;
  text-align: center;
  position: relative; z-index: 50;
}
.announce a { color: var(--paper); text-decoration: underline; }
.announce .pill { background: var(--orange); color: #fff; padding: 2px 10px; border-radius: 999px; margin-right: 8px; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250,250,247,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.nav .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav .brand-logo { height: 48px; width: auto; display: block; }
.site-footer .brand-logo { height: 56px; filter: brightness(0) invert(1); opacity: .95; }
.nav .brand-mark { width: 38px; height: 38px; }
.nav .brand-name {
  font-family: var(--font-display);
  font-size: 18px; line-height: 1; text-transform: uppercase;
  letter-spacing: 0.02em;
}
@media (max-width: 640px){ .nav .brand-logo { height: 40px; } }
.nav-links { display: none; gap: 22px; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 15px;
  position: relative;
}
.nav-links a:hover { color: var(--orange); }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; }
.nav-call { display: none; font-weight: 700; text-decoration: none; color: var(--ink); align-items: center; gap: 8px; font-size: 15px; }
.nav-call:hover { color: var(--orange); }

/* dropdown */
.has-menu { position: relative; }
.has-menu > a { padding: 10px 0; display: inline-block; }
/* invisible bridge so the 8px gap doesn't break hover */
.has-menu::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 10px;
  display: none;
}
.has-menu:hover::after,
.has-menu:focus-within::after { display: block; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: -16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  padding: 10px; min-width: 220px;
  display: none;
  z-index: 100;
}
.has-menu:hover .dropdown,
.has-menu:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.dropdown a:hover { background: var(--paper-2); color: var(--orange); }

/* mobile menu */
.menu-btn { display: inline-flex; padding: 10px 14px; background: var(--ink); color: var(--paper); border: none; border-radius: 999px; font-weight: 700; }
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 100; background: var(--paper); padding: 24px; overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-menu.open::before {
  /* Thin brand-gradient bar across the top */
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 6px; z-index: 101;
  background: linear-gradient(90deg, #FF4800 0%, #FF00BD 50%, #14B3F2 100%);
}
.mobile-menu .close { position: absolute; top: 18px; right: 18px; }
.mobile-menu [data-menu-close].btn {
  background: var(--ink); color: var(--paper); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--orange);
}
.mobile-menu nav { margin-top: 60px; }
.mobile-menu nav a {
  display: block; padding: 12px 14px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 22px; text-decoration: none; color: var(--ink);
  border-left: 3px solid transparent; transition: border-color .15s, background .15s, padding .15s;
}
.mobile-menu nav a:hover,
.mobile-menu nav a:active {
  border-left-color: var(--orange);
  background: rgba(255,72,0,.06);
  padding-left: 18px;
}
.mobile-menu .group-title {
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: .2em; margin-top: 26px; margin-bottom: 4px;
  text-transform: uppercase; font-weight: 700;
  background: linear-gradient(90deg, var(--orange) 0%, var(--magenta) 60%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: inline-block;
  padding: 0 2px;
}
/* Per-group accent slivers for the links below each group-title */
.mobile-menu .group-title + a,
.mobile-menu .group-title ~ a { border-left-width: 3px; }
/* Residential group gets orange; Commercial gets blue; Service Areas gets magenta; Free Resources gets mixed */
.mobile-menu nav a[href*="/services/"] { border-left-color: rgba(255,72,0,.25); }
.mobile-menu nav a[href*="/service-areas/"] { border-left-color: rgba(255,0,189,.25); }
.mobile-menu nav a[href*="/resources/"],
.mobile-menu nav a[href*="/blog/"] { border-left-color: rgba(20,179,242,.25); }
.mobile-menu nav a[href*="schedule-estimate"] {
  color: var(--orange) !important; font-weight: 800;
  background: linear-gradient(90deg, rgba(255,72,0,.08), transparent);
  border-left-color: var(--orange) !important;
}
.mobile-menu nav a[href^="tel:"] {
  color: var(--ink); font-weight: 700;
  border-left-color: var(--blue) !important;
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-call { display: inline-flex; }
  .menu-btn { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 80px 0 32px; }
.site-footer a { color: var(--paper); text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 { font-family: var(--font-display); text-transform: uppercase; font-size: 14px; letter-spacing: .05em; margin: 0 0 14px; color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 4px 0; font-size: 14px; }
.nap { font-size: 14px; line-height: 1.6; opacity: .9; }
.nap strong { color: #fff; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; opacity: .7;
}
.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); padding: 6px 12px; border-radius: 999px; font-size: 12px; }

/* ---------- Forms ---------- */
.lead-form { display: grid; gap: 14px; }
.lead-form .row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .lead-form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field textarea { min-height: 110px; resize: vertical; }
.consent { font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.consent input { margin-top: 4px; }
.form-success {
  background: var(--paper-2); border: 2px dashed var(--orange);
  padding: 28px; border-radius: var(--radius);
}
.form-error { color: #c00; font-size: 14px; }

/* ---------- Floating CTA (every page) ---------- */
.floating-cta {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px; background: var(--orange); color: #fff;
  border-radius: 999px; box-shadow: 0 14px 40px -10px rgba(255,72,0,.6);
  text-decoration: none; font-weight: 700;
}
.floating-cta:hover { background: var(--ink); }

/* ---------- Hero scaffolding ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(60px, 8vw, 120px) clamp(60px, 8vw, 100px); }
.hero .stars { display: inline-flex; gap: 4px; color: #FFB300; font-size: 18px; }
.hero .stat-row { display: flex; flex-wrap: wrap; gap: 18px 24px; }
.hero .stat { font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.hero .stat strong { color: var(--ink); font-size: 18px; font-family: var(--font-display); }

/* paint splash svg helper */
.splash-bg { position: absolute; pointer-events: none; opacity: .9; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--ink); color: var(--paper);
  padding: 22px 0;
}
.trust-strip .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 36px; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.trust-strip .dot { color: var(--orange); }

/* ---------- Photo placeholder block ---------- */
.photo-ph {
  background:
    repeating-linear-gradient(45deg, rgba(31,31,31,.05) 0 12px, rgba(31,31,31,.10) 12px 24px);
  border: 1px dashed rgba(31,31,31,.4);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  padding: 18px;
  min-height: 180px;
  text-transform: uppercase; letter-spacing: .05em;
}
.photo-ph small { display: block; opacity: .7; margin-top: 6px; }

/* ---------- Real photos (replace .photo-ph slots) ---------- */
.photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--orange);
  background: #eee;
}
/* If an explicit height is carried via aspect-ratio, fill the box; this prevents
   the image from shrinking smaller than an inline aspect-ratio intended. */
.photo[style*="aspect-ratio"] { height: auto; }

.svc-photo {
  aspect-ratio: 4/3;
  object-fit: cover;
  min-height: 0;
  box-shadow: 4px 4px 0 var(--orange);
}
.recent-photo {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-color: rgba(255,255,255,.4);
  box-shadow: 6px 6px 0 var(--blue);
}
@media (max-width: 820px) {
  .photo { box-shadow: 4px 4px 0 var(--orange); }
  .recent-photo { box-shadow: 4px 4px 0 var(--blue); }
}

/* ---------- Service card grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.svc-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.svc-card .photo-ph { min-height: 200px; }
.svc-card h3 { font-family: var(--font-display); font-size: 22px; margin: 0; text-transform: uppercase; }
.svc-card p { margin: 0; color: var(--muted); font-size: 15px; }
.svc-card .more { font-weight: 700; color: var(--orange); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Reviews ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; }
.review .stars { color: #FFB300; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.review cite { font-style: normal; font-weight: 700; }
.review .city-tag { display: inline-block; font-size: 12px; background: var(--paper-2); padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display); font-size: 18px; text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--orange); transition: transform .2s ease; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: var(--ink); }

/* ---------- Final CTA strip ---------- */
.final-cta { background: var(--grad); color: #fff; text-align: center; }
.final-cta h2 { color: #fff; }
.final-cta .btn { border-color: #fff; }
.final-cta .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.final-cta .btn-primary:hover { background: var(--ink); color: #fff; box-shadow: 6px 6px 0 rgba(255,255,255,.5); }
.final-cta .btn-ghost { color: #fff; border-color: #fff; background: transparent; }
.final-cta .btn-ghost:hover { background: #fff; color: var(--ink); box-shadow: 6px 6px 0 rgba(0,0,0,.3); }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 16px 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.crumbs span { margin: 0 6px; opacity: .5; }

/* ---------- Tweaks Panel ---------- */
.tweaks-panel {
  position: fixed; right: 18px; bottom: 80px; z-index: 70;
  background: #fff; border: 2px solid var(--ink); border-radius: 14px;
  padding: 16px; width: 280px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.35);
  font-size: 13px;
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h4 { font-family: var(--font-display); margin: 0 0 12px; font-size: 14px; text-transform: uppercase; }
.tweaks-panel label { display: block; margin: 8px 0 4px; font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.tweaks-panel select, .tweaks-panel input[type=color], .tweaks-panel input[type=text] { width: 100%; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }

/* ---------- Accessibility toggle button ---------- */
.a11y-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; font-size: 12px; font-weight: 700;
  color: var(--ink);
}
.a11y-btn:hover { border-color: var(--ink); }

/* ---------- Misc utility ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr !important; gap: 28px !important; } }

/* ---------- SC Interactive Map ---------- */
.sc-map-wrap .sc-pin { cursor: pointer; transition: transform .2s cubic-bezier(.2,.8,.2,1); transform-origin: center; transform-box: fill-box; }
.sc-map-wrap .sc-pin .sc-pin-label { opacity: 0; transition: opacity .2s; }
.sc-map-wrap .sc-pin:hover,
.sc-map-wrap .sc-pin:focus,
.sc-map-wrap .sc-pin.is-active { transform: scale(1.22); outline: none; }
.sc-map-wrap .sc-pin:hover .sc-pin-label,
.sc-map-wrap .sc-pin:focus .sc-pin-label,
.sc-map-wrap .sc-pin.is-active .sc-pin-label { opacity: 1; }
.sc-map-wrap .sc-pin:hover .sc-pin-halo,
.sc-map-wrap .sc-pin.is-active .sc-pin-halo { opacity: .35; }
.sc-map-wrap .sc-pin[data-kind="area"]:hover .sc-pin-dot,
.sc-map-wrap .sc-pin[data-kind="area"].is-active .sc-pin-dot {
  fill: url(#sc-grad-hover);
}
.sc-map-wrap .sc-pulse { transform-origin: center; transform-box: fill-box; animation: sc-pulse 2.2s ease-out infinite; }
@keyframes sc-pulse {
  0%   { transform: scale(.6); opacity: .35; }
  100% { transform: scale(1.9); opacity: 0; }
}
.sc-map-wrap .sc-chip:hover { background: var(--ink); color: #fff; }
.sc-map-wrap .sc-chip:hover span { box-shadow: 0 0 0 2px #fff; }
@media (max-width: 900px) {
  .sc-map-wrap .sc-map-grid { grid-template-columns: 1fr !important; }
  .sc-map-wrap .sc-pin-label { font-size: 13px; }
}

/* ---------- SC Service Area split layout ---------- */
.sc-area-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.sc-area-map { min-width: 0; }
.sc-area-cities {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 592px; /* matches iframe 560 + 12+12 wrapper padding + 2+2 border ~= 588 */
  overflow-y: auto;
  padding: 2px 6px 2px 2px;
  /* custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--ink) transparent;
}
.sc-area-cities::-webkit-scrollbar { width: 8px; }
.sc-area-cities::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 999px; }
.sc-area-cities::-webkit-scrollbar-track { background: transparent; }

.sc-city-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  position: relative;
  width: 100%;
  min-height: 64px;
}
.sc-city-card:hover,
.sc-city-card:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
  outline: none;
}
.sc-city-card:hover .sc-city-arrow,
.sc-city-card:focus-visible .sc-city-arrow {
  transform: translateX(4px);
  color: var(--orange);
}
.sc-city-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #14B3F2; /* default = blue (service area) */
  box-shadow: 0 0 0 4px rgba(20,179,242,.18);
}
.sc-city-dot--office {
  background: #FF4800;
  box-shadow: 0 0 0 4px rgba(255,72,0,.22);
}
.sc-city-dot--office2 {
  background: #FF00BD;
  box-shadow: 0 0 0 4px rgba(255,0,189,.22);
}
.sc-city-dot--area {
  background: #14B3F2;
  box-shadow: 0 0 0 4px rgba(20,179,242,.18);
}
.sc-city-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.sc-city-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-city-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-city-arrow {
  font-size: 18px;
  color: var(--ink);
  opacity: .45;
  transition: transform .15s ease, color .15s ease, opacity .15s ease;
  flex-shrink: 0;
}
.sc-city-card:hover .sc-city-arrow { opacity: 1; }

@media (max-width: 960px) {
  .sc-area-split { grid-template-columns: 1fr; gap: 24px; }
  .sc-area-cities { max-height: none; overflow: visible; }
}

.bleed-dark { background: var(--ink); color: var(--paper); }
.bleed-dark .lede, .bleed-dark p { color: rgba(255,255,255,.85); }
.bleed-cream { background: var(--paper-2); }

/* a paint splash divider */
.divider {
  height: 8px;
  background: var(--grad);
  width: 80px;
  border-radius: 999px;
}

/* before-after slider */
.ba-slider {
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; user-select: none;
  border: 1px solid var(--line);
}
.ba-slider .ba-after, .ba-slider .ba-before { position: absolute; inset: 0; }
.ba-slider .ba-after { clip-path: inset(0 0 0 50%); }
.ba-slider .ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.2);
}
.ba-slider .ba-knob {
  position: absolute; top: 50%; left: 50%; width: 36px; height: 36px;
  background: #fff; border-radius: 50%; border: 3px solid var(--orange);
  transform: translate(-50%, -50%); cursor: ew-resize;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--orange);
}
.ba-slider .ba-tag { position: absolute; top: 12px; padding: 4px 10px; background: rgba(0,0,0,.7); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ba-slider .ba-tag.before { left: 12px; }
.ba-slider .ba-tag.after { right: 12px; }

/* hero variant 1 — paint splash shape (replaces circle).
   Both .hero-splash and .hero-circ resolve to the same mask so legacy markup keeps working.
   Uses URL-encoded SVG data URI to avoid CSS parser issues with unescaped characters. */
.hero-splash,
.hero-circ {
  width: clamp(280px, 42vw, 560px); aspect-ratio: 1;
  background: var(--grad);
  position: relative;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20600%20600%27%3E%3Cpath%20d%3D%27M302%20188c-18-40-62-72-108-60-40%2010-70%2042-82%2082-14%2048%208%2092%2042%20118%2010%208%2016%2018%2018%2030%204%2022%2022%2036%2044%2036%2020%200%2034-8%2046-20%208-8%2020-10%2030-4%2034%2020%2078%2010%2096-22%204-6%2012-8%2018-6%2022%208%2044-4%2048-26%202-12-4-24-14-30%2012-8%2016-24%208-38-14-24-32-42-52-54-10-6-16-16-16-28%200-10%206-18%2016-22%2014-6%2018-22%2010-34-8-12-24-16-36-8-18%2012-38%2022-58%2028-6%202-10%200-12-6l-8-14zM420%20150l18%204%206%2016-12%2010-18-4-6-16zM92%20340l-14-2-4-12%2010-8%2014%202%204%2012zM460%20420l22%206%206%2018-16%2012-22-6-6-18zM160%20540l10%202%202%2010-8%206-10-2-2-10zM540%20260l-4%2010%206%208%2010-4%204-10z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20600%20600%27%3E%3Cpath%20d%3D%27M302%20188c-18-40-62-72-108-60-40%2010-70%2042-82%2082-14%2048%208%2092%2042%20118%2010%208%2016%2018%2018%2030%204%2022%2022%2036%2044%2036%2020%200%2034-8%2046-20%208-8%2020-10%2030-4%2034%2020%2078%2010%2096-22%204-6%2012-8%2018-6%2022%208%2044-4%2048-26%202-12-4-24-14-30%2012-8%2016-24%208-38-14-24-32-42-52-54-10-6-16-16-16-28%200-10%206-18%2016-22%2014-6%2018-22%2010-34-8-12-24-16-36-8-18%2012-38%2022-58%2028-6%202-10%200-12-6l-8-14zM420%20150l18%204%206%2016-12%2010-18-4-6-16zM92%20340l-14-2-4-12%2010-8%2014%202%204%2012zM460%20420l22%206%206%2018-16%2012-22-6-6-18zM160%20540l10%202%202%2010-8%206-10-2-2-10zM540%20260l-4%2010%206%208%2010-4%204-10z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  border-radius: 0;
  overflow: visible;
}
.hero-circ .photo-ph, .hero-splash .photo-ph {
  position: absolute !important;
  inset: 22% 22% 22% 22% !important;
  border-radius: 12px !important;
}

/* ---------- Paint drips (hanging from a bar / container top) ---------- */
.paint-drips {
  position: absolute; left: 0; right: 0; top: 100%;
  height: 70px;
  pointer-events: none;
  z-index: 5;
}
.paint-drips .drip {
  position: absolute; top: -4px;
  width: 14px;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.08));
  animation: drip-fall 1.2s cubic-bezier(.2,.8,.2,1) both;
}
.paint-drips .drip:nth-child(2) { animation-delay: .15s; }
.paint-drips .drip:nth-child(3) { animation-delay: .3s; }
@keyframes drip-fall {
  0%   { transform: translateY(-40%) scaleY(.6); opacity: 0; }
  60%  { transform: translateY(0) scaleY(1.05); opacity: 1; }
  100% { transform: translateY(0) scaleY(1); opacity: 1; }
}

/* Announcement bar — allow drips to overflow below it */
.announce { overflow: visible; }

/* gradient text underline */
.u-grad {
  background: var(--grad); background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* tag */
.tag { display: inline-block; padding: 4px 10px; background: var(--paper-2); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.tag.orange { background: var(--orange); color: #fff; }
.tag.blue { background: var(--blue); color: #fff; }
.tag.magenta { background: var(--magenta); color: #fff; }

/* process steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.steps .step { display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-items: start; }
.steps .step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 36px;
  color: var(--orange);
}
.steps .step h4 { margin: 0 0 4px; font-family: var(--font-display); text-transform: uppercase; font-size: 18px; }
.steps .step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ----- Loaders / pulses ----- */
@keyframes splash-in {
  0% { transform: scale(.6) rotate(-12deg); opacity: 0; }
  60% { transform: scale(1.05) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.splash-anim { animation: splash-in .9s cubic-bezier(.2,.8,.2,1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* =============================================================
   Mobile overrides — stack 2-col inline grids, contain overflow
   ============================================================= */
@media (max-width: 820px) {
  /* Force every inline 2-col grid inside a section to stack */
  section .wrap[style*="grid-template-columns"],
  section [style*="grid-template-columns:1.2fr"],
  section [style*="grid-template-columns: 1.2fr"],
  section [style*="grid-template-columns:1.1fr"],
  section [style*="grid-template-columns: 1.1fr"],
  section [style*="grid-template-columns:1.4fr"],
  section [style*="grid-template-columns: 1.4fr"],
  section [style*="grid-template-columns:1fr 1fr"],
  section [style*="grid-template-columns: 1fr 1fr"],
  section [style*="grid-template-columns:1fr 1.2fr"],
  section [style*="grid-template-columns: 1fr 1.2fr"],
  section [style*="grid-template-columns:1fr 1.4fr"],
  section [style*="grid-template-columns: 1fr 1.4fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  /* Hero tightens padding + right-aligned splashes pulled in */
  .hero { padding-block: 56px 48px !important; }
  .hero .splash-bg,
  .hero .splatter,
  .hero svg[class*="splash"] {
    max-width: 200px !important;
  }
  /* Display sizing */
  .display, .hero-h1 { font-size: clamp(44px, 12vw, 72px) !important; line-height: .95 !important; }
  .lede { font-size: 17px !important; }
  /* Wrap padding */
  .wrap { padding-inline: 18px !important; }
  /* Buttons full width when flex-wrapped */
  .hero .btn { width: 100%; justify-content: center; }
  /* Stat row wraps cleaner */
  .hero .stat-row { gap: 12px 16px !important; }
  /* Nav CTAs keep their shape */
  .site-header .nav-ctas { gap: 8px !important; }
  /* Contain any iframe bleed */
  iframe { max-width: 100% !important; }
}

/* Global safety — never allow horizontal scroll on mobile */
@media (max-width: 820px) {
  html, body { overflow-x: hidden !important; }
  img, svg, iframe, video { max-width: 100% !important; height: auto; }
}

/* Mobile nav — hide a11y toggles + Schedule Estimate CTA; keep Menu + logo only */
@media (max-width: 820px) {
  .nav-cta .a11y-btn { display: none !important; }
  .nav-cta .btn.btn-primary[data-cta-text] { display: none !important; }
  .nav-cta { gap: 8px !important; }
  /* Menu button a little more prominent since it's the only right-side control */
  .menu-btn { padding: 10px 18px !important; font-size: 15px !important; }
}

/* Mobile SC map iframe — shrink height so map SVG fills frame, no dead space */
@media (max-width: 820px) {
  .sc-map-frame { padding: 8px !important; box-shadow: 5px 5px 0 var(--orange) !important; }
  .sc-map-frame iframe {
    height: clamp(240px, 62vw, 360px) !important;
    border-radius: 12px !important;
  }
  /* Kill the ambient splats flanking the map frame on mobile — they crowd the space */
  .sc-map-wrap > div[style*="position:absolute"] { display: none !important; }
}
