/* Shared masthead for Profile, Contact Us and Become a Distributor. */
.profile-hero {
  position:relative;isolation:isolate;overflow:hidden;display:grid;align-items:end;
  min-height:clamp(350px,34vw,566px);background:#272422;color:white;
  --masthead-gutter:clamp(22px,6.5vw,112px);
}
.profile-cover {position:absolute;inset:0;z-index:-2}
.profile-cover picture,.profile-cover img {display:block;width:100%;height:100%}
.profile-cover img {object-fit:cover;object-position:58% 46%}
.profile-hero::after {
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,#101213db 0%,#15131182 40%,transparent 71%),linear-gradient(0deg,#15121169,transparent 32%);
}
.profile-hero .profile-masthead {
  width:min(1312px,calc(100% - 2 * var(--masthead-gutter)));margin-inline:auto;
  display:flex;justify-content:space-between;align-items:end;gap:20px;
  padding-block:115px clamp(27px,3.6vw,58px);
}
.profile-masthead h1 {
  min-width:0;margin:0 0 0 -.045em;color:#fff;
  font:italic 400 var(--masthead-type,clamp(5.8rem,13vw,13.3rem))/.91 Georgia,"Times New Roman",serif;
  letter-spacing:-.07em;text-shadow:0 3px 26px #19151250;
}
.contact-hero {--cover-edge:url("contact-cover.webp")}
.partner-hero {--cover-edge:url("distributor-cover.webp")}
.contact-hero::before,.partner-hero::before {
  content:"";position:absolute;z-index:-3;inset:0;background:var(--cover-edge) center top/100% 360% no-repeat;filter:blur(10px);
}
.contact-hero .profile-cover,.partner-hero .profile-cover {
  top:clamp(38px,3.8vw,58px);mask-image:linear-gradient(to bottom,transparent,#000 24px);
}
.partner-hero {--masthead-type:clamp(4.5rem,7.65vw,8.6rem)}
.partner-hero h1 span {display:inline-block}
.profile-scroll {display:grid;place-items:center;width:46px;height:46px;flex:none;border:1px solid #ffffffab;border-radius:50%;color:white;background:#17161466;text-decoration:none;transition:background .2s}
.profile-scroll:hover {background:#9a391e}
.profile-scroll svg {width:23px;height:23px}
@keyframes profile-reveal {from {opacity:.15;transform:translateY(15px)} to {opacity:1;transform:none}}
@keyframes profile-photo-pan {from {transform:scale(1.035)} to {transform:none}}
@media (prefers-reduced-motion:no-preference) {
  .profile-masthead h1 {animation:profile-reveal .65s ease-out both}
  .profile-cover img {animation:profile-photo-pan 1.5s ease-out both}
}
@media (max-width:800px) {
  .profile-hero {--masthead-gutter:clamp(20px,5vw,40px)}
}
@media (max-width:640px) {
  .profile-hero {min-height:clamp(302px,70vw,380px)}
  .profile-cover img {object-position:64% 48%}
  .profile-hero .profile-masthead {padding-bottom:22px}
  .profile-masthead h1 {max-width:calc(100% - 60px)}
  .contact-hero {--cover-edge:url("contact-cover-phone.webp");--masthead-type:clamp(2.9rem,14.8vw,6rem)}
  .partner-hero {--cover-edge:url("distributor-cover-phone.webp");--masthead-type:clamp(2.9rem,13.2vw,5.2rem)}
  .contact-hero .profile-cover,.partner-hero .profile-cover {top:54px}
  .partner-hero h1 span {display:block}
}
@media print {
  .profile-cover,.profile-scroll,.profile-hero::after,.profile-hero::before {display:none}
  .profile-hero {min-height:0;background:white}
  .profile-hero .profile-masthead {width:100%;padding:0}
  .profile-masthead h1 {color:black;animation:none}
}
