/* =====================================================================
   ESP Painting — static site styles
   Recreates the esppainting.com design system: Patua One headings,
   Open Sans body, slate (#425469) + navy (#112e5b) palette.
   Self-hosted fonts, first-party only. No third-party CSS.
   ===================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Patua One';
  src: url('/assets/fonts/patua-one.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/assets/fonts/open-sans-latin-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #112e5b;
  --navy-dark: #0d2340;
  --slate: #425469;
  --slate-dark: #394a5c;
  --text: #626262;
  --heading: #425469;
  --muted: #5f6b78; /* ≥4.5:1 on white + --bg-soft (WCAG AA; was #7a8794) */
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --bg-gray: #f8f8f8;
  --line: #e4e7ea;
  --white: #ffffff;
  --gold: #f0b323;
  --shadow: 0 6px 24px rgba(17, 46, 91, .10);
  --shadow-lg: 0 18px 50px rgba(17, 46, 91, .18);
  --wrap: 1160px;
  --radius: 6px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* In-page links (blog "Table Of Contents") land the heading below the sticky header, not under it. */
.prose [id] { scroll-margin-top: 112px; }
body {
  margin: 0;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: 'Patua One', Georgia, serif;
  font-weight: 400;
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Patua One', serif;
  font-size: 1.05rem;
  line-height: 1.2;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .12s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--bg-soft); color: var(--navy); }
.btn-lg { font-size: 1.2rem; padding: 18px 38px; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 12px 24px; max-width: 1240px; margin: 0 auto;
}
.brand { flex: 0 0 auto; }
.brand img { width: 150px; height: auto; display: block; }
.header-right { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.nav-cta-mobile, .nav-phone-mobile { display: none; }
.header-phone {
  font-family: 'Patua One', serif; color: var(--navy); font-size: 1.15rem; white-space: nowrap;
}
.header-phone:hover { text-decoration: none; color: var(--slate); }

/* Mid-size screens (861–1180px): the full menu + phone + estimate button didn't fit and the button was cut off
   (pre-existing; seen 2026-11-21 at 1024px). Tighten spacing; below 1000px drop the phone number from the header below 1060px
   (it's still in the menu drawer, the estimate strip and the footer). */
@media (min-width: 861px) and (max-width: 1180px) {
  .header-inner { gap: 12px; padding: 10px 16px; }
  .brand img { width: 124px; }
  .header-right { gap: 10px; }
  .nav-list > li > a { padding: 10px 8px; font-size: .92rem; }
}
@media (min-width: 861px) and (max-width: 1060px) {
  .header-phone { display: none; }
}
@media (min-width: 861px) and (max-width: 940px) {
  .header-inner { padding: 10px 10px; gap: 8px; }
  .brand img { width: 108px; }
  .nav-list > li > a { padding: 10px 5px; font-size: .88rem; }
  .header-right .btn { padding-left: 14px; padding-right: 14px; }
}

/* Primary nav */
.primary-nav { }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block; padding: 12px 12px; color: var(--slate); font-weight: 600; font-size: .95rem; border-radius: 5px; white-space: nowrap;
}
.nav-list > li > a:hover, .nav-list > li.has-children:hover > a { background: var(--bg-soft); text-decoration: none; color: var(--navy); }
.nav-list a[aria-current="page"] { color: var(--navy); }
.has-children > a::after { content: "▾"; font-size: .7em; margin-left: 6px; color: var(--muted); }

/* Dropdowns */
.submenu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0;
  min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 120;
}
.has-children:hover > .submenu,
.has-children:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 9px 14px; color: var(--slate); font-size: .95rem; border-radius: 5px; }
.submenu a:hover { background: var(--bg-soft); color: var(--navy); text-decoration: none; }

/* Mobile toggle */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  color: var(--slate); flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 26px; height: 3px; background: currentColor; border-radius: 2px; }

/* ---------- Hero ---------- */
/* Banner photos are real <img>s in a <picture class="hero-bg"> (gen.mjs heroPicture) so phones get a small copy
   and the browser starts the download from the HTML; the tint sits on top as ::before. */
picture { display: contents; } /* WebP wrappers must not change layout */
picture.hero-bg { display: block; position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero, .page-hero.with-img, .stats { position: relative; isolation: isolate; }
.hero::before, .page-hero.with-img::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero::before { background: radial-gradient(ellipse 60% 75% at 50% 48%, rgba(17,32,52,.62) 0%, rgba(17,32,52,.42) 60%, rgba(17,32,52,.18) 100%); }
/* ^ darker only behind the centred text, lighter at the edges so the photo's people (left) show — homepage polish 2026-11-21 */
.page-hero.with-img::before { background: linear-gradient(rgba(45,58,74,.72), rgba(45,58,74,.82)); }
.hero {
  position: relative; color: #fff; text-align: center;
  background: #2d3a4a;
  min-height: 520px; display: flex; align-items: center; justify-content: center;
}
.hero-inner { max-width: 860px; padding: 80px 24px; }
.hero h1 { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.35); margin-bottom: .4em; }
.hero p.lead { color: #fff; font-size: clamp(1.05rem, 2.2vw, 1.4rem); text-shadow: 0 1px 10px rgba(0,0,0,.4); margin-bottom: 1.6em; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--slate); color: #fff; text-align: center; padding: 66px 24px;
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: rgba(255,255,255,.92); font-size: 1.15rem; max-width: 720px; margin: 0 auto; }
/* Slim title bar (hero.compact) — keeps the page's tool (e.g. the estimate scheduler) above the fold */
.page-hero.page-hero-compact { padding: 22px 20px 20px; }
.page-hero-compact h1 { font-size: clamp(1.45rem, 4.5vw, 2.1rem); margin-bottom: .15em; }
.page-hero-compact p { font-size: 1rem; }
.section.section-scheduler { padding: 18px 0 40px; }
.section-scheduler .wrap { padding: 0 12px; }
/* Slim notice above the scheduler (SCHEDULER_NOTICE in 40-forms.mjs): one line, tap for the full text */
.sched-notice { max-width: 900px; margin: 0 auto 12px; background: #fff8e6; border: 1px solid #f3dfa6; border-radius: 8px; color: #5c4200; font-size: .9rem; }
.sched-notice summary { display: flex; align-items: center; gap: 8px; padding: 8px 12px; cursor: pointer; list-style: none; line-height: 1.35; }
.sched-notice summary::-webkit-details-marker { display: none; }
.sched-notice summary svg { flex: none; }
.sched-notice-more { margin-left: auto; padding-left: 8px; font-weight: 700; text-decoration: underline; white-space: nowrap; }
.sched-notice[open] .sched-notice-more { display: none; }
.sched-notice p { margin: 0; padding: 0 12px 10px 38px; }
/* Phones: the title bar is one or two short lines so the first row of appointment times shows without scrolling */
@media (max-width: 600px) {
  .page-hero.page-hero-compact { padding: 10px 14px; }
  .page-hero-compact h1 { font-size: 1.15rem; line-height: 1.25; margin: 0; }
  .section.section-scheduler { padding-top: 10px; }
  .sched-notice { margin-bottom: 6px; font-size: .85rem; }
  .sched-notice summary { padding: 6px 10px; }
}
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.9); }

/* Split page header (2026-11-29, gen.mjs pageHero): light band, left-aligned title + buttons + proof chips, the page's
   photo on the right (desktop). Replaces the tall centred slate banner on interior pages. Compact bars use the same look. */
.page-hero.page-hero-split, .page-hero.page-hero-compact:not(.with-img) {
  background: var(--bg-soft); color: var(--slate); text-align: left; border-bottom: 1px solid var(--line);
}
.page-hero.page-hero-split { padding: 34px 0 30px; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.ph-has-photo .ph-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.page-hero-split h1, .page-hero-compact:not(.with-img) h1 { color: var(--navy); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; margin: 0 0 .3em; }
.page-hero-split p, .page-hero-compact:not(.with-img) p { color: var(--slate); font-size: 1.1rem; max-width: 640px; margin: 0; }
.page-hero-split .breadcrumb, .page-hero-compact:not(.with-img) .breadcrumb { color: var(--muted); margin-bottom: 8px; }
.page-hero-split .breadcrumb a, .page-hero-compact:not(.with-img) .breadcrumb a { color: var(--navy); }
.ph-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ph-chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ph-chips li { margin: 0; font-size: .86rem; line-height: 1.3; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.ph-chips a { color: var(--navy); text-decoration: none; }
.ph-chips a:hover { text-decoration: underline; }
.ph-star { color: var(--gold); }
.ph-short { display: none; }
.ph-photo { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; max-height: 340px; box-shadow: var(--shadow); }
.ph-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-photo.ph-wide { aspect-ratio: 16 / 9; max-height: none; } /* group photos (hero.imgWide): no side crop */
.page-hero.page-hero-compact:not(.with-img) { padding: 18px 0 16px; }
.page-hero-compact:not(.with-img) h1 { font-size: clamp(1.35rem, 3.6vw, 1.9rem); margin-bottom: .1em; }
.page-hero-compact:not(.with-img) p { font-size: 1rem; }
/* Navy header (hero.navy, 2026-12-01 job map): same gradient as the closing CTA band, white text, gold estimate button. */
.page-hero.page-hero-split.ph-navy { color: #fff; border-bottom: 0; padding: 44px 0 40px;
  background: radial-gradient(900px 420px at 88% 20%, rgba(240,179,35,.16), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(91,111,132,.45), transparent 65%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--slate) 100%); }
.ph-navy h1 { color: #fff; }
.page-hero-split.ph-navy p { color: rgba(255,255,255,.88); }
.page-hero-split.ph-navy .breadcrumb, .page-hero-split.ph-navy .breadcrumb a { color: rgba(255,255,255,.78); }
.ph-navy .ph-chips li { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.ph-navy .ph-chips a { color: #fff; }
/* Phones: text only (the photo is decoration) so the page's own content starts on the first screen */
@media (max-width: 760px) {
  .page-hero.page-hero-split { padding: 20px 0 18px; }
  .ph-has-photo .ph-grid { grid-template-columns: minmax(0, 1fr); }
  .ph-photo { display: none; }
  .page-hero-split p { font-size: 1rem; line-height: 1.5; }
  .ph-actions { margin-top: 14px; }
  .ph-actions .btn { flex: 1 1 auto; text-align: center; }
  /* Phones: short labels so the three chips fit on one line ("★ 4.9 (311)" · "Licensed & insured" · "Lead-Safe") */
  .ph-chips { margin-top: 12px; gap: 5px; }
  .ph-chips li { font-size: .78rem; padding: 4px 8px; white-space: nowrap; }
  .ph-long { display: none; }
  .ph-short { display: inline; }
  .page-hero.page-hero-compact:not(.with-img) { padding: 10px 0; }
}

/* ---------- Section bands ---------- */
.band-slate {
  background: var(--slate); color: #fff; text-align: center; padding: 34px 24px;
}
.band-slate h2 { color: #fff; margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }

.section { padding: 68px 0; }
.section-soft { background: var(--bg-soft); }
.section-gray { background: var(--bg-gray); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-tight { padding: 48px 0; }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--slate); }

/* Prose / content */
.prose { max-width: 820px; }
.prose.center { margin: 0 auto; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { color: var(--slate); margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose a:not(.btn) { color: var(--navy); text-decoration: underline; }  /* buttons keep their own colours */
.prose img { border-radius: var(--radius); margin: 1.2em 0; }

/* Two-column intro */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.cols-2 .colimg img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Service / feature cards ---------- */
.card-grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.photo-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 260px;
  display: flex; align-items: center; justify-content: center; color: #fff; text-align: center;
  box-shadow: var(--shadow); background-size: cover; background-position: center;
}
.photo-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(17,32,52,.35), rgba(17,32,52,.55)); transition: background .2s;
}
.photo-card:hover::before { background: linear-gradient(rgba(17,32,52,.5), rgba(17,32,52,.68)); }
.photo-card span, .photo-card h3 {
  position: relative; z-index: 1; font-family: 'Patua One', serif; color: #fff;
  font-size: 1.7rem; text-shadow: 0 2px 12px rgba(0,0,0,.4); margin: 0;
}
a.photo-card:hover { text-decoration: none; }

.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); text-align: center;
}
.feature-card .icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--slate); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.feature-card .icon svg { width: 30px; height: 30px; }
.feature-card h3 { color: var(--slate); text-transform: uppercase; letter-spacing: .3px; font-size: 1.15rem; }

/* ---------- Process steps ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.process-step { text-align: center; }
.process-step .icon {
  width: 78px; height: 78px; border-radius: 50%; background: var(--slate); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.process-step .icon svg { width: 36px; height: 36px; }
.process-step h3 { text-transform: uppercase; color: var(--slate); font-size: 1.15rem; }

/* Homepage "How Does Hiring ESP Painting Work?" — numbered steps joined by a line, answer-first intro, CTA. */
.process-intro { max-width: 760px; margin: 0 auto 40px; }
.process-intro .eyebrow {
  margin: 0 0 6px; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
}
.process-answer { font-size: 1.08rem; }
.process-steps { list-style: none; padding: 0; margin: 0; }
.step-badge {
  display: inline-block; margin-top: 6px !important; padding: 6px 14px; border-radius: 999px;
  background: #fff7e0; color: var(--navy); font-weight: 700; font-size: .92rem; border: 1px solid #f3d27a;
}
.process-cta { text-align: center; margin-top: 36px; }
.process-cta p { margin: 10px 0 0; }
.process-cta p a { font-weight: 700; }

/* ---------- Stats band (diagonal) ---------- */
.stats {
  background: var(--navy);
  position: relative; color: #fff; padding: 74px 0;
}
.stats::before { content: ""; position: absolute; inset: 0; background: rgba(17,46,91,.9); }
.stats .wrap { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stat h3 { color: #fff; text-transform: uppercase; font-size: 1.1rem; margin-bottom: 4px; }
.stat .num { font-family: 'Patua One', serif; font-size: 3.2rem; line-height: 1; color: var(--white); display: block; margin: 6px 0 14px; }
.stat p { color: rgba(255,255,255,.85); font-size: .96rem; }

/* ---------- Reviews (static snapshot) ---------- */
.reviews-head { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 34px; }
.reviews-head .score { font-family: 'Patua One', serif; font-size: 2.4rem; color: var(--slate); }
.reviews-head .stars { color: var(--gold); font-size: 1.5rem; letter-spacing: 2px; }
.reviews-head .meta { color: var(--muted); font-size: .95rem; }
.reviews-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.review-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.review-card .rtext { margin: 0 0 14px; font-size: .96rem; color: #4c5560; margin-bottom: 14px; }
.review-card .rname { font-weight: 700; color: var(--slate); font-family: 'Open Sans', sans-serif; }
.review-card .rdate { font-size: .82rem; color: var(--muted); }
.review-card .gbadge { font-size: .78rem; color: var(--muted); margin-top: 8px; display: flex; align-items: center; gap: 5px; }
.swipe-hint { display: none; text-align: center; color: var(--muted); font-size: .9rem; margin: -18px 0 14px; }
.review-card .rmore { background: none; border: 0; padding: 0 0 12px; color: var(--navy); font-weight: 700; cursor: pointer; font: inherit; font-weight: 700; }

/* ---------- Credentials strip ---------- */
.cred-strip { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; }
.cred-strip img { max-height: 78px; width: auto; opacity: .9; }

/* ---------- CTA band ---------- */
/* Free-estimate strip under the page title (sitelink pages, gen.mjs estimateStrip) */
.estimate-strip { background: var(--bg-soft); border-bottom: 1px solid #e2e6ea; padding: 14px 0; }
.estimate-strip-in { display: flex; align-items: center; justify-content: center; gap: 12px 22px; flex-wrap: wrap; text-align: center; }
.estimate-strip p { margin: 0; color: var(--text, #16202b); }
.estimate-strip .btn { white-space: nowrap; }
.cta-band { background: var(--slate); color: #fff; text-align: center; padding: 56px 24px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto 22px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 34px; box-shadow: var(--shadow); max-width: 720px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--slate); margin-bottom: 6px; font-size: .95rem; }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cdd3d9; border-radius: var(--radius);
  font: inherit; color: var(--text); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(17,46,91,.12); }
.field textarea { min-height: 130px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); }
.photo-field input[type="file"] { padding: 10px; background: #fff; cursor: pointer; }
.photo-field input[type="file"]:disabled { cursor: not-allowed; opacity: .6; }
.photo-hint { margin: 6px 0 0; }
.photo-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.photo-list:empty { display: none; }
.photo-list li { position: relative; width: 72px; height: 72px; }
.photo-list img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line, #e2e6ea); display: block; }
.photo-remove { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 16px; line-height: 26px; padding: 0; cursor: pointer; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f5ec; color: #1d6b39; border: 1px solid #b7dfc4; }
.form-status.err { background: #fbeaea; color: #a02222; border: 1px solid #efc2c2; }

/* ---------- Testimonial list ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tst { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--slate); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.tst .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; line-height: 1; }
.stars svg { display: block; }
.tst .rname { font-weight: 700; color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #c9d3e0; padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4, .site-footer .footer-h { color: #fff; font-family: 'Patua One', serif; font-size: 1.1rem; line-height: 1.3; margin: 0 0 14px; }
.site-footer a { color: #c9d3e0; }
.site-footer a:hover { color: #fff; }
.site-footer a.btn-white, .site-footer a.btn-white:hover { color: var(--navy); } /* was #c9d3e0 on white */
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-logo { width: 170px; margin-bottom: 16px; background: #fff; padding: 10px 14px; border-radius: 6px; }
.footer-cta .btn { margin-top: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: #9fb0c4; font-size: .85rem; }
.footer-bottom a { color: #9fb0c4; }
.lic-line { color: #9fb0c4; font-size: .88rem; margin-top: 10px; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.cta-inline { margin: 28px 0; }
.cta-inline .btn { margin: 6px 8px 6px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; order: 3; }
  .header-inner { padding: 12px 18px; }
  .header-right { display: none; } /* CTA + phone move into the drawer */
  .nav-list .nav-cta-mobile { display: block; margin-top: 14px; }
  .nav-list .nav-cta-mobile a { display: block; text-align: center; color: #fff; } /* was slate on navy */
  .nav-list .nav-phone-mobile { display: block; margin-top: 10px; text-align: center; }
  .nav-list .nav-phone-mobile a { font-family: 'Patua One', serif; color: var(--navy); font-size: 1.15rem; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff;
    transform: translateX(100%); transition: transform .24s ease; padding: 78px 16px 24px;
    overflow-y: auto; box-shadow: var(--shadow-lg); z-index: 130;
  }
  body.nav-open .primary-nav { transform: translateX(0); }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(10,20,35,.5); opacity: 0; visibility: hidden; transition: .24s; z-index: 125; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { padding: 13px 12px; border-radius: 6px; }
  .has-children > a::after { float: right; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 6px 12px;
    padding: 0; display: none;
  }
  .has-children.open > .submenu { display: block; }
  .process-grid, .stats-grid, .review-grid, .grid-3 { grid-template-columns: 1fr; }
  .cols-2, .form-row, .tst-grid { grid-template-columns: 1fr; gap: 24px; }
  .grid-2 { grid-template-columns: 1fr; }
  /* Reviews: a swipeable row instead of ~10,000 px of stacked cards; long ones clamp to 8 lines + "Read more" (main.js) */
  .review-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82vw, 380px); align-items: start;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 12px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; scroll-padding-left: 24px; }
  .review-card { scroll-snap-align: start; }
  .review-card .rtext { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; line-clamp: 8; overflow: hidden; }
  .review-card .rtext.open { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .swipe-hint { display: block; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .hero { min-height: 440px; }
  .hero-inner { padding: 48px 20px 44px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ---------- Blog (migrated WordPress posts — build/content/70-blog.mjs) ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: #fff; border: 1px solid #e2e6ea; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card-img img { display: block; width: 100%; height: 200px; object-fit: cover; }
.post-card-body { padding: 18px 20px 22px; }
.post-card h2 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 .5em; }
.post-card h2 a { color: var(--slate); text-decoration: none; }
.post-card h2 a:hover { color: var(--navy); text-decoration: underline; }
.post-card p { font-size: .95rem; margin: 0; }
.post-meta { font-size: .85rem; color: var(--slate); text-transform: uppercase; letter-spacing: .4px; margin: 0 0 .6em; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pager a, .pager span { padding: 8px 14px; border-radius: 6px; border: 1px solid #e2e6ea; text-decoration: none; color: var(--navy); }
.pager [aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin-top: 40px; border-top: 1px solid #e2e6ea; padding-top: 24px; }
.post-nav a { color: var(--navy); text-decoration: none; font-weight: 600; }
.post-nav a span { display: block; font-size: .8rem; font-weight: 400; color: var(--text); text-transform: uppercase; letter-spacing: .4px; }
.post-nav a[rel="next"] { text-align: right; }
.prose img { max-width: 100%; height: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
.prose th, .prose td { border: 1px solid #e2e6ea; padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: #f4f5f7; color: var(--slate); }
.prose blockquote { border-left: 4px solid var(--navy); margin: 1.2em 0; padding: .2em 0 .2em 1em; font-style: italic; }
.notice-text { border: 1px solid #e2e6ea; border-radius: var(--radius); padding: 24px 28px; background: #fff; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .post-grid, .post-nav { grid-template-columns: 1fr; }
  .post-nav a[rel="next"] { text-align: left; }
  .prose table { display: block; overflow-x: auto; }
}
/* ---------- Acuity scheduler (/get-an-estimate/) ---------- */
.acuity-frame { display: block; width: 100%; height: 800px; border: 0; background: #fff; border-radius: var(--radius); }

/* ---------- Real photos (build/photos.mjs) ---------- */
.prose-figure { float: right; width: 42%; margin: .3em 0 1.2em 28px; }
.prose-figure img { width: 100%; height: auto; border-radius: var(--radius); margin: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin: 24px 0; }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-top: 24px; }
.gallery-item { display: block; overflow: hidden; border-radius: 8px; aspect-ratio: 1; background: #e2e6ea; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.gallery-item:hover img, .gallery-item:focus img { transform: scale(1.05); }
/* /our-work/: bigger tiles, filter chips, estimate tile inside the grid (photos.mjs workGallery) */
.section.section-work { padding-top: 22px; }
.work-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.work-filters[hidden] { display: none; }
.work-filters button { font: inherit; font-weight: 600; font-size: .95rem; color: var(--navy); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.work-filters button span { color: var(--muted); font-weight: 400; margin-left: 2px; }
.work-filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.work-filters button[aria-pressed="true"] span { color: rgba(255,255,255,.75); }
.gallery-work { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.gallery-work .gallery-item[hidden] { display: none; }
.gallery-cta { aspect-ratio: 1; border-radius: 8px; background: var(--navy); color: #fff; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center; padding: 18px; gap: 4px; }
.gallery-cta p { margin: 0; color: rgba(255,255,255,.9); font-size: .95rem; line-height: 1.4; }
.gallery-cta .gc-title { font-family: 'Patua One', Georgia, serif; font-size: 1.35rem; color: #fff; margin-bottom: 4px; }
.gallery-cta .btn { margin-top: 10px; }
.gallery-cta .gc-call { font-size: .9rem; margin-top: 6px; }
.gallery-cta .gc-call a { color: #fff; font-weight: 700; }
@media (max-width: 600px) {
  .estimate-strip.strip-hide-phone { display: none; }
  .work-filters { flex-wrap: nowrap; gap: 6px; }
  .work-filters button { font-size: .85rem; padding: 7px 11px; white-space: nowrap; }
  .work-filters button span { display: none; } /* counts don't fit on one phone line */
  .gallery-work { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-cta { grid-column: 1 / -1; aspect-ratio: auto; padding: 22px 16px; }
}

/* Photo viewer (main.js) — full screen over the page; big tap targets (≥48px) for ✕ ‹ › */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 16, 24, .97); display: flex; align-items: center; justify-content: center; padding: 56px 12px 64px; }
.lightbox[hidden] { display: none; }
body.lightbox-open { overflow: hidden; }
.lightbox-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lightbox-img { max-width: min(100%, 1600px); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 8px 40px rgba(0, 0, 0, .5); background: #1b2633; }
.lightbox-caption { color: #e8edf2; font-size: 14px; line-height: 1.4; text-align: center; max-width: 60ch; }
.lightbox-btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background .15s ease; }
.lightbox-btn:hover, .lightbox-btn:focus-visible { background: rgba(255, 255, 255, .3); outline: 2px solid #fff; outline-offset: 2px; }
.lightbox-btn[hidden] { display: none; }
.lightbox-close { top: 12px; right: 12px; font-size: 24px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); font-size: 40px; padding-bottom: 4px; }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); font-size: 40px; padding-bottom: 4px; }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: 10px; transform: none; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
}
@media (prefers-reduced-motion: reduce) { .lightbox-btn { transition: none; } }
.stamp-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; margin: 0 0 30px; padding: 18px 20px; background: var(--slate); border-radius: var(--radius); } /* stamps are white-on-transparent artwork */
.stamp-row img { height: 96px; width: auto; }
.feature-card .team-photo { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; display: block; }
.team-group { margin: 0 0 30px; }
.team-group img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
@media (max-width: 720px) {
  .prose-figure { float: none; width: 100%; margin: 0 0 1.2em; }
  .stamp-row img { height: 72px; }
}

/* ---------- Embedded maps / videos from the old pages (build/data/embeds.json) ---------- */
.embed { margin: 20px 0 28px; }
.embed iframe { display: block; width: 100%; border: 0; border-radius: var(--radius); background: #e2e6ea; }
.embed-video iframe { aspect-ratio: 16 / 9; height: auto; }

/* Cloudflare Turnstile widget (injected above each form's submit button by build/gen.mjs) */
.cf-turnstile { margin: 6px 0 14px; min-height: 65px; }

/* Meet the Team: whole-company photo as a band under the title. The photo's backdrop is dark grey, so the band
   matches it and the photo's left/right edges fade into it on wide screens. */
.team-banner { background: #3c3d3f; text-align: center; line-height: 0; }
.team-banner img { width: 100%; max-width: 1024px; height: auto; display: inline-block;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
@media (max-width: 1060px) { .team-banner img { -webkit-mask-image: none; mask-image: none; } }

/* ---------- Sales flow pass (2026-11-20) ---------- */
/* Homepage fact strip under the slate band: the proof up front. */
.fact-strip { background: #fff; border-bottom: 1px solid var(--line); }
.fact-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding-top: 18px; padding-bottom: 18px; }
.fact { color: var(--slate); font-size: .98rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.fact strong { color: var(--navy); }
.fact-stars, .ea-stars { color: var(--gold); letter-spacing: 1px; }
a.fact:hover strong { text-decoration: underline; }

/* Homepage services: tiles first, the copy below in two readable left-aligned columns. */
.services-copy { columns: 2; column-gap: 44px; margin-top: 34px; }
.services-copy p { break-inside: avoid; }
@media (max-width: 860px) { .services-copy { columns: 1; } }

/* Reviews: same height-ish cards on desktop too (5 lines + "Read more"), 6 shown; all 10 stay in the page. */
@media (min-width: 861px) {
  .review-grid { align-items: start; }
  .review-card .rtext { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
  .review-card .rtext.open { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .review-grid .review-card:nth-child(n+7) { display: none; }
}
.reviews-more { text-align: center; margin: 30px 0 0; }
/* /testimonials/ (2026-11-21): all 10 Google reviews on the page (the homepage shows 6 on desktop), an estimate card among the
   testimonials, the review ask at the end. */
.section.section-reviews-top { padding-top: 34px; }
.reviews-headline { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 18px; }
.reviews-headline h2 { margin: 0; }
.reviews-headline a { font-weight: 700; color: var(--navy); }
.review-grid.review-grid-all .review-card:nth-child(n+7) { display: block; }
.page-hero-compact .hero-stars { color: var(--gold); letter-spacing: 2px; }
.tst.tst-cta { background: var(--navy); border-left-color: var(--gold); color: #fff; text-align: center; }
.tst-cta p { color: rgba(255,255,255,.9); margin: 0 0 10px; }
.tst-cta .tc-title { font-family: 'Patua One', Georgia, serif; font-size: 1.3rem; color: #fff; }
.tst-cta a:not(.btn) { color: #fff; font-weight: 700; }
.tst-cta .btn { margin-top: 6px; }
.tst-more-wrap { display: none; text-align: center; margin: 18px 0 0; }
@media (max-width: 600px) { /* phones: first 8 testimonials, the rest one tap away (all stay in the HTML) */
  .tst-columns:not(.show-all) .tst-extra { display: none; }
  .tst-more-wrap { display: block; }
  .tst-columns.show-all + .tst-more-wrap { display: none; }
}

/* Phones: Call / Free Estimate bar fixed to the bottom of the screen. */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(17,46,91,.12); }
  .mobile-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
    border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1rem; }
  .mcta-call { border: 2px solid var(--navy); color: var(--navy); }
  .mcta-call svg { width: 18px; height: 18px; }
  .mobile-cta .mcta-text { flex: 0 0 auto; padding: 0 14px; }   /* Text = compact, Call + Free Estimate share the rest */
  .mcta-est { background: var(--navy); color: #fff; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* Desktop: estimate card in the empty gutter beside the text (main.js shows/hides it). */
.estimate-aside { display: none; }
@media (min-width: 1280px) {
  .estimate-aside { display: block; position: fixed; z-index: 50; top: 110px; width: 270px;
    left: calc(50% + var(--wrap) / 2 - 24px - 270px);
    background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .estimate-aside.show { opacity: 1; visibility: visible; transform: none; }
  .ea-title { font-family: 'Patua One', serif; color: var(--slate); font-size: 1.3rem; margin: 0 0 12px; }
  .estimate-aside .btn { display: block; text-align: center; width: 100%; }
  .ea-call { margin: 10px 0 14px; text-align: center; font-size: .95rem; }
  .ea-call a { color: var(--navy); font-weight: 700; }
  .estimate-aside ul { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: .88rem; color: var(--slate); }
  .estimate-aside li { padding: 4px 0 4px 20px; position: relative; }
  .estimate-aside li::before { content: "✓"; position: absolute; left: 0; color: var(--navy); font-weight: 700; }
  .estimate-aside li:first-child { padding-left: 0; }
  .estimate-aside li:first-child::before { content: none; }
}
@media (min-width: 1280px) { .estimate-aside .btn { padding-left: 12px; padding-right: 12px; font-size: .95rem; white-space: nowrap; } }
.fact-strip .wrap { gap: 8px 26px; }
.fact { font-size: .93rem; }

/* ---------- Audit items 5–9 (2026-11-20) ---------- */
/* A page's own closing estimate section, styled as the CTA band (replaces the doubled global band). */
.cta-own .prose h2, .cta-own .prose p { color: #fff; }
.cta-own .prose p { max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-own .cta-inline { margin-bottom: 0; }
/* Why Us: mission as a pull quote, three cards. */
.mission-band { background: var(--navy); color: #fff; text-align: center; padding: 56px 24px; }
.mission-band h2 { color: rgba(255,255,255,.75); font-size: 1rem; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 14px; font-family: 'Open Sans', sans-serif; font-weight: 700; }
.mission-band blockquote { margin: 0 auto; max-width: 860px; font-family: 'Patua One', serif; font-size: clamp(1.45rem, 3.4vw, 2.2rem); line-height: 1.35; color: #fff; }
.why-cards .feature-card { text-align: left; }
.why-cards .feature-card p { font-size: .96rem; }
.why-cta { margin: 36px auto 0; text-align: center; }
/* Check lists on service + city pages (gen.mjs checklists()). */
.prose ul.checklist { list-style: none; padding-left: 0; }
.prose ul.checklist li { position: relative; padding-left: 28px; }
.prose ul.checklist li::before { content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose ul.checklist.cols { columns: 2; column-gap: 36px; }
.prose ul.checklist.cols li { break-inside: avoid; }
@media (max-width: 520px) { .prose ul.checklist.cols { columns: 1; } }
/* City pages: three testimonials under "Our Happy Customers". */
.city-reviews { grid-template-columns: repeat(3, 1fr); margin-top: 26px; }
@media (max-width: 960px) { .city-reviews { grid-template-columns: 1fr; } }
/* Contact: on phones the form comes first, the text after it. */
@media (max-width: 860px) { .contact-cols > :last-child { order: -1; } }
/* Testimonials: big rating header + balanced columns (no ragged gaps). */
.rating-stars { color: var(--gold); font-size: 1.7rem; letter-spacing: 4px; }
.rating-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-top: .2em; }
.tst-grid.tst-columns { display: block; columns: 2; column-gap: 22px; }
.tst-columns .tst { break-inside: avoid; margin: 0 0 22px; }
@media (max-width: 860px) { .tst-grid.tst-columns { columns: 1; } }
.tst blockquote { margin: 0 0 14px; }
.city-reviews .tst { margin: 0; }
.city-reviews .tst blockquote { font-size: .96rem; }
.city-reviews { align-items: start; }
/* Phones: forms must fit a 375 px screen — the Turnstile check is a fixed 300 px wide, so trim the card's side padding
   and stop grid columns from growing to the widget's width (was a 40 px sideways scroll on Contact). */
@media (max-width: 860px) { .cols-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .form-card { padding: 24px 12px; } }

/* ---------- SEO internal links (2026-11-20) ---------- */
.post-related { max-width: 820px; margin: 34px 0 0; padding: 24px 26px; background: var(--soft, #f4f6f8); border: 1px solid var(--line);
  border-left: 4px solid var(--navy); border-radius: var(--radius); }
.post-related .pr-title { font-family: 'Patua One', serif; color: var(--slate); font-size: 1.25rem; margin: 0 0 6px; }
.post-related p { margin: 0 0 14px; }
.post-related a:not(.btn) { color: var(--navy); font-weight: 700; text-decoration: underline; }
.related-links { max-width: 820px; }
.related-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--navy); font-weight: 600; text-decoration: none; font-size: .95rem; }
.related-links.guides ul { display: grid; gap: 8px; }
.related-links.guides a { display: block; border-radius: 8px; padding: 10px 14px; }
.related-links a:hover { border-color: var(--navy); }
.cta-own .prose a:not(.btn) { color: #fff; font-weight: 700; }
/* Homepage: chips under the 3 service tiles linking the specialty pages (SEO 2026-11-21). */
.home-more-services { max-width: none; margin-top: 22px; }
.home-more-services ul { justify-content: center; }

/* ---- Homepage additions 2026-11-21 (patterns borrowed from paris-painting.com; ESP's own facts only) ---- */
/* Homepage hero (2026-11-21 above-the-fold pass): service-area eyebrow, promise chips, rating + call under the button */
.hero-areas { color: #fff; font-size: .95rem; font-weight: 600; letter-spacing: .02em; margin: 0 0 12px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero-proof { list-style: none; padding: 0; margin: -10px auto 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.hero-proof li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  background: rgba(17,32,52,.62); border: 1px solid rgba(255,255,255,.28); color: #fff; font-weight: 600; font-size: 1rem; }
.hero-proof li::before { content: ""; width: 16px; height: 16px; flex: none; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero-meta { margin: 16px 0 0; color: #fff; font-size: 1rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero-rating { color: #fff; text-decoration: none; }
.hero-rating:hover strong { text-decoration: underline; }
.hero-stars { color: var(--gold); letter-spacing: 1px; }
.hero-call { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.85); }
.hero-secondary:hover { background: rgba(255,255,255,.14); color: #fff; }
.section.section-home-services { padding-top: 30px; }
.section-home-services .prose.center { margin-bottom: 20px !important; } /* lets the service photos peek above the fold */
@media (max-width: 600px) {
  .hero-areas { font-size: .82rem; margin-bottom: 8px; }
  .hero-proof { gap: 4px 14px; margin: -14px auto 18px; }
  .hero-proof li { background: none; border: 0; padding: 2px 0; font-size: .92rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
  .hero::before { background: linear-gradient(rgba(17,32,52,.5), rgba(17,32,52,.58)); } /* text spans the width: keep it evenly dark */
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-secondary { padding-top: 12px; padding-bottom: 12px; font-size: 1.05rem; }
}
.hero-call a, .cta-band .cta-call a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cta-band .cta-call { margin: 14px auto 0; }
.promises h2 { margin-bottom: 28px; }
.promise { text-align: left; display: flex; flex-direction: column; }
.promise h3 { text-transform: none; font-size: 1.25rem; }
.promise p { flex: 1; }
.promise a { font-weight: 700; color: var(--navy); }
.glance-in { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.glance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.glance-grid > div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.glance-grid dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.glance-grid dd { margin: 2px 0 0; color: var(--navy); font-weight: 600; }
.glance-areas { background: #f5f7f9; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.glance-areas h3 { margin-top: 0; color: var(--slate); }
.glance-areas ul { list-style: none; padding: 0; margin: 0 0 18px; columns: 2; }
.glance-areas li { margin: 0 0 8px; }
.glance-areas a:not(.btn) { color: var(--navy); font-weight: 600; }
.glance-areas .btn { display: block; text-align: center; }
@media (max-width: 900px) {
  .glance-in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .glance-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) { .hero-call { display: none; } /* phones already have the sticky Call bar */ }

/* Homepage "Meet Our Founder" (2026-11-21) — wording from /our-story/ */
.founder-in { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; max-width: 1040px; }
.founder-photo { margin: 0; }
.founder-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.founder .eyebrow { margin: 0 0 4px; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.founder h2 { margin: 0; }
.founder-role { margin: 4px 0 16px; color: var(--slate); font-weight: 600; }
.founder-quote { margin: 18px 0; padding: 14px 20px; border-left: 4px solid var(--gold); background: #fff; font-family: 'Patua One', serif; color: var(--navy); font-size: 1.15rem; }
.founder-quote cite { display: block; margin-top: 6px; font-family: 'Open Sans', sans-serif; font-style: normal; font-size: .85rem; color: var(--slate); }
.founder-link { font-weight: 700; color: var(--navy); }
@media (max-width: 800px) {
  .founder-in { grid-template-columns: 1fr; gap: 24px; }
  .founder-photo { max-width: 260px; margin: 0 auto; }
}

/* Homepage intro heading (2026-11-21): eyebrow keeps the old "Your Painting Contractors" wording */
.prose > .eyebrow { margin: 0 0 4px; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.lead-line { font-size: 1.1rem; font-weight: 600; color: var(--navy); }

/* 4-step process as photo cards (2026-12-01, Kyle: "too long to grasp"): ESP photo + number + short title + one line.
   4 across → 2×2 → phones: photo thumbnail left, words right. */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-steps .process-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; padding: 0 0 18px; }
.step-photo { position: relative; aspect-ratio: 3 / 2; background: #e9edf1; }
.step-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.process-steps .step-num { position: absolute; top: 10px; left: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-weight: 800; font-size: 1.05rem; line-height: 34px; text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.process-steps h3 { text-transform: none; font-size: 1.25rem; margin: 14px 16px 4px; }
.process-steps p { margin: 0 16px 8px; }
.process-steps .step-badge { margin: 4px 16px 0 !important; font-size: .86rem; padding: 4px 12px; }
.process-steps .step-link { font-weight: 700; }
@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2, 1fr); } } /* four across on laptops (design review 2026-12-01) */
@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr; gap: 12px; }
  .process-steps .process-step { display: grid; grid-template-columns: 112px 1fr; column-gap: 14px; align-content: start;
    padding: 0; text-align: left; }
  .process-steps .process-step > * { grid-column: 2; }
  .process-steps .step-photo { grid-column: 1; grid-row: 1 / span 4; aspect-ratio: auto; min-height: 100%; }
  .process-steps .process-step:first-child img { object-position: 22% 50%; } /* keep the consultant's face in the narrow crop */
  .process-steps .step-num { top: 6px; left: 6px; width: 26px; height: 26px; line-height: 26px; font-size: .85rem; }
  .process-steps h3 { font-size: 1.08rem; margin: 12px 12px 2px 0; }
  .process-steps p { font-size: .95rem; margin: 0 12px 6px 0; }
  .process-steps .step-badge { justify-self: start; margin: 0 12px 12px 0 !important; font-size: .8rem; padding: 3px 10px; }
  .process-steps .step-link { margin-bottom: 12px; }
}

/* /lead-paint/ (2026-11-21) */
.lead-badge { display: flex; gap: 18px; align-items: center; background: #f5f7f9; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.lead-badge img { flex: none; }
.prose .source { font-size: .85rem; color: var(--slate); margin-top: -.6em; }
.lead-steps .feature-card { text-align: left; }
.lead-steps .feature-card h3 { text-transform: none; font-size: 1.15rem; }
@media (max-width: 520px) { .lead-badge { flex-direction: column; align-items: flex-start; } }

/* /exterior-painting/ process cards (2026-11-21) */
.ext-steps .feature-card { text-align: left; }
.ext-steps .feature-card h3 { text-transform: none; font-size: 1.15rem; }
.ext-steps .feature-card a { font-weight: 600; color: var(--navy); }

/* /contact-us/ (2026-11-21): contact cards (call / email / office), then the message form */
.section.section-contact-top { padding-top: 34px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.contact-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 24px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--slate); }
.contact-card:hover { border-color: var(--navy); }
.contact-card svg { width: 30px; height: 30px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.contact-card .cc-label { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.contact-card .cc-value { font-family: 'Patua One', Georgia, serif; font-size: 1.2rem; color: var(--navy); overflow-wrap: anywhere; }
.contact-card .cc-more { font-size: .9rem; font-weight: 700; color: var(--navy); margin-top: 2px; }
.contact-form-wrap { max-width: 680px; margin: 0 auto; }
.contact-form-wrap h2 { text-align: center; }
@media (max-width: 760px) {
  .contact-cards { grid-template-columns: 1fr; gap: 8px; margin-bottom: 26px; }
  .contact-card { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; text-align: left; column-gap: 12px; padding: 12px 14px; }
  .contact-card svg { width: 24px; height: 24px; margin: 0; }
  .contact-card .cc-label { display: none; }
  .contact-card .cc-value { font-size: 1rem; }
  .contact-card .cc-more { font-size: .85rem; margin: 0; white-space: nowrap; }
}

/* Service showcase (gen.mjs serviceShowcase): real job photos left, reasons + estimate buttons right */
.section.service-showcase { padding: 36px 0 30px; border-bottom: 1px solid var(--line); }
.ss-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.ss-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.ss-photos .ss-main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.ss-photos .ss-thumb { aspect-ratio: 4 / 3; }
.ss-photos.ss-two .ss-thumb { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.ss-rating { font-size: 1.05rem; color: var(--slate); margin: 0 0 14px; }
/* Value-prop line above the rating (landing-style service pages, e.g. exterior). */
.ss-pitch { font-family: 'Patua One', Georgia, serif; font-size: 1.35rem; line-height: 1.3; color: var(--navy); margin: 0 0 12px; }
.ss-stars { color: var(--gold); letter-spacing: 1px; }
.ss-checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.ss-checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--slate); font-size: 1.05rem; }
.ss-checks li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: 3px; background: var(--navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.ss-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.ss-call { color: var(--slate); text-decoration: none; }
.ss-call strong { color: var(--navy); }
.ss-more { margin: 18px 0 0; }
.ss-more a { font-weight: 700; color: var(--navy); }
@media (max-width: 860px) {
  .ss-grid { grid-template-columns: 1fr; gap: 22px; }
  .section.service-showcase { padding-top: 20px; }
  .ss-actions .btn { width: 100%; text-align: center; }
  .ss-call { width: 100%; text-align: center; }
}

/* /why-us/ (About, 2026-11-21): 3 Google reviews + "Get to know us" cards to the About pages */
.review-grid.review-grid-3 .review-card:nth-child(n+4) { display: none; }
.know-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.know-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--slate); }
.know-card:hover { border-color: var(--navy); }
.know-card > img, .know-card > picture > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; display: block; }
.know-card .kc-badges { aspect-ratio: 4 / 3; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; place-items: center; padding: 18px; background: var(--bg-soft); }
.know-card .kc-badges img { max-width: 100%; height: auto; }
.know-card .kc-body { padding: 16px 18px 18px; display: grid; gap: 4px; }
.know-card .kc-body strong { font-family: 'Patua One', Georgia, serif; font-weight: 400; font-size: 1.2rem; color: var(--navy); }
.know-card .kc-body span { font-size: .95rem; }
@media (max-width: 960px) { .know-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .know-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .know-card .kc-body span { display: none; } .know-card .kc-body strong { font-size: 1.02rem; } }
/* Phones: inner-page title banners were ~500 px tall when the intro is long — tighter padding + smaller intro text */
@media (max-width: 600px) {
  .page-hero:not(.page-hero-compact):not(.page-hero-split) { padding: 34px 20px 30px; }
  .page-hero:not(.page-hero-compact) p { font-size: 1rem; line-height: 1.5; }
}

/* /meet-the-team/ (2026-11-21): compact portrait cards, 4 across (2 on phones); groups photos smaller */
.section.section-team-intro { padding: 30px 0 10px; }
.section-team h2 { margin: 34px 0 14px; }
.section-team h2:first-child { margin-top: 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px 14px; text-align: center; box-shadow: var(--shadow); }
.team-card .team-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 6px; display: block; margin: 0 0 10px; }
.team-card .icon { width: 100%; aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--bg-soft); border-radius: 6px; margin-bottom: 10px; }
.team-card h3 { font-size: 1.12rem; margin: 0 0 2px; }
.team-card h3 a { color: var(--navy); }
.team-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.team-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 20px 0 6px; }
.team-call { font-weight: 700; color: var(--navy); }
.section-team .team-group { max-width: 900px; margin: 34px auto 0; }
.section-team .team-group img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .team-card { padding: 8px 8px 12px; }
  .team-card h3 { font-size: 1rem; }
  .team-cta { justify-content: center; }
  .team-cta .btn { width: 100%; text-align: center; }
}


/* ---- /painting-pricing/ hub (2026-11-21): ESP's own ballpark prices up front, as two photo cards ---- */
.price-intro { margin-bottom: 30px; }
.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1040px; margin: 0 auto; }
.price-card { background: #fff; border-radius: var(--radius); box-shadow: 0 6px 24px rgba(17,46,91,.10); overflow: hidden; display: flex; flex-direction: column; }
.price-card > img, .price-card > picture > img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.price-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.price-card h3 { margin: 0 0 4px; }
.price-note { font-size: .92rem; margin: 0 0 12px; }
.price-list { list-style: none; margin: 0 0 16px; padding: 0; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid #e6e9ee; }
.price-list li:last-child { border-bottom: 0; }
.price-list strong { color: var(--navy); white-space: nowrap; font-size: 1.05rem; }
.price-more { margin-top: auto; font-weight: 600; }
.price-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 34px; }
.price-call { color: var(--navy); }
.price-factors { margin-top: 26px; }
@media (max-width: 760px) {
  .price-cards { grid-template-columns: 1fr; }
  .price-card-body { padding: 18px 16px 20px; }
  .price-list li { font-size: .95rem; }
}

/* Sales-rep pages /cody/ /jeff/ /jude/ /julia/ (2026-11-21): professional headshot at a sensible size, not full column width */
.prose .rep-photo { width: 100%; max-width: 340px; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: center 20%; border-radius: var(--radius); box-shadow: 0 6px 24px rgba(17,46,91,.12); display: block; margin: 0 0 18px; }

/* /get-an-estimate/ (2026-11-21): scheduler + "what to expect" column. Desktop: side by side; phones: aside below. */
.sched-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; max-width: 1160px; margin: 0 auto; align-items: start; }
.sched-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.sa-card { background: #fff; border: 1px solid #e6e9ee; border-radius: var(--radius); padding: 18px 18px 16px; box-shadow: 0 4px 16px rgba(17,46,91,.06); }
.sa-card h2 { font-size: 1.2rem; margin: 0 0 10px; }
.sa-checks { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.sa-checks li { position: relative; padding: 0 0 8px 24px; line-height: 1.45; }
.sa-checks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }
.sa-team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; font-weight: 600; color: var(--navy); font-size: .9rem; }
.sa-team img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 8px; display: block; margin-bottom: 4px; }
.sa-rating { margin: 0 0 10px; font-size: .95rem; }
.sa-stars { color: var(--gold); letter-spacing: 1px; }
.sa-proof blockquote { margin: 0 0 10px; font-size: .9rem; font-style: italic; line-height: 1.45; }
.sa-proof cite { display: block; font-style: normal; font-weight: 600; font-size: .85rem; margin-top: 3px; color: var(--slate); }
.sa-more { margin: 0; font-size: .9rem; font-weight: 600; }
.sa-call { text-align: center; margin: 0; }
@media (max-width: 1020px) {
  .sched-layout { grid-template-columns: 1fr; }
  .sched-aside { position: static; max-width: 560px; margin: 8px auto 0; width: 100%; }
}

/* Rep pages /cody/ /jude/ /jeff/ /julia/ (2026-11-21): bio left, their Acuity calendar right — no scrolling to book */
.section.section-rep { padding: 24px 0 48px; }
.rep-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 36px; align-items: start; }
.rep-info .rep-photo { max-width: 100%; }
.rep-info .btn { width: 100%; text-align: center; }
.rep-info p { margin-bottom: 12px; }
.rep-sched h2 { font-size: 1.35rem; margin: 0 0 10px; }
.rep-sched .acuity-frame { min-height: 700px; }
@media (max-width: 900px) {
  .rep-layout { grid-template-columns: 1fr; gap: 20px; }
  .rep-info .rep-photo { max-width: 200px; }
}

/* /commercial-painting/ (2026-11-21): intro + reasons + real ESP job photo, 3 service cards, surfaces, FAQ */
.section.commercial-top { padding-top: 40px; }
.commercial-photo { margin: 0; }
.commercial-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.commercial-photo figcaption { font-size: .9rem; color: var(--slate); margin-top: 8px; text-align: center; }
.commercial-cards { margin-top: 24px; }
.commercial-cards .feature-card { text-align: left; }
.commercial-cards .feature-card .icon { margin-left: 0; }
.commercial-list { margin: 0; padding-left: 20px; }
.commercial-list li { margin-bottom: 4px; }
.commercial-hoa { margin: 24px 0 0; }
@media (max-width: 860px) { .commercial-top .commercial-photo { order: -1; } .section.commercial-top { padding-top: 20px; } }

/* /interior-painting/ (2026-11-21): ESP's ballpark prices block + surfaces/cabinets side by side */
.ip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1040px; margin: 0 auto; }
.ip-list { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 22px; margin: 0; }
.ip-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 18px 0 0; }
.ip-more { font-weight: 700; }
.ip-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ip-two .prose { max-width: none; }
.ip-commercial { text-align: center; margin: 30px auto 0; max-width: 760px; }
.section-soft .cred-strip, .section-soft .stamps { margin-top: 30px; }
@media (max-width: 860px) {
  .ip-grid, .ip-two { grid-template-columns: 1fr; gap: 22px; }
  .ip-list { padding: 4px 16px; }
  .ip-actions .btn { width: 100%; text-align: center; }
}
/* Phones: shorter interior page — compact process cards, testimonials swipe sideways (like the homepage reviews) */
@media (max-width: 600px) {
  .ext-steps .feature-card { padding: 16px 16px 14px; }
  .ext-steps .feature-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
  .ext-steps .feature-card p { font-size: .95rem; margin: 0; }
  .ext-steps { gap: 12px; }
  .tst-grid.tst-swipe { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(82vw, 340px); gap: 14px; align-items: start;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin: 0 -16px; padding: 0 16px 12px; scroll-padding-left: 16px; }
  .tst-swipe .tst { scroll-snap-align: start; margin: 0; }
}

/* /exterior-painting/ (2026-11-21): ESP's 3 real home prices with photos + estimate buttons; mid-page estimate strip */
.xp-homes { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1040px; }
.xp-home { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.xp-home img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.xp-home div { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.xp-home span { font-size: .92rem; line-height: 1.45; }
.xp-home strong { color: var(--navy); font-size: 1.35rem; margin-top: auto; }
.xp-cta { text-align: center; margin-top: 28px; }
.xp-cta .ss-actions { justify-content: center; }
.xp-more { margin: 14px 0 0; font-weight: 700; }
.mid-cta { background: var(--navy); color: #fff; padding: 26px 0; }
.mid-cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; text-align: center; }
.mid-cta p { margin: 0; color: #fff; }
.mid-cta .btn-primary { background: var(--gold); border-color: var(--gold); color: #112e5b; }
.mid-cta .ss-call, .mid-cta .ss-call strong { color: #fff; }
@media (max-width: 860px) {
  .xp-homes { grid-template-columns: 1fr; max-width: 480px; }
  .xp-cta .ss-actions .btn { width: 100%; }
  .mid-cta .ss-actions { width: 100%; justify-content: center; }
}
/* Phones: price homes as compact rows (photo left), and "Our Work" thumbnails 3 across instead of 2 (was ~3,000 px on Exterior) */
@media (max-width: 600px) {
  .xp-home { flex-direction: row; }
  .xp-home img { width: 38%; aspect-ratio: auto; height: auto; object-fit: cover; flex: none; }
  .xp-home div { padding: 10px 12px; gap: 4px; }
  .xp-home span { font-size: .85rem; line-height: 1.35; }
  .xp-home strong { font-size: 1.15rem; }
  .xp-homes { gap: 12px; }
  .gallery:not(.gallery-work) { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}

/* Homepage on phones (2026-11-21): same words, about half the scrolling. Long copy folds behind "Read more"
   (main.js [data-more]), service tiles 2-up, compact process/promise cards, van photo hidden. */
.mm-btn { display: block; background: none; border: 0; padding: 4px 0 0; margin: 0 0 8px; color: var(--navy);
  font: inherit; font-weight: 700; cursor: pointer; }
.stats .mm-btn { color: #fff; margin: 0 auto; text-decoration: underline; }
@media (max-width: 600px) {
  [data-more]:not(.open) .mm-hide { display: none; }
  .section-home-services .card-grid.grid-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .section-home-services .photo-card { min-height: 130px; }
  .section-home-services .photo-card:last-child { grid-column: 1 / -1; min-height: 110px; }
  .section-home-services .photo-card span { font-size: 1.2rem; padding: 0 8px; }
  .home-more-services ul { gap: 6px; justify-content: center; }
  .home-more-services a { padding: 6px 11px; font-size: .86rem; }
  .services-copy { margin-top: 22px; }

  .process-intro { margin-bottom: 22px; }
  .process-cta { margin-top: 22px; }

  .promises .card-grid { gap: 12px; }
  .promises .feature-card { padding: 18px 18px 16px; text-align: left; }
  .promises .feature-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
  .promises .feature-card p { font-size: .95rem; margin: 0 0 6px; }

  .stats { padding: 44px 0; }
  .stats-grid { gap: 22px; }
  .stat .num { font-size: 2.6rem; margin: 4px 0 6px; }
  .stat p { margin: 0; }

  .glance-grid > div { padding: 10px 0; }
  .home-van { display: none; }
}
@media (max-width: 600px) {
  .founder-photo img { max-height: 280px; width: 100%; object-fit: cover; object-position: center 35%; }
}

/* /why-us/ "6 Reasons" (2026-11-21): facts already on the homepage, check-marked, 3 → 2 → 1 columns */
.why-reasons { list-style: none; padding: 0; margin: 26px auto 0; max-width: 1080px; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-reasons li { position: relative; padding: 18px 18px 18px 52px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); }
.why-reasons li::before { content: "✓"; position: absolute; left: 16px; top: 16px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-weight: 800; text-align: center; line-height: 26px; font-size: .9rem; }
.why-reasons strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.why-reasons span { display: block; font-size: .95rem; }
.why-reasons a { font-weight: 700; color: var(--navy); white-space: nowrap; }
@media (max-width: 900px) { .why-reasons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .why-reasons { grid-template-columns: 1fr; gap: 10px; }
  .why-reasons li { padding: 14px 14px 14px 48px; }
  /* the 3 story cards: icon beside the title, left-aligned, tighter */
  .why-cards { gap: 12px; }
  .why-cards .feature-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; padding: 16px; }
  .why-cards .feature-card .icon { width: 44px; height: 44px; margin: 0; }
  .why-cards .feature-card .icon svg { width: 22px; height: 22px; }
  .why-cards .feature-card h3 { margin: 0; font-size: 1rem; }
  .why-cards .feature-card p { grid-column: 1 / -1; margin: 10px 0 0; }
}

/* /our-story/ (2026-11-21): photo + opening, timeline of the dates in Jeff's story, mission band, keep-reading cards */
.story-intro { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; max-width: 1040px; }
.story-intro .prose { max-width: none; }
.story-intro .eyebrow { margin: 0 0 4px; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.story-intro h2 { margin-top: 0; }
.story-portrait { margin: 0; }
.story-portrait img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.story-portrait figcaption { margin-top: 10px; font-size: .9rem; color: var(--slate); font-weight: 600; text-align: center; }
.story-timeline { list-style: none; padding: 0; margin: 30px auto 0; max-width: 1080px; display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px; position: relative; }
.story-timeline::before { content: ""; position: absolute; top: 15px; left: 10%; right: 10%; border-top: 2px dashed #c6cfd9; }
.story-timeline li { position: relative; text-align: center; padding-top: 42px; }
.story-timeline li::before { content: ""; position: absolute; top: 6px; left: 50%; width: 20px; height: 20px; margin-left: -10px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--bg-soft, #f5f7f9); }
.st-when { display: block; font-family: 'Patua One', serif; font-size: 1.3rem; color: var(--navy); }
.st-what { display: block; font-size: .95rem; margin-top: 4px; }
.story-close { margin: 0 auto 34px; }
.story-sign { font-family: 'Patua One', serif; color: var(--navy); font-size: 1.15rem; }
.know-grid.know-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 0 auto; }
@media (max-width: 860px) {
  .story-intro { grid-template-columns: 1fr; gap: 22px; }
  .story-portrait { max-width: 320px; margin: 0 auto; }
  .story-timeline { grid-template-columns: 1fr; gap: 0; max-width: 520px; }
  .story-timeline::before { top: 10px; bottom: 10px; left: 15px; right: auto; border-top: 0; border-left: 2px dashed #c6cfd9; }
  .story-timeline li { text-align: left; padding: 0 0 18px 46px; }
  .story-timeline li::before { top: 4px; left: 6px; margin-left: 0; }
  .know-grid.know-grid-3 { grid-template-columns: 1fr 1fr; }
  .know-grid.know-grid-3 .know-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .story-portrait img { max-height: 340px; object-fit: cover; object-position: center 30%; }
}
@media (max-width: 600px) {
  .story-timeline { margin-top: 18px; }
  .story-timeline li { padding-bottom: 12px; }
  .st-when { font-size: 1.1rem; }
  .st-what { margin-top: 0; }
  .know-grid.know-grid-3 .know-card:last-child .kc-badges { aspect-ratio: auto; grid-template-columns: repeat(4, 1fr); padding: 14px; }
}

/* /meet-the-team/ pass 2 (2026-11-21): "Book with Jude/Cody →" on sales cards; phones 3-up cards, smaller intro,
   "About our team" folds behind Read more (main.js data-more) */
.tc-book { display: inline-block; margin-top: 8px; font-weight: 700; font-size: .9rem; color: var(--navy); }
@media (max-width: 600px) {
  .section-team-intro .lead { font-size: 1.02rem; line-height: 1.55; }
  .section-team .team-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .section-team .team-card { padding: 6px 6px 10px; }
  .section-team .team-card .team-photo { margin-bottom: 6px; }
  .section-team .team-card h3 { font-size: .92rem; }
  .section-team .team-card p { font-size: .76rem; line-height: 1.3; }
  .tc-book { font-size: .76rem; margin-top: 4px; }
  .section-team h2 { margin-top: 26px; }
}
@media (max-width: 600px) {
  /* rows that aren't full (Owners = 2, Painters = 2) sit centered */
  .section-team .team-grid { display: flex; flex-wrap: wrap; justify-content: center; }
  .section-team .team-card { width: calc((100% - 16px) / 3); }
}

/* /licenses-credentials-awards/ (2026-11-21): at-a-glance box, captioned badges, documents under their headings */
.lic-top { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.lic-top .prose { max-width: none; }
.lic-glance { background: #f5f7f9; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.lic-glance h2 { margin: 0 0 8px; font-size: 1.3rem; color: var(--slate); }
.lic-glance dl { margin: 0; }
.lic-glance dl > div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.lic-glance dl > div:last-child { border-bottom: 0; }
.lic-glance dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.lic-glance dd { margin: 2px 0 0; color: var(--navy); font-weight: 600; }
.lic-badges { margin: 34px 0 0; }
.lic-badges figure { margin: 0; text-align: center; max-width: 150px; }
.lic-badges figcaption { font-size: .8rem; color: var(--slate); margin-top: 6px; line-height: 1.3; }
.lic-docs h2 { margin-top: 34px; }
.lic-docs h2:first-child { margin-top: 0; }
.doc-gallery { margin-top: 14px; }
.doc-gallery.doc-wide { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.doc-gallery.doc-tall { grid-template-columns: repeat(auto-fill, 150px); }
.doc-gallery a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 6px; box-shadow: var(--shadow); }
.doc-gallery img { width: 100%; height: auto; display: block; }
.doc-hint { font-size: .88rem; color: var(--slate); margin-top: 18px; }
@media (max-width: 860px) { .lic-top { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 600px) {
  .lic-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; justify-items: center; }
  .doc-gallery.doc-wide, .doc-gallery.doc-tall { grid-template-columns: 1fr 1fr; gap: 8px; }
}
.doc-gallery { align-items: start; }
.doc-gallery img { aspect-ratio: auto !important; height: auto !important; object-fit: contain; }
.doc-gallery .gallery-item { aspect-ratio: auto; background: #fff; }
@media (max-width: 860px) { .lic-glance { order: -1; } }

/* "Fave us on Nextdoor" (2026-11-21): beside the Google review buttons (homepage reviews + /testimonials/) */
.btn-nextdoor::before { content: "♥"; color: #1b8a3c; margin-right: 6px; }
.review-ask-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* /our-work/ pass 2 (2026-11-21): job-type chips (from ESP's photo descriptions) + service link under the chips */
.work-service { text-align: center; margin: 12px 0 0; font-size: .95rem; }
.work-service a { font-weight: 700; color: var(--navy); }
.work-services { margin-top: 24px; }
@media (max-width: 600px) {
  /* 8 chips: one swipeable row */
  .work-filters { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .work-filters::-webkit-scrollbar { display: none; }
  .work-filters button { flex: 0 0 auto; }
}

/* /why-us/ family promise (2026-11-21): photo + mission quote first, values as three cards */
.why-family-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; max-width: 1100px; }
.why-family-photo { margin: 0; }
.why-family-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.why-family-photo figcaption { margin-top: 8px; font-size: .85rem; color: var(--slate); text-align: center; }
.why-family-copy .eyebrow { margin: 0 0 4px; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.why-family-copy h2 { margin: 0 0 14px; }
.why-quote { margin: 0 0 16px; padding: 4px 0 4px 20px; border-left: 4px solid var(--gold); font-family: 'Patua One', serif; color: var(--navy);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.3; }
.why-quote cite { display: block; margin-top: 10px; font-family: 'Open Sans', sans-serif; font-style: normal; font-size: .88rem; color: var(--slate); }
.why-lede { font-size: 1.08rem; }
.why-values .feature-card { text-align: left; }
.why-values .feature-card h3 { text-transform: none; font-size: 1.25rem; }
@media (max-width: 860px) {
  .why-family-in { grid-template-columns: 1fr; gap: 24px; }
}
.why-values-sec h2 { margin-bottom: 26px; }

/* ---------- CSP utilities (2026-11-23) ----------
   The CSP is style-src 'self' with NO 'unsafe-inline', so pages carry no style="" attributes. These classes
   replace them one for one. !important keeps the old inline-style priority (an inline style beat every rule). */
.u-mx-auto { margin: 0 auto !important; }
.u-mx-auto-b24 { margin: 0 auto 24px !important; }
.u-mx-auto-b26 { margin: 0 auto 26px !important; }
.u-mx-auto-b28 { margin: 0 auto 28px !important; }
.u-mx-auto-b30 { margin: 0 auto 30px !important; }
.u-mx-auto-t30 { margin: 30px auto 0 !important; }
.u-mt-24 { margin-top: 24px !important; }
.u-mt-30 { margin-top: 30px !important; }
.u-mt-12-only { margin: 12px 0 0 !important; }
.u-btn-block { width: 100% !important; justify-content: center !important; text-align: center !important; }
.u-ico-inline { vertical-align: -3px !important; margin-right: 6px !important; }
/* Home "services" photo cards (small webp first, jpeg fallback). */
.u-bg-exterior { background-image: url('/assets/img/painters-in-action.jpg'); background-image: image-set(url('/assets/img/painters-in-action-640.webp') type('image/webp'), url('/assets/img/painters-in-action.jpg') type('image/jpeg')); }
.u-bg-interior { background-image: url('/assets/img/initial-painting-project.jpg'); background-image: image-set(url('/assets/img/initial-painting-project-640.webp') type('image/webp'), url('/assets/img/initial-painting-project.jpg') type('image/jpeg')); }
.u-bg-commercial { background-image: url('/assets/img/esp-van.jpg'); background-image: image-set(url('/assets/img/esp-van-640.webp') type('image/webp'), url('/assets/img/esp-van.jpg') type('image/jpeg')); }

/* 2026 People Love Us on Yelp badge (tall artwork) — bigger than the 78 px logo row so the words stay readable (2026-11-25). */
.cred-strip img.cred-yelp, .lic-badges img.cred-yelp { max-height: 120px; width: auto; height: 120px; opacity: 1; }
/* Small "Website by Aleph Ventures" credit after the copyright (2026-11-25). */
.site-credit { margin-left: 6px; opacity: .8; font-size: .9em; white-space: nowrap; }
/* PCA logo is wide (376×140) — keep it the same visual weight as the square badges (2026-11-25). */
.cred-strip img[src*="cred-pca"] { max-height: 56px; }

/* Homepage stats band, column 1 (Kyle 2026-11-25): three named awards instead of one "5 Years" number —
   2026 People Love Us on Yelp · 4.9★ on Google · Nextdoor Neighborhood Favorite 2021–2025. */
.award-list { list-style: none; margin: 10px auto 16px; padding: 0; display: grid; gap: 12px; max-width: 320px; text-align: left; }
.award-list li { display: flex; align-items: center; gap: 14px; }
.award-list .aw-mark { flex: 0 0 64px; height: 64px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.award-list .aw-mark img { height: 64px; width: auto; }
.award-list .aw-num { border-radius: 50%; background: rgba(255,255,255,.12); border: 2px solid var(--gold); color: #fff;
  font-family: 'Patua One', serif; font-size: 1.45rem; line-height: 1; }
.award-list .aw-num span { color: var(--gold); font-size: .9rem; margin-left: 1px; }
.award-list .aw-num small { font-family: 'Open Sans', sans-serif; font-size: .62rem; margin-left: 2px; text-transform: uppercase; }
.award-list li > span { color: rgba(255,255,255,.85); font-size: .9rem; line-height: 1.35; }
.award-list strong { display: block; color: #fff; font-size: 1rem; }
@media (max-width: 600px) {
  .award-list { gap: 10px; margin-bottom: 10px; }
  .award-list .aw-mark { flex-basis: 52px; height: 52px; }
  .award-list .aw-mark img { height: 52px; }
}

/* Hero awards line (Kyle 2026-11-25): Yelp + Nextdoor right under the Google rating, so all three awards sit next to the
   estimate button. The full version is the first column of the navy stats band (.award-list). */
.hero-awards { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px;
  font-size: .95rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero-awards a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.hero-awards a:hover { text-decoration: underline; }
.hero-awards .ha-item { color: #fff; display: inline-flex; align-items: center; gap: 8px; }   /* an award with no link (Best Pick) */
@media (max-width: 900px) { .hero-awards .ha-long { display: none; } }   /* tablets: 3 awards on one line (short labels) */
.hero-awards img { height: 30px; width: auto; filter: drop-shadow(0 1px 4px rgba(0,0,0,.4)); }
.hero-awards .ha-mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--gold); color: #fff; font-family: 'Patua One', serif; font-size: .8rem; text-shadow: none; }
@media (max-width: 600px) {
  .hero-awards { font-size: .88rem; gap: 6px 14px; }
  .hero-awards .ha-long { display: none; } /* phones: "Yelp 2026 · Nextdoor Favorite" on one line (the badge says People Love Us) */
  .hero-awards img, .hero-awards .ha-mark { height: 26px; }
  .hero-awards .ha-mark { width: 26px; }
}

/* ESP Gives Back + Paint It Forward (2026-11-29, build/content/27-gives-back.mjs) */
.gives-intro { max-width: 760px; margin: 0 auto 28px; font-style: italic; }
.gives-quotes { margin-top: 18px; }
.gives-quotes blockquote { margin: 0 0 10px; font-size: 1.05rem; }
.gives-steps { padding-left: 1.3em; }
.gives-steps li { margin: 0 0 12px; }
#nominate .form-card { max-width: 820px; margin: 0 auto; }
#nominate .form-card h3 { margin: 22px 0 8px; font-size: 1.15rem; }
#nominate fieldset.field { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
#nominate fieldset legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
#nominate .radio { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-weight: 400; cursor: pointer; }
#nominate .radio input { width: auto; margin: 0; accent-color: var(--navy); }
#nominate { scroll-margin-top: 90px; }
.pif-logo { display: inline-block; margin: 4px 0 18px; }
.pif-logo img { display: block; width: 240px; max-width: 70vw; height: auto; }

/* Homepage Paint It Forward strip (2026-11-29) */
.home-pif-in { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; max-width: 1040px; }
.home-pif-logo img { display: block; width: 100%; height: auto; }
.home-pif h2 { margin: 0 0 8px; }
.home-pif p { margin: 0 0 14px; }
.home-pif-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 !important; }
@media (max-width: 760px) { .home-pif-in { grid-template-columns: 1fr; gap: 16px; text-align: center; } .home-pif-logo img { width: 200px; margin: 0 auto; } .home-pif-links { justify-content: center; } }
/* Strip followed by another white section (Hillsboro, Portland): a thin line keeps them apart. */
.home-pif-divided .home-pif-in { border-bottom: 1px solid #dfe4ea; padding-bottom: 32px; }
/* Homepage "Ask Jeff" strip (2026-11-29) — same layout as the Paint It Forward strip, round photo instead of the logo */
.home-ask .home-pif-in { grid-template-columns: 160px 1fr; }
.home-ask-photo img { display: block; width: 160px; height: 160px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); border: 4px solid #fff; }
@media (max-width: 760px) { .home-ask .home-pif-in { grid-template-columns: 1fr; } .home-ask-photo img { width: 120px; height: 120px; margin: 0 auto; } }

/* ---------- Blog posts: centered reading column + design blocks (2026-11-29) ----------
   Posts were left-aligned at 820px inside a 1160px page (big empty right side). Center them.
   .pb-* blocks are the ONLY classes new posts may use (allow-list in scripts/sync-wordpress.mjs BLOCKS;
   how-to in build/posts/README.md). Brand colors only: navy, slate, gold. */
.post, .post-related, .post-nav, .post-author { margin-left: auto; margin-right: auto; }
.post .pb-lead { font-size: 1.2rem; line-height: 1.65; color: var(--slate); }
.post .pb-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 2em 0 .2em; }
.post .pb-eyebrow + h2 { margin-top: 0; }
.post .pb-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 1.4em 0 1.8em; }
.post .pb-card { background: var(--bg-soft); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 20px 22px; }
.post .pb-card h3 { margin: 0 0 .4em; font-size: 1.15rem; color: var(--navy); }
.post .pb-card p { margin: 0; font-size: .98rem; }
.post .pb-steps { list-style: none; counter-reset: pbstep; padding: 0; margin: 1.4em 0 1.8em; display: grid; gap: 14px; }
.post .pb-steps > li { counter-increment: pbstep; position: relative; padding: 18px 20px 18px 74px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.post .pb-steps > li::before { content: counter(pbstep); position: absolute; left: 18px; top: 16px; width: 40px; height: 40px;
  border-radius: 50%; background: var(--navy); color: #fff; font-family: 'Patua One', serif; font-size: 1.2rem; line-height: 40px; text-align: center; }
.post .pb-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 1.4em 0 1.8em; }
.post .pb-photo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post .pb-photo img { display: block; width: 100%; height: 180px; object-fit: cover; margin: 0; }
.post .pb-photo h3 { margin: 14px 16px 6px; font-size: 1.1rem; color: var(--navy); }
.post .pb-photo p { margin: 0 16px 16px; font-size: .95rem; }
.post .pb-callout { background: #fff8e6; border: 2px dashed var(--gold); border-radius: 10px; padding: 22px 24px; margin: 1.6em 0; }
.post .pb-callout h3 { margin: 0 0 .3em; color: var(--navy); }
.post .pb-callout p:last-child { margin-bottom: 0; }
.post .pb-checks { list-style: none; padding: 0; }
.post .pb-checks > li { position: relative; padding-left: 32px; margin: 0 0 .7em; }
.post .pb-checks > li::before { content: ''; position: absolute; left: 4px; top: .45em; width: 9px; height: 15px;
  border: solid var(--gold); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.post .pb-cta { background: var(--navy); color: #fff; border-radius: 10px; padding: 30px 28px; margin: 2em 0 0; text-align: center; }
.post .pb-cta h2, .post .pb-cta h3 { color: #fff; margin-top: 0; }
.post .pb-cta p { color: #dfe6ef; }
.post .pb-cta a:not(.btn) { color: #fff; }
.post .pb-cta .btn { margin-top: 6px; }
/* Author byline + box (posts authored by Jeff Sommers) */
.post-byline { display: flex; align-items: center; gap: 10px; margin: 0 0 1.2em; font-size: .95rem; color: var(--slate); }
.post-byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; margin: 0; }
.post-byline a { color: var(--navy); font-weight: 700; text-decoration: none; }
.post-author { max-width: 820px; display: flex; gap: 20px; align-items: flex-start; margin-top: 34px; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.post-author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.post-author .pa-name { font-family: 'Patua One', serif; color: var(--slate); font-size: 1.2rem; margin: 0 0 2px; }
.post-author .pa-role { font-size: .85rem; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); margin: 0 0 8px; }
.post-author p { margin: 0 0 8px; }
.post-author a { color: var(--navy); font-weight: 700; }
@media (max-width: 760px) {
  .post .pb-cards, .post .pb-photos { grid-template-columns: 1fr; }
  .post .pb-photo img { height: 200px; }
  .post .pb-steps > li { padding-left: 66px; }
  .post-author { flex-direction: column; }
}
/* pb-stats = 2–3 big numbers in a navy strip (<p><strong>number</strong>label</p> each); pb-ba = ONE job's before + after
   of the same spot (<figure><img><figcaption>Before|After</figcaption></figure> ×2). Added 2026-11-30 (paint-life post). */
.post .pb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: 1.4em 0 1.8em;
  background: var(--navy); border-radius: 10px; overflow: hidden; }
.post .pb-stats > p { margin: 0; padding: 22px 22px 20px; color: #dfe6ef; font-size: .95rem; line-height: 1.45; border-left: 1px solid rgba(255,255,255,.14); }
.post .pb-stats > p:first-child { border-left: 0; }
.post .pb-stats strong { display: block; font-family: 'Patua One', serif; font-weight: 400; font-size: 2rem; line-height: 1.1; color: var(--gold); margin-bottom: 6px; }
.post .pb-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.4em 0 .6em; }
.post .pb-ba figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.post .pb-ba img { display: block; width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; margin: 0; }
.post .pb-ba figcaption { position: absolute; left: 12px; top: 12px; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; background: rgba(17,46,91,.85); color: #fff; }
.post .pb-ba figure + figure figcaption { background: var(--gold); color: var(--navy); }
@media (max-width: 760px) {
  .post .pb-stats > p { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 16px 20px; }
  .post .pb-stats > p:first-child { border-top: 0; }
  .post .pb-stats strong { font-size: 1.7rem; }
  .post .pb-ba { gap: 8px; }
}
.post .pb-callout img { display: block; width: 100%; max-height: 300px; object-fit: cover; border-radius: 8px; margin: 0 0 16px; }
/* Blog post header (2026-11-29): the site-wide hero darkens photos ~80% — posts looked drab. Posts show the photo,
   fading to navy only at the bottom where the title sits. */
.page-hero.post-hero { min-height: 380px; display: flex; align-items: flex-end; padding-top: 120px; padding-bottom: 34px; }
.page-hero.post-hero::before { background: linear-gradient(180deg, rgba(17,46,91,.08) 0%, rgba(17,46,91,.30) 45%, rgba(17,46,91,.86) 100%); }
.page-hero.post-hero .wrap { width: 100%; }
.page-hero.post-hero h1 { text-shadow: 0 2px 12px rgba(0,0,0,.35); }
@media (max-width: 760px) { .page-hero.post-hero { min-height: 300px; padding-top: 90px; padding-bottom: 24px; } }
/* End-of-post call to action (replaces the grey .post-related box on posts, 2026-11-29) */
.post-cta { max-width: 820px; margin: 34px auto 0; background: var(--navy); color: #dfe6ef; border-radius: 10px; padding: 28px 30px; }
.post-cta .pc-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 4px; }
.post-cta .pc-title { font-family: 'Patua One', serif; color: #fff; font-size: 1.5rem; margin: 0 0 8px; }
.post-cta p { margin: 0 0 14px; }
.post-cta .pc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.post-cta .pc-phone { color: #fff; font-weight: 600; }
.post-cta .pc-related { margin: 8px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.post-cta .pc-related span { font-size: .85rem; color: #b9c6d6; margin-right: 4px; }
.post-cta .pc-related a { color: #fff; text-decoration: none; font-size: .9rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 5px 12px; }
.post-cta .pc-related a:hover { background: rgba(255,255,255,.12); }
/* Ask the Expert hub (2026-11-29) */
.ask-intro { display: flex; gap: 32px; align-items: flex-start; max-width: 960px; margin: 0 auto; }
.ask-intro .ask-jeff { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: var(--shadow); border: 4px solid #fff; }
.ask-intro .prose { max-width: none; }
.form-card label.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: .95rem; cursor: pointer; }
.form-card label.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.ask-how .feature-card h3 { color: var(--navy); }
.ask-more { margin-top: 28px; }
@media (max-width: 760px) { .ask-intro { flex-direction: column; align-items: center; text-align: left; gap: 18px; } .ask-intro .ask-jeff { width: 120px; height: 120px; } }
/* ---------- Blog index (2026-11-29): search, topic buttons, popular, Ask Jeff strip, cleaner cards ---------- */
.blog-finder { padding-top: 28px; padding-bottom: 8px; }
.blog-search { position: relative; max-width: 640px; margin: 0 auto 18px; }
.blog-search input { width: 100%; padding: 14px 18px 14px 46px; border: 2px solid var(--line); border-radius: 999px; font-size: 1rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23425469' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 16px center; }
.blog-search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(17,46,91,.12); }
.blog-results { list-style: none; margin: 6px 0 0; padding: 0; position: absolute; left: 0; right: 0; z-index: 20; background: #fff;
  border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; }
.blog-results:empty { display: none; }
.blog-results li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 18px; border-top: 1px solid var(--line); }
.blog-results li:first-child { border-top: 0; }
.blog-results a { color: var(--navy); font-weight: 600; text-decoration: none; }
.blog-results a:hover { text-decoration: underline; }
.blog-results span { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.blog-results .br-none { color: var(--muted); }
.blog-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.blog-topics a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--slate); text-decoration: none; font-size: .92rem; background: #fff; }
.blog-topics a:hover { border-color: var(--navy); color: var(--navy); }
.blog-topics a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.blog-topics .bt-ask { border-color: var(--gold); }
.blog-h { font-size: 1.5rem; margin: 0 0 18px; }
.blog-count { color: var(--muted); margin: 0 0 14px; }
.post-card .post-meta a.post-topic { color: var(--navy); font-weight: 700; text-decoration: none; }
.post-card h2 { font-size: 1.12rem; }
.post-card .post-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card { transition: box-shadow .15s ease, transform .15s ease; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-grid-popular .post-card-img img { height: 150px; }
.post-card-compact .post-card-body { padding: 14px 16px 16px; }
.post-card-compact h2 { font-size: 1.02rem; margin: 0; }
.blog-ask { padding-top: 8px; padding-bottom: 36px; }
.blog-ask-in { display: flex; align-items: center; gap: 18px; background: #fff8e6; border: 1px solid #f3dc9b; border-radius: 12px; padding: 18px 22px; }
.blog-ask-in img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.blog-ask-in div { flex: 1; }
.blog-ask-in p { margin: 0; }
.blog-ask-title { font-family: 'Patua One', serif; color: var(--navy); font-size: 1.2rem; }
@media (max-width: 760px) {
  .blog-topics { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .blog-topics a { white-space: nowrap; }
  .blog-ask-in { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .post-card { transition: none; } .post-card:hover { transform: none; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Color guide links (2026-11-30): homepage step 2 link, exterior "Still choosing colors?" line, blog tool cards */
.process-step .step-link { margin-top: 8px; font-weight: 600; }
.process-steps .step-link { margin-top: 0; }
.ext-colors { max-width: 760px; margin: 22px auto 0; text-align: center; }
.blog-colors { padding-top: 8px; padding-bottom: 24px; }
.post-card-tool { background: #f3f6fb; border-top: 3px solid #f0b323; }

/* Free-tool links (2026-11-30 tool-link audit): end-of-post box + "Free planning tools" row on site pages */
.post-tool { max-width: 820px; margin: 30px auto 0; background: #f3f6fb; border: 1px solid #dbe3ec; border-left: 5px solid var(--gold); border-radius: 10px; padding: 18px 22px; }
.post-tool .pt-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a6400; margin: 0 0 2px; }
.post-tool .pt-title { font-family: 'Patua One', serif; color: var(--navy); font-size: 1.3rem; margin: 0 0 6px; }
.post-tool p { margin: 0 0 10px; }
.post-tool p:last-child { margin: 0; }
.tool-links a span { font-weight: 400; color: #626262; }

/* ---------- Inspire CTA band (2026-11-30) — the default closing band from ctaBand() in gen.mjs ---------- */
.cta-inspire { position: relative; overflow: hidden; text-align: left; padding: 80px 0 82px;
  background:
    radial-gradient(900px 420px at 88% 20%, rgba(240,179,35,.16), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(91,111,132,.45), transparent 65%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--slate) 100%); }
.cta-chips { position: absolute; inset: auto 0 0 0; height: 10px; display: flex; }
.cta-chips i { flex: 1; }
.cta-chips .cc0 { background: #112e5b; } .cta-chips .cc1 { background: #425469; } .cta-chips .cc2 { background: #7d8f7a; }
.cta-chips .cc3 { background: #c9b99a; } .cta-chips .cc4 { background: #f0b323; } .cta-chips .cc5 { background: #a5502e; }
.cta-chips .cc6 { background: #e8e2d4; } .cta-chips .cc7 { background: #5b6f84; }
.cta-inspire-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.cta-inspire .cta-eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; margin: 0 0 12px; max-width: none; }
.cta-inspire h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; margin: 0 0 18px; }
.cta-hl { position: relative; white-space: nowrap; z-index: 0; }
.cta-hl::after { content: ""; position: absolute; left: -6px; right: -8px; bottom: -.02em; height: .42em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30' preserveAspectRatio='none'%3E%3Cpath d='M4 18 C 60 6, 140 10, 296 8 L 292 22 C 200 26, 90 28, 8 26 Z' fill='%23f0b323' opacity='.9'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform-origin: left center; }
@keyframes cta-brush { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* brushstroke paints itself in as the band scrolls into view (browsers without scroll timelines just show it) */
@supports (animation-timeline: view()) {
  .cta-hl::after { animation: cta-brush linear both; animation-timeline: view(); animation-range: entry 40% cover 40%; }
}
.cta-inspire .cta-lede { font-size: 1.12rem; line-height: 1.6; margin: 0 0 26px; max-width: 520px; color: rgba(255,255,255,.88); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.btn-gold { background: var(--gold); color: var(--navy-dark); box-shadow: 0 10px 26px rgba(240,179,35,.28); }
.btn-gold:hover, .btn-gold:focus-visible { background: #ffc43d; color: var(--navy-dark); transform: translateY(-1px); }
.btn-ghost-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-ghost-white:hover, .btn-ghost-white:focus-visible { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.cta-inspire .cta-actions .btn-lg { padding: 16px 30px; font-size: 1.08rem; }
.cta-facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: rgba(255,255,255,.82); }
.cta-facts li { position: relative; padding-left: 16px; }
.cta-facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.cta-facts li:first-child { padding-left: 0; } .cta-facts li:first-child::before { display: none; }
.cta-star { color: var(--gold); }
/* before → after */
.cta-ba { position: relative; margin: 0; min-height: 360px; }
.cta-shot { position: absolute; background: #fff; padding: 8px 8px 34px; border-radius: 4px; box-shadow: 0 22px 50px rgba(0,0,0,.35); transition: transform .35s ease; }
.cta-shot img { display: block; width: 100%; height: auto; border-radius: 2px; }
.cta-shot span { position: absolute; left: 14px; bottom: 7px; font-family: 'Patua One', Georgia, serif; font-size: 1rem; color: var(--slate); }
.cta-before { width: 58%; left: 0; top: 0; transform: rotate(-5deg); filter: saturate(.85); }
.cta-after { width: 68%; right: 0; bottom: 18px; transform: rotate(3deg); z-index: 1; }
.cta-after span { color: var(--navy); }
.cta-after span::after { content: " ✓"; color: var(--gold); }
.cta-ba:hover .cta-before { transform: rotate(-7deg) translateX(-6px); }
.cta-ba:hover .cta-after { transform: rotate(1.5deg) translateY(-4px); }
.cta-arrow { position: absolute; width: 96px; left: 44%; top: 4px; z-index: 2; transform: rotate(8deg); }
.cta-ba figcaption { position: absolute; right: 4px; bottom: -14px; font-size: .8rem; color: rgba(255,255,255,.65); font-style: italic; }
@media (max-width: 900px) {
  .cta-inspire { padding: 60px 0 56px; }
  .cta-inspire-in { grid-template-columns: 1fr; gap: 40px; }
  .cta-ba { min-height: 0; aspect-ratio: 16 / 11; max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 600px) {
  .cta-inspire { text-align: center; }
  .cta-inspire .cta-eyebrow { letter-spacing: .06em; font-size: .74rem; }
  .cta-inspire .cta-lede { margin-left: auto; margin-right: auto; }
  .cta-actions, .cta-facts { justify-content: center; }
  .cta-actions .btn { flex: 1 1 100%; }
  .cta-facts { flex-direction: column; align-items: center; gap: 6px; }
  .cta-facts li, .cta-facts li:first-child { padding-left: 0; } .cta-facts li::before { display: none; }
  .cta-arrow { width: 64px; }
  .cta-shot { padding: 6px 6px 28px; } .cta-shot span { font-size: .9rem; bottom: 5px; }
}
@media (prefers-reduced-motion: reduce) { .cta-hl::after { animation: none; } .cta-shot, .btn-gold { transition: none; } .cta-ba:hover .cta-before, .cta-ba:hover .cta-after { transform: none; } }
/* own-band wording can include a phone link (Our Story, specialty pages) */
.cta-inspire .cta-lede a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Portland neighborhood pages (31-neighborhoods.mjs, 2026-12-01) ---------- */
.area-photo { margin: 1.6em 0 0; }
.area-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.area-photo figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.area-themes, .area-jobs { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.area-themes li, .area-jobs li { background: var(--bg-soft); border-left: 4px solid var(--gold); border-radius: 6px; padding: 12px 16px; }
.area-themes li a { white-space: nowrap; }
.area-photo.is-hero { display: none; }
@media (max-width: 760px) { .area-photo.is-hero { display: block; } }

/* ---------- Job map (/where-weve-painted/, 32-job-map.mjs, 2026-12-01) ---------- */
.job-map-fig { margin: 0; }
.job-map { display: block; width: 100%; height: auto; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
/* map colours, cards and the ZIP box: public/assets/css/job-map.css (only that page draws the inline map) */
.job-map-fig figcaption { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 10px; font-size: .9rem; color: var(--muted); }
.jm-key { display: inline-flex; align-items: center; gap: 6px; }
.jm-key svg { width: 20px; height: 20px; }
.jm-note { flex-basis: 100%; }

/* ---------- Homepage map (2026-12-01) — after "At a Glance" ---------- */
.home-map { padding-top: 0; }
.home-map-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 36px; align-items: center; }
.home-map-copy h2 { margin-top: 0; }
/* Navy band + ZIP box (design review 2026-12-01): the page's one mid-page navy moment, matching /where-weve-painted/. */
.home-map.section-navy { padding-top: 56px; padding-bottom: 56px; }
.home-map .eyebrow { margin: 0 0 4px; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.home-map-copy p { color: #dfe6f0; }
.home-map-note { color: #b9c6d8 !important; font-size: .92rem; }
.home-map-fig img { border-radius: var(--radius); box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.home-zip { margin: 18px 0 6px; }
.home-zip label { display: block; font-family: 'Patua One', Georgia, serif; font-size: 1.25rem; color: #fff; margin-bottom: 8px; }
.home-zip-row { display: flex; gap: 8px; max-width: 360px; }
.home-zip-row input { flex: 1; min-width: 0; padding: 12px 14px; border: 2px solid transparent; border-radius: 6px; font: inherit; font-size: 1rem; }
.home-zip-row input:focus { outline: none; border-color: var(--gold); }
.home-zip-msg { min-height: 1.2em; margin: 8px 0 0; font-size: .95rem; }
.home-zip-msg a { color: var(--gold); font-weight: 700; }
/* Section headings in navy on the homepage and service landing pages (design reviews 2026-12-01; the rest of the site
   keeps --heading). Landing pages opt in with bodyClass: 'svc-landing' in their content module. */
body.home main h2, body.svc-landing main h2 { color: var(--navy); }
body.home main .section-navy h2, body.home main .cta-band h2,
body.svc-landing main .section-navy h2, body.svc-landing main .cta-band h2 { color: #fff; }

/* /exterior-painting/ design review (2026-12-01): 2 story cards side by side, gallery strip under them, process cards
   with a navy accent (phones: cards 4–6 fold behind "Read more"), map section reuses the homepage .home-map block. */
.story-grid.story-grid-2 { grid-template-columns: repeat(2, 1fr); }
.story-grid.story-grid-2 .know-card > img { aspect-ratio: 16 / 9; }
/* One story (interior page): a single wide card, photo left, words right (design review 2026-12-01). */
.story-grid.story-grid-1 { grid-template-columns: 1fr; }
.story-grid.story-grid-1 .know-card { flex-direction: row; align-items: stretch; }
.story-grid.story-grid-1 .know-card > img { width: 46%; flex: none; aspect-ratio: 16 / 10; }
.story-grid.story-grid-1 .kc-body { align-content: center; padding: 22px 26px; }
.int-lead-in { margin-bottom: .2em; color: var(--navy); }
.gallery-strip { grid-template-columns: repeat(8, 1fr); gap: 10px; margin-top: 18px; }
@media (max-width: 1000px) { .gallery-strip { grid-template-columns: repeat(4, 1fr); } }
.ext-work-more { text-align: center; margin: 16px 0 0; font-weight: 700; }
.com-photos-note { text-align: center; margin: 14px 0 0; color: var(--muted); font-size: .95rem; }
.ext-work-more a { color: var(--navy); }
.svc-landing .ext-steps .feature-card { border-top: 4px solid var(--navy); }
.svc-landing .ext-steps .feature-card h3 { color: var(--navy); }
.ext-steps > .mm-btn, .commercial-cards > .mm-btn { grid-column: 1 / -1; justify-self: center; }
.svc-landing .home-map h2 { margin-bottom: 4px; }
@media (max-width: 760px) { .story-grid.story-grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .gallery.gallery-strip { grid-template-columns: repeat(4, 1fr); gap: 6px; } /* 8 photos = 2 full rows, not 3,3,2 */
  .gallery.ss-photos { grid-template-columns: 1fr 1fr; gap: 8px; } /* landing-page top photos: 2 thumbs fill the row */
}
.home-map-fig { margin: 0; }
@media (max-width: 900px) { .home-map-in { grid-template-columns: minmax(0, 1fr); gap: 18px; } .home-map-fig { order: 2; } }

/* ---------- Homepage proof strip (2026-12-01, Clarity audit) ----------
   The 3 project stories + 3 short Google reviews right under the hero, where visitors still are. */
.home-proof { padding-top: 48px; padding-bottom: 48px; }
.home-proof-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.home-proof-head h2 { margin: 0; }
.proof-reviews { margin-top: 26px; }
.proof-more { text-align: center; margin: 18px 0 0; font-weight: 700; }
.proof-more a { color: var(--navy); }
.home-price-link { text-align: center; margin: 22px 0 0; }
.home-price-link a { font-weight: 700; color: var(--navy); }
a.gbadge { text-decoration: none; }
a.gbadge:hover { text-decoration: underline; color: var(--navy); }
@media (max-width: 600px) {
  .home-proof { padding-top: 30px; padding-bottom: 30px; }
  .proof-reviews { margin-top: 18px; }
  .home-proof .story-grid .know-card .kc-body span { font-size: .86rem; line-height: 1.35; } /* shorter cards on phones */
  .home-proof .story-grid .know-card .kc-body strong { font-size: 1.02rem; line-height: 1.25; }
  .fact-strip .wrap { gap: 6px 18px; }
  .fact { display: block; text-align: center; }
}
/* Phones (2026-12-01 page audit): heading → MAP → words + button, so the picture that makes people stop comes first. */
@media (max-width: 600px) {
  .home-map-copy { display: contents; }
  .home-map-copy .eyebrow, .home-map-copy h2 { order: 0; }
  .home-map-copy h2 { margin-bottom: 0; }
  .home-map-fig { order: 1; }
  .home-map-copy > p:not(.eyebrow), .home-map-copy > .btn, .home-map-copy > .home-zip { order: 2; }
  .home-map-copy > p { margin: 0; }
  .home-map-copy > .btn { justify-self: start; }
}

/* Project stories (2026-12-01, build/content/33-projects.mjs) */
.story-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 1.6em; padding: 16px 18px;
  background: var(--bg-soft); border-radius: var(--radius); }
.story-facts dt { font-weight: 700; color: var(--navy); }
.story-facts dd { margin: 0; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 1.6em; }
.ba-pair figure { margin: 0; }
.ba-pair img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.ba-pair:not(.ba-compare) img { aspect-ratio: 3 / 2; object-fit: cover; }   /* slider photos keep their width/height ratio (no layout shift) */
.ba-pair figcaption { font-weight: 700; color: var(--navy); margin-top: 6px; }
.story-source { font-size: .9rem; color: var(--muted); }
.story-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.story-grid { grid-template-columns: repeat(3, 1fr); }
.story-grid .know-card .kc-body span + span { color: var(--muted); }
@media (max-width: 960px) { .story-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .story-facts { grid-template-columns: 1fr; gap: 2px; } .story-facts dd { margin-bottom: 8px; }
  .story-grid { grid-template-columns: 1fr; } .story-grid .know-card .kc-body span { display: block; } }
/* Landing-page flow (2026-12-01): compact project-story cards at the top of /our-work/, story blocks on service pages */
.story-strip-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 12px; }
.story-strip-head h2 { margin: 0; font-size: 1.5rem; }
.story-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 30px; }
.story-chip { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px; text-decoration: none; color: var(--slate); box-shadow: var(--shadow); }
.story-chip:hover { border-color: var(--navy); }
.story-chip img { width: 88px; height: 88px; object-fit: cover; border-radius: 6px; flex: none; }
.story-chip strong { display: block; font-family: 'Patua One', Georgia, serif; font-weight: 400; color: var(--navy); font-size: 1.05rem; line-height: 1.25; }
.story-chip > span > span { display: block; font-size: .86rem; color: var(--muted); margin-top: 2px; }
.work-gallery-title { font-size: 1.5rem; margin: 0 0 4px; }
@media (max-width: 860px) { .story-strip { grid-template-columns: 1fr; gap: 8px; } .story-chip img { width: 64px; height: 64px; } }
/* Phones: project-story cards as slim rows (photo left) so 3 stories don't stack ~1,500 px of photos */
@media (max-width: 600px) {
  .story-grid { gap: 8px; }
  .story-grid .know-card { flex-direction: row; align-items: center; }
  .story-grid .know-card > img { width: 96px; height: 96px; aspect-ratio: auto; flex: none; }
  .story-grid .know-card .kc-body { padding: 10px 12px; }
  .story-grid .know-card .kc-body span + span { display: none; }
}
/* Project stories: "Notes From the Job" — ESP's own marked-up estimate / walk-through photos with captions (2026-12-01) */
.found-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 18px; }
.found-grid figure { margin: 0; }
.found-grid img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); display: block; }
.found-grid figcaption { font-size: .95rem; margin-top: 8px; }
@media (max-width: 600px) { .found-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .found-grid img { height: 220px; } .found-grid figcaption { font-size: .86rem; } }

/* ---------- Homepage hero, phones: let the real-work photos PEEK above the sticky Call/Text bar (2026-12-01) ----------
   Clarity: half of phone visitors left without scrolling past the hero, which filled the whole first screen. Nothing is
   removed from the page — the hidden bits are repeated right below (rating line, fact strip, "Real Homes" photos, At a
   Glance, credential badges) — they're only dropped from the first phone screen. Desktop/tablet unchanged. */
@media (max-width: 600px) {
  .hero { min-height: 0; }
  .hero-inner { padding: 22px 18px 20px; }
  .hero-areas { font-size: .72rem; margin-bottom: 6px; letter-spacing: 0; }
  .hero h1 { font-size: 1.62rem; line-height: 1.15; margin-bottom: .35em; }
  .hero p.lead { display: none; }                 /* "Since 1996" = first item of the fact strip below */
  .hero-proof { margin: 0 auto 14px; gap: 2px 12px; }
  .hero-proof li { font-size: .84rem; }
  .hero-secondary { display: none; }              /* "See Our Work": the work photos now show just below */
  .hero-meta { margin-top: 10px; font-size: .9rem; }
  .hero-awards { display: none; }                 /* Yelp + Nextdoor are in At a Glance + the badge row */
  .fact-strip .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; padding-top: 10px; padding-bottom: 10px; }
  .fact { font-size: .8rem; line-height: 1.3; }
  .fact-more { display: none; }                   /* CCB#, WA L&I#, details: on the linked pages + At a Glance + footer */
  .home-proof { padding-top: 16px; }
  .home-proof-head { margin-bottom: 10px; }
  .home-proof-head h2 { font-size: 1.35rem; }
}

.ba-pair.ba-tall:not(.ba-compare) img { aspect-ratio: 3 / 4; }   /* both photos portrait: keep them tall instead of cropping to a band */

/* ---------- Drag-to-compare before/after slider (2026-12-01, public/assets/js/ba-slider.js) ----------
   Markup = a normal .ba-pair (side by side — the no-JS fallback) with .ba-compare + data-ba-compare. With scripting
   on, the two figures stack in one grid cell BEFORE the script runs (no layout shift); the before photo sits on top,
   clipped at --ba (default 50%). ba-slider.js adds the handle and moves --ba. Both photos share one frame + size. */
@media (scripting: enabled) {
  .ba-compare { --ba: 50%; position: relative; grid-template-columns: 1fr; gap: 0; border-radius: var(--radius); overflow: hidden;
    touch-action: pan-y; user-select: none; -webkit-user-select: none; background: var(--bg-soft); }
  .ba-compare.ba-tall { max-width: 560px; margin-left: auto; margin-right: auto; }
  .ba-compare > figure { grid-area: 1 / 1; position: relative; }
  .ba-compare > .ba-b { z-index: 1; clip-path: inset(0 calc(100% - var(--ba)) 0 0); }
  .ba-compare img { margin: 0; border-radius: 0; pointer-events: none; -webkit-user-drag: none; }
  .ba-compare figcaption { position: absolute; top: 12px; margin: 0; padding: 4px 10px; border-radius: 999px; font-size: .85rem;
    background: rgba(13, 35, 64, .82); color: #fff; line-height: 1.4; white-space: nowrap; }
  .ba-compare .ba-b figcaption { left: 12px; }
  .ba-compare .ba-a figcaption { right: 12px; }
  .ba-compare::after { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--ba); width: 3px; margin-left: -1.5px;
    background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .45); pointer-events: none; }
  .ba-compare.ba-live { cursor: ew-resize; }
  .ba-handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--ba); width: 44px; margin-left: -22px; cursor: ew-resize; }
  .ba-handle:focus { outline: none; }
  .ba-knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
    background: var(--gold); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
  .ba-knob::before, .ba-knob::after { content: ""; position: absolute; top: 50%; margin-top: -6px; border: 6px solid transparent; }
  .ba-knob::before { left: 4px; border-right-color: var(--navy); }
  .ba-knob::after { right: 4px; border-left-color: var(--navy); }
  .ba-handle:focus-visible .ba-knob { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 6px #fff, 0 2px 8px rgba(0, 0, 0, .35); }
  .ba-dragging .ba-knob { transform: scale(1.08); }
  @media (max-width: 600px) { .ba-compare figcaption { top: 8px; font-size: .78rem; padding: 3px 8px; }
    .ba-compare .ba-b figcaption { left: 8px; } .ba-compare .ba-a figcaption { right: 8px; } }
}
.ba-hint { font-size: .9rem; color: var(--muted); margin: -1.1em 0 1.6em; }
@media (scripting: none) { .ba-hint { display: none; } }

/* /commercial-painting/: hotel lobby drag-to-compare beside a short caption (2026-12-01). Phones: slider, then text. */
.com-ba { display: grid; gap: 1.2rem 2.5rem; margin-top: 2.2rem; align-items: center; }
.com-ba-slider { max-width: 440px; width: 100%; margin: 0 auto; }
.com-ba-slider .ba-compare.ba-tall { max-width: none; }
.com-ba-slider .ba-hint { margin: .6em 0 0; }
.com-ba-copy h3 { margin-top: 0; }
@media (min-width: 900px) { .com-ba { grid-template-columns: 440px 1fr; } .com-ba-slider { margin: 0; } }

/* /press/ (52-press.mjs, 2026-12-01): Jeff's headshot in the split header's aside slot */
.press-headshot { display: block; width: 100%; max-width: 260px; height: auto; border-radius: 12px; margin: 0 auto; box-shadow: 0 6px 20px rgba(17, 46, 91, .15); }
@media (max-width: 600px) { .press-headshot { max-width: 180px; } }

/* ---------- Holiday Giving 2026 (/holiday-giving/ + card on the homepage & /esp-gives-back/; build/content/28-holiday-giving.mjs).
   Ends by itself after Dec 31, 2026 (functions/_promos.js) — this CSS can be deleted after that. ---------- */
.hg-kicker { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #aabeca; }
.hg-kicker.hg-red { color: #7f1417; }
.hg-dates { background: #fff; color: var(--navy); border-left: 4px solid #aabeca; border-radius: 6px; padding: 22px 24px; max-width: 420px; box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.hg-dates .hg-kicker { color: #7f1417; }
.hg-dates .hg-label { margin: 0 0 10px; font-weight: 700; color: var(--navy); }
.hg-dates dl { margin: 0; display: grid; gap: 12px; }
.hg-dates dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #7f1417; }
.hg-dates dd { margin: 2px 0 0; font-family: 'Patua One', Georgia, serif; font-size: 1.3rem; color: var(--navy); }
.page-hero-split.ph-navy .hg-dates p.hg-small { margin: 14px 0 0; font-size: .85rem; color: #4f5866; }
.page-hero-split.ph-navy .hg-dates p.hg-kicker { color: #7f1417; }
.page-hero-split.ph-navy .hg-dates p.hg-label { color: var(--navy); }
.hg-sign { display: flex; align-items: center; gap: 16px; font-family: 'Patua One', Georgia, serif; font-size: 1.15rem; color: var(--navy); line-height: 1.35; }
.hg-sign img { width: 52px; height: auto; flex: none; }
.hg-letter .colimg img { border-radius: 8px; }
.hg-how h2 { margin-bottom: 28px; }
.hg-steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hg-steps li p { margin: 0; color: #dce4ec; }
.hg-num { display: block; font-family: 'Patua One', Georgia, serif; font-size: 2rem; color: #aabeca; margin-bottom: 6px; }
.hg-aud { border: 1px solid #e3e8ed; border-radius: 8px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.hg-aud h3 { color: #7f1417; margin: 0 0 10px; }
.hg-aud p { flex: 1; }
.hg-fine { max-width: 820px; margin: 22px auto 0; font-size: .85rem; text-align: center; color: #6b7480; }
.hg-fine + .hg-fine { margin-top: 8px; }
/* card on other pages: dark holiday photo, gold button */
.hg-card { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; max-width: 1040px; margin: 0 auto 40px; padding: 28px 32px;
  border-radius: 10px; color: #fff; background: #112649 url('/assets/img/holiday-giving/berries.webp') center / cover no-repeat; box-shadow: 0 14px 34px rgba(17,38,73,.25); }
.hg-card-wreath { width: 120px; height: 120px; background: rgba(255,255,255,.92); border-radius: 50%; padding: 8px; }
.home-pif .hg-card h2, .hg-card h2 { color: #fff; margin: 0 0 6px; }
.hg-card p { color: #eef0f4; margin: 0 0 14px; }
.hg-card .hg-kicker { color: #aabeca; margin-bottom: 4px; }
.hg-card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 !important; }
.hg-card-est { color: #fff; font-weight: 600; }
@media (max-width: 760px) {
  .hg-steps { grid-template-columns: 1fr; gap: 18px; }
  .hg-card { grid-template-columns: 1fr; text-align: center; padding: 24px 18px; gap: 12px; }
  .hg-card-wreath { width: 84px; height: 84px; margin: 0 auto; }
  .hg-card-links { justify-content: center; }
  .hg-dates { max-width: none; }
}

/* festive pass (Kyle 2026-12-01: "look a little festive and benevolent") — CSS only, no new images.
   String of lights = layered radial gradients; twinkle only when motion is allowed. */
.hg-lights, .ph-holiday::after, .hg-how::before { --bulb: 5px; background:
  radial-gradient(circle at 12px 13px, #f0b323 var(--bulb), transparent calc(var(--bulb) + 1px)) 0 0 / 96px 24px repeat-x,
  radial-gradient(circle at 36px 17px, #d8434b var(--bulb), transparent calc(var(--bulb) + 1px)) 0 0 / 96px 24px repeat-x,
  radial-gradient(circle at 60px 13px, #57b37c var(--bulb), transparent calc(var(--bulb) + 1px)) 0 0 / 96px 24px repeat-x,
  radial-gradient(circle at 84px 17px, #fff6d6 var(--bulb), transparent calc(var(--bulb) + 1px)) 0 0 / 96px 24px repeat-x,
  linear-gradient(transparent 7px, rgba(255,255,255,.28) 7px, rgba(255,255,255,.28) 8px, transparent 8px) 0 0 / 100% 24px repeat-x; }
.ph-holiday { position: relative; background: radial-gradient(circle at 78% 35%, rgba(240,179,35,.20), transparent 45%), radial-gradient(circle at 15% 90%, rgba(216,67,75,.18), transparent 40%), linear-gradient(100deg, rgba(17,38,73,.88) 0%, rgba(17,38,73,.45) 60%, rgba(17,38,73,.15) 100%), #112649 url('/assets/img/holiday-giving/berries.webp') center / cover no-repeat; padding-bottom: 64px !important; }
.ph-holiday::after { content: ''; position: absolute; left: 0; right: 0; bottom: 12px; height: 24px; pointer-events: none; }
.ph-holiday h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.ph-holiday .hg-dates { position: relative; border-left-color: #7f1417; }
.ph-holiday .hg-dates { padding-right: 92px; }
.ph-holiday .hg-dates::before { content: ''; position: absolute; top: 14px; right: 14px; width: 66px; height: 66px; background: url('/assets/img/holiday-giving/wreath.webp') center / contain no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .ph-holiday::after, .hg-how::before { animation: hg-twinkle 2.6s ease-in-out infinite alternate; }
  @keyframes hg-twinkle { from { opacity: .65; } to { opacity: 1; } }
}
.hg-warm { background: #fbf6ee; }
.hg-letter .prose { background: #fff; border-top: 6px solid #7f1417; border-radius: 10px; padding: 34px 36px; box-shadow: 0 16px 40px rgba(127,20,23,.08); }
.hg-letter .prose > p:first-child::first-letter { font-family: 'Patua One', Georgia, serif; float: left; font-size: 3.4rem; line-height: .9; padding: 6px 10px 0 0; color: #7f1417; }
.hg-letter .colimg img { box-shadow: 0 16px 40px rgba(17,38,73,.18); }
.hg-how { position: relative; padding-top: 84px; background-color: #112649;
  background-image: radial-gradient(rgba(255,255,255,.10) 1.5px, transparent 2.2px), radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.6px);
  background-size: 54px 54px, 27px 27px; background-position: 0 0, 13px 17px; }
.hg-how::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 24px; }
.hg-how .hg-kicker { color: #f0b323; }
.hg-num { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; border: 2px solid #f0b323; color: #f0b323; font-size: 1.5rem; margin-bottom: 12px; }
.hg-gift-sec { background: #fbf6ee; }
.hg-gift { max-width: 760px; margin: 0 auto; text-align: center; }
.hg-wreath { width: 110px; height: auto; margin: 0 auto 12px; display: block; }
.hg-orgs { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hg-org { position: relative; background: #fff; border-radius: 12px; padding: 44px 24px 22px; text-align: center; box-shadow: 0 14px 36px rgba(17,38,73,.09); border-top: 6px solid #7f1417; display: flex; flex-direction: column; }
.hg-tag { position: absolute; top: -6px; left: 50%; width: 14px; height: 100%; margin-left: -7px; background: linear-gradient(#7f1417, #7f1417) top / 14px 34px no-repeat; opacity: .9; pointer-events: none; }
.hg-org img { position: relative; width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; box-shadow: 0 0 0 6px #fff; }
.hg-org h3 { margin: 0 0 6px; color: var(--navy); }
.hg-org > p { margin: 0 0 14px; }
.hg-words { margin: 0 0 16px; padding: 14px 16px; background: #fbf6ee; border-radius: 8px; text-align: left; flex: 1; }
.hg-words p { margin: 0 0 8px; font-style: italic; color: #4f4a44; }
.hg-words cite { font-style: normal; font-size: .82rem; color: #7a7068; }
.hg-words cite a { color: #7f1417; }
.hg-org-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 0; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.hg-org-links a { color: #7f1417; }
.hg-thanks { margin: 34px auto 0; max-width: 720px; text-align: center; font-family: 'Patua One', Georgia, serif; font-size: 1.3rem; color: var(--navy); }
.hg-aud { border-top: 4px solid #f0b323; box-shadow: 0 10px 28px rgba(17,38,73,.07); }
@media (max-width: 900px) { .hg-orgs { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
@media (max-width: 600px) { .hg-letter .prose { padding: 26px 20px; } .ph-holiday .hg-dates { padding-right: 76px; } .ph-holiday .hg-dates::before { width: 52px; height: 52px; top: 12px; right: 12px; } }

/* homepage Holiday Giving bar (holidayBanner(), 28-holiday-giving.mjs) — ends with the promo */
.hg-banner { position: relative; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 14px; padding: 15px 16px 22px; text-align: center;
  background: #7f1417; color: #fff; font-size: .95rem; line-height: 1.35; text-decoration: none; }
.hg-banner::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; --bulb: 3px; background:
  radial-gradient(circle at 12px 6px, #f0b323 var(--bulb), transparent calc(var(--bulb) + 1px)) 0 0 / 64px 12px repeat-x,
  radial-gradient(circle at 28px 8px, #fff6d6 var(--bulb), transparent calc(var(--bulb) + 1px)) 0 0 / 64px 12px repeat-x,
  radial-gradient(circle at 44px 6px, #57b37c var(--bulb), transparent calc(var(--bulb) + 1px)) 0 0 / 64px 12px repeat-x,
  radial-gradient(circle at 60px 8px, #f0b323 var(--bulb), transparent calc(var(--bulb) + 1px)) 0 0 / 64px 12px repeat-x; opacity: .9; }
.hg-banner strong { font-family: 'Patua One', Georgia, serif; font-weight: 400; letter-spacing: .02em; }
.hg-banner-go { color: #f0b323; font-weight: 700; white-space: nowrap; }
.hg-banner:hover .hg-banner-go, .hg-banner:focus-visible .hg-banner-go { text-decoration: underline; }
.hg-banner-short { display: none; }
@media (max-width: 600px) { .hg-banner { font-size: .82rem; padding: 9px 10px 16px; gap: 2px 8px; } .hg-banner-long { display: none; } .hg-banner-short { display: inline; } .hg-banner-go { font-size: 0; } .hg-banner-go::after { content: '→'; font-size: .95rem; } }

/* Holiday Giving share buttons (shareBlock(), holiday-share.js) */
.hg-share [hidden] { display: none !important; }
.hg-share { margin-top: 6px; }
.hg-share-native { gap: 8px; margin-bottom: 10px; }
.hg-share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.hg-share-label { font-size: .9rem; font-weight: 600; color: var(--navy); margin-right: 2px; }
.hg-share-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1.5px solid #7f1417; border-radius: 999px; background: #fff;
  color: #7f1417; font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.hg-share-btn:hover, .hg-share-btn:focus-visible { background: #7f1417; color: #fff; }
.hg-share-status { margin: 8px 0 0; font-size: .85rem; color: #2e7d4f; min-height: 1.2em; }
.hg-share-dark { margin-top: 18px; text-align: center; }
.hg-share-dark .hg-share-row { justify-content: center; }
.hg-share-dark .hg-share-label { color: #dce4ec; }
.hg-share-dark .hg-share-btn { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.hg-share-dark .hg-share-btn:hover, .hg-share-dark .hg-share-btn:focus-visible { background: #fff; color: var(--navy); }
.hg-share-dark .hg-share-native { background: #fff; color: var(--navy); }
.hg-share-dark .hg-share-status { color: #f0b323; }

/* Holiday easter egg: Santa hat + beard over the header logo's painter on hover (SANTA_LOGO in gen.mjs; ends with the promo) */
.brand { position: relative; }
.brand .brand-santa { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; transform: translateY(-6px) rotate(-4deg); transform-origin: 25% 30%;
  transition: opacity .25s ease, transform .35s cubic-bezier(.3,1.6,.5,1); }
.brand:hover .brand-santa, .brand:focus-visible .brand-santa { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .brand .brand-santa { transition: opacity .2s; transform: none; } }

/* Holiday touch: snow resting on the header estimate button (SNOW_CAP in gen.mjs; ends with the promo).
   A rounded white cap along the top edge with a few soft drips + two flakes; pure CSS, no motion. */
.header-est { position: relative; }
/* What stays after the snow falls (.btn-snow): just a little left on the two top corners. The clumps (.snow-clump) fall on hover. */
.btn-snow { position: absolute; left: -2px; right: -2px; top: -3px; height: 9px; pointer-events: none;
  filter: drop-shadow(0 0 .6px #9fb0c2) drop-shadow(0 1px 1px rgba(17,38,73,.22));
  background:
    radial-gradient(ellipse 11px 5px at 9px 4px, #fff 98%, transparent),
    radial-gradient(circle 2.5px at 5px 7px, #fff 98%, transparent),
    radial-gradient(ellipse 10px 4.5px at calc(100% - 9px) 4px, #fff 98%, transparent),
    radial-gradient(circle 2px at calc(100% - 4px) 7px, #fff 98%, transparent); }
.snow-clump { position: absolute; top: -7px; height: 15px; display: block;
  filter: drop-shadow(0 0 .6px #9fb0c2) drop-shadow(0 1.5px 1.5px rgba(17,38,73,.28));
  animation: snow-settle .7s ease-out both; }
.snow-a { left: 0; width: 36%; border-radius: 6px 0 0 0; background:
  radial-gradient(ellipse 20px 6px at 17% 8px, #fff 98%, transparent), radial-gradient(ellipse 22px 7px at 56% 7px, #fff 98%, transparent),
  radial-gradient(ellipse 20px 6px at 97% 8px, #fff 98%, transparent), radial-gradient(circle 3px at 83% 13px, #fff 98%, transparent),
  linear-gradient(#fff, #fff) 0 7px / 100% 5px no-repeat; }
.snow-b { left: 34%; width: 34%; background:
  radial-gradient(ellipse 24px 7.5px at 50% 6.5px, #fff 98%, transparent), radial-gradient(ellipse 20px 6px at 97% 8px, #fff 98%, transparent),
  radial-gradient(ellipse 20px 6px at 3% 8px, #fff 98%, transparent), radial-gradient(circle 2.5px at 88% 13.5px, #fff 98%, transparent),
  linear-gradient(#fff, #fff) 0 7px / 100% 5px no-repeat; }
.snow-c { right: 0; width: 34%; border-radius: 0 6px 0 0; background:
  radial-gradient(ellipse 22px 7px at 42% 7px, #fff 98%, transparent), radial-gradient(ellipse 18px 6px at 86% 8px, #fff 98%, transparent),
  radial-gradient(ellipse 20px 6px at 3% 8px, #fff 98%, transparent), radial-gradient(circle 2px at 40% 13px, #fff 98%, transparent),
  linear-gradient(#fff, #fff) 0 7px / 100% 5px no-repeat; }
.snow-a::before, .snow-c::after { content: '❄'; position: absolute; color: #9fb0c2; font-size: 10px; line-height: 1; }
.snow-a::before { top: -10px; left: 30%; transform: rotate(12deg); }
.snow-c::after { top: -13px; right: 20%; font-size: 8px; opacity: .8; }
/* hover / keyboard focus: the clumps slide off the edges and drop, staggered */
.header-est:hover .snow-a, .header-est:focus-visible .snow-a { animation: snow-fall-a .9s cubic-bezier(.45,0,.9,.6) forwards; }
.header-est:hover .snow-b, .header-est:focus-visible .snow-b { animation: snow-fall-b 1s .08s cubic-bezier(.45,0,.9,.6) forwards; }
.header-est:hover .snow-c, .header-est:focus-visible .snow-c { animation: snow-fall-c .95s .04s cubic-bezier(.45,0,.9,.6) forwards; }
@keyframes snow-fall-a { 0% { transform: none; opacity: 1; } 25% { transform: translate(-6px, 2px) rotate(-8deg); } 100% { transform: translate(-22px, 70px) rotate(-40deg); opacity: 0; } }
@keyframes snow-fall-b { 0% { transform: none; opacity: 1; } 25% { transform: translate(0, 3px) rotate(3deg); } 100% { transform: translate(4px, 80px) rotate(18deg); opacity: 0; } }
@keyframes snow-fall-c { 0% { transform: none; opacity: 1; } 25% { transform: translate(6px, 2px) rotate(8deg); } 100% { transform: translate(24px, 72px) rotate(38deg); opacity: 0; } }
/* coming back (page load, or after the pointer leaves): fresh snow drifts down onto the button */
@keyframes snow-settle { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .snow-clump { animation: none; transition: opacity .3s; }
  .header-est:hover .snow-clump, .header-est:focus-visible .snow-clump { animation: none; opacity: 0; }
}
.btn-snow::before { top: -10px; left: 12%; transform: rotate(12deg); }
.btn-snow::after { top: -13px; right: 9%; font-size: 8px; opacity: .8; }
.btn-snow::before { top: -9px; left: 14%; transform: rotate(12deg); }
.btn-snow::after { top: -12px; right: 10%; font-size: 9px; opacity: .9; }

/* Holiday greeting at the top of the footer (HOLIDAY_FOOTER in gen.mjs; ends with the promo) */
.site-footer:has(.footer-holiday) { padding-top: 0; }
.footer-holiday { text-align: center; padding: 0 16px 34px; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-holiday .hg-lights { height: 24px; margin: 0 0 22px; }
.footer-holiday p { margin: 0; font-family: 'Patua One', Georgia, serif; font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: #f0b323; letter-spacing: .01em; }
.footer-holiday span { color: #fff; font-size: .8em; margin-left: 4px; }
@media (prefers-reduced-motion: no-preference) { .footer-holiday .hg-lights { animation: hg-twinkle 2.6s ease-in-out infinite alternate; } }
