/* Kind Christmas Lights: site styles.
   Design inherited from Corey's approved landing page in the Kind Home
   landing page system (kind-home-landing-pages/christmas-lights/), which
   uses the kind-christmas-lights sub-brand palette: white / paper / tan /
   deep teal, with holiday red as the call to action. Same palette, same
   components, same Fraunces axis lock. Style ONLY with the tokens below;
   a new color belongs in this block first, and in that repo's
   SUB_BRAND_PALETTES (scripts/lint-pages.mjs) too, so the two stay one
   palette. */

:root {
  --white: #FFFFFF;        /* form card and step surfaces */
  --paper: #FBF8F2;        /* page background */
  --paper-2: #F3ECDD;      /* alternating section background */
  --tan: #C9A876;          /* warm metallic accent */
  --tan-line: #E4D7BB;     /* borders, dividers */
  --teal: #1CB8A7;         /* accents, links, focus */
  --teal-deep: #0B2E2A;    /* body text and dark sections */
  --night-end: #082220;    /* hero / final CTA gradient end */
  --footer: #071815;       /* footer background */
  --red: #D6402C;          /* THE call to action */
  --muted: #5A6A67;        /* supporting text */
  --lead-ink: #3F5A56;     /* section lead text */
  --card-ink: #4A615D;     /* card body text */
  --foot-ink: #B9CFC9;     /* footer text on dark */
  --foot-dim: #7F9490;     /* footer disclaimer text */

  /* Names js/address-autofill.js reads for its dropdown (it was written
     for the Kind Home LP system), mapped onto this palette. */
  --ink: var(--teal-deep);
  --ink-soft: var(--muted);
  --snow: var(--paper);
  --mist: var(--paper-2);

  --shadow: 0 10px 30px rgba(11,46,42,.10);
  --radius: 16px;
  --r-sm: 10px;
  --maxw: 1140px;

  --fr: "Fraunces", Georgia, serif;
  --dm: "DM Sans", system-ui, sans-serif;
  /* Fraunces axis lock: opsz 144 · SOFT 100 · WONK 0, wght inside the axes. */
  --fr-axes: "opsz" 144, "wght" 600, "SOFT" 100, "WONK" 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--dm);
  color: var(--teal-deep);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: none;
  overflow-x: hidden;
}
h1, h2, h3, .fr {
  font-family: var(--fr);
  font-variation-settings: var(--fr-axes);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--teal-deep);
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.1rem); }
h3 { font-size: 1.2rem; font-weight: 700; font-family: var(--dm); font-variation-settings: normal; letter-spacing: normal; }
p { margin: 0 0 1rem; max-width: 62ch; }
a { color: var(--teal); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); color: var(--teal-deep); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--red); color: var(--white); font-weight: 700;
  text-decoration: none; padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 1rem; font-family: var(--dm); line-height: 1.2;
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 8px 20px rgba(214,64,44,.32); text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(214,64,44,.42); }
.btn i { font-size: 1.15rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
/* Secondary on dark surfaces */
.btn-outline { background: transparent; color: var(--paper); border: 2px solid rgba(251,248,242,.55); box-shadow: none; }
.btn-outline:hover { background: rgba(251,248,242,.1); box-shadow: none; }
/* Secondary on light surfaces */
.btn-ghost { background: transparent; color: var(--teal-deep); border: 2px solid var(--tan-line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--teal-deep); box-shadow: none; }
.btn-sm { padding: 10px 18px; font-size: .92rem; box-shadow: none; }

/* ---------- Repeated primitive: the light strand ---------- */
.kicker { display: block; margin-bottom: 14px; color: var(--teal); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }

/* ---------- Header (dark surface) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--teal-deep); color: var(--paper); border-bottom: 1px solid rgba(251,248,242,.1); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand-tag { font-size: .7rem; color: var(--tan); letter-spacing: .03em; line-height: 1.2; display: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; }
.nav-link { padding: 10px; font-weight: 500; font-size: .95rem; color: var(--paper); opacity: .85; }
.nav-link:hover, .nav-link[aria-current="page"] { opacity: 1; }
.nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--tan); }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; padding: 10px; font-weight: 700; color: var(--paper); white-space: nowrap; }
.nav-phone i { font-size: 1.3rem; }
.nav-phone:hover { color: var(--teal); }
.nav-phone span, .nav .nav-home { display: none; }
@media (min-width: 900px) {
  .brand img { height: 52px; }
  .brand-tag { display: block; }
  .nav { gap: 10px; }
  .nav .nav-home { display: inline; }
  .nav-phone span { display: inline; }
}
/* Phones: the fixed "Tap to call" bar (.mcall) carries the phone number, so
   the header drops its phone icon (and the Blog link) to fit Gallery, FAQ and
   the CTA on one line. */
@media (max-width: 580px) {
  .nav { gap: 0; }
  .nav-phone { display: none; }
  /* No room for a fourth link beside the logo; Blog stays in the footer. */
  .nav .nav-blog { display: none; }
  .nav-link { padding: 10px 8px; }
  .nav .btn-sm { white-space: nowrap; margin-left: 4px; }
}
@media (max-width: 400px) {
  .brand img { height: 38px; }
  .nav-link { padding: 10px 6px; font-size: .9rem; }
  .nav .btn-sm { padding: 9px 13px; font-size: .86rem; }
}

/* ---------- Hero (dark surface) ---------- */
.hero, .page-head { position: relative; background: linear-gradient(165deg, var(--teal-deep) 0%, var(--night-end) 100%); overflow: hidden; }
.hero::after, .page-head::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(2px 2px at 10% 20%, rgba(201,168,118,.9), transparent),
                    radial-gradient(2px 2px at 30% 10%, rgba(251,248,242,.5), transparent),
                    radial-gradient(2px 2px at 55% 24%, rgba(28,184,167,.8), transparent),
                    radial-gradient(2px 2px at 74% 8%, rgba(251,248,242,.4), transparent),
                    radial-gradient(2px 2px at 90% 22%, rgba(201,168,118,.8), transparent);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; padding-top: 58px; padding-bottom: 66px; }
.hero-copy h1, .page-head h1 { color: var(--paper); }
.hero-copy p, .page-head p { color: var(--paper); }
.hero-copy { padding-top: 12px; }
.hero p.sub, .page-head p.sub { font-size: 1.1rem; opacity: .92; max-width: 40ch; }
.eyebrow { display: inline-block; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .76rem;
  color: var(--teal); background: rgba(28,184,167,.16); border: 1px solid rgba(28,184,167,.4);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 18px; }
.trust-line { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 22px; font-size: .9rem; color: var(--paper); opacity: .85; }
.trust-line b { color: var(--tan); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; align-items: center; }
.page-head .wrap { position: relative; z-index: 2; padding-top: 50px; padding-bottom: 54px; }
.page-head h1 { max-width: 20ch; }

/* ---------- Form card (light surface on the dark hero) ---------- */
.form-card { background: var(--white); color: var(--teal-deep); border-radius: 20px; box-shadow: var(--shadow); padding: 28px 26px; scroll-margin-top: 90px; }
.form-card > h2 { color: var(--teal-deep); font-size: 1.35rem; margin-bottom: 4px; }
.form-card > .note { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }

/* ---------- Proof strip (dark surface) ---------- */
.proof { background: var(--teal-deep); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 28px; padding-bottom: 28px; text-align: center; }
.proof .stat b { display: block; font-family: var(--fr); font-variation-settings: var(--fr-axes); font-size: 1.7rem; color: var(--white); line-height: 1.1; }
.proof .stat span { font-size: .85rem; color: var(--tan); }

/* ---------- Sections ---------- */
section.pad { padding: 68px 0; }
.section-head { max-width: 60ch; margin-bottom: 36px; }
.lead { font-size: 1.07rem; color: var(--lead-ink); }
.more-link { margin-top: 22px; font-weight: 700; }
.more-link a { color: var(--teal-deep); text-decoration-color: var(--tan); text-underline-offset: 4px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--white); border: 1px solid var(--tan-line); border-radius: var(--radius); padding: 26px 22px; }
.step .num { width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--tan-line); color: var(--teal-deep);
  font-family: var(--fr); font-variation-settings: var(--fr-axes); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step .ic { color: var(--teal); font-size: 1.4rem; margin-bottom: 6px; display: block; }
.step h3 { margin-bottom: 6px; font-size: 1.05rem; }
.step p { font-size: .94rem; color: var(--card-ink); margin: 0; max-width: none; }

/* what's included */
.clarity { background: var(--paper-2); }
.clarity-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 0 0 15px 32px; font-size: 1rem; max-width: 52ch; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); }
.checklist li::after { content: ""; position: absolute; left: 6.5px; top: 8px; width: 6px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.clarity-note { background: var(--white); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.clarity-note p { margin: 0; color: var(--card-ink); font-size: .96rem; max-width: none; }

/* why us cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--tan-line); border-radius: var(--radius); padding: 28px 24px; }
.card .ic { color: var(--teal); font-size: 1.6rem; margin-bottom: 14px; display: block; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .95rem; color: var(--card-ink); margin: 0; max-width: none; }

/* reviews */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.review { background: var(--white); border: 1px solid var(--tan-line); border-radius: var(--radius); padding: 26px 24px; margin: 0; }
.review .stars { color: var(--tan); letter-spacing: 2px; margin-bottom: 10px; font-size: .95rem; }
.review blockquote { margin: 0 0 1rem; font-family: var(--fr); font-style: italic; font-variation-settings: var(--fr-axes); font-size: 1.1rem; line-height: 1.45; color: var(--teal-deep); }
.review cite { font-style: normal; font-size: .86rem; color: var(--muted); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); border: 1px solid var(--tan-line); }
.shot img { width: 100%; height: 280px; object-fit: cover; }
.shot.shot-top img { object-position: top; }
.shot figcaption { display: block; padding: 10px 14px; font-size: .85rem; color: var(--teal-deep); font-weight: 700; }

/* /gallery/ page: filter pills over a masonry grid, a title under each photo */
.g-section { padding-top: 48px; }
.g-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 34px; }
.g-pill { font: inherit; font-size: .95rem; font-weight: 500; color: var(--muted); background: none; border: 0;
  border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: color .15s, background-color .15s; }
.g-pill:hover { color: var(--teal-deep); background: var(--paper-2); }
.g-pill[aria-pressed="true"] { color: var(--paper); background: var(--teal-deep); }
.g-pill:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.g-grid { columns: 3; column-gap: 22px; }
.g-item { break-inside: avoid; margin: 0 0 30px; }
.g-item[hidden] { display: none; }
.g-open { display: block; border-radius: 20px; overflow: hidden; background: var(--paper-2); }
.g-open img { width: 100%; height: auto; transition: transform .4s ease; }
.g-open:hover img { transform: scale(1.025); }
.g-open:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.g-item figcaption { padding: 12px 2px 0; }
.g-title { display: block; font-weight: 500; font-size: 1.02rem; color: var(--teal-deep); text-wrap: pretty; }
.g-title .nw { white-space: nowrap; }
.g-lightbox { border: 0; padding: 0; background: none; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
  display: none; align-items: center; justify-content: center; gap: 12px; }
.g-lightbox[open] { display: flex; }
.g-lightbox::backdrop { background: rgba(7,24,21,.92); }
.g-lightbox figure { margin: 0; text-align: center; }
.g-lightbox img { max-width: min(1400px, 86vw); max-height: 80vh; width: auto; height: auto; border-radius: 14px; margin: 0 auto; }
.g-lightbox figcaption { color: var(--paper); margin-top: 12px; font-weight: 500; }
.g-lb-btn { font: inherit; color: var(--paper); background: rgba(251,248,242,.1); border: 0; border-radius: 50%;
  width: 46px; height: 46px; font-size: 1.4rem; line-height: 1; cursor: pointer; flex: none;
  display: inline-flex; align-items: center; justify-content: center; }
.g-lb-btn:hover { background: rgba(251,248,242,.2); }
.g-lb-close { position: absolute; top: 16px; right: 16px; font-size: 1.8rem; }
@media (prefers-reduced-motion: reduce) { .g-open img, .g-pill { transition: none; } }

/* service area (dark surface) */
.area { background: var(--teal-deep); }
.area h2 { color: var(--paper); }
.area .kicker { color: var(--tan); }
.area .lead { color: var(--paper); opacity: .8; max-width: 60ch; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.area-chips span { background: rgba(28,184,167,.16); border: 1px solid rgba(28,184,167,.4); color: var(--paper); padding: 7px 14px; border-radius: 999px; font-size: .9rem; }

/* faq */
.faq details { background: var(--white); border: 1px solid var(--tan-line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 19px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--dm); color: var(--teal-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\002B"; font-size: 1.4rem; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2013"; }
.faq .a { padding: 0 22px 20px; color: var(--card-ink); font-size: .96rem; max-width: 64ch; }
.faq .a p { margin: 0 0 .7rem; }
.faq .a p:last-child { margin-bottom: 0; }
.faq .a a { color: var(--teal-deep); font-weight: 700; }
.faq-layout { display: grid; grid-template-columns: 7fr 4fr; gap: 44px; align-items: start; }
.faq-aside { position: sticky; top: 100px; }
.faq-aside img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.faq-aside .clarity-note { margin-top: 20px; }
.faq-aside .clarity-note h3 { font-family: var(--fr); font-variation-settings: var(--fr-axes); font-size: 1.25rem; }
.faq-aside .btn { margin-top: 16px; width: 100%; }

/* final cta (dark surface) */
.final { background: linear-gradient(165deg, var(--night-end), var(--teal-deep)); text-align: center; }
.final .wrap { padding-top: 68px; padding-bottom: 68px; }
.final h2 { color: var(--paper); }
.final p { color: var(--paper); opacity: .9; max-width: 56ch; margin: 0 auto 26px; font-size: 1.08rem; }

/* footer (dark surface) */
.site-footer { background: var(--footer); color: var(--foot-ink); font-size: .88rem; }
.site-footer .wrap { padding-top: 36px; padding-bottom: 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.foot-grid img { height: 56px; width: auto; margin-bottom: 14px; }
.site-footer b { color: var(--paper); }
.site-footer a { color: var(--teal); }
.foot-grid ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.foot-grid ul a { color: var(--foot-ink); text-decoration: none; }
.foot-grid ul a:hover { color: var(--paper); text-decoration: underline; }
.foot-grid p { margin: 8px 0 0; }
.foot-tag { color: var(--tan); }
.disclaimer { border-top: 1px solid rgba(251,248,242,.1); padding-top: 16px !important; font-size: .78rem; color: var(--foot-dim); }
.disclaimer p { max-width: none; margin: 0; }

/* sticky mobile call */
.mcall { display: none; }

/* 404 */
.lost { min-height: 62vh; display: flex; align-items: center; }
.lost .wrap { width: 100%; }

/* ---------- Quote calculator ---------- */
.quote-section { padding: 48px 0 72px; }
.quote-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.quote-aside { position: sticky; top: 100px; }
.q-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-legend { display: block; width: 100%; padding: 0; margin-bottom: 18px; }
.q-count { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.q-legend .fr { display: block; font-size: clamp(1.35rem, 2.6vw, 1.6rem); line-height: 1.15; color: var(--teal-deep); }
.q-intro { color: var(--muted); font-size: .95rem; margin: -6px 0 18px; }
.q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.q-field { margin-bottom: 13px; min-width: 0; }
.q-field > label, .q-label { display: block; font-size: .8rem; font-weight: 700; margin: 0 0 5px; color: var(--teal-deep); }
.q-label small, .q-field > label small { font-weight: 400; color: var(--muted); }
.q-input {
  width: 100%; padding: 12px 13px; border: 1px solid var(--tan-line); border-radius: var(--r-sm);
  font-size: 1rem; font-family: inherit; background: var(--paper); color: var(--teal-deep);
  -webkit-appearance: none; appearance: none;
}
textarea.q-input { min-height: 96px; resize: vertical; line-height: 1.5; }
.q-input:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.q-input[aria-invalid="true"] { border-color: var(--red); }
.q-hint { font-size: .84rem; color: var(--muted); margin: 6px 0 0; }
.q-error { font-size: .88rem; color: var(--teal-deep); margin: 6px 0 0; display: flex; gap: 6px; align-items: flex-start; }
.q-error:empty { display: none; }
.q-error i { color: var(--red); font-size: 1.1rem; margin-top: 2px; }

.feet-wrap { position: relative; max-width: 240px; }
.feet-wrap .q-input { padding-right: 52px; font-size: 1.25rem; font-weight: 700; }
.feet-wrap span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

.measure { margin: 4px 0 20px; display: grid; gap: 12px; }
.measure img { border-radius: var(--r-sm); border: 1px solid var(--tan-line); width: 100%; }
.measure figcaption { font-size: .88rem; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.measure figcaption i { color: var(--teal); font-size: 1.3rem; flex: 0 0 auto; }

.q-choices { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.q-choices legend { padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 15px; border: 1px solid var(--tan-line); border-radius: 999px; background: var(--paper); cursor: pointer; font-weight: 600; font-size: .92rem; }
.chip span i { display: none; }
.chip input:checked + span { border-color: var(--teal-deep); background: var(--teal-deep); color: var(--paper); }
.chip input:checked + span i { display: inline-block; color: var(--teal); }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }

.verify { margin: 4px 0 14px; min-height: 65px; }

.q-actions { display: flex; flex-wrap: wrap-reverse; gap: 10px; align-items: center; margin-top: 4px; }
.q-actions .btn:not(.btn-ghost) { flex: 1 1 200px; }
.q-fric { margin: 12px 0 0; font-size: .82rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.q-fric i { color: var(--teal); font-size: 1.05rem; margin-top: 1px; }

.q-results:focus { outline: none; }
.q-range-heading { font-family: var(--dm); font-variation-settings: normal; font-size: .95rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; color: var(--muted); margin: 0; }
.q-range { font-family: var(--fr); font-variation-settings: var(--fr-axes); font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1.05; color: var(--teal-deep); margin: 6px 0 16px; max-width: none; }
.q-status { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--tan-line); margin-bottom: 20px; font-size: .92rem; }
.q-status:empty { display: none; }
.q-status i { font-size: 1.3rem; flex: 0 0 auto; }
.q-status a { color: var(--teal-deep); font-weight: 700; white-space: nowrap; }
.q-status[data-state="sending"] i { color: var(--teal); animation: kcl-spin 1s linear infinite; }
.q-status[data-state="success"] { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--paper); }
.q-status[data-state="success"] i { color: var(--teal); }
.q-status[data-state="success"] a { color: var(--paper); }
.q-status[data-state="error"] i { color: var(--red); }
@keyframes kcl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .q-status[data-state="sending"] i { animation: none; } }

.notice { font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.notice strong { color: var(--teal-deep); }

.aside-block + .aside-block { margin-top: 24px; }
.aside-block h2 { font-size: 1.35rem; margin-bottom: 6px; }
.aside-block .fine { font-size: .9rem; color: var(--muted); }
.aside-photo img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.aside-call { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--teal-deep); }
.aside-call i { color: var(--teal); font-size: 1.35rem; }

/* ---------- Blog (/blog/ index and posts) ----------
   The same pattern as the Kind Home Painting blog: a dark page head, a
   featured post over a card grid on the index, and on a post a readable
   article column beside a sticky estimate card. */
.crumbs { font-size: .85rem; color: var(--paper); opacity: .8; margin-bottom: 16px; }
.crumbs a { color: var(--paper); text-decoration-color: var(--tan); text-underline-offset: 3px; }
.crumbs span[aria-hidden] { margin: 0 6px; color: var(--tan); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 18px; font-size: .9rem; color: var(--paper); opacity: .85; }
.post-meta span { margin-right: 14px; }
.post-meta span + span::before { content: "\00B7"; color: var(--tan); margin-right: 14px; font-weight: 700; }
.page-head.post-head h1 { max-width: 24ch; }

.b-section { padding-top: 52px; }
.b-feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; background: var(--white); border: 1px solid var(--tan-line);
  border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--teal-deep); transition: box-shadow .15s ease; }
.b-feature:hover { box-shadow: var(--shadow); }
.b-feature img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.b-feature .b-body { padding: 34px 32px; display: flex; flex-direction: column; justify-content: center; }
.b-feature h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-bottom: 12px; }
.b-feature p { color: var(--card-ink); }
.b-cat { display: block; color: var(--teal); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .76rem; margin-bottom: 10px; }
.b-date { font-size: .86rem; color: var(--muted); }
.b-read { font-weight: 700; color: var(--teal-deep); text-decoration: underline; text-decoration-color: var(--tan); text-underline-offset: 4px; margin-top: 6px; }
.b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.b-grid:empty { display: none; }
.b-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--tan-line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--teal-deep); transition: box-shadow .15s ease; }
.b-card:hover { box-shadow: var(--shadow); }
.b-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.b-card .b-body { padding: 22px 22px 24px; }
.b-card h3 { font-family: var(--fr); font-variation-settings: var(--fr-axes); font-weight: 600; font-size: 1.25rem; line-height: 1.2; margin-bottom: 8px; }
.b-card p { font-size: .95rem; color: var(--card-ink); max-width: none; }
.b-soon { margin-top: 28px; color: var(--muted); font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .b-feature, .b-card { transition: none; } }

.post-layout { display: grid; grid-template-columns: minmax(0, 7fr) 4fr; gap: 52px; align-items: start; }
.post-hero { margin: 0 0 34px; }
.post-hero img { width: 100%; border-radius: 20px; aspect-ratio: 16 / 9; object-fit: cover; }
.post-hero figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.prose { font-size: 1.07rem; line-height: 1.72; }
.prose p, .prose ul, .prose ol { max-width: 68ch; }
.prose h2 { margin: 46px 0 14px; scroll-margin-top: 96px; }
.prose h3 { margin: 28px 0 8px; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--teal); }
.prose a { color: var(--teal-deep); font-weight: 700; text-decoration-color: var(--tan); text-underline-offset: 3px; }
.prose a.btn { color: var(--white); text-decoration: none; }
.prose figure { margin: 30px 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; max-width: 68ch; }
.answer { background: var(--teal-deep); color: var(--paper); border-radius: var(--radius); padding: 26px 28px; margin: 0 0 30px; }
.answer .kicker { color: var(--tan); margin-bottom: 8px; }
.answer p { color: var(--paper); margin: 0; max-width: none; }
.answer p + p { margin-top: 10px; }
.answer b { color: var(--white); }
.price-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 30px; }
.tier { background: var(--white); border: 1px solid var(--tan-line); border-radius: var(--radius); padding: 22px 20px; }
.tier .tier-price { display: block; font-family: var(--fr); font-variation-settings: var(--fr-axes); font-size: 1.6rem; line-height: 1.1; color: var(--teal-deep); margin-bottom: 4px; }
.tier .tier-name { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.tier p { font-size: .94rem; color: var(--card-ink); margin: 0; line-height: 1.55; }
.tier.tier-mid { border-color: var(--teal-deep); box-shadow: var(--shadow); }
.prose .checklist { margin: 0 0 1.4rem; padding: 0; }
.prose .checklist li { margin-bottom: 0; }
.factor-table { width: 100%; border-collapse: collapse; margin: 22px 0 28px; font-size: .96rem; background: var(--white); border: 1px solid var(--tan-line); border-radius: var(--radius); overflow: hidden; }
.factor-table th, .factor-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--tan-line); vertical-align: top; }
.factor-table th { background: var(--paper-2); font-weight: 700; font-size: .85rem; letter-spacing: .03em; }
.factor-table tr:last-child td { border-bottom: 0; }
.factor-table td:first-child { font-weight: 700; white-space: nowrap; }
.post-faq { margin-top: 18px; }
.post-faq details { max-width: 68ch; }
.post-end { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--tan-line); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.post-end p { margin: 0; color: var(--muted); font-size: .95rem; }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 30px; padding: 22px 24px; background: var(--white); border: 1px solid var(--tan-line); border-radius: var(--radius); max-width: 68ch; }
.author-mark { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--teal-deep); color: var(--tan);
  display: flex; align-items: center; justify-content: center; font-family: var(--fr); font-variation-settings: var(--fr-axes); font-size: 1.1rem; }
.author-box b { display: block; font-size: 1rem; margin-bottom: 4px; }
.author-box p { margin: 0; font-size: .94rem; line-height: 1.55; color: var(--card-ink); }
.post-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.post-aside .clarity-note h3 { font-family: var(--fr); font-variation-settings: var(--fr-axes); font-size: 1.25rem; }
.post-aside .clarity-note .btn { margin-top: 16px; width: 100%; }
.post-aside .clarity-note .aside-call { margin-top: 14px; font-size: 1rem; }
.toc { background: var(--paper-2); border: 1px solid var(--tan-line); border-radius: var(--radius); padding: 20px 22px; }
.toc b { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 7px; font-size: .94rem; }
.toc a { color: var(--teal-deep); text-decoration: none; }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--tan); }
@media (max-width: 960px) {
  .b-feature { grid-template-columns: 1fr; }
  .b-feature img { min-height: 0; aspect-ratio: 16 / 10; }
  .b-feature .b-body { padding: 26px 24px 28px; }
  .b-grid { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; gap: 36px; }
  .post-aside { position: static; }
  .post-aside .toc { display: none; }
}
@media (max-width: 580px) {
  .b-grid, .price-tiers { grid-template-columns: 1fr; }
  .prose { font-size: 1.03rem; }
  .answer { padding: 22px 20px; }
  .post-meta .by { flex-basis: 100%; }
  .post-meta .by::before { content: none; }
  .factor-table td:first-child { white-space: normal; }
  .factor-table th, .factor-table td { padding: 11px 12px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 34px; padding-top: 42px; padding-bottom: 50px; }
  .hero p.sub { max-width: none; }
  .proof .wrap { grid-template-columns: 1fr 1fr; gap: 22px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .clarity-grid { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .g-grid { columns: 2; column-gap: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .quote-layout, .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .quote-aside, .faq-aside { position: static; }
  .faq-aside img { aspect-ratio: 16 / 10; }
}
@media (max-width: 580px) {
  .steps, .cards { grid-template-columns: 1fr; }
  .q-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .shot img { height: 240px; }
  .g-grid { columns: 1; }
  .g-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 26px; padding: 0 16px; scrollbar-width: none; }
  .g-pill { white-space: nowrap; }
  .g-lightbox { gap: 0; }
  .g-lightbox img { max-width: 100vw; border-radius: 0; }
  .g-lb-prev, .g-lb-next { position: absolute; bottom: 18px; }
  .g-lb-prev { left: calc(50% - 56px); }
  .g-lb-next { right: calc(50% - 56px); }
  body { padding-bottom: 66px; }
  .mcall { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    background: var(--red); color: var(--white); text-decoration: none; font-weight: 700;
    align-items: center; justify-content: center; gap: 8px; padding: 16px; font-size: 1.03rem;
    box-shadow: 0 -4px 16px rgba(0,0,0,.18); }
}
