/*
Theme Name: ColorMind2 Pro
Theme URI: https://colormind2.com/
Author: ColorMind2
Description: A premium painting contractor website for ColorMind2 serving Miami-Dade, Broward, and Palm Beach.
Version: 4.4.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: colormind2-pro
*/

:root {
  --ink: #182136;
  --muted: #5a6473;
  --navy: #102244;
  --sage: #768967;
  --rose: #f5d8df;
  --gold: #d6a542;
  --blue: #166fd1;
  --orange: #f26922;
  --soft: #f7f5f0;
  --paper: #fffdf8;
  --line: #ddd7ca;
  --white: #fffefa;
  --shadow: 0 24px 70px rgba(16, 34, 68, .13);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(22, 111, 209, .28);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 5vw, 68px);
  background: rgba(255, 253, 248, .94);
  border-bottom: 1px solid rgba(221, 215, 202, .86);
  backdrop-filter: blur(14px);
  transition: min-height .28s ease, padding .28s ease, box-shadow .28s ease;
}
.site-header.is-scrolled {
  min-height: 66px;
  box-shadow: 0 16px 40px rgba(16,34,68,.08);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); min-width: 210px; }
.brand-mark {
  width: 58px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(16,34,68,.12);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffefa, #f5d8df);
  box-shadow: 0 10px 24px rgba(16,34,68,.1);
}
.brand-mark img { width: 62px; height: 50px; object-fit: contain; transform: scale(1.45); }
.brand strong { display: block; font-size: 24px; line-height: 1; letter-spacing: 0; }
.brand small { display: block; margin-top: 4px; color: var(--sage); font-size: 10px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; }
.site-nav { justify-self: center; font-size: 14px; font-weight: 850; color: var(--navy); }
.nav-list { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.site-nav a, .site-nav .menu-item a { display: inline-flex; padding: 10px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-color: var(--orange); }
.header-phone { color: var(--orange); font-weight: 950; white-space: nowrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--white); background: var(--orange); box-shadow: 0 10px 24px rgba(242,105,34,.22); }
.button-primary:hover { color: var(--white); background: #d95512; }
.button-secondary { color: var(--navy); background: var(--white); border-color: #bfb7aa; }
.button-secondary:hover { border-color: var(--orange); }
.menu-toggle { display: none; }

.js-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--orange);
  font-weight: 950;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(380px, 1.12fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(48px, 7vw, 90px) clamp(20px, 6vw, 92px) 48px;
  position: relative;
  isolation: isolate;
}
.kinetic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 16%, rgba(245,216,223,.68), transparent 24%),
    radial-gradient(circle at 14% 84%, rgba(118,137,103,.18), transparent 30%);
}
.hero h1, .page-hero h1, .detail-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 6vw, 74px);
  line-height: .98;
  letter-spacing: 0;
}
.hero p, .page-hero p, .detail-hero p {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.proof-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.proof-pills span {
  padding: 10px 13px;
  color: var(--navy);
  background: rgba(255,254,250,.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.hero-media { position: relative; min-height: 560px; align-self: stretch; }
.hero-primary-image {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 48px 8px 8px 92px;
  box-shadow: var(--shadow);
  animation: heroZoom 1.1s cubic-bezier(.16,1,.3,1) both;
}
.hero-float {
  position: absolute;
  width: clamp(118px, 16vw, 210px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 7px solid var(--paper);
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(16,34,68,.16);
}
.hero-float-one { left: -28px; top: 42px; }
.hero-float-two { right: -18px; bottom: 84px; }
.paint-orbit {
  position: absolute;
  inset: -28px;
  z-index: -1;
  pointer-events: none;
}
.paint-orbit span {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  opacity: .9;
  animation: drift 7s ease-in-out infinite;
}
.paint-orbit span:nth-child(1) { background: #768967; left: 10%; top: 10%; }
.paint-orbit span:nth-child(2) { background: #f26922; right: 8%; top: 18%; animation-delay: -1.4s; }
.paint-orbit span:nth-child(3) { background: #f5d8df; left: 4%; bottom: 18%; animation-delay: -2.6s; }
.paint-orbit span:nth-child(4) { background: #d6a542; right: 18%; bottom: 4%; animation-delay: -3.8s; }
@keyframes heroZoom {
  from { transform: scale(1.04); opacity: .82; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(12px,-16px,0); }
}
.hero-note {
  position: absolute;
  left: -32px;
  bottom: 34px;
  max-width: 315px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-note strong { display: block; color: var(--navy); }
.hero-note span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }

.studio-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(20px, 6vw, 92px);
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(16,34,68,.08);
}
.studio-strip div { padding: 24px; background: var(--white); }
.studio-strip strong { display: block; color: var(--orange); font-size: 13px; letter-spacing: 1.4px; }
.studio-strip span { display: block; margin-top: 8px; color: var(--navy); font-weight: 850; }

.featured-story {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
  padding: clamp(70px, 9vw, 120px) clamp(20px, 6vw, 92px);
}
.story-media { position: relative; overflow: hidden; border-radius: 8px 80px 8px 8px; box-shadow: var(--shadow); }
.story-media img { width: 100%; height: min(62vw, 620px); object-fit: cover; transform: scale(1.02); }
.story-copy h2 { margin: 0; color: var(--navy); font-size: clamp(34px, 5vw, 62px); line-height: 1; }
.story-copy p { color: var(--muted); font-size: 19px; }

.conversion-lab {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: var(--navy);
  color: var(--white);
}
.conversion-copy h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
}
.conversion-copy p { color: #d8e3ef; font-size: 18px; }
.conversion-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.conversion-actions a {
  padding: 12px 14px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  font-weight: 900;
}
.before-after-widget {
  --slider-position: 55%;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b1730;
  box-shadow: 0 26px 70px rgba(0,0,0,.28);
}
.before-after-widget img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.before-after-widget .after-layer {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--slider-position));
}
.before-after-widget::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--slider-position);
  width: 2px;
  background: var(--white);
  box-shadow: 0 0 0 999px transparent;
  pointer-events: none;
}
.before-after-widget input {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 20px;
  width: calc(100% - 36px);
  accent-color: var(--orange);
}
.ba-label {
  position: absolute;
  top: 16px;
  padding: 8px 10px;
  color: var(--navy);
  background: rgba(255,254,250,.9);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}
.ba-before { left: 16px; }
.ba-after { right: 16px; }

.section { padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 92px); }
.section-heading { max-width: 820px; margin: 0 auto 38px; text-align: center; }
.section-heading h2, .split-heading h2, .area-copy h2, .estimate-copy h2, .color-tool-promo h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}
.section-heading p, .split-heading p, .area-copy p, .estimate-copy p, .color-tool-promo p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.service-flow { display: grid; gap: 18px; }
.service-card {
  display: grid;
  grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 250px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: linear-gradient(90deg, rgba(118,137,103,.16), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; position: relative; }
.service-card div { position: relative; }
.service-card h3 { margin: 0 0 8px; color: var(--navy); font-size: clamp(22px, 3vw, 36px); line-height: 1.05; }
.service-card p { margin: 0; color: var(--muted); }

.split-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 30px; }
.work-grid, .gallery-grid { display: grid; grid-template-columns: 1.1fr .95fr .95fr; gap: 18px; }
.work-grid figure, .gallery-grid figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--navy);
}
.work-grid img, .gallery-grid img { width: 100%; height: 380px; object-fit: cover; transition: transform .35s ease; }
.work-grid figure:first-child img { height: 520px; }
.work-grid figure:hover img, .gallery-grid figure:hover img { transform: scale(1.04); }
.work-grid figcaption, .gallery-grid figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(16,34,68,.86);
  border-radius: 4px;
  font-weight: 850;
}
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-grid img { height: 340px; }

.areas-section {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 36px;
  align-items: center;
  padding: clamp(62px, 8vw, 108px) clamp(20px, 6vw, 92px);
  background: linear-gradient(90deg, #fbf8f0 0%, #f1e5d3 46%, #cfd8c0 100%);
  overflow: hidden;
}
.planner-card {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 330px;
  padding: clamp(24px, 4vw, 46px);
  color: var(--navy);
  background:
    radial-gradient(circle at 20% 20%, rgba(242,105,34,.22), transparent 28%),
    linear-gradient(135deg, var(--white), #f5d8df);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.planner-card span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.planner-card strong { font-size: clamp(28px, 4vw, 48px); line-height: 1.04; }
.planner-card p { margin: 0; color: var(--muted); font-size: 17px; }
.county-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.county-links a {
  padding: 11px 13px;
  color: var(--navy);
  background: rgba(255,254,250,.82);
  border: 1px solid rgba(16,34,68,.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.check-list, .feature-list { margin: 22px 0 28px; padding: 0; list-style: none; display: grid; gap: 11px; }
.check-list li, .feature-list li { position: relative; padding-left: 28px; color: var(--ink); font-weight: 750; }
.check-list li::before, .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: inset 0 0 0 4px #eef3e8;
}
.area-map {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 64% 20%, rgba(255,254,250,.95), transparent 11%),
    radial-gradient(circle at 52% 45%, rgba(255,254,250,.95), transparent 10%),
    radial-gradient(circle at 46% 75%, rgba(255,254,250,.95), transparent 13%),
    linear-gradient(145deg, rgba(255,255,255,.55), rgba(255,255,255,.1));
}
.pin { position: absolute; display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 950; }
.pin::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); border: 4px solid var(--white); }
.pin-one { right: 19%; top: 18%; }
.pin-two { right: 28%; top: 45%; }
.pin-three { right: 35%; bottom: 18%; }

.color-tool-promo {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.swatch-rail {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  width: 140%;
  height: 11px;
  animation: swatchMove 12s linear infinite;
}
.swatch-rail span { flex: 1; }
.swatch-rail span:nth-child(1) { background: #768967; }
.swatch-rail span:nth-child(2) { background: #f5d8df; }
.swatch-rail span:nth-child(3) { background: #f26922; }
.swatch-rail span:nth-child(4) { background: #d6a542; }
.swatch-rail span:nth-child(5) { background: #166fd1; }
@keyframes swatchMove {
  from { transform: translateX(0); }
  to { transform: translateX(-28%); }
}
.color-tool-promo h2, .color-tool-promo p { color: var(--white); }
.color-tool-promo p { max-width: 760px; color: #d8e3ef; }

.estimate-section {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: 40px;
  align-items: center;
  padding: clamp(62px, 8vw, 108px) clamp(20px, 6vw, 92px);
  background: linear-gradient(90deg, rgba(255,253,248,.94), rgba(255,253,248,.88)), url("assets/images/interior-prep.jpg") center/cover;
}
.phone-link, .email-link { display: block; margin-top: 18px; color: var(--orange); font-weight: 950; font-size: 22px; }
.email-link { margin-top: 6px; color: var(--navy); font-size: 17px; }
.business-card {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,254,250,.82);
}
.business-card strong { color: var(--navy); }
.business-card span { color: var(--muted); font-weight: 750; }
.estimate-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.estimate-form label { display: grid; gap: 7px; color: var(--navy); font-size: 13px; font-weight: 900; }
.estimate-form input, .estimate-form select, .estimate-form textarea {
  width: 100%;
  border: 1px solid #c9c1b4;
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}
.full-field { grid-column: 1 / -1; }
.form-status { margin: 0; grid-column: 1 / -1; color: var(--blue); font-weight: 900; }

.page-hero, .detail-hero {
  padding: clamp(58px, 8vw, 98px) clamp(20px, 6vw, 92px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.compact-hero { text-align: center; }
.compact-hero p { margin-left: auto; margin-right: auto; }
.detail-hero {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 38px;
  align-items: center;
}
.detail-hero .button { margin-top: 28px; }
.detail-hero img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.detail-copy { max-width: 980px; }
.detail-copy h2 { margin: 0; color: var(--navy); font-size: clamp(30px, 4vw, 44px); }
.detail-copy p { font-size: 18px; color: var(--ink); }

.blog-page { background: var(--soft); padding-bottom: 74px; }
.blog-hero {
  padding: 82px clamp(20px, 6vw, 92px) 46px;
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.blog-hero h1 { margin: 0; color: var(--navy); font-size: clamp(38px, 5vw, 62px); }
.blog-hero p { margin: 14px auto 0; max-width: 740px; color: var(--muted); font-size: 19px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 250px;
}
.blog-card img { width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.blog-card div { padding: 24px; }
.blog-grid h2, .blog-grid h3 { margin: 0 0 12px; color: var(--navy); font-size: 24px; line-height: 1.16; }
.blog-grid p { color: var(--muted); }
.blog-grid a { color: var(--orange); font-weight: 950; }
.article-hero-image { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }
.article-cta {
  margin: 34px 0;
  padding: 26px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}
.article-cta h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.article-cta p { color: #d8e3ef; }

.directory-page, .planner-page { background: var(--paper); }
.directory-intro { max-width: 880px; margin-bottom: 30px; }
.directory-intro h2, .directory-cta h2 { margin: 0; color: var(--navy); font-size: clamp(32px, 4.5vw, 54px); line-height: 1.05; }
.directory-intro p, .directory-cta p { color: var(--muted); font-size: 18px; }
.directory-helper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 22px;
}
.directory-helper div {
  padding: 18px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(245,216,223,.7), rgba(255,253,248,.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.directory-helper strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  margin-bottom: 6px;
}
.directory-helper span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.directory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.directory-county {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16,34,68,.06);
}
.directory-county h3 { margin: 0 0 18px; color: var(--navy); font-size: 28px; }
.directory-note {
  margin: -6px 0 10px;
  color: var(--muted);
  font-size: 14px;
}
.directory-services {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
}
.directory-services a {
  padding: 7px 9px;
  color: var(--navy);
  background: rgba(118,137,103,.13);
  border: 1px solid rgba(118,137,103,.24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.planner-hero {
  background:
    linear-gradient(90deg, rgba(255,253,248,.97), rgba(255,253,248,.88)),
    url("assets/images/interior-prep.jpg") center/cover;
}
.planner-service-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 30px;
}
.planner-service-picker article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 240px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16,34,68,.06);
}
.planner-service-picker span,
.planner-note-card span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.planner-service-picker h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.08;
}
.planner-service-picker p { margin: 0; color: var(--muted); }
.planner-scope-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
  gap: 24px;
  align-items: stretch;
  margin: 0 0 30px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.planner-scope-board h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}
.planner-note-card {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16,34,68,.06);
}
.planner-note-card strong {
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.06;
}
.planner-note-card p { margin: 0; color: var(--muted); }
.planner-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 28px;
}
.planner-actions a {
  display: grid;
  gap: 8px;
  min-height: 180px;
  align-content: end;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), #244269);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(16,34,68,.12);
}
.planner-actions strong { font-size: 22px; line-height: 1.1; }
.planner-actions span { color: #d8e3ef; font-size: 14px; }
.planner-profit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 30px;
}
.planner-profit-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 230px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16,34,68,.06);
}
.planner-profit-grid span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.planner-profit-grid h3 {
  margin: 0;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.08;
}
.planner-profit-grid p { margin: 0; color: var(--muted); }
.city-list { display: grid; gap: 10px; }
.city-list a {
  display: grid;
  gap: 3px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffaf1;
}
.city-list strong { color: var(--navy); }
.city-list span { color: var(--muted); font-size: 13px; }
.directory-cta {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.directory-cta img { width: 100%; height: 320px; object-fit: cover; border-radius: 6px; }
.article-block {
  max-width: 920px;
  margin: 34px auto 0;
  padding: clamp(28px, 4vw, 50px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.article-block h1 { margin: 0 0 18px; color: var(--navy); font-size: clamp(34px, 4.5vw, 56px); line-height: 1.04; }
.article-block p { color: var(--ink); font-size: 18px; }
.article-meta { color: var(--orange); font-weight: 900; }

.color-tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 28px;
}
.color-tool-hero img { width: 260px; justify-self: end; }
.matcher-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}
.matcher-panel, .match-results {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16,34,68,.08);
}
.upload-box {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px dashed #bdb3a6;
  border-radius: 6px;
  color: var(--navy);
  font-weight: 900;
  background: #fff8ed;
}
#color-canvas {
  width: 100%;
  max-height: 620px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f0ece4;
  cursor: crosshair;
}
.tool-note, .affiliate-note { color: var(--muted); font-size: 14px; }
.swatch-row { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.picked-swatch { width: 62px; height: 62px; border-radius: 8px; border: 1px solid rgba(16,34,68,.2); background: var(--soft); }
.swatch-row strong, .swatch-row span { display: block; }
.paint-results { display: grid; gap: 12px; margin-top: 18px; }
.paint-result {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.paint-result i { width: 44px; height: 44px; border-radius: 6px; border: 1px solid rgba(0,0,0,.12); }
.paint-result strong, .paint-result span { display: block; }
.paint-result a { color: var(--orange); font-weight: 900; }

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding: 42px clamp(20px, 6vw, 92px);
  background: var(--navy);
  color: var(--white);
}
.site-footer p { margin: 10px 0 0; color: #d8e3ef; max-width: 440px; }
.site-footer a { display: block; margin-top: 10px; color: #e8eef7; }
.site-footer span { display: block; margin-top: 10px; color: #d8e3ef; }

/* v4 SEO, mobile, and utility hardening */
.mobile-call { display: none; color: var(--white); background: var(--sage); padding: 10px 14px; border-radius: 4px; font-weight: 950; }
.local-hero {
  background:
    linear-gradient(90deg, rgba(255,253,248,.96), rgba(255,253,248,.86)),
    url("assets/images/graffiti-wall-refresh.jpg") center/cover;
}
.local-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}
.local-proof-strip div {
  display: grid;
  gap: 6px;
  min-height: 170px;
  align-content: center;
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
}
.local-proof-strip strong {
  color: var(--navy);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.05;
}
.local-proof-strip span { color: var(--muted); font-weight: 750; }
.local-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.local-service-grid article {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16,34,68,.06);
}
.local-service-grid h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.08;
}
.local-service-grid p { margin: 0; color: var(--muted); }
.local-area-band { background: linear-gradient(90deg, #fbf8f0 0%, #f5d8df 44%, #cfd8c0 100%); }
.local-tags { justify-content: flex-start; margin-top: 22px; }
.local-checks {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  list-style: none;
}
.local-checks li {
  min-height: 110px;
  padding: 22px 22px 22px 54px;
  position: relative;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
}
.local-checks li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 25px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: inset 0 0 0 4px #ffe9dc;
}
.service-seo-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: center;
  background: var(--navy);
  color: var(--white);
}
.service-seo-block h2 { margin: 0; color: var(--white); font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
.service-seo-block p { color: #d8e3ef; font-size: 18px; }
.service-links, .store-grid { display: grid; gap: 12px; }
.service-links a, .related-links a, .store-grid a {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
}
.faq-section { background: var(--soft); }
.faq-list { max-width: 920px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.faq-list summary { cursor: pointer; color: var(--navy); font-weight: 950; }
.faq-list p { margin-bottom: 0; color: var(--muted); }
.tag-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tag-cloud span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
}
.tool-steps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tool-steps span {
  padding: 9px 11px;
  border-radius: 999px;
  background: #fff8ed;
  color: var(--navy);
  font-weight: 900;
  font-size: 13px;
}
.affiliate-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  gap: 28px;
  align-items: center;
  background: var(--soft);
}
.affiliate-section h2 { margin: 0; color: var(--navy); font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
.affiliate-section p { color: var(--muted); font-size: 18px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.product-paths { background: var(--paper); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.product-grid a {
  display: grid;
  gap: 8px;
  align-content: end;
  min-height: 190px;
  padding: 18px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16,34,68,.06);
}
.product-grid strong { font-size: 20px; line-height: 1.08; }
.product-grid span { color: var(--muted); font-size: 14px; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto auto; }
  .site-nav, .header-phone, .header-cta { display: none; }
  .mobile-call { display: inline-flex; justify-content: center; justify-self: end; grid-column: 1 / -1; }
  .menu-toggle { justify-self: end; display: grid; gap: 5px; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); background: var(--white); border-radius: 4px; }
  .menu-toggle span { display: block; height: 2px; background: var(--navy); }
  .site-header.nav-open .site-nav { display: grid; grid-column: 1 / -1; justify-self: stretch; gap: 0; padding-top: 12px; }
  .site-header.nav-open .nav-list { display: grid; gap: 0; }
  .site-header.nav-open .site-nav a { padding: 14px 0; border-top: 1px solid var(--line); }
  .hero, .featured-story, .conversion-lab, .detail-hero, .areas-section, .estimate-section, .matcher-shell, .directory-helper, .planner-actions, .planner-profit-grid, .planner-service-picker, .planner-scope-board, .directory-cta, .service-seo-block, .affiliate-section, .local-proof-strip, .local-service-grid, .local-checks { grid-template-columns: 1fr; }
  .studio-strip, .directory-grid, .product-grid { grid-template-columns: 1fr; }
  .work-grid, .gallery-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .work-grid figure:first-child img, .work-grid img, .gallery-grid img { height: 360px; }
  .hero-media, .hero-media img { min-height: 420px; border-radius: var(--radius); }
  .hero-note { left: 20px; }
}

@media (max-width: 720px) {
  .brand { min-width: 0; }
  .brand strong { font-size: 21px; }
  .brand-mark { width: 50px; }
  .hero { padding-top: 38px; }
  .hero-actions, .split-heading, .color-tool-promo { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .work-grid, .gallery-grid, .blog-grid, .estimate-form, .site-footer, .service-card { grid-template-columns: 1fr; }
  .hero-media, .hero-media img { min-height: 320px; }
  .before-after-widget { min-height: 360px; }
  .hero-float { display: none; }
  .hero-note { position: static; margin-top: 14px; max-width: none; }
  .service-card { min-height: auto; }
  .area-map { min-height: 300px; }
  .estimate-form .full-field, .full-field { grid-column: auto; }
  .color-tool-hero { grid-template-columns: 1fr; }
  .color-tool-hero img { justify-self: start; width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .js-ready .reveal, .reveal { opacity: 1; transform: none; }
}
