/* Climate + solar knowledge cluster — premium, dependency-free composition. */

.eb-climate-knowledge,
.eb-area-hero,
.eb-area-page {
  --eb-climate-copper: #d87946;
  --eb-climate-copper-light: #f0a06e;
  --eb-climate-navy: #06151e;
  --eb-climate-metal: #0d2936;
  --eb-climate-paper: #f4f2ee;
}

.eb-climate-knowledge {
  position: relative;
  overflow: hidden;
  padding: clamp(5.5rem, 9vw, 9rem) 0;
  background:
    radial-gradient(circle at 92% 8%, rgb(0 139 197 / 0.1), transparent 24rem),
    linear-gradient(180deg, #f7f5f1, #eeeae4);
}

.eb-energy-flow {
  position: relative;
  padding: clamp(2rem, 4vw, 4rem);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.13);
  border-radius: 1rem;
  background:
    linear-gradient(140deg, rgb(255 255 255 / 0.08), transparent 38%),
    radial-gradient(circle at 90% 10%, rgb(216 121 70 / 0.18), transparent 22rem),
    var(--eb-climate-navy);
  box-shadow: 0 2.5rem 6rem rgb(0 21 31 / 0.22), inset 0 1px rgb(255 255 255 / 0.08);
  color: #fff;
}

.eb-energy-flow .eyebrow { color: var(--eb-climate-copper-light); }
.eb-energy-flow h2 { color: #fff; }

.eb-energy-flow::before,
.eb-area-content__aside::before {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgb(216 121 70 / 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  right: -8rem;
  top: -9rem;
}

.eb-energy-flow__heading {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  align-items: end;
}

.eb-energy-flow h2,
.eb-climate-article__intro h2,
.eb-area-faq h2,
.eb-area-related h2,
.eb-area-contact h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.eb-energy-flow__heading > p {
  max-width: 34rem;
  margin: 0;
  color: rgb(255 255 255 / 0.68);
  font-size: 1.05rem;
}

.eb-energy-flow__track {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.2rem, 3vw, 3rem);
  margin: clamp(2.8rem, 5vw, 5rem) 0 2rem;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.eb-energy-flow__track li {
  position: relative;
  min-height: 12rem;
  padding: 1.5rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 0.7rem;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 0.08), transparent 50%),
    rgb(10 33 44 / 0.75);
  box-shadow: inset 0 1px rgb(255 255 255 / 0.06);
}

.eb-energy-flow__track li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  left: calc(100% + 0.3rem);
  width: clamp(1rem, 2.7vw, 2.7rem);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--eb-climate-copper), transparent);
  background-size: 200% 100%;
  content: "";
  animation: eb-energy-travel 1.8s linear infinite;
}

.eb-energy-flow__track span {
  display: block;
  color: var(--eb-climate-copper-light);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.eb-energy-flow__track strong {
  display: block;
  margin: 2.2rem 0 0.45rem;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.eb-energy-flow__track small {
  color: rgb(255 255 255 / 0.64);
  font-size: 0.9rem;
}

.eb-energy-flow__truth {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1rem 1.15rem;
  border-left: 2px solid var(--eb-climate-copper);
  background: rgb(255 255 255 / 0.05);
  color: rgb(255 255 255 / 0.72);
}

@keyframes eb-energy-travel {
  to { background-position: -200% 0; }
}

.eb-climate-article {
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  margin-top: clamp(4rem, 8vw, 8rem);
  grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
}

.eb-climate-article__intro {
  position: sticky;
  top: 2rem;
  padding: 2rem;
  border: 1px solid rgb(6 21 30 / 0.12);
  border-top: 3px solid var(--eb-climate-copper);
  background: rgb(255 255 255 / 0.58);
  box-shadow: 0 1.5rem 4rem rgb(6 21 30 / 0.09);
}

.eb-climate-article__intro h2 {
  max-width: 10ch;
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: #0b202b;
}

.eb-climate-article__intro > p:last-child {
  color: #52636b;
}

.eb-climate-article__body {
  max-width: 52rem;
  color: #243b45;
  font-size: 1.04rem;
  line-height: 1.8;
}

.eb-climate-article__body h2 {
  margin: clamp(4rem, 7vw, 7rem) 0 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgb(6 21 30 / 0.16);
  color: #0b202b;
  font-size: clamp(2.25rem, 4.2vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.eb-climate-article__body h2:first-child { margin-top: 0; }

.eb-climate-article__body h3 {
  margin: 2.4rem 0 0.7rem;
  color: #102d3a;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.eb-climate-article__body ul {
  display: grid;
  gap: 0.7rem;
  margin: 1.8rem 0;
  padding: 0;
  list-style: none;
}

.eb-climate-article__body li {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid rgb(6 21 30 / 0.1);
  background: rgb(255 255 255 / 0.55);
}

.eb-climate-article__body li::before {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--eb-climate-copper);
  content: "✓";
  font-weight: 800;
}

/* Regional service/area pages. */

.single-eb_service_area {
  background: var(--eb-climate-paper);
}

.single-eb_service_area .site-header--service-area {
  position: absolute;
  z-index: 30;
  inset: 0 0 auto;
  border: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.78), transparent);
  color: #fff;
}

.single-eb_service_area .site-header--service-area .site-header__inner,
.eb-area-page .container--wide,
.eb-area-hero .container--wide {
  width: min(calc(100vw - 4rem), 92.5rem);
}

.single-eb_service_area .site-header--service-area .site-header__inner { min-height: 6.6rem; }
.single-eb_service_area .site-header--service-area a { color: #fff; }

.eb-area-hero {
  position: relative;
  min-height: clamp(48rem, 64vw, 60rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 32%, rgb(0 139 197 / 0.14), transparent 26rem),
    radial-gradient(circle at 45% 90%, rgb(216 121 70 / 0.11), transparent 30rem),
    #03090d;
  color: #fff;
}

.eb-area-hero__layout {
  display: grid;
  min-height: clamp(48rem, 64vw, 60rem);
  grid-template-columns: minmax(30rem, 0.92fr) minmax(0, 1.08fr);
}

.eb-area-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 48rem;
  flex-direction: column;
  justify-content: center;
  padding: 9rem clamp(3rem, 6vw, 7rem) 5rem 0;
}

.eb-area-hero .breadcrumbs {
  width: 100%;
  margin: 0 0 3rem;
  color: rgb(255 255 255 / 0.65);
}

.eb-area-hero .breadcrumbs a { color: #fff; }
.eb-area-hero .breadcrumbs span { color: rgb(255 255 255 / 0.65); }
.eb-area-hero .eyebrow { color: var(--eb-climate-copper-light); }

.eb-area-hero h1 {
  max-width: 11ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3.5rem, 5.3vw, 6.2rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.eb-area-hero__lead {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: rgb(255 255 255 / 0.72);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.eb-area-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.eb-area-hero__facts {
  display: grid;
  gap: 0;
  margin: 3rem 0 0;
  padding: 0;
  border-block: 1px solid rgb(255 255 255 / 0.14);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.eb-area-hero__facts li {
  padding: 1rem;
  border-right: 1px solid rgb(255 255 255 / 0.12);
}

.eb-area-hero__facts li:first-child { padding-left: 0; }
.eb-area-hero__facts li:last-child { border-right: 0; }
.eb-area-hero__facts strong,
.eb-area-hero__facts span { display: block; }
.eb-area-hero__facts strong { color: var(--eb-climate-copper-light); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.eb-area-hero__facts span { margin-top: 0.35rem; color: rgb(255 255 255 / 0.72); font-size: 0.82rem; }

.eb-area-hero__media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.eb-area-hero__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #03090d 0, transparent 30%, rgb(3 9 13 / 0.12));
  content: "";
  pointer-events: none;
}

.eb-area-hero__media picture,
.eb-area-hero__media img { display: block; width: 100%; height: 100%; }
.eb-area-hero__media img { object-fit: cover; }

.eb-area-hero__media figcaption {
  position: absolute;
  z-index: 3;
  right: 2rem;
  bottom: 3rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--eb-climate-copper);
  background: rgb(3 16 23 / 0.74);
  backdrop-filter: blur(14px);
}

.eb-area-hero__media figcaption span,
.eb-area-hero__media figcaption strong { display: block; }
.eb-area-hero__media figcaption span { color: var(--eb-climate-copper-light); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.eb-area-hero__media figcaption strong { margin-top: 0.2rem; }

.eb-area-content {
  padding: clamp(5.5rem, 9vw, 9rem) 0;
  background:
    linear-gradient(90deg, rgb(6 21 30 / 0.035) 1px, transparent 1px) 0 0 / 9rem 100%,
    var(--eb-climate-paper);
}

.eb-area-content__layout {
  display: grid;
  max-width: 79rem;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  align-items: start;
}

.eb-area-content__article { color: #30454f; font-size: 1.04rem; line-height: 1.8; }
.eb-area-content__article h2 { margin: 4.5rem 0 1rem; color: #0a202b; font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: 1; letter-spacing: -0.05em; }
.eb-area-content__article h2:first-child { margin-top: 0; }
.eb-area-content__article ul { display: grid; gap: 0.65rem; padding: 0; list-style: none; }
.eb-area-content__article li { padding: 1rem 1.1rem; border: 1px solid rgb(6 21 30 / 0.11); border-left: 3px solid var(--eb-climate-copper); background: rgb(255 255 255 / 0.62); }

.eb-area-content__aside {
  position: sticky;
  top: 2rem;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 0.8rem;
  background: linear-gradient(145deg, #102d3a, #06151e 72%);
  box-shadow: 0 2rem 5rem rgb(6 21 30 / 0.22), inset 0 1px rgb(255 255 255 / 0.08);
  color: #fff;
}

.eb-area-content__aside h2 { position: relative; margin: 0; font-size: clamp(2rem, 3vw, 3rem); line-height: 1; letter-spacing: -0.04em; }
.eb-area-content__aside ol { position: relative; display: grid; gap: 0.6rem; margin: 2rem 0; padding: 0; list-style: none; }
.eb-area-content__aside li { display: flex; gap: 1rem; align-items: center; padding: 0.8rem; border: 1px solid rgb(255 255 255 / 0.11); background: rgb(255 255 255 / 0.05); }
.eb-area-content__aside li span { color: var(--eb-climate-copper-light); font-family: ui-monospace, monospace; font-size: 0.7rem; }
.eb-area-content__aside > p:last-child { position: relative; color: rgb(255 255 255 / 0.62); font-size: 0.9rem; }

.eb-area-faq { padding: clamp(5rem, 8vw, 8rem) 0; background: #dfe9ed; }
.eb-area-faq__heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.eb-area-faq__grid { display: grid; gap: 1rem; margin-top: 3rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eb-area-faq__grid article { min-height: 15rem; padding: 1.8rem; border: 1px solid rgb(6 21 30 / 0.12); border-top: 3px solid var(--eb-climate-copper); background: rgb(255 255 255 / 0.62); box-shadow: 0 1.4rem 3.5rem rgb(6 21 30 / 0.09); }
.eb-area-faq__grid h3 { margin: 0 0 1rem; color: #0a202b; font-size: 1.4rem; }
.eb-area-faq__grid p { color: #425963; line-height: 1.65; }

.eb-area-related { padding: clamp(5rem, 8vw, 8rem) 0; background: var(--eb-climate-paper); }
.eb-area-related__heading { max-width: 60rem; }
.eb-area-related__grid { display: grid; gap: 0.8rem; margin-top: 3rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eb-area-related__grid a { position: relative; min-height: 10rem; padding: 1.5rem; border: 1px solid rgb(6 21 30 / 0.13); border-radius: 0.5rem; background: linear-gradient(145deg, #fff, #ece8e1); box-shadow: 0 1rem 2.5rem rgb(6 21 30 / 0.08); color: #0a202b; text-decoration: none; }
.eb-area-related__grid a:hover { transform: translateY(-0.25rem); border-color: var(--eb-climate-copper); }
.eb-area-related__grid span,
.eb-area-related__grid strong { display: block; }
.eb-area-related__grid span { color: #a45228; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.eb-area-related__grid strong { max-width: 16rem; margin-top: 1rem; font-size: 1.2rem; }
.eb-area-related__grid i { position: absolute; right: 1.4rem; bottom: 1.2rem; color: var(--eb-climate-copper); font-style: normal; }

.eb-area-contact { padding: clamp(5rem, 8vw, 8rem) 0; background: linear-gradient(110deg, #06151e, #0d2936); color: #fff; }
.eb-area-contact__layout { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr); align-items: center; }
.eb-area-contact__layout > div:first-child > p:last-child { max-width: 45rem; color: rgb(255 255 255 / 0.66); }
.eb-area-contact__layout > div:last-child { display: grid; gap: 1rem; justify-items: start; }
.eb-area-contact__layout > div:last-child > a:not(.button) { color: #fff; font-weight: 800; }

@media (max-width: 64rem) {
  .eb-climate-article,
  .eb-area-content__layout { grid-template-columns: 1fr; }
  .eb-climate-article__intro,
  .eb-area-content__aside { position: relative; top: auto; }
  .eb-area-hero__layout { grid-template-columns: 1fr; }
  .eb-area-hero__copy { max-width: none; padding: 9rem 0 4rem; }
  .eb-area-hero__media { min-height: 32rem; }
  .eb-area-faq__grid,
  .eb-area-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 44rem) {
  .single-eb_service_area .site-header--service-area .site-header__inner,
  .eb-area-page .container--wide,
  .eb-area-hero .container--wide { width: min(calc(100vw - 2rem), 92.5rem); }
  .eb-energy-flow__heading,
  .eb-energy-flow__track,
  .eb-area-contact__layout { grid-template-columns: 1fr; }
  .eb-energy-flow__track li:not(:last-child)::after { top: calc(100% + 0.15rem); left: 50%; width: 2px; height: 1.3rem; }
  .eb-area-hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .eb-area-hero__facts { grid-template-columns: 1fr; }
  .eb-area-hero__facts li,
  .eb-area-hero__facts li:first-child { padding: 0.8rem 0; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
  .eb-area-hero__facts li:last-child { border-bottom: 0; }
  .eb-area-hero__media { min-height: 24rem; }
  .eb-area-faq__grid,
  .eb-area-related__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .eb-energy-flow__track li:not(:last-child)::after { animation: none; }
  .eb-area-related__grid a { transition: none; }
}
