/* The original wide image includes dark negative space for the copy. */
body.home #main { background: #000; }
.ms-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: min(100%, 1680px);
  margin-inline: auto;
  min-height: clamp(610px, 52vw, 750px);
  overflow: hidden;
  background: #000;
}
.ms-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #000 0%, #000 13%, #000e 28%, #0007 42%, transparent 64%);
  content: '';
  pointer-events: none;
}
.ms-hero-copy {
  position: relative;
  z-index: 2;
  width: min(53%, 720px);
  padding: 70px 24px 80px clamp(32px, 6.5vw, 120px);
}
.ms-hero h1 { max-width: none; margin: 0; font-size: clamp(58px, 5.2vw, 86px); line-height: .98; }
.ms-hero h2 { max-width: 470px; margin: 23px 0 0; font-size: clamp(34px, 3.2vw, 50px); line-height: 1.03; }
.ms-hero p { max-width: 500px; margin: 24px 0 0; font-size: 18px; line-height: 1.45; }
.ms-hero-copy .ms-button { margin-top: 31px; min-height: 58px; }
.ms-hero-picture {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 12%;
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
}
.ms-hero-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

@media (max-width: 800px) {
  .ms-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .ms-hero::after { display: none; }
  .ms-hero-copy { width: 100%; padding: 46px 24px 20px; }
  .ms-hero h1 { font-size: clamp(50px, 10vw, 68px); }
  .ms-hero h2 { max-width: 660px; font-size: clamp(32px, 6vw, 44px); }
  .ms-hero p { font-size: 18px; }
  .ms-hero-copy .ms-button { margin-top: 26px; }
  .ms-hero-picture { position: relative; inset: auto; width: 100%; height: clamp(320px, 70vw, 500px); min-height: 0; max-height: none; margin-top: 6px; }
  .ms-hero-picture img { object-fit: cover; object-position: 67% center; }
}

@media (max-width: 560px) {
  .ms-hero-copy { padding: 38px 22px 18px; }
  .ms-hero h1 { font-size: 49px; }
  .ms-hero h2 { margin-top: 18px; font-size: clamp(30px, 8vw, 38px); }
  .ms-hero p { margin-top: 17px; font-size: 17px; }
  .ms-hero-copy .ms-button { margin-top: 23px; }
  .ms-hero-picture { height: clamp(300px, 82vw, 410px); }
}
