/* County Line Electric. Light, warm, technical. Plate black ink, plate gold accent, warm stone wash.
 * Headlines: Barlow Condensed (the license plate's condensed grotesque). Body: Barlow.
 * The header, mega-menu and footer are generated by ~/ecosystem-site-engine between the ENGINE-CHROME markers.
 * Rules that must beat the chrome block start with `body`. No em dashes anywhere in copy. */
:root{--bg:#FFFFFF;--bg2:#F4F1EA;--bg3:#FAF8F3;--ink:#10150E;--soft:#3C4038;--muted:#6B7066;--line:#E2DDD1;--line2:#CFC8B8;
  --gold:#B8911F;--gold-hi:#D4AA2C;--gold-lo:#8E6F14;--on-gold:#10150E;--orange:#E4631A;--plate:#10150E;--field:#FFFFFF;--shade:rgba(16,21,14,.14);
  --disp:"Barlow Condensed","Arial Narrow",Impact,sans-serif;--text:"Barlow","Helvetica Neue",Arial,sans-serif;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--ink);font:400 18px/1.65 var(--text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}
a{color:var(--gold-lo);text-decoration-thickness:1px;text-underline-offset:4px}a:hover{color:var(--ink)}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:2px}
h1,h2,h3,h4{font-family:var(--disp);font-weight:700;line-height:1;margin:0 0 .45em;letter-spacing:.005em;text-transform:uppercase;color:var(--ink);text-wrap:balance}
h1{font-size:clamp(2.7rem,5.6vw,4.6rem);line-height:.95;font-weight:800}h2{font-size:clamp(2rem,3.6vw,3rem)}h3{font-size:1.45rem;line-height:1.05}
p{margin:0 0 1.1em}strong,b{font-weight:600}
.gold{color:var(--gold-lo)}
.container{max-width:1180px;margin:0 auto;padding:0 28px}.narrow{max-width:820px}
.skip{position:absolute;left:-999px}.skip:focus{left:12px;top:12px;z-index:99;background:var(--gold);padding:10px 14px;color:var(--on-gold)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body p.kicker{font:700 .92rem/1 var(--disp);letter-spacing:.24em;text-transform:uppercase;color:var(--gold-lo);margin:0 0 16px}
.dek{font-size:1.14rem;color:var(--soft);max-width:38em}
.fine{font-size:.86rem;line-height:1.5;color:var(--muted);margin:14px 0 0}.fine a{color:var(--muted)}
.after{margin:26px 0 0;font-size:.98rem;color:var(--soft);max-width:48em}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:700 1.08rem/1 var(--disp);letter-spacing:.1em;text-transform:uppercase;padding:15px 24px 14px;border-radius:3px;border:1px solid var(--ink);background:transparent;color:var(--ink);text-decoration:none;cursor:pointer;transition:background .18s,color .18s,border-color .18s,transform .18s}
.btn:hover{background:var(--ink);color:#fff;text-decoration:none}
body .btn--primary{background:var(--gold);border-color:var(--gold);color:var(--on-gold)}
body .btn--primary:hover{background:var(--gold-hi);border-color:var(--gold-hi);color:var(--on-gold);transform:translateY(-1px)}
.btn.ghost{border-color:var(--line2)}
.btn--xl{font-size:1.25rem;padding:19px 30px 17px}.btn--full{width:100%}
.cta-row{display:flex;flex-wrap:wrap;gap:14px;margin:28px 0 0}

/* hero: always light */
body .hero{background:var(--bg2);color:var(--ink);padding:0;position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
body .hero--bg{background:linear-gradient(90deg,rgba(244,241,234,1) 0,rgba(244,241,234,.96) 48%,rgba(244,241,234,.55) 100%),var(--hero-bg) center/cover no-repeat}
body .hero .hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:start;padding-top:64px;padding-bottom:64px}
.hero-copy{padding-top:12px}
.hero h1{margin-bottom:.35em}
.hero .sub{font-size:1.22rem;line-height:1.55;color:var(--soft);max-width:30em;margin:0}
.hero-call{margin:22px 0 0;font:600 1rem/1.4 var(--text);color:var(--soft)}.hero-call a{color:var(--ink);font-weight:700;text-decoration:none}
.hero-facts{list-style:none;margin:30px 0 0;padding:22px 0 0;border-top:1px solid var(--line2);display:flex;flex-wrap:wrap;gap:22px 40px}
.hero-facts li{display:flex;flex-direction:column}.hero-facts b{font:800 2rem/1 var(--disp);color:var(--ink)}.hero-facts span{font:600 .82rem/1.3 var(--text);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-top:4px}
.hero-fig{margin:0;position:relative}.hero-fig img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px;box-shadow:0 24px 50px -24px var(--shade)}
.hero-fig figcaption{font-size:.78rem;color:var(--muted);margin-top:8px;text-align:right}
.hero-form .form-card{padding:28px}
.form-title{font:700 1.3rem/1.1 var(--disp);text-transform:uppercase;letter-spacing:.04em;margin:0 0 4px}
.hero--withform .fields{margin-top:16px;gap:12px 14px}
.hero--withform .field label{font-size:.78rem;margin-bottom:5px}
.hero--withform .cl-form input,.hero--withform .cl-form select{padding:11px 13px}
.hero--withform .form-actions{margin-top:18px}

/* breadcrumbs */
.crumbs{border-bottom:1px solid var(--line);background:var(--bg)}.crumbs ol{list-style:none;margin:0 auto;padding:12px 28px;max-width:1180px;display:flex;flex-wrap:wrap;gap:6px 10px;font-size:.86rem;color:var(--muted)}
.crumbs li+li::before{content:"/";margin-right:10px;color:var(--line2)}.crumbs a{color:var(--muted);text-decoration:none}.crumbs a:hover{color:var(--ink)}

/* bands */
.band{padding:88px 0;position:relative}.band.wash{background:var(--bg2)}.band--tight{padding:48px 0}
.band+.band:not(.wash):not(.cta-band){border-top:1px solid var(--line)}

/* cards */
.cards{display:grid;gap:22px;margin-top:36px}.cols-4{grid-template-columns:repeat(4,1fr)}.cols-3{grid-template-columns:repeat(3,1fr)}.cols-2{grid-template-columns:repeat(2,1fr)}
.card{display:flex;flex-direction:column;background:var(--bg);border:1px solid var(--line);border-top:3px solid var(--gold);border-radius:4px;color:inherit;text-decoration:none;transition:border-color .18s,transform .18s,box-shadow .18s;overflow:hidden}
a.card:hover{transform:translateY(-3px);box-shadow:0 18px 40px -24px var(--shade);border-color:var(--line2);color:inherit}
.card-body{padding:26px 24px 24px;display:flex;flex-direction:column;flex:1}
.card-img img{width:100%;aspect-ratio:16/10;object-fit:cover}
.card-tag{font:700 .78rem/1 var(--disp);letter-spacing:.2em;text-transform:uppercase;color:var(--gold-lo);margin-bottom:12px}
.card h3{margin-bottom:.45em}.card p{margin:0;color:var(--soft);font-size:1rem;line-height:1.55}
.card-go{margin-top:auto;padding-top:18px;font:700 .92rem/1 var(--disp);letter-spacing:.12em;text-transform:uppercase;color:var(--gold-lo)}

/* split */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}
.split--flip .split-fig{order:-1}
.split-fig{margin:0}.split-fig img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:4px}
.split-fig figcaption{font-size:.8rem;color:var(--muted);margin-top:8px}
.split-copy p{color:var(--soft)}

/* steps */
.steps{list-style:none;margin:36px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:28px 32px}
.steps li{display:flex;gap:18px;padding-top:18px;border-top:2px solid var(--gold)}
.step-n{font:800 2.1rem/1 var(--disp);color:var(--gold-lo);flex:none}
.steps h3{font-size:1.3rem;margin-bottom:.35em}.steps p{margin:0;color:var(--soft);font-size:.98rem;line-height:1.55}

/* facts */
.facts-band{background:var(--plate);color:#fff}
.facts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.facts li{display:flex;flex-direction:column;border-left:2px solid var(--gold);padding-left:18px}
.fact-big{font:800 2.6rem/1 var(--disp);color:var(--gold-hi)}.fact-label{font:600 .9rem/1.3 var(--text);letter-spacing:.06em;text-transform:uppercase;color:#fff;margin-top:6px}.fact-note{font-size:.9rem;color:#B9BDB4;margin-top:6px;line-height:1.45}

/* faq */
.faq{margin-top:28px;border-top:1px solid var(--line)}.qa{padding:24px 0;border-bottom:1px solid var(--line)}.qa h3{font-size:1.35rem;margin-bottom:.4em;text-transform:none;letter-spacing:0;font-family:var(--text);font-weight:600}.qa p{margin:0 0 .6em;color:var(--soft)}.qa p:last-child{margin:0}

/* checklist, cities, related */
.checklist{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:12px}
.checklist li{padding-left:30px;position:relative;color:var(--soft)}.checklist li::before{content:"";position:absolute;left:0;top:.55em;width:14px;height:8px;border:2px solid var(--gold);border-top:0;border-right:0;transform:rotate(-45deg)}
.cities{list-style:none;margin:32px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.cities li a,.cities li span{display:flex;flex-direction:column;padding:16px 18px;border:1px solid var(--line);border-radius:4px;background:var(--bg);text-decoration:none;color:var(--ink);transition:border-color .18s,transform .18s}
.cities li a:hover{border-color:var(--gold);transform:translateY(-2px)}
.cities b{font:700 1.2rem/1.1 var(--disp);text-transform:uppercase}.cities small{color:var(--muted);font-size:.82rem;margin-top:4px}
.related{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.related a{display:flex;flex-direction:column;padding:16px 18px;background:var(--bg);border:1px solid var(--line);border-radius:4px;text-decoration:none;color:var(--ink)}
.related a:hover{border-color:var(--gold)}.related b{font:700 1.1rem/1.1 var(--disp);text-transform:uppercase}.related span{font-size:.9rem;color:var(--muted);margin-top:4px}

/* brands, quote, gallery, table */
.brands-band{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.brands{display:flex;flex-wrap:wrap;align-items:center;gap:28px 56px}.brands figure{margin:0}.brands img{height:36px;width:auto}
.pull-quote{margin:0;padding:8px 0 8px 28px;border-left:3px solid var(--gold);font:italic 400 1.5rem/1.4 var(--text);color:var(--ink)}
.pull-quote cite{display:block;margin-top:12px;font:700 .82rem/1.3 var(--disp);font-style:normal;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:32px}.gallery figure{margin:0}.gallery img{width:100%;aspect-ratio:10/7;object-fit:cover;border-radius:4px}.gallery figcaption{font-size:.86rem;color:var(--muted);margin-top:8px}
.table-wrap{overflow-x:auto;margin-top:28px}table{width:100%;border-collapse:collapse;font-size:.98rem}th,td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top}th{font:700 .82rem/1.2 var(--disp);letter-spacing:.14em;text-transform:uppercase;color:var(--gold-lo);border-bottom:2px solid var(--gold)}

/* cta band + forms */
.cta-band{background:var(--bg2);border-top:1px solid var(--line)}
.cta-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:56px;align-items:start}
.cta-grid p{color:var(--soft)}.cta-phone{margin-top:22px;font-size:1rem}.cta-phone a{color:var(--ink);font-weight:700;text-decoration:none}
.form-card{background:var(--bg);border:1px solid var(--line2);border-top:3px solid var(--gold);padding:36px;border-radius:4px}
.form-wide{grid-column:1/-1}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;margin-top:22px}
.field{display:flex;flex-direction:column;min-width:0}.field--full{grid-column:1/-1}
.field label{font:700 .86rem/1.2 var(--disp);letter-spacing:.12em;text-transform:uppercase;color:var(--soft);margin-bottom:7px}
.opt{color:var(--muted);letter-spacing:.06em;font-size:.76rem;margin-left:6px;text-transform:none}
.cl-form input[type=text],.cl-form input[type=email],.cl-form input[type=tel],.cl-form select,.cl-form textarea{width:100%;font:400 1rem/1.4 var(--text);color:var(--ink);background:var(--field);border:1px solid var(--line2);border-radius:3px;padding:13px 14px;transition:border-color .15s}
.cl-form textarea{resize:vertical;min-height:110px}
.cl-form input:focus,.cl-form select:focus,.cl-form textarea:focus{outline:none;border-color:var(--gold)}
.cl-form ::placeholder{color:var(--muted);opacity:.75}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:22px}
.form-status{margin:0;font-size:.96rem;color:var(--soft);min-height:1.4em}.form-status.ok{color:#2E6B2B;font-weight:600}.form-status.err{color:#B3261E}
.cl-form.is-sent .fields,.cl-form.is-sent .btn{display:none}

/* responsive */
@media (max-width:1024px){.cols-4{grid-template-columns:repeat(2,1fr)}.cities{grid-template-columns:repeat(3,1fr)}.facts{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:repeat(2,1fr)}}
@media (max-width:860px){
  body{font-size:17px}
  body .hero .hero-grid{grid-template-columns:1fr;gap:28px;padding-top:40px;padding-bottom:44px}
  .hero-copy{order:0}.hero-fig,.hero-form{order:1}
  .hero .sub{font-size:1.1rem}.hero-facts{gap:16px 28px}.hero-facts b{font-size:1.6rem}
  body .hero--bg{background:var(--bg2)}
  .band{padding:60px 0}.band--tight{padding:40px 0}
  .cols-3,.cols-2,.cols-4{grid-template-columns:1fr}.split{grid-template-columns:1fr;gap:28px}.split--flip .split-fig{order:0}
  .steps{grid-template-columns:1fr}.cities{grid-template-columns:repeat(2,1fr)}.related{grid-template-columns:1fr}.gallery{grid-template-columns:1fr}
  .cta-grid{grid-template-columns:1fr;gap:32px}.fields{grid-template-columns:1fr}.form-card{padding:24px 20px}
  .facts{grid-template-columns:1fr 1fr;gap:20px}.fact-big{font-size:2.1rem}
}
@media (max-width:480px){.cities{grid-template-columns:1fr}.facts{grid-template-columns:1fr}.btn--xl{width:100%}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ENGINE-CHROME:START — generated by ecosystem-site-engine; do not hand-edit */
/* ecosystem-site-engine chrome — generated, do not hand-edit.
 * Floating-card mega-menu + boxed-social footer. Themed per brand via build.mjs.
 * Injected between ENGINE-CHROME markers in the site's stylesheet. */

/* ---- header shell (sticky bar + logo + cta + hamburger) ---- */
.site-header{position:sticky;top:0;z-index:50;background:#FFFFFF;border-bottom:1px solid #E2DDD1}
.header-inner{max-width:1180px;margin:0 auto;padding:13px 24px;display:flex;align-items:center;gap:16px}
.site-logo{flex:none;display:inline-flex;align-items:center}
.site-logo img{height:42px;width:auto;display:block}
.header-cta{margin-left:auto;display:flex;align-items:center;gap:10px}
.menu-toggle{display:none;flex-direction:column;justify-content:center;align-items:center;gap:4px;
  width:44px;height:44px;border:1px solid #E2DDD1;border-radius:11px;background:#FFFFFF;cursor:pointer;flex:none}
.menu-toggle span{display:block;width:19px;height:2px;border-radius:2px;background:#10150E;transition:transform .2s ease,opacity .2s ease}

/* ---- mega-menu ---- */
.primary-nav{display:flex;gap:4px;margin-left:10px}
.primary-nav .nav-item{position:relative}
.primary-nav .nav-link{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border-radius:10px;white-space:nowrap;
  color:#10150E;font-weight:600;font-size:.95rem;line-height:1;cursor:pointer;transition:background .15s ease,color .15s ease}
.primary-nav .nav-link:hover{background:#F4F1EA;color:#8E6F14;text-decoration:none}
.primary-nav .nav-link>svg{width:17px;height:17px;flex:none}
.primary-nav .nav-link>svg.nav-caret{width:12px;height:12px;opacity:.5;transition:transform .15s ease}
.nav-item:hover .nav-caret{transform:rotate(180deg)}

/* Placement rule (see modules/megamenu): a mega-menu ALWAYS drops centered under
 * its trigger, NEVER below the fold, and lands about half way down the hero.
 * left:0 was the old anchor and it is what put every engine-built site 200px+
 * off centre. Centre here; js/megamenu-placement.js writes --mm-shift to clamp
 * the panel inside the viewport and --mm-maxh to keep it above the fold.
 * The shift rides on margin-left, never on transform, so the open/close
 * animation cannot be clobbered by the clamp. */
.mega-menu{position:absolute;top:100%;left:50%;right:auto;margin-left:var(--mm-shift,0px);padding-top:12px;
  opacity:0;visibility:hidden;transform:translateX(-50%) translateY(6px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s;z-index:60}
.mega-menu--r{left:50%;right:auto}
.nav-item:hover .mega-menu,.nav-item:focus-within .mega-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.mega-menu-inner{display:flex;gap:10px;background:#FFFFFF;border:1px solid #E2DDD1;border-top:3px solid #B8911F;border-radius:4px 4px 16px 16px;
  box-shadow:0 24px 60px rgba(15,23,43,.20);padding:16px;min-width:580px;
  max-height:var(--mm-maxh,none);overflow-y:auto;overscroll-behavior:contain}
.mm-feature{flex:0 0 220px;position:relative;display:block;background:linear-gradient(160deg,#F4F1EA,#FFFFFF);
  border:1px solid #E2DDD1;border-radius:12px;padding:18px;overflow:hidden;text-decoration:none}
.mm-feature:hover{border-color:#B8911F;text-decoration:none}
.mm-feature .mm-fx{position:absolute;right:-14px;top:-12px;opacity:.9}
.mm-flabel{font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#8E6F14}
.mm-feature h4{margin:8px 0 4px;font-size:1.05rem;color:#10150E;position:relative}
.mm-feature p{margin:0;font-size:.86rem;color:#3C4038;position:relative}
.mm-fcta{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-size:.85rem;font-weight:700;color:#8E6F14}
.mm-fcta svg{width:15px;height:15px}
.mm-list{flex:1;min-width:280px;padding:6px 6px 6px 4px}
/* Two-column link list. A menu past ~6 rows stacks so tall that it swallows the
 * hero and, on a short laptop, reaches the fold: split it into columns instead
 * of dropping links. See modules/megamenu (rule HERO_HALF). */
.mm-cols{display:flex;gap:6px}
.mm-cols>div{flex:1;min-width:250px}
.mm-glabel{display:block;font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#6B7066;padding:6px 10px 8px}
.mm-row{display:flex;gap:11px;align-items:flex-start;padding:9px 10px;border-radius:10px;text-decoration:none;transition:background .15s ease}
.mm-row:hover{background:#F4F1EA;text-decoration:none}
.mm-ico{flex:none;width:30px;height:30px;border-radius:8px;background:#F4F1EA;display:flex;align-items:center;justify-content:center}
.mm-ico svg{width:18px;height:18px}
.mm-tt{display:block;font-weight:600;color:#10150E;font-size:.95rem}
.mm-ds{display:block;color:#6B7066;font-size:.82rem}
/* photo mega-menu (client sites): real photos in the feature card + row thumbnails, no line-art */
.mm-feature--photo{padding:0;background:#FFFFFF;border-radius:12px}
.mm-feature--photo .mm-fphoto{display:block;width:100%;height:132px;object-fit:cover;border-radius:11px 11px 0 0}
.mm-feature--photo .mm-flabel{display:block;padding:14px 16px 0}
.mm-feature--photo h4{padding:0 16px}
.mm-feature--photo p{padding:0 16px}
.mm-feature--photo .mm-fcta{padding:0 16px 16px}
.mm-ico--photo{overflow:hidden;background:#F4F1EA}
.mm-ico--photo img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.mobile-cta{padding:12px 0 2px}

/* ---- footer: dark institutional, branded ---- */
.site-footer{background:#10150E;color:#A9AEA3;position:relative}
.site-footer::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,#B8911F,#8E6F14)}
.site-footer>.container{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr 1fr;gap:34px 28px;padding-top:64px;padding-bottom:46px}
.footer-brand{grid-column:1}
.footer-brand img{height:44px;width:auto;display:block;margin:0 0 20px}
.footer-brand>p{color:#A9AEA3;font-size:.92rem;line-height:1.65;margin:0;max-width:38ch}
.footer-col h4{color:#fff;font-family:"Inter",sans-serif;font-size:.73rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;margin:0 0 16px}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-col li{margin:0 0 11px}
.footer-col a{color:#A9AEA3;font-size:.93rem;text-decoration:none;transition:color .15s ease}
.footer-col a:hover{color:#fff;text-decoration:none}
.footer-social{display:flex;gap:10px;align-items:center;margin:18px 0 0;flex-wrap:wrap}
.footer-social:empty{display:none}
.footer-social a.social-link{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #2A2E26;border-radius:8px;color:#A9AEA3;transition:border-color .2s ease,color .2s ease}
.footer-social a.social-link:hover{border-color:#B8911F;color:#fff}
.footer-social a.social-link svg{width:18px;height:18px}
.footer-bottom{border-top:1px solid #2A2E26}
.footer-bottom .container{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding-top:20px;padding-bottom:26px}
.footer-bottom p{margin:0;font-size:.84rem;color:#A9AEA3}
.footer-bottom a{color:#fff;text-decoration:none}
.footer-trustbar{border-top:1px solid #2A2E26}
.footer-trustbar .container{display:flex;justify-content:center;padding-top:20px;padding-bottom:26px}
.footer-credits{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;justify-content:center;text-align:center;font-size:.78rem;color:#A9AEA3}
.footer-cred{color:#A9AEA3;text-decoration:none;transition:color .15s ease}
.footer-cred:hover{color:#fff;text-decoration:none}
.footer-cred strong{color:#fff;font-weight:600}
.cred-sep{opacity:.4}
.footer-tag{margin:0;font-size:.84rem;color:#A9AEA3}
@media(max-width:560px){.footer-credits{font-size:.74rem;gap:6px 12px}}
/* footer contact column (clean address/phone/email/hours, no wrapping link labels) */
.footer-contact a,.footer-contact .fc-hours,.footer-contact .fc-addr{display:block;color:#A9AEA3;font-size:.9rem;line-height:1.5;margin-bottom:9px;text-decoration:none}
.footer-contact a:hover{color:#fff}
.footer-contact .fc-addr{color:#fff;margin-bottom:11px}
.footer-contact .fc-hours{font-size:.82rem;margin-top:2px}
.footer-contact .fc-links{margin-top:4px;font-size:.85rem}
.footer-contact .fc-links a{display:inline;color:#B8911F;margin:0}
.footer-contact .fc-dot{margin:0 8px;opacity:.45;color:#A9AEA3}
@media(max-width:860px){
  .site-footer>.container{grid-template-columns:1fr 1fr;gap:30px 20px;padding-top:48px}
  .footer-brand{grid-column:1 / -1}
  .footer-bottom .container{flex-direction:column;align-items:flex-start;gap:6px}
}

/* ---- mobile nav (generated header toggles .open) ---- */
.mobile-nav{display:none}
.mobile-nav.open{display:flex;flex-direction:column;gap:4px}
.mobile-nav-section{display:flex;flex-direction:column;padding:8px 0;border-bottom:1px solid #E2DDD1}
.mobile-nav-label{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#6B7066;padding:6px}
.mobile-nav-section a{padding:9px 6px;color:#10150E;font-weight:600}
.mobile-cta{padding:14px 0 4px}

@media(max-width:860px){
  .primary-nav{display:none}
  .menu-toggle{display:flex}
  .header-cta .btn--primary{display:none}      /* the mobile nav carries its own CTA */
  .header-inner{padding:11px 18px;gap:10px}
  .mobile-nav{position:absolute;left:0;right:0;top:100%;background:#FFFFFF;border-bottom:1px solid #E2DDD1;
    box-shadow:0 18px 40px rgba(0,0,0,.10);padding:10px 18px 18px;max-height:80vh;overflow:auto;z-index:55}
}

/* ---- layout guardrails (engine-enforced, prevent recurring bugs) ----
 * Hero grids MUST top-align. Vertically centering a short text column against a
 * tall visual/instrument panel pushes the headline + primary CTA below the fold.
 * This block is injected last, so it overrides any align-items:center a site
 * sets on its hero. Keeps the primary CTA above the fold on every build. */
.hero .container,.baro-hero .container{align-items:start}
/* Hero must NOT inherit the global section{padding:76px 0}. That top padding renders
 * LARGER in real browsers than in headless screenshots, creating a recurring dead gap
 * under the nav that looks fine in tooling but wrong to the user. Zero the section
 * padding on the hero and set an explicit, intentional top gap (~32px) on its container.
 * Locked 2026-06-20 (Best Diehl Electric). Always verify hero spacing in a REAL browser. */
.hero{padding:0}
.hero .container{padding-top:32px}
/* Heroes are ALWAYS light/warm — NEVER dark. Hard ecosystem rule, same footing as
 * "no em-dashes". No dark/navy-overlay hero, no dark full-bleed hero with light text.
 * A photo hero uses a LIGHT scrim only (warm-ivory wash), never a dark overlay.
 * This guardrail forces the hero's own text colour to dark ink so a hero can never
 * silently render light-on-dark; set per-element light colours deliberately only on
 * legitimately light grounds. Locked 2026-06-25 (Flaig Law Firm). */
.hero{color:#10150E;background:#F4F1EA}

/* ---- persistent mobile CTA bar ----
 * On mobile the header CTA is hidden, so every page gets one unmissable fixed
 * action at the bottom (primary CTA + optional call). Generated by buildFooter
 * from primaryCta/phone. Requires the site to define .btn/.btn--primary. */
.mobile-cta-bar{display:none}
@media (max-width:760px){
  .mobile-cta-bar{display:flex;gap:10px;align-items:center;position:fixed;left:0;right:0;bottom:0;z-index:60;
    background:rgba(255,255,255,.97);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
    border-top:1px solid #E2DDD1;padding:10px 14px;padding-bottom:calc(10px + env(safe-area-inset-bottom));
    box-shadow:0 -6px 20px rgba(15,23,43,.10)}
  .mobile-cta-bar .btn{flex:1;padding:14px 16px}
  .mobile-cta-bar .mcb-call{flex:0 0 auto;width:52px;height:52px;display:flex;align-items:center;justify-content:center;
    border:2px solid #B8911F;border-radius:14px;color:#8E6F14}
  .mobile-cta-bar .mcb-call svg{width:22px;height:22px}
  body{padding-bottom:76px}
}

/* ---- section connector (engine standard, added 2026-07-01 Jenn Births) ----
 * "Just a horizontal box after another horizontal box isn't acceptable." A slim accent
 * thread + diamond node that STRADDLES the seam between two full-width sections, so a
 * page reads as one flowing story instead of disconnected stacked bands. The gradient
 * fades at both ends so it blends into any section background, light or dark.
 * USAGE: emit <div class="connector"></div> between two sections. Add class .on-dark
 * when the section BELOW the seam is dark so the node's ring matches that ground. */
.connector{position:relative;height:0;z-index:4;pointer-events:none;overflow:visible}
.connector::before{content:"";position:absolute;left:50%;top:-38px;transform:translateX(-50%);
  width:1.5px;height:76px;background:linear-gradient(to bottom,transparent,#B8911F 20%,#B8911F 80%,transparent)}
.connector::after{content:"";position:absolute;left:50%;top:0;transform:translate(-50%,-50%) rotate(45deg);
  width:9px;height:9px;background:#B8911F;box-shadow:0 0 0 4px #F4F1EA}
.connector.on-dark::after{box-shadow:0 0 0 4px #10150E}
/* ENGINE-CHROME:END */

/* After the chrome: the plate logo needs more height than a wordmark, and the header CTA is the project button. */
body .site-header .site-logo img{height:54px;width:auto}
@media (max-width:860px){body .site-header .site-logo img{height:44px}}
body .site-header .header-cta .btn{white-space:nowrap}
/* resources (articles) */
.prose h1{font-size:clamp(2.2rem,4.4vw,3.4rem)}.prose h2{font-size:1.6rem;margin-top:1.6em}.prose p,.prose li{color:var(--soft)}
.essay-deck{font-size:1.22rem;line-height:1.55;color:var(--soft);margin:0 0 .6em}.essay-meta{font-size:.9rem;color:var(--muted);margin-bottom:1.8em}
.essay-note{margin:1.8em 0;padding:18px 22px;border-left:3px solid var(--gold);background:var(--bg2);border-radius:0 4px 4px 0;font-style:italic}.essay-note p{margin:0;color:var(--ink)}
.essay-sources{padding-left:1.2em;font-size:.95rem}.essay-sources li{margin-bottom:.6em}.essay-sources a{word-break:break-word}
