/* The header and hero share one viewport. Other page sections keep their width. */
:root { --cp-top-height: 112px; }
body:has(.cp-hero) > .header { max-width: none; padding-inline: 4%; }
.cp-hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--cp-top-height));
  min-height: calc(100dvh - var(--cp-top-height));
}
.cp-hero > .container {
  flex: 1;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding-block: clamp(28px, 5vh, 64px);
}
.cp-hero-copy { width: 55%; }
.cp-hero h1 {
  max-width: 100%;
  font-size: clamp(48px, min(5.2vw, 9.4vh), 112px);
}
.cp-hero-copy > p {
  max-width: 540px;
  font-size: clamp(16px, 1.1vw, 21px);
}
.cp-hero-picture { right: 0; width: 52%; }
.cp-hero-picture img { object-position: 60% center; }
.cp-hero-picture strong {
  right: 5%;
  top: 5%;
  font-size: clamp(20px, 1.6vw, 31px);
}
.cp-ticker { flex: none; min-height: 42px; }
.mobile-menu { top: var(--cp-top-height); }

@media (min-width: 901px) and (max-height: 740px) {
  .cp-hero > .container { padding-block: 22px; }
  .cp-hero .eyebrow { margin-bottom: 14px; }
  .cp-hero h1 { font-size: clamp(42px, min(5vw, 9vh), 68px); margin-bottom: 18px; }
  .cp-hero-copy > p { margin-bottom: 18px; font-size: 15px; }
  .cp-uses { margin-bottom: 20px; }
}

@media (max-width: 900px) {
  .cp-hero > .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 22px;
    padding-bottom: 0;
  }
  .cp-hero-copy { width: 100%; flex: none; }
  .cp-hero h1 { font-size: clamp(37px, 7vw, 63px); }
  .cp-hero-copy > p { font-size: 16px; }
  .cp-hero-picture {
    flex: 1;
    width: 100%;
    min-height: 230px;
    height: auto;
    margin-top: 22px;
  }
  .cp-hero-picture img {
    position: absolute;
    inset: 0;
    object-position: center;
  }
  .cp-hero-picture strong { font-size: 22px; }
}

@media (max-width: 600px) {
  .cp-hero > .container { padding-top: 16px; }
  .cp-hero h1 { font-size: clamp(32px, 8.8vw, 48px); margin-bottom: 16px; }
  .cp-hero-copy > p { font-size: 14px; margin-bottom: 18px; }
  .cp-hero .eyebrow { margin-bottom: 13px; }
  .cp-uses { margin-bottom: 19px; }
  .cp-hero-picture { min-height: 190px; margin-top: 18px; }
  .cp-hero-picture strong { font-size: 18px; }
  .cp-ticker { min-height: 34px; padding-block: 9px; }
}
