:root {
  --ink: #141715;
  --muted: #5c6661;
  --line: #dfe6e2;
  --paper: #ffffff;
  --soft: #f6f8f6;
  --amber: #f2a007;
  --amber-dark: #b66f00;
  --teal: #087b80;
  --teal-dark: #04565a;
  --blue: #2367a2;
  --blue-dark: #183d63;
  --mint: #d7f1ec;
  --gold-soft: #fff1cb;
  --shadow: 0 18px 45px rgba(20, 23, 21, 0.08);
  --shadow-strong: 0 28px 70px rgba(20, 23, 21, 0.14);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f3faf8 0, var(--soft) 320px, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.container > *,
.hero-content,
.hero-panel,
.section-heading > *,
.split > *,
.proof-item,
.card,
.work-card {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-contact {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #101310, var(--blue-dark) 58%, var(--teal-dark));
  color: var(--paper);
}

.header-contact-inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  font-weight: 750;
}

.header-contact-inner span {
  color: rgba(255, 255, 255, 0.76);
}

.header-contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 1rem;
  min-width: 0;
}

.header-contact-links a,
.contact-quick a {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(242, 160, 7, 0.5);
  text-underline-offset: 0.18em;
}

.header-contact-links a:hover,
.header-contact-links a:focus-visible,
.contact-quick a:hover,
.contact-quick a:focus-visible {
  color: var(--amber);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 76px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 0.85rem;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: linear-gradient(135deg, #eef8f7, #fff5da);
}

.nav-toggle {
  display: none;
  flex: 0 0 42px;
  margin-left: auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.nav-toggle span {
  margin: 4px 0;
}

.hero {
  position: relative;
  min-height: min(680px, 72vh);
  overflow: hidden;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 160, 7, 0.18), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f5fbfa 48%, #eef7ff 100%);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10vw 8% auto;
  width: min(680px, 62vw);
  aspect-ratio: 960 / 679;
  background: url("/assets/ed-lake-electrical.jpg") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.46fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: 5.5rem 0 4.5rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 1.2rem;
  padding: 1.25rem;
  border: 1px solid rgba(8, 123, 128, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.78)),
    linear-gradient(135deg, var(--gold-soft), var(--mint));
  box-shadow: var(--shadow-strong);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 5px solid var(--amber);
  border-radius: 8px 8px 0 0;
  pointer-events: none;
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 1.2rem;
  border-radius: 8px;
  background: #ffffff;
}

.hero-panel div {
  display: grid;
  gap: 0.25rem;
}

.hero-panel span {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-panel a {
  width: fit-content;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
  text-decoration-color: rgba(242, 160, 7, 0.65);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.hero-panel p {
  margin: 0;
  color: #39413d;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  max-width: 650px;
  margin: 1.25rem 0 0;
  color: #39413d;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  overflow-wrap: break-word;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: var(--blue-dark);
}

.button.secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--teal);
  background: #eef8f7;
}

.button.accent {
  background: linear-gradient(135deg, var(--amber), #f8cb57);
  color: #1f1603;
  box-shadow: 0 10px 22px rgba(242, 160, 7, 0.24);
}

.button.accent:hover,
.button.accent:focus-visible {
  background: #f7b437;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow-strong);
}

.proof-item {
  min-height: 118px;
  padding: 1.15rem;
  background: var(--paper);
  border-top: 4px solid transparent;
}

.proof-item:nth-child(1) {
  border-color: var(--teal);
}

.proof-item:nth-child(2) {
  border-color: var(--amber);
}

.proof-item:nth-child(3) {
  border-color: var(--blue);
}

.proof-item strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.6rem;
  line-height: 1;
}

.proof-item span {
  color: var(--muted);
}

.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.section.paper {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), #ffffff),
    radial-gradient(circle at 10% 10%, rgba(8, 123, 128, 0.08), transparent 24%);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.65fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(20, 23, 21, 0.04);
}

.card h3 {
  margin-bottom: 0.65rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.service-card {
  position: relative;
  padding-top: 4.7rem;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: 1.35rem;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--amber), #f8d987);
}

.service-card::after {
  content: "";
  position: absolute;
  left: 1.78rem;
  top: 1.8rem;
  width: 24px;
  height: 12px;
  border: solid #1f1603;
  border-width: 0 0 3px 3px;
  transform: rotate(-45deg);
}

.service-card:nth-child(2n)::before {
  background: linear-gradient(135deg, var(--teal), var(--mint));
}

.service-card:nth-child(3n)::before {
  background: linear-gradient(135deg, var(--blue), #b7d7f2);
}

.band {
  background:
    linear-gradient(135deg, #101310 0%, var(--blue-dark) 58%, var(--teal-dark) 100%);
  color: var(--paper);
}

.colour-band {
  position: relative;
  overflow: hidden;
}

.colour-band::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -10rem;
  width: 24rem;
  height: 24rem;
  border: 3rem solid rgba(242, 160, 7, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.band .muted,
.band p {
  color: rgba(255, 255, 255, 0.74);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 2px;
  background: var(--teal);
}

.band .list li {
  color: rgba(255, 255, 255, 0.78);
}

.band .list li::before {
  background: var(--amber);
}

.page-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 160, 7, 0.14), transparent 26%),
    linear-gradient(135deg, #ffffff, #f4fbfa 58%, #eef7ff);
  border-bottom: 1px solid var(--line);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.accent-hero {
  background:
    linear-gradient(135deg, rgba(16, 19, 16, 0.9), rgba(24, 61, 99, 0.88)),
    url("/assets/ed-lake-electrical.jpg") right 8% center / min(520px, 55vw) auto no-repeat,
    #101310;
  color: var(--paper);
}

.accent-hero .eyebrow {
  color: #f8cb57;
}

.accent-hero .lead {
  color: rgba(255, 255, 255, 0.78);
}

.accent-hero h1 {
  max-width: 700px;
}

.accent-hero .lead {
  max-width: 660px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.page-hero .lead {
  max-width: 720px;
}

.contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.35rem;
  color: var(--teal-dark);
  font-size: 1.05rem;
  font-weight: 850;
  max-width: 100%;
}

.feature-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: 8px;
}

.feature-list article {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  background: var(--paper);
}

.feature-list h3 {
  margin-top: 0.1rem;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 0 0.65rem;
  border-radius: 6px;
  background: #eef8f7;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.notice {
  padding: 1.25rem;
  border: 1px solid #f3ce7a;
  border-radius: 8px;
  background: #fff8e9;
  color: #513a05;
}

.section-actions {
  justify-content: center;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 36px rgba(20, 23, 21, 0.07);
}

.work-media {
  aspect-ratio: 4 / 3;
  background: #e9f3f1;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-placeholder {
  display: grid;
  min-height: 100%;
  align-content: end;
  gap: 0.35rem;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(8, 123, 128, 0.9), rgba(35, 103, 162, 0.84)),
    linear-gradient(45deg, transparent 46%, rgba(255, 255, 255, 0.18) 46%, rgba(255, 255, 255, 0.18) 54%, transparent 54%);
  color: var(--paper);
}

.work-placeholder span {
  width: fit-content;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  background: rgba(242, 160, 7, 0.92);
  color: #201703;
  font-size: 0.78rem;
  font-weight: 900;
}

.work-placeholder strong {
  font-size: 1.4rem;
  line-height: 1;
}

.work-body {
  padding: 1.1rem;
}

.work-body h3 {
  margin-bottom: 0.55rem;
}

.work-body p {
  margin: 0;
  color: var(--muted);
}

.work-meta {
  margin-bottom: 0.55rem !important;
  color: var(--teal-dark) !important;
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.45fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  color: #303833;
  font-size: 0.94rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd6d1;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  padding: 0.78rem 0.85rem;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(8, 123, 128, 0.18);
  border-color: var(--teal);
}

.full {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status[data-tone="success"] {
  color: #177344;
}

.form-status[data-tone="error"] {
  color: #a1321f;
}

.contact-methods {
  display: grid;
  gap: 1rem;
}

.contact-method {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.contact-method span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-method a,
.contact-method strong {
  display: inline-block;
  margin-top: 0.25rem;
  font-weight: 800;
  text-decoration-color: rgba(8, 123, 128, 0.35);
}

.site-footer {
  padding: 2.5rem 0;
  background: #101310;
  color: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
}

.footer-brand img {
  width: 82px;
  height: 58px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 6px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  justify-content: flex-end;
}

.footer-nav a,
.site-footer p {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer p {
  margin: 1rem 0 0;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 700;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--paper);
}

@media (max-width: 820px) {
  .header-contact-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding-block: 0.45rem;
  }

  .header-contact-links {
    justify-content: flex-start;
    gap: 0.15rem 0.85rem;
  }

  .header-contact-links a {
    overflow-wrap: anywhere;
  }

  .header-inner {
    position: relative;
    min-height: 70px;
  }

  .brand img {
    width: 62px;
    height: 44px;
  }

  .nav-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    display: grid !important;
    transform: translateY(-50%);
  }

  .site-nav {
    position: absolute;
    inset: 100% 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    inset: auto -18vw 2rem auto;
    width: 88vw;
  }

  .hero-content {
    padding: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 4rem 0 3.2rem;
  }

  .hero-panel {
    max-width: 520px;
  }

  .proof-row,
  .section-heading,
  .grid.three,
  .grid.two,
  .work-grid,
  .split,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .feature-list article,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .header-contact-links,
  .contact-quick {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-quick {
    gap: 0.25rem;
  }

  .brand span {
    max-width: 150px;
    white-space: normal;
    line-height: 1.1;
  }

  .eyebrow {
    font-size: 0.74rem;
    line-height: 1.45;
  }

  h1 {
    font-size: 2.45rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .proof-item {
    min-height: auto;
  }

  .hero-panel {
    padding: 1rem;
  }

  .accent-hero {
    background:
      linear-gradient(135deg, rgba(16, 19, 16, 0.96), rgba(24, 61, 99, 0.94)),
      #101310;
  }

  .work-placeholder strong {
    font-size: 1.2rem;
  }
}
