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

:root {
  /* --clay:    #c9a97a;
  --amber:   #e8c27a;
  --dusk:    #1a1a2e;
  --ink:     #0d0d1a;
  --stone:   #f5f0e8;
  --warm:    #fdf8f0;
  --muted:   #9e9580;
  --line:    rgba(201,169,122,0.25); */
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ink);
  color: var(--stone);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── NOISE TEXTURE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ─── BACKGROUND GRADIENT ─── */
.bg-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(232,194,122,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 80%,  rgba(201,169,122,0.07) 0%, transparent 60%),
    var(--ink);
}

/* ─── NAV ─── */
nav {
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fadeDown 1s ease both;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--stone);
  text-transform: uppercase;
}
.logo span { color: var(--amber); }

.nav-tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3rem 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 2.5rem;
  animation: fadeUp 1s 0.3s ease both;
}
.hero-badge::before {
  content: '';
  width: 2rem; height: 1px;
  background: rgba(13,13,26,0.3);
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 14ch;
  animation: fadeUp 1s 0.5s ease both;
}
h1 em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  margin-top: 2.5rem;
  max-width: 44ch;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
  animation: fadeUp 1s 0.7s ease both;
}

.hero-cta {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeUp 1s 0.9s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  background: var(--amber);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--clay);
  transform: translateY(-1px);
}
.btn-primary svg { width: 14px; height: 14px; }

.scroll-hint {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── SUN GRAPHIC ─── */
.sun {
  position: absolute;
  top: 50%; right: 6%;
  transform: translateY(-50%);
  width: min(38vw, 480px);
  aspect-ratio: 1;
  animation: fadeIn 1.5s 0.2s ease both, spin 80s linear infinite;
}
.sun svg { width: 100%; height: 100%; }

/* ─── DIVIDER ─── */
.section-divider {
  position: relative;
  z-index: 1;
  border: none;
  border-top: 1px solid var(--line);
  margin: 0 3rem;
}

/* ─── STATS BAR ─── */
.stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0;
  padding: 0 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  flex: 1;
  padding: 2.5rem 0;
  padding-right: 2rem;
  border-right: 1px solid var(--line);
  animation: fadeUp 1s ease both;
}
.stat:last-child { border: none !important; padding-left: 0; padding-right: 0; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
}
.stat-label {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── SECTIONS ─── */
.section {
  position: relative;
  z-index: 1;
  padding: 7rem 3rem;
}
.section--intro  { padding-bottom: 2rem; }
.section--pillars { padding-bottom: 0; }
.section--pillars .pillars { margin-top: 3rem; }
.section--intro  { padding-top: 4rem; }

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #0d0d1a;
  margin-bottom: 1.25rem;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  max-width: 22ch;
}
h2 em { font-style: italic; color: var(--amber); }

.section-lead {
  margin-top: 1.5rem;
  max-width: 56ch;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
}

/* ─── PILLAR GRID ─── */
.pillars {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 768px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
  }
}
.pillar {
  background: var(--ink);
  padding: 2.5rem;
  transition: background 0.3s;
}
.pillar:hover { background: rgba(201,169,122,0.05); }
.pillar-icon { font-size: 2rem; margin-bottom: 1.5rem; display: block; }
.pillar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.pillar p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}

@media (max-width: 768px) {
  .pillars--scroll {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    background: none;
    border: none;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 0 1.5rem;
    scrollbar-width: none;
  }
  .pillars--scroll::-webkit-scrollbar { display: none; }
  .pillars--scroll .pillar {
    flex: 0 0 80vw;
    scroll-snap-align: start;
    border: 1px solid var(--line);
    border-right: none;
  }
  .pillars--scroll .pillar:last-child {
    border-right: 1px solid var(--line);
    margin-right: 1.5rem;
  }
}

/* ─── EDITORIAL PILLAR SECTIONS ─── */
.ed {
  position: relative;
  z-index: 1;
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}
.ed.flip { grid-template-columns: 1fr 1.3fr; }
.ed.flip .ed-photo  { order: 2; }
.ed.flip .ed-content { order: 1; }

.ed-photo {
  width: 100%;
  background:
    linear-gradient(135deg, rgba(232,194,122,0.20) 0%, rgba(201,169,122,0.06) 55%, rgba(13,13,26,0.55) 100%);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.ed-photo::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(201,169,122,0.25);
  pointer-events: none;
  z-index: 1;
}
.ed-photo.landscape { aspect-ratio: 3 / 2; }
.ed-photo.landscape.r43 { aspect-ratio: 4 / 3; }  /* for 4:3 landscape photos */
.ed-photo.portrait {
  aspect-ratio: 2 / 3;
  max-height: 720px;
  max-width: 480px;
  width: 100%;
  justify-self: center;
}

/* When a real photo is present, it fills the .ed-photo container,
   covering the placeholder gradient/dashed-border underneath. */
.ed-photo picture {
  position: absolute;
  inset: 0;
  display: block;
}
.ed-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ed-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: rgba(13,13,26,0.85);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.ed-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 16ch;
}
.ed-content h3 em { font-style: italic; color: var(--amber); }
.ed-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 1rem;
  max-width: 46ch;
}

.key-specs {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 480px;
}
.key-spec {
  flex: 1;
  padding: 1.25rem 0;
  border: none !important;
}
.key-spec:last-child { border: none !important; padding: 1.25rem 0 !important; margin: 0 !important; }
.spec-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.01em;
}
.spec-label {
  margin-top: 0.45rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

/* ─── RATING STRIP ─── */
.rating-strip {
  position: relative;
  z-index: 1;
  padding: 5rem 3rem;
  background: rgba(232,194,122,0.05);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.rating-text {
  flex: 1;
  min-width: 0;
}
.rating-text h2 { max-width: 22ch; }
.rating-text p {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
  max-width: 56ch;
}

.rating-ladder {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  min-width: 360px;
}
.rung {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.rung-bar {
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 0.7rem;
  color: white;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  clip-path: inset(0 calc(100% - 30px) 0 0);
  transition: clip-path 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.rating-ladder.visible .rung-bar { clip-path: inset(0 0% 0 0); }
.rating-ladder.visible .rung:nth-child(1) .rung-bar { transition-delay: 0.1s; }
.rating-ladder.visible .rung:nth-child(2) .rung-bar { transition-delay: 0.22s; }
.rating-ladder.visible .rung:nth-child(3) .rung-bar { transition-delay: 0.34s; }
.rating-ladder.visible .rung:nth-child(4) .rung-bar { transition-delay: 0.46s; }
.rating-ladder.visible .rung:nth-child(5) .rung-bar { transition-delay: 0.58s; }
.rating-ladder.visible .rung:nth-child(6) .rung-bar { transition-delay: 0.70s; }
.rating-ladder.visible .rung:nth-child(7) .rung-bar { transition-delay: 0.82s; }
.rung-label { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.1em; }

/* ─── HOW IT WORKS ─── */
.timeline {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.t-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}
.t-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--line);
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
  text-align: center;
}
.t-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.t-content p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}

/* ─── CONTACT ─── */
.contact {
  position: relative;
  z-index: 1;
  padding: 8rem 3rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.contact h2 { margin: 0 auto; max-width: none; }
.contact p {
  margin: 1.5rem auto 0;
  max-width: 42ch;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

.contact-link {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--amber);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.contact-link:hover { color: var(--clay); border-color: var(--clay); }

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  padding: 2rem 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
footer p { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.05em; }
.footer-tagline { text-align: right; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─── */

/* Editorial sections stack below desktop widths so the photo never gets crushed.
   Catches every phone in any orientation (iPhone Pro Max landscape is 932px) and
   tablet portraits. Two-column only kicks in on real laptop / desktop screens. */
@media (max-width: 1024px) {
  .ed, .ed.flip {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4.5rem 3rem;
  }
  .ed.flip .ed-photo  { order: 0; }
  .ed.flip .ed-content { order: 1; }
}

/* Experimental 02 copy: portrait on mobile, landscape on desktop */
.ed-photo.battery-adaptive { aspect-ratio: 4 / 3; }
@media (max-width: 1024px) {
  .ed-photo.battery-adaptive { aspect-ratio: 2 / 3; max-height: 720px; }
}

/* ─── 02 BATTERY STORAGE: night theme ─── */
.ed.flip.ed--night {
  background: #080b14;
  padding: 0;
  gap: 0;
}
.ed.flip.ed--night .ed-content {
  padding: 5rem 3rem 5rem 4rem;
}
.ed.flip.ed--night .ed-photo.battery-adaptive {
  align-self: stretch;
  aspect-ratio: 2 / 3;
  border: none;
  color: white;
  background: #1c2133;
}
.ed.flip.ed--night .ed-photo.battery-adaptive::after  { border-color: rgba(255,255,255,0.18); }
.ed.flip.ed--night .ed-photo.battery-adaptive::before {
  content: '';
  position: absolute;
  inset: auto 0 -2px 0;
  height: calc(35% + 2px);
  background: linear-gradient(to bottom, transparent, #080b14);
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .ed.flip.ed--night { padding: 0 0 4rem; gap: 0; }
  .ed.flip.ed--night .ed-photo.battery-adaptive { aspect-ratio: 2 / 3; max-height: unset; }
  .ed.flip.ed--night .ed-content { padding: 3.5rem 1.5rem 4rem; }
}
.ed--night .ed-num            { color: rgba(255,255,255,0.75); font-weight: 400; }
.ed--night .ed-content h3     { color: #ffffff; }
@keyframes electric-flow {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.ed--night .ed-content h3 em  {
  background: linear-gradient(90deg, #ffe000, #ff6500, #ffe000);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: electric-flow linear both;
  animation-duration: auto;
  animation-timeline: scroll();
}
.ed--night .ed-content p      { color: #ffffff; font-weight: 400; }
.ed--night .spec-num          { color: #ffb300; }
.ed--night .spec-label        { color: rgba(255,255,255,0.75); }
.ed--night .key-specs,
.ed--night .key-spec          { border-color: rgba(255,255,255,0.1); }

/* Spec detail table */
.spec-detail {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(13,13,26,0.12);
  max-width: 480px;
}
.spec-detail-item {
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid rgba(13,13,26,0.12);
}
.spec-detail-label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(13,13,26,0.5);
  margin-bottom: 0.35rem;
}
.spec-detail-value {
  font-size: 0.82rem;
  font-weight: 400;
  color: #0d0d1a;
  line-height: 1.4;
}
.ed--night .spec-detail       { border-top-color: rgba(255,255,255,0.1); }
.ed--night .spec-detail-item  { border-bottom-color: rgba(255,255,255,0.1); }
.ed--night .spec-detail-label { color: rgba(255,255,255,0.7); }
.ed--night .spec-detail-value { color: #ffffff; }

/* ─── SOLAR SECTION: full-bleed photo ─── */
/* Mirrors ed--night / battery-adaptive exactly.
   Two-class selectors give specificity 0,2,0 so they always beat
   the 0,1,0 responsive .ed, .ed.flip overrides. */
.ed-photo.solar-adaptive { aspect-ratio: 3 / 2; }  /* fallback for single-col layout */
@media (max-width: 1024px) {
  .ed-photo.solar-adaptive { aspect-ratio: 3 / 2; max-height: 600px; }
}
.ed.ed--solar {
  padding: 0;
  gap: 0;
}
.ed.ed--solar-exp2 { display: none; }
.ed.ed--solar .ed-content {
  padding: 5rem 3rem 5rem 4rem;
}
.ed.ed--solar .ed-photo.solar-adaptive {
  align-self: stretch;
  aspect-ratio: unset;
  border: none;
}
@media (max-width: 1024px) {
  .ed.ed--solar { padding: 0; gap: 0; }
  .ed.ed--solar .ed-photo.solar-adaptive { aspect-ratio: 3 / 2; max-height: 600px; }
  .ed.ed--solar .ed-content { padding: 3.5rem 1.5rem 4rem; }
}

@media (max-width: 480px) {
  .ed.ed--solar.ed--solar-exp2 .ed-photo.solar-adaptive { aspect-ratio: 2 / 3; max-height: unset; }
  .ed.ed--solar.ed--solar-exp3 .ed-photo.solar-adaptive { aspect-ratio: 2 / 3; max-height: unset; }
  .ed.ed--heatpump .ed-photo.heatpump-adaptive { aspect-ratio: 2 / 3; max-height: unset; }
}

/* ─── 01 SOLAR EXP3 · stacked: sky header → photo → specs ─── */
.solar-exp3 {
  display: flex;
  flex-direction: column;
}

.solar-exp3-header {
  background: #8bbcce;
  padding: 5rem 4rem 4rem;
}
.solar-exp3-header .ed-num  { color: #ffffff; font-size: 1rem; font-weight: 700; }
.solar-exp3-header h3       { color: #1a2830; font-size: clamp(2.4rem, 4vw, 3.6rem); max-width: none; margin-bottom: 2.5rem; }
.solar-exp3-header h3 em    { color: #1a2830; font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; }
.solar-exp3-header p        { color: #1a2830; font-size: 0.95rem; line-height: 1.8; font-weight: 400; margin-bottom: 1rem; }
.sun-accent                 { color: #fde047; }

@media (min-width: 768px) {
  .solar-exp3-header {
    text-align: center;
    padding: 6rem 8rem 5rem;
  }
}

.solar-exp3-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.solar-exp3-photo picture,
.solar-exp3-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.solar-exp3-photo::before {
  content: '';
  position: absolute;
  inset: -2px 0 auto 0;
  height: calc(35% + 2px);
  background: linear-gradient(to bottom, #8bbcce, transparent);
  z-index: 1;
  pointer-events: none;
}

.solar-exp3-specs {
  padding: 4rem;
  background: #ffffff;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .solar-exp3-specs {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

@media (max-width: 768px) {
  .solar-exp3-header { padding: 4rem 1.5rem 3rem; text-align: left; }
  .solar-exp3-specs  { padding: 3rem 1.5rem; }
  .solar-exp3-photo  { aspect-ratio: 2 / 3; }
}

/* ─── 03 HEAT PUMP · full-bleed photo, warm cream theme ─── */
.ed-photo.heatpump-adaptive { aspect-ratio: 3 / 2; }
.ed.ed--heatpump {
  padding: 0;
  gap: 0;
  background: #ede4d4;
}
.ed.ed--heatpump .ed-content {
  padding: 5rem 3rem 5rem 4rem;
}
.ed.ed--heatpump .ed-photo.heatpump-adaptive {
  align-self: stretch;
  aspect-ratio: unset;
  border: none;
  background: none;
}
.ed.ed--heatpump .ed-photo.heatpump-adaptive::after  { border-color: rgba(13,13,26,0.18); }
.ed.ed--heatpump .ed-photo.heatpump-adaptive::before { content: none; }
@media (max-width: 1024px) {
  .ed.ed--heatpump { padding: 0; gap: 0; }
  .ed.ed--heatpump .ed-photo.heatpump-adaptive { aspect-ratio: 3 / 2; max-height: 600px; }
  .ed.ed--heatpump .ed-content { padding: 3.5rem 1.5rem 4rem; }
}
.ed--heatpump .ed-num           { color: #0d0d0d !important; font-weight: 400; }
.ed--heatpump-exp3 .ed-num      { color: #2a241b !important; }
.ed--heatpump .ed-content h3    { color: #2a241b; }
.ed--heatpump .ed-content h3 em { color: #c8161d; }
.ed--heatpump .ed-content p     { color: rgba(42,36,27,0.78); font-weight: 400; }
.ed--heatpump .spec-num         { color: #c8161d; }
.ed--heatpump .spec-label       { color: rgba(42,36,27,0.55); }
.ed--heatpump .section-label    { color: #c8161d; }
.ed--heatpump .key-specs,
.ed--heatpump .key-spec         { border-color: rgba(42,36,27,0.15); }

/* heat pump mobile video */
.ed-photo video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mobile-video { display: none; }
@media (max-width: 768px) {
  /* Keep picture as fallback behind the video — if video fails, photo shows through */
  .ed--heatpump .desktop-photo {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  .ed--heatpump .desktop-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .ed--heatpump .mobile-video  { display: block; z-index: 1; }
  .ed.ed--heatpump .ed-photo.heatpump-adaptive { aspect-ratio: 2 / 3; max-height: unset; }
}


@media (max-width: 768px) {
  nav, .hero, .section, .stats, .rating-strip, .contact, footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .section-divider { margin: 0 1.5rem; }
  .sun { display: none; }
  .stats { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); padding: 2rem 0; }
  .stat:last-child { border: none !important; }
  .rating-strip { flex-direction: column; align-items: flex-start; gap: 3rem; padding: 4rem 1.5rem; }

  /* tighter padding for editorial sections on phones */
  .ed, .ed.flip {
    padding: 3.5rem 1.5rem;
    gap: 2.5rem;
  }
  .ed-photo.portrait { max-height: 560px; }
  .footer-tagline { text-align: left; }
  .nav-tag { display: none; }
}

.ed--night .ed-content h3 em.neon {
  background: none;
  -webkit-text-fill-color: initial;
  font-family: 'Monsieur La Doulaise', cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 1.55em;
  line-height: 0.9;
  display: inline-block;
  margin-left: 0.1em;
  color: #fffaf0;
  text-shadow:
    0 0 2px   #fff8e8,
    0 0 5px   #ffe6b0,
    0 0 10px  #ffba70,
    0 0 22px  #ff8a3c,
    0 0 42px  #ff5e1f,
    0 0 70px  #ff4a00,
    0 0 110px rgba(255, 70, 0, 0.6);
  opacity: 0;
  animation: none;
  animation-timeline: auto;
}
.ed--night .ed-content h3 em.neon.visible {
  animation:
    neon-ignite 2.4s cubic-bezier(0.4, 0, 0.2, 1) both,
    neon-buzz   3s  2.6s ease-in-out infinite;
}
@keyframes neon-ignite {
  0%   { opacity: 0; }
  8%   { opacity: 0.7; }
  10%  { opacity: 0; }
  18%  { opacity: 0; }
  21%  { opacity: 0.9; }
  24%  { opacity: 0.2; }
  26%  { opacity: 0.85; }
  32%  { opacity: 0.4; }
  36%  { opacity: 1; }
  42%  { opacity: 0.92; }
  100% { opacity: 1; }
}
@keyframes neon-buzz {
  0%, 70%, 100% { opacity: 1;    filter: brightness(1); }
  74%           { opacity: 0.88; filter: brightness(0.9); }
  76%           { opacity: 1;    filter: brightness(1.05); }
  82%           { opacity: 0.94; filter: brightness(0.95); }
  86%           { opacity: 1;    filter: brightness(1); }
}