@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14201c;
  --ink-soft: #46534d;
  --graphite: #101614;
  --graphite-2: #17201d;
  --graphite-3: #24302b;
  --paper: #f4f1ea;
  --paper-2: #e9e5dc;
  --surface: #fcfaf6;
  --line: #cbc8bf;
  --line-dark: #36443e;
  --copper: #c88a66;
  --copper-soft: #e5b28f;
  --water: #61b9c6;
  --efficiency: #70c99f;
  --danger: #cf765e;
  --icon-warm: #965236;
  --icon-water: #267483;
  --icon-energy: #327653;
  --white: #fff;
  --radius: 6px;
  --photo-radius: 16px;
  --header-height: 78px;
  --mobile-cta-height: 78px;
  --shadow-soft: 0 18px 50px rgba(16, 22, 20, 0.09);
  --shadow-dark: 0 24px 70px rgba(0, 0, 0, 0.26);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 430;
  line-height: 1.58;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0;
}

img,
svg,
canvas,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.3rem;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.25;
}

p {
  margin-bottom: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--water);
  color: var(--graphite);
}

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

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

.narrow {
  max-width: 820px;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 300;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  color: var(--graphite);
  background: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.scroll-progress {
  position: fixed;
  z-index: 210;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left center;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  display: none;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 200;
  top: 0;
  width: 100%;
  height: var(--header-height);
  color: var(--white);
  background: #101614;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-open .site-header {
  position: fixed;
  inset: 0 0 auto;
}

.topbar {
  display: none;
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo-img {
  width: 188px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  object-position: left center;
}

.menu-toggle {
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-content: center;
  gap: 6px;
  color: var(--white);
  background: var(--graphite-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-panel {
  position: fixed;
  z-index: 190;
  inset: var(--header-height) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  padding: 20px 16px calc(var(--mobile-cta-height) + 24px);
  color: var(--white);
  background: var(--graphite);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.menu-open .nav-panel {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.nav-links,
.nav-actions {
  display: grid;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 1.24rem;
  font-weight: 660;
  text-decoration: none;
}

.nav-link.is-active {
  color: var(--copper-soft);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 10px;
  font-weight: 680;
}

.nav-actions .btn {
  width: 100%;
  margin-top: 8px;
}

.nav-configurator {
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  margin-block: 18px;
  padding: 12px;
  color: var(--graphite);
  background: var(--efficiency);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  text-decoration: none;
  flex: 0 0 auto;
}

.nav-actions {
  margin-top: auto;
}

.nav-configurator-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--graphite);
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
}

.nav-configurator-icon .icon {
  width: 22px;
}

.nav-configurator strong,
.nav-configurator small {
  display: block;
}

.nav-configurator strong {
  font-size: 1rem;
}

.nav-configurator small {
  margin-top: 3px;
  color: rgba(10, 21, 17, 0.72);
  font-size: 0.78rem;
}

/* Buttons */
.btn,
.hc-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 710;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:hover,
.hc-button:hover {
  transform: translateY(-2px);
}

.btn-primary,
.hc-button-primary {
  color: var(--graphite);
  background: var(--efficiency);
  border-color: var(--efficiency);
}

.btn-primary:hover,
.hc-button-primary:hover {
  background: #85d7b1;
}

.btn-secondary,
.hc-button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover,
.hc-button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-light {
  color: var(--graphite);
  background: var(--surface);
  border-color: var(--surface);
}

.btn-outline-light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-emergency {
  color: var(--white);
  background: var(--danger);
}

.button-row,
.hero-actions,
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Home hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  color: var(--white);
  background: var(--graphite);
}

.hero-backdrop {
  position: absolute;
  z-index: -3;
  inset: 0;
  background: var(--graphite);
}

.hero-glow {
  display: none;
}

.hero-system {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: -4%;
  width: 100%;
  height: 43%;
  pointer-events: none;
  opacity: 0.96;
}

.hero-system canvas {
  width: 100%;
  height: 100%;
}

.hero-system-fallback {
  position: absolute;
  inset: 22% 16%;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

.hero-system-fallback::before,
.hero-system-fallback::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 46%;
  height: 12px;
  background: var(--copper);
  transform: translateY(-50%);
}

.hero-system-fallback::before {
  right: 76%;
}

.hero-system-fallback::after {
  left: 76%;
  background: var(--water);
}

.hero-system.is-ready .hero-system-fallback {
  display: none;
}

.hero-grid {
  display: grid;
  min-height: inherit;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 270px;
}

.hero-copy {
  max-width: 690px;
}

.hero h1 {
  max-width: 10.5ch;
  font-size: 3.2rem;
  line-height: 0.98;
}

.hero-lead {
  max-width: 620px;
  margin-top: 24px;
  color: #c7ceca;
  font-size: 1.08rem;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 28px;
}

.emergency-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  color: var(--copper-soft);
  font-weight: 620;
}

.emergency-note .icon {
  margin-top: 3px;
}

.hero-system-label {
  display: none;
}

/* Shared sections */
.section {
  position: relative;
  min-height: 0;
  padding: 76px 0;
}

.section-services,
.section-muted {
  color: var(--ink);
  background: var(--paper);
}

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

.section-intro {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-bottom: 36px;
  color: var(--ink);
}

.section-intro h2 {
  color: var(--ink);
}

.section-intro > p:last-child {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

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

.service-card {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.service-card > a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding: 24px 4px;
  text-decoration: none;
  transition: background-color 180ms ease-out;
}

.service-card > a:hover,
.service-card > a:focus-visible {
  background: var(--paper-2);
}

.service-card > a:focus-visible {
  outline-offset: -3px;
}

.service-icon {
  align-self: start;
  margin-top: 3px;
  color: var(--ink-soft);
}

.service-icon .icon {
  width: 26px;
  height: 26px;
}

.accent-warm .service-icon,
.accent-emergency .service-icon { color: var(--icon-warm); }
.accent-water .service-icon,
.accent-air .service-icon { color: var(--icon-water); }
.accent-green .service-icon { color: var(--icon-energy); }

.service-title {
  font-size: 1.3rem;
  font-weight: 680;
  line-height: 1.25;
  text-wrap: initial;
}

.service-text {
  max-width: 52ch;
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.5;
}

.service-more {
  color: var(--ink-soft);
  transition: transform 180ms ease-out;
}

.service-card > a:hover .service-more,
.service-card > a:focus-visible .service-more {
  transform: translateX(3px);
}

.service-emergency {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  width: fit-content;
  max-width: 100%;
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.service-emergency-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 44px;
  text-decoration: none;
}

.service-emergency-info > .icon { color: var(--icon-warm); }
.service-emergency-info strong { display: block; font-size: 1.05rem; }
.service-emergency-info small { display: block; color: var(--ink-soft); font-size: 0.875rem; }
.service-emergency-info:hover strong { text-decoration: underline; }
.service-emergency-call {
  min-height: 44px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  font-size: 0.9rem;
}
.service-emergency-call:hover { background: var(--white); border-color: var(--ink-soft); }

/* Story */
.story-section {
  color: var(--white);
  background: var(--graphite);
}

.story-grid {
  display: grid;
  gap: 46px;
}

.story-sticky h2 {
  color: var(--white);
}

.story-sticky > p:last-child {
  max-width: 490px;
  margin-top: 18px;
  color: #b9c2bd;
  font-size: 1.08rem;
}

.story-stack {
  border-top: 1px solid var(--line-dark);
}

.story-card {
  display: grid;
  gap: 12px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
}

.story-card > span {
  color: var(--copper-soft);
  font-weight: 760;
}

.story-card h3 {
  color: var(--white);
  font-size: 1.35rem;
}

.story-card p {
  color: #aeb8b2;
}

/* Trust and process */
.trust-grid,
.process-grid,
.value-grid,
.case-grid,
.job-grid,
.reference-grid,
.contact-cards {
  display: grid;
  gap: 0;
}

.trust-item,
.process-step,
.value-grid > article,
.case-card,
.job-card,
.reference-placeholder {
  min-width: 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.trust-item > span:first-child,
.job-card > span:first-child {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--ink);
  background: var(--copper-soft);
  border-radius: var(--radius);
}

.trust-item h3,
.process-step h3,
.value-grid h3,
.case-card h3,
.job-card h3 {
  color: var(--ink);
}

.trust-item p,
.process-step p,
.value-grid p,
.case-card p,
.job-card p,
.reference-placeholder p {
  margin-top: 12px;
  color: var(--ink-soft);
}

.step-number {
  display: block;
  margin-bottom: 34px;
  color: var(--copper);
  font-size: 0.92rem;
  font-weight: 760;
}

.job-card .job-type {
  color: var(--copper);
  font-weight: 650;
}

.job-card a,
.stat-card a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--ink);
  font-weight: 720;
}

/* Configurator teaser */
.configurator-section {
  overflow: hidden;
  color: var(--white);
  background: #131c19;
}

.configurator-gridlines {
  display: none;
}

.configurator-grid {
  display: grid;
  gap: 44px;
}

.configurator-grid h2 {
  max-width: 12ch;
  color: var(--white);
}

.configurator-grid > div:first-of-type > p:not(.eyebrow) {
  max-width: 600px;
  margin-top: 20px;
  color: #b9c2bd;
}

.configurator-grid .button-row {
  margin-top: 28px;
}

.configurator-card {
  display: grid;
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  transform: none;
}

.config-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 72px;
  border-bottom: 1px solid var(--line-dark);
}

.config-step span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--graphite);
  background: var(--efficiency);
  border-radius: var(--radius);
  font-weight: 760;
}

.config-step strong {
  color: var(--white);
  font-size: 1.05rem;
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--line);
}

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

.faq-item summary {
  position: relative;
  padding: 22px 52px 22px 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.faq-item summary::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(0);
}

.faq-item > p {
  max-width: 680px;
  padding: 0 40px 22px 0;
  color: var(--ink-soft);
}

/* CTA */
.cta-section {
  color: var(--white);
  background: var(--copper);
}

.cta-box {
  display: grid;
  gap: 30px;
}

.cta-box h2 {
  max-width: 15ch;
  color: var(--graphite);
}

.cta-box p {
  max-width: 600px;
  margin-top: 16px;
  color: #3d2c23;
}

.cta-box .btn-outline-light {
  color: var(--graphite);
  border-color: rgba(16, 22, 20, 0.35);
}

/* Page heroes */
.breadcrumbs {
  background: var(--graphite);
  color: var(--paper-2);
  padding-block: 18px 0;
  font-size: 0.875rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-block: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--copper-soft);
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs a:hover {
  color: var(--copper-soft);
}

.service-area h2 {
  max-width: 19ch;
}

.service-area p + p {
  margin-block: 18px;
}

.page-hero,
.contact-hero {
  color: var(--white);
  background: var(--graphite);
}

.page-hero-grid {
  display: grid;
  gap: 36px;
  padding-top: 48px;
}

.page-hero-grid > div:first-child {
  min-width: 0;
  padding-bottom: 4px;
}

.page-hero h1 {
  width: 100%;
  max-width: 12ch;
  color: var(--white);
  overflow-wrap: break-word;
  hyphens: auto;
}

.page-hero-grid > div:first-child > p:not(.eyebrow) {
  max-width: 630px;
  margin-top: 22px;
  color: #c0c8c4;
  font-size: 1.06rem;
}

.page-hero .hero-actions {
  margin-top: 28px;
  padding-bottom: 36px;
}

.page-hero-media {
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--photo-radius);
}

.page-image {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.split-grid,
.contact-grid,
.map-grid {
  display: grid;
  gap: 44px;
}

.split-grid h2,
.contact-grid h2,
.map-grid h2 {
  max-width: 15ch;
}

.split-grid > div:first-child > p:not(.eyebrow),
.contact-grid > div:first-child > p:not(.eyebrow),
.map-grid > div:first-child > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--ink-soft);
}

.check-card,
.stat-card {
  padding: 26px;
  color: var(--white);
  background: var(--graphite-2);
  border-radius: var(--radius);
}

.check-card h3,
.stat-card strong {
  color: var(--white);
}

.check-list {
  display: grid;
  gap: 15px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #dce2de;
}

.check-list .icon {
  margin-top: 2px;
  color: var(--efficiency);
}

.stat-card > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--graphite);
  background: var(--copper-soft);
  border-radius: var(--radius);
}

.stat-card strong {
  display: block;
  font-size: 1.35rem;
}

.stat-card p {
  margin-top: 10px;
  color: #bfc8c3;
}

.stat-card a {
  color: var(--white);
}

.emergency-strip-large {
  color: var(--white);
  background: #522f25;
}

.emergency-callout {
  display: grid;
  gap: 24px;
}

.emergency-callout h2 {
  color: var(--white);
}

.emergency-callout p {
  margin-top: 12px;
  color: #ead6cd;
}

/* Contact */
.contact-cards {
  grid-template-columns: 1fr 1fr;
  align-self: end;
  padding-bottom: 36px;
}

.contact-cards article {
  min-width: 0;
  padding: 20px 12px;
  border-top: 1px solid var(--line-dark);
}

.contact-cards article:nth-child(odd) {
  border-right: 1px solid var(--line-dark);
}

.contact-cards article > span {
  display: block;
  color: var(--copper-soft);
}

.contact-cards h3 {
  margin-top: 24px;
  color: var(--white);
}

.contact-cards a,
.contact-cards p {
  display: block;
  margin-top: 8px;
  color: #c2cac6;
  overflow-wrap: anywhere;
}

.emergency-contact > span,
.emergency-contact a {
  color: #eaa58f !important;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.form-row,
.form-row > div {
  display: grid;
  gap: 8px;
}

.form-row.two {
  gap: 18px;
}

label,
legend {
  color: var(--ink);
  font-weight: 670;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fffefa;
  border: 1px solid #aaaFA9;
  border-radius: var(--radius);
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--water);
  outline: 3px solid rgba(97, 185, 198, 0.22);
}

input[type="checkbox"],
input[type="radio"] {
  width: 20px;
  min-height: 20px;
  accent-color: var(--efficiency);
}

input[type="file"] {
  min-height: 0;
  padding: 10px;
}

.file-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 0.92rem;
  font-weight: 470;
}

.form-hint,
.form-status {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.form-status.is-error {
  color: #9d2e21;
}

.map-placeholder {
  display: grid;
  min-height: 380px;
  place-items: center;
  padding: 26px;
  color: var(--white);
  background: var(--graphite-2);
  border-radius: var(--radius);
}

.map-placeholder > div {
  max-width: 430px;
}

.map-placeholder h3 {
  margin-top: 18px;
  color: var(--white);
}

.map-placeholder p,
.map-placeholder small {
  display: block;
  margin-top: 10px;
  color: #b9c2bd;
}

.map-placeholder .btn {
  margin-top: 20px;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* Heating configurator */
.configurator-intro {
  padding: 52px 0 44px;
  color: var(--white);
  background: var(--graphite);
}

.configurator-intro-grid {
  display: grid;
  gap: 26px;
}

.configurator-intro h1 {
  max-width: 12ch;
  color: var(--white);
}

.configurator-intro-copy > p {
  color: #bdc6c1;
}

.configurator-intro-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.configurator-intro-copy li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e0e5e2;
  font-size: 0.9rem;
}

.heating-configurator-section {
  padding: 28px 0 86px;
  background: var(--paper);
}

.heating-configurator {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  color: var(--white);
  background: var(--graphite-2);
  border-bottom: 1px solid var(--line-dark);
}

.hc-toolbar p {
  display: none;
}

.hc-mobile-step {
  font-weight: 700;
}

.hc-reset {
  min-height: 40px;
  padding: 0;
  color: #c8d0cc;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hc-progress {
  padding: 12px 16px;
  overflow-x: auto;
  background: #1d2824;
  scrollbar-width: none;
}

.hc-progress::-webkit-scrollbar {
  display: none;
}

.hc-progress ol {
  display: flex;
  gap: 8px;
  min-width: max-content;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hc-progress button {
  display: flex;
  min-width: 48px;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 8px 12px;
  color: #9facA5;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.hc-progress button:disabled {
  cursor: default;
  opacity: 0.55;
}

.hc-progress button.is-active,
.hc-progress button[aria-current="step"] {
  color: var(--graphite);
  background: var(--efficiency);
  border-color: var(--efficiency);
}

.hc-progress button strong {
  display: none;
}

.hc-stage {
  min-width: 0;
}

.hc-panel {
  padding: 26px 18px;
}

.hc-panel-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.hc-kicker {
  color: #a65f43;
  font-size: 0.9rem;
  font-weight: 760;
}

.hc-panel-heading h2 {
  color: var(--ink);
  font-size: 2rem;
}

.hc-panel-heading > p:last-child,
.hc-panel-heading > div > p:last-child {
  max-width: 650px;
  color: var(--ink-soft);
}

.hc-form-grid,
.hc-contact-grid {
  display: grid;
  gap: 18px;
}

.hc-field {
  min-width: 0;
}

.hc-field > label,
.hc-field > legend {
  display: block;
  margin-bottom: 8px;
}

fieldset.hc-field,
.hc-choice-grid,
.hc-system-list {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.hc-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.hc-label-row label {
  font-weight: 670;
}

.hc-label-row output {
  color: #a65f43;
  font-weight: 760;
}

.hc-field input[type="range"] {
  min-height: 34px;
  padding: 0;
  accent-color: var(--copper);
}

.hc-range-scale {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

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

.hc-segmented-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hc-segmented label {
  position: relative;
  min-width: 0;
}

.hc-segmented input,
.hc-choice input,
.hc-system input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hc-segmented span {
  display: grid;
  min-height: 48px;
  place-items: center;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hc-segmented input:checked + span {
  color: var(--graphite);
  background: var(--efficiency);
  border-color: var(--efficiency);
}

.hc-segmented input:focus-visible + span,
.hc-choice:has(input:focus-visible),
.hc-system:has(input:focus-visible) {
  outline: 3px solid var(--water);
  outline-offset: 3px;
}

.hc-choice-grid {
  display: grid;
  gap: 10px;
}

.hc-choice {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.hc-choice:has(input:checked) {
  background: #e6f4ed;
  border-color: var(--efficiency);
}

.hc-choice-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--radius);
}

.hc-choice-check {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.hc-choice:has(input:checked) .hc-choice-check {
  color: var(--graphite);
  background: var(--efficiency);
  border-color: var(--efficiency);
}

.hc-insulation-list {
  display: grid;
  gap: 10px;
}

.hc-binary-row {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.hc-solar-installation {
  margin-top: 22px;
}

.hc-solar-installation.is-disabled {
  opacity: 0.55;
}

.hc-panel-nav,
.hc-submit-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 32px;
}

.hc-panel-nav .hc-button,
.hc-submit-row .hc-button {
  flex: 1 1 0;
}

.hc-panel-nav .hc-button-secondary,
.hc-submit-row .hc-button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.hc-panel-nav .hc-button-secondary .icon,
.hc-submit-row .hc-button-secondary .icon {
  transform: rotate(180deg);
}

.hc-panel-heading-result {
  display: grid;
}

.hc-load-result {
  display: grid;
  gap: 3px;
  padding: 16px;
  background: var(--paper);
  border-radius: var(--radius);
}

.hc-load-result span,
.hc-load-result small {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.hc-load-result strong {
  color: var(--ink);
  font-size: 1.55rem;
}

.hc-system-notice {
  margin-bottom: 14px;
  color: var(--ink-soft);
}

.hc-system-notice.is-error,
.hc-error,
.hc-form-status.is-error {
  color: #9d2e21;
}

.hc-system-list {
  display: grid;
  gap: 8px;
}

.hc-system {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 30px;
  gap: 12px;
  align-items: center;
  min-height: 88px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.hc-system.is-selected {
  background: #e6f4ed;
  border-color: var(--efficiency);
}

.hc-system.is-disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.hc-system-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--radius);
}

.hc-system-name {
  display: grid;
  min-width: 0;
}

.hc-system-name small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.35;
}

.hc-system-score,
.hc-system-recommendation {
  display: none;
}

.hc-system-select {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.hc-system.is-selected .hc-system-select {
  color: var(--graphite);
  background: var(--efficiency);
  border-color: var(--efficiency);
}

.hc-co2-results {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.hc-empty-result,
.hc-co2-card {
  padding: 18px;
  background: var(--paper);
  border-radius: var(--radius);
}

.hc-co2-card span,
.hc-co2-card p,
.hc-emission-bars span {
  color: var(--ink-soft);
}

.hc-co2-card h3 {
  margin-top: 6px;
}

.hc-emission-bars {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.hc-emission-bars > div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.hc-emission-bars i {
  display: block;
  width: var(--bar-width, 50%);
  max-width: 100%;
  height: 8px;
  background: var(--copper);
  border-radius: 2px;
}

.hc-emission-bars > div:last-child i {
  background: var(--efficiency);
}

.hc-contact-layout,
.hc-contact-form {
  display: grid;
  gap: 22px;
}

.hc-conditional-fields {
  padding: 18px;
  background: var(--paper);
  border-radius: var(--radius);
}

.hc-upload {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--paper);
  border-radius: var(--radius);
}

.hc-upload p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.hc-upload-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.hc-upload-button input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hc-upload ul {
  padding-left: 20px;
  margin: 0;
}

.hc-privacy {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-weight: 470;
}

.hc-summary {
  padding: 22px;
  color: var(--white);
  background: var(--graphite-2);
  border-radius: var(--radius);
}

.hc-summary h3 {
  color: var(--white);
}

.hc-summary dl {
  margin: 20px 0;
}

.hc-summary dl > div {
  display: grid;
  gap: 3px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
}

.hc-summary dt,
.hc-summary > p:last-child {
  color: #aeb8b2;
  font-size: 0.86rem;
}

.hc-summary dd {
  margin: 0;
  color: var(--white);
  font-weight: 650;
}

.hc-form-status.is-success {
  color: #2b7656;
}

/* Legal */
.legal-hero {
  padding: 52px 0;
  color: var(--white);
  background: var(--graphite);
}

.legal-hero h1 {
  color: var(--white);
}

.legal-hero p {
  max-width: 680px;
  margin-top: 20px;
  color: #bdc6c1;
}

.legal-updated {
  display: inline-block;
  margin-top: 22px;
  color: var(--copper-soft);
  font-size: 0.9rem;
}

.legal-section {
  padding: 58px 0 90px;
}

.legal-layout {
  display: grid;
  gap: 38px;
}

.legal-aside {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-aside nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
}

.legal-aside a {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.legal-copy {
  min-width: 0;
}

.legal-copy > section {
  padding: 0 0 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.legal-copy h2 {
  margin-bottom: 18px;
  font-size: 1.7rem;
}

.legal-copy p,
.legal-copy address,
.legal-copy li {
  color: var(--ink-soft);
}

.legal-copy p + p,
.legal-copy h2:not(:first-child) {
  margin-top: 22px;
}

.legal-kicker {
  margin-bottom: 10px;
  color: #a65f43 !important;
  font-size: 0.85rem;
  font-weight: 720;
}

.legal-details > div {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.legal-details dd {
  margin: 0;
}

/* Footer */
.site-footer {
  padding: 62px 0 calc(var(--mobile-cta-height) + 34px);
  color: var(--white);
  background: #0b100e;
}

.footer-grid {
  display: grid;
  gap: 38px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-grid > div:first-child > p {
  max-width: 460px;
  color: #aeb8b2;
}

.footer-grid h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
}

.footer-grid ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-grid li,
.footer-grid a {
  color: #b9c2bd;
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 26px;
  margin-top: 44px;
  color: #8f9a94;
  border-top: 1px solid var(--line-dark);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 18px;
}

.mobile-cta {
  position: fixed;
  z-index: 180;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  height: 64px;
  padding: 7px;
  background: rgba(16, 22, 20, 0.96);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-cta.is-suppressed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(90px);
}

.menu-open .mobile-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(90px);
}

.contact-page .mobile-cta,
.configurator-page .mobile-cta {
  display: none;
}

.mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--graphite);
  background: var(--copper-soft);
  border-radius: var(--radius);
  font-weight: 730;
  text-decoration: none;
}

.mobile-cta a:last-child {
  background: var(--efficiency);
}

input[type="file"]::file-selector-button {
  min-height: 36px;
  margin-right: 10px;
  padding: 7px 11px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 650;
  cursor: pointer;
}

.mobile-rail-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.story-section .mobile-rail-guide {
  color: #aeb8b2;
}

.mobile-rail-guide strong {
  color: currentColor;
  font-size: 1rem;
}

.mobile-rail-arrows {
  display: flex;
  align-items: center;
  color: var(--copper);
}

.mobile-rail-arrows .icon {
  width: 18px;
  animation: mobile-rail-cue 1.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.mobile-rail-arrows .icon:first-child {
  margin-right: -8px;
  opacity: 0.4;
  animation-delay: -180ms;
}

.mobile-rail-progress {
  height: 2px;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--line);
}

.story-section .mobile-rail-progress {
  background: var(--line-dark);
}

.mobile-rail-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--copper);
  transform: scaleX(0.2);
  transform-origin: left center;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes mobile-rail-cue {
  0%, 30% { opacity: 0.25; transform: translateX(-5px); }
  65%, 100% { opacity: 1; transform: translateX(3px); }
}

@media (min-width: 560px) {
  h1 { font-size: 3.6rem; }
  h2 { font-size: 2.75rem; }

  .button-row,
  .hero-actions,
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .btn,
  .button-row .btn,
  .cta-actions .btn {
    width: auto;
  }

  .form-row.two,
  .hc-form-grid,
  .hc-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-field-span {
    grid-column: 1 / -1;
  }

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

  .hc-choice-grid-three .hc-choice:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 759px) {
  [data-mobile-rail] {
    width: calc(100vw - 16px);
    padding-right: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: 0 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
  }

  [data-mobile-rail]::-webkit-scrollbar {
    display: none;
  }

  [data-mobile-rail] > * {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transition:
      opacity 300ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 300ms ease,
      box-shadow 420ms ease;
  }

  .story-stack[data-mobile-rail] {
    display: flex;
    gap: 12px;
    border-top: 0;
  }

  .story-stack .story-card {
    flex: 0 0 min(82vw, 330px);
    min-height: 230px;
    padding: 24px;
    opacity: 0.58;
    background: var(--graphite-2);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    transform: translateY(10px) scale(0.96);
  }

  .story-stack .story-card.is-rail-active {
    opacity: 1;
    border-color: rgba(229, 178, 143, 0.48);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
    transform: translateY(0) scale(1);
  }

  .process-grid[data-mobile-rail] {
    display: flex;
    gap: 12px;
  }

  .process-grid .process-step {
    flex: 0 0 min(78vw, 320px);
    min-height: 240px;
    padding: 24px;
    opacity: 0.58;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transform: translateY(10px) scale(0.96);
  }

  .process-grid .process-step.is-rail-active {
    opacity: 1;
    border-color: rgba(200, 138, 102, 0.62);
    box-shadow: 0 22px 48px rgba(16, 22, 20, 0.12);
    transform: translateY(0) scale(1);
  }

  .process-grid .step-number {
    margin-bottom: 52px;
  }
}

@media (min-width: 760px) {
  .mobile-rail-guide,
  .mobile-rail-progress {
    display: none;
  }

  .container {
    width: min(100% - 64px, 1280px);
  }

  .section {
    padding: 96px 0;
  }

  .section-intro {
    margin-bottom: 50px;
  }

  .hero-grid {
    padding-top: 72px;
    padding-bottom: 330px;
  }

  .hero h1 {
    font-size: 4.4rem;
  }

  .hero-lead {
    font-size: 1.18rem;
  }

  .hero-system {
    right: 0;
    height: 52%;
  }

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

  .trust-grid,
  .value-grid,
  .case-grid,
  .job-grid,
  .process-grid,
  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
  }

  .configurator-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    align-items: center;
    gap: 72px;
  }

  .page-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    min-height: 620px;
    align-items: center;
    gap: 56px;
    padding-top: 0;
  }

  .page-hero-grid > div:first-child {
    padding: 76px 0;
  }

  .page-hero h1 {
    font-size: 4.2rem;
  }

  .page-hero .hero-actions {
    padding-bottom: 0;
  }

  .page-hero-media {
    align-self: stretch;
    min-height: 620px;
  }

  .page-image {
    min-height: 620px;
  }

  .split-grid,
  .contact-grid,
  .map-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
    gap: 70px;
    align-items: start;
  }

  .contact-hero .page-hero-grid {
    align-items: center;
  }

  .contact-cards {
    padding-bottom: 0;
  }

  .emergency-callout {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .cta-box {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .configurator-intro {
    padding: 78px 0 58px;
  }

  .configurator-intro-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: end;
    gap: 60px;
  }

  .configurator-intro h1 {
    font-size: 4.2rem;
  }

  .heating-configurator-section {
    padding-top: 42px;
  }

  .hc-toolbar {
    padding: 18px 26px;
  }

  .hc-toolbar p {
    display: block;
    color: #aeb8b2;
    font-size: 0.9rem;
  }

  .hc-mobile-step {
    display: none;
  }

  .hc-progress {
    padding: 14px 26px;
  }

  .hc-progress ol {
    width: 100%;
    min-width: 0;
  }

  .hc-progress li {
    flex: 1 1 0;
    min-width: 0;
  }

  .hc-progress button {
    width: 100%;
    justify-content: flex-start;
    overflow: hidden;
  }

  .hc-progress button strong {
    display: block;
    overflow: hidden;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hc-panel {
    padding: 42px;
  }

  .hc-panel-heading h2 {
    font-size: 2.65rem;
  }

  .hc-binary-row {
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: center;
  }

  .hc-panel-heading-result {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: end;
    gap: 36px;
  }

  .hc-system {
    grid-template-columns: 48px minmax(0, 1fr) 92px 32px;
  }

  .hc-system-score {
    display: flex;
    gap: 4px;
  }

  .hc-system-score i {
    width: 11px;
    height: 6px;
    background: var(--line);
    border-radius: 1px;
  }

  .hc-system-score i.is-filled {
    background: var(--efficiency);
  }

  .hc-contact-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 30px;
  }

  .hc-summary {
    position: sticky;
    top: calc(var(--header-height) + 20px);
  }

  .legal-layout {
    grid-template-columns: 220px minmax(0, 760px);
    justify-content: space-between;
    gap: 70px;
  }

  .legal-aside {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    align-self: start;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .legal-aside nav {
    display: grid;
    gap: 9px;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 921px) {
  :root {
    --header-height: 114px;
  }

  body.menu-open {
    overflow: auto;
  }

  .site-header {
    height: var(--header-height);
  }

  .topbar {
    display: block;
    height: 34px;
    color: #bdc6c1;
    background: #090d0b;
    border-bottom: 1px solid #252e2a;
    font-size: 0.78rem;
  }

  .topbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    height: 100%;
  }

  .topbar-inner > span {
    text-align: center;
  }

  .topbar-emergency,
  .topbar-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--white);
    font-weight: 650;
    text-decoration: none;
  }

  .site-nav {
    height: 80px;
  }

  .brand-logo-img {
    width: 204px;
  }

  .menu-toggle {
    display: none;
  }

  .nav-panel {
    position: static;
    display: flex;
    width: auto;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    color: var(--white);
    background: transparent;
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav-configurator {
    display: none;
  }

  .nav-links,
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .nav-link {
    min-height: 44px;
    padding: 0 9px;
    border-bottom: 0;
    font-size: 0.94rem;
    font-weight: 620;
  }

  .nav-link.is-active {
    color: var(--white);
    box-shadow: inset 0 -2px var(--copper);
  }

  .nav-phone {
    min-height: 44px;
    padding: 0 6px;
    font-size: 0.92rem;
    text-decoration: none;
  }

  .nav-actions .btn {
    width: auto;
    min-height: 46px;
    margin: 0 0 0 6px;
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: min(740px, calc(100svh - var(--header-height)));
  }

  .hero-grid {
    position: relative;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: 5rem;
  }

  .hero-system {
    top: 0;
    right: -7%;
    bottom: 0;
    width: 62%;
    height: 100%;
  }

  .hero-system-label {
    position: absolute;
    right: 0;
    bottom: 30px;
    display: flex;
    gap: 22px;
    color: #89948e;
    font-size: 0.78rem;
  }

  .hero-system-label span::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--copper);
  }

  .hero-system-label span:nth-child(2)::before { background: var(--water); }
  .hero-system-label span:nth-child(3)::before { background: var(--efficiency); }

  .section-intro {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
    max-width: none;
    align-items: end;
  }

  .section-intro h2 {
    grid-column: 1;
    max-width: 13ch;
  }

  .section-intro > p:last-child {
    grid-column: 2;
    align-self: end;
  }

  .story-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(470px, 1.2fr);
    gap: 90px;
  }

  .story-sticky {
    position: sticky;
    top: calc(var(--header-height) + 34px);
    align-self: start;
  }

  .story-card {
    grid-template-columns: 70px minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 20px;
    padding: 38px 0;
  }

  .story-card h3 {
    font-size: 1.25rem;
  }

  .story-card p {
    margin: 0;
  }

  .trust-grid,
  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 34px;
  }

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

  .mobile-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 46px;
  }
}

@media (min-width: 1180px) {
  h1 { font-size: 4.6rem; }
  h2 { font-size: 3.45rem; }

  .nav-panel {
    gap: 20px;
  }

  .nav-configurator {
    display: grid;
    grid-template-columns: 26px auto;
    gap: 7px;
    min-height: 44px;
    margin: 0;
    padding: 0 10px;
    color: var(--white);
    background: rgba(112, 201, 159, 0.1);
    border-color: rgba(112, 201, 159, 0.38);
  }

  .nav-configurator-icon {
    width: 26px;
    height: 26px;
    color: var(--efficiency);
    background: transparent;
  }

  .nav-configurator-icon .icon {
    width: 18px;
  }

  .nav-configurator small,
  .nav-configurator > .icon:last-child {
    display: none;
  }

  .nav-configurator strong {
    font-size: 0.9rem;
  }

  .nav-link {
    padding-inline: 12px;
    font-size: 1rem;
  }

  .nav-phone,
  .nav-actions .btn {
    font-size: 0.96rem;
  }

  .hero h1 {
    font-size: 5.7rem;
  }

  .hero-lead {
    max-width: 590px;
  }

  .page-hero h1,
  .configurator-intro h1 {
    font-size: 4.85rem;
  }

  .service-card > a {
    padding-block: 30px;
    gap: 20px;
  }

  .service-title {
    font-size: 1.5rem;
  }

  .hc-panel {
    padding: 52px 58px;
  }

  .hc-choice-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hc-choice-grid-three .hc-choice:last-child {
    grid-column: auto;
  }
}

/* Quiet service introductions and selected customer photographs */
.page-hero-text .page-hero-grid,
.page-hero-photo .page-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  gap: 32px;
  padding-block: 48px;
}

.page-hero-text .page-hero-grid > div:first-child,
.page-hero-photo .page-hero-grid > div:first-child {
  padding: 0;
}

.page-hero-text h1,
.page-hero-photo h1 {
  max-width: 20ch;
  font-size: clamp(2.6rem, 5.4vw, 4.85rem);
  hyphenate-limit-chars: 10 4 4;
}

.page-hero-photo h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.9rem);
}

.page-hero-text .hero-actions,
.page-hero-photo .hero-actions {
  padding-bottom: 0;
}

.page-hero-photo .page-hero-media {
  position: relative;
  align-self: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  max-height: 560px;
  border-radius: var(--photo-radius);
}

.page-hero-photo .page-image {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.page-hero-landscape .page-hero-media {
  aspect-ratio: 16 / 9;
}

@media (min-width: 760px) {
  .page-hero-text .page-hero-grid {
    padding-block: 64px;
  }
}

@media (min-width: 921px) {
  .page-hero-photo h1 {
    hyphens: none;
  }

  .page-hero-photo .page-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
  }

  .page-hero-photo .page-hero-media {
    aspect-ratio: 4 / 5;
  }

  .page-hero-landscape .page-hero-media {
    aspect-ratio: 16 / 9;
  }
}

/* GASHI — four photographic chapters */
.system-story.hero {
  --story-accent: var(--efficiency);
  height: auto;
  min-height: 0;
  overflow: visible;
  background: var(--graphite);
}
.system-story.is-enhanced { height: 340svh; }
.system-story[data-active-stage="1"] { --story-accent: var(--copper-soft); }
.system-story[data-active-stage="2"] { --story-accent: var(--water); }

.hero-pin {
  --story-gutter: max(16px, calc((100% - 1280px) / 2));
  position: sticky;
  top: var(--header-height);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) 62px;
  height: calc(100svh - var(--header-height) - var(--mobile-cta-height));
  min-height: 0;
  isolation: isolate;
  overflow: hidden;
  background: var(--graphite);
}
.system-story .hero-grid {
  grid-row: 1;
  display: block;
  position: relative;
  z-index: 2;
  min-height: 0;
  padding: 22px 0 18px;
}
.hero-copy-stack {
  display: grid;
  width: 100%;
  min-width: 0;
}
.system-copy-panel {
  grid-area: 1 / 1;
  min-width: 0;
  align-self: center;
  visibility: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 320ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1), visibility 320ms;
  pointer-events: none;
}
.system-copy-panel.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.system-story .system-copy-panel h1,
.system-story .system-copy-panel h2 {
  max-width: 16ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 8.9vw, 3.5rem);
  line-height: 1.04;
  text-wrap: balance;
}
.system-story .hero-lead {
  max-width: 44ch;
  margin: 12px 0 0;
  color: #c4ccc7;
  font-size: 0.875rem;
  line-height: 1.5;
}
.system-story .hero-actions {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 16px;
}
.system-story .hero-actions .btn {
  width: auto;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 0.76rem;
}
.system-story .hero-actions .btn .icon { display: none; }
.system-story .hero-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}
.system-scroll-cue,
.hero-emergency { display: none; }

.system-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 12px;
  color: var(--story-accent);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.system-inline-link .icon { width: 18px; transition: transform 180ms ease; }
.system-inline-link:hover .icon { transform: translateX(4px); }

.system-photography {
  grid-row: 2;
  position: relative;
  min-width: 0;
  min-height: 0;
  margin-inline: var(--story-gutter);
  overflow: hidden;
  border-radius: var(--photo-radius);
  isolation: isolate;
  background: var(--graphite-2);
}
.system-photo {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
}
.system-photo:first-child { clip-path: inset(0); }
.system-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 54%;
  transform: scale(1.025);
}
.system-photo:nth-child(2) img { object-position: center 57%; }
.system-photo:nth-child(3) img { object-position: center 53%; }
.system-photo:nth-child(4) img { object-position: center; }
.system-photo::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(7, 14, 10, 0.72));
  pointer-events: none;
}
.system-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 550;
  opacity: 0;
  transition: opacity 280ms ease;
}
.system-photo.is-active figcaption { opacity: 1; }
.system-photo-count { flex-shrink: 0; font-size: 0.68rem; font-variant-numeric: tabular-nums; }

.system-stage-nav {
  grid-row: 3;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  background: var(--graphite);
}
.system-stage-nav button {
  --chapter-progress: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 44px;
  padding: 8px 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #a3b1a9;
  text-align: left;
  transition: color 180ms ease;
}
.system-stage-nav button.is-active,
.system-stage-nav button:hover { color: var(--white); }
.system-stage-nav span { font-size: 0.62rem; font-variant-numeric: tabular-nums; }
.system-stage-nav strong { font-size: 0.78rem; font-weight: 600; }
.system-stage-nav i {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--line-dark);
}
.system-stage-nav i::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--story-accent);
  transform: scaleX(var(--chapter-progress));
  transform-origin: left center;
}
.system-stage-nav button.is-active span { color: var(--story-accent); }
.system-story:not(.is-enhanced) .hero-pin { position: relative; height: auto; grid-template-rows: auto 400px; }
.system-story:not(.is-enhanced) .system-stage-nav { display: none; }

@media (min-width: 560px) and (max-width: 920px) {
  .system-story .hero-grid { padding-block: 26px; }
  .system-story .hero-actions .btn { padding-inline: 18px; font-size: 0.9rem; }
  .system-story .hero-lead { font-size: 1rem; }
  .system-photo figcaption { right: 32px; left: 32px; }
  .system-stage-nav strong { font-size: 0.9rem; }
}

@media (min-width: 921px) {
  .system-story.is-enhanced { height: 360svh; }
  .hero-pin {
    grid-template-rows: minmax(0, 1fr) 92px;
    height: calc(100svh - var(--header-height));
  }
  .system-story .hero-grid {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-columns: 44% 56%;
    align-items: center;
    height: 100%;
    padding: 24px 0;
    pointer-events: none;
  }
  .hero-copy-stack { padding-right: clamp(24px, 3.3vw, 60px); }
  .system-story .system-copy-panel h1,
  .system-story .system-copy-panel h2 {
    max-width: 12ch;
    font-size: clamp(3.35rem, 5.3vw, 5.6rem);
    line-height: 1.02;
  }
  .system-story .system-copy-panel h2 { font-size: clamp(3.1rem, 4.7vw, 4.8rem); }
  .system-story .hero-lead { margin-top: 24px; font-size: 1.05rem; line-height: 1.6; }
  .system-story .hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .system-story .hero-actions .btn { padding: 12px 16px; font-size: 0.88rem; min-height: 50px; }
  .system-story .hero-actions .btn-primary .icon { display: block; }
  .system-photography {
    position: absolute;
    grid-area: auto;
    inset: 24px var(--story-gutter) 92px calc(44% + var(--story-gutter) * 0.12);
    margin-inline: 0;
  }
  .system-photo figcaption { right: 36px; bottom: 28px; left: 36px; font-size: 0.9rem; }
  .system-photo-count { font-size: 0.75rem; }
  .system-stage-nav { grid-column: 1; grid-row: 2; gap: 32px; }
  .system-stage-nav button { gap: 14px; padding-top: 14px; }
  .system-stage-nav i { top: 20px; }
  .system-stage-nav span { font-size: 0.74rem; }
  .system-stage-nav strong { font-size: 1rem; }
  .system-inline-link { margin-top: 28px; font-size: 1rem; }
  .system-scroll-cue { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: #c4ccc7; }
  .system-scroll-cue strong,
  .system-scroll-cue small { display: block; font-weight: 450; }
  .system-scroll-cue strong { font-size: 0.8rem; }
  .system-scroll-cue small { font-size: 0.7rem; color: #a3b1a9; }
  .system-scroll-track { position: relative; width: 20px; height: 34px; border: 1px solid #7f9287; border-radius: 12px; }
  .system-scroll-track i { position: absolute; top: 7px; left: 8px; width: 2px; height: 7px; background: var(--efficiency); }
  .hero-emergency { display: flex; gap: 8px; margin-top: 20px; color: var(--copper-soft); font-size: 0.76rem; }
  .hero-emergency .icon { width: 17px; height: 17px; margin-top: 1px; }
  .system-story:not(.is-enhanced) .hero-pin { height: min(900px, 100svh); grid-template-rows: 1fr; }
  .system-story:not(.is-enhanced) .system-photography { bottom: 24px; }
}

@media (min-width: 760px) {
  .hero-pin { --story-gutter: max(32px, calc((100% - 1280px) / 2)); }
}

@media (min-width: 921px) and (max-height: 820px) {
  .system-story .system-copy-panel h1 { font-size: clamp(3rem, 4.7vw, 4.4rem); }
  .system-story .system-copy-panel h2 { font-size: clamp(2.9rem, 4.5vw, 4.1rem); }
  .system-story .hero-lead { margin-top: 16px; }
  .system-story .hero-actions { margin-top: 18px; }
  .system-scroll-cue { margin-top: 16px; }
  .hero-emergency { margin-top: 12px; }
}

@media (max-width: 920px) and (max-height: 720px) {
  .system-story .hero-grid { padding-block: 14px; }
  .system-story .system-copy-panel h1,
  .system-story .system-copy-panel h2 { font-size: 1.9rem; max-width: 17ch; }
  .system-story .hero-lead { font-size: 0.8rem; margin-top: 9px; line-height: 1.4; }
  .system-story .hero-actions { margin-top: 10px; }
  .system-story .hero-actions .btn { font-size: 0.7rem; padding-inline: 9px; }
  .system-photo figcaption { bottom: 12px; font-size: 0.68rem; }
  .system-photo-count { display: none; }
  .system-stage-nav { gap: 9px; }
  .system-stage-nav span { display: none; }
}

@media (max-width: 559px) and (max-height: 600px) {
  .hero-pin { grid-template-rows: auto minmax(0, 1fr) 54px; }
  .system-story .hero-grid { padding-block: 12px; }
  .system-story .system-copy-panel h1 { font-size: 1.75rem; }
  .system-story .system-copy-panel h2 { max-width: none; font-size: 1.65rem; }
  .system-story .hero-lead { font-size: 0.76rem; line-height: 1.35; }
  .system-photo figcaption { display: none; }
  .system-stage-nav i { top: 6px; }
}

@media (max-width: 920px) and (max-height: 520px) and (orientation: landscape) {
  .hero-pin { grid-template-rows: minmax(0, 1fr) 48px; }
  .system-story .hero-grid { grid-column: 1; grid-row: 1; padding-block: 8px; }
  .hero-copy-stack { width: 44%; padding-right: 18px; }
  .system-story .system-copy-panel h1,
  .system-story .system-copy-panel h2 { font-size: 1.55rem; }
  .system-story .hero-lead { font-size: 0.72rem; }
  .system-story .hero-actions { margin-top: 6px; }
  .system-story .hero-actions .btn { padding-inline: 7px; font-size: 0.64rem; }
  .system-story .hero-actions .btn-secondary { display: none; }
  .system-photography { position: absolute; grid-area: auto; inset: 8px var(--story-gutter) 48px calc(44% + var(--story-gutter) * 0.12); margin-inline: 0; }
  .system-stage-nav { grid-row: 2; grid-column: 1; }
  .system-stage-nav i { top: 4px; }
  .system-inline-link { margin-top: 4px; font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  .system-copy-panel { transform: none; transition: opacity 100ms linear; }
  .system-photo img { transform: none; }
  .system-inline-link .icon { transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
