*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #167345;
  --green-light: #24a765;
  --coal: #111312;
  --ink: #242827;
  --muted: #626c68;
  --line: #e3e6e1;
  --paper: #f6f7f3;
  --white: #fff;
  --bebas: "Bebas Neue", sans-serif;
  --body: "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 56px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--bebas);
  font-size: 25px;
  letter-spacing: 2px;
}

.brand strong,
.footer-brand strong {
  color: var(--green);
  font-weight: 400;
}

.f-logo span {
  color: var(--green-light);
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--green);
}

.nav-cta,
.btn-primary {
  background: var(--green);
  color: var(--white) !important;
}

.nav-cta {
  border-radius: 4px;
  padding: 10px 20px;
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  display: none;
  font: 600 13px var(--body);
  padding: 9px 13px;
}

.hero-slider {
  height: calc(100vh - 72px);
  margin-top: 72px;
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.slide {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity .7s ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 7s ease;
  width: 100%;
}

.slide.active img {
  transform: scale(1);
}

.slide::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .22) 62%, rgba(0, 0, 0, .06));
  content: "";
  inset: 0;
  position: absolute;
}

.slide-content {
  color: var(--white);
  left: 0;
  max-width: 760px;
  padding: 0 80px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.eyebrow {
  color: var(--green-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--bebas);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: .94;
}

.slide h1,
.slide h2 {
  color: var(--white);
  font-size: clamp(66px, 9vw, 118px);
  margin-bottom: 22px;
}

.slide p:not(.eyebrow) {
  color: rgba(255, 255, 255, .8);
  font-size: 18px;
  line-height: 1.6;
  max-width: 520px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  border-radius: 4px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
}

.btn-primary:hover,
.nav-cta:hover {
  background: var(--green-light);
}

.btn-light {
  border: 1px solid rgba(255, 255, 255, .55);
  color: var(--white);
}

.slider-arrow {
  align-items: center;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  font-size: 30px;
  height: 48px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  z-index: 3;
}

.slider-arrow:hover {
  background: var(--green);
}

.prev {
  left: 24px;
}

.next {
  right: 24px;
}

.slider-dots {
  bottom: 36px;
  display: flex;
  gap: 10px;
  left: 80px;
  position: absolute;
  z-index: 3;
}

.slider-dots button {
  background: rgba(255, 255, 255, .34);
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  height: 4px;
  transition: width .25s, background .25s;
  width: 30px;
}

.slider-dots button.active {
  background: var(--green-light);
  width: 54px;
}

.section {
  padding: 96px 80px;
  position: relative;
}

.section::after {
  background: linear-gradient(90deg, transparent, rgba(22, 115, 69, .45), transparent);
  content: "";
  height: 1px;
  left: 80px;
  pointer-events: none;
  position: absolute;
  right: 80px;
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s cubic-bezier(.22, 1, .36, 1);
}

.section.section-in::after {
  transform: scaleX(1);
}

.section.compact {
  padding-top: 78px;
}

.section-dark {
  background: var(--coal);
  color: var(--white);
}

.section-dark::after,
.services-section::after {
  background: linear-gradient(90deg, transparent, rgba(36, 167, 101, .5), transparent);
}

.section-soft {
  background: var(--paper);
}

.section-head {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(240px, 460px) minmax(260px, 560px);
  margin-bottom: 44px;
}

.section-in .section-head h2 {
  animation: title-rise .75s cubic-bezier(.22, 1, .36, 1) both;
}

.section-head .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.section-head h2 {
  color: var(--coal);
  font-size: clamp(46px, 5vw, 72px);
}

.section-dark .section-head h2 {
  color: var(--white);
}

.section-head p:last-child {
  align-self: end;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.section-dark .section-head p:last-child {
  color: rgba(255, 255, 255, .62);
}

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

.service-card,
.stat {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.service-card:hover,
.association-card:hover,
.carbon-visual:hover,
.solatera-card:hover {
  box-shadow: 0 22px 50px rgba(0, 0, 0, .13);
  transform: translateY(-5px);
}

.carbon-layout {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
}

.carbon-visual,
.association-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  display: grid;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}

.carbon-visual {
  grid-template-columns: 48% 1fr;
  min-height: 390px;
}

.carbon-visual img,
.association-card img {
  height: 100%;
  object-fit: cover;
  transition: filter .55s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
  width: 100%;
}

.carbon-visual:hover img,
.association-card:hover img,
.solatera-card:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.045);
}

.carbon-visual div,
.association-card div {
  align-self: end;
  padding: 32px 0;
}

.carbon-visual span,
.association-card span,
.solatera-card span {
  color: var(--green);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  margin: 22px 22px 10px;
  text-transform: uppercase;
}

.carbon-visual h3,
.association-card h3,
.service-card h3,
.solatera-card h3 {
  font-family: var(--bebas);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 1.5px;
  line-height: 1;
  margin: 0 22px 10px;
}

.carbon-visual p,
.association-card p,
.service-card p,
.solatera-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 22px 24px;
}

.carbon-visual strong,
.association-card strong {
  color: var(--green);
  display: inline-block;
  font-size: 14px;
  margin: 0 22px;
}

.carbon-points {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.carbon-point {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  padding: 28px;
}

.carbon-point strong {
  color: var(--green);
  display: block;
  font-family: var(--bebas);
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
}

.carbon-point span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

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

.association-card {
  grid-template-columns: 42% 1fr;
  min-height: 320px;
}

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

.solatera-summary {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 28px;
}

.solatera-summary div {
  border-right: 1px solid rgba(255, 255, 255, .12);
  padding: 22px;
}

.solatera-summary div:last-of-type {
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.solatera-summary strong {
  color: var(--green-light);
  display: block;
  font-family: var(--bebas);
  font-size: 46px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.solatera-summary span {
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
}

.solatera-card {
  background: #181b1a;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  color: var(--white);
  display: block;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}

.solatera-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  transition: filter .55s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
  width: 100%;
}

.solatera-card div {
  align-self: end;
  padding: 30px 0;
}

.solatera-card span {
  color: var(--green-light);
}

.solatera-card h3 {
  color: var(--white);
  font-size: 36px;
}

.solatera-card p {
  color: rgba(255, 255, 255, .66);
}

.solatera-card strong {
  color: var(--green-light);
  display: inline-block;
  font-size: 14px;
  margin: 0 22px;
}

.solatera-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.solatera-cta {
  background: var(--green);
  border-radius: 4px;
  color: var(--white);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  padding: 14px 28px;
}

.solatera-cta:hover {
  background: var(--green-light);
}

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

.stat {
  background: var(--paper);
  border-left: 4px solid var(--green);
  padding: 28px;
}

.stat strong {
  color: var(--green);
  display: block;
  font-family: var(--bebas);
  font-size: 50px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 8px;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.services-section {
  background: var(--coal);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.services-section::before {
  color: rgba(255, 255, 255, .035);
  content: "SERVICES";
  font-family: var(--bebas);
  font-size: clamp(110px, 18vw, 280px);
  left: 50%;
  letter-spacing: 6px;
  line-height: 1;
  position: absolute;
  top: 40px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.services-intro {
  margin-bottom: 42px;
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.services-intro h2 {
  color: var(--white);
  font-size: clamp(46px, 5vw, 74px);
  margin-bottom: 16px;
}

.services-intro p:last-child {
  color: rgba(255, 255, 255, .62);
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
}

.service-card {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--white);
  min-height: 260px;
  padding: 30px 0;
  position: relative;
  transition: box-shadow .25s, transform .25s;
}

.service-card:hover {
  background: rgba(255, 255, 255, .075);
}

.service-card::after {
  background: var(--green-light);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
  width: 100%;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card span {
  color: var(--green-light);
  display: block;
  font-family: var(--bebas);
  font-size: 48px;
  letter-spacing: 1px;
  line-height: 1;
  margin: 0 22px 42px;
}

.service-card h3 {
  color: var(--white);
  font-size: 40px;
}

.service-card p {
  color: rgba(255, 255, 255, .62);
}

.service-card strong {
  bottom: 26px;
  color: var(--green-light);
  font-size: 14px;
  left: 22px;
  position: absolute;
}

footer {
  align-items: center;
  background: var(--coal);
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .4);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 48px 80px;
}

.footer-brand,
.f-logo {
  color: var(--white);
  font-family: var(--bebas);
  font-size: 24px;
  letter-spacing: 3px;
}

.f-copy,
footer a {
  font-size: 13px;
}

.f-socials {
  display: flex;
  gap: 10px;
}

.f-socials a {
  align-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 3px;
  color: rgba(255, 255, 255, .5);
  display: flex;
  font-size: 13px;
  height: 36px;
  justify-content: center;
  transition: all .2s;
  width: 36px;
}

footer a:hover {
  color: var(--white);
}

.f-socials a:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(.22, 1, .36, 1), transform .65s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease, background .25s ease, border-color .25s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal.reveal-soft {
  transform: translateY(16px) scale(.985);
}

.reveal.reveal-soft.visible {
  transform: translateY(0) scale(1);
}

@keyframes title-rise {
  from {
    opacity: .65;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .site-header,
  .section,
  footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .slide-content {
    padding: 0 56px;
  }

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

  .carbon-visual,
  .association-card {
    grid-template-columns: 1fr;
  }

  .carbon-visual img,
  .association-card img {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .solatera-grid,
  .association-grid,
  .service-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 12px 18px 18px;
    position: absolute;
    top: 64px;
    width: 100%;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-slider {
    height: 620px;
    margin-top: 64px;
    min-height: 620px;
  }

  .slide-content {
    padding: 0 24px;
  }

  .slide h1,
  .slide h2 {
    font-size: 58px;
  }

  .slide p:not(.eyebrow) {
    font-size: 16px;
  }

  .slider-arrow {
    display: none;
  }

  .slider-dots {
    left: 24px;
  }

  .section {
    padding: 68px 20px;
  }

  .section::after {
    left: 20px;
    right: 20px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .carbon-layout,
  .carbon-points,
  .stats-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .solatera-summary {
    grid-template-columns: 1fr;
  }

  .solatera-summary div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    justify-content: flex-start;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 34px 20px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
