/* Fonts are self-hosted so the site does not depend on a third-party server.
   General Sans and Satoshi come from Fontshare (ITF Free Font License),
   Inter from Google Fonts (SIL Open Font License). */

@font-face {
  font-family: "General Sans";
  src: url("../fonts/general-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("../fonts/general-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Sunweave website styles
   Design tokens come from the Figma file (Colors, Typography, Spacing pages). */

:root {
  --yellow: #f5be10;
  --green-500: #085158;
  --green-900: #093b3f;
  --green-100: #e7f0e9;
  --green-300: #75a196;
  --neutral-200: #e4e7ec;
  --neutral-400: #98a2b3;
  --muted: #5a676a;
  --white: #fff;
  --radius: 12px;
  --section-gap: 104px;
  --font-main: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

/* Lenis smooth scrolling (assets/js/lenis.min.js) does the easing itself */

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: var(--green-900);
  background: var(--white);
  font-feature-settings: "salt" 1;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--green-900);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius);
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
}

/* ---------- Layout helpers ---------- */

.container {
  width: min(1300px, 100% - 48px);
  margin-inline: auto;
}

.wide {
  width: min(1728px, 100% - 48px);
  margin-inline: auto;
}

.section {
  margin-top: var(--section-gap);
}

.center {
  text-align: center;
}

/* ---------- Typography ---------- */

/* Type scale from the Figma Typography page (General Sans, Semibold headings).
   Desktop: Display L 64/68, Display S 56/60, H1 40/48, H2 36/44, H3 32/40, H4 28/36, H5 24/32, H6 20/28.
   Mobile (up to 640px): H1 36/44, H2 32/40, H3 28/36, H4 24/32, H5 20/28, H6 18/24.
   Paragraphs: Large 18/28, Medium 16/24, Small 14/20, XSmall 12/20. */

.display {
  font-size: 64px;
  line-height: 68px;
  font-weight: 600;
}

.display-sm {
  font-size: 56px;
  line-height: 60px;
  font-weight: 600;
}

.h1 {
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
}

.h2 {
  font-size: 36px;
  line-height: 44px;
  font-weight: 600;
}

.h3 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
}

.h4 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
}

.h5 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.h6 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

/* The design applies the "salt" alternates to the Medium text and not to the Semibold headings. */

h1,
h2,
h3,
h4,
h5,
.display,
.display-sm,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.stats__value,
.faq-item button,
.contact-line {
  font-feature-settings: normal;
}

.eyebrow {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--yellow);
}

.eyebrow--wide {
  letter-spacing: 0.4em;
}

.eyebrow--green {
  color: var(--green-500);
}

.eyebrow--sm {
  font-family: var(--font-main);
  line-height: 24px;
  letter-spacing: 0.2em;
}

.stack-20 > * + * {
  margin-top: 20px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border: 0;
  border-radius: var(--radius);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(9, 59, 63, 0.18);
}

.btn img {
  width: 24px;
  height: 24px;
}

.btn--yellow {
  background: var(--yellow);
  color: var(--green-900);
}

.btn--dark {
  background: var(--green-900);
  color: var(--green-100);
}

.btn--light {
  background: var(--green-100);
  color: var(--green-900);
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 20;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 96px;
}

.site-header__logo img {
  height: 64px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-inline: auto;
}

.main-nav > a,
.nav-item > button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  color: var(--green-900);
  position: relative;
  white-space: nowrap;
}

.main-nav > a::after,
.nav-item > button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav > a:hover::after,
.main-nav > a[aria-current="page"]::after,
.nav-item:hover > button::after,
.nav-item > button[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav-item {
  position: relative;
}

.nav-item > button img {
  width: 9px;
  height: auto;
  transition: transform 0.2s ease;
}

.nav-item.is-open > button img {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: -24px;
  min-width: 300px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(9, 59, 63, 0.12);
  display: none;
}

.nav-item:hover .submenu,
.nav-item.is-open .submenu,
.nav-item:focus-within .submenu {
  display: block;
}

.nav-item::before {
  /* hover bridge so the menu stays open while moving the mouse down */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 20px;
}

.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
}

.submenu a:hover,
.submenu a[aria-current="page"] {
  background: var(--green-100);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green-900);
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 2px;
  background: var(--white);
  content: "";
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle span {
  top: 23px;
}

.nav-toggle span::before {
  left: 0;
  top: -7px;
}

.nav-toggle span::after {
  left: 0;
  top: 7px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 1560px) {
  .site-header__logo img {
    height: 56px;
  }
  .main-nav {
    gap: 24px;
  }
}

@media (max-width: 1400px) {
  .site-header__actions .btn--yellow {
    display: none;
  }
  .main-nav {
    gap: 28px;
  }
}

/* ---------- Page banners (inner pages) ---------- */

.banner {
  border-radius: var(--radius);
  padding-block: 40px;
  min-height: 176px;
  display: flex;
  align-items: center;
}

.banner--dark {
  background: var(--green-900);
  color: var(--white);
}

.banner--yellow {
  background: var(--yellow);
  color: var(--green-900);
}

.banner--light {
  background: var(--green-100);
  color: var(--green-900);
}

.banner--compact {
  min-height: 176px;
  padding-block: 40px;
}

.banner__kicker {
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.banner--dark .banner__kicker {
  color: var(--yellow);
}

.banner .banner__title {
  max-width: 900px;
  font-size: 40px;
  line-height: 48px;
}

.banner__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 20px;
}

.banner__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.banner__meta svg {
  width: 14px;
  height: 14px;
  fill: var(--green-900);
}

.banner__meta strong {
  font-weight: 600;
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  min-height: 820px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-900) url("../img/hero.jpg") 78% 50% / cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: stretch;
}

.hero::before {
  content: "";
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 59, 63, 0.42), rgba(9, 59, 63, 0));
  width: 58%;
}


.hero__content {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 152px;
}

/* A soft, light shade behind the text only, so the photo stays untouched. */
.hero__content::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -260px;
  top: 40px;
  width: 1000px;
  height: 600px;
  background: radial-gradient(
    ellipse at center,
    rgba(9, 59, 63, 0.34) 0%,
    rgba(9, 59, 63, 0.2) 40%,
    rgba(9, 59, 63, 0) 70%
  );
  pointer-events: none;
}

.hero__kicker {
  color: var(--yellow);
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 16px;
}

.hero__title {
  max-width: 750px;
}

.hero__lead {
  max-width: 530px;
  margin-top: 24px;
  color: var(--white);
}

.hero .btn {
  margin-top: 40px;
}

/* ---------- Split sections (text + image) ---------- */

.split {
  display: grid;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.split--overview {
  grid-template-columns: 530px 640px;
}

.split--row {
  grid-template-columns: 640px 530px;
}

.split__text > * + * {
  margin-top: 20px;
}

.split__text .btn {
  margin-top: 40px;
}

.split__media img {
  width: 100%;
  aspect-ratio: 640 / 460;
  object-fit: cover;
  border-radius: var(--radius);
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--green-500);
}

.check-list img {
  width: 26px;
  height: 26px;
  flex: none;
}

.check-list--sm {
  gap: 8px;
}

.check-list--sm li {
  font-size: 16px;
  line-height: 24px;
}

.check-list--sm img {
  width: 24px;
  height: 24px;
}

/* ---------- Home: performance block ---------- */

.performance {
  display: grid;
  grid-template-columns: 478px 1fr;
  gap: 182px;
  align-items: start;
}

.performance__media {
  position: relative;
}

.performance__media > img {
  width: 478px;
  height: 592px;
  object-fit: cover;
  border-radius: var(--radius);
}

.performance__badge {
  position: absolute;
  left: 242px;
  bottom: 0;
  width: 308px;
  height: 212px;
  padding: 46px 48px;
  background: var(--green-500);
  color: var(--white);
  border-radius: var(--radius);
}

.performance__text {
  align-self: start;
  padding-top: 77px;
  max-width: 530px;
}

.performance__text > * + * {
  margin-top: 20px;
}

.performance__text .check-list {
  margin-top: 37px;
}

/* ---------- Section headings ---------- */

.section-head {
  max-width: 1300px;
}

.section-head > * + * {
  margin-top: 8px;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

/* ---------- Home: house that turns while you scroll ---------- */

/* The section scrolls like any other. While it passes through the screen the house
   turns, and the cards grow out from behind it so that they are fully out when the
   section is in the middle of the screen. The heading rises just far enough to leave
   room for the cards. */

.house {
  margin-top: var(--section-gap);
  color: var(--green-900);
  overflow-x: clip;
  --c1: 1;
  --c2: 1;
  --c3: 1;
}

.house__head {
  margin-bottom: 60px;
  text-align: center;
}

.house__mask {
  overflow: hidden;
  padding-bottom: 6px;
}

.house__eyebrow {
  margin-bottom: 20px;
}

/* Heading slides up into view (set up by house.js, so it is visible without JS). */

.house__mask h2.reveal-ready {
  transform: translate3d(0, 130%, 0) skew(-10deg, 6deg);
}

.house__mask h2.reveal-ready.is-in {
  transform: none;
  transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.house__stage {
  display: grid;
  place-items: center;
  padding: 200px 16px 0;
}

.house__visual {
  position: relative;
  width: min(1100px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.house__still,
.house__canvas {
  position: relative;
  z-index: 1;
  order: -1;
  display: block;
  width: 140%;
  max-width: none;
  height: auto;
  aspect-ratio: 900 / 269;
}

.house__canvas {
  display: none;
}

.house.is-live .house__canvas {
  display: block;
}

.house.is-live .house__still {
  display: none;
}

.house-card {
  width: min(420px, 100%);
  padding: 20px 24px;
  background: var(--white);
  border: 3px solid var(--yellow);
  border-radius: var(--radius);
  color: var(--green-900);
  font-size: 16px;
  line-height: 24px;
}

.house-card h3 {
  margin-bottom: 8px;
}

.house-card--1 {
  --c: var(--c1);
}

.house-card--2 {
  --c: var(--c2);
}

.house-card--3 {
  --c: var(--c3);
}

.house.is-live .house-card,
.house.is-live .house__head {
  will-change: transform;
}

/* Small screens: house on top, cards stacked below, each one fading in as it comes into view. */

.house.is-live .house__stage {
  padding-top: 0;
}

.house.is-live .house-card {
  opacity: var(--c);
  transform: translateY(calc((1 - var(--c)) * 28px));
}

@media (min-width: 1025px) {
  /* 96px of visible space between the section above and the small line over the
     heading, and between the ground under the house and the picture of the next block,
     when the cards are fully out (measured on screen: the line's box starts 8px above
     its letters, and the house frame shown at that point has 27px of empty space under
     the ground). The 73px the heading block rises are kept free above it. */
  .house {
    margin-top: 88px;
  }
  .house__head {
    padding-top: 73px;
  }
  .house.is-live .house__head {
    transform: translateY(calc(-73px * var(--c1)));
  }
  .house.is-live .house__stage {
    padding: 0;
    display: block;
  }
  .house__visual {
    display: block;
    height: 329px;
    margin-inline: auto;
  }
  .house__still,
.house__canvas {
    position: absolute;
    inset: 0;
    order: 0;
    width: 100%;
    max-width: 100%;
  }
  /* rest position (-300, 0, 300 across, 179px above the house centre). Every card
     starts at scale 0 in the middle behind the house, 375px lower than its rest
     position, and moves out along a straight line, so the spacing between the
     cards is the same at every moment. */
  .house-card {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 0;
    width: 270px;
    height: 182px;
    padding: 26px 30px;
    transform: translate(-50%, -50%)
      translate(calc(var(--rx) * var(--c)), calc(-179px + 375px * (1 - var(--c))))
      scale(var(--c));
  }
  .house-card--1 {
    --rx: -300px;
  }
  .house-card--2 {
    --rx: 0px;
  }
  .house-card--3 {
    --rx: 300px;
  }
  .house.is-live .house-card {
    opacity: 1;
    transform: translate(-50%, -50%)
      translate(calc(var(--rx) * var(--c)), calc(-179px + 375px * (1 - var(--c))))
      scale(var(--c));
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--green-500);
}

.text-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  transition: transform 0.2s ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* ---------- Subventions block ---------- */

.subvention {
  position: relative;
  margin-top: calc(var(--section-gap) + 80px);
  display: grid;
  grid-template-columns: 680px 1fr;
  align-items: center;
  min-height: 538px;
  background: var(--green-500);
  border-radius: var(--radius);
  color: var(--green-100);
}

.subvention--tight {
  margin-top: 140px;
}

@media (min-width: 1025px) {
  .subvention--tight {
    margin-top: 149px;
  }
}

.subvention__media {
  align-self: start;
  margin: -80px 0 0 40px;
  width: 600px;
}

.subvention__media img {
  width: 600px;
  height: 578px;
  object-fit: cover;
  border-radius: var(--radius);
}

.subvention__text {
  max-width: 570px;
  padding: 40px 40px 40px 0;
}

/* On desktop the button sits level with the bottom edge of the photo. */

@media (min-width: 1025px) {
  .subvention__text {
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 498px;
    padding-bottom: 0;
  }
  .subvention .subvention__text .btn {
    margin-top: auto;
  }
}

.subvention__text > * + * {
  margin-top: 20px;
}

.subvention__text .eyebrow {
  letter-spacing: 0.4em;
}

.subvention__text .btn {
  margin-top: 20px;
}

.subvention--reverse {
  grid-template-columns: 1fr 680px;
}

.subvention--reverse .subvention__media {
  order: 2;
  margin: -80px 0 0 40px;
}

.subvention--reverse .subvention__text {
  padding: 40px 0 40px 40px;
}

/* ---------- Services grid ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.services-grid .svc {
  position: relative;
  display: flex;
  aspect-ratio: 5 / 6;
  color: inherit;
  background: var(--white);
  border: 1.2px solid var(--neutral-200);
  border-radius: var(--radius);
}

.svc__base {
  flex: 1;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.svc__base img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  object-position: left top;
}

.svc__base h3 {
  margin-top: auto;
  padding-top: 20px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.3;
  white-space: nowrap;
}

.svc__hover-body {
  display: grid;
  gap: 12px;
}

.svc__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--yellow);
}

.svc__more svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

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

.services-grid--3 .svc {
  aspect-ratio: 4 / 5;
}

/* Hover (and keyboard focus) state: the card turns dark green */

.svc__hover {
  position: absolute;
  inset: -1.2px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: var(--green-500);
  color: var(--green-100);
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.svc:hover .svc__hover,
.svc:focus-visible .svc__hover {
  opacity: 1;
}

.svc__hover img {
  width: auto;
  height: 48px;
}

.svc__hover h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  font-feature-settings: normal;
}

.svc__hover p {
  font-size: 16px;
  line-height: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Process ---------- */

.process {
  padding: 40px 0 78px;
  background: var(--green-100);
  border-radius: var(--radius);
}

.process__head {
  display: grid;
  grid-template-columns: 1fr 710px;
  gap: 40px;
  align-items: end;
  padding-inline: 40px;
}

.process__head p {
  color: var(--green-900);
}

.process .eyebrow--green,
.process__step h3 {
  color: var(--green-900);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
}

.process__step {
  padding: 24px 0 0 52px;
  border-left: 1px solid rgba(9, 59, 63, 0.35);
  min-height: 272px;
}

.process__step:first-child {
  border-left: 0;
}

.process__step .icon {
  width: 72px;
  height: 72px;
  position: relative;
}

.process__step .icon img {
  position: absolute;
}

.process__step h3 {
  margin-top: 40px;
  max-width: 221px;
}

/* ---------- Equipment strip ---------- */

.equipment {
  text-align: center;
}

.equipment p {
  font-family: "Satoshi", var(--font-main);
  color: var(--green-300);
  letter-spacing: -0.02em;
}

.equipment__list {
  display: grid;
  grid-template-columns: 1fr 1fr auto 1fr 1fr;
  align-items: center;
  gap: 32px 24px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.equipment__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.equipment__list .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}

.equipment__list img {
  width: auto;
  max-width: none;
}

.equipment__list .logo--dark {
  padding: 0 14px;
  border-radius: 8px;
  background: var(--green-900);
}

.equipment__list span {
  font-size: 14px;
  line-height: 20px;
  color: var(--green-300);
}

/* ---------- Case study block (shared) ---------- */

.case-head {
  display: block;
}

.case-head__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: 8px;
}

.case-head__row h2 {
  flex: 0 0 460px;
}

.case-head__row > div {
  flex: 1;
  max-width: 750px;
}

.case-grid {
  display: grid;
  grid-template-columns: 530px 310px 1fr;
  grid-template-rows: 260px 260px;
  gap: 20px;
  margin-top: 48px;
}

.case-grid > img,
.case-grid__main {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.case-grid__main {
  position: relative;
  grid-row: 1 / span 2;
  overflow: hidden;
}

.case-grid__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats {
  grid-row: 1 / span 2;
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 0 28px;
  color: var(--green-500);
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}

/* three equal fields, the dividers sit at exactly one third and two thirds */
.stats__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats__item + .stats__item {
  border-top: 1px solid rgba(8, 81, 88, 0.3);
}

.stats__value {
  font-size: 64px;
  line-height: 68px;
}

.stats__unit {
  margin-left: 8px;
  font-size: 28px;
  line-height: 36px;
}

.stats__label {
  margin-top: 0;
  text-wrap: balance;
  font-size: 16px;
  line-height: 24px;
}

.testimonial {
  position: relative;
  margin-top: 20px;
  height: 600px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-500);
  display: flex;
  align-items: flex-end;
}

.testimonial > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 30%;
}

.testimonial__card {
  position: relative;
  margin: 0 0 40px 40px;
  width: 600px;
  max-width: calc(100% - 80px);
  min-height: 412px;
  padding: 48px 48px 48px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 5px 5px 100px 5px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial__card .quote-mark {
  position: absolute;
  top: -32px;
  right: 48px;
  width: 108px;
  height: 64px;
}

.testimonial__card blockquote {
  margin: 20px 0 0;
}

.testimonial__card footer {
  margin-top: 28px;
  color: var(--green-500);
}

.testimonial__card footer strong {
  font-weight: 600;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 42px;
  margin-top: 64px;
  align-items: start;
}

.faq-item {
  border-bottom: 1px solid var(--neutral-200);
  padding-block: 16px;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item button {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}

.faq-item .faq-icon {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
}

.faq-item .faq-icon::before,
.faq-item .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin: -1px 0 0 -9px;
  background: var(--green-900);
  transition: transform 0.2s ease;
}

.faq-item .faq-icon::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: rotate(0);
}

.faq-answer {
  display: none;
  padding: 8px 0 0 68px;
  max-width: 618px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ---------- Contact section + form ---------- */

.contact-band {
  margin-top: var(--section-gap);
  background: var(--green-100);
  padding-block: 96px;
}

.contact-band__inner {
  display: grid;
  grid-template-columns: 530px 640px;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.contact-band__text > * + * {
  margin-top: 20px;
}

.contact-band__text .eyebrow {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.4em;
  color: var(--green-500);
}

.contact-lines {
  margin-top: 48px;
  display: grid;
  gap: 20px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.contact-line img {
  width: 56px;
  height: 56px;
}

.form-card {
  padding: 76px 80px;
  background: var(--white);
  border-radius: var(--radius);
}

.field {
  position: relative;
  display: block;
  margin-bottom: 49px;
}

.field img {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  height: 36px;
  padding: 0 0 12px 36px;
  border: 0;
  border-bottom: 1px solid var(--neutral-400);
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  line-height: 24px;
  resize: none;
}

.field textarea {
  height: 76px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--green-900);
  opacity: 1;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--green-500);
  box-shadow: 0 1px 0 var(--green-500);
}

.form-status {
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--green-500);
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 0;
  background: var(--green-900);
  color: var(--white);
  padding-top: 104px;
  font-size: 16px;
  line-height: 24px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 440px 220px 330px 1fr;
  gap: 0;
}

.site-footer__logo img {
  height: 62px;
  width: auto;
}

.site-footer__brand .btn {
  margin-top: 50px;
}

.footer-col h4,
.footer-col .footer-title {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 24px;
}

.footer-menu {
  display: grid;
  gap: 24px;
}

.footer-menu a:hover,
.footer-services a:hover,
.footer-legal a:hover {
  color: var(--yellow);
}

.footer-services {
  display: grid;
  gap: 16px;
}

.footer-contact {
  display: grid;
  gap: 32px;
  align-content: start;
}

.footer-contact li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.footer-contact img {
  width: 22px;
  height: 22px;
  flex: none;
}

.footer-contact address {
  font-style: normal;
}

.footer-social {
  display: flex;
  gap: 25px;
  margin-top: 36px;
}

.footer-social img {
  width: 24px;
  height: 24px;
}

.footer-legal {
  display: flex;
  justify-content: flex-end;
  gap: 36px;
  margin-top: 80px;
  padding-block: 12px 12px;
  font-size: 14px;
  line-height: 20px;
}

/* ---------- Blog ---------- */

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

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 64px;
}

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  font-size: 14px;
}

.pagination a:hover {
  border-color: var(--green-900);
}

.pagination [aria-current="page"] {
  background: var(--green-900);
  border-color: var(--green-900);
  color: var(--white);
}

.pagination .gap {
  border: 0;
  padding: 0 4px;
  min-width: 0;
}

/* ---------- Blog single ---------- */

.post-layout {
  display: grid;
  grid-template-columns: 860px 330px;
  justify-content: space-between;
  gap: 40px;
  align-items: start;
}

.post-main {
  min-width: 0;
}

.post-cover {
  width: 100%;
  aspect-ratio: 860 / 583;
  object-fit: cover;
}

.toc {
  margin-top: 40px;
  border-radius: 8px;
  background: var(--green-500);
  color: var(--white);
}

.toc summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  list-style: none;
}

.toc summary::-webkit-details-marker {
  display: none;
}

.toc summary::before {
  content: "+";
  font-size: 22px;
  line-height: 1;
}

.toc[open] summary::before {
  content: "\2212";
}

.toc ol {
  margin: 0;
  padding: 0 24px 24px 48px;
  font-size: 16px;
  line-height: 28px;
}

.toc a:hover {
  color: var(--yellow);
}

.prose {
  margin-top: 40px;
  font-size: 16px;
  line-height: 24px;
}

.prose p + p {
  margin-top: 24px;
}

.prose h2,
.prose h3,
.prose h4,
.prose h5 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.prose h2 {
  font-size: 32px;
  line-height: 40px;
}

.prose h3 {
  font-size: 24px;
  line-height: 32px;
}

.prose h4 {
  font-size: 20px;
  line-height: 28px;
}

.prose h5 {
  font-size: 18px;
  line-height: 28px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  font-size: 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tags a {
  padding: 0 10px;
  background: var(--green-100);
  border-radius: 4px;
  font-size: 14px;
  line-height: 24px;
}

.tags a:hover {
  background: var(--yellow);
}

.share {
  display: flex;
  gap: 10px;
  align-items: center;
}

.share img {
  width: 20px;
  height: 20px;
}

.author-box {
  margin-top: 40px;
  padding: 32px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px 20px;
  background: var(--green-100);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 20px;
}

.author-box img.avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
}

.author-box img.avatar--logo {
  padding: 14px;
  background: var(--white);
  object-fit: contain;
}

.author-box h3 {
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 8px;
}

.author-box .socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.author-box .socials img {
  width: 20px;
  height: 20px;
}

.post-side {
  border-left: 1px solid var(--neutral-200);
  padding-left: 40px;
  position: sticky;
  top: 24px;
}

.post-side h2 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

.recent {
  display: grid;
  gap: 20px;
}

.recent a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
}

.recent img {
  width: 120px;
  height: 82px;
  object-fit: cover;
  border-radius: 6px;
}

.recent h3 {
  font-size: 14px;
  line-height: 20px;
}

.recent time {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.read-next {
  margin-top: var(--section-gap);
  background: var(--yellow);
  padding-block: 64px 80px;
}

.read-next h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* ---------- Contact page ---------- */

/* ---------- About page ---------- */

.about-intro {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 89px;
  align-items: start;
}

.about-image {
  margin-top: 40px;
  width: 100%;
  height: 448px;
  object-fit: cover;
  object-position: 50% 65%;
  border-radius: var(--radius);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
  text-align: center;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit__icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--green-100);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.benefit__icon img {
  width: 64px;
  height: auto;
}

.benefit h3,
.benefit p {
  text-wrap: balance;
}

.benefit p {
  max-width: 268px;
  margin-top: 8px;
}

.cta-box {
  position: relative;
  margin-top: calc(var(--section-gap) + 36px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 148px 40px 36px;
  background: var(--green-100);
  border-radius: var(--radius);
}

.cta-box__mark {
  position: absolute;
  left: 36px;
  top: -36px;
  width: 104px;
}

.cta-box h2 {
  font-size: 32px;
  line-height: 40px;
}

.cta-box p {
  margin-top: 8px;
  max-width: 560px;
  font-size: 16px;
  line-height: 24px;
}

/* ---------- Case study page ---------- */

.client {
  display: grid;
  grid-template-columns: 640px 1fr;
  gap: 40px 80px;
  align-items: center;
}

.client > img {
  width: 100%;
  aspect-ratio: 640 / 460;
  object-fit: cover;
  border-radius: var(--radius);
}

.client__text > * + * {
  margin-top: 20px;
}

.client__text h2 {
  margin-top: 8px;
}

.client__text p {
  font-size: 16px;
  line-height: 24px;
}

.panel {
  padding: 36px 40px;
  border-radius: var(--radius);
}

.panel--light {
  background: var(--green-100);
}

.panel--dark {
  background: var(--green-900);
  color: var(--white);
}

.panel__row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.panel__row + .panel__row {
  margin-top: 40px;
}

.panel__row .text > * + * {
  margin-top: 20px;
}

.panel__row .text p {
  font-size: 16px;
  line-height: 24px;
  max-width: 740px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 60px;
  max-width: 740px;
  font-size: 14px;
  line-height: 20px;
}

.spec-grid dt {
  font-weight: 500;
  opacity: 0.85;
}

.spec-grid dd {
  margin: 0;
  font-weight: 600;
}

.spec-grid > div {
  display: grid;
  gap: 4px;
}

.chart {
  margin-top: 48px;
  padding-inline: 4px;
}

.chart__frame {
  position: relative;
  max-width: 1080px;
  margin-inline: auto;
}

.chart__unit {
  font-size: 13px;
  line-height: 18px;
  color: var(--neutral-400);
}

.chart__plot {
  position: relative;
  height: 504px;
  margin-top: 2px;
  margin-left: 0;
}

.chart__grid {
  position: absolute;
  inset: 0 0 0 0;
}

.chart__grid div {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid #f0f1f4;
  font-size: 13px;
  line-height: 18px;
  color: var(--neutral-400);
}

.chart__grid span {
  position: absolute;
  left: 0;
  top: -20px;
}

.chart__bars {
  position: absolute;
  inset: 0 0 0 45px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
}

.chart__col {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.chart__stack {
  width: 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.chart__seg {
  width: 100%;
}

.chart__seg--base {
  background: var(--green-500);
}

.chart__seg--deep {
  background: var(--green-900);
}

.chart__seg--top {
  background: var(--yellow);
}

.chart__labels {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  margin-left: 45px;
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  color: var(--neutral-400);
}

.chart__year {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f1f4;
  text-align: center;
  color: var(--neutral-400);
  font-size: 16px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1280px) {
  .main-nav {
    gap: 24px;
  }
  .site-header__actions .btn--yellow {
    display: none;
  }
  .performance {
    gap: 100px;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .subvention,
.subvention--reverse {
    grid-template-columns: 1fr 1fr;
  }
  .subvention__media,
.subvention--reverse .subvention__media {
    width: auto;
    margin-right: 40px;
  }
  .subvention__media img {
    width: 100%;
  }
  .subvention__text,
.subvention--reverse .subvention__text {
    padding: 40px 40px 40px 0;
  }
  .subvention--reverse .subvention__text {
    padding-left: 40px;
  }
  .process__head {
    grid-template-columns: 1fr 1fr;
  }
  .contact-band__inner {
    grid-template-columns: 1fr 1fr;
  }
  .form-card {
    padding: 48px 48px;
  }
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1.4fr 1.2fr;
    gap: 24px;
  }
  .post-layout {
    grid-template-columns: 1fr 280px;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
  }
  .site-header__inner {
    height: 80px;
  }
  .site-header__logo img {
    height: 52px;
  }
  .nav-toggle {
    display: block;
    order: 3;
  }
  .site-header__actions {
    margin-left: auto;
  }
  .main-nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    margin: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius);
    box-shadow: 0 24px 50px rgba(9, 59, 63, 0.15);
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav > a,
.nav-item > button {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--neutral-200);
  }
  .main-nav > a::after,
.nav-item > button::after {
    display: none;
  }
  .submenu {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 4px 0 8px 12px;
  }
  .nav-item:hover .submenu {
    display: none;
  }
  .nav-item.is-open .submenu {
    display: block;
  }
  .nav-item::before {
    display: none;
  }
  .hero {
    min-height: 640px;
  }
  .hero {
    align-items: center;
  }
  .hero__content {
    padding-block: 80px;
  }
  .hero__content::before {
    display: none;
  }
  .hero__proof {
    margin: 40px 0 0;
  }
  .hero::before {
    display: block;
    width: 100%;
    background: linear-gradient(180deg, rgba(9, 59, 63, 0.7), rgba(9, 59, 63, 0.5));
  }
  .performance {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .performance__media > img {
    width: 100%;
    max-width: 478px;
  }
  .performance__text {
    padding-top: 0;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split,
.split--overview,
.split--row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .subvention,
.subvention--reverse {
    grid-template-columns: 1fr;
    margin-top: calc(var(--section-gap) + 60px);
  }
  .subvention__media,
.subvention--reverse .subvention__media {
    order: 0;
    margin: -60px 24px 0;
  }
  .subvention__media img {
    height: 420px;
  }
  .subvention__text,
.subvention--reverse .subvention__text {
    padding: 32px 24px 40px;
    max-width: none;
  }
  .process__head {
    grid-template-columns: 1fr;
  }
  .process__steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
  }
  .process__step:nth-child(3) {
    border-left: 0;
  }
  .process__step {
    padding-left: 24px;
  }
  .process__step:nth-child(odd) {
    padding-left: 12px;
  }
  .case-head__row {
    flex-direction: column;
    gap: 16px;
  }
  .case-head__row h2 {
    flex: none;
  }
  .case-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px auto 220px;
  }
  .case-grid__main {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .stats {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: row;
    gap: 24px;
  }
  .stats__item + .stats__item {
    border-top: 0;
    border-left: 1px solid rgba(8, 81, 88, 0.3);
    padding: 0 0 0 24px;
  }
  .stats__value {
    font-size: 48px;
    line-height: 52px;
  }
  .case-grid > img {
    grid-row: 3;
  }
  .testimonial {
    height: auto;
    min-height: 560px;
  }
  .faq {
    grid-template-columns: 1fr;
  }
  .contact-band__inner {
    grid-template-columns: 1fr;
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }
  .footer-legal {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 28px;
  }
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .post-layout {
    grid-template-columns: 1fr;
  }
  .post-side {
    position: static;
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--neutral-200);
    padding-top: 32px;
  }
  .about-intro,
.client,
.panel__row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-intro {
    gap: 20px;
  }
  .chart__stack {
    width: 28px;
  }
  .chart__plot {
    height: 380px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-gap: 64px;
  }
  .container,
.wide {
    width: calc(100% - 32px);
  }
  .display {
    font-size: 36px;
    line-height: 44px;
  }
  .display-sm,
.h1 {
    font-size: 36px;
    line-height: 44px;
  }
  .h2 {
    font-size: 32px;
    line-height: 40px;
  }
  .h3 {
    font-size: 28px;
    line-height: 36px;
  }
  .h4 {
    font-size: 24px;
    line-height: 32px;
  }
  .h5 {
    font-size: 20px;
    line-height: 28px;
  }
  .h6 {
    font-size: 18px;
    line-height: 24px;
  }
  .stats__value {
    font-size: 48px;
    line-height: 52px;
  }
  .site-header__actions .btn--dark {
    display: none;
  }
  .banner {
    padding-block: 40px;
    min-height: 200px;
  }
  .hero {
    min-height: 560px;
  }
  .hero__content {
    padding-top: 80px;
    padding-bottom: 60px;
  }
  .services-grid,
.benefits,
.blog-grid {
    grid-template-columns: 1fr;
  }
  .performance__media > img {
    height: 420px;
    max-width: none;
  }
  .performance__badge {
    left: 16px;
    right: 16px;
    bottom: -32px;
    width: auto;
    height: auto;
    padding: 28px 28px 32px;
  }
  .performance__text {
    margin-top: 32px;
  }
  .process__steps {
    grid-template-columns: 1fr;
  }
  .process__step,
.process__step:first-child,
.process__step:nth-child(odd),
.process__step:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    min-height: 0;
    border-top: 1px solid rgba(9, 59, 63, 0.25);
  }
  .process__step:first-child {
    border-top: 0;
  }
  .process {
    padding: 28px 20px 40px;
  }
  .process__head {
    padding-inline: 0;
  }
  .case-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .case-grid__main {
    height: 300px;
  }
  .case-grid > img {
    grid-row: auto;
    height: 220px;
  }
  .stats {
    flex-direction: column;
  }
  .stats__item + .stats__item {
    border-left: 0;
    border-top: 1px solid rgba(8, 81, 88, 0.3);
    padding: 24px 0 0;
  }
  .testimonial__card {
    margin: 120px 16px 16px;
    padding: 48px 24px 28px;
    max-width: none;
    min-height: 0;
  }
  .faq-item button {
    font-size: 20px;
    line-height: 28px;
    gap: 16px;
  }
  .faq-answer {
    padding-left: 60px;
  }
  .contact-band {
    padding-block: 48px;
  }
  .form-card {
    padding: 36px 24px;
  }
  .contact-line {
    font-size: 20px;
    line-height: 28px;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 120px 24px 28px;
  }
  .pagination a,
.pagination span {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
  }
  .about-image {
    height: 300px;
  }
  .panel {
    padding: 28px 20px;
  }
  .spec-grid {
    grid-template-columns: 1fr;
  }
  .chart__stack {
    width: 16px;
  }
  .chart__plot {
    height: 320px;
  }
  .chart__bars,
.chart__labels {
    margin-left: 28px;
    inset-inline-start: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
*::before,
*::after {
    transition: none !important;
  }
}

/* ---------- Demo additions: sample note, case cards, quote, post CTA ---------- */

.sample-note {
  display: inline-block;
  margin-top: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(9, 59, 63, 0.1);
  color: var(--green-900);
  font-size: 14px;
  line-height: 20px;
}

.quote-card {
  margin-top: 48px;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--white);
}

.quote-card blockquote {
  margin: 24px 0;
}

.quote-card .quote-mark {
  width: 48px;
  height: auto;
}

.post-cta {
  margin-top: 48px;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--green-100);
}

.post-cta h2 {
  font-size: 28px;
  line-height: 36px;
}

.post-cta p {
  margin: 12px 0 24px;
}

@media (max-width: 767px) {
  .quote-card,
.post-cta {
    padding: 24px;
  }
}

/* ---------- Round of changes: case links, steps, panels, area, voices, contact ---------- */

.case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 64px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--neutral-200);
}

.case-links .text-link {
  margin-top: 0;
}

.panel__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 80px;
}

.panel__cols h2 {
  margin-bottom: 16px;
}

.panel__cols p {
  font-size: 16px;
  line-height: 24px;
  max-width: 560px;
}

.area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 80px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--green-100);
}

.area h2 {
  margin-top: 8px;
}

.area p:not(.eyebrow) {
  margin-top: 16px;
  max-width: 440px;
}

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

.chips a {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--white);
  font-weight: 600;
  color: var(--green-900);
  transition: background 0.2s ease;
}

.chips a:hover {
  background: var(--yellow);
}

@media (max-width: 1280px) {
  .services-grid .svc {
    aspect-ratio: auto;
    min-height: 300px;
  }
  .services-grid--3 {
    grid-template-columns: 1fr 1fr;
  }
  .svc__base h3 {
    white-space: normal;
  }
}

@media (max-width: 1000px) {
  .area,
.panel__cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .services-grid--3 {
    grid-template-columns: 1fr;
  }
  .area {
    padding: 28px;
  }
  .banner .banner__title {
    font-size: 36px;
    line-height: 44px;
  }
}

.services-grid--3 .svc {
  aspect-ratio: 4 / 5;
}

.prose ul {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.prose ul li {
  position: relative;
  padding-left: 28px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.prose p + ul,
.prose ul + p {
  margin-top: 20px;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Design options (review pages) ---------- */

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

/* testimonials, option A */

/* testimonials, option B */

.tcards {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.tcard {
  flex: 1 0 340px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  border: 3px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--white);
}

.tcard__pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-500);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.tcard blockquote {
  font-size: 22px;
  line-height: 32px;
  font-weight: 600;
  color: var(--green-900);
}

.tcard figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--green-500);
  font-size: 14px;
  line-height: 20px;
}

.tcard figcaption a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.tcard svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

/* testimonials, option C */

/* case cards, option A */

.ccA {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
}

.ccA img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ccA:hover img {
  transform: scale(1.04);
}

.ccA::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 59, 63, 0.92) 0%, rgba(9, 59, 63, 0.2) 55%, rgba(9, 59, 63, 0) 100%);
}

.ccA__chips {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ccA__chips span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--green-900);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.ccA__body {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 4px;
}

.ccA__place {
  font-size: 14px;
  color: var(--yellow);
}

.ccA__body strong {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  max-width: 80%;
}

.ccA__go {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-900);
}

.ccA__go svg,
.bcB__go svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

/* case cards, option B */

/* case cards, option C */

/* blog cards, option A */

/* blog cards, option B */

.bcB {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--neutral-200);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.bcB:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(9, 59, 63, 0.14);
}

.bcB > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.bcB__body {
  display: grid;
  gap: 8px;
  padding: 24px 24px 16px;
}

.bcB__cat {
  display: block;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-500);
}

.bcB__body strong {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

.bcB__body > span:last-child {
  font-size: 15px;
  line-height: 22px;
  color: var(--muted);
}

.bcB__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 16px 24px 24px;
  font-size: 14px;
  color: var(--muted);
}

.bcB__go {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green-900);
  transition: transform 0.3s ease;
}

.bcB:hover .bcB__go {
  transform: translateX(4px);
}

/* blog cards, option C */

/* contact, version B */

/* contact, version C */

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

.cc-option {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  padding: 36px;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}

.cc-option:hover {
  transform: translateY(-4px);
}

.cc-option--yellow {
  background: var(--yellow);
  color: var(--green-900);
}

.cc-option--light {
  background: var(--green-100);
  color: var(--green-900);
}

.cc-option--dark {
  background: var(--green-900);
  color: var(--white);
}

.cc-option__tag {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cc-option__big {
  margin-top: auto;
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.cc-form {
  max-width: 820px;
  margin-inline: auto;
}

.boxed-form {
  margin-top: 40px;
}

.boxed-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.boxed-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--green-900);
}

.boxed-form .is-wide {
  grid-column: 1 / -1;
}

.boxed-form input,
.boxed-form select,
.boxed-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  background: var(--white);
  font: inherit;
  font-weight: 400;
  font-size: 16px;
  color: var(--green-900);
}

.boxed-form textarea {
  min-height: 130px;
  resize: vertical;
}

.boxed-form input:focus,
.boxed-form select:focus,
.boxed-form textarea:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
}

.boxed-form .btn {
  margin-top: 28px;
}

/* contact, version D */

@media (max-width: 1100px) {
  .cc-grid,
.cc-options {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .cc-grid,
.cc-options,
.boxed-form__grid {
    grid-template-columns: 1fr;
  }
}

.quote-card .quote-mark {
  width: 108px;
  height: 64px;
}

.quote-card .quote-mark {
  width: 84px;
  height: 50px;
}

.tcard,
.tcard blockquote {
  margin: 0;
}

/* ---------- Areas we serve ---------- */

.areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 72px;
  align-items: center;
}

.areas__text h2 {
  margin-top: 8px;
}

.areas__text > p:not(.eyebrow) {
  margin-top: 20px;
  max-width: 560px;
  text-wrap: pretty;
}

.areas__list {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 14px 40px;
  margin-top: 32px;
}

.areas__list li {
  position: relative;
  padding-left: 16px;
  font-weight: 600;
  color: var(--green-900);
}

.areas__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--yellow);
  border-right: 2px solid var(--yellow);
  transform: translateY(-50%) rotate(45deg);
}

.areas__list a:hover {
  color: var(--green-500);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.areas__map img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 1000px) {
  .areas { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .areas__list { grid-template-columns: repeat(2, auto); }
}

.section-head + .tcards {
  margin-top: 48px;
}

.cta-box--tight {
  margin-top: 96px;
}

/* ---------- Steps band (How it works on service pages and contact) ---------- */

.stB {
  padding: 48px 48px;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--white);
}

.stB__head .eyebrow {
  color: var(--yellow);
}

.stB__head h2 {
  margin-top: 8px;
  max-width: none;
}

.stB__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  list-style: none;
  padding: 0;
}

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

.stB__grid li {
  padding: 0 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.stB__grid li:first-child {
  padding-left: 0;
  border-left: 0;
}

.stB__grid li:last-child {
  padding-right: 0;
}

.stB__n {
  display: block;
  font-size: 56px;
  line-height: 60px;
  font-weight: 600;
  color: var(--yellow);
}

.stB h3 {
  margin-top: 20px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

.stB p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 24px;
  color: var(--green-100);
  text-wrap: pretty;
}

@media (max-width: 1000px) {
  .stB__grid,
.stB__grid--3 {
    grid-template-columns: 1fr 1fr;
    gap: 32px 0;
  }
  .stB__grid li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .stB {
    padding: 32px 24px;
  }
  .stB__grid,
.stB__grid--3 {
    grid-template-columns: 1fr;
  }
  .stB__grid li {
    padding: 0;
    border-left: 0;
  }
}

/* Social proof pill in the hero */
.hero__proof {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 16px;
  height: 64px;
  margin-block: auto;
  padding: 0 28px 0 10px;
  border-radius: 20px;
  background: var(--white);
  color: var(--green-900);
}
.hero__proof p {
  font-size: 18px;
  line-height: 28px;
}
.hero__faces {
  display: flex;
  flex: none;
}
.hero__faces img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
}
.hero__faces img + img {
  margin-left: -12px;
}
@media (max-width: 640px) {
  .hero__proof {
    padding: 0 18px 0 8px;
  }
  .hero__proof {
    gap: 12px;
  }
  .hero__proof p {
    font-size: 15px;
    line-height: 20px;
  }
  .hero__faces img {
    width: 34px;
    height: 34px;
  }
  .hero__faces img + img {
    margin-left: -10px;
  }
}

/* Form icons: every icon is shown at the same visual size (about 20px) */
.field img[src$="form-user.svg"] {
  width: 16.7px;
  height: 20px;
  left: 3.65px;
  top: 2px;
}
.field img[src$="form-info.svg"],
.field img[src$="form-edit.svg"] {
  width: 20px;
  height: 20px;
  left: 2px;
  top: 2px;
}

@media (max-width: 1280px) {
  .hero__title {
    font-size: 52px;
    line-height: 56px;
  }
}
@media (max-width: 640px) {
  .hero__title {
    font-size: 34px;
    line-height: 40px;
  }
}
@media (max-width: 640px) {
  .hero__title {
    text-wrap: balance;
  }
  .hero__title br {
    display: none;
  }
}

/* Dark green text tile in the case study grid */
.case-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--white);
}
.case-note p {
  font-size: 18px;
  line-height: 28px;
}
.case-note .text-link {
  margin-top: 0;
  color: var(--yellow);
}

/* no short last lines in quotes and short paragraphs */
blockquote,
.case-note p {
  text-wrap: balance;
}

.hero__lead,
.panel__cols p,
.about-intro p,
.split__text p {
  text-wrap: pretty;
}

.who {
  display: grid;
  gap: 2px;
}
.who__name {
  display: block;
  font-weight: 600;
}
.who__role {
  display: block;
  font-weight: 400;
  opacity: 0.85;
}
.testimonial__card footer {
  display: grid;
  gap: 2px;
}

/* Enphase sits in the middle, the other four spread out to both edges */
.equipment__list li:nth-child(1) { justify-self: start; }
.equipment__list li:nth-child(2),
.equipment__list li:nth-child(4) { justify-self: center; }
.equipment__list li:nth-child(5) { justify-self: end; }
@media (max-width: 800px) {
  .equipment__list {
    grid-template-columns: 1fr 1fr;
  }
  .equipment__list li:nth-child(n) {
    justify-self: center;
  }
}
