/* Electrical Drawings UK — visual identity v2 (warm editorial, no blue) */
:root{
  --bg:#F7F6F3;
  --bg-card:#FDFDFB;
  --ink:#22262B;
  --ink-2:#262A2F;
  --soft:#3E444A;
  --muted:#5A6066;
  --line:#E2DDD2;
  --line-soft:#E9E4DB;
  --amber:#B87333;
  --amber-deep:#8A5A2B;
  --amber-soft:#F3E9DC;
  --amber-glow:rgba(184,115,51,.14);
  --radius:16px;
  --max:1160px;
  --font:"Manrope",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);color:var(--ink);line-height:1.7;font-size:1.02rem;background:var(--bg);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--ink);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--amber-deep)}
h1,h2,h3{line-height:1.22;letter-spacing:-.015em;text-wrap:balance}
:focus-visible{outline:3px solid var(--amber);outline-offset:3px;border-radius:6px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 1.25rem}
.skip{position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;padding:.7rem 1.1rem;z-index:300;font-weight:700}
.skip:focus{left:0}

/* ---------- Header ---------- */
.site-header{background:rgba(247,246,243,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1.25rem;max-width:var(--max);margin:0 auto}
.brand{display:flex;align-items:center;gap:.65rem;text-decoration:none;color:var(--ink)}
.brand img{width:42px;height:42px;flex:none}
.brand-text{font-weight:800;font-size:1.06rem;letter-spacing:-.01em;line-height:1.15}
.brand-text small{display:block;font-weight:600;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--amber-deep)}
.nav-toggle{display:inline-flex;align-items:center;justify-content:center;background:var(--ink);border:0;color:#fff;border-radius:10px;padding:.5rem .7rem;cursor:pointer;font-size:1.05rem;line-height:1}
.primary-nav{display:none}
.primary-nav.open{display:block;position:absolute;top:100%;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:0 18px 30px rgba(34,38,43,.12)}
.primary-nav ul{list-style:none;margin:0;padding:.7rem 1.25rem 1.1rem;display:flex;flex-direction:column;gap:.1rem}
.primary-nav a{color:var(--ink);text-decoration:none;display:block;padding:.6rem .2rem;font-weight:700;font-size:.98rem}
.primary-nav a:hover{color:var(--amber-deep)}
.btn{display:inline-block;text-decoration:none;font-weight:800;border-radius:12px;padding:.78rem 1.45rem;border:2px solid transparent;cursor:pointer;line-height:1.35;font-size:1rem;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.btn:active{transform:translateY(1px)}
.btn-cta{background:var(--amber);color:var(--ink);border-color:var(--amber);box-shadow:0 6px 18px rgba(184,115,51,.35)}
.btn-cta:hover{background:#C98A4B;color:var(--ink);box-shadow:0 8px 22px rgba(184,115,51,.45)}
.btn-ghost{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.55)}
.btn-ghost:hover{background:rgba(255,255,255,.18);color:#fff;border-color:#fff}
.btn-outline{background:transparent;color:var(--ink);border-color:var(--ink)}
.btn-outline:hover{background:var(--ink);color:#fff}
.primary-nav .btn-cta{margin-top:.5rem;text-align:center}

/* ---------- Image hero ---------- */
.hero-img{position:relative;color:#fff;overflow:hidden;background:var(--ink)}
.hero-media{position:absolute;inset:0;z-index:0}
.hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.hero-img::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(100deg,rgba(15,17,21,.94) 8%,rgba(15,17,21,.72) 46%,rgba(15,17,21,.38) 100%)}
.hero-img.hero-dim::after{background:linear-gradient(100deg,rgba(15,17,21,.97) 8%,rgba(15,17,21,.85) 55%,rgba(15,17,21,.55) 100%)}
.hero-content{position:relative;z-index:2;padding:4.2rem 1.25rem 3.6rem;max-width:var(--max);margin:0 auto}
.hero-kicker{display:inline-flex;align-items:center;gap:.5rem;font-size:.78rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--amber);margin-bottom:1rem}
.hero-kicker::before{content:"";width:2rem;height:2px;background:var(--amber);display:inline-block}
.hero-img h1{font-size:clamp(2rem,5.4vw,3.4rem);font-weight:800;margin:0 0 1rem;max-width:20ch;color:#fff}
.hero-img .lede{font-size:1.14rem;color:#E6E2D9;max-width:42rem;margin:0 0 1.7rem}
.hero-ctas{display:flex;flex-wrap:wrap;gap:.85rem;margin-bottom:1.8rem}
.chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.55rem}
.chips li{font-size:.85rem;font-weight:700;color:#EFE7D9;border:1px solid rgba(184,115,51,.55);background:rgba(184,115,51,.1);border-radius:999px;padding:.42rem .95rem;display:inline-flex;align-items:center;gap:.45rem}
.chips li::before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:var(--amber);flex:none}

/* ---------- Slim inner banner ---------- */
.page-head{position:relative;color:#fff;background:var(--ink) url('/img/hero.jpg') center 38%/cover no-repeat;overflow:hidden}
.page-head::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(15,17,21,.95) 10%,rgba(15,17,21,.82) 60%,rgba(15,17,21,.6) 100%)}
.page-head .wrap{position:relative;z-index:1;padding:2.6rem 1.25rem 2.2rem}
.breadcrumb{font-size:.85rem;color:#D2CDC0}
.breadcrumb ol{list-style:none;margin:0 0 .8rem;padding:0;display:flex;flex-wrap:wrap;gap:.45rem}
.breadcrumb a{color:#E8E2D5;text-decoration:none}
.breadcrumb a:hover{color:var(--amber)}
.breadcrumb li+li::before{content:"›";margin-right:.45rem;color:var(--amber)}
.page-head h1{font-size:clamp(1.7rem,4vw,2.5rem);font-weight:800;margin:0 0 .7rem;color:#fff;max-width:26ch}
.page-head .lede{font-size:1.08rem;color:#E6E2D9;max-width:44rem;margin:0}

/* ---------- Sections ---------- */
.section{padding:3.4rem 0}
.section-tight{padding:2.4rem 0}
.kicker{font-size:.78rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--amber-deep);margin:0 0 .7rem}
.section h2{font-size:clamp(1.5rem,3.2vw,2.1rem);font-weight:800;margin:0 0 1rem;max-width:30ch}
.section .lead{font-size:1.1rem;color:var(--soft);max-width:46rem}

/* Trust / stats strip */
.trust-strip{background:var(--ink);color:#EFE7D9;padding:2rem 0;border-top:3px solid var(--amber)}
.trust-strip .wrap{display:grid;gap:1.2rem;grid-template-columns:repeat(2,1fr)}
.trust-item{display:flex;gap:.9rem;align-items:flex-start}
.trust-num{font-size:1.9rem;font-weight:800;color:var(--amber);line-height:1.1;flex:none;min-width:3.2ch}
.trust-item p{margin:0;font-size:.92rem;color:#DAD5C9}
.trust-item strong{color:#fff;display:block;font-size:.95rem}

/* Editorial splits */
.split{display:grid;gap:1.8rem;align-items:center;margin:2.4rem 0}
.split-media{border-radius:var(--radius);overflow:hidden;box-shadow:0 18px 40px rgba(34,38,43,.16);border:1px solid var(--line)}
.split-media img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:16/10}
.split-body h3{font-size:1.35rem;margin:0 0 .6rem}
.split-body p{color:var(--soft);margin:0 0 1rem}
.link-arrow{font-weight:800;color:var(--ink);text-decoration:none;display:inline-flex;align-items:center;gap:.45rem}
.link-arrow::after{content:"→";color:var(--amber-deep);font-weight:800;transition:transform .15s ease}
.link-arrow:hover::after{transform:translateX(4px)}

/* Audience cards */
.duo{display:grid;gap:1.2rem;margin-top:1.6rem}
.duo-card{background:var(--bg-card);border:1px solid var(--line);border-radius:var(--radius);padding:1.8rem;position:relative;overflow:hidden;transition:box-shadow .2s ease,transform .2s ease}
.duo-card:hover{box-shadow:0 16px 36px rgba(34,38,43,.12);transform:translateY(-3px)}
.duo-card::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--amber),#D29A5B)}
.duo-card h3{margin:.2rem 0 .6rem;font-size:1.3rem}
.duo-card h3 a{text-decoration:none}
.duo-card p{color:var(--soft);margin:0 0 1rem}
.duo-tag{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--amber-deep);background:var(--amber-soft);border-radius:999px;padding:.28rem .8rem;margin-bottom:.4rem}

/* Service icon cards */
.svc-grid{display:grid;gap:1.1rem;margin-top:1.8rem}
.svc-card{background:var(--bg-card);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem;display:flex;gap:1.05rem;align-items:flex-start;transition:box-shadow .2s ease,transform .2s ease}
.svc-card:hover{box-shadow:0 14px 32px rgba(34,38,43,.1);transform:translateY(-3px)}
.svc-icon{flex:none;width:52px;height:52px;border-radius:14px;background:var(--ink);display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px rgba(184,115,51,.35)}
.svc-icon svg{width:28px;height:28px;stroke:var(--amber);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.svc-card h3{margin:.1rem 0 .35rem;font-size:1.08rem}
.svc-card h3 a{text-decoration:none}
.svc-card p{margin:0;color:var(--soft);font-size:.95rem}

/* Timeline (how it works) */
.timeline{list-style:none !important;margin:2rem 0 0 !important;padding:0 !important;display:grid;gap:1.2rem;counter-reset:step}
.timeline li{position:relative;background:var(--bg-card);border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem 1.4rem 1.4rem 4.6rem;counter-increment:step}
.timeline li::before{content:counter(step,decimal-leading-zero);position:absolute;left:1.2rem;top:1.25rem;font-size:1.05rem;font-weight:800;color:var(--ink);background:var(--amber);width:2.4rem;height:2.4rem;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(184,115,51,.4)}
.timeline strong{display:block;font-size:1.08rem;margin-bottom:.3rem}
.timeline p{margin:0;color:var(--soft);font-size:.97rem}

/* Borough elegant list */
.borough-list{list-style:none;margin:1.8rem 0 0;padding:0;border-top:1px solid var(--line)}
.borough-list li{border-bottom:1px solid var(--line)}
.borough-list a{display:flex;align-items:baseline;gap:1rem;text-decoration:none;padding:1.15rem .3rem;transition:background .15s ease,padding .15s ease}
.borough-list a:hover{background:var(--bg-card);padding-left:.7rem}
.borough-name{font-weight:800;font-size:1.12rem;flex:none;min-width:7ch}
.borough-blurb{color:var(--soft);font-size:.95rem;flex:1}
.borough-go{color:var(--amber-deep);font-weight:800;flex:none}

/* Content typography */
.content{padding:2.6rem 0 3.2rem}
.content h2{font-size:1.5rem;margin:2.6rem 0 .9rem}
.content h3{font-size:1.18rem;margin:1.8rem 0 .55rem}
.content p{margin:0 0 1.05rem;max-width:47rem;color:#2E3338}
.content ul,.content ol{max-width:47rem;margin:0 0 1.2rem;padding-left:1.35rem;color:#2E3338}
.content li{margin-bottom:.5rem}
.content li::marker{color:var(--amber-deep);font-weight:700}
.answer{background:var(--amber-soft);border:1px solid #EDDCC8;border-left:5px solid var(--amber);border-radius:0 14px 14px 0;padding:1.1rem 1.3rem;margin:0 0 1.8rem;max-width:47rem}
.answer p{margin:0;color:var(--ink)}
.disclaimer{background:#FDFDFB;border:1px solid var(--amber);border-radius:var(--radius);padding:1.3rem 1.4rem;margin:2rem 0;max-width:49rem;box-shadow:0 8px 22px rgba(184,115,51,.12)}
.disclaimer h2,.disclaimer h3{margin-top:0;font-size:1.05rem;color:var(--amber-deep)}
.disclaimer p{margin:.4rem 0 0;font-size:.96rem;color:var(--soft)}

/* FAQ */
.faq details{border:1px solid var(--line);border-radius:14px;margin-bottom:.8rem;background:var(--bg-card);max-width:50rem;overflow:hidden;transition:box-shadow .15s ease}
.faq details[open]{box-shadow:0 10px 26px rgba(34,38,43,.08)}
.faq summary{cursor:pointer;font-weight:800;padding:1.05rem 3rem 1.05rem 1.25rem;color:var(--ink);list-style:none;position:relative;font-size:1.02rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:1.1rem;top:50%;transform:translateY(-50%);color:#fff;background:var(--amber);font-size:1.15rem;font-weight:800;line-height:1;width:1.7rem;height:1.7rem;border-radius:50%;display:flex;align-items:center;justify-content:center}
.faq details[open] summary::after{content:"–";background:var(--ink);color:var(--amber)}
.faq .faq-a{padding:0 1.25rem 1.25rem;color:var(--soft)}
.faq .faq-a p{margin:.4rem 0}

/* Image CTA band */
.cta-img{position:relative;border-radius:20px;overflow:hidden;margin:2.8rem 0;color:#fff;isolation:isolate}
.cta-img img.cta-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.cta-img::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(95deg,rgba(15,17,21,.93) 20%,rgba(15,17,21,.62) 70%,rgba(15,17,21,.35) 100%)}
.cta-img-inner{padding:3rem 2rem;max-width:40rem}
.cta-img h2{color:#fff;margin:0 0 .7rem;font-size:clamp(1.5rem,3vw,2rem)}
.cta-img p{color:#E6E2D9;margin:0 0 1.5rem}

/* Inner-page CTA band */
.cta-band{background:var(--ink);color:#fff;border-radius:18px;padding:2.4rem 1.8rem;margin:2.6rem 0;text-align:center;position:relative;overflow:hidden}
.cta-band::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--amber),#D29A5B)}
.cta-band h2{color:#fff;margin:0 0 .6rem;font-size:clamp(1.4rem,2.8vw,1.8rem)}
.cta-band p{color:#DAD5C9;max-width:36rem;margin:0 auto 1.4rem}

/* Two-column helper */
.two-col{display:grid;gap:1.8rem}

/* Tables */
.table-wrap{overflow-x:auto;margin:1.3rem 0;border-radius:12px;border:1px solid var(--line)}
table{border-collapse:collapse;width:100%;max-width:50rem;font-size:.95rem;background:var(--bg-card)}
th,td{border-bottom:1px solid var(--line);padding:.65rem .85rem;text-align:left}
th{background:var(--ink);color:var(--amber);font-size:.85rem;letter-spacing:.06em;text-transform:uppercase}
tr:last-child td{border-bottom:0}
.todo-note{color:var(--muted);font-style:italic}

/* Forms */
.quote-form{background:var(--bg-card);border:1px solid var(--line);border-radius:var(--radius);padding:1.7rem;max-width:42rem;box-shadow:0 14px 34px rgba(34,38,43,.08)}
.quote-form label{display:block;font-weight:800;margin:1rem 0 .35rem;font-size:.95rem}
.quote-form input,.quote-form select,.quote-form textarea{width:100%;padding:.75rem .85rem;border:1.5px solid var(--line);border-radius:10px;font:inherit;background:#fff;color:var(--ink)}
.quote-form input:focus,.quote-form select:focus,.quote-form textarea:focus{border-color:var(--amber);outline:3px solid rgba(184,115,51,.25)}
.quote-form button{margin-top:1.3rem;width:100%}

/* Sample figures */
.sample{border:1px solid var(--line);border-radius:var(--radius);background:var(--bg-card);padding:1.3rem;margin:1.8rem 0;max-width:54rem;box-shadow:0 10px 28px rgba(34,38,43,.06)}
.sample figcaption{font-size:.92rem;color:var(--soft);margin-top:.9rem}
.sample .tag{display:inline-block;background:var(--ink);color:var(--amber);font-size:.76rem;font-weight:800;border-radius:999px;padding:.25rem .85rem;margin-bottom:.9rem;letter-spacing:.06em;text-transform:uppercase}

/* Footer */
.site-footer{background:var(--ink);color:#D5D0C4;margin-top:0;border-top:4px solid var(--amber)}
.footer-grid{display:grid;gap:2rem;padding:3rem 0 2rem}
.site-footer h2{font-size:.82rem;color:var(--amber);margin:0 0 .8rem;letter-spacing:.14em;text-transform:uppercase}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.4rem}
.site-footer a{color:#D5D0C4;text-decoration:none;font-size:.95rem}
.site-footer a:hover{color:var(--amber)}
.footer-note{font-size:.9rem;color:#8A8577;max-width:34rem}
.footer-brand{display:flex;align-items:center;gap:.7rem;margin-bottom:.8rem}
.footer-brand img{width:40px;height:40px}
.footer-brand span{font-weight:800;color:#fff;font-size:1.05rem}
.footer-base{border-top:1px solid rgba(255,255,255,.1);padding:1.2rem 0 6rem;font-size:.85rem;color:#8A8577}
.footer-base .wrap{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;justify-content:space-between}

/* Sticky mobile CTA */
.sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:90;background:rgba(34,38,43,.97);backdrop-filter:blur(8px);padding:.65rem 1rem calc(.65rem + env(safe-area-inset-bottom));display:flex;gap:.7rem;border-top:2px solid var(--amber)}
.sticky-cta .btn{flex:1;text-align:center;padding:.85rem .5rem}

/* 404 */
.notfound{text-align:center;padding:4.5rem 0;max-width:38rem;margin:0 auto}
.notfound h1{font-size:clamp(2rem,5vw,2.8rem)}
.notfound p{color:var(--soft)}
.notfound .hero-ctas{justify-content:center;margin-top:1.6rem}

@media (min-width:700px){
  .duo{grid-template-columns:1fr 1fr}
  .two-col{grid-template-columns:1fr 1fr;align-items:start}
  .svc-grid{grid-template-columns:1fr 1fr}
  .split{grid-template-columns:1fr 1fr}
  .split.flip .split-media{order:2}
  .trust-strip .wrap{grid-template-columns:repeat(4,1fr)}
  .footer-grid{grid-template-columns:1.5fr 1fr 1fr 1fr}
  .sticky-cta{display:none}
  .footer-base{padding-bottom:1.2rem}
  .hero-content{padding:5.5rem 1.25rem 4.5rem}
}
@media (min-width:1024px){
  .nav-toggle{display:none}
  .primary-nav{display:block;position:static;background:transparent;border:0;box-shadow:none}
  .primary-nav ul{flex-direction:row;align-items:center;gap:1.3rem;padding:0}
  .primary-nav a{position:relative;padding:.4rem 0}
  .primary-nav a:not(.btn):hover{color:var(--amber-deep)}
  .primary-nav a:not(.btn)::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:0;background:var(--amber);transition:width .18s ease}
  .primary-nav a:not(.btn):hover::after{width:100%}
  .primary-nav .btn-cta{margin-top:0}
  .svc-grid{grid-template-columns:repeat(3,1fr)}
  .timeline{grid-template-columns:repeat(3,1fr);gap:0}
  .timeline li{border-radius:0;border:0;border-top:3px solid var(--line);background:transparent;padding:1.6rem 1.4rem .5rem 0}
  .timeline li:first-child{padding-left:0}
  .timeline li::before{position:static;margin-bottom:.9rem}
  .timeline li+li{padding-left:1.6rem}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none !important}
}

/* ---------- v2 motion layer (Hisham-style: animated hero, scroll reveals, micro-interactions) ---------- */
.hero-circuit{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.hero-circuit .trace,.page-circuit .trace{fill:none;stroke:var(--amber);stroke-width:1.6;opacity:.55;stroke-dasharray:700;stroke-dashoffset:700;animation:trace-draw 3.4s ease forwards}
.hero-circuit .trace.d2,.page-circuit .trace.d2{animation-delay:.6s}
.hero-circuit .trace.d3{animation-delay:1.2s}
.hero-circuit .node,.page-circuit .node{fill:var(--amber);stroke:none;opacity:0;animation:node-pop .5s ease forwards;animation-delay:1.4s}
.hero-circuit .node.n2,.page-circuit .node.n2{animation-delay:2.1s}
.hero-circuit .node.n3{animation-delay:2.8s}
@keyframes trace-draw{to{stroke-dashoffset:0}}
@keyframes node-pop{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}
.page-circuit{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.35}
.page-circuit .trace{stroke-width:1.4}
html.js .hero-anim{animation:hero-in .9s ease both}
@keyframes hero-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
html.js .reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease}
html.js .reveal.visible{opacity:1;transform:none}
.svc-card .svc-icon{transition:transform .25s ease}
.svc-card:hover .svc-icon{transform:rotate(-5deg) scale(1.08)}
.content a:not(.btn){background-image:linear-gradient(var(--amber),var(--amber));background-size:0% 2px;background-repeat:no-repeat;background-position:0 100%;transition:background-size .25s ease}
.content a:not(.btn):hover{background-size:100% 2px}
/* Related links block */
.related{background:var(--bg-card);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem 1.8rem;margin:2.6rem 0}
.related h2{font-size:1.15rem;margin:1.4rem 0 .5rem}
.related h2:first-child{margin-top:0}
.related ul{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}
.related li::before{content:"→";color:var(--amber-deep);font-weight:800;margin-right:.5rem}
.related a{text-decoration:none;font-weight:700}
/* Service feature blocks (distinct layout per service page) */
.feature{background:var(--bg-card);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem 1.8rem;margin:2.2rem 0}
.feature h2{margin-top:0}
.check-list{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.check-list li{padding-left:1.9rem;position:relative;color:var(--soft)}
.check-list li::before{content:"✓";position:absolute;left:0;top:0;color:#fff;background:var(--amber);font-weight:800;width:1.35rem;height:1.35rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.8rem;line-height:1}
.feat-grid{display:grid;gap:1rem;margin-top:1rem}
.feat-card{background:var(--amber-soft);border:1px solid #EDDCC8;border-radius:12px;padding:1.2rem}
.feat-card h3{margin:0 0 .35rem;font-size:1.05rem}
.feat-card p{margin:0;color:var(--soft);font-size:.95rem}
.feat-note{font-size:.9rem;color:var(--muted);font-style:italic;margin:.8rem 0 0}
.feat-flow{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:1rem;counter-reset:flow}
.feat-flow li{position:relative;background:var(--amber-soft);border:1px solid #EDDCC8;border-radius:12px;padding:1.1rem 1.2rem 1.1rem 4rem;counter-increment:flow}
.feat-flow li::before{content:counter(flow,decimal-leading-zero);position:absolute;left:1rem;top:1rem;font-weight:800;color:var(--ink);background:var(--amber);width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.9rem}
.feat-flow strong{display:block}
.feat-flow span{color:var(--soft);font-size:.95rem}
.feat-strip-list{list-style:none;margin:1rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.6rem}
.feat-strip-list li{background:var(--ink);color:#EFE7D9;font-weight:700;border-radius:999px;padding:.5rem 1.1rem;font-size:.95rem}
/* Borough area strips (distinct layout per borough page) */
.area-strip{background:var(--bg-card);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem 1.8rem;margin:2.2rem 0}
.area-strip h2{margin-top:0}
.area-chips ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.55rem}
.area-chips li{background:var(--amber-soft);border:1px solid #EDDCC8;border-radius:999px;padding:.45rem 1rem;font-weight:700;font-size:.95rem}
.area-cols ul{list-style:none;margin:0;padding:0;display:grid;gap:.4rem}
.area-cols li{padding-left:1.4rem;position:relative;color:var(--soft)}
.area-cols li::before{content:"•";position:absolute;left:0;color:var(--amber-deep);font-weight:800}
.area-steps ol{margin:0;padding:0;display:grid;gap:.5rem;counter-reset:area}
.area-steps li{list-style:none;position:relative;padding-left:2.6rem;color:var(--soft);counter-increment:area}
.area-steps li::before{content:counter(area,decimal-leading-zero);position:absolute;left:0;top:0;font-weight:800;color:var(--amber-deep)}
.area-bordered ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.area-bordered li{border-bottom:1px solid var(--line);padding:.6rem .2rem;color:var(--soft);font-weight:600}
.area-card-row{display:flex;flex-wrap:wrap;gap:.7rem}
.area-card{background:var(--ink);color:#EFE7D9;border-radius:12px;padding:.7rem 1.2rem;font-weight:700;font-size:.95rem}
@media (min-width:700px){
  .feat-grid{grid-template-columns:repeat(3,1fr)}
  .feat-flow{grid-template-columns:repeat(3,1fr)}
  .area-cols ul{grid-template-columns:1fr 1fr}
  .related ul{grid-template-columns:1fr 1fr}
}
@media (prefers-reduced-motion:reduce){
  .hero-circuit .trace,.page-circuit .trace,.hero-circuit .node,.page-circuit .node,html.js .hero-anim{animation:none !important}
  .hero-circuit .trace,.page-circuit .trace{stroke-dashoffset:0}
  .hero-circuit .node,.page-circuit .node{opacity:1}
  html.js .reveal{opacity:1;transform:none}
}

/* ---------- v3: hero background + text motion (graphite+copper) ---------- */
.hero-media img{animation:hero-kenburns 26s ease-in-out infinite alternate;will-change:transform}
@keyframes hero-kenburns{from{transform:scale(1) translate(0,0)}to{transform:scale(1.1) translate(-1.2%,1%)}}
.page-head{animation:head-drift 36s ease-in-out infinite alternate}
@keyframes head-drift{from{background-position:center 38%}to{background-position:center 47%}}
html.js .hero-anim{animation:none}
html.js .hero-anim .hero-kicker{animation:hero-rise .8s ease both;animation-delay:.05s}
html.js .hero-anim h1{animation:hero-rise .85s ease both;animation-delay:.2s}
html.js .hero-anim .lede{animation:hero-rise .85s ease both;animation-delay:.38s}
html.js .hero-anim .hero-ctas{animation:hero-rise .85s ease both;animation-delay:.55s}
html.js .hero-anim .chips li{animation:hero-rise .7s ease both}
html.js .hero-anim .chips li:nth-child(1){animation-delay:.7s}
html.js .hero-anim .chips li:nth-child(2){animation-delay:.82s}
html.js .hero-anim .chips li:nth-child(3){animation-delay:.94s}
html.js .hero-anim .chips li:nth-child(4){animation-delay:1.06s}
@keyframes hero-rise{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .hero-media img,.page-head{animation:none !important}
  html.js .hero-anim .hero-kicker,html.js .hero-anim h1,html.js .hero-anim .lede,html.js .hero-anim .hero-ctas,html.js .hero-anim .chips li{animation:none !important;opacity:1;transform:none}
}

/* ---------- v4: continuous wires-connection motion + JS-free hero text ---------- */
.hero-circuit .flow{fill:none;stroke:#E8B06A;stroke-width:2.4;opacity:0;stroke-dasharray:8 92;filter:drop-shadow(0 0 6px rgba(232,176,106,.8));animation:flow-travel 5s linear infinite}
.hero-circuit .flow.f2{animation-delay:1.6s}
.hero-circuit .flow.f3{animation-delay:3.2s}
@keyframes flow-travel{0%{stroke-dashoffset:0;opacity:0}6%{opacity:.95}94%{opacity:.95}100%{stroke-dashoffset:-100;opacity:0}}
.hero-circuit .node{transform-box:fill-box;transform-origin:center;animation:node-pop .5s ease forwards,node-pulse 2.6s ease-in-out infinite}
.hero-circuit .node{animation-delay:1.4s,2.2s}
.hero-circuit .node.n2{animation-delay:2.1s,2.9s}
.hero-circuit .node.n3{animation-delay:2.8s,3.6s}
@keyframes node-pulse{0%,100%{opacity:.95;transform:scale(1)}50%{opacity:.35;transform:scale(1.7)}}
.hero-anim{animation:none}
.hero-anim .hero-kicker{animation:hero-rise .8s ease both;animation-delay:.05s}
.hero-anim h1{animation:hero-rise .85s ease both;animation-delay:.2s}
.hero-anim .lede{animation:hero-rise .85s ease both;animation-delay:.38s}
.hero-anim .hero-ctas{animation:hero-rise .85s ease both;animation-delay:.55s}
.hero-anim .chips li{animation:hero-rise .7s ease both}
.hero-anim .chips li:nth-child(1){animation-delay:.7s}
.hero-anim .chips li:nth-child(2){animation-delay:.82s}
.hero-anim .chips li:nth-child(3){animation-delay:.94s}
.hero-anim .chips li:nth-child(4){animation-delay:1.06s}
.hero-ctas .btn-cta{animation:cta-glow 3.2s ease-in-out infinite}
@keyframes cta-glow{0%,100%{box-shadow:0 0 0 0 rgba(184,115,51,.45)}50%{box-shadow:0 0 0 14px rgba(184,115,51,0)}}
@media (prefers-reduced-motion:reduce){
  .hero-anim .hero-kicker,.hero-anim h1,.hero-anim .lede,.hero-anim .hero-ctas,.hero-anim .chips li,.hero-ctas .btn-cta{animation:none !important;opacity:1;transform:none;box-shadow:none}
  .hero-circuit .flow{animation:none !important;opacity:0}
}

/* ---------- v5: wires visibly connecting, one after another (12s loop) ---------- */
.hero-circuit{animation:circuit-cycle 12s linear infinite}
@keyframes circuit-cycle{0%{opacity:0}3%{opacity:1}92%{opacity:1}97%{opacity:0}100%{opacity:0}}
.hero-circuit .wire{fill:none;stroke:#E8B06A;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:100;opacity:.95;filter:drop-shadow(0 0 7px rgba(232,176,106,.9))}
.hero-circuit .wire-a{animation:wire-draw-a 12s linear infinite}
@keyframes wire-draw-a{0%{stroke-dashoffset:100}13.3%{stroke-dashoffset:0}100%{stroke-dashoffset:0}}
.hero-circuit .wire-b{animation:wire-draw-b 12s linear infinite}
@keyframes wire-draw-b{0%,15%{stroke-dashoffset:100}28.3%{stroke-dashoffset:0}100%{stroke-dashoffset:0}}
.hero-circuit .wire-c{animation:wire-draw-c 12s linear infinite}
@keyframes wire-draw-c{0%,30%{stroke-dashoffset:100}43.3%{stroke-dashoffset:0}100%{stroke-dashoffset:0}}
.hero-circuit .wire-bus{animation:wire-draw-bus 12s linear infinite}
@keyframes wire-draw-bus{0%,45%{stroke-dashoffset:100}58.3%{stroke-dashoffset:0}100%{stroke-dashoffset:0}}
.hero-circuit .flow{animation:flow-travel 4s linear infinite;animation-delay:1.7s}
.hero-circuit .flow.f2{animation-delay:3.5s}
.hero-circuit .flow.f3{animation-delay:5.3s}
.hero-circuit .flow.fbus{animation-delay:7.1s}
.hero-circuit .joint-dot{fill:#F5C47E;opacity:0;transform-box:fill-box;transform-origin:center}
.hero-circuit .dot-a{animation:dot-a 12s linear infinite,node-pulse 2.6s ease-in-out 2s infinite}
@keyframes dot-a{0%,13.2%{opacity:0}13.3%,100%{opacity:1}}
.hero-circuit .dot-b{animation:dot-b 12s linear infinite,node-pulse 2.6s ease-in-out 3.8s infinite}
@keyframes dot-b{0%,28.2%{opacity:0}28.3%,100%{opacity:1}}
.hero-circuit .dot-c{animation:dot-c 12s linear infinite,node-pulse 2.6s ease-in-out 5.6s infinite}
@keyframes dot-c{0%,43.2%{opacity:0}43.3%,100%{opacity:1}}
.hero-circuit .joint-ring{fill:none;stroke:#F5C47E;stroke-width:2.5;opacity:0;transform-box:fill-box;transform-origin:center}
.hero-circuit .ring-a{animation:ring-a 12s linear infinite}
@keyframes ring-a{0%,13.2%{opacity:0;transform:scale(.6)}13.3%{opacity:.95;transform:scale(.6)}18.3%{opacity:0;transform:scale(2.6)}100%{opacity:0}}
.hero-circuit .ring-b{animation:ring-b 12s linear infinite}
@keyframes ring-b{0%,28.2%{opacity:0;transform:scale(.6)}28.3%{opacity:.95;transform:scale(.6)}33.3%{opacity:0;transform:scale(2.6)}100%{opacity:0}}
.hero-circuit .ring-c{animation:ring-c 12s linear infinite}
@keyframes ring-c{0%,43.2%{opacity:0;transform:scale(.6)}43.3%{opacity:.95;transform:scale(.6)}48.3%{opacity:0;transform:scale(2.6)}100%{opacity:0}}
.hero-circuit .comp-box{fill:#22262B;stroke:#E8B06A;stroke-width:2}
@media (prefers-reduced-motion:reduce){
  .hero-circuit{animation:none !important;opacity:1}
  .hero-circuit .wire{animation:none !important;stroke-dashoffset:0}
  .hero-circuit .comp-box{opacity:1}
  .hero-circuit .joint-dot{animation:none !important;opacity:1}
  .hero-circuit .joint-ring{animation:none !important;opacity:0}
}

/* ---------- v7: dense wire network over the photo + animated cursor ---------- */
.hero-circuit .dw{fill:none;stroke:#F0BE78;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:100;opacity:.92;filter:drop-shadow(0 0 6px rgba(240,190,120,.85));animation:dw-draw 1.3s ease forwards}
@keyframes dw-draw{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
.hero-circuit .flow{animation:flow-travel 4s linear infinite}
.hero-circuit .dn{fill:#F5C47E;opacity:0;transform-box:fill-box;transform-origin:center;animation:node-pop .5s ease forwards,node-pulse 2.6s ease-in-out infinite}
.cursor-dot,.cursor-ring{position:fixed;top:0;left:0;pointer-events:none;z-index:9999;border-radius:50%;display:none}
html.has-cursor .cursor-dot,html.has-cursor .cursor-ring{display:block}
html.has-cursor .cursor-dot{width:8px;height:8px;background:#E8B06A;box-shadow:0 0 10px rgba(232,176,106,.9)}
html.has-cursor .cursor-ring{width:38px;height:38px;border:1.5px solid rgba(232,176,106,.9);transition:width .25s,height .25s,background .25s}
html.has-cursor .cursor-ring.is-hover{width:56px;height:56px;background:rgba(232,176,106,.12)}
html.has-cursor .cursor-hide{opacity:0}
@media (hover:hover) and (pointer:fine){
  html.has-cursor body{cursor:none}
  html.has-cursor a,html.has-cursor button,html.has-cursor .btn{cursor:none}
  html.has-cursor input,html.has-cursor textarea,html.has-cursor select{cursor:auto}
}
@media (prefers-reduced-motion:reduce){
  .hero-circuit .dw{animation:none !important;stroke-dashoffset:0}
  .hero-circuit .dn{animation:none !important;opacity:1}
}

/* ---------- v7: Our Work + Happy Clients sections ---------- */
.work-grid,.client-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.1rem;margin-top:1.4rem}
.work-card,.client-card{background:var(--bg-card);border:1px solid var(--line);border-top:3px solid var(--amber);border-radius:10px;padding:1.2rem 1.25rem}
.work-card h3,.client-card h3{margin:0 0 .45rem;font-size:1.08rem}
.work-card h3 a{color:inherit;text-decoration:none}
.work-card h3 a:hover{color:var(--amber)}
.work-card p,.client-card p{margin:0;color:var(--muted)}

/* ---------- v7: website assistant chatbot ---------- */
.chat-toggle{position:fixed;right:20px;bottom:24px;z-index:9000;width:60px;height:60px;border-radius:50%;border:0;background:var(--amber);color:var(--ink);box-shadow:0 10px 28px rgba(184,115,51,.45);cursor:pointer;display:flex;align-items:center;justify-content:center}
.chat-toggle svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8}
.chat-toggle:hover{background:#C98A4B}
.chat-panel{position:fixed;right:20px;bottom:96px;z-index:9000;width:min(360px,calc(100vw - 40px));height:480px;max-height:calc(100vh - 130px);background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 60px rgba(34,38,43,.25);display:flex;flex-direction:column;overflow:hidden}
.chat-panel[hidden]{display:none}
.chat-head{background:var(--ink);color:#fff;padding:.9rem 1rem;position:relative}
.chat-head strong{display:block}
.chat-head span{font-size:.8rem;color:#D2CDC0}
.chat-close{position:absolute;right:.7rem;top:.6rem;background:transparent;border:0;color:#fff;font-size:1.4rem;cursor:pointer;line-height:1}
.chat-messages{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.6rem}
.chat-msg{max-width:85%;padding:.6rem .8rem;border-radius:12px;font-size:.92rem;line-height:1.45}
.chat-msg.bot{background:var(--bg-card);border:1px solid var(--line);align-self:flex-start}
.chat-msg.user{background:var(--amber);color:var(--ink);align-self:flex-end}
.chat-msg a{color:var(--amber-deep);font-weight:700}
.chat-chips{display:flex;flex-wrap:wrap;gap:.4rem;padding:.6rem .8rem;border-top:1px solid var(--line)}
.chat-chips button{font-size:.8rem;padding:.4rem .7rem;border-radius:999px;border:1px solid var(--line);background:var(--bg-card);cursor:pointer}
.chat-chips button:hover{border-color:var(--amber)}
.chat-form{display:flex;gap:.5rem;padding:.7rem;border-top:1px solid var(--line)}
.chat-form input{flex:1;min-width:0;padding:.65rem .8rem;border:1px solid var(--line);border-radius:10px;font-size:.95rem}
.chat-form button{background:var(--amber);color:var(--ink);border:0;border-radius:10px;padding:.65rem 1rem;font-weight:800;cursor:pointer}
@media (max-width:700px){
  .chat-toggle{bottom:84px;right:16px;width:54px;height:54px}
  .chat-panel{right:16px;bottom:148px}
}
