:where(.mm-site) .photo-hero{position:relative;isolation:isolate;background:var(--mm-inverse-bg);color:var(--mm-inverse-text);--mm-text:var(--mm-inverse-text);--mm-muted:var(--mm-inverse-text);--mm-focus:var(--mm-accent);margin-top:calc(-1 * var(--mm-header-measured));padding-top:var(--mm-header-measured);min-height:var(--mm-photo-hero-min-height);display:flex;flex-direction:column}
:where(.mm-site) .photo-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--photo-focus);z-index:-2}
:where(.mm-site) .photo-hero-shade{position:absolute;inset:0;z-index:-1;background:var(--mm-photo-hero-overlay)}
:where(.mm-site) .photo-hero-inner{flex:1;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,calc(var(--mm-photo-hero-copy-start) - var(--mm-header-measured) - var(--mm-space-md))) auto;align-content:start;justify-items:start;align-items:start;padding-block:var(--mm-space-md) var(--mm-space-xl)}
:where(.mm-site) .photo-hero-copy{grid-row:2;margin-top:0;padding-top:0;max-width:min(100%,var(--mm-photo-hero-text-width))}
:where(.mm-site) .photo-hero-copy h1{margin:var(--mm-space-sm) 0 var(--mm-space-md)}
:where(.mm-site) .photo-hero-copy .lead{max-width:var(--mm-photo-hero-lead-width);margin:0 0 var(--mm-space-lg)}
@media(max-width:760px){:where(.mm-site) .photo-hero{min-height:0}
:where(.mm-site) .photo-hero-image{object-position:var(--photo-focus-mobile)}
:where(.mm-site) .photo-hero-shade{background:var(--mm-photo-hero-mobile-overlay)}
:where(.mm-site) .photo-hero-inner{display:flex;flex-direction:column;align-items:flex-start;padding-top:var(--mm-space-2xl);padding-bottom:var(--mm-space-xl)}
:where(.mm-site) .photo-hero:not(.photo-hero--text){min-height:var(--mm-photo-hero-min-height)}
:where(.mm-site) .photo-hero-copy{padding-top:var(--mm-space-md);margin-top:0}
}
@media(max-width:760px){:where(.mm-site) .photo-hero.has-large-text .photo-hero-inner{width:calc(100% - 2 * var(--mm-p-space1))}
}
@media(min-width:761px){:where(.mm-site) .photo-stage{margin-top:calc(-1 * var(--mm-header-measured));min-height:var(--mm-photo-stage-min-height);display:flex;flex-direction:column}
:where(.mm-site) .photo-stage>.photo-hero{margin-top:0;flex:1 0 auto}
:where(.mm-site) .photo-hero--area>.photo-hero-inner{padding-bottom:var(--mm-photo-hero-menu-content-space)}
}
@media(max-width:760px){:where(.mm-site) .photo-hero--text:not(.photo-hero--area) .photo-hero-inner{padding-top:calc(var(--mm-photo-hero-mobile-image) + var(--mm-space-sm))}
}
:where(.mm-site) .photo-hero[data-hero-tone=light]{background:var(--mm-photo-hero-light-bg);color:var(--mm-photo-hero-light-text);--mm-text:var(--mm-photo-hero-light-text);--mm-muted:var(--mm-photo-hero-light-muted);--mm-focus:var(--mm-photo-hero-light-focus)}
:where(.mm-site) .photo-hero--area>.area-nav--floating{order:1}
@media(max-width:760px){:where(.mm-site) .photo-hero--text.photo-hero--area>.area-nav--floating{order:-1;margin-top:calc(var(--mm-photo-hero-mobile-image) - var(--mm-area-nav-mobile-overlap));margin-bottom:0;flex-shrink:0}
:where(.mm-site) .photo-hero--text.photo-hero--area>.photo-hero-inner{padding-top:var(--mm-space-sm)}
}
@media(max-width:768px){:where(.mm-site) .photo-hero--area:not(.photo-hero--text)>.area-nav--floating{--photo-menu-left:var(--mm-gutter);--photo-menu-right:max(var(--mm-gutter),calc(var(--mm-sd-size) + max(var(--mm-sd-mobile-inset),env(safe-area-inset-right)) + var(--mm-space-xs)));width:calc(100% - var(--photo-menu-left) - var(--photo-menu-right));max-width:none;margin-left:var(--photo-menu-left);margin-right:var(--photo-menu-right)}
:where(.mm-site) .photo-hero--area.has-large-text:not(.photo-hero--text)>.area-nav--floating{--photo-menu-left:var(--mm-p-space1);padding-inline:var(--mm-p-space1)}
}
