:root {
  --ink: #12120f;
  --muted: #6f6b5f;
  --paper: #f7f4ea;
  --surface: #fffdf6;
  --dark: #090907;
  --dark-soft: #15150f;
  --green: #174f33;
  --green-bright: #3d8f47;
  --gold: #f7bf19;
  --gold-deep: #c8870b;
  --orange: #f77721;
  --line: rgba(18, 18, 15, 0.14);
  --shadow: 0 24px 70px rgba(11, 11, 8, 0.22);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  position: relative;
  margin: 0;
  background:
    linear-gradient(180deg, #f7f4ea 0%, #fffdf6 42%, #f7f4ea 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Fixed animated solar-panel layer. It sits above the page background and below all content. */
.solar-motion-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(247, 191, 25, 0.2), transparent 24%),
    radial-gradient(circle at 74% 28%, rgba(79, 221, 255, 0.16), transparent 30%),
    linear-gradient(145deg, #020812, #06172b 46%, #01040a);
  opacity: 0.88;
  perspective: 1100px;
  pointer-events: none;
}

/* The light veil keeps dark panel movement from fighting with foreground text. */
.solar-motion-bg::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at 74% 22%, rgba(247, 191, 25, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(247, 244, 234, 0.42) 0%, rgba(247, 244, 234, 0.2) 46%, rgba(247, 244, 234, 0.38) 100%),
    linear-gradient(180deg, rgba(255, 253, 246, 0.22), rgba(247, 244, 234, 0.34));
  content: "";
}

/* Each generated tile is a small realistic panel: glass, frame, grid cells, and animated shine. */
.solar-bg-panel {
  position: absolute;
  z-index: 1;
  width: clamp(96px, 13vw, 178px);
  aspect-ratio: 1.72;
  border: 1px solid rgba(111, 218, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.24), transparent 24%, transparent 54%, rgba(255, 255, 255, 0.1) 66%, transparent 78%),
    linear-gradient(145deg, #071b34, #0f3c72 52%, #030914);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(79, 221, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.13);
  opacity: var(--panel-alpha, 0.8);
  transform-style: preserve-3d;
  transform-origin: center;
  will-change: transform, opacity;
}

.solar-bg-panel::before {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(119, 218, 255, 0.26);
  border-radius: 6px;
  background:
    linear-gradient(rgba(125, 214, 255, 0.38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 214, 255, 0.34) 1px, transparent 1px);
  background-size: 100% 25%, 25% 100%;
  content: "";
}

.solar-bg-panel::after {
  position: absolute;
  inset: -34% -74%;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.55) 49%, rgba(247, 191, 25, 0.18) 54%, transparent 66%);
  content: "";
  opacity: var(--shine-opacity, 0.18);
  transform: translateX(var(--shine-x, -40%)) skewX(-12deg);
  will-change: transform, opacity;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 74px;
  padding: 12px clamp(16px, 4vw, 72px);
  background:
    linear-gradient(90deg, rgba(9, 9, 7, 0.58), rgba(9, 9, 7, 0.36)),
    linear-gradient(180deg, rgba(247, 191, 25, 0.08), rgba(247, 191, 25, 0.02));
  border-bottom: 1px solid rgba(247, 191, 25, 0.22);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px) saturate(1.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: #ffffff;
}

.brand-mark {
  position: relative;
  isolation: isolate;
  display: grid;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  place-items: center;
  background: var(--dark);
  border: 1px solid rgba(247, 191, 25, 0.42);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 28px rgba(247, 191, 25, 0.34);
  overflow: hidden;
}

.animated-logo::before,
.animated-logo::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.animated-logo::before {
  inset: 2px;
  z-index: 3;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(247, 191, 25, 0.92) 0deg 8deg,
    transparent 8deg 20deg
  );
  border-radius: 999px;
  opacity: 0.52;
  -webkit-mask: radial-gradient(circle, transparent 0 43%, #000 45% 58%, transparent 60%);
  mask: radial-gradient(circle, transparent 0 43%, #000 45% 58%, transparent 60%);
  animation: sunshine-spin 9s linear infinite;
}

.animated-logo::after {
  inset: 0;
  z-index: 3;
  background: radial-gradient(circle, rgba(255, 230, 96, 0.3), rgba(255, 230, 96, 0.08) 52%, transparent 72%);
  border-radius: 999px;
  animation: sunshine-glow 2.8s ease-in-out infinite;
}

.brand-logo-image {
  position: relative;
  z-index: 2;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-radius: 7px;
  object-fit: cover;
  object-position: center 48%;
}

.electric {
  position: absolute;
  z-index: 4;
  width: 17px;
  height: 20px;
  background: linear-gradient(135deg, #ffffff, #ffe55a 46%, #63fff0 100%);
  clip-path: polygon(43% 0, 100% 0, 62% 38%, 100% 38%, 20% 100%, 42% 54%, 0 54%);
  filter:
    drop-shadow(0 0 5px rgba(99, 255, 240, 0.92))
    drop-shadow(0 0 8px rgba(247, 191, 25, 0.85));
  opacity: 0;
  transform-origin: center;
  animation: electric-flicker 2.6s steps(1, end) infinite;
}

.electric-one {
  top: 3px;
  right: 4px;
  transform: rotate(18deg);
}

.electric-two {
  right: 1px;
  bottom: 12px;
  animation-delay: 0.8s;
  transform: rotate(76deg) scale(0.82);
}

.electric-three {
  bottom: 3px;
  left: 5px;
  animation-delay: 1.55s;
  transform: rotate(205deg) scale(0.74);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  color: #ffffff;
  font-size: 1rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

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

.site-nav a {
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 780;
  padding: 10px 12px;
}

.site-nav a:hover {
  background: rgba(247, 191, 25, 0.13);
  color: #ffffff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--dark) !important;
}

.nav-cta svg,
.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--gold);
  border: 0;
  border-radius: 8px;
  color: var(--dark);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(640px, 88svh, 860px);
  align-items: center;
  padding: 130px max(24px, calc((100vw - 1180px) / 2)) 86px;
  color: #ffffff;
  isolation: isolate;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  z-index: -3;
  object-fit: cover;
  object-position: 56% center;
}

.hero-poster {
  z-index: -4;
  filter: saturate(1.04) contrast(1.04);
}

.hero-video-bg {
  z-index: -3;
  background: #000000;
  opacity: 0.2;
  filter: saturate(0.55) contrast(0.78) brightness(0.58);
}

.hero-overlay {
  z-index: -2;
  background:
    radial-gradient(circle at 72% 36%, rgba(247, 191, 25, 0.16), transparent 33%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.66) 44%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62));
}

.hero-content {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

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

h1,
h2,
h3 {
  line-height: 1.03;
}

h1 {
  max-width: 800px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 950;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 4.3rem);
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions,
.button {
  display: inline-flex;
  align-items: center;
}

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

.button {
  justify-content: center;
  min-height: 52px;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 16px 34px rgba(247, 191, 25, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.hero-proof {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  display: grid;
  width: min(620px, calc(100% - 48px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background: rgba(9, 9, 7, 0.88);
  border: 1px solid rgba(247, 191, 25, 0.32);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-proof div {
  padding: 18px;
}

.hero-proof div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: var(--gold);
  font-size: clamp(1.32rem, 2vw, 1.8rem);
  line-height: 1;
}

.hero-proof span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.benefit-bar {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 24px auto 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(18, 18, 15, 0.08);
}

.benefit-bar div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 22px;
  background: var(--surface);
}

.benefit-bar span {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  background: #16150f;
  border-radius: 8px;
  color: var(--gold);
}

.benefit-bar svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.benefit-bar p {
  margin: 0;
  font-weight: 820;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 116px) 0;
}

.announcement-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.58fr);
  gap: 42px;
  align-items: center;
}

.announcement-copy p:not(.eyebrow),
.section-heading > p,
.install-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.announcement-section img,
.package-card,
.install-gallery figure,
.process-grid article,
.quote-form,
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(18, 18, 15, 0.1);
}

.announcement-section img {
  width: 100%;
  overflow: hidden;
}

.panel-flip-section {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.74fr);
  gap: 44px;
  align-items: center;
  overflow: hidden;
}

.panel-flip-copy {
  max-width: 520px;
}

.panel-flip-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.solar-panel-stage {
  position: relative;
  min-height: 520px;
  padding: clamp(22px, 4vw, 38px);
  background:
    radial-gradient(circle at 28% 18%, rgba(247, 191, 25, 0.22), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(61, 143, 71, 0.2), transparent 32%),
    linear-gradient(145deg, #090907, #151810 52%, #0b1020);
  border: 1px solid rgba(247, 191, 25, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  perspective: 1200px;
  perspective-origin: 50% 38%;
}

.solar-panel-stage::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(247, 191, 25, 0.18);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.solar-panel-grid {
  position: relative;
  display: grid;
  min-height: 100%;
  grid-template-columns: repeat(4, minmax(86px, 1fr));
  gap: clamp(12px, 2vw, 18px);
  transform: rotateX(58deg) rotateZ(-18deg) scale(0.94);
  transform-origin: center;
  transform-style: preserve-3d;
}

.solar-panel-card {
  position: relative;
  min-height: clamp(108px, 14vw, 158px);
  border-radius: 8px;
  transform:
    translate3d(0, var(--panel-lift, 28px), 0)
    rotateX(var(--panel-tilt, 8deg))
    rotateY(var(--panel-rotate, -68deg));
  transform-style: preserve-3d;
  transition: opacity 220ms ease;
  opacity: var(--panel-opacity, 0.42);
  will-change: transform, opacity;
}

.panel-face {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow:
    0 22px 38px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 0 2px rgba(5, 13, 25, 0.88);
}

.panel-front {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(145deg, #071326 0%, #0d2442 48%, #05080e 100%);
}

.panel-front::before {
  position: absolute;
  inset: 8px;
  background:
    linear-gradient(rgba(132, 184, 230, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 184, 230, 0.28) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 46%);
  background-size: 100% 25%, 25% 100%, 100% 100%;
  border: 1px solid rgba(167, 215, 255, 0.2);
  border-radius: 6px;
  content: "";
}

.panel-front::after {
  position: absolute;
  inset: -40% -75%;
  background: linear-gradient(
    105deg,
    transparent 34%,
    rgba(255, 255, 255, 0.52) 48%,
    rgba(247, 191, 25, 0.18) 52%,
    transparent 66%
  );
  content: "";
  opacity: var(--panel-shine, 0);
  transform: translate3d(var(--panel-shine-x, -36%), 0, 0) rotate(6deg);
  transition: opacity 120ms linear;
}

.panel-back {
  background:
    radial-gradient(circle at 24% 24%, rgba(247, 191, 25, 0.28), transparent 22%),
    linear-gradient(145deg, #11150f, #1b2d21 56%, #070707);
  transform: rotateY(180deg);
}

.panel-back::before {
  position: absolute;
  inset: 10px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(247, 191, 25, 0.52) 49% 51%, transparent 52%),
    linear-gradient(transparent 48%, rgba(61, 143, 71, 0.56) 49% 51%, transparent 52%);
  border: 1px solid rgba(247, 191, 25, 0.28);
  border-radius: 6px;
  content: "";
}

.panel-back::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 26px;
  height: 26px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(247, 191, 25, 0.7);
  content: "";
}

.charge-flow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.76fr);
  gap: 44px;
  align-items: center;
}

.charge-flow-copy {
  max-width: 520px;
}

.charge-flow-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.charge-flow-stage {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(247, 191, 25, 0.24), transparent 22%),
    radial-gradient(circle at 76% 70%, rgba(61, 143, 71, 0.18), transparent 32%),
    linear-gradient(145deg, #080908, #151a12 48%, #071221);
  border: 1px solid rgba(247, 191, 25, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.charge-flow-stage::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(247, 191, 25, 0.16);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.charge-flow-stage::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(247, 191, 25, 0.08));
  content: "";
  pointer-events: none;
}

.charge-sun {
  position: absolute;
  top: 42px;
  left: 48px;
  width: 76px;
  height: 76px;
  background:
    radial-gradient(circle, #fff8b4 0 18%, var(--gold) 19% 54%, rgba(247, 191, 25, 0.1) 55% 100%);
  border-radius: 50%;
  box-shadow:
    0 0 32px rgba(247, 191, 25, 0.85),
    0 0 72px rgba(247, 191, 25, 0.36);
  animation: charge-sun-pulse 3.8s ease-in-out infinite;
}

.charge-sun::before {
  position: absolute;
  inset: -12px;
  background: repeating-conic-gradient(rgba(247, 191, 25, 0.78) 0deg 8deg, transparent 8deg 20deg);
  border-radius: 50%;
  content: "";
  animation: charge-sun-spin 14s linear infinite;
}

.charge-panel {
  position: absolute;
  top: 150px;
  left: 62px;
  width: min(270px, 42%);
  height: 168px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(145deg, #071326, #0e2947 52%, #05080e);
  border: 2px solid rgba(120, 184, 235, 0.2);
  border-radius: 8px;
  box-shadow:
    0 28px 42px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  transform: rotateX(58deg) rotateZ(-15deg);
  transform-origin: center;
  transform-style: preserve-3d;
}

.charge-panel::before {
  position: absolute;
  inset: 10px;
  background:
    linear-gradient(rgba(142, 199, 248, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 199, 248, 0.28) 1px, transparent 1px);
  background-size: 100% 25%, 25% 100%;
  border: 1px solid rgba(142, 199, 248, 0.18);
  border-radius: 6px;
  content: "";
}

.charge-panel::after {
  position: absolute;
  inset: -38% -72%;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.52) 49%, rgba(247, 191, 25, 0.18) 53%, transparent 66%);
  content: "";
  animation: panel-charge-shine 4.4s ease-in-out infinite;
  transform: translateX(-42%) rotate(6deg);
}

.charge-panel span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(247, 191, 25, 0.85);
}

.charge-cable {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.charge-cable path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.charge-cable-track {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 8;
}

.charge-cable-glow {
  stroke: var(--gold);
  stroke-width: 5;
  stroke-dasharray: 34 28;
  filter: drop-shadow(0 0 8px rgba(247, 191, 25, 0.88));
  animation: cable-current 1.35s linear infinite;
}

.home-cable {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.home-cable path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-cable-track {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 12;
}

.home-cable-glow {
  stroke: #6ff5a6;
  stroke-width: 7;
  stroke-dasharray: 20 14;
  filter:
    drop-shadow(0 0 10px rgba(105, 240, 163, 0.95))
    drop-shadow(0 0 18px rgba(247, 191, 25, 0.52));
  animation: home-current 0.9s linear infinite;
}

.home-cable-node {
  fill: #fff8a8;
  filter:
    drop-shadow(0 0 9px rgba(255, 248, 168, 0.95))
    drop-shadow(0 0 18px rgba(105, 240, 163, 0.88));
  transform-box: fill-box;
  transform-origin: center;
  animation: home-node-pulse 1.4s ease-in-out infinite;
}

.home-cable-node-end {
  animation-delay: 0.35s;
}

.energy-pulse {
  position: absolute;
  z-index: 3;
  width: 15px;
  height: 15px;
  background: #fff8a8;
  border-radius: 50%;
  box-shadow:
    0 0 16px rgba(247, 191, 25, 0.95),
    0 0 28px rgba(80, 255, 206, 0.46);
  opacity: 0;
  offset-path: path("M130 150 C260 82 340 112 400 174 C462 238 520 250 594 202");
  animation: energy-particle 2.7s ease-in-out infinite;
}

.pulse-one {
  animation-delay: 0s;
}

.pulse-two {
  animation-delay: 0.9s;
}

.pulse-three {
  animation-delay: 1.8s;
}

.inverter-node {
  position: absolute;
  top: 210px;
  left: 50%;
  z-index: 4;
  display: grid;
  width: 108px;
  height: 132px;
  place-items: center;
  padding: 18px 12px;
  background:
    linear-gradient(180deg, #f7f4e8, #d9d2bf);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.34),
    0 0 30px rgba(247, 191, 25, 0.22);
  color: var(--dark);
  text-align: center;
  transform: translateX(-50%);
}

.inverter-node::before {
  width: 34px;
  height: 22px;
  background: linear-gradient(135deg, #111, #31404d);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  content: "";
}

.inverter-node::after {
  width: 12px;
  height: 12px;
  background: var(--green-bright);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(61, 143, 71, 0.95);
  content: "";
  animation: inverter-pulse 1.8s ease-in-out infinite;
}

.inverter-node span,
.inverter-node strong {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0;
}

.inverter-node strong {
  font-size: 0.72rem;
}

.battery-unit {
  position: absolute;
  right: 68px;
  bottom: 252px;
  z-index: 3;
  width: min(170px, 26%);
  min-width: 132px;
  height: 245px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(230, 227, 214, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  box-shadow:
    0 26px 48px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.battery-terminal {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 54px;
  height: 12px;
  background: #1c1c18;
  border-radius: 3px;
  transform: translateX(-50%);
}

.battery-screen {
  position: absolute;
  top: 42px;
  left: 50%;
  display: grid;
  width: 70px;
  height: 42px;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 8px;
  background: #182530;
  border-radius: 6px;
  transform: translateX(-50%);
}

.battery-screen span {
  background: rgba(61, 143, 71, 0.38);
  border-radius: 2px;
  animation: battery-bars 1.6s ease-in-out infinite;
}

.battery-screen span:nth-child(2) {
  animation-delay: 0.18s;
}

.battery-screen span:nth-child(3) {
  animation-delay: 0.36s;
}

.battery-fill {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 64%;
  background:
    linear-gradient(180deg, rgba(78, 255, 176, 0.68), rgba(61, 143, 71, 0.88));
  box-shadow: 0 -18px 36px rgba(78, 255, 176, 0.28);
  animation: battery-charge-fill 3.8s ease-in-out infinite;
}

.battery-bolt {
  position: absolute;
  top: 118px;
  left: 50%;
  z-index: 2;
  width: 38px;
  height: 58px;
  background: var(--gold);
  clip-path: polygon(52% 0, 100% 0, 64% 38%, 100% 38%, 34% 100%, 48% 55%, 0 55%);
  filter: drop-shadow(0 0 12px rgba(247, 191, 25, 0.92));
  transform: translateX(-50%);
  animation: battery-bolt-pulse 1.5s ease-in-out infinite;
}

.battery-unit strong {
  position: absolute;
  right: 12px;
  bottom: 14px;
  left: 12px;
  z-index: 2;
  color: #17231b;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-align: center;
}

.charged-house {
  position: absolute;
  bottom: 34px;
  left: 50%;
  z-index: 4;
  width: min(310px, 43%);
  min-width: 220px;
  height: 184px;
  filter:
    drop-shadow(0 24px 28px rgba(0, 0, 0, 0.36))
    drop-shadow(0 0 26px rgba(105, 240, 163, 0.28));
  transform: translateX(-50%);
}

.house-roof {
  position: absolute;
  top: 0;
  left: 50%;
  width: 86%;
  height: 88px;
  background:
    linear-gradient(135deg, #1d2420 0 46%, #111610 47% 100%);
  clip-path: polygon(50% 0, 100% 58%, 91% 70%, 50% 29%, 9% 70%, 0 58%);
  transform: translateX(-50%);
}

.house-body {
  position: absolute;
  right: 14%;
  bottom: 18px;
  left: 14%;
  height: 122px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(219, 226, 213, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px 8px 5px 5px;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.08),
    0 0 34px rgba(105, 240, 163, 0.18);
}

.house-body::before {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 78%;
  height: 10px;
  background: linear-gradient(90deg, #f7bf19, #69f0a3);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(247, 191, 25, 0.82);
  content: "";
  transform: translateX(-50%);
  animation: house-charge-glow 1.7s ease-in-out infinite;
}

.house-window,
.house-door,
.house-bolt {
  position: absolute;
  z-index: 2;
}

.house-window {
  top: 32px;
  width: 42px;
  height: 32px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(24, 38, 42, 0.18) 49% 51%, transparent 52%),
    linear-gradient(transparent 48%, rgba(24, 38, 42, 0.18) 49% 51%, transparent 52%),
    linear-gradient(135deg, #fff39d, #69f0a3);
  border-radius: 4px;
  box-shadow: 0 0 18px rgba(105, 240, 163, 0.58);
  animation: house-window-glow 2s ease-in-out infinite;
}

.window-left {
  left: 28px;
}

.window-right {
  right: 28px;
  animation-delay: 0.35s;
}

.house-door {
  bottom: 0;
  left: 50%;
  width: 44px;
  height: 72px;
  background: linear-gradient(180deg, #17231b, #0d1210);
  border-radius: 6px 6px 0 0;
  transform: translateX(-50%);
}

.house-door::after {
  position: absolute;
  top: 34px;
  right: 9px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(247, 191, 25, 0.95);
  content: "";
}

.house-bolt {
  top: 74px;
  left: 50%;
  width: 28px;
  height: 46px;
  background: var(--gold);
  clip-path: polygon(52% 0, 100% 0, 64% 38%, 100% 38%, 34% 100%, 48% 55%, 0 55%);
  filter: drop-shadow(0 0 12px rgba(247, 191, 25, 0.92));
  transform: translateX(-50%);
  animation: house-bolt-pulse 1.45s ease-in-out infinite;
}

.house-ground {
  position: absolute;
  right: 4%;
  bottom: 0;
  left: 4%;
  height: 16px;
  background:
    radial-gradient(ellipse at center, rgba(105, 240, 163, 0.72), rgba(247, 191, 25, 0.18) 42%, transparent 70%);
  filter: blur(1px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.56fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading.compact {
  grid-template-columns: minmax(0, 760px);
  margin-bottom: 30px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.package-card {
  display: flex;
  grid-column: span 2;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
}

.package-card.featured {
  grid-column: span 4;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.56fr);
}

.package-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: top center;
}

.package-card:not(.featured) img {
  height: 430px;
}

.package-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
}

.package-body span {
  width: fit-content;
  padding: 7px 10px;
  background: #fff0ba;
  border-radius: 999px;
  color: #79510a;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.package-body p {
  margin-bottom: 6px;
  color: var(--muted);
}

.package-body strong {
  color: var(--green);
  font-size: 1.28rem;
}

.installations-section {
  display: block;
}

.install-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 28px 44px;
  align-items: end;
  margin-bottom: 34px;
}

.install-copy .eyebrow,
.install-copy h2,
.install-copy > p {
  grid-column: 1;
}

.install-copy h2 {
  max-width: 780px;
}

.install-copy > p {
  max-width: 720px;
}

.install-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  grid-column: 2;
  grid-row: 1 / span 3;
  margin-top: 0;
}

.install-stats div {
  padding: 18px;
  background: var(--dark);
  border-radius: 8px;
  color: #ffffff;
}

.install-stats strong,
.install-stats span {
  display: block;
}

.install-stats strong {
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.install-stats span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.install-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.install-gallery figure {
  margin: 0;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.install-gallery figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(18, 18, 15, 0.16);
}

.install-gallery figure.wide {
  grid-column: 1 / -1;
}

.install-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.install-gallery figure:not(.wide) img {
  height: auto;
}

.install-gallery figcaption {
  padding: 14px 16px;
  background: var(--dark);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-grid article {
  min-height: 255px;
  padding: 24px;
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  background: var(--gold);
  border-radius: 8px;
  color: var(--dark);
  font-weight: 900;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(360px, 0.6fr);
  gap: 44px;
  align-items: start;
}

.contact-panel {
  padding: 30px;
  background: var(--dark);
  color: #ffffff;
}

.contact-panel h2 {
  margin-bottom: 24px;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 780;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 4px rgba(247, 191, 25, 0.2);
}

.quote-form textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  background: var(--dark);
  color: #ffffff;
}

.footer-brand small,
.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin: 0;
}

.footer-link {
  color: var(--gold);
  font-weight: 800;
  overflow-wrap: anywhere;
}

@keyframes sunshine-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sunshine-glow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.92);
  }

  50% {
    opacity: 0.95;
    transform: scale(1.12);
  }
}

@keyframes electric-flicker {
  0%,
  8%,
  100% {
    opacity: 0;
  }

  9% {
    opacity: 1;
  }

  11% {
    opacity: 0.25;
  }

  13% {
    opacity: 1;
  }

  16% {
    opacity: 0;
  }
}

@keyframes charge-sun-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes charge-sun-pulse {
  0%,
  100% {
    transform: scale(0.94);
  }

  50% {
    transform: scale(1.04);
  }
}

@keyframes panel-charge-shine {
  0%,
  18% {
    opacity: 0;
    transform: translateX(-42%) rotate(6deg);
  }

  42% {
    opacity: 0.9;
  }

  70%,
  100% {
    opacity: 0;
    transform: translateX(42%) rotate(6deg);
  }
}

@keyframes cable-current {
  to {
    stroke-dashoffset: -62;
  }
}

@keyframes home-current {
  to {
    stroke-dashoffset: -34;
  }
}

@keyframes home-node-pulse {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(0.86);
  }

  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes energy-particle {
  0% {
    offset-distance: 0%;
    opacity: 0;
    transform: scale(0.7);
  }

  12%,
  82% {
    opacity: 1;
  }

  100% {
    offset-distance: 100%;
    opacity: 0;
    transform: scale(1.12);
  }
}

@keyframes inverter-pulse {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.92);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes battery-bars {
  0%,
  100% {
    opacity: 0.36;
    transform: scaleY(0.42);
    transform-origin: bottom;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes battery-charge-fill {
  0%,
  100% {
    height: 34%;
  }

  55% {
    height: 78%;
  }
}

@keyframes battery-bolt-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: translateX(-50%) scale(0.92);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.08);
  }
}

@keyframes house-charge-glow {
  0%,
  100% {
    opacity: 0.58;
    transform: translateX(-50%) scaleX(0.82);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }
}

@keyframes house-window-glow {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.94);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes house-bolt-pulse {
  0%,
  100% {
    opacity: 0.76;
    transform: translateX(-50%) scale(0.9);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.08);
  }
}

@media (max-width: 1080px) {
  .solar-motion-bg {
    opacity: 0.82;
  }

  .solar-bg-panel {
    width: clamp(84px, 17vw, 146px);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(340px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(9, 9, 7, 0.98);
    border: 1px solid rgba(247, 191, 25, 0.28);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .section-heading,
  .announcement-section,
  .panel-flip-section,
  .charge-flow-section,
  .installations-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .install-copy {
    grid-template-columns: 1fr;
  }

  .install-stats {
    grid-column: auto;
    grid-row: auto;
  }

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

  .package-card,
  .package-card.featured {
    grid-column: span 3;
    display: flex;
  }

  .hero-proof {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .solar-panel-stage {
    min-height: 470px;
  }

  .charge-flow-stage {
    min-height: 700px;
  }

  .solar-panel-grid {
    grid-template-columns: repeat(3, minmax(82px, 1fr));
    transform: rotateX(54deg) rotateZ(-16deg) scale(0.9);
  }
}

@media (max-width: 720px) {
  .solar-motion-bg {
    opacity: 0.78;
    perspective: 820px;
  }

  .solar-bg-panel {
    width: clamp(72px, 30vw, 116px);
    border-radius: 6px;
  }

  .site-header {
    top: 0;
    width: 100%;
    min-height: 64px;
    padding: 10px 12px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: clamp(620px, 86svh, 760px);
    padding: 112px 20px 36px;
  }

  .hero-bg {
    object-position: 58% center;
  }

  .hero-overlay {
    background: rgba(0, 0, 0, 0.72);
  }

  h1 {
    font-size: clamp(2.45rem, 10vw, 3.6rem);
  }

  h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-proof,
  .benefit-bar,
  .process-grid,
  .install-stats,
  .install-gallery {
    grid-template-columns: 1fr;
  }

  .hero-proof div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .benefit-bar {
    width: min(100% - 24px, 1180px);
    margin-top: 14px;
  }

  .benefit-bar div {
    min-height: auto;
    padding: 18px;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 64px 0;
  }

  .section-heading {
    gap: 12px;
  }

  .solar-panel-stage {
    min-height: 460px;
    padding: 20px;
  }

  .solar-panel-grid {
    grid-template-columns: repeat(2, minmax(86px, 1fr));
    gap: 10px;
    transform: rotateX(46deg) rotateZ(-10deg) scale(0.78);
  }

  .solar-panel-card {
    min-height: 94px;
  }

  .charge-flow-stage {
    min-height: 700px;
  }

  .charge-sun {
    top: 34px;
    left: 32px;
    width: 58px;
    height: 58px;
  }

  .charge-panel {
    top: 132px;
    left: 28px;
    width: 48%;
    height: 128px;
  }

  .inverter-node {
    top: 246px;
    width: 92px;
    height: 116px;
  }

  .battery-unit {
    right: 24px;
    bottom: 248px;
    width: 132px;
    height: 214px;
  }

  .battery-bolt {
    top: 104px;
  }

  .charged-house {
    bottom: 24px;
    left: 50%;
    width: 228px;
    min-width: 0;
    height: 154px;
  }

  .house-roof {
    height: 72px;
  }

  .house-body {
    right: 10%;
    bottom: 14px;
    left: 10%;
    height: 102px;
  }

  .house-window {
    top: 27px;
    width: 34px;
    height: 26px;
  }

  .window-left {
    left: 22px;
  }

  .window-right {
    right: 22px;
  }

  .house-door {
    width: 38px;
    height: 62px;
  }

  .house-bolt {
    top: 62px;
    width: 24px;
    height: 40px;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }

  .package-card,
  .package-card.featured {
    grid-column: auto;
  }

  .package-card img,
  .package-card:not(.featured) img,
  .install-gallery img,
  .install-gallery figure:not(.wide) img {
    height: auto;
    min-height: 0;
  }

  .quote-form,
  .contact-panel {
    padding: 20px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .solar-panel-grid,
  .solar-panel-card {
    transform: none !important;
  }

  .solar-panel-card {
    opacity: 1 !important;
  }

  .solar-bg-panel {
    opacity: 0.52 !important;
    transform: translate3d(-50%, -50%, 0) rotateX(58deg) rotateY(0deg) rotateZ(-16deg) scale(1) !important;
  }

  .solar-bg-panel::after {
    opacity: 0.12 !important;
    transform: translateX(0) skewX(-12deg) !important;
  }

  .panel-front::after {
    display: none;
  }

  .hero-video-bg {
    display: none;
  }

  .charge-sun,
  .charge-sun::before,
  .charge-panel::after,
  .charge-cable-glow,
  .home-cable-glow,
  .home-cable-node,
  .energy-pulse,
  .inverter-node::after,
  .battery-screen span,
  .battery-fill,
  .battery-bolt,
  .house-body::before,
  .house-window,
  .house-bolt {
    animation: none !important;
  }

  .energy-pulse {
    display: none;
  }

  .battery-fill {
    height: 72%;
  }
}
