/* Static dark hero (loop video removed for production). */
.hero{
  position:relative;
  color:#fff!important;
  background:#1a1f24!important;
  overflow:hidden;
  min-height:min(72svh,720px);
  display:flex;
  align-items:flex-end;
}
.hero-bg{
  position:absolute;
  inset:0;
  background:none!important;
}
.hero-bg picture{display:block;width:100%;height:100%}
.hero-bg img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center 42%;
  display:block;
}
.hero-in{
  position:relative;
  z-index:2;
  width:100%;
  padding:72px 20px 36px!important;
  /* Scrim only behind the copy — starts clear so the photo stays visible. */
  background:linear-gradient(180deg,rgba(15,20,28,0) 0%,rgba(15,20,28,.28) 42%,rgba(15,20,28,.72) 100%);
  display:block!important;
  grid-template-columns:none!important;
}
.hero-in>*{grid-column:auto!important;grid-row:auto!important}
.hero-photo{display:none!important}
.hero .eyebrow{color:#f3e7b0!important;text-shadow:0 1px 2px rgba(0,0,0,.7),0 2px 10px rgba(0,0,0,.45)}
.hero h1,
.hero h1 em{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.75),0 2px 14px rgba(0,0,0,.5)}
.hero .lead,
.hero .hero-note{color:#f3f5f7!important;text-shadow:0 1px 2px rgba(0,0,0,.7),0 2px 10px rgba(0,0,0,.45)}
.hero .btn-ghost{
  color:#fff!important;
  border-color:rgba(255,255,255,.85)!important;
  background:transparent!important;
}
.hero .btn-ghost:hover{
  background:rgba(255,255,255,.12)!important;
  border-color:#fff!important;
  color:#fff!important;
}
/* Phone: a compact photo band so the cupboard boiler sits in the clear area above the copy.
   (A full-height hero is taller than the photo, so object-position alone cannot lift the boiler.) */
@media (max-width:759px){
  .hero{min-height:0}
  .hero-bg{inset:0 0 auto 0;height:50svh}
  .hero-bg img{object-position:center 40%}
  .hero-in{padding-top:20svh!important}
}
@media (max-width:899px){
  body:has(.cbar) .hero{min-height:0;align-items:stretch}
  body:has(.cbar) .hero-in{padding-bottom:140px!important}
}
@media (min-width:760px){
  .hero-in{
    padding:96px 20px 72px!important;
    background:linear-gradient(90deg,rgba(15,20,28,.72) 0%,rgba(15,20,28,.36) 42%,rgba(15,20,28,.1) 70%,rgba(15,20,28,0) 100%);
  }
  .hero-bg{inset:0;height:auto}
  .hero-bg img{object-position:center 42%}
}

/* Four-fact strip: keep the same style, and make it fit on a 390px phone. */
.strip-in{grid-template-columns:1fr 1fr;gap:12px 8px}
@media (min-width:700px){
  .strip-in{grid-template-columns:repeat(4,1fr);gap:8px}
}
