/* The hero owns a full-width field while its original text retains its measure. */
.hero.wrap:has(.hero-field){position:relative;isolation:isolate;width:100%;max-width:none;padding-inline:32px;overflow:clip;min-height:675px;padding-bottom:100px}
.hero-field{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;contain:strict;mask-image:linear-gradient(to bottom,transparent,#000 16%,#000 76%,transparent)}
.hero.wrap:has(.hero-field)>:not(.hero-field){position:relative;z-index:1}
.hero-field canvas{display:block;width:100%;height:100%}
.hero-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.hero-field .hero-flow-background{position:absolute;inset:0;display:none;opacity:.65;mask-image:radial-gradient(ellipse at 50% 46%,#0005 0%,#0008 34%,#000 76%)}
.hero.wrap:has(.hero-field) h1{max-width:720px}
@media(min-width:1800px){.hero.wrap:has(.hero-field){min-height:730px}}
@media(max-width:1050px) and (min-width:761px){.hero.wrap:has(.hero-field) h1{max-width:590px;font-size:48px}.hero.wrap:has(.hero-field) .hero-description{max-width:480px}}
@media(max-width:760px){
 .hero.wrap:has(.hero-field){padding-top:148px;padding-inline:22px;padding-bottom:72px;min-height:0}
 .hero-field{inset:0;height:auto;opacity:.75}
 .hero-field .hero-flow-background{display:block}
 /* Keep the complete wide scene in the hero background, outside document flow. */
 .hero-video{inset:auto 0;top:46%;height:auto;transform:translateY(-46%);object-fit:contain;mix-blend-mode:darken;mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 80%,transparent)}
 .hero.wrap:has(.hero-field) h1{font-size:34px;max-width:550px}
}
@media(max-width:370px){.hero.wrap:has(.hero-field) h1{font-size:31px}.hero.wrap:has(.hero-field){padding-inline:19px}}
