/* BESTEMD: restore the approved warm sunset atmosphere.
   Real photo of Ed is a separate transparent PNG; no generated faces,
   screenshot lettering, or duplicate background layers. */
.ed-hero{
  position:relative;
  isolation:isolate;
  background:#f6e8d8 url('https://d2ol7oe51mr4n9.cloudfront.net/user_3L1Dk2QcsFf7KL82FSvtUquBeEP/20a34bea-8383-4519-b037-e83cb601eb70.png') center 55% / cover no-repeat!important;
  min-height:570px;
  overflow:hidden;
}
.ed-hero:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,rgba(248,250,250,.78) 0%,rgba(251,246,242,.69) 30%,rgba(250,240,232,.28) 56%,transparent 79%)!important;
}
.ed-hero:after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:auto 0 0!important;
  height:125px!important;
  z-index:0!important;
  background:linear-gradient(0deg,rgba(23,59,53,.32),transparent)!important;
  pointer-events:none;
}
.ed-hero>.shell{min-height:570px;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);gap:10px}
.ed-hero-copy{position:relative;z-index:3;padding:75px 0 100px}
.ed-hero-copy .kicker{font-size:11px;color:#0b4a54;letter-spacing:.1em}
.ed-hero-copy h1{color:#063c48;font-size:clamp(43px,4.35vw,68px);max-width:750px;line-height:1.09}
.ed-hero-copy>p{color:#2d4d57;max-width:510px}
.ed-hero-portrait{
  background:none!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
  width:100%;
  height:570px;
  min-height:570px;
  justify-self:end;
  align-self:end;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
}
.ed-hero-portrait:before{content:none!important;display:none!important}
.ed-hero-portrait img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  filter:none!important;
  border-radius:0!important;
  transform:scale(1.1);
  transform-origin:center bottom;
}
.ed-hero-person{
  display:none!important; /* no fake signature or floating card in the scenery */
}
.ed-hero .ed-hero-photo-accent{display:none!important}
@media(min-width:1300px){
  .ed-hero>.shell{min-height:585px}
  .ed-hero-portrait{height:585px;min-height:585px}
  .ed-hero-copy h1{font-size:clamp(53px,4.3vw,70px)}
}
@media(max-width:950px) and (min-width:761px){
  .ed-hero>.shell{grid-template-columns:1.13fr .87fr;min-height:520px}
  .ed-hero-portrait{height:520px;min-height:520px}
  .ed-hero-copy h1{font-size:clamp(38px,4.7vw,53px)}
  .ed-hero-copy{padding:62px 0 76px}
}
@media(max-width:760px){
  .ed-hero{
    min-height:0;
    background-position:62% center!important;
  }
  .ed-hero:before{
    background:linear-gradient(to bottom,rgba(249,251,251,.87) 0%,rgba(251,247,242,.78) 45%,rgba(252,240,224,.26) 78%,transparent 100%)!important
  }
  .ed-hero>.shell{grid-template-columns:1fr;gap:0;min-height:0}
  .ed-hero-copy{padding:43px 0 4px}
  .ed-hero-copy h1{max-width:680px;font-size:clamp(40px,7vw,57px)}
  .ed-hero-copy>p{font-size:15px;max-width:600px}
  .ed-hero-portrait{width:min(520px,100%);height:360px;min-height:360px;margin:0 auto;justify-self:center;align-self:end}
  .ed-hero-portrait img{transform:scale(1.13);object-position:center bottom!important}
}
@media(max-width:470px){
  .ed-hero{background-position:65% center!important}
  .ed-hero-copy{padding:36px 0 10px}
  .ed-hero-copy h1{font-size:clamp(36px,9vw,46px)}
  .ed-hero-copy>p{font-size:14px}
  .ed-hero-portrait{height:300px;min-height:300px;max-width:360px}
  .ed-hero-portrait img{transform:scale(1.15)}
}
@media(prefers-reduced-motion:reduce){.ed-hero-portrait img{transition:none}}
