@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Sora:wght@600;700;800&display=swap");

:root {
  color-scheme: light;
  --ink: #1f2430;
  --muted: #626b76;
  --paper: #f3f1ec;
  --paper-strong: #fffdf8;
  --forest: #263241;
  --forest-dark: #111827;
  --copper: #7c2d4a;
  --copper-dark: #5b1835;
  --line: rgba(31, 36, 48, 0.14);
  --line-strong: rgba(31, 36, 48, 0.24);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(31, 36, 48, 0.18);
  --button-shadow: 0 18px 40px rgba(91, 24, 53, 0.28);
  --radius: 8px;
  --font: "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Sora", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-utility: "Sora", "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(31, 36, 48, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 36, 48, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 5;
  width: min(1180px, calc(100% - 24px));
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.78);
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 14px 42px rgba(17, 24, 39, 0.22);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.brand,
.header-nav,
.hero-actions,
.hero-metrics,
.form-actions,
.footer-inner {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  min-height: 38px;
  gap: 10px;
}

.brand-logo {
  width: 196px;
  height: 42px;
  flex: 0 0 196px;
  display: block;
  overflow: hidden;
  object-fit: cover;
  object-position: 50% 47%;
  border-radius: 5px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18));
}

.header-nav {
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.header-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}

.header-nav a:hover {
  color: var(--white);
}

.header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--forest-dark);
  background: linear-gradient(180deg, var(--white), var(--paper-strong));
  border: 1px solid rgba(255, 250, 240, 0.72);
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  font-family: var(--font-utility);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 82dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px 24px 48px;
  color: var(--white);
  background: var(--forest-dark);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.7) 42%, rgba(17, 24, 39, 0.24) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.68) 0%, rgba(17, 24, 39, 0) 58%);
}

.hero-content {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--copper);
  font-family: var(--font-utility);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 18px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

.hero .eyebrow {
  color: #e9bfd0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 5.15rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 3.25rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0;
  font-size: 1.8rem;
  line-height: 1.12;
  font-weight: 800;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.28rem;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button,
.ghost-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-button {
  color: var(--white);
  background: linear-gradient(180deg, #93405f 0%, var(--copper-dark) 100%);
  border-color: rgba(255, 250, 240, 0.18);
  box-shadow: var(--button-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.primary-button::after {
  width: 7px;
  height: 7px;
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.primary-button:hover {
  background: linear-gradient(180deg, #a84a6b 0%, #4b142c 100%);
  box-shadow: 0 22px 48px rgba(91, 24, 53, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.primary-button:hover::after {
  transform: translateX(2px) rotate(45deg);
}

.secondary-button {
  color: var(--white);
  background: rgba(255, 253, 248, 0.1);
  border-color: rgba(255, 253, 248, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.secondary-button:hover {
  background: rgba(255, 253, 248, 0.16);
  border-color: rgba(255, 253, 248, 0.44);
  transform: translateY(-1px);
}

.primary-button:active,
.secondary-button:active,
.ghost-button:active,
.header-cta:active {
  transform: translateY(1px) scale(0.99);
}

.secondary-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  border-bottom: 2px solid rgba(255, 250, 240, 0.36);
}

.secondary-link:hover {
  color: var(--white);
  border-color: var(--paper-strong);
}

.hero-metrics {
  flex-wrap: wrap;
  gap: 10px;
  margin: 44px 0 0;
}

.hero-metric {
  position: relative;
  min-width: 220px;
  display: grid;
  gap: 6px;
  padding: 14px 40px 14px 16px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-metric::after {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.72;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero-metric:hover {
  background: rgba(255, 253, 248, 0.13);
  border-color: rgba(255, 253, 248, 0.34);
  transform: translateY(-2px);
}

.hero-metric:hover::after {
  opacity: 1;
  transform: translate(3px, -50%) rotate(45deg);
}

.hero-metric span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-metric strong {
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.28;
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.intro-band,
.visual-proof-section,
.works-section,
.diagnostic-section,
.aids-section,
.zones-section {
  padding: 76px 0;
}

.intro-layout,
.works-layout,
.aids-layout,
.zones-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.intro-layout p,
.diagnostic-copy p,
.aids-layout p {
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.7;
}

.proof-list {
  display: grid;
  gap: 16px;
}

.proof-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

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

.proof-item p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.proof-icon {
  width: 24px;
  height: 24px;
  border: 7px solid rgba(124, 45, 74, 0.22);
  border-top-color: var(--forest);
  border-radius: 50%;
}

.visual-proof-section {
  background: var(--paper-strong);
}

.visual-proof-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 38px;
  align-items: start;
}

.visual-proof-copy p {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.7;
}

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

.scene-card {
  min-height: 342px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(31, 36, 48, 0.08);
}

.scene-card:nth-child(1),
.scene-card:nth-child(4) {
  transform: translateY(18px);
}

.scene-visual {
  position: relative;
  min-height: 196px;
  overflow: hidden;
  background: #d8d0c3;
}

.scene-visual img {
  width: 100%;
  height: 100%;
  min-height: 196px;
  display: block;
  object-fit: cover;
}

.scene-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.08)),
    radial-gradient(circle at 76% 20%, rgba(155, 118, 145, 0.3), transparent 38%);
}

.scene-text {
  padding: 20px;
}

.scene-text strong {
  display: block;
  color: var(--forest-dark);
  font-size: 1.12rem;
  font-weight: 800;
}

.scene-text p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.heat-line,
.heat-arrow,
.window-light,
.cold-band,
.bill-sheet,
.energy-chip,
.aid-folder,
.aid-badge,
.charge-line {
  position: absolute;
}

.heat-line {
  width: 34px;
  height: 78px;
  border-left: 4px solid rgba(204, 180, 198, 0.86);
  border-radius: 50%;
  transform: rotate(12deg);
}

.heat-line-one {
  right: 28%;
  bottom: 30px;
}

.heat-line-two {
  right: 18%;
  bottom: 46px;
  height: 58px;
}

.heat-line-three {
  right: 9%;
  bottom: 24px;
  height: 70px;
}

.window-light {
  right: 34%;
  bottom: 42px;
  width: 40px;
  height: 30px;
  background: rgba(225, 220, 210, 0.72);
  border: 1px solid rgba(255, 250, 240, 0.42);
  border-radius: 3px;
  box-shadow: 0 0 22px rgba(185, 164, 180, 0.34);
}

.heat-arrow {
  width: 74px;
  height: 5px;
  background: rgba(204, 180, 198, 0.92);
  border-radius: 999px;
}

.heat-arrow::after {
  position: absolute;
  right: -2px;
  top: 50%;
  width: 15px;
  height: 15px;
  content: "";
  border-top: 5px solid rgba(204, 180, 198, 0.92);
  border-right: 5px solid rgba(204, 180, 198, 0.92);
  transform: translateY(-50%) rotate(45deg);
}

.arrow-roof {
  left: 44%;
  top: 30%;
  transform: rotate(-42deg);
}

.arrow-wall {
  left: 60%;
  top: 57%;
  transform: rotate(6deg);
}

.cold-band {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 42%;
  background: linear-gradient(0deg, rgba(92, 128, 142, 0.48), rgba(92, 128, 142, 0));
}

.scene-graphic {
  background:
    linear-gradient(135deg, rgba(38, 50, 65, 0.12), rgba(124, 45, 74, 0.1)),
    var(--paper);
}

.bill-sheet {
  left: 24px;
  top: 24px;
  width: 132px;
  height: 146px;
  padding: 18px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 18px 42px rgba(31, 36, 48, 0.12);
}

.bill-title,
.bill-bar {
  display: block;
  height: 10px;
  background: rgba(38, 50, 65, 0.22);
  border-radius: 999px;
}

.bill-title {
  width: 72px;
  margin-bottom: 24px;
}

.bill-bar {
  height: 14px;
  margin-top: 12px;
  background: var(--copper);
}

.bill-bar-one {
  width: 48px;
}

.bill-bar-two {
  width: 74px;
}

.bill-bar-three {
  width: 98px;
}

.energy-chip {
  right: 18px;
  min-width: 104px;
  padding: 9px 10px;
  color: var(--white);
  background: var(--forest);
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}

.chip-electric {
  top: 32px;
}

.chip-gas {
  top: 82px;
  background: #586070;
}

.chip-fuel {
  top: 132px;
  background: var(--copper);
}

.aid-folder {
  left: 24px;
  top: 28px;
  width: calc(100% - 48px);
  height: 132px;
  padding: 26px 18px 18px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 18px 42px rgba(31, 36, 48, 0.1);
}

.aid-folder::before {
  position: absolute;
  top: -12px;
  left: 0;
  width: 104px;
  height: 24px;
  content: "";
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.aid-folder span {
  display: block;
  height: 12px;
  margin-bottom: 14px;
  background: rgba(38, 50, 65, 0.17);
  border-radius: 999px;
}

.aid-folder span:nth-child(1) {
  width: 78%;
}

.aid-folder span:nth-child(2) {
  width: 62%;
}

.aid-folder span:nth-child(3) {
  width: 44%;
}

.aid-badge {
  right: 22px;
  top: 20px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--white);
  background: var(--forest);
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 999px;
  font-weight: 800;
}

.charge-line {
  left: 44px;
  right: 44px;
  bottom: 30px;
  height: 8px;
  overflow: hidden;
  background: rgba(38, 50, 65, 0.16);
  border-radius: 999px;
}

.charge-line::before {
  display: block;
  width: 38%;
  height: 100%;
  content: "";
  background: var(--copper);
  border-radius: inherit;
}

.works-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.98) 0%, rgba(38, 50, 65, 0.96) 58%, rgba(91, 24, 53, 0.82) 100%),
    var(--forest-dark);
}

.works-section .section-kicker {
  color: #e9bfd0;
}

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

.works-layout {
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
  gap: 38px;
}

.works-copy p {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

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

.work-card {
  --card-bg: #fffdf8;
  --card-tint: #f4eef2;
  --card-accent: #7c2d4a;
  --card-accent-2: #263241;
  --card-ink: #111827;
  position: relative;
  min-height: 292px;
  display: grid;
  grid-template-rows: 156px minmax(0, 1fr);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  color: var(--card-ink);
  background: linear-gradient(145deg, var(--card-bg), var(--card-tint));
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  opacity: 0;
  animation: cardReveal 540ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, filter 180ms ease;
  translate: 0 0;
}

.work-card-hot {
  --card-bg: #fff7fb;
  --card-tint: #f1dbe5;
  --card-accent: #9b3d61;
  --card-accent-2: #5b1835;
}

.work-card-night {
  --card-bg: #f8f7ff;
  --card-tint: #dad8ee;
  --card-accent: #665f9f;
  --card-accent-2: #263241;
}

.work-card-fan {
  --card-bg: #f5fbff;
  --card-tint: #d8e4ea;
  --card-accent: #496f82;
  --card-accent-2: #263241;
}

.work-card-choice {
  --card-bg: #fff9fc;
  --card-tint: #ead8e3;
  --card-accent: #7c2d4a;
  --card-accent-2: #263241;
}

.work-card-roof {
  --card-bg: #fbfaf6;
  --card-tint: #ded7cd;
  --card-accent: #6b4f68;
  --card-accent-2: #263241;
}

.work-card-wall {
  --card-bg: #f8fafc;
  --card-tint: #d6dae1;
  --card-accent: #465060;
  --card-accent-2: #111827;
}

.work-card-global {
  --card-bg: #f8f4f8;
  --card-tint: #d4c9d2;
  --card-accent: #5b1835;
  --card-accent-2: #111827;
}

.work-card:first-child {
  grid-column: 1 / -1;
  min-height: 246px;
  grid-template-columns: minmax(240px, 0.56fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

.work-card:nth-child(2) {
  animation-delay: 70ms;
}

.work-card:nth-child(3) {
  animation-delay: 140ms;
}

.work-card:nth-child(4) {
  animation-delay: 210ms;
}

.work-card:nth-child(5) {
  animation-delay: 280ms;
}

.work-card:nth-child(6) {
  animation-delay: 350ms;
}

.work-card:nth-child(7) {
  animation-delay: 420ms;
}

.work-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  content: "";
  background: linear-gradient(180deg, var(--card-accent), var(--card-accent-2));
  opacity: 0.92;
}

.work-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 44%, rgba(255, 255, 255, 0.58) 50%, transparent 58% 100%);
  opacity: 0;
  translate: -46% 0;
  transition: opacity 180ms ease, translate 520ms ease;
}

.work-card:hover {
  border-color: rgba(255, 253, 248, 0.44);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.32);
  filter: saturate(1.04);
  transform: translateY(-5px);
}

.work-card:hover::after {
  opacity: 1;
  translate: 46% 0;
}

.work-card:focus-visible {
  outline: 3px solid rgba(124, 45, 74, 0.34);
  outline-offset: 2px;
}

.work-card-visual {
  position: relative;
  min-height: 156px;
  overflow: hidden;
  background: #263241;
}

.work-card-visual img {
  width: 100%;
  height: 100%;
  min-height: 156px;
  display: block;
  object-fit: cover;
  transition: scale 420ms ease, filter 420ms ease;
}

.work-card:hover .work-card-visual img {
  filter: saturate(1.06) contrast(1.04);
  scale: 1.045;
}

.work-card-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, rgba(17, 24, 39, 0.78), rgba(17, 24, 39, 0.06)),
    linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 58%, transparent), transparent 52%);
}

.work-card-visual span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.work-card-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  padding: 20px;
}

.work-card:first-child .work-card-copy {
  padding: 26px;
}

.work-card-icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--card-accent), var(--card-accent-2));
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 8px;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--card-accent) 28%, transparent);
}

.work-card-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-card-main {
  color: var(--card-ink);
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.08;
}

.work-card:first-child .work-card-main {
  font-size: 2rem;
}

.work-card-main + span {
  max-width: 58ch;
  color: rgba(31, 36, 48, 0.72);
  line-height: 1.55;
}

.work-card-cta {
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--card-accent);
  font-size: 0.88rem;
  font-weight: 800;
}

.work-card-cta::after {
  width: 8px;
  height: 8px;
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.work-card:hover .work-card-cta::after {
  transform: translateX(3px) rotate(45deg);
}

@keyframes cardReveal {
  from {
    opacity: 0;
    translate: 0 14px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-card {
    opacity: 1;
    animation: none;
  }

  .work-card,
  .work-card::after,
  .work-card-visual img,
  .button-spinner,
  .primary-button::after,
  .work-card-cta::after {
    animation: none;
    transition: none;
  }
}

.diagnostic-section {
  background: #e3ded4;
}

.photo-section {
  padding: 74px 0;
  background: var(--paper-strong);
}

.photo-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 38px;
  align-items: start;
}

.photo-copy p {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.7;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.photo-grid figure {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  margin: 0;
  background: #d9d7d0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.photo-grid figure:first-child {
  grid-row: span 2;
  min-height: 476px;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.photo-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.78);
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 30px;
  align-items: start;
}

.diagnostic-copy {
  position: sticky;
  top: 96px;
  padding: 28px 0;
}

.score-panel {
  display: grid;
  gap: 6px;
  max-width: 280px;
  margin-top: 28px;
  padding: 20px;
  color: var(--white);
  background: var(--forest);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.score-label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

#scoreValue {
  font-size: 3.2rem;
  line-height: 1;
}

#scoreStatus {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.lead-form {
  padding: 28px;
  background: var(--paper-strong);
  border: 1px solid rgba(31, 36, 48, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(31, 36, 48, 0.12);
}

.form-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.form-step-label,
.save-state {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.save-state {
  white-space: nowrap;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  background: rgba(38, 50, 65, 0.12);
  border-radius: 999px;
}

.progress-bar {
  width: 14.2%;
  height: 100%;
  display: block;
  background: var(--copper);
  transform-origin: left center;
  transition: width 220ms ease;
}

fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
  animation: riseIn 240ms ease both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.choice-grid,
.field-grid,
.zone-grid,
.aid-list {
  display: grid;
  gap: 12px;
}

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

.choice-grid label,
.consent-line {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
}

.choice-grid label:has(input:checked),
.consent-line:has(input:checked) {
  border-color: rgba(124, 45, 74, 0.72);
  box-shadow: inset 0 0 0 1px rgba(124, 45, 74, 0.22);
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--forest);
  flex: 0 0 auto;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  margin-top: 16px;
}

.field span {
  font-weight: 800;
}

.field input,
.field select {
  min-height: 50px;
  width: 100%;
  padding: 0 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  outline: none;
}

.field input:focus,
.field select:focus,
.choice-grid label:focus-within,
.consent-line:focus-within,
.primary-button:focus-visible,
.secondary-button:focus-visible,
.ghost-button:focus-visible,
.header-cta:focus-visible,
.secondary-link:focus-visible,
.hero-metric:focus-visible,
.brand:focus-visible,
.work-card:focus-visible {
  outline: 3px solid rgba(124, 45, 74, 0.34);
  outline-offset: 2px;
}

.field small,
.field-help {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.field small.is-error {
  color: #7c2d4a;
  font-weight: 800;
}

.field-error {
  margin: 14px 0 0;
  color: #7c2d4a;
  font-weight: 800;
}

.form-actions {
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.ghost-button {
  color: var(--forest);
  background: transparent;
  border: 1px solid var(--line-strong);
}

#submitButton {
  display: none;
  min-width: 220px;
}

#submitButton.is-loading,
#submitButton.is-success {
  cursor: default;
}

#submitButton.is-loading::after,
#submitButton.is-success::after {
  display: none;
}

#submitButton.is-success {
  background: linear-gradient(180deg, #2fb86f 0%, #127744 100%);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 38px rgba(18, 119, 68, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button-spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: buttonSpinner 760ms linear infinite;
}

@keyframes buttonSpinner {
  to {
    transform: rotate(360deg);
  }
}

.result-panel {
  display: block;
  margin-top: 24px;
  padding: 18px;
  background: rgba(38, 50, 65, 0.08);
  border: 1px solid rgba(38, 50, 65, 0.18);
  border-radius: var(--radius);
  color: var(--forest-dark);
  font-weight: 800;
  line-height: 1.55;
}

.aids-section {
  color: var(--white);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 217, 25, 0.18), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(35, 164, 93, 0.18), transparent 26%),
    linear-gradient(135deg, #5b1835 0%, #263241 48%, #111827 100%);
}

.aids-section .section-kicker {
  color: #f7d8e4;
}

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

.aids-section .aids-layout > div:first-child > p {
  color: rgba(255, 255, 255, 0.76);
}

.aid-investment-card {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 22px;
  overflow: hidden;
  color: var(--forest-dark);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(236, 247, 238, 0.96)),
    var(--paper-strong);
  border: 1px solid rgba(255, 253, 248, 0.42);
  border-left: 7px solid #21a65b;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.aid-investment-card::before {
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 190px;
  height: 190px;
  content: "";
  background: radial-gradient(circle, rgba(255, 217, 25, 0.42), transparent 64%);
}

.aid-investment-card::after {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 10px;
  height: 10px;
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.55;
  transform: rotate(45deg);
}

.aid-investment-card span,
.official-context span,
.aid-list .info-card summary span {
  font-family: var(--font-utility);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.aid-investment-card span {
  color: #0c6f3b;
}

.aid-investment-card strong {
  color: #5b1835;
  font-family: var(--font-display);
  font-size: 4.45rem;
  font-weight: 800;
  line-height: 0.92;
  font-variant-numeric: tabular-nums;
}

.aid-investment-card p {
  position: relative;
  max-width: 52ch;
  margin: 0;
  color: rgba(31, 36, 48, 0.78);
  font-weight: 800;
  line-height: 1.55;
}

.official-context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.official-context a {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 132px;
  align-content: end;
  padding: 16px 42px 16px 16px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.12), rgba(255, 253, 248, 0.04)),
    rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-top: 5px solid rgba(255, 217, 25, 0.88);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.official-context a.official-card-heat {
  border-top-color: #21a65b;
}

.official-context a::after {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.56;
  transform: translateY(-50%) rotate(45deg);
  transition: opacity 180ms ease, transform 180ms ease;
}

.official-context a:hover {
  border-color: rgba(255, 253, 248, 0.4);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.26);
  transform: translateY(-2px);
}

.official-context a:hover::after {
  opacity: 1;
  transform: translate(3px, -50%) rotate(45deg);
}

.official-context span {
  color: #ffd919;
}

.official-context strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.4;
}

.aid-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  align-self: start;
}

.info-card {
  position: relative;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 800;
}

.info-card summary {
  position: relative;
  display: block;
  padding-right: 34px;
  cursor: pointer;
  list-style: none;
}

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

.info-card summary::after {
  position: absolute;
  top: 50%;
  right: 2px;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  content: "+";
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.62;
  font-family: var(--font-utility);
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background 180ms ease;
}

.info-card[open] summary::after {
  content: "-";
  opacity: 1;
  background: rgba(255, 255, 255, 0.18);
}

.info-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.55;
}

.info-card:focus-within {
  outline: 3px solid rgba(124, 45, 74, 0.28);
  outline-offset: 2px;
}

.aid-list .info-card {
  --aid-bg: rgba(255, 253, 248, 0.96);
  --aid-tint: rgba(247, 216, 228, 0.72);
  --aid-accent: #7b2048;
  min-height: 148px;
  display: grid;
  align-content: start;
  padding: 0;
  overflow: hidden;
  color: var(--forest-dark);
  background: linear-gradient(135deg, var(--aid-bg), var(--aid-tint));
  border: 1px solid rgba(255, 253, 248, 0.3);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.aid-list .info-card::before {
  display: block;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, var(--aid-accent), #ffd919);
}

.aid-list .info-card:hover {
  border-color: rgba(255, 253, 248, 0.52);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.aid-card-amplitude {
  --aid-tint: rgba(231, 221, 238, 0.86);
  --aid-accent: #6b4f68;
}

.aid-card-energy {
  --aid-tint: rgba(236, 247, 238, 0.9);
  --aid-accent: #138045;
}

.aid-card-loan {
  --aid-tint: rgba(232, 242, 247, 0.9);
  --aid-accent: #496f82;
}

.aid-card-tax {
  --aid-tint: rgba(255, 248, 214, 0.78);
  --aid-accent: #b39200;
}

.aid-card-local {
  --aid-tint: rgba(225, 229, 236, 0.9);
  --aid-accent: #465060;
}

.aid-list .info-card summary {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px 46px 18px 18px;
}

.aid-list .info-card summary span {
  color: var(--aid-accent);
}

.aid-list .info-card summary strong {
  font-size: 1.16rem;
  line-height: 1.18;
}

.aid-list .info-card p {
  margin: 0;
  padding: 0 18px 18px;
  color: rgba(31, 36, 48, 0.72);
  line-height: 1.5;
}

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

.zones-section .section-kicker {
  color: #e9bfd0;
}

.zones-intro {
  max-width: 58ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
  line-height: 1.65;
}

.zone-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.zone-grid .info-card {
  color: var(--white);
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(255, 250, 240, 0.16);
}

.zone-grid .info-card p {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--forest-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
}

.footer-inner span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
}

.footer-inner span:first-child::before {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  content: "";
  background: url("./assets/logo-renorepere-original.png") 13.7% 47% / 96px auto no-repeat;
  border-radius: 50%;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.work-detail-body {
  background: var(--paper-strong);
}

.work-detail-hero {
  position: relative;
  min-height: 78dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px 24px 54px;
  color: var(--white);
  background: var(--forest-dark);
}

.work-detail-image,
.work-detail-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.work-detail-image {
  object-fit: cover;
}

.work-detail-overlay {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.72) 48%, rgba(17, 24, 39, 0.22) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.72) 0%, rgba(17, 24, 39, 0) 62%);
}

.work-detail-hero-content {
  position: relative;
}

.work-detail-hero h1 {
  max-width: 900px;
  font-size: 4.38rem;
}

.heat-page-hero .work-detail-overlay {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.94) 0%, rgba(17, 24, 39, 0.7) 48%, rgba(124, 45, 74, 0.18) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.78) 0%, rgba(17, 24, 39, 0) 62%);
}

.work-detail-section {
  padding: 78px 0;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.work-detail-muted {
  background: #e7e2d8;
}

.work-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.work-detail-grid p {
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.7;
}

.work-detail-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.work-detail-list li,
.work-detail-panel {
  position: relative;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.55;
}

.work-detail-panel {
  font-weight: 700;
}

.work-detail-panel p:last-child {
  margin-bottom: 0;
}

.heat-proof-band {
  background: var(--paper-strong);
}

.heat-signal-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.heat-signal-grid article,
.faq-grid article {
  position: relative;
  min-height: 100%;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(31, 36, 48, 0.08);
}

.heat-signal-grid article::before,
.faq-grid article::before,
.heat-compare div::before,
.work-detail-list li::before {
  position: absolute;
  top: 0;
  left: 18px;
  width: 36px;
  height: 4px;
  content: "";
  background: var(--copper);
  border-radius: 0 0 999px 999px;
}

.heat-signal-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--forest-dark);
  font-size: 1.04rem;
}

.heat-signal-grid p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.heat-compare {
  display: grid;
  gap: 12px;
}

.heat-compare div {
  position: relative;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.heat-compare span {
  display: block;
  margin-bottom: 8px;
  color: var(--copper-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.heat-compare strong {
  display: block;
  color: var(--ink);
  line-height: 1.45;
}

.heat-faq {
  background: var(--paper-strong);
}

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

.faq-grid h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.related-section {
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.9), rgba(243, 241, 236, 0.96));
}

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

.related-grid a {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  color: var(--ink);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(31, 36, 48, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.related-grid a:hover {
  border-color: rgba(124, 45, 74, 0.35);
  box-shadow: 0 24px 58px rgba(31, 36, 48, 0.14);
  transform: translateY(-3px);
}

.related-grid span {
  color: var(--copper);
  font-family: var(--font-utility);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.related-grid strong {
  color: var(--forest-dark);
  font-size: 1.22rem;
  line-height: 1.18;
}

.related-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.work-detail-cta {
  padding: 72px 0;
  color: var(--white);
  background: var(--forest-dark);
}

.work-detail-cta .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.work-detail-cta h2 {
  max-width: 850px;
  margin-bottom: 0;
}

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

  .header-nav {
    display: none;
  }

  .hero {
    min-height: 84dvh;
    padding: 112px 16px 34px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.74) 100%),
      linear-gradient(0deg, rgba(17, 24, 39, 0.72) 0%, rgba(17, 24, 39, 0) 58%);
  }

  .hero-metric {
    min-width: 0;
    padding: 12px;
    background: rgba(255, 250, 240, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 26px;
  }

  .hero-metric:nth-child(2) {
    grid-column: 1 / -1;
    order: 3;
  }

  .hero-metric:nth-child(3) {
    order: 2;
  }

  .hero-metric strong {
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .hero-metric span {
    font-size: 0.68rem;
  }

  .intro-layout,
  .visual-proof-layout,
  .works-layout,
  .photo-layout,
  .diagnostic-grid,
  .aids-layout,
  .zones-layout,
  .work-detail-grid,
  .work-detail-cta .section-inner {
    grid-template-columns: 1fr;
  }

  .works-copy {
    max-width: 680px;
  }

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

  .official-context {
    grid-template-columns: 1fr;
  }

  .diagnostic-copy {
    position: static;
    padding: 0;
  }

  .choice-grid,
  .field-grid,
  .scene-grid,
  .photo-grid,
  .heat-signal-grid,
  .faq-grid,
  .related-grid,
  .aid-list,
  .zone-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid figure,
  .photo-grid figure:first-child {
    min-height: 240px;
  }

  .scene-card,
  .scene-card:nth-child(1),
  .scene-card:nth-child(4) {
    min-height: 0;
    transform: none;
  }

  .scene-visual,
  .scene-visual img {
    min-height: 180px;
  }

  .work-card,
  .work-card:first-child {
    min-height: 172px;
    grid-template-columns: minmax(132px, 0.38fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .work-card-visual,
  .work-card-visual img {
    min-height: 172px;
  }

  .work-card:first-child .work-card-main {
    font-size: 1.55rem;
  }

  .work-card-copy,
  .work-card:first-child .work-card-copy {
    padding: 18px;
  }

  .work-card-icon {
    width: 40px;
    height: 40px;
  }

  .lead-form {
    padding: 20px;
  }

  .form-topline,
  .form-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .primary-button,
  .form-actions .ghost-button,
  .hero-actions .primary-button,
  .hero-actions .secondary-link {
    width: 100%;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  h3 {
    font-size: 1.45rem;
  }

  .lead-form h3 {
    font-size: 1.15rem;
    line-height: 1.18;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .work-detail-hero {
    min-height: 78dvh;
    padding: 112px 16px 38px;
  }

  .work-detail-hero h1 {
    font-size: 3rem;
  }

  .work-detail-cta .primary-button {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    gap: 8px;
  }

  .brand-logo {
    width: 146px;
    height: 36px;
    flex-basis: 146px;
  }

  .header-cta {
    padding: 0 12px;
  }

  .intro-band,
  .visual-proof-section,
  .works-section,
  .diagnostic-section,
  .aids-section,
  .zones-section,
  .work-detail-section,
  .work-detail-cta {
    padding: 56px 0;
  }

  .work-card,
  .work-card:first-child {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 148px minmax(0, 1fr);
  }

  .work-card-visual,
  .work-card-visual img {
    min-height: 148px;
  }

  .work-card-main,
  .work-card:first-child .work-card-main {
    font-size: 1.3rem;
  }

  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .scene-grid {
    gap: 12px;
  }

  .scene-text {
    padding: 16px;
  }

  .work-card {
    grid-template-columns: 1fr;
  }

  .work-card-visual,
  .work-card-visual img {
    min-height: 150px;
  }

  .work-detail-hero h1 {
    font-size: 2.34rem;
  }
}
