/* Wake Clay — main stylesheet.
   Design-DNA tokens come from inline <style id="bc-tokens"> in <head>.
   This file is the layout + components layer. Ledger constraints baked in:
   - inputs font-size:16px (#15 iOS zoom)
   - object-fit:cover + aspect-ratio container on every image slot (#5)
   - hero overlay max .40 (well under .55 cap #6)
   - eager hero / lazy below-fold is applied at template level (#13)
*/

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0; background:var(--c-bg); color:var(--c-text);
  font-family:var(--f-body); font-size:var(--fs-body); line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img,svg{display:block;max-width:100%;height:auto}
a{color:var(--c-primary);text-underline-offset:2px}
a:hover{color:var(--c-primary-dk)}

h1,h2,h3,h4{font-family:var(--f-head);font-weight:700;line-height:1.18;letter-spacing:-.005em;margin:0 0 .6em}
h1{font-size:var(--h1)} h2{font-size:var(--h2)} h3{font-size:var(--h3); font-weight:700}
p{margin:0 0 1em}

/* Visually-hidden skip link, revealed on focus */
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;padding:0;margin:-1px;border:0}
a.sr-only:focus{position:fixed!important;top:8px;left:8px;width:auto;height:auto;clip:auto;clip-path:none;background:var(--c-primary);color:#fff;padding:.6rem 1rem;border-radius:var(--r);z-index:1000}

.container{max-width:var(--container);margin:0 auto;padding:0 var(--pad)}
section{padding:clamp(2.5rem,4vw,4rem) 0}
section.alt{background:var(--c-bg-alt)}
/* 4-tier section weight scale: hero/feature sections get more padding, secondary sections less */
section[data-sec="hero"]{padding:clamp(2rem,3vw,3.25rem) 0 clamp(2.5rem,3.5vw,3.5rem)}
section[data-sec="services"], section[data-sec="reviews"], section[data-sec="faq"]{padding:clamp(3rem,5vw,5.5rem) 0}
section[data-sec="trust"]{padding:1.6rem 0}
section[data-sec="cta"]{padding:clamp(2rem,3vw,3rem) 0}
section[data-sec="areas"], section[data-sec="routes-preview"]{padding:clamp(2.5rem,4vw,4rem) 0}
/* Adjacent same-tone sections: add a subtle divider so the cream→cream boundary is visible */
section.alt + section.alt, section:not(.alt) + section:not(.alt){border-top:1px solid rgba(31,26,20,0.06)}
/* First H2 in a section shouldn't double-pad (section pt + h2 mt) */
section > .container > h2:first-child, section > .container > .eyebrow + h2{margin-top:0}
/* ===== Service-page visual upgrade (iter-visual-1) ===== */
/* Hero with background image — used on /services/{slug}/, /routes/{slug}/, /service-areas/{slug}/ */
.hero.hero-bg{position:relative;color:#FAF5EE;overflow:hidden}
.hero.hero-bg::before{content:"";position:absolute;inset:0;background-image:var(--hero-bg-url);background-size:cover;background-position:center;z-index:0}
.hero.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(31,26,20,.78) 0%,rgba(31,26,20,.55) 60%,rgba(31,26,20,.32) 100%);z-index:1}
.hero.hero-bg .container{position:relative;z-index:2}
.hero.hero-bg h1, .hero.hero-bg .eyebrow, .hero.hero-bg .hook, .hero.hero-bg p{color:#FAF5EE}
.hero.hero-bg .eyebrow{color:rgba(250,245,238,.85);background:rgba(255,255,255,.08);padding:.25em .8em;border-radius:.3em;display:inline-block;border:1px solid rgba(250,245,238,.18)}
.hero.hero-bg .form-card{background:#fff;color:var(--c-text);backdrop-filter:blur(8px)}
.hero.hero-bg .form-card .reassure,.hero.hero-bg .form-card .consent,.hero.hero-bg .form-card .form-sub{color:var(--c-text-mute)}
/* Hero-stats component */
.hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem;margin-top:1.6rem;padding-top:1.2rem;border-top:1px solid var(--c-rule)}
.hero-stats .stat-big{font-family:var(--f-head);font-size:1.18rem;font-weight:600;line-height:1.2;color:var(--c-text)}
.hero-stats .stat-sm{font-size:.84rem;line-height:1.45;margin-top:.25rem;color:var(--c-text-mute)}
/* Hero-process component */
.hero-process{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem;margin-top:1.4rem;padding-top:1.2rem;border-top:1px solid var(--c-rule)}
.hero-process > div{display:flex;flex-direction:column}
.hero-process .step-head{display:flex;align-items:flex-start;gap:.5rem;margin-bottom:.3rem;min-height:2.8em}
.hero-process .step-num{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:var(--c-primary);color:#fff;font-size:.78rem;font-weight:700;font-family:var(--f-body);margin-top:.1rem}
.hero-process .step-head strong{font-family:var(--f-head);font-size:1rem;font-weight:600;line-height:1.2;color:var(--c-text)}
.hero-process .step-body{font-size:.84rem;line-height:1.45;color:var(--c-text-mute)}
/* Aside secondary cards */
.aside-call,.aside-ticker{background:#fff;border:1px solid var(--c-rule);border-radius:var(--r);padding:1.2rem;margin-top:1.2rem;box-shadow:0 1px 2px rgba(31,26,20,.04),0 4px 14px -10px rgba(31,26,20,.12)}
.aside-call h3,.aside-ticker h3{margin:0 0 .35rem;font-size:1.05rem}
.aside-call .aside-sub,.aside-ticker .ticker-sub{margin:0 0 .8rem}
.aside-call .aside-sub{font-size:.88rem}
.aside-ticker .ticker-sub{font-size:.82rem}
.aside-ticker .ticker-footer{margin:.7rem 0 0;font-size:.76rem;text-align:right}
.aside-call .aside-phone{display:block;font-family:var(--f-head);font-size:1.35rem;font-weight:600;color:var(--c-primary);text-decoration:none;line-height:1.1}
.aside-call .aside-addr{font-size:.83rem;color:var(--c-text-mute);margin-top:.5rem;line-height:1.55}
.aside-ticker .ticker-body{font-size:.88rem;font-family:var(--f-body);line-height:1.7}
.aside-ticker .ticker-row{display:flex;justify-content:space-between;border-bottom:1px dashed var(--c-rule);padding:.3rem 0}
.aside-ticker .ticker-day{color:var(--c-text-mute);font-weight:600;letter-spacing:.04em}
.aside-ticker .ticker-val{color:var(--c-text)}
/* Hero-bg overrides — cream/white for readability over photo */
.hero.hero-bg .hero-stats{border-top:1px solid rgba(250,245,238,.25);background:rgba(31,26,20,.35);border-radius:var(--r);padding:.8rem 1rem;margin-top:1rem}
.hero.hero-bg .hero-stats .stat-big,.hero.hero-bg .hero-stats > div > div:first-child{color:#FAF5EE !important;font-weight:700}
.hero.hero-bg .hero-stats .stat-sm,.hero.hero-bg .hero-stats > div > div:last-child{color:rgba(250,245,238,.85) !important}
.hero.hero-bg .steps .step{background:rgba(31,26,20,.4);border-color:rgba(250,245,238,.22);color:#FAF5EE;backdrop-filter:blur(4px)}
.hero.hero-bg .steps .step h3, .hero.hero-bg .steps .step p{color:#FAF5EE}
/* Process strip inside hero-bg — dark panel for contrast over photo */
.hero.hero-bg .hero-process{background:rgba(31,26,20,.35);border-radius:var(--r);padding:.8rem 1rem;border-top-color:rgba(250,245,238,.25) !important}
.hero.hero-bg .hero-process .step-head strong,.hero.hero-bg .hero-process strong{color:#FAF5EE !important}
.hero.hero-bg .hero-process .step-body,.hero.hero-bg .hero-process > div > div:last-child{color:rgba(250,245,238,.85) !important}
.hero.hero-bg .hero-process .step-num{background:var(--c-accent);color:#1F1A14}
.hero.hero-bg .hero-process h3,.hero.hero-bg .hero-process p{color:#FAF5EE}
.hero.hero-bg .btn-ghost{border-color:#FAF5EE;color:#FAF5EE}
.hero.hero-bg .btn-ghost:hover{background:rgba(255,255,255,.12)}

/* Inline content photo — full-width breaker between text sections */
.bc-inline-photo{margin:2rem 0;border-radius:var(--r);overflow:hidden;box-shadow:0 8px 24px -12px rgba(31,26,20,.18)}
.bc-inline-photo img{width:100%;height:auto;display:block;aspect-ratio:16/9;object-fit:cover}
.bc-inline-photo figcaption{padding:.7rem 1rem;background:var(--c-bg-alt);font-size:.88rem;color:var(--c-text-mute);font-style:italic;border-top:1px solid var(--c-rule)}

/* Us-vs-broker comparison table */
.bc-compare{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:2rem 0;border:1px solid var(--c-rule);border-radius:var(--r);overflow:hidden;background:var(--c-bg)}
.bc-compare > div{padding:1.4rem 1.5rem}
.bc-compare > div:first-child{background:rgba(156,58,40,.04);border-right:1px solid var(--c-rule)}
.bc-compare h3{font-size:1.05rem;margin:0 0 1rem;display:flex;align-items:center;gap:.55rem;font-family:var(--f-head)}
.bc-compare h3 .ic{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:.85rem;font-weight:700}
.bc-compare > div:first-child h3 .ic{background:var(--c-primary);color:#fff}
.bc-compare > div:last-child h3 .ic{background:#7a7062;color:#fff}
.bc-compare ul{list-style:none;padding:0;margin:0;display:grid;gap:.7rem}
.bc-compare li{display:flex;gap:.55rem;align-items:flex-start;font-size:.95rem;line-height:1.45}
.bc-compare li::before{flex:0 0 auto;font-weight:700;line-height:1.4;font-size:1.05rem}
.bc-compare > div:first-child li::before{content:"\2713";color:var(--c-primary)}
.bc-compare > div:last-child li::before{content:"\2715";color:#9c8e7b}
.bc-compare > div:last-child{color:var(--c-text-mute)}
@media (max-width:720px){
  .bc-compare{grid-template-columns:1fr}
  .bc-compare > div:first-child{border-right:0;border-bottom:1px solid var(--c-rule)}
}

/* Cost-band card grid — already uses .services-grid + .svc-card but inject visual emphasis */
.bc-cost-grid .svc-card .price{font-family:var(--f-head);font-size:1.6rem;font-weight:700;color:var(--c-primary);margin:.4rem 0 .25rem;letter-spacing:-.01em}
.bc-cost-grid .svc-card .eyebrow{color:var(--c-text-mute);text-transform:uppercase;font-size:.74rem;letter-spacing:.06em}
.bc-cost-grid .svc-card p.muted{font-size:.85rem;line-height:1.5;color:var(--c-text-mute)}

/* Form-card H2 — keep at H3-scale; section H2 default is too large for an in-card label */
.form-card h2{font-size:1.2rem;margin-top:0;margin-bottom:.4rem}
/* Mobile hero grid — explicit single-column below 720px (iter-9 visual flag) */
@media (max-width:720px){
  .hero .container.grid{grid-template-columns:1fr !important;gap:2rem}
}
/* Legal-page H2 — smaller register so numbered sections read like docs, not banners */
body.bc-legal-page article.main h2{font-size:1.35rem;margin-top:1.6rem;margin-bottom:.6rem}
/* Last section → footer transition: tighter */
main > section:last-child{padding-bottom:clamp(2rem,3vw,3rem)}
.eyebrow{display:inline-block;font-size:.78rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--c-secondary);margin-bottom:.6rem}

/* ----- Buttons ----- */
.btn{
  display:inline-block;padding:.95em 1.5em;border-radius:8px;
  font-weight:600;font-size:1rem;letter-spacing:.02em;
  text-decoration:none;border:1px solid transparent;cursor:pointer;
  transition:transform .12s ease, background-color .12s ease;
}
.btn-primary{background:var(--c-primary);color:#fff}
.btn-primary:hover{background:var(--c-primary-dk);color:#fff;transform:translateY(-1px)}
.btn-accent{background:var(--c-accent);color:#1F1A14}
.btn-accent:hover{background:var(--c-accent-dk);color:#1F1A14;transform:translateY(-1px)}
.btn-ghost{background:transparent;color:var(--c-text);border-color:var(--c-rule)}
.btn-ghost:hover{background:var(--c-bg-alt);color:var(--c-text);border-color:var(--c-text-mute)}
.btn-sm{padding:.55em 1em;font-size:.9rem}
.btn-lg{font-size:1.05rem;padding:1.1em 1.8em}
.mt-hero-cta{margin-top:1.2rem}
.prose-max{max-width:60ch}

/* ----- Forms (ledger #15: 16px inputs, labels, autocomplete) ----- */
.bc-form label{display:block;font-weight:600;font-size:.9rem;margin-bottom:.3rem;color:var(--c-text)}
.bc-form .row{display:grid;gap:.85rem;grid-template-columns:1fr 1fr;margin-bottom:.9rem}
.bc-form .row:last-of-type{margin-bottom:0}
.bc-form .row.one{grid-template-columns:1fr}
@media (max-width:640px){.bc-form .row{grid-template-columns:1fr}}
.bc-form input, .bc-form select, .bc-form textarea{
  width:100%; font-size:16px; line-height:1.4; padding:.7em .85em;
  border:1px solid var(--c-rule); border-radius:var(--r); background:#fff;
  font-family:inherit; color:var(--c-text);
}
.bc-form input:focus, .bc-form select:focus, .bc-form textarea:focus{
  outline:2px solid var(--c-accent); outline-offset:1px; border-color:var(--c-accent-dk);
}
.bc-form .sr-only{position:absolute!important;clip:rect(0 0 0 0);width:1px;height:1px;overflow:hidden}
.bc-form .submit-row{margin-top:1.6rem}
.bc-form .submit-row button{width:100%;padding:.95em 1.6em}
.bc-form .reassure{font-size:.82rem;color:var(--c-text-mute);margin-top:.55rem}
.bc-form .form-hint{font-weight:400;color:var(--c-text-mute);font-size:.78rem}
.bc-form .consent{font-size:.72rem;color:var(--c-text-mute);margin-top:.4rem}
.bc-form .consent strong{color:var(--c-success)}
.bc-form .consent a{color:var(--c-primary);text-decoration:underline}
.form-sub{margin-bottom:.6rem}
.svc-card p{margin:.2rem 0 0}
.svc-card .band-price{font-size:1.15rem;font-weight:600}
.svc-card .band-note{font-size:.88rem}

/* ----- Header ----- */
.site-header{position:sticky;top:0;z-index:50;background:var(--c-bg);border-bottom:1px solid var(--c-rule)}
/* Header inner: vertical padding only here; horizontal comes from .container's --pad.
   iter-5 bug: `padding:.85rem 0` was zeroing OUT container's horizontal padding (more
   specific selector wins) → logo/CTA touched viewport edges on narrow widths. */
.site-header .inner{display:flex;align-items:center;justify-content:space-between;padding-block:.85rem;padding-inline:var(--pad);gap:1rem}
/* Floating bottom CTA bar — appears after 600px scroll. Persistent conversion
   device when hero sticky form scrolls out of context (only 787px hero scope).
   Slides up from bottom; phone-pill + Free-quote button. PM critic Round 3. */
.floating-cta{
  position:fixed;left:50%;bottom:1rem;transform:translate(-50%,150%);
  display:flex;gap:.55rem;align-items:center;
  background:#fff;border:1px solid var(--c-rule);border-radius:999px;
  padding:.4rem .5rem .4rem .85rem;
  box-shadow:0 10px 30px -8px rgba(31,26,20,.25),0 4px 8px -2px rgba(31,26,20,.1);
  z-index:60;opacity:0;
  pointer-events:none;  /* Round 5 PM: invisible bar mustn't intercept taps near bottom */
  transition:transform .35s ease, opacity .25s ease;
  max-width:calc(100% - 2rem);
}
.floating-cta.is-visible{transform:translate(-50%,0);opacity:1;pointer-events:auto}
/* Round 5 Designer: floating CTA pill overlapped last-section content on scroll.
   Reserve 80px below <main> so content doesn't end under the pill. */
main{padding-bottom:80px}
.floating-cta__phone{display:inline-flex;align-items:center;gap:.4rem;color:var(--c-primary);font-weight:700;font-size:1rem;text-decoration:none;white-space:nowrap}
.floating-cta__phone svg{flex:0 0 auto}
.floating-cta__btn{background:var(--c-primary);color:#fff;border-radius:999px;padding:.55rem 1.1rem;font-weight:600;font-size:.95rem;text-decoration:none;white-space:nowrap;transition:background .15s}
.floating-cta__btn:hover{background:var(--c-primary-dk)}
@media (max-width:480px){
  .floating-cta__phone-text{display:none}  /* mobile: phone icon only saves width */
  .floating-cta{padding:.4rem .5rem;gap:.4rem}
  .floating-cta__phone{padding:.5rem;border-radius:999px;background:var(--c-bg-alt)}
  .floating-cta__btn{font-size:.88rem;padding:.5rem .9rem}
}
@media (prefers-reduced-motion: reduce){
  .floating-cta{transition:opacity .15s ease;transform:translate(-50%,0)}
  .floating-cta:not(.is-visible){opacity:0;pointer-events:none}
}

/* Brand-mark layout — logo SVG + 2-line text. Logo + text-stack are flex-row siblings;
   text is column-stacked. Larger l1 (brand name) + smaller l2 (city) with breathing room
   between lines fixes the "Triangle Labor Services Match · Raleigh NC" cluttered text
   that user flagged as overlapping. */
.brand-mark{display:flex;align-items:center;gap:.7rem;line-height:1;color:var(--c-text);text-decoration:none}
.brand-mark .brand-logo{flex:0 0 auto;width:44px;height:44px;display:block}
.brand-mark .brand-text{display:flex;flex-direction:column;gap:.2rem;letter-spacing:.02em}
.brand-mark .l1{font-family:var(--f-head);font-weight:700;font-size:1.05rem;color:var(--c-primary);line-height:1.15}
.brand-mark .l2{font-family:var(--f-body);font-weight:600;font-size:.74rem;color:var(--c-text-mute);text-transform:uppercase;letter-spacing:.08em}
@media (max-width:640px){.brand-mark .brand-logo{width:38px;height:38px}.brand-mark .l1{font-size:.98rem}.brand-mark .l2{font-size:.7rem}}
/* Note: brand-text visibility @ 481-760px (single-line ellipsis) and ≤480px (hidden)
   handled by the consolidated mobile-header rule below. */
/* Mobile header adapt — Round 5 QA found CSS ordering bug: this rule overrode the
   later @480px single-line styling. Restructured:
   - 481-760px: brand-text VISIBLE, single-line, l1 truncated with ellipsis if needed,
     l2 (city) hidden (saves vertical space). + Free-quote button hidden.
   - ≤480px: brand-text completely hidden, only logo. (Tiny iPhone-class widths.)
   Result: tablets keep brand name visible single-line; only smallest phones show logo-only. */
@media (max-width:760px){
  .brand-mark .l1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}
  .brand-mark .l2{display:none}
  .header-cta .btn-ghost{display:none}
}
@media (max-width:480px){
  .brand-mark .brand-text{display:none}
  .brand-mark .brand-logo{width:34px;height:34px}
}
.primary-nav > ul, .primary-nav .menu{display:flex;flex-wrap:nowrap;gap:1.35rem;margin:0;padding:0;list-style:none;font-weight:500;white-space:nowrap}
.primary-nav a{color:var(--c-text);text-decoration:none}
.primary-nav a:hover, .primary-nav .current-menu-item > a{color:var(--c-primary)}
/* Dropdown submenu (depth=2) — appears on hover/focus of parent li with .menu-item-has-children.
   PM critic iter-5: flat nav forced users to land on /services/ /service-areas/ /routes/ index
   before drilling to specific pages. Mega-dropdown lets them jump direct in 1 click. */
.primary-nav .menu-item-has-children{position:relative}
.primary-nav .menu-item-has-children > a::after{content:" ▾";font-size:.7em;color:var(--c-text-mute);margin-left:.15em}
/* Round 3 Designer: hover broken on desktop (only click worked). Likely cause: 4px gap
   between parent <a> and absolute-positioned sub-menu top:100% — cursor "falls through"
   and triggers close. Fix: position sub-menu directly under parent (top: calc(100% - 1px))
   + 0.6rem invisible padding-top creates a hover bridge cursor can cross. */
.primary-nav .sub-menu{display:none;position:absolute;top:calc(100% - 1px);left:-1rem;min-width:200px;background:var(--c-bg);border:1px solid var(--c-rule);border-radius:var(--r);padding:.6rem 0 .5rem;margin:0;list-style:none;box-shadow:0 8px 24px -8px rgba(31,26,20,.15);z-index:50;flex-direction:column;gap:0}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu{display:flex}
/* Extra invisible hit-area above sub-menu — eats the gap between parent li and submenu */
.primary-nav .menu-item-has-children:hover::before,
.primary-nav .menu-item-has-children:focus-within::before{content:"";position:absolute;top:100%;left:0;right:0;height:.6rem;z-index:49}
.primary-nav .sub-menu li{margin:0}
.primary-nav .sub-menu a{display:block;padding:.55rem 1.1rem;font-size:.94rem;color:var(--c-text);white-space:nowrap}
.primary-nav .sub-menu a:hover{background:var(--c-bg-alt);color:var(--c-primary)}
/* Mobile drawer: submenu inline under parent, indented */
@media (max-width:900px){
  .primary-nav .sub-menu{display:flex !important;position:static;border:0;box-shadow:none;background:transparent;padding:.2rem 0 .2rem 1rem;min-width:0}
  .primary-nav .menu-item-has-children > a::after{display:none}
  .primary-nav .sub-menu a{padding:.35rem 0;font-size:.9rem;color:var(--c-text-mute)}
}
.header-cta{display:flex;gap:.6rem;align-items:center}
.header-phone{font-weight:700;color:var(--c-primary);text-decoration:none;white-space:nowrap}
.nav-toggle{display:none;background:none;border:0;font-size:1.5rem;color:var(--c-text);padding:.35rem .55rem;cursor:pointer}
@media (max-width:900px){
  .primary-nav{display:none}
  .nav-toggle{display:inline-block}
  .primary-nav.open{display:block;position:absolute;top:100%;right:0;background:var(--c-bg);border:1px solid var(--c-rule);border-top:0;padding:1rem;min-width:240px}
  .primary-nav.open ul{flex-direction:column;gap:.85rem}
}

/* ----- Hero (split photo/form — ledger HARD rule first-screen form) ----- */
.hero{position:relative;background:var(--c-bg)}
.hero .grid{
  display:grid;gap:2rem;align-items:start;
  grid-template-columns: 1.05fr .95fr;
  padding:0;
}
.hero .copy, .hero > .container > .grid > div{padding-top:.5rem}
@media (max-width:900px){.hero .grid{grid-template-columns:1fr}}
/* Hero mobile: a touch more padding-inline-start so H1/eyebrow don't crowd the
   left edge on phones (user iter-5: "в hero сделай отступ на мобильном чуток слева"). */
@media (max-width:640px){.hero > .container{padding-inline-start:1.6rem}}
.hero h1{margin-top:0}
.hero .hook{font-size:1.1rem;color:var(--c-text-mute);max-width:46ch}
.hero .photo{
  position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:var(--r-lg);
  background:#1F1A14;
}
.hero .photo img{width:100%;height:100%;object-fit:cover;display:block}
.hero .photo::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0) 55%,rgba(0,0,0,.4) 100%);
}
/* Home hero form-card sticky on desktop — keeps the primary conversion CTA in viewport
   while user scrolls the long home page. Mobile: position:static (form already at top
   on collapsed single-col layout). iter-5 PM critic: "sticky form fails on home —
   position:static, scrolls away with hero". */
@media (min-width:980px){.hero > .container > .grid > div:has(> .form-card){align-self:start}.hero .form-card{position:sticky;top:1.2rem}}
.hero .form-card{
  background:#fff;border:1px solid var(--c-rule);border-radius:var(--r-lg);
  padding:clamp(1.1rem,2.2vw,1.6rem) clamp(1.1rem,2.2vw,1.8rem);
  box-shadow:0 12px 30px -18px rgba(31,26,20,.25);
}
.hero .form-card h2{font-size:1.25rem;margin-bottom:.35rem}
.hero .form-card .reassure-row{display:flex;gap:1rem;font-size:.82rem;color:var(--c-text-mute);margin-top:.65rem}

/* ----- Trust strip ----- */
.trust-strip{background:var(--c-bg-alt);padding:2.5rem 0;border-block:1px solid var(--c-rule)}
.trust-strip .row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2rem 3rem}
.trust-strip .heading{
  font-family:var(--f-body);font-weight:600;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--c-text-mute);margin-bottom:1.25rem;text-align:center;
}
.trust-strip a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;height:28px}
/* width:100px (fixed, not max-width) + object-fit:contain → every logo occupies
   the same 100×22 slot regardless of its natural aspect. With max-width:100px
   alone, wide logos (Nextdoor ~180px → capped at 100px) looked dominant while
   narrow logos (Thumbtack ~40px → stayed 40px) looked invisible by comparison.
   Now they all anchor to the same box with internal whitespace as needed.
   Iter-5 Designer flag: "Nextdoor dominates, Thumbtack is tiny." */
/* Round 2 Designer: opacity .55 + grayscale 100% read as "broken/faded assets",
   not "vetted-by". Bumped to .85 opacity + partial grayscale (.4) — logos still
   read as background context (not dominating) but no longer look broken. */
.trust-strip img{height:22px;width:100px;max-height:22px;object-fit:contain;opacity:.85;filter:grayscale(40%) brightness(.9);transition:opacity .15s, filter .15s}
.trust-strip a:hover img,.trust-strip img:hover{opacity:.95;filter:grayscale(0%) brightness(1)}

/* ----- Services grid (also used for facts / svc-mix / what's-included) ----- */
.services-grid{display:flex;flex-wrap:wrap;gap:1.1rem;justify-content:center;align-items:stretch;list-style:none;padding:0;margin:0}
.services-grid > *{flex:1 1 260px;max-width:calc(25% - 0.825rem);min-width:240px}
@media (max-width:1200px){.services-grid > *{max-width:calc(33.333% - 0.733rem)}}
@media (max-width:780px){.services-grid > *{max-width:calc(50% - 0.55rem)}}
@media (max-width:560px){.services-grid > *{max-width:100%}}
.svc-card{
  background:#fff;border:1px solid var(--c-rule);border-left:3px solid var(--c-primary);border-radius:var(--r);
  padding:1.4rem 1.4rem 1.5rem;display:flex;flex-direction:column;gap:.6rem;
  text-decoration:none;color:var(--c-text);
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.svc-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px -14px rgba(31,26,20,.2);border-color:var(--c-primary)}
.svc-card .ic{
  width:40px;height:40px;display:grid;place-items:center;
  background:var(--c-primary);border-radius:50%;color:#fff;
  flex:0 0 auto;font-size:1.15rem;font-weight:700;
}
.svc-card .ic svg{width:24px;height:24px;display:block}
.svc-card h3{margin:.4rem 0 .5rem;font-size:1.35rem;font-weight:700;line-height:1.25;color:var(--c-text)}
.svc-card p{margin:0;color:var(--c-text-mute);font-size:1rem;line-height:1.5}
.svc-card .more{margin-top:auto;color:var(--c-primary);font-weight:600;text-decoration:none;font-size:.95rem}
.svc-card:hover .more{text-decoration:underline;text-underline-offset:3px}

/* ----- Owner block ----- */
.owner-block{display:grid;gap:2.5rem;grid-template-columns:.65fr 1fr;align-items:center;padding:1.25rem 0;min-width:0}
.owner-block > *{min-width:0;max-width:100%}
@media (max-width:780px){.owner-block{grid-template-columns:1fr}}
.owner-block .ph{aspect-ratio:4/5;overflow:hidden;border-radius:12px;border:1px solid var(--c-rule);box-shadow:0 1px 2px rgba(31,26,20,.04),0 16px 36px -22px rgba(31,26,20,.2)}
.owner-block .ph img{width:100%;height:100%;object-fit:cover;object-position:center 25%}
.owner-block blockquote{margin:0 0 .8rem;font-family:var(--f-head);font-size:1.35rem;line-height:1.4;color:var(--c-text);border-left:3px solid var(--c-secondary);padding-left:1.1rem;font-style:italic;overflow-wrap:break-word;hyphens:auto}
.owner-block blockquote, .owner-block p{max-width:60ch}

/* ----- Process steps ----- */
.steps{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));counter-reset:s;margin-top:2.5rem}
.step{padding:4.2rem 1.7rem 1.7rem;background:#fff;border:1px solid var(--c-rule);border-radius:var(--r);position:relative;box-shadow:0 1px 2px rgba(31,26,20,.04),0 8px 24px -16px rgba(31,26,20,.08)}
.step::before{counter-increment:s;content:counter(s);position:absolute;top:1.2rem;left:1.7rem;background:var(--c-primary);color:#fff;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;font-weight:700;font-size:1.05rem}
.step h3{font-size:1.2rem;margin:0 0 .5rem}
.step p{margin:0;color:var(--c-text-mute);font-size:1rem;line-height:1.55}

/* ----- Reviews ----- */
.reviews-grid{display:grid;gap:1.1rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.review-card{background:#fff;border:1px solid var(--c-rule);border-radius:var(--r);padding:1.25rem;display:flex;flex-direction:column;gap:.55rem}
.review-card .who{display:flex;gap:.7rem;align-items:center}
.review-card .av{width:56px;height:56px;border-radius:50%;overflow:hidden;flex:0 0 auto;background:var(--c-bg-alt)}
.review-card .av img{width:100%;height:100%;object-fit:cover}
.review-card .meta{display:flex;flex-direction:column;line-height:1.25}
.review-card .meta .nm{font-weight:600}
.review-card .meta .sub{font-size:.82rem;color:var(--c-text-mute)}
.review-card .stars{color:var(--c-accent);letter-spacing:.06em}
.review-card .body{color:var(--c-text)}
.review-card .src{font-size:.78rem;color:var(--c-text-mute);text-transform:uppercase;letter-spacing:.08em;margin-top:auto}

/* ----- Service Areas Strip ----- */
section[data-sec="areas"] h2{max-width:680px;margin-left:auto;margin-right:auto}
.areas-strip{display:flex;flex-wrap:wrap;gap:.5rem .7rem;justify-content:center}
.areas-strip--left{justify-content:flex-start}
.areas-strip a{display:inline-block;padding:.55rem .9rem;background:#fff;border:1px solid var(--c-rule);border-radius:8px;text-decoration:none;color:var(--c-text);font-weight:500;font-size:.95rem;transition:border-color .12s, background-color .12s, color .12s}
.areas-strip a:hover{border-color:var(--c-primary);color:var(--c-primary);background:var(--c-bg-alt)}

/* ----- CTA band ----- */
.cta-band{background:var(--c-primary-dk);color:#F8F5F0}
.cta-band .inner{display:grid;gap:1.5rem;grid-template-columns:1fr auto;align-items:center}
@media (max-width:780px){.cta-band .inner{grid-template-columns:1fr;text-align:center}}
.cta-band h2{color:#fff;margin:0}
.cta-band p{color:rgba(248,245,240,.88);margin:.3rem 0 0}
.cta-band .cta-action{text-align:right}
@media (max-width:780px){.cta-band .cta-action{text-align:center}}
.cta-band .cta-tagline{font-size:.82rem;color:rgba(248,245,240,.75);margin-top:.55rem}

/* ----- FAQ ----- */
.faq details{background:#fff;border:1px solid var(--c-rule);border-radius:var(--r);padding:1rem 1.1rem;margin-bottom:.6rem}
.faq summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.4rem;color:var(--c-primary);line-height:1}
.faq details[open] summary::after{content:"−"}
.faq details > div{padding-top:.65rem;color:var(--c-text-mute)}
.faq-list{margin-top:1.5rem}
.faq-item{margin:0 0 .8rem;padding:.9rem 1.1rem;background:var(--c-bg-alt);border:1px solid var(--c-rule);border-radius:var(--r)}
.faq-item summary{cursor:pointer;font-weight:600;font-family:var(--f-head);font-size:1.05rem;color:var(--c-text);list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item .faq-toggle{font-size:1.4rem;font-weight:400;line-height:1;color:var(--c-text-mute);transition:transform .2s}
.faq-item[open] .faq-toggle{transform:rotate(45deg)}
.faq-item .faq-answer{margin-top:.7rem;color:var(--c-text);font-size:.97rem;line-height:1.6}

/* ----- Footer ----- */
.site-footer{background:#1F1A14;color:#D7CEC0;padding-block:3rem 1.5rem;margin-top:0}
.site-footer a{color:#F8F5F0;text-decoration:none}
.site-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.site-footer .grid{display:grid;gap:2.5rem;grid-template-columns:1.3fr 1fr 1fr 1fr}
@media (max-width:980px){.site-footer .grid{grid-template-columns:1fr 1fr}}
@media (max-width:600px){
  .site-footer .grid{grid-template-columns:1fr}
  .hero-stats{grid-template-columns:1fr !important}
  .hero-process{grid-template-columns:1fr !important}
}
.site-footer .footer-heading{color:#F8F5F0;font-family:var(--f-head);font-size:1.05rem;margin:0 0 .65rem;font-weight:700}
.site-footer ul{margin:0;padding:0;list-style:none;display:grid;gap:.4rem}
.site-footer .creds{font-size:.85rem;line-height:1.55;color:#9C8E7B}
.site-footer .creds-list{list-style:none;padding:0;margin:.85rem 0 0;display:grid;gap:.45rem}
.site-footer .creds-list li{display:flex;gap:.6rem;align-items:flex-start}
.site-footer .creds-list .check{color:var(--c-accent);font-weight:700;flex:0 0 auto;line-height:1.4}
.site-footer .footer-links{margin-top:.85rem}
.site-footer .bottom{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem 1.5rem;padding-top:1.5rem;margin-top:2rem;border-top:1px solid #3a322a;font-size:.82rem;color:#9C8E7B;text-align:center}
.site-footer .bottom > *{flex:0 1 auto}

/* ----- Generic page intro hero (non-home) ----- */
.page-hero{background:var(--c-bg-alt);padding:clamp(2rem,4vw,3rem) 0 0;border-bottom:1px solid var(--c-rule)}
/* align-items:start so the LEFT column (H1+intro, short) starts at top of row
   instead of being pulled to the BOTTOM by the much-taller RIGHT column (form
   with 6-8 inputs, ~620px). With align-items:end the page-hero rendered a
   500px cream void ABOVE the H1 on /about/, /reviews/, /faq/, /contact/, /quote/.
   See references/css-rules.md "Page-hero grid". */
.page-hero .grid{display:grid;gap:2rem;grid-template-columns:1.1fr .9fr;align-items:start;padding-bottom:clamp(1.5rem,3vw,2.5rem)}
@media (max-width:900px){.page-hero .grid{grid-template-columns:1fr}}
/* H1 cap — Round 3 Designer+SEO: 14ch was too aggressive (apartment H1 97-char wrapped
   to 8 lines, broke "I-75" mid-word). Loosen to min(22ch, 100%) + text-wrap:balance +
   manual-only hyphenation (prevents auto-break on "walk-ups", "I-75"). word-break:keep-all
   keeps multi-word route names intact. Line-height tightened slightly for compact wraps. */
.page-hero h1,.hero h1{
  margin-bottom:.45rem;
  max-width:min(22ch,100%);
  font-size:clamp(1.9rem,1.2rem + 1.7vw,2.5rem);
  line-height:1.18;
  text-wrap:balance;
  hyphens:manual;
  word-break:keep-all;
}
@media (max-width:640px){.page-hero h1,.hero h1{max-width:min(20ch,100%)}}
.page-hero .breadcrumb{font-size:.82rem;color:var(--c-text-mute);margin-bottom:.5rem;text-transform:uppercase;letter-spacing:.08em}
/* Breadcrumb inside hero-bg sections — white text, subtle links */
.breadcrumb-hero{font-size:.78rem;color:rgba(250,245,238,.7);margin-bottom:.55rem;letter-spacing:.04em}
.breadcrumb-hero a{color:rgba(250,245,238,.85);text-decoration:none}
.breadcrumb-hero a:hover{color:#FAF5EE;text-decoration:underline}

/* ----- Benefits grid (home #benefits section, 4×2 → 2×4 → 1col responsive) ----- */
.benefits-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem}
@media (max-width:980px){.benefits-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}}
@media (max-width:520px){.benefits-grid{grid-template-columns:1fr;gap:1rem}}
.benefit-card{display:flex;flex-direction:column;gap:.55rem}
.benefit-card .benefit-ic{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;color:var(--c-primary);background:#fff;border:1px solid var(--c-rule);border-radius:50%;flex:0 0 auto}
.benefit-card .benefit-ic svg{width:22px;height:22px}
.benefit-card h3{font-family:var(--f-head);font-size:1.05rem;font-weight:600;margin:0;color:var(--c-text);line-height:1.25}
.benefit-card p{font-size:.92rem;color:var(--c-text-mute);line-height:1.5;margin:0}

/* ----- Recent-work gallery (home #recent-work section) ----- */
.work-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.1rem}
@media (max-width:980px){.work-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:420px){.work-grid{grid-template-columns:1fr}}
.work-card{margin:0;display:flex;flex-direction:column;gap:.45rem}
.work-card .work-photo{aspect-ratio:4/3;overflow:hidden;border-radius:var(--r);background:var(--c-bg-alt)}
/* Unified photo treatment — iter-5 Designer flagged: home mixed B&W silhouettes,
   colour stock, sepia portraits side-by-side. Apply consistent warm-desaturated
   filter to ALL people/work photos so they read as one visual voice. */
.work-card .work-photo img,
.review-card .av img,
.team-grid img,
.owner-block img,
.hero-owner-photo img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .3s ease, filter .25s ease;
  filter:saturate(.85) sepia(.08) brightness(.96) contrast(1.03);
}
.work-card:hover .work-photo img{filter:saturate(.95) sepia(.05) brightness(1) contrast(1.05);transform:scale(1.04)}
.work-card figcaption{font-size:.85rem;color:var(--c-text-mute);line-height:1.4;padding:0 .15rem}

/* ----- Aspect helpers ----- */
.aspect-16-9{aspect-ratio:16/9;overflow:hidden;border-radius:var(--r)}
.aspect-4-5{aspect-ratio:4/5;overflow:hidden;border-radius:var(--r)}
.aspect-3-2{aspect-ratio:3/2;overflow:hidden;border-radius:var(--r)}
.aspect-1-1{aspect-ratio:1/1;overflow:hidden;border-radius:var(--r)}
.aspect-16-10{aspect-ratio:16/10;overflow:hidden;border-radius:var(--r)}
.aspect-16-9 img,.aspect-4-5 img,.aspect-3-2 img,.aspect-1-1 img,.aspect-16-10 img{width:100%;height:100%;object-fit:cover}

/* ----- Generic content layout ----- */
.content-wrap{display:grid;gap:2.5rem;grid-template-columns:1fr 320px;align-items:start}
.content-wrap > .main{min-width:0}
.content-wrap > aside{align-self:start}
/* aside-stretch — for pages where article >> aside-stack (notably /about/). Overrides
   `align-self: start` so the aside container stretches to the row's height, and its
   existing .aside-quote bg/border (`#fdfaf4`) fills the column below the cards. Result:
   right column looks like a tall tinted card with content at top, no visible cream
   void where the form ends. Safer than `position: sticky` (which re-introduces the
   1600-2200px dead-zone bug — see ".aside-quote is NOT position: sticky" rule). */
.content-wrap > aside.aside-stretch{align-self:stretch}
/* Aside-form compact variant — visually differentiates the sticky sidebar form
   from the hero form. Designer-critic #1 flagged "Two stacked nearly identical
   lead forms... reads as a templating tell." Same fields submit-wise (CRM payload
   unchanged), just compacter typography + secondary button color so the eye reads
   them as DIFFERENT conversion paths, not duplicates. */
.aside-quote .bc-form{font-size:.92rem}
.aside-quote .bc-form label{font-size:.8rem;margin-bottom:.2rem}
.aside-quote .bc-form input,.aside-quote .bc-form select{font-size:.95rem;padding:.5rem .65rem}
.aside-quote .bc-form .row{gap:.55rem;margin-bottom:.55rem}
.aside-quote .bc-form button[type="submit"]{
  background:var(--c-secondary);  /* olive secondary instead of primary brick-red */
  font-size:.95rem;
  padding:.7em 1em;
  margin-top:.4rem;
}
.aside-quote .bc-form button[type="submit"]:hover{background:#243A2A}  /* darker olive on hover */
.aside-quote .tcpa-text,.aside-quote .form-reassure{font-size:.76rem}
/* aside-sticky — wrapper around the form-section inside aside-quote that follows
   scroll. Applied ONLY to the form-card area, NOT the whole aside (whole-aside
   sticky breaks when aside > viewport, the Round-5 dead-zone bug). z-index lifts
   form above call/ticker siblings during scroll-collision so the form visually
   covers them; same aside-bg color prevents harsh edges. Disabled on mobile
   (single column = no benefit, would just stick at top of stack). */
.content-wrap > aside .aside-sticky{position:sticky;top:1.2rem;z-index:2;background:#fdfaf4}
@media (max-width:980px){.content-wrap > aside .aside-sticky{position:static}}
@media (max-width:980px){.content-wrap{grid-template-columns:1fr}}
.content-wrap .main p{margin-bottom:1em}
.content-wrap .main h2{margin-top:1.6em}
.content-wrap .main h3{margin-top:1.4em}
/* Aside scrolls naturally — sticky caused 1600+px dead zones on long content pages */
.aside-quote{background:#fdfaf4;border:1px solid var(--c-rule);border-radius:var(--r);padding:1.4rem;box-shadow:0 1px 2px rgba(31,26,20,.04),0 4px 14px -10px rgba(31,26,20,.12)}
.aside-quote h3{margin-top:0}

/* ----- Utility ----- */
.text-center{text-align:center}
.mt-2{margin-top:2rem}
.mb-2{margin-bottom:2rem}
.muted{color:var(--c-text-mute)}
.mt-1-5{margin-top:1.5rem}
.prose-max-lg{max-width:62ch}
.mx-auto{margin-inline:auto}
.sec-tight{padding-top:2.5rem;padding-bottom:3rem}
.sec-tight-b{padding-bottom:2.5rem}
.max-prose{max-width:780px}
