.energy-page {
  background:
    radial-gradient(circle at 14% 4%, rgba(245,184,65,.07), transparent 25%),
    #071019;
  color: #eef3f8;
}

.energy-page main {
  overflow: hidden;
}

.ec-eyebrow {
  color: #f5b841;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}


/* HERO */

.ec-hero {
  padding: clamp(92px, 12vw, 150px) 0 clamp(88px, 10vw, 132px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.ec-hero-inner {
  max-width: 900px;
}

.ec-hero h1 {
  margin: 18px 0 28px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(62px, 9vw, 118px);
  line-height: .88;
  letter-spacing: -.065em;
}

.ec-hero p {
  max-width: 690px;
  margin: 0;
  color: #aebdcd;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}


/* SHARED SECTION HEAD */

.ec-concept,
.ec-contribution,
.ec-reporting,
.ec-related {
  padding: clamp(74px, 9vw, 118px) 0;
}

.ec-section-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}

.ec-section-head h2,
.ec-report-copy h2,
.ec-related-head h2 {
  margin: 13px 0 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -.045em;
}

.ec-section-head > p {
  max-width: 520px;
  margin: 0;
  color: #98a9ba;
  line-height: 1.75;
}


/* ENERGY FLOW */

.ec-concept {
  background: #09131e;
}

.ec-flow {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
  align-items: stretch;
}

.ec-flow-card {
  min-height: 300px;
  padding: 25px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
}

.ec-flow-number {
  color: #718398;
  font-size: 11px;
  letter-spacing: .14em;
}

.ec-flow-icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin: 36px 0 25px;
  border: 1px solid rgba(245,184,65,.28);
  border-radius: 50%;
  color: #f5b841;
  font-size: 22px;
}

.ec-flow-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.ec-flow-card p {
  margin: 0;
  color: #93a4b7;
  line-height: 1.65;
}

.ec-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5b841;
  font-size: 22px;
}


/* CONTRIBUTION SIGNALS */

.ec-contribution {
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ec-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255,255,255,.1);
  border-left: 1px solid rgba(255,255,255,.1);
}

.ec-signal-grid article {
  min-height: 210px;
  padding: 30px;
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.ec-signal-grid span {
  color: #f5b841;
  font-size: 11px;
  letter-spacing: .14em;
}

.ec-signal-grid h3 {
  margin: 32px 0 10px;
  font-size: 22px;
}

.ec-signal-grid p {
  max-width: 470px;
  margin: 0;
  color: #93a4b7;
  line-height: 1.65;
}


/* VERIFIED REPORTING */

.ec-reporting {
  background:
    radial-gradient(circle at 82% 30%, rgba(58,141,255,.08), transparent 30%),
    #09131e;
}

.ec-report-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(45px, 8vw, 110px);
  padding: clamp(32px, 5vw, 66px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  background: rgba(255,255,255,.025);
}

.ec-report-copy p {
  max-width: 570px;
  margin: 25px 0 0;
  color: #9aabba;
  line-height: 1.75;
}

.ec-report-copy .ec-report-note {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: #d1dae4;
  font-size: 13px;
}

.ec-report-stack {
  display: grid;
  align-content: center;
}

.ec-report-stack > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.ec-report-stack > div:first-child {
  border-top: 1px solid rgba(255,255,255,.09);
}

.ec-report-stack span {
  grid-row: 1 / 3;
  color: #f5b841;
  font-size: 11px;
}

.ec-report-stack strong {
  color: #e7edf3;
  font-size: 16px;
}

.ec-report-stack small {
  margin-top: 4px;
  color: #788b9e;
  font-size: 12px;
}


/* RELATED */

.ec-related {
  border-top: 1px solid rgba(255,255,255,.06);
}

.ec-related-head {
  margin-bottom: 42px;
}

.ec-related-links {
  border-top: 1px solid rgba(255,255,255,.1);
}

.ec-related-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 4px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #dfe7ef;
  text-decoration: none;
  transition: padding .18s ease, color .18s ease;
}

.ec-related-links a:hover {
  padding-left: 10px;
  color: #f5b841;
}

.ec-related-links b {
  color: #f5b841;
  font-size: 20px;
}


/* RESPONSIVE */

@media (max-width: 900px) {
  .ec-section-head,
  .ec-report-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ec-flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ec-flow-arrow {
    height: 28px;
    transform: rotate(90deg);
  }

  .ec-flow-card {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .ec-hero h1 {
    font-size: clamp(58px, 18vw, 82px);
  }

  .ec-signal-grid {
    grid-template-columns: 1fr;
  }

  .ec-report-card {
    padding: 26px 22px;
  }
}


/* ============================================================
   AVAILABLE ENERGY SOURCES
   ============================================================ */

.ec-energy-sources {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 8px 0 30px;
}

.ec-energy-source {
  position: relative;
  overflow: hidden;
  min-height: 235px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 15%, rgba(245,184,65,.055), transparent 42%),
    rgba(255,255,255,.018);
}

.ec-source-visual {
  position: relative;
  height: 116px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.ec-source-copy {
  padding: 20px 22px 22px;
}

.ec-source-copy span {
  display: block;
  margin-bottom: 8px;
  color: #718398;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .15em;
}

.ec-source-copy h3 {
  margin: 0 0 8px;
  color: #e8eef4;
  font-size: 18px;
}

.ec-source-copy p {
  margin: 0;
  color: #8497aa;
  font-size: 13px;
  line-height: 1.55;
}

.ec-energy-pulse {
  position: absolute;
  left: -35%;
  bottom: 0;
  width: 32%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245,184,65,.95),
    transparent
  );
  filter: drop-shadow(0 0 5px rgba(245,184,65,.65));
  animation: ec-energy-travel 3.8s linear infinite;
}

@keyframes ec-energy-travel {
  from { left: -35%; }
  to   { left: 105%; }
}


/* SOLAR */

.ec-sun {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 29px;
  height: 29px;
  margin-left: -14px;
  border: 1px solid rgba(245,184,65,.75);
  border-radius: 50%;
  box-shadow:
    0 0 14px rgba(245,184,65,.16),
    0 0 30px rgba(245,184,65,.08);
  animation: ec-sun-glow 3s ease-in-out infinite;
}

.ec-sun span {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #f5b841;
}

@keyframes ec-sun-glow {
  0%,100% {
    box-shadow:
      0 0 10px rgba(245,184,65,.13),
      0 0 24px rgba(245,184,65,.06);
  }
  50% {
    box-shadow:
      0 0 18px rgba(245,184,65,.30),
      0 0 38px rgba(245,184,65,.12);
  }
}

.ec-panels {
  position: absolute;
  left: 50%;
  bottom: 17px;
  display: flex;
  gap: 3px;
  transform: translateX(-50%) perspective(90px) rotateX(20deg);
}

.ec-panels i {
  display: block;
  width: 27px;
  height: 23px;
  border: 1px solid rgba(85,157,213,.55);
  background:
    linear-gradient(90deg, transparent 48%, rgba(116,177,224,.18) 50%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(116,177,224,.18) 50%, transparent 52%),
    #0c2639;
}


/* BATTERY */

.ec-battery {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 48px;
  height: 70px;
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid rgba(245,184,65,.55);
  border-radius: 7px;
  background: rgba(4,13,21,.7);
}

.ec-battery::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 16px;
  width: 16px;
  height: 5px;
  border-radius: 3px 3px 0 0;
  background: rgba(245,184,65,.55);
}

.ec-battery-level {
  position: absolute;
  right: 5px;
  bottom: 5px;
  left: 5px;
  height: 18%;
  border-radius: 3px;
  background: linear-gradient(
    180deg,
    rgba(245,184,65,.75),
    rgba(245,184,65,.22)
  );
  box-shadow: 0 0 12px rgba(245,184,65,.15);
  animation: ec-battery-charge 5s ease-in-out infinite;
}

@keyframes ec-battery-charge {
  0%,100% { height: 18%; }
  50%     { height: 78%; }
}


/* GRID */

.ec-grid-lines {
  position: absolute;
  inset: 25px 37px 20px;
}

.ec-grid-lines i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  transform-origin: center;
  background: rgba(95,157,208,.28);
}

.ec-grid-lines i:nth-child(1) {
  top: 20px;
  transform: rotate(16deg);
}

.ec-grid-lines i:nth-child(2) {
  top: 43px;
  transform: rotate(-17deg);
}

.ec-grid-lines i:nth-child(3) {
  top: 35px;
}

.ec-grid-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid #f5b841;
  border-radius: 50%;
  background: #09131e;
  box-shadow: 0 0 10px rgba(245,184,65,.28);
  animation: ec-node-pulse 2.8s ease-in-out infinite;
}

.ec-grid-node-a {
  top: 32px;
  left: 27%;
}

.ec-grid-node-b {
  top: 70px;
  left: 51%;
  animation-delay: .7s;
}

.ec-grid-node-c {
  top: 37px;
  right: 25%;
  animation-delay: 1.4s;
}

@keyframes ec-node-pulse {
  0%,100% {
    box-shadow: 0 0 4px rgba(245,184,65,.15);
  }
  50% {
    box-shadow: 0 0 15px rgba(245,184,65,.7);
  }
}


/* RENEWABLE / WIND */

.ec-turbine {
  position: absolute;
  top: 17px;
  left: 50%;
  width: 80px;
  height: 95px;
  transform: translateX(-50%);
}

.ec-turbine-mast {
  position: absolute;
  top: 41px;
  left: 39px;
  width: 2px;
  height: 54px;
  background: linear-gradient(
    180deg,
    rgba(191,205,217,.7),
    rgba(191,205,217,.12)
  );
}

.ec-turbine-hub {
  position: absolute;
  top: 34px;
  left: 33px;
  z-index: 2;
  width: 14px;
  height: 14px;
  border: 2px solid #f5b841;
  border-radius: 50%;
  background: #09131e;
  animation: ec-turbine-spin 7s linear infinite;
}

.ec-turbine-hub i {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 34px;
  height: 2px;
  transform-origin: 1px 1px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(245,184,65,.85),
    rgba(245,184,65,.12)
  );
}

.ec-turbine-hub i:nth-child(1) {
  transform: rotate(0deg);
}

.ec-turbine-hub i:nth-child(2) {
  transform: rotate(120deg);
}

.ec-turbine-hub i:nth-child(3) {
  transform: rotate(240deg);
}

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


/* SOURCE CONVERGENCE */

.ec-energy-converge {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 0 0 25px;
}

.ec-energy-converge span {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245,184,65,.25)
  );
}

.ec-energy-converge span:last-child {
  background: linear-gradient(
    90deg,
    rgba(245,184,65,.25),
    transparent
  );
}

.ec-energy-converge b {
  color: #718398;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .ec-energy-pulse,
  .ec-sun,
  .ec-battery-level,
  .ec-grid-node,
  .ec-turbine-hub {
    animation: none;
  }
}


/* ENERGY SOURCE RESPONSIVE */

@media (max-width: 900px) {
  .ec-energy-sources {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .ec-energy-sources {
    grid-template-columns: 1fr;
  }

  .ec-energy-source {
    min-height: 0;
  }

  .ec-source-visual {
    height: 105px;
  }
}


/* WIND + WAVE ENERGY SOURCES */

.ec-source-wind .ec-turbine-hub {
  animation: ec-wind-spin 5s linear infinite;
}

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


/* WAVE ENERGY */

.ec-wave {
  position: absolute;
  left: 50%;
  top: 49%;
  width: 116px;
  height: 48px;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.ec-wave i {
  position: absolute;
  left: -20px;
  width: 155px;
  height: 28px;
  border: 1.5px solid rgba(55, 169, 220, .68);
  border-color: rgba(55, 169, 220, .68) transparent transparent transparent;
  border-radius: 50%;
}

.ec-wave i:nth-child(1) {
  top: 5px;
  animation: ec-wave-move 3.4s ease-in-out infinite;
}

.ec-wave i:nth-child(2) {
  top: 17px;
  opacity: .72;
  animation: ec-wave-move 4.2s ease-in-out infinite reverse;
}

.ec-wave i:nth-child(3) {
  top: 29px;
  opacity: .42;
  animation: ec-wave-move 5s ease-in-out infinite;
}

.ec-wave-float {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 9px;
  height: 9px;
  border: 1px solid #f5b841;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(245,184,65,.3);
  animation: ec-wave-float 3.4s ease-in-out infinite;
}

@keyframes ec-wave-move {
  0%,
  100% {
    transform: translateX(-7px) translateY(0);
  }

  50% {
    transform: translateX(7px) translateY(-4px);
  }
}

@keyframes ec-wave-float {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ec-source-wind .ec-turbine-hub,
  .ec-wave i,
  .ec-wave-float {
    animation: none;
  }
}
