/* ==========================================================================
   MMM Electrical Services Ltd — Glasgow
   Single stylesheet. Dark-committed brand: charcoal / white / electric green.
   ========================================================================== */

:root{
  /* Ground + surfaces (charcoal with a faint green bias, not neutral grey) */
  --ink-900:#080A09;
  --ink-850:#0D100E;
  --ink-800:#121614;
  --ink-750:#181D1A;
  --ink-700:#1F2622;
  --line:#2A332D;
  --line-soft:#212822;

  /* Text */
  --white:#FFFFFF;
  --text:#E8EDE9;
  --text-2:#A9B4AD;
  --text-3:#78847C;

  /* Brand */
  --volt:#3CE97A;
  --volt-bright:#5BFF95;
  --volt-deep:#16A34A;
  --volt-glow:rgba(60,233,122,.18);
  --amber:#FFB020;
  --red:#FF5A47;

  /* Type */
  --display:"Archivo","Helvetica Neue",Arial,sans-serif;
  --body:"Public Sans","Helvetica Neue",Arial,sans-serif;
  --mono:"JetBrains Mono","SFMono-Regular",Menlo,monospace;

  /* Rhythm */
  --pad:clamp(20px,5vw,40px);
  --maxw:1240px;
  --r-sm:4px;
  --r-md:8px;
  --r-lg:14px;
  --sticky-h:64px;
}

*,*::before,*::after{box-sizing:border-box}

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

body{
  margin:0;
  background:var(--ink-900);
  color:var(--text);
  font-family:var(--body);
  font-size:16.5px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}

:focus-visible{outline:2px solid var(--volt);outline-offset:3px;border-radius:2px}

/* --------------------------------------------------------------- Typography */

h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:800;
  font-stretch:112%;
  line-height:1.04;
  letter-spacing:-.02em;
  text-wrap:balance;
  margin:0;
  color:var(--white);
}
h1{font-size:clamp(2.4rem,6.2vw,4.35rem);letter-spacing:-.035em}
h2{font-size:clamp(1.85rem,4vw,2.9rem);letter-spacing:-.03em}
h3{font-size:clamp(1.2rem,2.1vw,1.5rem);letter-spacing:-.015em;font-stretch:105%}
h4{font-size:1.05rem;font-stretch:100%;letter-spacing:-.01em}

p{margin:0 0 1.05em}
p:last-child{margin-bottom:0}

.lede{font-size:clamp(1.06rem,1.7vw,1.28rem);line-height:1.6;color:var(--text-2);max-width:64ch}
.measure{max-width:68ch}
.muted{color:var(--text-2)}

.eyebrow{
  font-family:var(--mono);
  font-size:.72rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--volt);
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 18px;
  font-weight:500;
}
.eyebrow::before{
  content:"";width:26px;height:2px;background:var(--volt);flex:none;
}
.eyebrow--plain::before{display:none}

/* ------------------------------------------------------------------ Layout */

.wrap{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad)}
.section{padding-block:clamp(56px,8vw,104px)}
.section--tight{padding-block:clamp(40px,5vw,64px)}
.section--alt{background:var(--ink-850);border-block:1px solid var(--line-soft)}
.section-head{max-width:70ch;margin-bottom:clamp(32px,4vw,52px)}
.section-head p{color:var(--text-2);margin-top:16px;font-size:1.05rem}

.grid{display:grid;gap:clamp(14px,1.6vw,20px)}
.g-2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.g-3{grid-template-columns:repeat(auto-fit,minmax(268px,1fr))}
.g-4{grid-template-columns:repeat(auto-fit,minmax(215px,1fr))}

.split{display:grid;grid-template-columns:1fr;gap:clamp(28px,4vw,64px);align-items:start}
@media (min-width:900px){.split{grid-template-columns:1.05fr .95fr}}
@media (min-width:900px){.split--narrow{grid-template-columns:1fr 380px}}

/* Conductor rule — brown / blue / green-yellow, the UK cable core colours */
.cores{height:2px;display:flex;width:100%;opacity:.55}
.cores i{flex:1}
.cores i:nth-child(1){background:#8A5230}
.cores i:nth-child(2){background:#2563C7}
.cores i:nth-child(3){background:linear-gradient(90deg,#3FA02C 0 50%,#E9D02A 50% 100%)}

/* ----------------------------------------------------------------- Buttons */

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:var(--display);font-weight:700;font-stretch:105%;
  font-size:.94rem;letter-spacing:.02em;text-transform:uppercase;
  padding:15px 26px;border-radius:var(--r-md);border:1.5px solid transparent;
  cursor:pointer;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
  line-height:1;white-space:nowrap;
}
.btn svg{width:17px;height:17px;flex:none}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0)}

.btn--primary{background:var(--volt);color:#06210F;box-shadow:0 0 0 0 var(--volt-glow)}
.btn--primary:hover{background:var(--volt-bright);box-shadow:0 10px 30px -10px var(--volt-glow)}

.btn--ghost{background:transparent;color:var(--white);border-color:var(--line)}
.btn--ghost:hover{border-color:var(--volt);color:var(--volt)}

.btn--solid{background:var(--white);color:var(--ink-900)}
.btn--solid:hover{background:var(--volt)}

.btn--emergency{background:transparent;color:var(--amber);border-color:rgba(255,176,32,.45)}
.btn--emergency:hover{background:var(--amber);color:#231600;border-color:var(--amber)}

.btn--lg{padding:18px 32px;font-size:1rem}
.btn--block{width:100%}

.btn-row{display:flex;flex-wrap:wrap;gap:12px}

.txt-link{
  color:var(--volt);font-weight:600;border-bottom:1px solid rgba(60,233,122,.35);
  transition:border-color .15s ease,color .15s ease;
}
.txt-link:hover{border-color:var(--volt);color:var(--volt-bright)}

/* ------------------------------------------------------------------ Header */

.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(8,10,9,.82);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line-soft);
}
.header-bar{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  height:var(--sticky-h);
}
@media (min-width:1080px){.header-bar{height:76px}}

.brand{display:flex;align-items:center;gap:11px;flex:none}
.brand-mark{
  width:38px;height:38px;border-radius:9px;flex:none;
  background:linear-gradient(150deg,var(--volt) 0%,var(--volt-deep) 100%);
  display:grid;place-items:center;
}
.brand-mark svg{width:20px;height:20px}
.brand-name{
  font-family:var(--display);font-weight:800;font-stretch:118%;
  font-size:1.02rem;letter-spacing:-.02em;color:var(--white);line-height:1.05;
}
.brand-name span{display:block;font-family:var(--mono);font-weight:400;font-stretch:100%;
  font-size:.6rem;letter-spacing:.19em;color:var(--text-3);text-transform:uppercase;margin-top:3px}

.nav{display:none}
@media (min-width:1080px){
  .nav{display:flex;align-items:center;gap:4px}
}
.nav a{
  padding:9px 13px;border-radius:6px;font-size:.9rem;font-weight:600;color:var(--text-2);
  transition:color .15s ease,background .15s ease;
}
.nav a:hover{color:var(--white);background:var(--ink-750)}
.nav a[aria-current="page"]{color:var(--volt)}

.has-menu{position:relative}
.has-menu>button{
  display:flex;align-items:center;gap:6px;background:none;border:0;cursor:pointer;
  padding:9px 13px;border-radius:6px;font:inherit;font-size:.9rem;font-weight:600;
  color:var(--text-2);font-family:var(--body);transition:color .15s ease,background .15s ease;
}
.has-menu>button:hover{color:var(--white);background:var(--ink-750)}
.has-menu>button svg{width:11px;height:11px;transition:transform .2s ease}
.has-menu:hover>button svg{transform:rotate(180deg)}
.dropdown{
  position:absolute;top:calc(100% + 8px);left:0;min-width:290px;
  background:var(--ink-800);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:8px;box-shadow:0 26px 60px -18px rgba(0,0,0,.85);
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s;
}
.has-menu:hover .dropdown,.has-menu:focus-within .dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown a{display:block;padding:9px 12px;font-size:.88rem;color:var(--text-2);border-radius:6px}
.dropdown a:hover{background:var(--ink-750);color:var(--volt)}

.header-cta{display:none;align-items:center;gap:12px}
@media (min-width:1080px){.header-cta{display:flex}}
.header-phone{
  display:flex;flex-direction:column;line-height:1.15;text-align:right;
}
.header-phone small{font-family:var(--mono);font-size:.6rem;letter-spacing:.15em;text-transform:uppercase;color:var(--text-3)}
.header-phone strong{font-family:var(--display);font-stretch:110%;font-size:1.06rem;color:var(--white);letter-spacing:-.01em}
.header-phone:hover strong{color:var(--volt)}

.burger{
  display:grid;place-items:center;width:44px;height:44px;flex:none;
  background:var(--ink-750);border:1px solid var(--line);border-radius:9px;cursor:pointer;
}
@media (min-width:1080px){.burger{display:none}}
.burger span{display:block;width:18px;height:2px;background:var(--white);border-radius:2px;transition:transform .2s ease,opacity .2s ease}
.burger span+span{margin-top:4px}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.mobile-nav{
  position:fixed;inset:var(--sticky-h) 0 0;z-index:55;
  background:var(--ink-900);overflow-y:auto;padding:22px var(--pad) 120px;
  display:none;
}
.mobile-nav.is-open{display:block}
.mobile-nav h5{
  font-family:var(--mono);font-size:.67rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--text-3);margin:26px 0 8px;font-weight:500;
}
.mobile-nav h5:first-child{margin-top:0}
.mobile-nav a{
  display:block;padding:12px 2px;font-size:1.02rem;font-weight:600;
  border-bottom:1px solid var(--line-soft);color:var(--text);
}
.mobile-nav a:hover{color:var(--volt)}
.mobile-nav .btn{margin-top:22px}

/* ------------------------------------------------------------- Mobile bar */

.mobile-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:70;
  display:grid;grid-template-columns:repeat(3,1fr);
  background:var(--ink-850);border-top:1px solid var(--line);
  padding-bottom:env(safe-area-inset-bottom);
}
@media (min-width:1080px){.mobile-bar{display:none}}
.mobile-bar a{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  padding:11px 4px;font-family:var(--display);font-weight:700;font-size:.7rem;
  letter-spacing:.08em;text-transform:uppercase;color:var(--text-2);
  border-right:1px solid var(--line-soft);
}
.mobile-bar a:last-child{border-right:0}
.mobile-bar a svg{width:19px;height:19px}
.mobile-bar a.is-call{color:var(--volt)}
.mobile-bar a.is-quote{background:var(--volt);color:#06210F}
body{padding-bottom:64px}
@media (min-width:1080px){body{padding-bottom:0}}

/* -------------------------------------------------------------------- Hero */

.hero{position:relative;overflow:hidden;background:var(--ink-900);isolation:isolate}
.hero::before{
  content:"";position:absolute;inset:0;z-index:-2;
  background:
    radial-gradient(900px 460px at 78% 8%,rgba(60,233,122,.14),transparent 62%),
    radial-gradient(700px 500px at 6% 96%,rgba(60,233,122,.06),transparent 60%);
}
.hero::after{
  content:"";position:absolute;inset:0;z-index:-1;opacity:.5;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(950px 620px at 60% 20%,#000,transparent 78%);
  -webkit-mask-image:radial-gradient(950px 620px at 60% 20%,#000,transparent 78%);
}
.hero-inner{padding-block:clamp(48px,7vw,92px)}
.hero h1{margin-bottom:22px}
.hero h1 em{font-style:normal;color:var(--volt)}
.hero .lede{margin-bottom:30px;font-size:clamp(1.06rem,1.65vw,1.24rem)}
.hero .btn-row{margin-bottom:34px}

.hero-panel{
  border:1px solid var(--line);border-radius:var(--r-lg);background:var(--ink-850);
  overflow:hidden;
}
.hero-panel-head{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:14px 18px;border-bottom:1px solid var(--line);background:var(--ink-800);
}
.hero-panel-head span{font-family:var(--mono);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--text-3)}
.hero-panel-body{padding:20px 18px}

.status-dot{width:8px;height:8px;border-radius:50%;background:var(--volt);flex:none;
  box-shadow:0 0 0 0 rgba(60,233,122,.55);animation:pulse 2.4s infinite}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(60,233,122,.5)}
  70%{box-shadow:0 0 0 9px rgba(60,233,122,0)}
  100%{box-shadow:0 0 0 0 rgba(60,233,122,0)}
}

/* Trust strip */
.trust{
  display:flex;flex-wrap:wrap;gap:10px 12px;list-style:none;padding:0;margin:0;
}
.trust li{
  display:flex;align-items:center;gap:8px;
  font-size:.85rem;font-weight:600;color:var(--text-2);
  background:var(--ink-800);border:1px solid var(--line-soft);
  padding:8px 13px;border-radius:100px;
}
.trust li svg{width:14px;height:14px;color:var(--volt);flex:none}

/* --------------------------------------------------------------- Stat band */

.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line-soft);
  border:1px solid var(--line-soft);border-radius:var(--r-lg);overflow:hidden}
@media (min-width:760px){.stats{grid-template-columns:repeat(4,1fr)}}
.stats div{background:var(--ink-850);padding:22px 20px}
.stats strong{
  display:block;font-family:var(--display);font-weight:800;font-stretch:115%;
  font-size:clamp(1.7rem,3.4vw,2.3rem);color:var(--volt);letter-spacing:-.03em;line-height:1;
  font-variant-numeric:tabular-nums;
}
.stats span{display:block;margin-top:9px;font-size:.83rem;color:var(--text-2);line-height:1.4}

/* ------------------------------------------------------------------- Cards */

.card{
  position:relative;display:flex;flex-direction:column;
  background:var(--ink-850);border:1px solid var(--line-soft);border-radius:var(--r-lg);
  padding:24px 22px 22px;transition:border-color .2s ease,background .2s ease,transform .2s ease;
}
a.card:hover{border-color:rgba(60,233,122,.4);background:var(--ink-800);transform:translateY(-3px)}
.card-icon{
  width:42px;height:42px;border-radius:10px;display:grid;place-items:center;
  background:rgba(60,233,122,.1);border:1px solid rgba(60,233,122,.22);margin-bottom:16px;
}
.card-icon svg{width:20px;height:20px;color:var(--volt)}
.card h3{margin-bottom:9px}
.card p{font-size:.93rem;color:var(--text-2);line-height:1.6;margin-bottom:16px}
.card-more{
  margin-top:auto;font-family:var(--mono);font-size:.72rem;letter-spacing:.12em;
  text-transform:uppercase;color:var(--volt);display:flex;align-items:center;gap:7px;
}
.card-more svg{width:13px;height:13px;transition:transform .2s ease}
a.card:hover .card-more svg{transform:translateX(4px)}

/* Compact service chips */
.chips{display:flex;flex-wrap:wrap;gap:9px;list-style:none;padding:0;margin:0}
.chips li a,.chips li span{
  display:block;padding:9px 15px;border-radius:100px;font-size:.87rem;font-weight:600;
  background:var(--ink-800);border:1px solid var(--line-soft);color:var(--text-2);
  transition:border-color .18s ease,color .18s ease;
}
.chips li a:hover{border-color:var(--volt);color:var(--volt)}

/* Why-choose list */
.why{list-style:none;padding:0;margin:0;display:grid;gap:1px;background:var(--line-soft);
  border:1px solid var(--line-soft);border-radius:var(--r-lg);overflow:hidden}
@media (min-width:700px){.why{grid-template-columns:1fr 1fr}}
.why li{background:var(--ink-850);padding:22px 22px}
.why h4{color:var(--white);margin-bottom:7px;display:flex;align-items:center;gap:9px}
.why h4 svg{width:16px;height:16px;color:var(--volt);flex:none}
.why p{font-size:.9rem;color:var(--text-2);line-height:1.6}

/* ---------------------------------------------------------------- Projects */

.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}
.filters button{
  font-family:var(--mono);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;
  padding:9px 15px;border-radius:100px;cursor:pointer;
  background:transparent;border:1px solid var(--line);color:var(--text-2);
  transition:all .16s ease;
}
.filters button:hover{border-color:var(--volt);color:var(--volt)}
.filters button[aria-pressed="true"]{background:var(--volt);border-color:var(--volt);color:#06210F;font-weight:600}

.project{
  display:block;border:1px solid var(--line-soft);border-radius:var(--r-lg);
  overflow:hidden;background:var(--ink-850);transition:border-color .2s ease,transform .2s ease;
}
.project:hover{border-color:rgba(60,233,122,.4);transform:translateY(-3px)}
.project-img{
  position:relative;aspect-ratio:4/3;background:var(--ink-750);
  display:grid;place-items:center;overflow:hidden;
}
.project-img img{width:100%;height:100%;object-fit:cover}
/* Designed category tile — used until real job photos are dropped in */
.project-img.is-graphic{
  background:
    linear-gradient(140deg,var(--ink-700) 0%,var(--ink-800) 55%,var(--ink-850) 100%);
}
.project-img.is-graphic::before{
  content:"";position:absolute;inset:0;opacity:.4;
  background-image:repeating-linear-gradient(115deg,transparent 0 22px,rgba(60,233,122,.07) 22px 23px);
}
.project-img.is-graphic::after{
  content:"";position:absolute;inset:0;
  background:radial-gradient(300px 200px at 70% 20%,rgba(60,233,122,.14),transparent 70%);
}
.project-glyph{position:relative;z-index:1;display:grid;place-items:center;gap:14px;text-align:center;padding:20px}
.project-glyph svg{width:44px;height:44px;color:var(--volt);opacity:.85}
.project-glyph span{
  font-family:var(--mono);font-size:.63rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--text-3);
}
.project-tag{
  position:absolute;top:12px;left:12px;background:rgba(8,10,9,.85);backdrop-filter:blur(6px);
  border:1px solid var(--line);border-radius:100px;padding:5px 11px;
  font-family:var(--mono);font-size:.63rem;letter-spacing:.12em;text-transform:uppercase;color:var(--volt);
}
.project-body{padding:17px 18px}
.project-body h3{font-size:1.05rem;margin-bottom:5px}
.project-body p{font-size:.86rem;color:var(--text-3);margin:0}

/* Before / after slider */
.ba{position:relative;aspect-ratio:16/10;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line);background:var(--ink-750)}
.ba figure{position:absolute;inset:0;margin:0;display:grid;place-items:center;font-family:var(--mono);
  font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--text-3)}
.ba figure img{width:100%;height:100%;object-fit:cover}
.ba .after{clip-path:inset(0 0 0 50%);background:var(--ink-800)}
.ba input[type="range"]{position:absolute;inset:auto 0 0;width:100%;margin:0;bottom:50%;
  transform:translateY(50%);appearance:none;background:transparent;z-index:3;cursor:ew-resize}
.ba input[type="range"]::-webkit-slider-thumb{appearance:none;width:34px;height:34px;border-radius:50%;
  background:var(--volt);border:3px solid var(--ink-900);cursor:ew-resize}
.ba input[type="range"]::-moz-range-thumb{width:34px;height:34px;border-radius:50%;
  background:var(--volt);border:3px solid var(--ink-900);cursor:ew-resize}
.ba-line{position:absolute;top:0;bottom:0;left:50%;width:2px;background:var(--volt);z-index:2;pointer-events:none}
.ba-label{position:absolute;top:12px;font-family:var(--mono);font-size:.63rem;letter-spacing:.12em;
  text-transform:uppercase;background:rgba(8,10,9,.8);padding:4px 10px;border-radius:100px;z-index:4;color:var(--text-2)}
.ba-label.l{left:12px}
.ba-label.r{right:12px}

/* ----------------------------------------------------------------- Reviews */

.stars{display:flex;gap:3px;color:var(--volt)}
.stars svg{width:16px;height:16px}
.review{
  background:var(--ink-850);border:1px solid var(--line-soft);border-radius:var(--r-lg);
  padding:24px 22px;display:flex;flex-direction:column;gap:14px;
}
.review blockquote{margin:0;font-size:1rem;line-height:1.65;color:var(--text)}
.review footer{display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:6px}
.review-avatar{
  width:38px;height:38px;border-radius:50%;flex:none;display:grid;place-items:center;
  background:var(--ink-700);color:var(--volt);font-family:var(--display);font-weight:800;font-size:.9rem;
}
.review footer div strong{display:block;font-size:.9rem;color:var(--white)}
.review footer div span{font-size:.78rem;color:var(--text-3)}

.rating-summary{
  display:flex;flex-wrap:wrap;align-items:center;gap:18px;
  background:var(--ink-850);border:1px solid var(--line-soft);border-radius:var(--r-lg);padding:22px 24px;
}
.rating-summary .score{font-family:var(--display);font-weight:800;font-stretch:115%;
  font-size:2.6rem;line-height:1;color:var(--white);font-variant-numeric:tabular-nums}

/* --------------------------------------------------------------- Editable */

.ph{
  color:var(--amber);border-bottom:1px dashed rgba(255,176,32,.5);
  font-style:normal;
}
.note-block{
  border:1px dashed rgba(255,176,32,.4);background:rgba(255,176,32,.05);
  border-radius:var(--r-md);padding:16px 18px;font-size:.88rem;color:var(--text-2);
}
.note-block strong{color:var(--amber)}

/* --------------------------------------------------------------- Areas */

.areas{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1px;
  background:var(--line-soft);border:1px solid var(--line-soft);border-radius:var(--r-lg);overflow:hidden}
.areas div{background:var(--ink-850);padding:14px 16px;font-size:.9rem;font-weight:600;color:var(--text-2);
  display:flex;align-items:center;gap:9px;transition:background .16s ease,color .16s ease}
.areas div:hover{background:var(--ink-800);color:var(--white)}
.areas div::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--volt);flex:none}

/* ------------------------------------------------------------------- Steps */

.steps{list-style:none;padding:0;margin:0;counter-reset:s;display:grid;gap:1px;
  background:var(--line-soft);border:1px solid var(--line-soft);border-radius:var(--r-lg);overflow:hidden}
@media (min-width:820px){.steps{grid-template-columns:repeat(4,1fr)}}
.steps li{background:var(--ink-850);padding:26px 22px;counter-increment:s}
.steps li::before{
  content:counter(s,decimal-leading-zero);
  display:block;font-family:var(--mono);font-size:.8rem;letter-spacing:.1em;
  color:var(--volt);margin-bottom:14px;
}
.steps h4{margin-bottom:7px}
.steps p{font-size:.89rem;color:var(--text-2);line-height:1.6}

/* --------------------------------------------------------------------- FAQ */

.faq{border-top:1px solid var(--line-soft)}
.faq details{border-bottom:1px solid var(--line-soft)}
.faq summary{
  list-style:none;cursor:pointer;padding:20px 44px 20px 0;position:relative;
  font-family:var(--display);font-weight:700;font-stretch:105%;font-size:1.06rem;color:var(--white);
  letter-spacing:-.01em;line-height:1.35;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";position:absolute;right:6px;top:26px;width:11px;height:11px;
  border-right:2px solid var(--volt);border-bottom:2px solid var(--volt);
  transform:rotate(45deg);transition:transform .2s ease;
}
.faq details[open] summary::after{transform:rotate(-135deg);top:30px}
.faq summary:hover{color:var(--volt)}
.faq-body{padding:0 44px 22px 0;color:var(--text-2);font-size:.97rem;line-height:1.7;max-width:74ch}

/* -------------------------------------------------------------------- Form */

.form-card{
  background:var(--ink-850);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:clamp(22px,3vw,34px);
}
.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}
.field label{font-size:.83rem;font-weight:700;color:var(--text);letter-spacing:.01em}
.field label .req{color:var(--volt)}
.field small{font-size:.76rem;color:var(--text-3)}
.field input,.field select,.field textarea{
  font-family:var(--body);font-size:1rem;color:var(--white);
  background:var(--ink-800);border:1px solid var(--line);border-radius:var(--r-md);
  padding:13px 14px;width:100%;transition:border-color .16s ease,background .16s ease;
}
.field input::placeholder,.field textarea::placeholder{color:var(--text-3)}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--volt);background:var(--ink-750);
}
.field textarea{min-height:120px;resize:vertical;line-height:1.6}
.field select{appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233CE97A' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:12px;padding-right:38px}
.field input[type="file"]{padding:10px;font-size:.9rem;color:var(--text-2)}
.field-row{display:grid;gap:16px}
@media (min-width:620px){.field-row{grid-template-columns:1fr 1fr}}

.radio-row{display:flex;flex-wrap:wrap;gap:9px}
.radio-row label{
  display:flex;align-items:center;gap:8px;padding:10px 15px;border-radius:100px;cursor:pointer;
  background:var(--ink-800);border:1px solid var(--line);font-size:.88rem;font-weight:600;color:var(--text-2);
  transition:all .16s ease;
}
.radio-row input{position:absolute;opacity:0;width:0;height:0}
.radio-row label:has(input:checked){border-color:var(--volt);color:var(--volt);background:rgba(60,233,122,.08)}
.radio-row label:hover{border-color:var(--text-3)}

.form-legal{font-size:.79rem;color:var(--text-3);margin-top:14px;line-height:1.6}

.contact-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.contact-list li a,.contact-list li div{
  display:flex;align-items:center;gap:14px;padding:16px 18px;
  background:var(--ink-850);border:1px solid var(--line-soft);border-radius:var(--r-lg);
  transition:border-color .18s ease;
}
.contact-list li a:hover{border-color:var(--volt)}
.contact-list .ic{width:38px;height:38px;border-radius:9px;display:grid;place-items:center;flex:none;
  background:rgba(60,233,122,.1);border:1px solid rgba(60,233,122,.2)}
.contact-list .ic svg{width:18px;height:18px;color:var(--volt)}
.contact-list small{display:block;font-family:var(--mono);font-size:.63rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--text-3);margin-bottom:3px}
.contact-list strong{font-family:var(--display);font-stretch:108%;font-size:1.04rem;color:var(--white);letter-spacing:-.01em}

/* --------------------------------------------------------------- CTA band */

.cta-band{
  position:relative;overflow:hidden;border-radius:var(--r-lg);
  border:1px solid rgba(60,233,122,.28);
  background:linear-gradient(135deg,var(--ink-800) 0%,var(--ink-850) 60%);
  padding:clamp(30px,5vw,54px);
}
.cta-band::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(600px 300px at 88% 12%,rgba(60,233,122,.14),transparent 65%);
  pointer-events:none;
}
.cta-band>*{position:relative}
.cta-band h2{margin-bottom:14px}
.cta-band p{color:var(--text-2);max-width:58ch;margin-bottom:26px;font-size:1.05rem}

/* ------------------------------------------------------------- Breadcrumbs */

.crumbs{padding-block:16px;border-bottom:1px solid var(--line-soft);background:var(--ink-850)}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;
  font-size:.8rem;color:var(--text-3)}
.crumbs li{display:flex;align-items:center;gap:8px}
.crumbs li+li::before{content:"/";color:var(--line)}
.crumbs a:hover{color:var(--volt)}
.crumbs [aria-current]{color:var(--text-2)}

/* Page header for interior pages */
.page-head{position:relative;overflow:hidden;background:var(--ink-850);border-bottom:1px solid var(--line-soft)}
.page-head::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(760px 340px at 82% 0%,rgba(60,233,122,.11),transparent 62%);
}
.page-head>*{position:relative}
.page-head .wrap{padding-block:clamp(38px,5.5vw,68px)}
.page-head h1{margin-bottom:18px}

/* ------------------------------------------------------------------ Footer */

.site-footer{background:var(--ink-850);border-top:1px solid var(--line-soft);margin-top:0}
.footer-grid{display:grid;gap:34px;padding-block:clamp(40px,5vw,60px)}
@media (min-width:760px){.footer-grid{grid-template-columns:1.5fr 1fr 1fr 1fr}}
.footer-grid h5{
  font-family:var(--mono);font-size:.67rem;letter-spacing:.17em;text-transform:uppercase;
  color:var(--text-3);margin:0 0 14px;font-weight:500;
}
.footer-grid ul{list-style:none;padding:0;margin:0;display:grid;gap:9px}
.footer-grid ul a,.footer-grid ul li{font-size:.88rem;color:var(--text-2)}
.footer-grid ul a:hover{color:var(--volt)}
.footer-about p{font-size:.88rem;color:var(--text-2);margin-top:16px;max-width:38ch}
.footer-social{display:flex;gap:10px;margin-top:18px}
.footer-social a{width:38px;height:38px;border-radius:9px;display:grid;place-items:center;
  background:var(--ink-800);border:1px solid var(--line-soft);color:var(--text-2);transition:all .18s ease}
.footer-social a:hover{border-color:var(--volt);color:var(--volt)}
.footer-social svg{width:17px;height:17px}
.footer-bottom{
  border-top:1px solid var(--line-soft);padding-block:20px;
  display:flex;flex-wrap:wrap;gap:12px 22px;align-items:center;justify-content:space-between;
  font-size:.79rem;color:var(--text-3);
}
.footer-bottom nav{display:flex;flex-wrap:wrap;gap:18px}
.footer-bottom a:hover{color:var(--volt)}

/* ---------------------------------------------------------- Cookie banner */

.cookie{
  position:fixed;left:12px;right:12px;bottom:76px;z-index:80;
  background:var(--ink-800);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:18px 20px;box-shadow:0 26px 60px -18px rgba(0,0,0,.9);
  display:none;gap:16px;flex-direction:column;
}
@media (min-width:1080px){.cookie{bottom:20px;left:auto;right:20px;max-width:420px}}
.cookie.is-open{display:flex}
.cookie p{font-size:.86rem;color:var(--text-2);margin:0}
.cookie .btn-row{gap:9px}
.cookie .btn{padding:11px 18px;font-size:.8rem}

/* --------------------------------------------------------------- Utilities */

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-9999px;z-index:100}
.skip-link:focus{left:12px;top:12px;background:var(--volt);color:#06210F;padding:10px 16px;border-radius:6px;font-weight:700}
.mt-0{margin-top:0}
.mb-24{margin-bottom:24px}
.mb-32{margin-bottom:32px}
.center{text-align:center}
.tick-list{list-style:none;padding:0;margin:0;display:grid;gap:11px}
.tick-list li{display:flex;gap:11px;align-items:flex-start;font-size:.95rem;color:var(--text-2);line-height:1.55}
.tick-list li svg{width:16px;height:16px;color:var(--volt);flex:none;margin-top:4px}
.divider{height:1px;background:var(--line-soft);border:0;margin:0}

/* ------------------------------------------------- Real brand logo + photos */

.brand-logo{height:32px;width:auto;display:block}
@media (min-width:1080px){.brand-logo{height:40px}}
.brand-sub{
  font-family:var(--mono);font-size:.56rem;letter-spacing:.18em;color:var(--text-3);
  text-transform:uppercase;display:none;padding-left:2px;border-left:1px solid var(--line);
  margin-left:2px;padding-left:11px;line-height:1.3;max-width:80px;
}
@media (min-width:700px){.brand-sub{display:block}}
.site-footer .brand-logo{height:44px}

/* Photo band under the hero */
.showcase{position:relative;background:var(--ink-900)}
.showcase-frame{
  position:relative;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line);
  aspect-ratio:21/9;background:var(--ink-800);
}
@media (max-width:700px){.showcase-frame{aspect-ratio:4/3}}
.showcase-frame img{width:100%;height:100%;object-fit:cover;display:block}
.showcase-cap{
  position:absolute;left:0;right:0;bottom:0;padding:26px 24px 20px;
  background:linear-gradient(transparent,rgba(8,10,9,.9));
  display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px;
}
.showcase-cap h3{font-size:clamp(1.1rem,2vw,1.5rem)}
.showcase-cap p{margin:6px 0 0;font-size:.88rem;color:var(--text-2);max-width:52ch}
.showcase-cap .btn{flex:none}

/* ---------------------------------------------- Narrow-screen corrections */

/* Long button labels ("More on consumer unit upgrades") cannot wrap because
   .btn is nowrap, which pushed the whole grid wider than a 390px viewport.
   Below 520px let them wrap and centre instead. */
@media (max-width:520px){
  .btn{white-space:normal;text-align:center;line-height:1.25;max-width:100%}
  .btn--lg{padding:16px 22px;font-size:.95rem}
  .btn-row .btn{flex:1 1 auto;min-width:0}
  .header-phone strong{font-size:.95rem}
}

/* Belt and braces: nothing may push the document sideways. */
html,body{max-width:100%;overflow-x:clip}


/* Portfolio filter chips were 34px tall - below the 44px minimum comfortable
   tap target on a phone, and they sit in a tight wrapped row where a mis-tap
   selects the wrong category. Give them a full-size hit area on small screens. */
@media (max-width:640px){
  .filters{gap:10px}
  .filters button{min-height:44px;padding:13px 16px;font-size:.75rem}
}


/* The showcase caption sits directly on the photo. The original scrim faded to
   transparent too quickly, which was fine over a dark image but left the heading
   and body copy sitting on mid-tone pixels once the band led with the EV job.
   Taller, stronger gradient plus a brighter body colour keeps it readable over
   any photo we put in there. */
.showcase-cap{
  padding-top:72px;
  background:linear-gradient(to top,
    rgba(8,10,9,.97) 0%,
    rgba(8,10,9,.90) 42%,
    rgba(8,10,9,.60) 72%,
    rgba(8,10,9,0) 100%);
}
.showcase-cap p{color:#C8D2CB}


/* On a phone the 4:3 showcase frame is short enough that the overlaid caption
   covered almost the whole photo - you could read the text but not see the job.
   Below 700px, stack instead of overlay: photo at 4:3, caption in a solid block
   underneath, full-width CTA. */
@media (max-width:700px){
  .showcase-frame{aspect-ratio:auto}
  .showcase-frame img{height:auto;aspect-ratio:4/3;object-fit:cover}
  .showcase-cap{
    position:static;padding:20px 18px 22px;background:var(--ink-850);
    display:block;
  }
  .showcase-cap p{color:var(--text-2);max-width:none}
  .showcase-cap .btn{display:flex;width:100%;margin-top:16px}
}

/* Services dropdown. Desktop only - the mobile menu already lists every
   service, so below 981px the submenu stays collapsed and the parent link
   behaves as a normal link to the services hub. Opens on hover and on
   keyboard focus so it is reachable without a mouse. */
.nav .has-sub{position:relative;display:inline-flex;align-items:center}
.nav .has-sub>a::after{content:'';display:inline-block;width:6px;height:6px;margin-left:7px;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:translateY(-2px) rotate(45deg);opacity:.65}
.nav .subnav{position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(6px);
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease,transform .15s ease;z-index:60;padding-top:12px}
.nav .has-sub:hover .subnav,.nav .has-sub:focus-within .subnav{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}
.nav .subnav-inner{display:grid;grid-template-columns:repeat(2,minmax(200px,1fr));gap:2px 10px;
  background:var(--ink-850);border:1px solid var(--line);border-radius:var(--r-md,12px);
  padding:12px;box-shadow:0 18px 40px rgba(0,0,0,.55)}
.nav .subnav-inner a{display:block;padding:9px 12px;border-radius:8px;white-space:nowrap;
  font-size:.9rem;color:var(--text-2);text-decoration:none}
.nav .subnav-inner a:hover,.nav .subnav-inner a:focus-visible{background:rgba(60,233,122,.10);color:var(--volt)}
@media (prefers-reduced-motion:reduce){.nav .subnav{transition:none}}
@media (max-width:980px){.nav .subnav{display:none}.nav .has-sub>a::after{display:none}}

/* ---------------------------------------------- Page photography (2026-09) */
.page-photo{margin:0;background:var(--ink-850);border:1px solid var(--line);border-radius:18px;overflow:hidden;max-width:1080px}
.page-photo img{display:block;width:100%;height:auto}
.page-photo figcaption{padding:15px 20px 17px;color:var(--text-2);font-size:.92rem;line-height:1.55}
.page-photo--portrait{max-width:470px;margin-inline:auto}
@media (max-width:640px){
  .page-photo{border-radius:14px}
  .page-photo figcaption{padding:13px 15px 15px;font-size:.88rem}
}

/* narrow-phone areas grid (2026-09): the two-column service-area list is wider
   than the column it sits in at ~320px, so it collapses to one column there. */
@media (max-width:400px){ .split>*{min-width:0} .areas{grid-template-columns:1fr}
  .split a,.split li{overflow-wrap:anywhere} }
