:root {
  --ink: #05080d;
  --panel: #0c121c;
  --line: #26364a;
  --blue: #5f9edc;
  --blue-bright: #7ab7f0;
  --chalk: #dce8f4;
  --muted: #93a4b7;
  --white: #f8fbff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(5, 8, 13, 0.82);
  border-bottom: 1px solid rgba(220, 232, 244, 0.12);
  backdrop-filter: blur(18px);
}

.brand-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-choice {
  display: inline-flex;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.brand-choice:hover,
.brand-choice.active {
  background: rgba(122, 183, 240, 0.1);
  border-color: rgba(122, 183, 240, 0.65);
}

.brand-choice:hover {
  transform: translateY(-2px);
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(145px, 18vw, 236px);
  height: 54px;
  padding: 5px 8px;
  background: rgba(248, 251, 255, 0.95);
  border: 1px solid rgba(122, 183, 240, 0.44);
  border-radius: 6px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.solar-brand {
  background: rgba(248, 251, 255, 0.98);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  border-color: var(--blue);
}

.hero {
  position: relative;
  min-height: calc(100vh - 81px);
  display: grid;
  align-items: end;
  padding: clamp(36px, 7vw, 86px) clamp(18px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 8, 13, 0.96), rgba(5, 8, 13, 0.66) 52%, rgba(5, 8, 13, 0.22));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.drift-frame {
  overflow: hidden;
  background: #111a26;
}

.drift-frame img {
  min-height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--drift-y, 0px), 0) scale(1.08);
  transition: transform 120ms linear;
  will-change: transform;
}

.hero-content,
.page-hero,
.contact-layout,
.feature-split,
.intro,
.services,
.project-strip,
.gallery-grid,
.cross-site-cta,
.solar-hero,
.solar-systems,
.solar-delivery,
.solar-detail {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

.hero-content {
  margin-inline: 0;
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(3.25rem, 11vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  font-size: 1.25rem;
}

.hero-copy,
.page-hero p,
.contact-copy p,
.feature-split p,
.intro p,
.services p {
  color: var(--chalk);
  font-size: 1.05rem;
}

.hero-subtitle {
  margin-bottom: 14px;
  color: var(--blue-bright);
  font-size: clamp(1.15rem, 3vw, 1.85rem);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(122, 183, 240, 0.4);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
}

.button.primary {
  background: var(--blue);
  color: #06101a;
  border-color: var(--blue);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 34px;
  padding: clamp(58px, 9vw, 100px) 0 28px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 24px 0 clamp(58px, 9vw, 110px);
}

.services article {
  min-height: 238px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid rgba(220, 232, 244, 0.12);
  border-radius: 8px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.services article:hover {
  background: #101b29;
  border-color: rgba(122, 183, 240, 0.58);
  transform: translateY(-3px);
}

.services h3 {
  color: var(--white);
  transition: color 180ms ease;
}

.services article:hover h3 {
  color: var(--blue-bright);
}

.project-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
  padding: 0 0 clamp(58px, 9vw, 96px);
}

.project-strip ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.project-strip li {
  min-height: 86px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background: var(--panel);
  border: 1px solid rgba(220, 232, 244, 0.12);
  border-radius: 8px;
  color: var(--chalk);
  font-weight: 850;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding-bottom: clamp(42px, 6vw, 72px);
}

.feature-split .drift-frame {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.text-link {
  color: var(--blue-bright);
  font-weight: 800;
  text-underline-offset: 6px;
}

.cross-site-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  padding: clamp(34px, 7vw, 82px) 0 clamp(70px, 10vw, 120px);
  border-top: 1px solid rgba(220, 232, 244, 0.12);
}

.cross-site-cta p {
  color: var(--chalk);
}

.cross-site-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.cross-site-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 13, 0), rgba(5, 8, 13, 0.74));
}

.cross-site-card span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  font-weight: 900;
}

.page-hero {
  padding: clamp(58px, 10vw, 118px) 0 34px;
}

.page-hero h1,
.contact-copy h1 {
  font-size: clamp(2.4rem, 7vw, 5.3rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-bottom: clamp(70px, 10vw, 120px);
}

.project-card {
  display: grid;
  gap: 16px;
  min-height: 100%;
  padding: 14px;
  background: var(--panel);
  border: 1px solid rgba(220, 232, 244, 0.12);
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
}

.project-card:hover {
  border-color: rgba(122, 183, 240, 0.72);
}

.project-card.wide {
  grid-column: 1 / -1;
}

.project-card .drift-frame {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
}

.project-card p {
  margin-bottom: 4px;
  color: var(--blue-bright);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card h2 {
  margin-bottom: 4px;
  font-size: clamp(1.35rem, 3vw, 2.4rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: start;
  padding: clamp(58px, 10vw, 118px) 0 clamp(70px, 10vw, 120px);
}

.solar-page {
  background: #04070c;
}

.solar-header {
  background: rgba(4, 7, 12, 0.88);
}

.solar-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1fr);
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
  width: 100%;
  min-height: calc(100vh - 91px);
  padding: clamp(58px, 10vw, 112px) clamp(18px, 5vw, 64px) clamp(42px, 7vw, 78px);
  overflow: hidden;
  isolation: isolate;
}

.solar-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 7, 12, 0.93), rgba(4, 7, 12, 0.74) 47%, rgba(4, 7, 12, 0.26));
}

.solar-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.solar-hero-copy {
  max-width: 740px;
}

.solar-hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

.hero-logo-overlay {
  width: min(430px, 80vw);
  margin: 0 0 26px;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.46));
}

.solar-hero-copy p,
.solar-systems p,
.solar-delivery p,
.solar-detail p {
  color: var(--chalk);
  font-size: 1.05rem;
}

.solar-slider {
  overflow-x: auto;
  scrollbar-color: var(--blue) rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}

.hero-slider {
  align-self: end;
}

.slide-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(520px, 88vw);
  gap: 16px;
}

.slide-panel {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  border: 1px solid rgba(220, 232, 244, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.slide-panel figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  background: rgba(5, 8, 13, 0.78);
  border: 1px solid rgba(122, 183, 240, 0.32);
  border-radius: 4px;
  color: var(--chalk);
  font-weight: 800;
}

.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.slider-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(122, 183, 240, 0.44);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
}

.slider-controls button:hover {
  background: var(--blue);
  color: #06101a;
}

.solar-systems {
  padding: clamp(38px, 7vw, 76px) 0;
  border-top: 1px solid rgba(220, 232, 244, 0.12);
}

.solar-delivery {
  padding: clamp(28px, 6vw, 66px) 0;
  border-top: 1px solid rgba(220, 232, 244, 0.12);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.system-grid,
.delivery-steps {
  display: grid;
  gap: 14px;
}

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

.delivery-steps {
  grid-template-columns: repeat(4, 1fr);
}

.system-grid article {
  min-height: 246px;
  padding: 26px;
  background: linear-gradient(180deg, #111923, #0b111b);
  border: 1px solid rgba(220, 232, 244, 0.13);
  border-radius: 8px;
}

.delivery-steps article {
  min-height: 210px;
  padding: 24px;
  background: linear-gradient(180deg, #111923, #0b111b);
  border: 1px solid rgba(220, 232, 244, 0.13);
  border-radius: 8px;
}

.system-grid span {
  color: var(--blue-bright);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.solar-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: clamp(32px, 7vw, 76px) 0 clamp(70px, 10vw, 120px);
}

.solar-detail .drift-frame {
  aspect-ratio: 16 / 11;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-contact {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.quick-contact a {
  color: var(--blue-bright);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 4vw, 28px);
  background: var(--panel);
  border: 1px solid rgba(220, 232, 244, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--chalk);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #060b12;
  color: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid rgba(220, 232, 244, 0.12);
}

.site-footer a {
  color: var(--chalk);
  font-weight: 850;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.site-footer a:not(.footer-button):hover {
  color: var(--white);
  border-color: var(--blue);
}

.footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  background: rgba(122, 183, 240, 0.12);
  border: 1px solid rgba(122, 183, 240, 0.44);
  border-radius: 4px;
}

.footer-button:hover {
  background: var(--blue);
  color: #06101a;
}

.site-footer div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer span {
  color: var(--muted);
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .brand-switcher {
    width: 100%;
    flex-wrap: wrap;
  }

  .brand-logo {
    width: 158px;
    height: 46px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav a {
    padding-inline: 6px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 680px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(5, 8, 13, 0.46), rgba(5, 8, 13, 0.96) 70%);
  }

  .solar-hero {
    min-height: 780px;
  }

  .solar-hero::after {
    background: linear-gradient(180deg, rgba(4, 7, 12, 0.38), rgba(4, 7, 12, 0.96) 66%);
  }

  .band,
  .services,
  .project-strip,
  .feature-split,
  .gallery-grid,
  .contact-layout,
  .cross-site-cta,
  .solar-hero,
  .system-grid,
  .delivery-steps,
  .solar-detail {
    grid-template-columns: 1fr;
  }

  .project-strip ul {
    grid-template-columns: 1fr;
  }

  .project-card.wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .drift-frame img {
    transition: none;
    transform: scale(1.02);
  }
}
