:root {
  --ink: #101311;
  --muted: #656b67;
  --paper: #f2f0eb;
  --paper-bright: #f8f7f3;
  --line: rgba(11, 43, 29, 0.13);
  --green: #0d4f35;
  --green-dark: #052e20;
  --gold: #c5a66c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  width: 100%;
  overflow-x: clip;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  background: #fff;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

img,
video {
  display: block;
}

.film-hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background: #101511 url("media/posters/arrival.webp") center / cover no-repeat;
  color: #fff;
  isolation: isolate;
}

.film-hero__video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.film-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(3, 10, 7, 0.53) 0%, rgba(3, 10, 7, 0.07) 25%, rgba(3, 10, 7, 0.08) 56%, rgba(3, 10, 7, 0.68) 100%),
    linear-gradient(90deg, rgba(3, 12, 8, 0.51) 0%, rgba(3, 12, 8, 0.12) 43%, transparent 72%);
  pointer-events: none;
}

.film-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(184px, 1fr) auto auto;
  align-items: start;
  gap: clamp(32px, 4vw, 78px);
  padding: clamp(30px, 3vw, 52px) clamp(34px, 3.2vw, 62px) 0;
}

.film-brand {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(8, 17, 12, 0.08);
  backdrop-filter: blur(3px);
}

.brand-lockup {
  display: flex;
  align-items: center;
}

.film-brand .brand-lockup {
  flex-direction: column;
  justify-content: center;
  width: 160px;
  height: 119px;
  padding: 15px;
  color: #fff;
}

.brand-lockup__mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.film-brand .brand-lockup__mark {
  width: 59px;
  height: 59px;
}

.film-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.film-brand .brand-lockup__wordmark {
  width: 130px;
  height: auto;
  margin-top: 6px;
  filter: none;
}

.film-brand strong {
  margin-top: 6px;
  font-size: 22.5px;
  font-weight: 360;
  letter-spacing: 0.035em;
  line-height: 1;
  white-space: nowrap;
}

.film-nav {
  display: flex;
  align-items: center;
  gap: clamp(34px, 4vw, 72px);
  padding-top: 17px;
}

.film-nav a,
.film-check,
.film-kicker,
.film-button,
.film-more,
.film-hero__meta,
.film-scroll {
  font-size: 11px;
  font-weight: 570;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.film-nav a {
  position: relative;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.92);
}

.film-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: #fff;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.film-nav a:hover::after,
.film-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.film-check {
  min-width: 208px;
  padding: 17px 24px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: #fff;
  text-align: center;
  transition: background 200ms ease, color 200ms ease;
}

.film-check:hover,
.film-check:focus-visible {
  background: #fff;
  color: var(--green-dark);
}

.mobile-menu {
  position: relative;
  display: none;
  padding-top: 7px;
}

.mobile-menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 92px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #fff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 620;
  letter-spacing: 0.2em;
  list-style: none;
  text-align: center;
  text-transform: uppercase;
}

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

.mobile-menu nav {
  position: absolute;
  top: 54px;
  right: 0;
  display: grid;
  width: min(290px, calc(100vw - 40px));
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(5, 25, 17, 0.96);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 10px;
  font-weight: 570;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.mobile-menu nav a:last-child {
  border-bottom: 0;
}

.film-hero__content {
  position: absolute;
  bottom: clamp(112px, 14vh, 176px);
  left: clamp(34px, 3.2vw, 62px);
  z-index: 2;
  max-width: min(780px, 70vw);
}

.film-kicker {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
}

.film-hero h1 {
  margin: 0;
  font-size: clamp(52px, 5.2vw, 92px);
  font-weight: 260;
  letter-spacing: 0.075em;
  line-height: 1.03;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.28);
}

.film-summary {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 380;
  letter-spacing: 0.025em;
  line-height: 1.55;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.film-actions {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 31px;
}

.film-button {
  min-width: 220px;
  padding: 18px 26px;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.96);
  color: #131814;
  text-align: center;
  transition: background 200ms ease, color 200ms ease;
}

.film-button:hover,
.film-button:focus-visible {
  background: var(--green);
  color: #fff;
}

.film-more {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 14px 0 12px;
  color: #fff;
}

.film-more::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.72);
  content: "";
}

.film-hero__meta {
  position: absolute;
  bottom: 40px;
  left: clamp(34px, 3.2vw, 62px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.8);
}

.film-hero__meta i {
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, #fff 0 55%, rgba(255, 255, 255, 0.28) 55%);
}

.film-scroll {
  position: absolute;
  right: clamp(34px, 3.2vw, 62px);
  bottom: 35px;
  z-index: 2;
  display: grid;
  min-width: 44px;
  min-height: 44px;
  justify-items: center;
  align-content: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.film-scroll i {
  width: 18px;
  height: 18px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
}

.film-toggle {
  position: absolute;
  right: clamp(34px, 3.2vw, 62px);
  bottom: 136px;
  z-index: 3;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 570;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.film-toggle span {
  min-width: 11px;
  font-size: 10px;
  letter-spacing: 0;
}

.film-ai-notice {
  position: absolute;
  right: clamp(34px, 3.2vw, 62px);
  bottom: 105px;
  z-index: 3;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 9px;
  font-weight: 570;
  letter-spacing: 0.2em;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.film-toggle b {
  font: inherit;
  font-weight: inherit;
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 76px;
  background: linear-gradient(100deg, var(--green-dark), var(--green));
  color: #fff;
}

.proof-bar div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 18px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 11px;
  font-weight: 520;
  letter-spacing: 0.17em;
  text-align: center;
  text-transform: uppercase;
}

.proof-bar div:last-child {
  border-right: 0;
}

.proof-bar span {
  font-size: 19px;
}

.systems {
  padding: clamp(76px, 8vw, 132px) clamp(28px, 5vw, 92px) clamp(84px, 9vw, 148px);
  background: var(--paper);
}

.systems-heading {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(320px, 0.7fr);
  justify-content: space-between;
  align-items: end;
  gap: 56px;
  max-width: 1540px;
  margin: 0 auto clamp(48px, 6vw, 88px);
}

.section-kicker {
  grid-column: 1 / -1;
  margin: 0 0 -35px;
  color: var(--green);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.systems-heading h2,
.section-heading h2,
.enphase-story h2,
.company h2,
.contact h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(43px, 4.2vw, 72px);
  font-weight: 320;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.systems-heading > p:last-child {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.65;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1540px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-bright);
}

.system-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 230px 1fr;
  min-width: 0;
  min-height: 520px;
  padding: 22px 23px 31px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.2);
  transition: background 230ms ease, transform 230ms ease;
}

.system-card:last-child {
  border-right: 0;
}

.system-card:hover {
  z-index: 2;
  background: #fff;
  transform: translateY(-8px);
}

.system-card__number {
  color: rgba(13, 79, 53, 0.53);
  font-size: 10px;
  font-weight: 680;
  letter-spacing: 0.22em;
}

.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 20px 0 8px;
}

.product-image {
  max-width: 94%;
  max-height: 184px;
  object-fit: contain;
  filter: drop-shadow(0 22px 20px rgba(8, 22, 14, 0.17));
}

.product-image--battery {
  max-height: 196px;
}

.product-image--heatpump {
  max-height: 158px;
}

.product-image--wallbox {
  max-height: 190px;
}

.solar-visual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  width: 118px;
  height: 159px;
  padding: 6px;
  gap: 3px;
  border: 4px solid #263735;
  background: linear-gradient(145deg, #15282e, #07141a 65%, #1c3a43);
  box-shadow: 0 23px 24px rgba(11, 28, 23, 0.24);
  transform: perspective(600px) rotateY(-13deg) rotateX(3deg) rotateZ(-3deg);
}

.solar-visual i {
  border: 1px solid rgba(169, 205, 213, 0.35);
  background: linear-gradient(145deg, rgba(93, 139, 152, 0.22), transparent);
}

.system-card__copy > span {
  color: var(--green);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.system-card__copy h3 {
  margin: 12px 0 16px;
  font-size: clamp(19px, 1.5vw, 27px);
  font-weight: 430;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.system-card__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.ai-visual {
  position: relative;
  width: min(100%, 205px);
  height: 168px;
}

.ai-screen {
  position: absolute;
  top: 0;
  right: 0;
  width: 170px;
  height: 124px;
  padding: 11px 10px 9px;
  overflow: hidden;
  border: 5px solid #111b1d;
  border-radius: 8px;
  background: radial-gradient(circle at 80% 15%, rgba(20, 196, 189, 0.18), transparent 34%), linear-gradient(145deg, #062b30, #081d25 68%, #0a161d);
  box-shadow: 0 17px 28px rgba(4, 21, 28, 0.24);
  color: #d8ffff;
}

.ai-screen__top {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(210, 255, 252, 0.7);
  font-size: 5px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.ai-screen__top > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #39d4c8;
  box-shadow: 0 0 7px #39d4c8;
}

.ai-screen__top > b {
  margin-left: auto;
  color: #3be1d5;
  font-size: 8px;
}

.ai-screen__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 10px;
}

.ai-screen__metrics > i {
  padding: 5px 2px;
  border: 1px solid rgba(62, 208, 199, 0.16);
  border-radius: 2px;
  background: rgba(5, 47, 54, 0.52);
  color: #b6fbf6;
  font-size: 8px;
  font-style: normal;
  text-align: center;
}

.ai-screen__chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 40px;
  margin-top: 7px;
  padding: 6px 6px 3px;
  border-top: 1px solid rgba(105, 220, 213, 0.14);
}

.ai-screen__chart > i {
  flex: 1;
  height: 38%;
  border-radius: 1px 1px 0 0;
  background: linear-gradient(#45d5ca, #177b83);
}

.ai-screen__chart > i:nth-child(2) { height: 58%; }
.ai-screen__chart > i:nth-child(3) { height: 44%; }
.ai-screen__chart > i:nth-child(4) { height: 75%; }
.ai-screen__chart > i:nth-child(5) { height: 62%; }
.ai-screen__chart > i:nth-child(6) { height: 88%; }
.ai-screen__chart > i:nth-child(7) { height: 70%; }
.ai-screen__chart > i:nth-child(8) { height: 96%; }

.ai-controller {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: -6px;
  width: 124px;
  height: auto;
  max-height: 168px;
  object-fit: contain;
  filter: drop-shadow(0 14px 12px rgba(11, 28, 23, 0.2));
}

.section-heading {
  max-width: 1540px;
  margin: 0 auto clamp(48px, 6vw, 88px);
}

.section-heading .section-kicker {
  margin: 0 0 26px;
}

.section-heading h2 {
  max-width: 980px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(520px, 1.35fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: clamp(48px, 7vw, 120px);
}

.section-heading--split > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.65;
}

.section-kicker--light {
  color: rgba(255, 255, 255, 0.72);
}

.text-link {
  position: relative;
  display: inline-block;
  padding: 14px 0 10px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
}

.text-link--light {
  color: #fff;
}

.enphase-story {
  display: grid;
  grid-template-columns: minmax(330px, 0.8fr) minmax(560px, 1.2fr);
  gap: clamp(65px, 9vw, 170px);
  padding: clamp(88px, 9vw, 155px) clamp(28px, 7vw, 132px);
  background:
    radial-gradient(circle at 88% 8%, rgba(68, 132, 101, 0.35), transparent 32%),
    linear-gradient(135deg, #05291d, #0b4b33);
  color: #fff;
}

.enphase-story > *,
.company > * {
  min-width: 0;
}

.enphase-story__intro {
  max-width: 610px;
}

.enphase-story__intro .section-kicker {
  margin: 0 0 28px;
}

.enphase-story h2 {
  color: #fff;
  font-size: clamp(44px, 4.3vw, 76px);
}

.enphase-story__intro > p:not(.section-kicker) {
  max-width: 560px;
  margin: 32px 0 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.7;
}

.enphase-story__description strong {
  display: block;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 510;
}

.enphase-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: center;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.enphase-principles article {
  min-height: 205px;
  padding: 30px clamp(24px, 3vw, 44px);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.enphase-principles article > span,
.solution-card > span,
.process-grid article > span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.2em;
}

.enphase-principles h3 {
  margin: 32px 0 13px;
  font-size: clamp(20px, 1.5vw, 28px);
  font-weight: 400;
}

.enphase-principles article p {
  max-width: 290px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

.enphase-quality {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(48px, 8vw, 145px);
  margin-top: clamp(8px, 2vw, 28px);
  padding-top: clamp(52px, 6vw, 88px);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.enphase-quality .section-kicker {
  margin: 0 0 24px;
}

.enphase-quality h3 {
  max-width: 730px;
  margin: 0;
  color: #fff;
  font-size: clamp(31px, 3vw, 52px);
  font-weight: 320;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.enphase-quality__copy {
  align-self: end;
  max-width: 720px;
}

.enphase-quality__copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.7;
}

.enphase-quality__copy .enphase-quality__warranty {
  margin-top: 28px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
}

.enphase-quality__warranty strong {
  font-weight: 430;
}

.enphase-quality__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.enphase-quality__link:hover,
.enphase-quality__link:focus-visible {
  border-color: var(--gold);
  color: #f3d895;
}

.enphase-quality small {
  display: block;
  max-width: 650px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  letter-spacing: 0.025em;
  line-height: 1.6;
}

.solutions,
.references,
.process {
  padding: clamp(86px, 9vw, 150px) clamp(28px, 5vw, 92px);
}

.solutions {
  background: var(--paper-bright);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1540px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.solution-card {
  min-height: 290px;
  padding: clamp(28px, 3vw, 46px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
  transition: background 220ms ease, transform 220ms ease;
}

.solution-card:hover {
  position: relative;
  z-index: 1;
  background: #fff;
  transform: translateY(-5px);
}

.solution-card h3 {
  margin: 58px 0 18px;
  color: var(--green-dark);
  font-size: clamp(22px, 1.8vw, 31px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.solution-card p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.master-competence {
  padding: clamp(78px, 8vw, 132px) clamp(28px, 5vw, 92px);
  background: var(--green-dark);
  color: #fff;
}

.master-competence__inner {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(55px, 8vw, 150px);
  max-width: 1540px;
  margin: 0 auto;
  padding-top: clamp(32px, 4vw, 60px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.master-competence .section-kicker {
  margin: 0 0 28px;
  color: #d8c48f;
}

.master-competence h2 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 4.2vw, 72px);
  font-weight: 320;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.master-competence__copy > p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.72;
}

.master-competence__disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.master-competence__disciplines span {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.master-competence__certification {
  display: block;
  max-width: 760px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 450;
  line-height: 1.5;
}

.references {
  background: #e9e7e0;
}

.reference-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.78fr 0.78fr;
  gap: clamp(10px, 1.1vw, 20px);
  max-width: 1540px;
  min-height: clamp(450px, 42vw, 700px);
  margin: 0 auto;
}

.reference-card {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  background: #16201b;
}

.reference-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.reference-card--wide img {
  object-position: 58% center;
}

.reference-card:nth-child(2) img {
  object-position: 52% center;
}

.reference-card:hover img {
  transform: scale(1.025);
}

.reference-card::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(3, 12, 8, 0.72));
  content: "";
  pointer-events: none;
}

.reference-card figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  color: #fff;
  font-size: clamp(19px, 1.6vw, 29px);
  font-weight: 350;
}

.reference-card figcaption span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 8px;
  font-weight: 680;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.google-reviews {
  padding: clamp(82px, 8vw, 138px) clamp(28px, 5vw, 92px);
  background: linear-gradient(100deg, var(--green-dark), var(--green));
  color: #fff;
}

.google-reviews__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  max-width: 1540px;
  margin: 0 auto clamp(42px, 5vw, 72px);
}

.google-reviews__heading .section-kicker {
  margin: 0 0 24px;
  color: #d8c48f;
}

.google-reviews__heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 4.4vw, 74px);
  font-weight: 320;
  letter-spacing: -0.045em;
  line-height: 1;
}

.google-reviews__heading > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.84);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.google-reviews__heading > a:hover,
.google-reviews__heading > a:focus-visible {
  border-color: var(--gold);
  color: #fff;
}

.google-reviews__heading > a img {
  width: 22px;
  height: 22px;
}

.google-reviews__heading > a span {
  margin-left: 6px;
  font-size: 15px;
}

.google-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 24px);
  max-width: 1540px;
  margin: 0 auto;
}

.google-review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 355px;
  padding: clamp(28px, 2.6vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a0c0b;
  color: #fff;
  text-decoration: none;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.google-review-card:hover,
.google-review-card:focus-visible {
  border-color: rgba(216, 196, 143, 0.58);
  background: #111512;
  transform: translateY(-5px);
}

.google-review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.google-review-card__meta span {
  color: #fbbc04;
  font-size: 17px;
  letter-spacing: 0.13em;
}

.google-review-card__meta img {
  width: 25px;
  height: 25px;
}

.google-review-card blockquote {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 36px 0 0;
}

.google-review-card blockquote p {
  margin: 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 360;
  line-height: 1.65;
}

.google-review-card blockquote footer {
  margin-top: auto;
  padding-top: 34px;
  color: #fff;
  font-size: 10px;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.google-review-card > i {
  position: absolute;
  right: clamp(28px, 2.6vw, 42px);
  bottom: clamp(26px, 2.4vw, 38px);
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-style: normal;
}

.google-reviews__note {
  max-width: 1540px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.process {
  background: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1540px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid article {
  min-height: 270px;
  padding: 30px clamp(22px, 2.5vw, 40px);
  border-right: 1px solid var(--line);
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid h3 {
  margin: 65px 0 17px;
  color: var(--green-dark);
  font-size: clamp(21px, 1.6vw, 29px);
  font-weight: 410;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.faq {
  padding: clamp(86px, 10vw, 160px) clamp(28px, 7vw, 132px);
  background: var(--paper-bright);
}

.faq-list {
  max-width: 1540px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  min-height: 92px;
  padding: 22px 54px 22px 0;
  color: var(--green-dark);
  cursor: pointer;
  font-size: clamp(18px, 1.6vw, 27px);
  font-weight: 410;
  line-height: 1.35;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  right: 2px;
  content: "+";
  color: var(--green);
  font-size: 28px;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list summary span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.faq-list details > p {
  max-width: 920px;
  margin: -6px 54px 0 74px;
  padding: 0 0 32px;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.75;
}

.company {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(520px, 1.15fr);
  align-items: stretch;
  background: var(--paper-bright);
}

.company__portrait {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #d7d8d3;
}

.company__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.company__portrait span {
  position: absolute;
  right: 28px;
  bottom: 25px;
  left: 28px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.company__copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(75px, 9vw, 160px) clamp(42px, 8vw, 150px);
}

.company__copy .section-kicker {
  margin: 0 0 27px;
}

.company__copy > p:not(.section-kicker) {
  max-width: 720px;
  margin: 29px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.7;
}

.company__copy blockquote {
  max-width: 700px;
  margin: 48px 0 0;
  padding: 27px 0 0;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: clamp(20px, 1.8vw, 31px);
  font-weight: 330;
  line-height: 1.45;
}

.contact {
  display: grid;
  grid-template-columns: minmax(500px, 1.1fr) minmax(390px, 0.9fr);
  align-items: end;
  gap: clamp(60px, 10vw, 180px);
  padding: clamp(90px, 10vw, 170px) clamp(28px, 7vw, 132px);
  background:
    radial-gradient(circle at 12% 105%, rgba(61, 131, 97, 0.34), transparent 37%),
    #06291d;
  color: #fff;
}

.contact .section-kicker {
  margin: 0 0 28px;
}

.contact h2 {
  max-width: 940px;
  color: #fff;
}

.contact__copy > p {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.7;
}

.contact__copy > p + p {
  margin-top: 20px;
}

.contact__copy > .contact__response {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.contact__actions a {
  min-width: 220px;
  padding: 17px 22px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  transition: background 200ms ease, color 200ms ease;
}

.contact__actions a:last-child,
.contact__actions a:hover,
.contact__actions a:focus-visible {
  background: #fff;
  color: var(--green-dark);
}

.contact__actions a:last-child:hover,
.contact__actions a:last-child:focus-visible {
  background: var(--gold);
}

.contact address {
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: clamp(40px, 6vw, 100px);
  padding: 46px clamp(28px, 5vw, 92px);
  background: #09130e;
  color: #fff;
}

.site-footer__brand > a {
  display: block;
  width: fit-content;
}

.site-footer .brand-lockup {
  gap: 13px;
}

.site-footer .brand-lockup__mark {
  width: 44px;
  height: 44px;
}

.site-footer .brand-lockup__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer .brand-lockup__wordmark {
  width: 98px;
  height: auto;
}

.site-footer__brand p {
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__brand small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__contact,
.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 25px;
}

.site-footer__contact a,
.site-footer__legal a {
  display: inline-flex;
  min-width: 24px;
  min-height: 44px;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.72);
}

:focus-visible {
  outline: 2px solid #e0c27d;
  outline-offset: 5px;
}

@media (max-width: 1180px) {
  .film-header {
    grid-template-columns: 1fr auto auto;
  }

  .film-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

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

  .system-card {
    border-bottom: 1px solid var(--line);
  }

  .system-card:nth-child(2n) {
    border-right: 0;
  }

  .system-card:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .enphase-story {
    grid-template-columns: 1fr;
  }

  .enphase-story__intro {
    max-width: 760px;
  }

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

  .master-competence__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .process-grid article:nth-child(2) {
    border-right: 0;
  }

  .process-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .contact {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 800px) {
  .film-hero {
    min-height: 640px;
  }

  .film-header {
    grid-template-columns: 1fr auto;
    padding: 20px;
  }

  .film-brand .brand-lockup {
    flex-direction: row;
    gap: 9px;
    width: auto;
    height: 56px;
    padding: 8px 12px;
  }

  .film-brand .brand-lockup__mark {
    width: 36px;
    height: 36px;
  }

  .film-brand strong {
    margin-top: 0;
    font-size: 16px;
  }

  .film-brand .brand-lockup__wordmark {
    width: 88px;
    margin-top: 0;
  }

  .film-check {
    display: none;
  }

  .mobile-menu {
    padding-top: 6px;
  }

  .mobile-menu nav {
    top: 51px;
  }

  .film-hero__content {
    bottom: 118px;
    left: 24px;
    max-width: calc(100vw - 48px);
  }

  .film-kicker {
    margin-bottom: 16px;
    font-size: 9px;
    letter-spacing: 0.2em;
  }

  .film-hero h1 {
    font-size: clamp(42px, 11vw, 68px);
    letter-spacing: 0.045em;
  }

  .film-summary {
    max-width: 500px;
    margin-top: 17px;
    font-size: 14px;
  }

  .film-actions {
    gap: 25px;
    margin-top: 25px;
  }

  .film-button {
    min-width: 182px;
    padding: 16px 19px;
    font-size: 10px;
  }

  .film-more {
    font-size: 9px;
  }

  .film-hero__meta {
    bottom: 30px;
    left: 24px;
    font-size: 8px;
  }

  .film-scroll {
    right: 26px;
    bottom: 24px;
  }

  .film-toggle {
    right: 24px;
    bottom: 108px;
  }

  .film-ai-notice {
    right: 24px;
    bottom: 77px;
  }

  .film-scroll span {
    display: none;
  }

  .proof-bar {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .proof-bar div {
    min-height: 54px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .proof-bar div:last-child {
    border-bottom: 0;
  }

  .systems-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .master-competence {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .master-competence__inner {
    gap: 36px;
  }

  .enphase-quality {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-kicker {
    margin-bottom: -8px;
  }

  .section-heading .section-kicker,
  .enphase-story__intro .section-kicker,
  .company__copy .section-kicker,
  .contact .section-kicker {
    margin-bottom: 24px;
  }

  .reference-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .reference-card,
  .reference-card--wide {
    min-height: min(72vw, 570px);
  }

  .google-reviews__heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .google-reviews__heading > a {
    justify-self: start;
  }

  .google-reviews__grid {
    grid-template-columns: 1fr;
  }

  .google-review-card {
    min-height: 310px;
  }

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

  .faq-list summary {
    grid-template-columns: 52px 1fr;
  }

  .faq-list details > p {
    margin-left: 52px;
  }

  .company__portrait {
    min-height: min(105vw, 720px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 25px;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .site-footer__contact,
  .site-footer__legal {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .film-hero__video {
    object-position: 53% center;
  }

  .film-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .film-summary {
    max-width: 320px;
    font-size: 13px;
    line-height: 1.45;
  }

  .systems,
  .enphase-story,
  .solutions,
  .master-competence,
  .references,
  .google-reviews,
  .process,
  .faq,
  .contact {
    padding-right: 22px;
    padding-left: 22px;
  }

  .systems-heading h2,
  .section-heading h2,
  .enphase-story h2,
  .company h2,
  .contact h2 {
    font-size: clamp(37px, 11vw, 54px);
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .company__copy {
    padding-right: 22px;
    padding-left: 22px;
  }

  .film-hero__meta i {
    width: 48px;
  }

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

  .system-card,
  .system-card:last-child {
    grid-column: auto;
    border-right: 0;
  }

  .enphase-principles,
  .solution-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .enphase-principles article,
  .process-grid article,
  .process-grid article:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.25);
  }

  .process-grid article,
  .process-grid article:nth-child(-n + 2) {
    border-right-color: var(--line);
    border-bottom: 1px solid var(--line);
  }

  .process-grid article:last-child {
    border-bottom: 0;
  }

  .solution-card {
    min-height: 250px;
  }

  .contact__actions {
    display: grid;
  }

  .contact__actions a {
    min-width: 0;
  }

  .faq-list summary {
    grid-template-columns: 36px 1fr;
    min-height: 82px;
    padding-right: 36px;
    font-size: 17px;
  }

  .faq-list details > p {
    margin-right: 0;
    margin-left: 36px;
    font-size: 15px;
  }
}

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

  .film-hero__video:not(.film-hero__video--user-enabled) {
    display: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
