/* Wave Renewables — shared design system */

/* ─── FONTS (self-hosted, latin subset) ───────────────────── */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/barlow-condensed-800.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/dm-sans.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── SKIP LINK + FOCUS ──────────────────────────────────── */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--neon); color: #0a0a0a; font-weight: 700; font-size: 14px;
  padding: 12px 18px; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 16px; outline: 3px solid #0a0a0a; outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

:root {
  --black:     #0a0a0a;
  --dark:      #111111;
  --darker:    #080808;
  --white:     #ffffff;
  --grey:      #f4f4f2;
  --mid:       #888888;
  --neon:      #b8ff3a;
  --neon-dim:  #7ab520;
  --green-ink: #467a0c; /* neon-dim darkened to pass 4.5:1 as text on white/grey */
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── SITE NAV (full-width bar, shrinks on scroll) ────────── */
:root { --nav-h: 150px; --nav-hs: 84px; --nav-logo: 130px; --nav-logo-s: 58px; --nav-h-grow: 20px; }

.sitenav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.sitenav-inner {
  position: relative;
  height: var(--nav-h);
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.28s ease;
}
.sitenav.scrolled .sitenav-inner { height: var(--nav-hs); }

.sitenav-burger {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.sitenav-burger span {
  width: 28px;
  height: 2px;
  background: var(--black);
  transform-origin: 50% 50%;
  transition: transform 0.3s ease;
}
.sitenav.menu-open .sitenav-burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
.sitenav.menu-open .sitenav-burger span:last-child  { transform: translateY(-4.5px) rotate(-45deg); }

.sitenav-logo {
  position: absolute;
  left: 50%;
  top: 0;
  height: var(--nav-h);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  transition: height 0.28s ease;
}
.sitenav.scrolled .sitenav-logo { height: var(--nav-hs); }
.sitenav-logo img {
  height: var(--nav-logo);
  width: auto;
  display: block;
  transition: height 0.28s ease;
}
.sitenav.scrolled .sitenav-logo img { height: var(--nav-logo-s); }

.sitenav-cta {
  flex: 0 0 auto;
  background: var(--neon);
  color: var(--black);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
  padding: 11px 20px;
  border-radius: 9px;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.sitenav-cta:hover { opacity: 0.85; }

.sitenav-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(-8px);
  width: min(1040px, calc(100% - 24px));
  max-height: calc(100vh - var(--nav-hs) - 20px);
  overflow-y: auto;
  z-index: 5;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: none;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 24px 44px -18px rgba(0, 0, 0, 0.28);
  padding: 12px;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.sitenav-menu[hidden] { display: none; }
.sitenav.menu-open .sitenav-menu { opacity: 1; transform: translateX(-50%) translateY(0); }

.cardnav-cards { display: flex; align-items: stretch; gap: 10px; }

.cardnav-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 182px;
  padding: 16px 18px 18px;
  border-radius: 10px;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.sitenav-menu:not([hidden]) .cardnav-card { opacity: 1; transform: none; }
/* graduated shades so the three tiles read as distinct */
.cardnav-card { background: var(--black); }
.cardnav-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.cardnav-card:hover::after { opacity: 1; }

.sitenav.menu-open .cardnav-card { opacity: 1; transform: translateY(0); }
.sitenav.menu-open .cardnav-card:nth-child(2) { transition-delay: 0.08s; }
.sitenav.menu-open .cardnav-card:nth-child(3) { transition-delay: 0.16s; }

.cardnav-card-label {
  position: relative;
  padding-top: 15px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--white);
}
.cardnav-card-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 3px;
  background: var(--neon);
}
.cardnav-card-links {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cardnav-card-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s, gap 0.2s;
}
.cardnav-card-links a svg { flex-shrink: 0; opacity: 0.65; transition: transform 0.2s; }
.cardnav-card-links a:hover { color: var(--neon); gap: 10px; }
.cardnav-card-links a:hover svg { transform: translate(1px, -1px); }
.cardnav-card-links a.active { color: var(--neon); }

@media (prefers-reduced-motion: reduce) {
  .sitenav-inner, .sitenav-logo, .sitenav-logo img { transition: none; }
  .cardnav-card { transition: opacity 0.15s ease; transform: none; }
  .sitenav.menu-open .cardnav-card { transition-delay: 0s; }
}

/* ─── PAGE HEADER (inner pages) ──────────────────────────── */
.page-header {
  margin-top: 0;
  background: var(--black);
  padding: calc(var(--nav-h) + 30px) 56px 56px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -260px; right: -120px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(184,255,58,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.page-header-inner { max-width: 1360px; margin: 0 auto; position: relative; z-index: 2; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.62); margin-bottom: 22px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--neon); }
.page-header h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.page-header h1 span { color: var(--neon); }
.page-header-sub {
  color: rgba(255,255,255,0.62);
  font-size: 17px;
  line-height: 1.65;
  max-width: 640px;
}

/* ─── HERO (home only) ───────────────────────────────────── */
.hero {
  margin-top: var(--nav-h);
  height: calc(100vh - var(--nav-h) + var(--nav-h-grow, 0px));
  min-height: 780px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 88px;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slides::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.1) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-bg.is-active { opacity: 1; }
.hero-bg-1 { background-image: url('../images/jobs/hero-1.webp'); }
.hero-bg-2 { background-image: url('../images/jobs/hero-2.webp'); }
.hero-bg-3 { background-image: url('../images/jobs/hero-3.webp'); }
.hero-bg-4 { background-image: url('../images/jobs/hero-4.webp'); }
@media (max-width: 768px) {
  .hero-bg { background-position: center; }
  .hero-bg-1 { background-image: url('../images/jobs/hero-1-m.webp'); }
  .hero-bg-2 { background-image: url('../images/jobs/hero-2-m.webp'); }
  .hero-bg-3 { background-image: url('../images/jobs/hero-3-m.webp'); }
  .hero-bg-4 { background-image: url('../images/jobs/hero-4-m.webp'); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { transition: none; }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 56px;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--neon);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: '//';
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--neon);
  flex-shrink: 0;
}
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(64px, 10.5vw, 148px);
  font-weight: 800;
  color: var(--white);
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero h1 em { font-style: normal; color: var(--neon); display: block; }
.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 18px;
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 44px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 34px;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.15s;
  border: none;
}
.btn:hover { opacity: 0.85; }
.btn-green { background: var(--neon); color: var(--black); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.38);
  transition: border-color 0.15s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.75); opacity: 1; }
.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 1.5px solid rgba(0,0,0,0.25);
}
.btn-outline-dark:hover { border-color: rgba(0,0,0,0.55); opacity: 1; }
.btn-lg { font-size: 16px; padding: 18px 44px; }

/* ─── TRUST BAR ───────────────────────────────────────────── */
.trust-bar {
  background: var(--grey);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.trust-bar-track { display: flex; }
.trust-bar-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: stretch;
  min-width: max-content;
}
.trust-bar-inner[aria-hidden] { display: none; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 40px 22px 0;
  margin-right: 40px;
  border-right: 1px solid rgba(0,0,0,0.08);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-item:last-child { border-right: none; margin-right: 0; }
.trust-icon {
  width: 38px;
  height: 38px;
  background: var(--black);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 16px; height: 16px; color: var(--neon); }
.trust-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f5f5f;
  margin-bottom: 2px;
}
.trust-value { font-size: 14px; font-weight: 600; color: var(--black); }
/* mobile-only rolling marquee: the track holds two identical copies of the
   items side by side, sliding left by exactly one copy's width (-50%) so the
   loop point is seamless. Desktop keeps the manual horizontal-scroll strip. */
@keyframes trust-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .trust-bar-track { animation: none; }
  .trust-bar-inner[aria-hidden] { display: none; }
}

/* ─── CERT STRIP ──────────────────────────────────────────── */
.cert-strip { background: var(--white); padding: 48px 56px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.cert-strip-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px 48px;
}
.cert-strip img { height: 56px; width: auto; opacity: 0.9; }

/* ─── SECTION COMMONS ─────────────────────────────────────── */
.section { padding: 104px 56px; }
.section-inner { max-width: 1360px; margin: 0 auto; }
.section-inner.narrow { max-width: 880px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-ink);
  margin-bottom: 18px;
}
.eyebrow::before { content: '//'; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: -0.02em; flex-shrink: 0; }
.eyebrow.on-dark { color: var(--neon); }

.section-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-heading.white { color: var(--white); }
.lede { font-size: 18px; line-height: 1.75; color: #444; max-width: 720px; }

/* ─── SERVICES GRID ───────────────────────────────────────── */
.services { background: var(--white); }
.services-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 24px;
}
.services-desc { font-size: 16px; color: #555; max-width: 360px; line-height: 1.65; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: #ddd;
}
.svc-card { background: var(--white); overflow: hidden; cursor: pointer; outline: 1.5px solid var(--neon); outline-offset: -1.5px; }
.svc-img-wrap { overflow: hidden; }
.svc-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.svc-card:hover .svc-img { transform: scale(1.04); }
.svc-body {
  padding: 22px 24px 26px;
  border-top: 3px solid var(--neon);
  transition: border-color 0.2s;
}
.svc-num { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--green-ink); margin-bottom: 6px; }
.svc-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.0;
  margin-bottom: 8px;
}
.svc-desc { font-size: 14px; color: #555; line-height: 1.58; }

/* ─── CAROUSELS (mobile) ──────────────────────────────────── */
.carousel-wrap { position: relative; overflow: hidden; margin: 0 -24px; }
.carousel-track {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 24px 16px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .svc-card,
.carousel-track .review-card {
  scroll-snap-align: start;
  flex: 0 0 78vw;
  max-width: 320px;
}
.carousel-dots { display: flex; justify-content: center; gap: 0; margin-top: 10px; }
/* 24px hit area (WCAG 2.5.8) around a small visual dot */
.carousel-dots button {
  appearance: none; border: none; padding: 0; background: none; cursor: pointer;
  position: relative; width: 24px; height: 24px; transition: width 0.2s;
}
.carousel-dots button::before {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 6px; height: 6px; border-radius: 50%; background: #c4c4c4; transition: background 0.2s, width 0.2s;
}
.carousel-dots button.active { width: 30px; }
.carousel-dots button.active::before { background: var(--green-ink); width: 18px; border-radius: 3px; }

/* ─── ABOUT / SPLIT BLOCK ─────────────────────────────────── */
.about { background: var(--black); padding: 0; }
.about-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}
.about-grid.reverse { grid-template-columns: 1fr 1fr; }
.about-grid.reverse .about-img { order: 2; }
.about-grid.reverse .about-copy { order: 1; }
.about-img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.about-copy {
  padding: 88px 72px 88px 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-body { color: rgba(255,255,255,0.62); font-size: 16px; line-height: 1.78; margin: 28px 0 44px; }
.about-body strong { color: var(--white); font-weight: 600; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--neon);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-desc { font-size: 13px; color: rgba(255,255,255,0.68); line-height: 1.45; }

/* ─── LIGHT SPLIT BLOCK (for inner pages) ─────────────────── */
.split { background: var(--white); }
.split-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 104px 56px;
}
.split-img { width: 100%; height: auto; border-radius: 4px; object-fit: cover; aspect-ratio: 4/3; }
.split-body { font-size: 16px; line-height: 1.78; color: #444; margin: 24px 0; }
.split-body strong { color: var(--black); }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
/* Not flex: a flex parent turns each raw text run AND each inline <a> into its
   own separate flex item, so a sentence split across plain text and a link
   (e.g. "required for <a>SEG export payments</a>") can't wrap together as one
   run of prose - the two pieces break apart onto their own lines/columns.
   Position the tick absolutely instead and reserve its space with
   padding-left, so the actual text is normal inline flow. */
.check-list li { position: relative; padding-left: 32px; font-size: 15px; color: #333; line-height: 1.5; }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px; height: 20px;
  background: var(--neon);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/70% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/70% no-repeat;
  border-radius: 4px;
}

/* ─── PROCESS ─────────────────────────────────────────────── */
.process { background: var(--grey); }
.process-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; flex-wrap: wrap; gap: 24px; }
.process-note { font-size: 15px; color: #555; max-width: 360px; line-height: 1.65; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: #ddd; }
.step { background: var(--grey); padding: 36px 32px 40px; }
.step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--green-ink);
  line-height: 1;
  margin-bottom: 16px;
}
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step-text { font-size: 14px; color: #555; line-height: 1.6; }

/* ─── REVIEWS ─────────────────────────────────────────────── */
.reviews { background: var(--white); }
.reviews-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; flex-wrap: wrap; gap: 24px; }
.tp-pill { display: flex; align-items: center; gap: 16px; background: var(--grey); padding: 16px 24px; border-radius: 4px; }
.tp-score { font-family: 'Barlow Condensed', sans-serif; font-size: 44px; font-weight: 800; line-height: 1; color: var(--black); }
.tp-meta { line-height: 1.4; }
.tp-stars { display: flex; gap: 2px; margin-bottom: 3px; }
.tp-stars span { width: 22px; height: 22px; background: #FBBC04; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; border-radius: 2px; }
.tp-label { font-size: 12px; color: #666; font-weight: 500; }
.google-badge { height: 22px; width: auto; margin-left: 4px; }
.reviews-grid { column-count: 3; column-gap: 20px; }
.reviews-grid .review-card { break-inside: avoid; margin-bottom: 20px; }
.review-card { border: 1px solid #e8e8e8; padding: 32px; border-radius: 4px; }
.r-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.r-stars span { color: #FBBC04; font-size: 17px; }
.r-title { font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.r-text { font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 20px; }
.r-author { font-size: 13px; font-weight: 600; color: #666; display: flex; align-items: center; }
.r-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; margin-right: 8px;
  color: #fff; font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.reviews-more-wrap { text-align: center; margin-top: 28px; }

/* ─── FAQ ACCORDION ───────────────────────────────────────── */
.faq { background: var(--grey); }
.faq-list { display: flex; flex-direction: column; gap: 2px; background: #ddd; }
.faq-item { background: var(--grey); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 26px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  font-family: inherit;
}
.faq-q .plus { font-size: 22px; color: var(--green-ink); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 4px 26px; font-size: 14px; line-height: 1.7; color: #555; max-width: 760px; }

/* ─── AREAS LIST ──────────────────────────────────────────── */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 32px; margin-top: 20px; }
.areas-grid span { font-size: 15px; color: #444; padding: 10px 0; border-bottom: 1px solid #e8e8e8; }

/* ─── BLOG CARDS ──────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { display: block; border: 1px solid #e8e8e8; border-radius: 4px; overflow: hidden; color: inherit; text-decoration: none; transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s; }
a.blog-card:hover { border-color: var(--neon-dim); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
a.blog-card:hover .blog-title { color: var(--green-ink); }
.blog-title { transition: color 0.18s; }
.blog-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-date { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 10px; }
.blog-title { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 800; text-transform: uppercase; line-height: 1.05; margin-bottom: 10px; }
.blog-excerpt { font-size: 14px; color: #555; line-height: 1.65; }

/* ─── FORM ────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: #333; }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid #ddd;
  border-radius: 3px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--black);
  background: var(--white);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid var(--black); outline-offset: 2px; border-color: var(--black); }
.form-note { font-size: 13px; color: #555; line-height: 1.6; margin: 0; }
.form-note a { color: var(--black); text-decoration: underline; text-underline-offset: 2px; }
.form-status:empty { display: none; }
.form-status { font-size: 14px; font-weight: 600; padding: 12px 14px; border-radius: 4px; }
.form-status.is-ok { background: #f2fce0; color: #2f5408; border: 1px solid #c9e89a; }
.form-status.is-error { background: #fdecea; color: #a1231a; border: 1px solid #f3c2bd; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-field textarea { resize: vertical; min-height: 120px; }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-row .ci-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--black); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
}
.contact-row .ci-icon svg { width: 17px; height: 17px; color: var(--neon); }
.contact-row-body div:first-child { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #666; margin-bottom: 3px; }
.contact-row-body div:last-child { font-size: 16px; font-weight: 600; color: var(--black); }

/* ─── CTA ─────────────────────────────────────────────────── */
.cta-section {
  background: var(--black);
  padding: 104px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(184,255,58,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  line-height: 0.92;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.cta-title span { color: var(--neon); }
.cta-sub { color: rgba(255,255,255,0.55); font-size: 17px; line-height: 1.65; margin-bottom: 44px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ──────────────────────────────────────────────── */
footer { background: #060606; border-top: 1px solid rgba(255,255,255,0.05); padding: 64px 56px 40px; }
.footer-inner { max-width: 1360px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { height: 56px; margin-bottom: 18px; }
.footer-brand-copy { font-size: 14px; color: rgba(255,255,255,0.62); line-height: 1.7; max-width: 270px; }
.footer-col h2, .footer-col h4 { font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.68); transition: color 0.15s; }
.footer-col ul a:hover { color: var(--white); }
.footer-contact-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact-row svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--neon); }
.footer-contact-row span { font-size: 14px; color: rgba(255,255,255,0.68); line-height: 1.5; }
.footer-bottom { padding-top: 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.6); }
.footer-copy a { color: rgba(255,255,255,0.75); text-decoration: underline; text-underline-offset: 2px; }
.footer-copy a:hover { color: var(--neon); }
.footer-certs { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-madeby { flex-basis: 100%; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.07); font-size: 12px; color: rgba(255,255,255,0.6); }
.footer-madeby a { color: rgba(255,255,255,0.75); text-decoration: underline; text-underline-offset: 2px; }
.footer-madeby a:hover { color: var(--neon); }

/* inline "read more" style link */
.text-link { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--green-ink); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.text-link:hover { color: var(--black); }
.section.dark .text-link { color: var(--neon); }
.section.dark .split-body a, .section.dark .check-list a, .section.dark .cost-note a, .section.dark .roof-item p a, .section.dark .lede a { color: var(--neon); }
.section.dark .text-link:hover { color: #fff; }
.cert-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.18); padding: 4px 9px; border-radius: 2px; }

/* ─── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid, .split-grid { grid-template-columns: 1fr; }
  .about-grid .about-img, .about-grid.reverse .about-img { order: 1; min-height: 320px; height: 320px; }
  .about-grid .about-copy, .about-grid.reverse .about-copy { order: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { column-count: 2; }
}

@media (max-width: 768px) {
  :root { --nav-h: 96px; --nav-hs: 68px; --nav-logo: 68px; --nav-logo-s: 48px; --nav-h-grow: 14px; }
  .sitenav-inner { padding: 0 16px; }
  .sitenav-cta { padding: 9px 14px; font-size: 12px; }
  .cardnav-cards { flex-direction: column; gap: 8px; }
  .cardnav-card { flex: 0 0 auto; min-height: 0; padding: 16px 18px 18px; }
  .cardnav-card-links { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.1); }
  .hero { margin-top: var(--nav-h); height: calc(100svh - var(--nav-h) + var(--nav-h-grow, 0px)); padding-bottom: 56px; }
  .hero-content { padding: 0 24px; }
  .hero-sub { font-size: 16px; }
  .page-header { margin-top: 0; padding: calc(var(--nav-h) + 24px) 24px 40px; }
  .btn { padding: 14px 26px; font-size: 14px; }
  .btn-lg { padding: 15px 28px; font-size: 15px; }
  .trust-bar { overflow: hidden; }
  .trust-bar-inner { padding: 0 24px; }
  .trust-bar-inner[aria-hidden] { display: flex; }
  .trust-bar-track { animation: trust-scroll 24s linear infinite; width: max-content; }
  .cert-strip { padding: 32px 24px; }
  .cert-strip img { height: 40px; }
  .section { padding: 72px 24px; }
  .split-grid { padding: 72px 24px; gap: 40px; }
  .split-img { aspect-ratio: 16/10; }
  .services-grid { display: none; }
  .svc-carousel { display: block; }
  .svc-img { aspect-ratio: 3/4; }
  .form-grid { grid-template-columns: 1fr; }
  .about-copy { padding: 56px 24px; }
  .about-stats { grid-template-columns: repeat(2, minmax(0, 160px)); justify-content: center; gap: 16px 28px; text-align: center; }
  .about-stats > div:nth-child(3) { grid-column: 1 / -1; }
  .stat-val { font-size: 30px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .step { padding: 28px 24px 32px; }
  /* index.html's small teaser grid still swaps for its carousel (via JS);
     reviews.html has no carousel at all, so its grid (already 2-col masonry
     from the tablet breakpoint above) just stays visible and stacks/staggers
     naturally - which is the layout that actually works on a phone here. */
  .reviews-grid { column-count: 2; column-gap: 12px; }
  .reviews-grid .review-card { padding: 18px; }
  .reviews-top { flex-direction: column; align-items: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section { padding: 72px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; padding-bottom: 40px; }
  footer { padding: 48px 24px 32px; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .hero-eyebrow { font-size: 10px; }
  .cta-btns { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ═══ SERVICE PAGES ══════════════════════════════════════════ */

/* ─── Solar: cost / saving tiers (signature) ─────────────── */
.costs .lede { margin-bottom: 36px; }
.cost-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cost-tier {
  position: relative;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 26px 24px 24px;
}
.cost-tier.is-common { border-color: var(--neon); background: #151515; }
.cost-tier-tag {
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--neon);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
}
.cost-tier-size {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: var(--neon);
  text-transform: uppercase;
}
.cost-tier-size span { font-size: 21px; color: var(--white); margin-left: 2px; }
.cost-tier-for {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin: 10px 0 20px;
}
.cost-tier-figs { display: flex; flex-direction: column; }
.cost-tier-figs > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 11px 0;
}
.cost-tier-figs dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
}
.cost-tier-figs dd {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.cost-note {
  margin-top: 24px;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/* in-body links inside service copy */
.split-body a, .check-list a, .cost-note a, .roof-item p a, .lede a {
  color: var(--green-ink);
  font-weight: 600;
}
.split-body a:hover, .check-list a:hover, .cost-note a:hover,
.roof-item p a:hover, .lede a:hover { text-decoration: underline; }

/* ─── Roof suitability grid ──────────────────────────────── */
.roof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: #e2e2e0;
  margin-top: 8px;
}
.roof-item { background: var(--white); padding: 24px 26px; }
.roof-item h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.roof-item p { font-size: 14px; line-height: 1.65; color: #555; }

.reviewed-note { margin-top: 30px; font-size: 12px; color: #666; }

.roof-grid.roof-grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px) {
  .cost-tiers { grid-template-columns: 1fr; }
  .roof-grid, .roof-grid.roof-grid-3 { grid-template-columns: 1fr; }
}

/* ─── Battery: brand comparison (signature) ──────────────── */
.compare-widget { margin-top: 8px; }
.compare-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.compare-tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  padding: 12px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.compare-tab:hover { color: var(--black); }
.compare-tab.is-active { color: var(--black); border-bottom-color: var(--neon); }
.compare-panels { position: relative; padding-top: 8px; }
.compare-panel { animation: comparefade 0.28s ease; }
.compare-panel[hidden] { display: none; }
@keyframes comparefade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.compare-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 16px 2px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.compare-row span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
  flex-shrink: 0;
}
.compare-row strong {
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  max-width: 60ch;
}
@media (prefers-reduced-motion: reduce) {
  .compare-panel { animation: none; }
}

/* ─── EV: OZEV grant checker (signature) ─────────────────── */
.checker { margin-top: 8px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 12px; overflow: hidden; }
.checker-qs { list-style: none; }
.checker-q { padding: 24px 26px; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.checker-q[hidden] { display: none; }
.checker-prompt { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.checker-prompt span { color: var(--green-ink); margin-right: 6px; }
.checker-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.checker-opts button {
  appearance: none;
  background: var(--white);
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 10px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.checker-opts button:hover { border-color: var(--neon-dim); }
.checker-opts button.is-picked { border-color: var(--neon-dim); background: #f2fce0; }
.checker-result {
  padding: 24px 26px;
  font-size: 15px;
  line-height: 1.6;
  background: #f7f7f5;
}
.checker-result[hidden] { display: none; }
.checker-result h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.checker-result.is-yes h3 { color: var(--green-ink); }
.checker-result.is-no h3 { color: #333; }
.checker-result a { color: var(--green-ink); font-weight: 700; }
.checker-reset {
  display: block;
  width: 100%;
  padding: 12px;
  background: none;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #777;
  cursor: pointer;
}
.checker-reset[hidden] { display: none; }
.checker-reset:hover { color: var(--black); }

/* ─── In-roof: on-roof vs in-roof wipe slider (signature) ── */
.wipe {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  user-select: none;
  touch-action: pan-y;
}
.wipe-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.wipe-pair .wipe { margin-top: 0; }
@media (max-width: 720px) { .wipe-pair { grid-template-columns: 1fr; } }
.wipe-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.wipe-top { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); will-change: clip-path; }
.wipe-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: var(--neon);
  cursor: ew-resize;
  touch-action: none;
}
.wipe-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.wipe-knob svg { display: block; }
.wipe-handle:focus-visible { outline: none; }
.wipe-handle:focus-visible .wipe-knob { box-shadow: 0 0 0 4px var(--neon-dim), 0 2px 12px rgba(0, 0, 0, 0.4); }
.wipe-label {
  position: absolute;
  bottom: 14px;
  padding: 5px 12px;
  background: rgba(10, 10, 10, 0.78);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  pointer-events: none;
}
.wipe-label-l { left: 14px; }
.wipe-label-r { right: 14px; }

/* ─── Electrical: consumer-unit spider diagram (signature) ─ */
.cud { margin-top: 8px; }
.cud-stage {
  position: relative;
  max-width: 1240px;
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: 1fr minmax(420px, 50%) 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 30px;
  row-gap: 24px;
  align-items: center;
}
.cud-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}
.cud-links line { stroke: var(--neon-dim); stroke-width: 2; stroke-linecap: round; }
.cud-links circle { fill: var(--neon); stroke: #16181a; stroke-width: 2.5; }
.cud-board { grid-column: 2; grid-row: 1 / span 2; position: relative; z-index: 1; }
.cud-board svg { width: 100%; height: auto; display: block; }

.cud-item { position: relative; z-index: 2; }
.cud-tl { grid-column: 1; grid-row: 1; justify-self: end; text-align: right; }
.cud-bl { grid-column: 1; grid-row: 2; justify-self: end; text-align: right; }
.cud-tr { grid-column: 3; grid-row: 1; }
.cud-br { grid-column: 3; grid-row: 2; }

.cud-title {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  padding: 8px 13px;
  border: none;
  border-left: 3px solid var(--neon);
  border-radius: 5px;
  margin-bottom: 10px;
}
.cud-tl .cud-title, .cud-bl .cud-title { border-left: none; border-right: 3px solid var(--neon); }

.cud-body {
  font-size: 13px;
  line-height: 1.55;
  color: #444;
  text-align: left;
}
.cud-tl .cud-body, .cud-bl .cud-body { text-align: right; }

@media (max-width: 880px) {
  .cud-stage { display: flex; flex-direction: column; gap: 16px; }
  .cud-links { display: none; }
  .cud-board { width: 100%; max-width: 480px; align-self: center; }
  .cud-item { justify-self: stretch; text-align: left; }
  .cud-tl, .cud-bl, .cud-tr, .cud-br { text-align: left; }
  .cud-tl .cud-body, .cud-bl .cud-body { text-align: left; }
  .cud-tl .cud-title, .cud-bl .cud-title { border-left: 3px solid var(--neon); border-right: none; }
}

/* ─── Repairs: symptom → cause fault finder (signature) ──── */
.finder { display: grid; grid-template-columns: 260px 1fr; gap: 22px; margin-top: 8px; align-items: start; }
.finder-picker { display: flex; flex-direction: column; gap: 4px; }
.finder-sym {
  appearance: none;
  text-align: left;
  background: var(--grey);
  border: none;
  border-left: 3px solid transparent;
  padding: 13px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.finder-sym:hover { background: #ececea; color: var(--black); }
.finder-sym.is-active { background: var(--black); color: var(--white); border-left-color: var(--neon); }
.finder-out {
  background: var(--grey);
  border-radius: 12px;
  padding: 26px 28px;
}
.finder-panel[hidden] { display: none; }
.finder-panel { animation: comparefade 0.28s ease; }
.finder-panel h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--green-ink);
  margin: 0 0 8px;
}
.finder-panel h3 + p, .finder-panel ul + h3 { margin-top: 18px; }
.finder-panel ul { padding-left: 18px; }
.finder-panel li { font-size: 14px; line-height: 1.6; color: #444; margin-bottom: 4px; }
.finder-panel p { font-size: 14px; line-height: 1.65; color: #444; }
.finder-panel a { color: var(--green-ink); font-weight: 600; }
.finder-panel--urgent { border-left: 3px solid #d33; padding-left: 16px; }
.finder-panel--urgent h3 { color: #c22; }

@media (max-width: 768px) {
  .finder { grid-template-columns: 1fr; }
  .finder-picker { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .finder-sym {
    border-left: none;
    border-bottom: 3px solid transparent;
    border-radius: 6px;
    flex: 1 1 45%;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  }
  .finder-sym:hover { background: #f6f6f4; }
  .finder-sym.is-active { background: var(--black); border-left-color: transparent; border-bottom-color: var(--neon); box-shadow: none; }
}

/* ═══ OUR WORK: lightbox ════════════════════════════════════ */
.gallery-item {
  appearance: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  background: #111;
  display: block;
  width: 100%;
}
.gallery-item:focus-visible { outline: 3px solid var(--neon); outline-offset: 2px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, 0.94);
  padding: 56px 16px 16px;
  animation: lbfade 0.2s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-fig {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 0;
  flex: 1 1 auto;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
  border-radius: 6px;
  background: #1a1a1a;
}
.lightbox-cap {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  letter-spacing: 0.03em;
  text-align: center;
}
.lightbox-btn {
  position: absolute;
  touch-action: manipulation;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
}
.lightbox-btn:hover { background: var(--neon); color: var(--black); }
.lightbox-close { top: 14px; right: 16px; width: 40px; height: 40px; font-size: 26px; line-height: 1; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 30px; line-height: 1; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  max-width: 100%;
  padding: 6px 2px 2px;
  flex: 0 0 auto;
  scrollbar-width: thin;
}
.lightbox-thumbs img {
  height: 56px;
  width: 74px;
  object-fit: cover;
  border-radius: 3px;
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 0.15s;
  flex: 0 0 auto;
}
.lightbox-thumbs img:hover { opacity: 0.8; }
.lightbox-thumbs img.is-active { opacity: 1; outline: 2px solid var(--neon); }
body.lb-open { overflow: hidden; }
@media (max-width: 768px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 24px; }
  .lightbox-img { max-height: calc(100vh - 170px); }
}

/* ═══ SECTION RHYTHM VARIANTS ═══════════════════════════════ */
.section.alt { background: var(--grey); }
.section.dark { background: var(--black); }
.section.dark .eyebrow { color: var(--neon); }
.section.dark .section-heading { color: var(--white); }
.section.dark .lede,
.section.dark .split-body,
.section.dark > .section-inner > p { color: rgba(255, 255, 255, 0.68); }
.section.dark .check-list li { color: rgba(255, 255, 255, 0.82); }
.section.dark .check-list li::before { color: var(--neon); }
.section.dark .roof-grid { background: rgba(255, 255, 255, 0.09); }
.section.dark .roof-item { background: #141414; }
.section.dark .roof-item h3 { color: var(--white); }
.section.dark .roof-item p { color: rgba(255, 255, 255, 0.6); }
.section.dark .cost-note { color: rgba(255, 255, 255, 0.55); }

/* service-page image slot (drop real photos in later) */
.media-band { margin-top: 8px; }
.media-band figure {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: 12px;
  overflow: hidden;
  background: #141414;
}
.media-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-band figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  width: fit-content;
  background: rgba(10, 10, 10, 0.72);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 4px;
  line-height: 1.4;
}

/* ═══ AREAS WE COVER: coverage map ══════════════════════════ */
.areas-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.areas-map-wrap { display: flex; justify-content: center; }
.areas-map { width: 100%; max-width: 440px; height: auto; }
.areas-map-norfolk { fill: #eaf6d6; stroke: #b8ff3a; stroke-width: 1.5; stroke-linejoin: round; }
.areas-map-suffolk { fill: #dcefc4; stroke: #b8ff3a; stroke-width: 1.5; stroke-linejoin: round; }
.areas-map-county {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  fill: #86ad4e;
}
.areas-map-dots circle { r: 3px; fill: #4f7a1c; }
.areas-map-label text {
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  fill: #37501a;
}
.areas-map-base circle { fill: #0a0a0a; stroke: #b8ff3a; stroke-width: 3; }
.areas-map-base text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  fill: #0a0a0a;
}
.areas-map-copy .section-heading { margin-bottom: 16px; }

.areas-region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #e2e2e0;
  margin-top: 8px;
}
.areas-region { background: var(--white); padding: 22px 24px; }
.areas-region h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.areas-region p { font-size: 13.5px; line-height: 1.6; color: #555; }

@media (max-width: 900px) {
  .areas-layout { grid-template-columns: 1fr; gap: 32px; }
  .areas-region-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .areas-region-grid { grid-template-columns: 1fr; }
}

/* sourced-figures credit line on service pages */
.sources {
  margin-top: 26px;
  font-size: 12px;
  line-height: 1.6;
  color: #666;
}
.sources a { color: #555; text-decoration: underline; }
.sources a:hover { color: var(--green-ink); }
.section.dark .sources { color: rgba(255,255,255,0.68); }
.section.dark .sources a { color: rgba(255,255,255,0.55); }

/* ─── Service pages: "Recent Work" mini carousel ─────────── */
.workstrip { position: relative; margin-top: 4px; }
.workstrip-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-ink);
}
.section.dark .workstrip-eyebrow { color: var(--neon); }
.workstrip-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}
.workstrip-track::-webkit-scrollbar { display: none; }
.workstrip-track figure {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #141414;
  cursor: zoom-in;
}
.workstrip-track figure:focus-visible { outline: 3px solid var(--neon); outline-offset: 2px; }

/* full-screen viewer for workstrip figures */
.ws-zoom {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: rgba(8, 8, 8, 0.92);
}
.ws-zoom-fig { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.ws-zoom-img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 6px;
}
.ws-zoom-cap {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  letter-spacing: 0.03em;
}
.ws-zoom-close, .ws-zoom-nav {
  position: absolute;
  touch-action: manipulation;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}
.ws-zoom-close:hover, .ws-zoom-nav:hover { background: var(--neon); color: var(--black); }
.ws-zoom-close { top: 16px; right: 18px; width: 40px; height: 40px; font-size: 26px; }
.ws-zoom-nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 30px; }
.ws-zoom-prev { left: 14px; }
.ws-zoom-next { right: 14px; }
@media (max-width: 768px) {
  .ws-zoom-nav { width: 38px; height: 38px; font-size: 24px; }
}
.workstrip-track img { width: 100%; height: 100%; object-fit: cover; display: block; }
.workstrip-track figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(10, 10, 10, 0.78);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 4px;
}
.workstrip-nav {
  position: absolute;
  top: calc(50% + 16px);
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.6);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
}
.workstrip-nav:hover { background: var(--neon); color: var(--black); }
.workstrip-prev { left: 12px; }
.workstrip-next { right: 12px; }
.workstrip-dots {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 10px;
}
.workstrip-dots button {
  position: relative; width: 24px; height: 24px; padding: 0; border: none; background: none;
  cursor: pointer; transition: width 0.15s;
}
.workstrip-dots button::before {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 7px; height: 7px; border-radius: 50%; background: rgba(0, 0, 0, 0.3); transition: background 0.15s, width 0.15s;
}
.section.dark .workstrip-dots button::before { background: rgba(255, 255, 255, 0.4); }
.workstrip-dots button.is-active { width: 32px; }
.workstrip-dots button.is-active::before { background: var(--green-ink); width: 20px; border-radius: 4px; }
.section.dark .workstrip-dots button.is-active::before { background: var(--neon); }

@media (min-width: 720px) {
  .workstrip-track figure { flex-basis: calc(50% - 6px); }
}

/* ═══ AMENDS ════════════════════════════════════════════════ */

/* headings: drop forced line breaks, let the browser balance */
.section-heading, .cta-title { text-wrap: balance; }

/* stop a short line after a manual <br> from being rebalanced onto two lines */
.no-break { white-space: nowrap; }
@media (max-width: 480px) { .no-break { white-space: normal; } }

/* <strong> was pinned black — invisible inside dark sections */
.section.dark strong, .section.dark b, .section.dark .split-body strong { color: #fff; }

/* Lift the BRIGHT neon (#b8ff3a) where it sits on white/cream. The darker
   green (--neon-dim, used for eyebrows and in-body links) reads fine — left alone. */
/* shadow on the tick only - putting it on the parent <li> also blurred the text
   next to it, which isn't the intent */
.check-list li::before { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)); }
.section.dark .check-list li::before { filter: none; }
.svc-card { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4)); }
.areas-map { filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.32)); }
.areas-map-norfolk, .areas-map-suffolk { stroke: #9ee02b; }
.wipe-knob { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.cud-links circle { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45)); }

/* fault-finder: heading following a paragraph was cramped */
.finder-panel p + h3 { margin-top: 18px; }

/* electrical "What's covered": pull the key figures out in neon */
#whats-covered .roof-item strong { color: var(--green-ink); font-weight: 700; }

/* EV: brand logo placeholders in the Zappi vs Ohme cards */
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  border-radius: 5px;
}
.roof-item .brand-by {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #666;
}

/* ─── EV: home energy flow diagram ───────────────────────── */
.flow {
  margin-top: 14px;
  background: #131518;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 20px 16px;
}
.flow svg { width: 100%; height: auto; display: block; }
.flow-lbl {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  fill: #c9cdd1;
}
.flow-dc, .flow-ac {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 11;
}
.flow-dc { stroke: var(--neon); animation: flowdash 0.9s linear infinite; }
.flow-ac { stroke: #5b9bd5; animation: flowdash 1.3s linear infinite; }
@keyframes flowdash { to { stroke-dashoffset: -12; } }
.flow-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.flow-key {
  display: inline-block;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: middle;
}
.flow-key-dc { background: var(--neon); }
.flow-key-ac { background: #5b9bd5; }
@media (prefers-reduced-motion: reduce) {
  .flow-dc, .flow-ac { animation: none; stroke-dasharray: none; }
}

/* ─── Repairs page: free Solar Fault Find pop-up ─────────── */
.fault-pop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  width: min(340px, calc(100vw - 40px));
  background: var(--black);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 22px 22px 20px;
  box-shadow: 0 24px 54px -14px rgba(0, 0, 0, 0.55);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
.fault-pop[hidden] { display: none; }
.fault-pop.show { transform: none; opacity: 1; }
.fault-pop-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 6px;
}
.fault-pop h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 9px;
}
.fault-pop p { font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.72); margin-bottom: 14px; }
.fault-pop .btn { padding: 10px 20px; font-size: 13px; }
.fault-pop-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.fault-pop-close:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .fault-pop { transition: opacity 0.2s ease; transform: none; }
}

/* ─── Sticky call/WhatsApp contact ────────────────────────── */
.sticky-contact {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 500;
  display: none;
}
.sc-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.sc-btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.sc-call { background: var(--black); color: var(--white); }
.sc-whatsapp { background: #25d366; color: #fff; }

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 500;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); }

@media (max-width: 768px) {
  .sticky-contact { display: flex; }
  .wa-float { display: none; }
  body { padding-bottom: 56px; }
  .fault-pop { bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; }
}

/* ─── LEGAL PAGES (terms, privacy) ───────────────────────── */
.legal h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; color: var(--black); margin: 44px 0 12px; line-height: 1.1; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; color: #333; }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 1.2em; margin: 0 0 16px; }
.legal a { color: var(--black); text-decoration: underline; text-underline-offset: 2px; }
.legal-updated { font-size: 14px !important; color: #555 !important; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #e3e3e3; vertical-align: top; line-height: 1.6; color: #333; }
.legal-table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #555; }
@media (max-width: 600px) {
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; }
  .legal-table thead { display: none; }
  .legal-table td:first-child { font-weight: 700; border: 0; padding-bottom: 0; }
}

/* ─── 404 ─────────────────────────────────────────────────── */
.nf-header { min-height: 70vh; display: flex; align-items: center; }
.nf-code { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(80px, 14vw, 160px); line-height: 1; color: var(--neon); margin: 0 0 8px; }
.nf-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.nf-call { color: rgba(255,255,255,0.75); font-size: 15px; }
.nf-call a { color: var(--neon); text-decoration: underline; text-underline-offset: 2px; }
.trust-bar:focus-visible { outline: 2px solid var(--black); outline-offset: -2px; }

/* ─── Keyboard focus: two-tone ring, visible on light and dark ─── */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 0;
  box-shadow: 0 0 0 6px var(--black);
}
