:root {
  --night: #0d0f10;
  --ink: #171b1f;
  --steel: #6c7883;
  --muted: #9da6ad;
  --mist: #f6f8f7;
  --panel: #eef3f5;
  --line: #dfe5e7;
  --blue: #abc6dc;
  --blue-deep: #527bd9;
  --amber: #d8a547;
  --green: #6f8b6d;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(23, 27, 31, 0.12);
  --radius-large: 32px;
  --radius-medium: 24px;
  --radius-pill: 999px;
  --page-pad: 32px;
  --max: 1440px;
  font-family: "Helvetica Neue", Arial, system-ui, sans-serif;
  color: var(--ink);
  background: var(--mist);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Keep anchored section headings clear of the fixed header on jump */
:where(section[id], [id]#top) {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--mist);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, system-ui, sans-serif;
  letter-spacing: normal;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: normal;
}

button {
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

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

.site-header {
  position: fixed;
  top: 22px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 var(--page-pad);
  color: var(--white);
  pointer-events: none;
  transition: color 180ms ease;
}

.header-shell {
  width: min(100%, var(--max));
  min-height: 64px;
  margin: 0 auto;
  padding: 6px 8px 6px 10px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(13, 15, 16, 0.2);
  box-shadow: 0 18px 54px rgba(3, 12, 7, 0.16);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  pointer-events: auto;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.brand-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.brand-text {
  font-size: 1.1rem;
}

.header-context {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  text-transform: uppercase;
}

.nav-pills,
.footer-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-pills {
  flex: 0 0 auto;
}

.nav-pills a,
.footer-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  font-size: 0.98rem;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.nav-pills a {
  width: 112px;
  padding: 0 12px;
  white-space: nowrap;
}

.nav-pills a:hover,
.footer-nav a:hover,
.nav-pills a.active {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.8);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  flex: 0 0 122px;
  width: 122px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 34px;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.language-toggle-label {
  min-width: 20px;
  font-size: 0.78rem;
  font-weight: 750;
  color: rgba(255, 255, 255, 0.52);
  transition: color 180ms ease;
}

.language-toggle-label-en {
  color: var(--white);
}

.language-toggle-track {
  position: relative;
  width: 50px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 5px rgba(13, 15, 16, 0.14);
  transition: background 180ms ease, border-color 180ms ease;
}

.language-toggle-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(13, 15, 16, 0.22);
  transform: translateX(0);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), background 180ms ease;
}

.language-switch.is-fr .language-toggle-thumb {
  transform: translateX(20px);
}

.language-switch.is-fr .language-toggle-label-en {
  color: rgba(255, 255, 255, 0.52);
}

.language-switch.is-fr .language-toggle-label-fr {
  color: var(--white);
}

.mobile-language-switch {
  width: 100%;
  border-color: rgba(255, 255, 255, 0.18);
  justify-content: center;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-request {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header-request svg,
.service-row svg,
.assessment-form button svg,
.back-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.mobile-nav {
  width: min(100%, var(--max));
  margin: 10px auto 0;
  display: none;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(13, 15, 16, 0.72);
  backdrop-filter: blur(24px);
  pointer-events: auto;
}

.mobile-nav a {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-nav .language-switch {
  margin-bottom: 2px;
}

.site-header.is-scrolled {
  color: var(--ink);
}

.site-header.is-scrolled .header-shell {
  border-color: rgba(23, 27, 31, 0.12);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 58px rgba(23, 27, 31, 0.14);
}

.site-header.is-scrolled .brand-icon,
.site-header.is-scrolled .menu-toggle {
  border-color: rgba(23, 27, 31, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.site-header.is-scrolled .nav-pills a {
  border-color: rgba(23, 27, 31, 0.13);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  box-shadow: 0 10px 34px rgba(23, 27, 31, 0.08);
}

.site-header.is-scrolled .language-switch {
  border-color: rgba(23, 27, 31, 0.13);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  box-shadow: 0 10px 34px rgba(23, 27, 31, 0.08);
}

.site-header.is-scrolled .nav-pills a:hover,
.site-header.is-scrolled .nav-pills a.active {
  background: var(--night);
  color: var(--white);
  border-color: var(--night);
}

.site-header.is-scrolled .language-toggle-label {
  color: rgba(23, 27, 31, 0.42);
}

.site-header.is-scrolled .language-toggle-label-en,
.site-header.is-scrolled .language-switch.is-fr .language-toggle-label-fr {
  color: var(--ink);
}

.site-header.is-scrolled .language-switch.is-fr .language-toggle-label-en {
  color: rgba(23, 27, 31, 0.42);
}

.site-header.is-scrolled .language-toggle-track {
  border-color: rgba(23, 27, 31, 0.16);
  background: rgba(23, 27, 31, 0.08);
}

.site-header.is-scrolled .language-toggle-thumb {
  background: var(--night);
}

.site-header.is-scrolled .mobile-nav {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border-color: rgba(23, 27, 31, 0.12);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: #6ea0cf;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 34, 68, 0.42) 0%, rgba(9, 34, 68, 0.14) 26%, transparent 44%),
    linear-gradient(180deg, transparent 48%, rgba(6, 24, 48, 0.34) 76%, rgba(6, 24, 48, 0.64) 100%),
    linear-gradient(rgba(6, 18, 40, 0.08), rgba(6, 18, 40, 0.08));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/hero-solar-industrial.jpg?v=2");
  background-image: -webkit-image-set(
    url("assets/hero-solar-industrial.webp?v=2") type("image/webp"),
    url("assets/hero-solar-industrial.jpg?v=2") type("image/jpeg")
  );
  background-image: image-set(
    url("assets/hero-solar-industrial.webp?v=2") type("image/webp"),
    url("assets/hero-solar-industrial.jpg?v=2") type("image/jpeg")
  );
  background-size: cover;
  background-position: center center;
  filter: saturate(1.02) contrast(1.03) brightness(0.88);
  transform: scale(1.01);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* This photo is bright and high-key, so the lead needs a deeper, wider scrim */
  background:
    linear-gradient(90deg, rgba(6, 20, 42, 0.72) 0%, rgba(6, 20, 42, 0.44) 38%, rgba(6, 20, 42, 0.1) 66%, transparent 82%),
    linear-gradient(rgba(6, 18, 40, 0.2), rgba(6, 18, 40, 0.2));
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(100%, var(--max));
  min-height: 100vh;
  margin: 0 auto;
  padding: 132px var(--page-pad) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-lead {
  max-width: min(100%, 640px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 2vw, 28px);
}

.hero-wordmark {
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-weight: 800;
  font-size: clamp(3.2rem, 7.6vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-shadow: 0 6px 44px rgba(6, 28, 58, 0.3);
}

.hero-wordmark span {
  display: block;
}

.hero-accent {
  width: clamp(120px, 12vw, 188px);
  height: 5px;
  border-radius: 99px;
  background: var(--white);
}

.hero-subtitle {
  margin: 0;
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.02rem, 1.4vw, 1.36rem);
  line-height: 1.42;
  font-weight: 400;
  text-shadow: 0 2px 20px rgba(6, 28, 58, 0.32);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  margin-top: 4px;
  padding: 0 30px;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 600;
  box-shadow: none;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), background 220ms ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: #f2f5f8;
}

.hero-cta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease;
}

.hero-cta:hover svg {
  transform: translateX(3px);
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(220px, 360px) auto;
  gap: 36px;
  align-items: end;
  justify-content: space-between;
}

.hero-links {
  display: grid;
  gap: 0;
}

.hero-links a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  color: rgba(255, 255, 255, 0.94);
}

.hero-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  justify-self: end;
  gap: 18px;
}

.hero-facts div {
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.46);
}

.hero-facts dt {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
  line-height: 1.05;
  font-weight: 560;
}

.intro-section,
.services-section,
.markets-section,
.process-section,
.energy-panel-section,
.faq-section,
.contact-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 116px var(--page-pad);
}

.intro-section {
  display: grid;
  grid-template-columns: 30% 1fr;
  column-gap: 48px;
  row-gap: 68px;
  background: var(--mist);
  overflow: hidden;
}

.section-rail {
  font-size: 1.15rem;
  color: var(--ink);
}

.intro-main {
  display: grid;
  gap: 44px;
}

.section-thesis {
  max-width: 930px;
  margin: 0;
  font-size: 4.6rem;
  line-height: 1.06;
  font-weight: 440;
}

.section-thesis span,
.process-title span,
.site-footer h2 span,
.panel-copy h2 span {
  color: rgba(23, 27, 31, 0.36);
}

.typing-title {
  display: grid;
}

.typing-title::before {
  content: attr(data-typewriter-text);
  visibility: hidden;
}

.typing-title::before,
.typing-line {
  grid-area: 1 / 1;
}

.typing-line {
  color: rgba(23, 27, 31, 0.36);
}

.typing-token {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 0.16em, 0);
  transition:
    opacity 420ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 420ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, filter, transform;
}

.typing-token.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

.typing-token.is-strong {
  color: var(--ink);
}

.intro-support {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 720px;
}

.intro-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thumb-cluster {
  display: flex;
  flex: 0 0 auto;
}

.thumb-cluster img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border: 3px solid var(--mist);
  border-radius: 50%;
  margin-left: -14px;
}

.thumb-cluster img:first-child {
  margin-left: 0;
}

.intro-support p,
.section-lead {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.55;
}

.wide-line {
  grid-column: 1 / -1;
  margin: -0.08em -10% -0.12em;
  width: 122%;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.08em 0 0.12em;
  font-size: 5.5rem;
  line-height: 1.08;
  font-weight: 560;
  color: var(--ink);
}

.wide-line-track {
  width: max-content;
  display: flex;
  animation: wide-line-marquee 18s linear infinite;
  will-change: transform;
}

.wide-line-track span {
  flex: 0 0 auto;
  padding-right: 0.9em;
}

.wide-line-track em {
  color: rgba(23, 27, 31, 0.34);
  font-style: normal;
}

@keyframes wide-line-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-33.333%, 0, 0);
  }
}

.proof-grid {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  perspective: 1500px;
  perspective-origin: center;
}

.proof-card {
  --card-rotate-x: 0deg;
  --card-rotate-y: 0deg;
  position: relative;
  z-index: 1;
  min-height: 400px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-large);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.32));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 22px 50px -22px rgba(19, 34, 63, 0.28),
    0 8px 20px -14px rgba(19, 34, 63, 0.16);
  color: var(--ink);
  overflow: hidden;
  transform:
    perspective(1500px)
    rotateX(var(--card-rotate-x))
    rotateY(var(--card-rotate-y));
  transform-origin: center;
  transform-style: preserve-3d;
  backdrop-filter: blur(32px) saturate(1.7);
  -webkit-backdrop-filter: blur(32px) saturate(1.7);
  transition: box-shadow 420ms cubic-bezier(0.16, 1, 0.3, 1), transform 140ms ease-out;
}

/* Rim light — bright top-left edge, fading round the card, like light on glass */
.proof-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.08) 34%,
    rgba(255, 255, 255, 0) 58%,
    rgba(255, 255, 255, 0.3)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.72;
  transition: opacity 420ms ease;
}

.proof-card.is-tilting {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 34px 62px -22px rgba(19, 34, 63, 0.36),
    0 12px 26px -16px rgba(19, 34, 63, 0.22);
}

.proof-card:hover::before,
.proof-card.is-tilting::before {
  opacity: 1;
}

.proof-card > * {
  position: relative;
  z-index: 2;
  transform: translateZ(26px);
}

.proof-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.proof-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  flex: 0 0 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(171, 198, 220, 0.58);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 14px 34px rgba(82, 123, 217, 0.12);
  color: var(--blue-deep);
}

.proof-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof-tag {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(82, 123, 217, 0.2);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.66);
  color: rgba(31, 89, 181, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.proof-card-body {
  display: grid;
  gap: 18px;
}

.proof-title {
  max-width: 11ch;
  margin: 0;
  color: var(--ink);
  font-size: 1.62rem;
  font-weight: 720;
  line-height: 1.08;
}

.proof-value {
  display: block;
  color: var(--blue-deep);
  font-size: clamp(4.1rem, 5.6vw, 5.9rem);
  font-weight: 430;
  line-height: 0.88;
}

.proof-value-inline {
  display: flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}

.proof-value-inline small {
  color: rgba(82, 123, 217, 0.68);
  font-size: 1.12rem;
  font-weight: 560;
}

.proof-copy {
  display: block;
  color: rgba(23, 27, 31, 0.64);
  font-size: 1rem;
  line-height: 1.35;
}

.proof-mini-panel {
  position: relative;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.38));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 30px -18px rgba(19, 34, 63, 0.24);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

.proof-mini-label,
.proof-mini-note {
  display: block;
  color: rgba(36, 52, 70, 0.68);
  font-size: 0.82rem;
  line-height: 1.28;
}

.proof-mini-note {
  margin-top: 8px;
  color: rgba(36, 52, 70, 0.54);
}

.proof-mini-value,
.proof-widget-value {
  display: block;
  margin-top: 10px;
  color: var(--blue-deep);
  font-size: 2.1rem;
  font-weight: 460;
  line-height: 0.95;
}

.proof-widget-value {
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.1;
}

.proof-card-blue {
  background: linear-gradient(155deg, rgba(238, 245, 255, 0.62), rgba(255, 255, 255, 0.32));
}

/* Card 2 — the accent tile: tinted blue frosted glass among the clear cards */
.proof-card-service {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: linear-gradient(160deg, rgba(46, 108, 196, 0.9), rgba(24, 63, 128, 0.92));
  color: var(--white);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.36) inset,
    0 26px 56px -22px rgba(14, 40, 84, 0.5),
    0 12px 26px -16px rgba(14, 40, 84, 0.3);
}

.proof-card-service::before {
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.05) 36%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.24)
  );
}

.proof-card-service .proof-icon {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.proof-card-service .proof-tag {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
}

.proof-card-service .proof-title {
  color: var(--white);
}

.proof-card-service .proof-copy {
  color: rgba(255, 255, 255, 0.82);
}

.proof-card-service .proof-mini-panel {
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 14px 30px -18px rgba(9, 28, 58, 0.42);
}

.proof-service-panel {
  display: grid;
  gap: 12px;
}

.proof-card-service .proof-mini-label,
.proof-card-service .proof-mini-note {
  color: rgba(255, 255, 255, 0.74);
}

.proof-card-service .proof-widget-value {
  color: var(--white);
  font-size: 1.28rem;
}

.proof-service-panel .proof-sparkline {
  width: 100%;
  height: 60px;
  margin-top: 4px;
  overflow: visible;
}

.proof-card-service .proof-chart-grid {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.25;
}

.proof-card-service .proof-sparkline-path {
  stroke: #d5e6ff;
  stroke-width: 4.4;
  filter: drop-shadow(0 4px 10px rgba(6, 24, 54, 0.4));
}

.proof-card-service .proof-chart-dot {
  fill: #ffffff;
  filter: drop-shadow(0 3px 8px rgba(6, 24, 54, 0.45));
}

.proof-card-soft {
  background: linear-gradient(155deg, rgba(244, 250, 255, 0.6), rgba(255, 255, 255, 0.32));
}

.proof-card-soft .proof-copy {
  color: rgba(82, 98, 112, 0.72);
}

.proof-card-ppa .proof-value {
  font-size: clamp(3.65rem, 4.35vw, 4.95rem);
}

.proof-card-ppa .proof-value-inline {
  gap: 8px;
}

.proof-card-ppa .proof-value-inline small {
  font-size: 1rem;
}

.proof-card-grid {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.3));
}

.proof-feature {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
}

.proof-feature-title {
  max-width: 12ch;
  font-size: 1.42rem;
}

.proof-feature-backup {
  padding-top: 22px;
  border-top: 1px solid rgba(171, 198, 220, 0.42);
}

.proof-capex-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 14px;
  align-items: center;
}

.proof-donut {
  width: 88px;
  height: 88px;
}

.proof-donut-track,
.proof-donut-ring {
  fill: none;
  stroke-width: 11;
}

.proof-donut-track {
  stroke: rgba(171, 198, 220, 0.45);
}

.proof-donut-ring {
  stroke: var(--blue-deep);
  stroke-linecap: round;
  stroke-dasharray: 0.76 1;
  stroke-dashoffset: 1;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.proof-donut-spark {
  fill: none;
  stroke: rgba(82, 123, 217, 0.38);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.proof-sparkline,
.proof-tariff-chart {
  display: block;
  width: 100%;
  overflow: visible;
}

.proof-chart-grid {
  fill: none;
  stroke: rgba(108, 120, 131, 0.16);
  stroke-width: 1;
}

.proof-sparkline-path,
.proof-chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.proof-sparkline-path {
  stroke: var(--blue-deep);
  stroke-width: 4;
}

.proof-chart-line-grid {
  stroke: rgba(108, 120, 131, 0.72);
  stroke-width: 3.2;
}

.proof-chart-line-ppa {
  stroke: var(--blue-deep);
  stroke-width: 3.2;
}

.proof-chart-dot {
  fill: var(--blue-deep);
  opacity: 0;
  transform-origin: center;
}

.proof-chart-dot-grid {
  fill: rgba(108, 120, 131, 0.78);
}

.proof-duration-panel {
  display: grid;
  gap: 18px;
}

.proof-duration-track {
  position: relative;
  height: 26px;
}

.proof-duration-base,
.proof-duration-fill {
  position: absolute;
  top: 12px;
  left: 6px;
  right: 6px;
  height: 3px;
  border-radius: var(--radius-pill);
}

.proof-duration-base {
  background: rgba(82, 123, 217, 0.2);
}

.proof-duration-fill {
  background: linear-gradient(90deg, rgba(82, 123, 217, 0.72), var(--blue-deep));
  transform: scaleX(0);
  transform-origin: left;
}

.proof-duration-dot {
  position: absolute;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blue-deep);
  box-shadow: 0 0 0 6px rgba(82, 123, 217, 0.1);
  opacity: 0;
  transform: scale(0.7);
}

.proof-duration-dot-start {
  left: 6px;
}

.proof-duration-dot-end {
  right: 6px;
}

.proof-duration-scale {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(31, 89, 181, 0.78);
  font-size: 0.9rem;
  line-height: 1.08;
}

.proof-tariff-panel {
  display: grid;
  gap: 12px;
}

.proof-chart-legend {
  display: grid;
  gap: 6px;
  color: rgba(36, 52, 70, 0.62);
  font-size: 0.78rem;
}

.proof-chart-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: rgba(108, 120, 131, 0.78);
}

.legend-dot-ppa {
  background: var(--blue-deep);
}

.proof-grid.is-chart-visible .proof-donut-ring,
.proof-card.is-chart-visible .proof-donut-ring {
  animation: proof-donut-draw 1700ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
}

.proof-grid.is-chart-visible .proof-sparkline-path,
.proof-card.is-chart-visible .proof-sparkline-path,
.proof-grid.is-chart-visible .proof-chart-line,
.proof-card.is-chart-visible .proof-chart-line {
  animation: proof-chart-draw 1900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.proof-grid.is-chart-visible .proof-chart-line-grid,
.proof-card.is-chart-visible .proof-chart-line-grid {
  animation-delay: 220ms;
}

.proof-grid.is-chart-visible .proof-chart-line-ppa,
.proof-card.is-chart-visible .proof-chart-line-ppa {
  animation-delay: 440ms;
}

.proof-grid.is-chart-visible .proof-chart-dot,
.proof-card.is-chart-visible .proof-chart-dot,
.proof-grid.is-chart-visible .proof-duration-dot,
.proof-card.is-chart-visible .proof-duration-dot {
  animation: proof-dot-pop 560ms cubic-bezier(0.16, 1, 0.3, 1) 1540ms both;
}

.proof-grid.is-chart-visible .proof-duration-fill,
.proof-card.is-chart-visible .proof-duration-fill {
  animation: proof-track-grow 1700ms cubic-bezier(0.16, 1, 0.3, 1) 260ms both;
}

@keyframes proof-chart-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes proof-donut-draw {
  to {
    stroke-dashoffset: 0.24;
  }
}

@keyframes proof-track-grow {
  to {
    transform: scaleX(1);
  }
}

@keyframes proof-dot-pop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.services-section {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 54px 48px;
  background: var(--mist);
}

.services-aside {
  display: grid;
  align-content: start;
  gap: 76px;
}

.dot-grid {
  width: 78px;
  height: 78px;
  display: block;
  background:
    radial-gradient(circle, rgba(23, 27, 31, 0.1) 0 10px, transparent 11px) 0 0 / 26px 26px;
}

.year-range {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.04;
}

.aside-note {
  margin: -58px 0 0;
  color: var(--steel);
  text-transform: uppercase;
}

.services-main {
  display: grid;
  gap: 24px;
}

.pill-label {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(23, 27, 31, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.pill-label span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.section-lead {
  max-width: 780px;
  color: var(--ink);
}

.service-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 12% 36% 1fr auto;
  gap: 32px;
  align-items: center;
  min-height: 152px;
  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  margin: 14px 0 0;
  font-size: 2.55rem;
  line-height: 1;
  font-weight: 420;
}

.service-row p {
  margin: 0;
  color: var(--steel);
  line-height: 1.5;
}

.service-index {
  font-size: 1.1rem;
}

.service-eyebrow {
  color: var(--steel);
  text-transform: uppercase;
}

.service-row > a:not(.dark-button) {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 180ms ease, transform 180ms ease;
}

.service-row > a:not(.dark-button):hover {
  background: var(--white);
  transform: translateY(-2px);
}

.service-row-feature {
  min-height: 300px;
  margin: 0 -8px;
  padding: 36px 32px;
  grid-template-columns: 12% 1fr auto auto;
  border: 0;
  border-radius: var(--radius-large);
  background: #f0f1f1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.service-feature-copy {
  max-width: 620px;
  margin-top: 42px !important;
  color: var(--ink) !important;
  font-size: 1.05rem;
}

.service-fact {
  min-width: 190px;
  color: var(--ink);
}

.service-fact strong {
  display: block;
  font-size: 5rem;
  line-height: 0.9;
  font-weight: 420;
}

.service-fact span {
  color: var(--steel);
}

.dark-button,
.assessment-form button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  background: var(--night);
  color: var(--white);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.dark-button:hover,
.assessment-form button:hover {
  transform: translateY(-2px);
  background: #000000;
}

.solar-works-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 116px var(--page-pad) 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.solar-works-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.solar-works-copy {
  display: grid;
  gap: 24px;
  max-width: 640px;
}

.solar-works-copy .section-thesis {
  font-size: clamp(2.7rem, 4.4vw, 3.9rem);
}

.hiw-hero {
  margin: 0;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.hiw-hero img {
  width: auto;
  height: clamp(240px, 27vw, 380px);
  max-width: 100%;
  display: block;
}

.hiw-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.hiw-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 36px) clamp(28px, 3vw, 38px) 30px;
  border: 1px solid #eceef3;
  border-radius: var(--radius-medium);
  background: var(--white);
  box-shadow: 0 24px 50px -34px rgba(30, 50, 110, 0.28);
}

.hiw-card-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.hiw-card-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: #eeeffa;
  color: var(--blue-deep);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hiw-card-title {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hiw-card-copy {
  max-width: 340px;
  margin: 12px 0 0;
  color: var(--steel);
  font-size: 1.02rem;
  line-height: 1.5;
}

.hiw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hiw-chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 20px;
  border: 1px solid #e6e9f2;
  border-radius: 13px;
  background: var(--white);
  color: #39414f;
  font-size: 0.95rem;
  font-weight: 600;
}

.hiw-chip.is-accent {
  color: var(--blue-deep);
  font-weight: 700;
}

.hiw-chip svg {
  flex: none;
  width: 19px;
  height: 19px;
}

.hiw-chip-icon {
  flex: none;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hiw-card-divider {
  height: 1px;
  margin: 28px 0 6px;
  background: #eef0f4;
}

.hiw-flow-wrap {
  margin-top: auto;
  padding-top: 16px;
}

.hiw-flow {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 620 / 200;
}

.hiw-flow-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hiw-wire path {
  stroke: #c3cbda;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 9 11;
}

.hiw-node circle {
  fill: var(--blue-deep);
}

.hiw-b {
  fill: var(--blue-deep);
  filter: drop-shadow(0 0 3px rgba(82, 123, 217, 0.7));
}

.hiw-bh {
  animation: hiw-flow-h 2.6s linear infinite;
}

.hiw-bv {
  animation: hiw-flow-v 1.5s linear infinite;
}

@keyframes hiw-flow-h {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateX(-282px);
    opacity: 0;
  }
}

@keyframes hiw-flow-v {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    transform: translateY(24px);
    opacity: 0;
  }
}

.hiw-flow-img {
  position: absolute;
  width: auto;
  transform: translateX(-50%);
}

.hiw-flow-building {
  left: 12%;
  bottom: 8%;
  height: 74%;
}

.hiw-flow-solar {
  left: 50%;
  bottom: 50%;
  height: 48%;
}

.hiw-flow-source {
  left: 86%;
  bottom: 8%;
  height: 70%;
}

.hiw-flow-source.is-gen {
  height: 52%;
}

@media (prefers-reduced-motion: reduce) {
  .hiw-hero img,
  .hiw-b {
    animation: none;
  }
  .hiw-b {
    opacity: 1;
  }
}

.energy-panel-section {
  width: min(100%, 1440px);
  padding: 60px clamp(20px, 2.5vw, 36px) 92px;
}

.energy-panel {
  position: relative;
  min-height: 520px;
  aspect-ratio: 2.24 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  color: var(--white);
  background: #0a2b51;
  box-shadow:
    0 30px 70px -28px rgba(10, 26, 48, 0.55),
    0 12px 30px -18px rgba(10, 26, 48, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
  touch-action: pan-y;
  user-select: none;
}

.panel-slides,
.panel-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.panel-slides {
  z-index: 0;
}

.panel-slides img {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.8) brightness(0.84) blur(6px);
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1500ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.panel-slides img:nth-child(1) {
  object-position: center 56%;
}

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

.panel-slides img:nth-child(3) {
  object-position: center 50%;
}

.panel-slides img.is-active {
  opacity: 1;
  transform: scale(1);
  filter: saturate(0.8) brightness(0.86) blur(0);
}

.panel-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 34, 68, 0.4) 0%, rgba(3, 18, 35, 0.3) 42%, rgba(2, 13, 27, 0.6) 100%),
    linear-gradient(90deg, rgba(2, 14, 29, 0.4) 0%, rgba(3, 20, 38, 0.2) 55%, rgba(3, 19, 35, 0.15) 100%);
  z-index: 1;
}

.energy-panel[data-active-slide="2"] .panel-shade {
  background:
    linear-gradient(180deg, rgba(36, 111, 172, 0.1) 0%, rgba(9, 47, 86, 0.1) 32%, rgba(2, 25, 50, 0.5) 100%),
    linear-gradient(90deg, rgba(5, 43, 82, 0.4) 0%, rgba(7, 42, 79, 0.15) 58%, rgba(4, 25, 48, 0.1) 100%);
}

.panel-chip,
.panel-date,
.panel-content-group,
.panel-controls,
.panel-bars {
  position: absolute;
  z-index: 2;
}

.panel-chip {
  top: 28px;
  left: 32px;
  min-height: 44px;
  margin: 0;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 0.98rem;
  font-weight: 520;
  letter-spacing: 0.01em;
}

.energy-panel[data-active-slide="2"] .panel-chip {
  background: rgba(8, 38, 69, 0.66);
}

.panel-date {
  top: 40px;
  right: 34px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 640;
  letter-spacing: 0.01em;
}

.panel-content-group {
  inset: 0;
}

.panel-meter {
  position: absolute;
  top: clamp(78px, 6vw, 104px);
  left: 50%;
  width: min(404px, calc(100% - 64px));
  min-height: 146px;
  padding: 24px 32px 24px 26px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 22px;
  background: rgba(240, 248, 255, 0.86);
  color: #071a35;
  box-shadow:
    0 22px 42px rgba(4, 17, 31, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.22);
  transform: translateX(-50%);
}

.panel-meter-icon {
  width: 86px;
  height: 86px;
  grid-row: 1 / span 2;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  color: #2f7bff;
}

.meter-icon {
  grid-area: 1 / 1;
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 180ms ease, transform 180ms ease;
}

.meter-icon.is-active {
  opacity: 1;
  transform: scale(1);
}

.panel-meter strong {
  display: block;
  align-self: end;
  font-size: clamp(1.78rem, 2.1vw, 2.1rem);
  line-height: 1.08;
  font-weight: 760;
}

.panel-meter p {
  max-width: 270px;
  margin: 8px 0 0;
  align-self: start;
  color: #08214a;
  font-size: 1.07rem;
  line-height: 1.22;
  font-weight: 520;
}

.panel-copy {
  position: absolute;
  left: clamp(48px, 9vw, 180px);
  right: clamp(48px, 9vw, 180px);
  bottom: clamp(94px, 11vw, 140px);
}

.panel-copy h2 {
  max-width: 920px;
  margin: 0 0 20px;
  color: var(--white);
  font-size: clamp(2.2rem, 2.7vw, 2.9rem);
  line-height: 1.1;
  font-weight: 640;
  letter-spacing: -0.01em;
}

.panel-title-main {
  display: block;
  color: var(--white) !important;
}

.panel-copy h2 span {
  display: block;
  color: #89c8ff;
}

.panel-copy p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.05rem, 1.36vw, 1.32rem);
  line-height: 1.46;
  font-weight: 430;
}

.panel-bars {
  left: 50%;
  bottom: 38px;
  width: min(400px, calc(100% - 340px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  transform: translateX(-50%);
}

.panel-bars button {
  height: 5px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 99px;
  overflow: hidden;
  cursor: pointer;
}

.panel-bars button::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.panel-bars button.is-active::before {
  transform: scaleX(1);
}

.energy-panel[data-slide-direction="next"] .panel-bars button::before {
  transform-origin: left;
}

.energy-panel[data-slide-direction="next"] .panel-bars button.is-exiting::before {
  transform-origin: right;
}

.energy-panel[data-slide-direction="prev"] .panel-bars button::before {
  transform-origin: right;
}

.energy-panel[data-slide-direction="prev"] .panel-bars button.is-exiting::before {
  transform-origin: left;
}

.panel-bars button.is-exiting::before {
  transform: scaleX(0);
}

.panel-controls {
  right: 34px;
  bottom: 30px;
  display: inline-flex;
  gap: 10px;
}

.panel-controls button {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.panel-controls button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.2);
}

.panel-controls button:active {
  transform: translateY(0) scale(0.96);
}

.panel-controls svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.process-section {
  text-align: center;
  background: var(--mist);
}

.pill-label.centered {
  margin: 0 auto 34px;
}

.process-title {
  max-width: 1160px;
  margin: 0 auto 98px;
  font-size: 4.15rem;
  line-height: 1.12;
  font-weight: 420;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  perspective: 1200px;
  perspective-origin: center;
}

@property --path-card-beam {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@property --path-card-stroke {
  syntax: "<length>";
  inherits: false;
  initial-value: 1.35px;
}

@property --path-card-lift {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@keyframes path-card-beam-spin {
  to {
    --path-card-beam: 360deg;
  }
}

@keyframes path-card-light-sweep {
  0% {
    opacity: 0;
    transform: translateX(0) skewX(-18deg);
  }

  14% {
    opacity: 0.22;
  }

  72% {
    opacity: 0.22;
  }

  100% {
    opacity: 0;
    transform: translateX(350%) skewX(-18deg);
  }
}

@keyframes process-media-light-sweep {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) skewX(-18deg);
  }

  16% {
    opacity: 0.18;
  }

  74% {
    opacity: 0.18;
  }

  100% {
    opacity: 0;
    transform: translate3d(315%, 0, 0) skewX(-18deg);
  }
}

.process-strip figure {
  --path-card-beam: 0deg;
  --path-card-stroke: 1.35px;
  --path-card-rotate-x: 0deg;
  --path-card-rotate-y: 0deg;
  --path-card-lift: 0px;
  --path-card-glare-x: 50%;
  --path-card-glare-y: 30%;
  --path-card-accent-soft: rgba(82, 123, 217, 0.06);
  --path-card-accent-mid: rgba(82, 123, 217, 0.52);
  --path-card-accent-bright: rgba(171, 198, 220, 0.92);
  --path-card-accent-warm: rgba(216, 165, 71, 0.58);
  --path-card-accent-border: rgba(82, 123, 217, 0.22);
  --path-card-accent-glow: rgba(82, 123, 217, 0.2);
  position: relative;
  margin: 0;
  padding: 8px 8px 20px;
  border: 1px solid rgba(23, 27, 31, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 42px rgba(23, 27, 31, 0.06);
  overflow: hidden;
  clip-path: inset(0 round 28px);
  contain: paint;
  transform:
    perspective(950px)
    rotateX(var(--path-card-rotate-x))
    rotateY(var(--path-card-rotate-y))
    translateY(var(--path-card-lift));
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.process-strip figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: var(--path-card-stroke);
  border-radius: inherit;
  background: conic-gradient(
    from var(--path-card-beam),
    transparent 0deg,
    transparent 278deg,
    var(--path-card-accent-soft) 302deg,
    var(--path-card-accent-mid) 324deg,
    rgba(255, 255, 255, 0.86) 337deg,
    var(--path-card-accent-bright) 348deg,
    var(--path-card-accent-warm) 356deg,
    transparent 360deg
  );
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.76;
  filter: drop-shadow(0 0 7px var(--path-card-accent-glow));
  animation: path-card-beam-spin 6.6s linear infinite;
  transition: opacity 260ms ease, filter 260ms ease, padding 180ms ease;
}

.process-strip figure:nth-child(1) {
  --path-card-accent-soft: rgba(108, 120, 131, 0.08);
  --path-card-accent-mid: rgba(108, 120, 131, 0.56);
  --path-card-accent-bright: rgba(171, 198, 220, 0.9);
  --path-card-accent-warm: rgba(82, 123, 217, 0.42);
  --path-card-accent-border: rgba(108, 120, 131, 0.24);
  --path-card-accent-glow: rgba(108, 120, 131, 0.2);
}

.process-strip figure:nth-child(2) {
  --path-card-accent-soft: rgba(82, 123, 217, 0.08);
  --path-card-accent-mid: rgba(82, 123, 217, 0.58);
  --path-card-accent-bright: rgba(171, 198, 220, 0.94);
  --path-card-accent-warm: rgba(82, 123, 217, 0.38);
  --path-card-accent-border: rgba(82, 123, 217, 0.26);
  --path-card-accent-glow: rgba(82, 123, 217, 0.22);
}

.process-strip figure:nth-child(3) {
  --path-card-accent-soft: rgba(216, 165, 71, 0.08);
  --path-card-accent-mid: rgba(216, 165, 71, 0.58);
  --path-card-accent-bright: rgba(255, 255, 255, 0.86);
  --path-card-accent-warm: rgba(216, 165, 71, 0.94);
  --path-card-accent-border: rgba(216, 165, 71, 0.32);
  --path-card-accent-glow: rgba(216, 165, 71, 0.22);
}

.process-strip figure:nth-child(4) {
  --path-card-accent-soft: rgba(111, 139, 109, 0.08);
  --path-card-accent-mid: rgba(111, 139, 109, 0.58);
  --path-card-accent-bright: rgba(180, 205, 174, 0.88);
  --path-card-accent-warm: rgba(216, 165, 71, 0.42);
  --path-card-accent-border: rgba(111, 139, 109, 0.3);
  --path-card-accent-glow: rgba(111, 139, 109, 0.22);
}

.process-strip figure:nth-child(5) {
  --path-card-accent-soft: rgba(23, 27, 31, 0.08);
  --path-card-accent-mid: rgba(23, 27, 31, 0.5);
  --path-card-accent-bright: rgba(111, 139, 109, 0.82);
  --path-card-accent-warm: rgba(171, 198, 220, 0.58);
  --path-card-accent-border: rgba(23, 27, 31, 0.22);
  --path-card-accent-glow: rgba(23, 27, 31, 0.18);
}

.process-strip figure::after {
  content: "";
  position: absolute;
  top: -18%;
  left: -62%;
  z-index: 2;
  width: 48%;
  height: 136%;
  background:
    linear-gradient(
      105deg,
      transparent 0%,
      rgba(255, 255, 255, 0.16) 38%,
      rgba(255, 255, 255, 0.72) 49%,
      var(--path-card-accent-bright) 56%,
      transparent 74%
    );
  pointer-events: none;
  opacity: 0;
  filter: blur(4px) saturate(1.12);
  mix-blend-mode: soft-light;
  transform: translateX(0) skewX(-18deg);
  will-change: transform, opacity;
}

.process-strip figure:hover {
  border-color: var(--path-card-accent-border);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 60px rgba(23, 27, 31, 0.12);
}

.process-strip figure:hover::before,
.process-strip figure.is-tilting::before {
  opacity: 1;
  filter:
    drop-shadow(0 0 7px var(--path-card-accent-glow))
    drop-shadow(0 0 16px var(--path-card-accent-soft));
}

.process-strip figure:hover::after,
.process-strip figure.is-tilting::after {
  animation: path-card-light-sweep 980ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.process-card-media {
  position: relative;
  display: block;
  z-index: 0;
  border-radius: 22px;
  overflow: hidden;
  clip-path: inset(0 round 22px);
  transform: translateZ(18px);
  box-shadow: 0 16px 34px rgba(23, 27, 31, 0.08);
}

.process-card-media::after {
  content: "";
  position: absolute;
  inset: -24% auto -24% -74%;
  width: 58%;
  background:
    linear-gradient(
      105deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 30%,
      rgba(255, 255, 255, 0.72) 48%,
      var(--path-card-accent-bright) 58%,
      transparent 76%
    );
  filter: blur(3px) saturate(1.1);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0) skewX(-18deg);
  will-change: transform, opacity;
}

.process-strip figure:hover .process-card-media::after,
.process-strip figure.is-tilting .process-card-media::after {
  animation: process-media-light-sweep 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.process-strip picture {
  display: block;
  border-radius: inherit;
}

.process-icon {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 12%;
  box-sizing: border-box;
  background: var(--white);
  border-radius: inherit;
  object-fit: contain;
  transition: transform 260ms ease;
}

.process-strip figure:hover .process-icon {
  transform: scale(1.04);
}

.process-strip figcaption {
  position: relative;
  z-index: 3;
  margin-top: 16px;
  font-size: 1.08rem;
  color: var(--ink);
}

/* Pager dots for the mobile snap carousels — hidden on desktop where the grids show all cards */
.snap-dots {
  display: none;
}

@keyframes snap-hint-nudge {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.55;
  }

  50% {
    transform: translateX(5px);
    opacity: 1;
  }
}

.markets-section {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 56px 48px;
}

.markets-copy {
  display: grid;
  gap: 28px;
}

.market-cards {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.market-cards article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
    var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.market-cards span {
  color: var(--steel);
  text-transform: uppercase;
}

.market-cards strong {
  font-size: 2rem;
  line-height: 1.08;
  font-weight: 430;
}

.faq-section {
  display: block;
}

.faq-heading {
  max-width: 930px;
  margin: 0 auto 48px;
  display: grid;
  gap: 28px;
  justify-items: center;
  text-align: center;
}

.faq-list {
  margin: 0 auto;
  max-width: 768px;
  padding: 0 32px;
  border: 1px solid #e7e6dd;
  border-radius: 22px;
  background: var(--white);
  box-shadow:
    0 1px 2px rgba(10, 10, 10, 0.04),
    0 10px 30px -18px rgba(10, 10, 10, 0.16);
}

.faq-item {
  border-bottom: 1px solid #eeede6;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: #0a0a0a;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary > span:first-child {
  font-size: 1.04rem;
  line-height: 1.3;
  font-weight: 650;
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #d9d8cf;
  border-radius: 50%;
  color: #56564f;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.faq-icon svg {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transform-origin: center;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] .faq-icon {
  border-color: #1a3fe0;
  color: #1a3fe0;
}

.faq-item[open]:not(.is-closing) .faq-icon svg {
  transform: rotate(45deg);
}

.faq-answer {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    height 300ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 220ms ease;
}

.faq-item[open] .faq-answer {
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  padding: 0 40px 20px 0;
  color: #56564f;
  font-size: 0.97rem;
  line-height: 1.65;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
  gap: 56px;
  align-items: start;
  background: var(--mist);
}

.contact-intro {
  display: grid;
  gap: 28px;
}

.contact-section .section-lead {
  max-width: 620px;
}

.site-footer {
  margin: 0 auto;
  padding: 42px var(--page-pad) 36px;
  background: var(--night);
  color: var(--white);
  overflow: hidden;
}

.footer-top,
.footer-grid,
.footer-wordmark,
.back-top {
  width: min(100%, var(--max));
  margin-left: auto;
  margin-right: auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand .brand-icon {
  color: var(--white);
}

.footer-nav a {
  background: transparent;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 70px;
  padding: 120px 0 88px;
}

.site-footer h2 {
  max-width: 650px;
  margin: 0;
  font-size: 4.2rem;
  line-height: 1.03;
  font-weight: 420;
}

.site-footer h2 span {
  display: block;
  color: rgba(255, 255, 255, 0.28);
}

.copyright {
  margin: 88px 0 0;
  color: rgba(255, 255, 255, 0.42);
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px 42px;
  font-style: normal;
}

.contact-details span,
.assessment-form label span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
}

.contact-details p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.22rem;
  line-height: 1.32;
}

.contact-details a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.assessment-form {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: var(--radius-medium);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.12);
  color: var(--ink);
  box-shadow:
    0 30px 92px rgba(23, 27, 31, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(46px) saturate(1.45);
  -webkit-backdrop-filter: blur(46px) saturate(1.45);
}

.assessment-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.46), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 42%);
  opacity: 0.7;
}

.assessment-form > * {
  position: relative;
  z-index: 1;
}

.form-title {
  margin: 0 0 22px;
  font-size: 1.28rem;
  color: var(--ink);
}

.assessment-form label {
  display: grid;
  gap: 0;
  margin-bottom: 14px;
}

.assessment-form label span {
  margin-bottom: 8px;
  color: rgba(23, 27, 31, 0.54);
  font-size: 0.78rem;
}

.assessment-form input,
.assessment-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.28);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    0 10px 28px rgba(23, 27, 31, 0.032);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.assessment-form input:focus,
.assessment-form textarea:focus {
  border-color: rgba(82, 123, 217, 0.48);
  background: rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 0 0 4px rgba(171, 198, 220, 0.28),
    0 14px 34px rgba(23, 27, 31, 0.07);
  outline: none;
}

.assessment-form textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.assessment-form button {
  width: 100%;
  margin-top: 4px;
  min-height: 52px;
  background: rgba(13, 15, 16, 0.92);
  color: var(--white);
  box-shadow:
    0 14px 34px rgba(13, 15, 16, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.assessment-form button:hover {
  background: #000000;
}

/* Honeypot — kept off-screen so bots fill it but humans never see it */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 4px 0 0;
  color: #c0341d;
  font-size: 0.94rem;
  line-height: 1.42;
}

.form-error[hidden] {
  display: none;
}

/* ── Send-request button loading + success reveal ── */
.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: #ffffff;
  animation: fs-spin 680ms linear infinite;
}

.assessment-form.is-sending button {
  pointer-events: none;
  opacity: 0.9;
}

.assessment-form.is-sending .btn-arrow {
  display: none;
}

.assessment-form.is-sending .btn-spinner {
  display: inline-block;
}

.form-success {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 34px;
  text-align: center;
  border-radius: inherit;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  transition: opacity 400ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 520ms;
  pointer-events: none;
}

.assessment-form.is-sent .form-success {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 420ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.form-success-badge {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(82, 123, 217, 0.18), rgba(82, 123, 217, 0.05));
}

.form-success-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(82, 123, 217, 0.45);
  opacity: 0;
}

.assessment-form.is-sent .form-success-badge {
  animation: fs-pop 640ms cubic-bezier(0.22, 1.4, 0.4, 1) 120ms both;
}

.assessment-form.is-sent .form-success-badge::before {
  animation: fs-ripple 900ms cubic-bezier(0.16, 1, 0.3, 1) 280ms both;
}

.form-success-badge svg {
  width: 88px;
  height: 88px;
  overflow: visible;
}

.fs-ring,
.fs-check {
  fill: none;
  stroke: var(--blue-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fs-ring {
  stroke-width: 3;
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
}

.fs-check {
  stroke-width: 4.2;
  stroke-dasharray: 42;
  stroke-dashoffset: 42;
}

.assessment-form.is-sent .fs-ring {
  animation: fs-draw 620ms cubic-bezier(0.65, 0, 0.35, 1) 200ms forwards;
}

.assessment-form.is-sent .fs-check {
  animation: fs-draw 420ms cubic-bezier(0.65, 0, 0.35, 1) 580ms forwards;
}

.form-success-title {
  margin: 0;
  color: var(--ink);
  font-size: 1.62rem;
  font-weight: 720;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(10px);
}

.form-success-note {
  margin: 0;
  max-width: 34ch;
  color: rgba(23, 27, 31, 0.6);
  font-size: 1rem;
  line-height: 1.42;
  opacity: 0;
  transform: translateY(10px);
}

.assessment-form.is-sent .form-success-title {
  animation: fs-rise 520ms cubic-bezier(0.16, 1, 0.3, 1) 700ms both;
}

.assessment-form.is-sent .form-success-note {
  animation: fs-rise 520ms cubic-bezier(0.16, 1, 0.3, 1) 800ms both;
}

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

@keyframes fs-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fs-pop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fs-ripple {
  0% {
    transform: scale(0.62);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.95);
    opacity: 0;
  }
}

@keyframes fs-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-wordmark {
  margin-top: -10px;
  margin-bottom: 34px;
  font-size: 8.8rem;
  line-height: 0.85;
  font-weight: 760;
  white-space: nowrap;
}

.back-top {
  min-height: 96px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.back-top svg {
  width: 58px;
  height: 58px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

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

  .header-context {
    display: none;
  }

  .hero-bottom {
    grid-template-columns: minmax(220px, 360px) auto;
  }

  .hero-facts {
    grid-column: auto;
    justify-self: end;
  }

  .section-thesis {
    font-size: 3.6rem;
  }

  .wide-line {
    font-size: 4.3rem;
  }

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

  .proof-card {
    min-height: 390px;
  }

  .process-title,
  .site-footer h2 {
    font-size: 3.3rem;
  }

  .panel-copy h2 {
    font-size: clamp(3.35rem, 5.8vw, 4.8rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact-section {
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
    gap: 40px;
  }

  .copyright {
    margin-top: 34px;
  }

  .footer-wordmark {
    font-size: 6rem;
  }
}

@media (max-width: 980px) {
  :root {
    --page-pad: 20px;
  }

  .site-header {
    top: 14px;
  }

  .header-shell {
    min-height: 58px;
  }

  .nav-pills,
  .header-request {
    display: none;
  }

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

  .mobile-nav.is-open {
    display: grid;
  }

  .brand-icon {
    width: 44px;
    height: 44px;
  }

  .hero,
  .hero-content {
    min-height: 88vh;
  }

  .hero-media {
    background-position: center;
  }

  .hero-content {
    padding-top: 112px;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-links {
    max-width: 420px;
  }

  .hero-facts {
    grid-column: auto;
    justify-self: start;
  }

  .intro-section,
  .services-section,
  .markets-section {
    grid-template-columns: 1fr;
  }

  .section-rail,
  .services-aside {
    display: none;
  }

  .intro-section,
  .services-section,
  .markets-section,
  .process-section,
  .energy-panel-section {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .solar-works-section {
    padding-top: 86px;
  }

  .solar-works-head {
    grid-template-columns: 1fr;
  }

  .solar-works-copy {
    max-width: none;
  }

  .solar-works-copy .section-thesis {
    font-size: 3rem;
  }

  .hiw-hero {
    justify-content: center;
  }

  .hiw-hero img {
    max-width: 380px;
  }

  .hiw-cards {
    grid-template-columns: 1fr;
  }

  .section-thesis {
    font-size: 3rem;
  }

  .wide-line {
    margin-left: 0;
    width: 100%;
    font-size: 3.35rem;
  }

  .proof-grid,
  .market-cards {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
  }

  .service-row,
  .service-row-feature {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    padding: 26px 0;
  }

  .service-row-feature {
    padding: 28px;
  }

  .service-row > a:not(.dark-button) {
    justify-self: start;
  }

  .dark-button {
    justify-self: start;
  }

  .energy-panel {
    min-height: 720px;
    aspect-ratio: auto;
  }

  .panel-content-group {
    inset: 0;
  }

  .panel-meter {
    top: 104px;
    width: min(410px, calc(100% - 56px));
  }

  .panel-copy {
    left: 42px;
    right: 42px;
    bottom: 128px;
  }

  .panel-bars {
    left: 50%;
    right: auto;
    bottom: 38px;
    width: min(392px, calc(100% - 220px));
  }

  .process-title {
    font-size: 3rem;
  }

  .panel-copy h2 {
    font-size: 3rem;
  }

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

  .contact-section {
    grid-template-columns: 1fr;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    flex-wrap: wrap;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --page-pad: 16px;
  }

  .brand-text {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 100vh;
    min-height: 100svh;
  }

  /* Phones load a dedicated portrait crop at retina resolution */
  .hero-media {
    background-image: url("assets/hero-solar-industrial-mobile.jpg?v=2");
    background-image: -webkit-image-set(
      url("assets/hero-solar-industrial-mobile.webp?v=2") type("image/webp"),
      url("assets/hero-solar-industrial-mobile.jpg?v=2") type("image/jpeg")
    );
    background-image: image-set(
      url("assets/hero-solar-industrial-mobile.webp?v=2") type("image/webp"),
      url("assets/hero-solar-industrial-mobile.jpg?v=2") type("image/jpeg")
    );
    background-size: cover;
    background-position: center bottom;
  }

  /* Stronger scrim on phones — the lead sits directly on the photo */
  .hero-media::after {
    background: linear-gradient(
      180deg,
      rgba(6, 20, 42, 0.46) 0%,
      rgba(6, 20, 42, 0.32) 34%,
      rgba(6, 20, 42, 0.62) 64%,
      rgba(6, 20, 42, 0.76) 100%
    );
  }

  /* Anchor the lead to the lower half — over the dark building, where it reads best */
  .hero-content {
    justify-content: flex-end;
    gap: 34px;
    padding-top: 96px;
    padding-bottom: 24px;
  }

  .hero-wordmark {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-subtitle {
    max-width: 34ch;
    font-size: 1.06rem;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
    min-height: 54px;
    margin-top: 8px;
  }

  /* Section shortcuts duplicate the nav — drop them to declutter the hero */
  .hero-links {
    display: none;
  }

  .hero-facts {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .hero-facts dt {
    margin-bottom: 6px;
    font-size: 0.72rem;
  }

  .hero-facts dd {
    font-size: 1.02rem;
  }

  .hero-facts div {
    padding-left: 12px;
  }

  .intro-section,
  .services-section,
  .markets-section,
  .process-section,
  .energy-panel-section,
  .faq-section,
  .contact-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .solar-works-section {
    padding-top: 64px;
    gap: 32px;
  }

  .solar-works-copy {
    gap: 18px;
  }

  .solar-works-copy .section-thesis {
    font-size: 2.1rem;
  }

  .hiw-card {
    padding: 26px 22px 26px;
    border-radius: 20px;
  }

  .hiw-card-head {
    gap: 16px;
  }

  .hiw-card-num {
    width: 54px;
    height: 54px;
    font-size: 1.35rem;
  }

  .hiw-card-title {
    font-size: 1.4rem;
  }

  .hiw-chip {
    padding: 11px 16px;
    font-size: 0.88rem;
  }
  .section-thesis {
    font-size: 2.1rem;
  }

  .intro-support {
    align-items: flex-start;
    flex-direction: column;
  }

  .wide-line {
    font-size: 2.8rem;
  }

  /* Proof cards become a swipeable deck with a peek of the next card */
  .proof-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(80vw, 320px);
    gap: 14px;
    max-width: none;
    width: auto;
    margin: 0 calc(-1 * var(--page-pad));
    padding: 4px var(--page-pad) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--page-pad);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .proof-grid::-webkit-scrollbar {
    display: none;
  }

  .proof-card {
    min-height: 0;
    padding: 22px;
    border-radius: 24px;
    gap: 24px;
    scroll-snap-align: start;
    /* No floating drop shadow on phones — cards sit flat in the deck */
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    border-color: rgba(23, 27, 31, 0.08);
  }

  .proof-title {
    font-size: 1.32rem;
  }

  .proof-value,
  .service-fact strong {
    font-size: 3.4rem;
  }

  .proof-card-header {
    gap: 10px;
  }

  .proof-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .proof-icon svg {
    width: 28px;
    height: 28px;
  }

  .proof-tag {
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .proof-capex-panel {
    grid-template-columns: 1fr;
  }

  .proof-donut {
    justify-self: start;
  }

  .proof-feature {
    grid-template-columns: 52px 1fr;
  }

  .service-row h3 {
    font-size: 2.1rem;
  }

  /* Mobile carousel: image card on top, content on solid navy below */
  .energy-panel {
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "content"
      "bars";
    padding: 12px 12px 18px;
  }

  .panel-slides {
    position: relative;
    grid-area: media;
    inset: auto;
    width: 100%;
    height: 210px;
    border-radius: 14px;
    overflow: hidden;
  }

  .panel-slides::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(4, 18, 38, 0.5), transparent 46%);
  }

  .panel-shade {
    display: none;
  }

  .panel-chip {
    top: 24px;
    left: 24px;
    min-height: 32px;
    padding: 0 14px;
    font-size: 0.8rem;
  }

  .panel-date {
    top: 31px;
    right: 26px;
    margin: 0;
    font-size: 0.82rem;
    text-shadow: 0 1px 10px rgba(4, 18, 38, 0.6);
  }

  .panel-content-group {
    position: static;
    inset: auto;
    grid-area: content;
    display: flex;
    flex-direction: column;
    margin-top: 16px;
    padding: 0 6px;
  }

  .panel-meter {
    position: static;
    transform: none;
    width: auto;
    min-height: 0;
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .panel-meter-icon {
    width: 50px;
    height: 50px;
  }

  .meter-icon {
    width: 30px;
    height: 30px;
    stroke-width: 2.6;
  }

  .panel-meter strong {
    font-size: 1.14rem;
  }

  .panel-meter p {
    max-width: none;
    margin-top: 4px;
    font-size: 0.86rem;
    line-height: 1.3;
  }

  .panel-copy {
    position: static;
    margin-top: 16px;
  }

  .process-title,
  .site-footer h2 {
    font-size: 2.42rem;
  }

  .panel-copy h2 {
    font-size: clamp(1.42rem, 6vw, 1.7rem);
    line-height: 1.18;
    margin-bottom: 8px;
  }

  .panel-copy p {
    font-size: 0.93rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
  }

  .panel-bars {
    position: static;
    transform: none;
    grid-area: bars;
    width: auto;
    margin: 18px 6px 0;
    gap: 8px;
  }

  /* Arrows sit on the photo edges, where the thumb expects them */
  .panel-controls {
    position: absolute;
    left: 22px;
    right: 22px;
    top: 95px;
    display: flex;
    justify-content: space-between;
    margin: 0;
    pointer-events: none;
  }

  .panel-controls button {
    width: 44px;
    height: 44px;
    pointer-events: auto;
    background: rgba(8, 24, 46, 0.38);
  }

  .panel-controls svg {
    width: 26px;
    height: 26px;
    stroke-width: 2.2;
  }

  .process-title {
    margin-bottom: 40px;
    font-size: 2.05rem;
  }

  /* Horizontal snap strip instead of five tall stacked cards */
  .process-strip {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(70vw, 280px);
    gap: 14px;
    max-width: none;
    margin: 0 calc(-1 * var(--page-pad));
    padding: 6px var(--page-pad) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--page-pad);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .process-strip::-webkit-scrollbar {
    display: none;
  }

  .process-strip figure {
    scroll-snap-align: start;
    padding: 6px 6px 16px;
  }

  .process-strip figure::before {
    animation: none;
    opacity: 0.35;
  }

  .process-strip figcaption {
    margin-top: 12px;
    font-size: 0.98rem;
  }

  .snap-dots {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    min-height: 18px;
  }

  /* Animated "swipe" cue — fades away once the visitor scrolls the deck */
  .snap-hint {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--steel);
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: opacity 320ms ease;
  }

  .snap-hint svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: snap-hint-nudge 1.3s ease-in-out infinite;
  }

  .snap-hint.is-hidden {
    opacity: 0;
    visibility: hidden;
  }

  .snap-dots > span:not(.snap-hint) {
    width: 6px;
    height: 6px;
    border-radius: 99px;
    background: rgba(23, 27, 31, 0.18);
    transition: background 220ms ease, width 220ms ease;
  }

  .snap-dots > span.is-active {
    width: 20px;
    background: var(--ink);
  }

  .market-cards {
    gap: 12px;
  }

  .market-cards article {
    min-height: 0;
    padding: 24px;
    gap: 16px;
  }

  .market-cards strong {
    font-size: 1.55rem;
  }

  .faq-list {
    padding: 0 24px;
  }

  .faq-heading {
    margin-bottom: 36px;
  }

  .faq-item summary {
    min-height: 64px;
  }

  .faq-item summary > span:first-child {
    font-size: 1rem;
  }

  .faq-answer p {
    padding-right: 0;
  }

  .site-footer {
    padding-top: 30px;
  }

  .footer-nav a {
    min-height: 38px;
    padding: 0 16px;
  }

  .footer-grid {
    padding: 76px 0 58px;
  }

  .contact-section {
    gap: 36px;
  }

  /* Solid card on phones — glass blur over the light background reads muddy */
  .assessment-form {
    padding: 22px 18px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 20px 50px -30px rgba(23, 27, 31, 0.25);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .assessment-form::before {
    display: none;
  }

  .assessment-form input,
  .assessment-form textarea {
    border-color: var(--line);
    border-radius: 12px;
    background: #fafbfb;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .assessment-form input:focus,
  .assessment-form textarea:focus {
    border-color: rgba(82, 123, 217, 0.55);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(82, 123, 217, 0.14);
  }

  /* Pair short fields side by side so the form takes fewer screens.
     display: contents lifts the row wrappers' labels into the form grid. */
  .assessment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
  }

  .assessment-form > * {
    grid-column: 1 / -1;
  }

  .form-row {
    display: contents;
  }

  .assessment-form label {
    grid-column: auto;
    grid-template-rows: 1fr auto;
    min-width: 0;
  }

  /* Phone and message stay full width — they need the room */
  .assessment-form label:has(input[type="tel"]),
  .assessment-form label:has(textarea) {
    grid-column: 1 / -1;
  }

  .footer-wordmark {
    font-size: 3.25rem;
    white-space: normal;
  }

  .back-top {
    min-height: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .proof-card::before,
  .process-strip figure::before,
  .process-strip figure:hover::after,
  .snap-hint svg {
    animation: none;
  }

  .proof-donut-ring,
  .proof-sparkline-path,
  .proof-chart-line {
    animation: none;
    stroke-dashoffset: 0;
  }

  .proof-duration-fill {
    animation: none;
    transform: scaleX(1);
  }

  .proof-chart-dot,
  .proof-duration-dot {
    animation: none;
    opacity: 1;
    transform: scale(1);
  }

  .process-strip figure::after,
  .process-card-media::after {
    display: none;
  }

  .wide-line-track {
    animation: none;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================================
   Savings calculator (#calculator)
   ========================================================================== */
.calc-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 116px var(--page-pad) 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  scroll-margin-top: 96px;
}
.calc-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.calc-head .section-thesis { max-width: 24ch; }
.calc-head .section-lead { max-width: 60ch; }

.calc-stage { position: relative; }
.calc-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--white);
  box-shadow: 0 26px 60px -34px rgba(23, 27, 31, 0.24);
}

/* --- Input form --- */
.calc-input {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.calc-panel-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.calc-field { display: flex; flex-direction: column; gap: 10px; }
.calc-field-head { display: flex; flex-direction: column; gap: 4px; }
.calc-field label {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}
.calc-field-help { margin: 0; font-size: 0.9rem; color: var(--steel); line-height: 1.45; }
.calc-opt { color: var(--muted); font-weight: 400; }
.calc-help-toggle {
  align-self: flex-start;
  margin-top: 2px;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-deep);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.calc-input-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--mist);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.calc-input-wrap:focus-within {
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px rgba(82, 123, 217, 0.16);
}
.calc-input-wrap input {
  flex: 1;
  min-width: 0;
  padding: 15px 16px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
}
.calc-input-wrap input:focus { outline: none; }
.calc-unit {
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: rgba(23, 27, 31, 0.04);
  border-left: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--steel);
  white-space: nowrap;
}
.calc-field.has-error .calc-input-wrap { border-color: #c0524b; }
.calc-error { margin: 0; font-size: 0.88rem; color: #c0524b; }

.calc-bill-help {
  margin-top: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--mist);
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: 18px;
  align-items: center;
}
.calc-bill-sample { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.calc-bill-sample td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.calc-bill-sample td:last-child { text-align: right; color: var(--steel); }
.calc-bill-sample .is-highlight { font-weight: 600; }
.calc-bill-sample .is-highlight td {
  color: var(--ink);
  border: 1px solid var(--amber);
  background: rgba(216, 165, 71, 0.1);
}
.calc-bill-help p { margin: 0; font-size: 0.9rem; color: var(--steel); line-height: 1.5; }

/* --- Optional block + toggles --- */
.calc-optional {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.calc-optional-lead { margin: -8px 0 0; font-size: 0.92rem; color: var(--steel); }
.calc-toggle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.calc-toggle-q { margin: 0; font-size: 1rem; font-weight: 600; color: var(--ink); max-width: 46ch; }
.calc-choice { display: inline-flex; gap: 8px; }
.calc-choice-btn {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--steel);
  cursor: pointer;
  transition: all 180ms ease;
}
.calc-choice-btn.is-active {
  border-color: var(--blue-deep);
  background: rgba(82, 123, 217, 0.12);
  color: var(--blue-deep);
}
.calc-note-info {
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(82, 123, 217, 0.08);
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
}
.calc-diesel-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* --- Primary CTA --- */
.calc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 28px;
  border: none;
  border-radius: 16px;
  background: var(--night);
  color: var(--white);
  font: inherit;
  font-size: 1.04rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease;
}
.calc-cta:disabled { opacity: 0.6; cursor: default; }
.calc-reassure { margin: 0; text-align: center; font-size: 0.88rem; color: var(--muted); }

/* --- Loading --- */
.calc-loading {
  padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.calc-loading-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.calc-loading-ring {
  flex: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid rgba(216, 165, 71, 0.2);
  border-top-color: var(--amber);
  color: var(--amber);
  animation: calc-spin 1.1s linear infinite;
}
.calc-loading-ring svg { width: 22px; height: 22px; animation: calc-counterspin 1.1s linear infinite; }
@keyframes calc-spin { to { transform: rotate(360deg); } }
@keyframes calc-counterspin { to { transform: rotate(-360deg); } }
.calc-loading-title { margin: 0; font-size: 1.25rem; font-weight: 600; color: var(--ink); }

.calc-progress {
  width: min(100%, 520px);
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--panel);
  overflow: hidden;
}
.calc-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--blue-deep), var(--amber));
  transition: width 120ms linear;
}
.calc-progress-pct { margin: -8px 0 0; font-size: 0.85rem; font-weight: 600; color: var(--steel); font-variant-numeric: tabular-nums; }

.calc-loglist {
  list-style: none;
  margin: 4px 0 0;
  padding: 18px 20px;
  width: min(100%, 520px);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--mist);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc-logline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
  opacity: 0;
  transform: translateY(4px);
  animation: calc-logline-in 260ms ease forwards;
}
@keyframes calc-logline-in { to { opacity: 1; transform: translateY(0); } }
.calc-logline.is-active { color: var(--ink); }
.calc-logline.is-done { color: var(--steel); }
.calc-log-tick {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  position: relative;
}
.calc-logline.is-active .calc-log-tick {
  border-color: var(--blue-deep);
  border-top-color: transparent;
  animation: calc-spin 0.8s linear infinite;
}
.calc-logline.is-done .calc-log-tick {
  border-color: var(--green);
  background: var(--green);
}
.calc-logline.is-done .calc-log-tick::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.calc-secure { margin: 4px 0 0; font-size: 0.9rem; color: var(--steel); }

/* --- Results --- */
.calc-results { padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 22px; }
.calc-conf { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.calc-conf-req { margin: 0; font-size: 0.9rem; color: var(--steel); }

.calc-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--radius-medium);
  background: var(--night);
  color: var(--white);
}
.calc-hero-label { margin: 0 0 10px; font-size: 1rem; color: rgba(255, 255, 255, 0.72); }
.calc-hero-number {
  margin: 0;
  font-size: clamp(3rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
  letter-spacing: -0.01em;
}
.calc-hero-full { margin: 12px 0 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); }
.calc-hero-basis { margin: 14px 0 0; font-size: 1.05rem; color: rgba(255, 255, 255, 0.92); }

.calc-chart-title { margin: 0 0 8px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); text-align: right; }
.calc-chart-title b { color: var(--amber); font-size: 1.15rem; margin-left: 6px; }
.calc-chart svg { width: 100%; height: auto; overflow: visible; }
.calc-chart-grid { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; }
.calc-chart-area { /* fill set inline per-chart via unique gradient id */ }
.calc-chart-line { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; }
.calc-chart-dot { fill: var(--amber); stroke: #0d0f10; stroke-width: 2; }
.calc-chart-mdot { fill: var(--amber); fill-opacity: 0.6; }
.calc-chart-axis { fill: rgba(255, 255, 255, 0.55); font-size: 12px; }

.calc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.calc-stat {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc-stat-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(82, 123, 217, 0.1);
  color: var(--blue-deep);
}
.calc-stat-icon svg { width: 22px; height: 22px; }
.calc-stat-label { margin: 0; font-size: 0.88rem; color: var(--steel); line-height: 1.35; }
.calc-stat-value { margin: 0; font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.calc-stat-unit { font-size: 0.9rem; font-weight: 400; color: var(--steel); }

.calc-breakdown {
  padding: 22px;
  border-radius: var(--radius-medium);
  background: var(--mist);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}
.calc-bd-msg { margin: 0; font-size: 1rem; color: var(--ink); line-height: 1.55; }
.calc-bd-rows { display: flex; flex-direction: column; gap: 10px; }
.calc-bd-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; color: var(--steel); }
.calc-bd-row b { color: var(--ink); }

/* Diesel/grid savings split (customer-specific diesel mode) */
.calc-split {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.calc-split-title { margin: 0; font-size: 1rem; font-weight: 600; color: var(--ink); }
.calc-split-rows { display: flex; flex-direction: column; gap: 2px; }
.calc-split-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--steel);
}
.calc-split-row b { color: var(--ink); font-size: 1.05rem; }
.calc-split-total {
  border-bottom: none;
  padding-top: 14px;
  font-weight: 600;
  color: var(--ink);
}
.calc-split-total b { color: var(--blue-deep); font-size: 1.2rem; }
.calc-split-energy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 4px;
}
.calc-split-energy div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--mist);
  font-size: 0.85rem;
  color: var(--steel);
}
.calc-split-energy b { color: var(--ink); font-size: 1rem; }

.calc-important {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--mist);
}
.calc-important-title { margin: 0 0 10px; font-size: 1rem; font-weight: 600; color: var(--ink); }
.calc-important ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.calc-important li { font-size: 0.88rem; color: var(--steel); line-height: 1.5; }

.calc-result-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.calc-recalc {
  padding: 8px 12px;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Illustrative scenarios --- */
.calc-illustrative-intro {
  margin: 0;
  text-align: center;
  font-size: 1rem;
  color: var(--steel);
  line-height: 1.55;
  max-width: 70ch;
  align-self: center;
}
.calc-scenarios { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calc-scenario {
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.calc-scenario-hero {
  padding: 24px 26px 18px;
  background: var(--night);
  color: var(--white);
}
.calc-scenario-title { margin: 0; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.calc-scenario-headline { margin: 6px 0 0; font-size: 2.1rem; font-weight: 700; color: var(--amber); }
.calc-scenario-headline span { font-size: 0.95rem; font-weight: 400; color: rgba(255, 255, 255, 0.6); }
.calc-scenario-chart { margin-top: 10px; }
.calc-scenario-chart svg { width: 100%; height: auto; overflow: visible; }
.calc-scenario-rows { display: flex; flex-direction: column; gap: 10px; padding: 20px 26px 26px; }
.calc-scenario-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; color: var(--steel); }
.calc-scenario-rows b { color: var(--ink); }

/* --- Lead form --- */
.calc-lead { padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.calc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.calc-back svg { width: 18px; height: 18px; }
.calc-back-center { align-self: center; }
.calc-lead-title { margin: 0; text-align: center; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; color: var(--ink); }
.calc-lead-sub { margin: 0; text-align: center; font-size: 1.05rem; color: var(--steel); line-height: 1.5; }
.calc-lead-estimate {
  padding: 20px 24px;
  border-radius: var(--radius-medium);
  background: var(--night);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.calc-lead-est-main { margin: 0; font-size: 1.1rem; font-weight: 600; }
.calc-lead-est-sub { margin: 0; font-size: 1rem; color: var(--amber); font-weight: 700; }
.calc-lead-form { display: flex; flex-direction: column; gap: 20px; }
.calc-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calc-lead-field { display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.calc-lead-field em { color: #c0524b; font-style: normal; }
.calc-lead-field-wide { grid-column: 1 / -1; }
.calc-lead-field input {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--mist);
  font: inherit;
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--ink);
}
.calc-lead-field input:focus {
  outline: none;
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px rgba(82, 123, 217, 0.16);
}
.calc-lead-assure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 8px 0;
}
.calc-lead-assure span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--steel); }
.calc-lead-assure svg { width: 18px; height: 18px; color: var(--blue-deep); }

/* --- Success --- */
.calc-success {
  padding: clamp(40px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.calc-success-check { color: var(--amber); }
.calc-success-check svg { width: 92px; height: 92px; }
.calc-success-title { margin: 0; font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 600; color: var(--ink); }
.calc-success-note { margin: 0; max-width: 52ch; font-size: 1.05rem; color: var(--steel); line-height: 1.55; }

/* --- Responsive --- */
@media (max-width: 980px) {
  .calc-section { padding-top: 92px; }
  .calc-hero { grid-template-columns: 1fr; gap: 22px; }
  .calc-chart-title { text-align: left; }
  .calc-stats { grid-template-columns: 1fr 1fr; }
  .calc-breakdown { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .calc-diesel-fields { grid-template-columns: 1fr; }
  .calc-bill-help { grid-template-columns: 1fr; }
  .calc-stats { grid-template-columns: 1fr 1fr; }
  .calc-scenarios { grid-template-columns: 1fr; }
  .calc-lead-grid { grid-template-columns: 1fr; }
  .calc-toggle-row { flex-direction: column; align-items: flex-start; }
  .calc-choice { width: 100%; }
  .calc-choice-btn { flex: 1; }
  .calc-hero-number { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .calc-split-energy { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .calc-loading-ring,
  .calc-loading-ring svg,
  .calc-logline,
  .calc-logline.is-active .calc-log-tick { animation: none; }
  .calc-logline { opacity: 1; transform: none; }
  .calc-progress-bar { transition: none; }
  .calc-cta { transition: none; }
}

/* Calculator fixes: honor [hidden] over panel display rules; keep pill badge text from inheriting the dot styling */
.calc-section [hidden] { display: none !important; }
.pill-label .pill-badge-text { width: auto; height: auto; border-radius: 0; background: none; }

/* --- Savings calculator teaser / funnel section (imported design) --- */
.calc-teaser {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 64px var(--page-pad) 90px;
  scroll-margin-top: 96px;
}
.calc-teaser-inner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 84px 60px;
  border: 1px solid #e6e5e3;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff, #fafafa);
  box-shadow: 0 42px 84px -48px rgba(0, 0, 0, 0.16);
}

/* Decorative backdrop — amber sun glow + concentric dashed rings */
.calc-teaser-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.calc-teaser-glow {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 900px;
  height: 900px;
  max-width: 150%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 168, 64, 0.72), rgba(255, 178, 80, 0.28) 42%, rgba(255, 180, 88, 0) 66%);
  opacity: 0;
}
.calc-teaser-ring {
  position: absolute;
  left: 50%;
  top: 47%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.calc-teaser-ring-lg {
  width: 960px;
  height: 960px;
  border: 1px dashed rgba(20, 20, 20, 0.16);
}
.calc-teaser-ring-sm {
  width: 660px;
  height: 660px;
  border: 1px dashed rgba(20, 20, 20, 0.13);
}

/* Content */
.calc-teaser-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}
.calc-teaser-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 11px 20px;
  border: 1px solid #e6e5e3;
  border-radius: 999px;
  background: #fff;
  font: 600 13px/1 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
}
.calc-teaser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff9e3c;
  display: inline-block;
  animation: calc-dot-pulse 2.2s ease-in-out infinite;
}
.calc-teaser-title {
  margin: 0;
  max-width: 900px;
  font: 800 clamp(2.6rem, 6vw, 76px) / 0.98 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.035em;
  color: #111;
}
.calc-shimmer {
  background: linear-gradient(90deg, #c9741a, #ffb15a, #c9741a);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: calc-shimmer 3.5s linear infinite;
}
.calc-teaser-lead {
  margin: 0;
  max-width: 560px;
  font: 400 clamp(1.05rem, 2.2vw, 21px) / 1.5 "Helvetica Neue", Arial, sans-serif;
  color: #5c5c59;
}
.calc-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding: 22px 34px;
  border-radius: 16px;
  background: #0a0a0a;
  color: #fff;
  font: 700 19px/1 "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.42);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.calc-teaser-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.45);
}
.calc-teaser-cta-arrow {
  font-size: 17px;
}

/* Keyframes */
@keyframes calc-breathe {
  0% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.95; transform: translate(-50%, -50%) scale(1.16); }
  100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
}
@keyframes calc-spin-slow {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes calc-spin-rev {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}
@keyframes calc-shimmer {
  to { background-position: -200% 0; }
}
@keyframes calc-dot-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 158, 60, 0.55); }
  50% { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(255, 158, 60, 0); }
}

/* Scroll reveal — items hidden only when armed by JS (no-JS keeps them visible);
   decorative loops begin when the card enters view. */
.calc-teaser.is-armed .calc-teaser-content > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.calc-teaser.is-visible .calc-teaser-content > * {
  opacity: 1;
  transform: none;
}
.calc-teaser.is-visible .calc-teaser-content > *:nth-child(1) { transition-delay: 0.05s; }
.calc-teaser.is-visible .calc-teaser-content > *:nth-child(2) { transition-delay: 0.16s; }
.calc-teaser.is-visible .calc-teaser-content > *:nth-child(3) { transition-delay: 0.3s; }
.calc-teaser.is-visible .calc-teaser-content > *:nth-child(4) { transition-delay: 0.42s; }
.calc-teaser.is-visible .calc-teaser-glow { animation: calc-breathe 4s ease-in-out infinite; }
.calc-teaser.is-visible .calc-teaser-ring-lg { animation: calc-spin-slow 80s linear infinite; }
.calc-teaser.is-visible .calc-teaser-ring-sm { animation: calc-spin-rev 62s linear infinite; }

@media (max-width: 620px) {
  .calc-teaser { padding: 40px var(--page-pad) 64px; }
  .calc-teaser-inner { min-height: 0; padding: 56px 22px; }
  .calc-teaser-content { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .calc-teaser .calc-teaser-dot,
  .calc-teaser .calc-shimmer,
  .calc-teaser.is-visible .calc-teaser-glow,
  .calc-teaser.is-visible .calc-teaser-ring-lg,
  .calc-teaser.is-visible .calc-teaser-ring-sm {
    animation: none;
  }
  .calc-teaser .calc-teaser-glow { opacity: 0.6; }
  .calc-teaser-cta { transition: none; }
  .calc-teaser-cta:hover { transform: none; }
  .calc-teaser.is-armed .calc-teaser-content > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
