/* Shared hero treatment. Keep this after styles.css and revision-2.css. */
:root {
  --hero-gutter: 24px;
  --hero-copy: min(440px, calc((100vw - var(--hero-gutter) * 2) * .44));
  --hero-edge: max(var(--hero-gutter), calc((100vw - var(--width)) / 2));
}
.page-index .hero,
.home-style-hero {
  background: #fff;
  isolation: isolate;
}
.page-index .hero .hero-inner,
.home-style-hero .inner-hero-inner {
  position: static;
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: inherit;
  height: 100%;
}
.page-index .hero {
  height: clamp(650px, 38vw, 760px);
  min-height: 650px;
}
.page-index .hero .hero-copy,
.home-style-hero .inner-copy {
  flex: none;
  width: var(--hero-copy);
  max-width: var(--hero-copy);
  margin: 0;
  padding: 48px 0 70px;
  text-align: left;
}
.page-index .hero .hero-copy h1,
.home-style-hero .inner-copy h1 {
  width: 100%;
  max-width: 100%;
  font-size: clamp(32px, 4.1vw, 57.3px);
  line-height: 1.06;
  overflow-wrap: normal;
  text-wrap: balance;
}
.page-index .hero .hero-copy > p,
.home-style-hero .inner-copy > p {
  width: 100%;
  max-width: 100%;
}
.page-index .hero .hero-copy .button,
.home-style-hero .inner-copy .button {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}
.page-index .hero .hero-visual,
.home-style-hero .inner-photo {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 calc(var(--hero-edge) + var(--hero-copy));
  width: auto;
  max-width: none;
  height: 100%;
  margin: 0;
  border-radius: 0;
  background: #fff;
  aspect-ratio: auto;
  clip-path: none;
  -webkit-mask: url("assets/hero-window.svg") 0 0 / 100% 100% no-repeat;
  mask: url("assets/hero-window.svg") 0 0 / 100% 100% no-repeat;
}
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-index .hero .hero-note-one {
  z-index: 1;
  left: calc(var(--hero-edge) + var(--hero-copy) + 36px);
  bottom: 22px;
}
.page-index .hero .hero-note-two {
  z-index: 1;
  right: clamp(24px, 4vw, 100px);
  bottom: 30px;
}
.page-index .hero .hero-leaves {
  left: calc(var(--hero-edge) - 45px);
  top: 30px;
}
.home-style-hero .inner-hero-inner { min-height: 680px; }
.home-style-hero .inner-note { right: clamp(24px, 4vw, 100px); bottom: 30px; }

/* The photo fades into the same white surface behind the existing right column. */
.page-index .about-band { background: #fff; height: auto; min-height: 500px; }
.page-index .about-band > .band-photo {
  position: absolute;
  inset: 0 calc(var(--hero-edge) + var(--hero-copy)) 0 0;
  width: auto;
  height: 100%;
  clip-path: none;
  -webkit-mask: linear-gradient(to right, #000 65%, #000 75%, transparent 100%);
  mask: linear-gradient(to right, #000 65%, #000 75%, transparent 100%);
}
.page-index .about-band .wrap { height: auto; min-height: inherit; }
.page-index .about-band .band-content {
  width: var(--hero-copy);
  min-height: inherit;
  height: auto;
  margin: 0 0 0 auto;
  padding: 48px 0;
  background: transparent;
}
.page-index .about-band .band-content::before { display: none; }
.page-index .about-band .band-content h2,
.page-index .about-band .band-content > p { max-width: 100%; }

@media (min-width: 2000px) {
  .page-index .hero,
  .page-index .hero .hero-inner { height: 760px; min-height: 760px; }
}
@media (min-width: 600px) and (max-width: 980px) {
  .page-index .hero .hero-copy > p:not(.eyebrow):not(.note),
  .home-style-hero .inner-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.5; }
  .page-index .hero .hero-copy .button,
  .home-style-hero .inner-copy .button,
  .page-index .about-band .band-content .button {
    font-size: 15px;
    gap: 10px;
    padding: 13px 14px;
    min-height: 54px;
  }
  .page-index .hero .hero-copy .button .icon,
  .home-style-hero .inner-copy .button .icon,
  .page-index .about-band .band-content .button .icon { flex-shrink: 0; width: 19px; }
  .page-index .hero .hero-note-one { display: none; }
  .page-index .hero .hero-note-two { font-size: 25px; }
  .page-index .about-band .band-content h2 { font-size: 30px; }
  .page-index .about-band .band-content > p { font-size: 16px; line-height: 1.5; }
  .home-style-hero .inner-note { position: absolute; margin: 0; font-size: 25px; }
}
@media (width: 600px) { :root { --hero-gutter: 20px; } }
@media (max-width: 599px) {
  :root { --hero-gutter: 20px; --hero-copy: min(100%, 440px); }
  .page-index .hero { height: auto; min-height: 0; }
  .page-index .hero .hero-inner,
  .home-style-hero .inner-hero-inner {
    position: relative;
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: 0;
  }
  .page-index .hero .hero-copy,
  .home-style-hero .inner-copy {
    order: 0;
    width: 100%;
    max-width: 440px;
    padding: 40px 0 24px;
    margin: 0 auto;
  }
  .page-index .hero .hero-copy h1,
  .home-style-hero .inner-copy h1 { font-size: clamp(38px, 9vw, 48px); }
  .page-index .hero .hero-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.55; }
  .page-index .hero .hero-visual,
  .home-style-hero .inner-photo {
    position: relative;
    inset: auto;
    order: 1;
    width: 100vw;
    height: clamp(300px, 76vw, 430px);
    margin: 0 calc(var(--hero-gutter) * -1);
    -webkit-mask: linear-gradient(to bottom, transparent, #000 18%) 0 0 / 100% 100% no-repeat;
    mask: linear-gradient(to bottom, transparent, #000 18%) 0 0 / 100% 100% no-repeat;
  }
  .page-index .hero .hero-note-one { display: none; }
  .page-index .hero .hero-note-two,
  .home-style-hero .inner-note {
    position: relative;
    inset: auto;
    order: 2;
    align-self: flex-end;
    margin: 14px 0 24px;
    font-size: 27px;
  }
  .page-index .about-band { display: flex; flex-direction: column; min-height: 0; }
  .page-index .about-band .wrap { order: 0; min-height: 0; }
  .page-index .about-band .band-content {
    width: 100%;
    max-width: 440px;
    min-height: 0;
    margin: 0 auto;
    padding: 40px 0 24px;
  }
  .page-index .about-band > .band-photo {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: 300px;
    -webkit-mask: linear-gradient(to bottom, transparent, #000 20%);
    mask: linear-gradient(to bottom, transparent, #000 20%);
  }
}
@media (max-width: 360px) { :root { --hero-gutter: 16px; } }
