/* Integrated operations hero: keep warehouse activity visible above the copy. */
main.is-home .hero {
  height: calc(100vh - var(--masthead-height, 80px));
  height: calc(100dvh - var(--masthead-height, 80px));
  min-height: 0;
  background: #071a32;
}
main.is-home .hero-art {
  background-image: url('/assets/hero-refined-inbound-v4-20260908.webp');
  background-position: right bottom;
  background-size: cover;
  animation: none;
  transform: none;
}
main.is-home .hero::before {
  background: linear-gradient(90deg, rgba(3,17,36,.82) 0%, rgba(3,17,36,.60) 24%, rgba(3,17,36,.14) 48%, transparent 68%);
}
main.is-home .hero-copy {
  height: 100%;
  min-height: 0;
  justify-content: flex-end;
  padding-top: clamp(64px, 12dvh, 150px);
  padding-bottom: clamp(64px, 6vw, 104px);
}
#main.is-home .hero h1 {
  font-size: clamp(32px, 3vw, 50px);
  line-height: 1.3;
}
@media (min-width: 1025px) and (max-aspect-ratio: 3/2) {
  main.is-home .hero-copy { justify-content: flex-start; padding-top: 56px; }
}
@media (max-width: 1024px) {
  main.is-home .hero { display: block; }
  main.is-home .hero::before {
    display: block;
    background: linear-gradient(180deg, rgba(3,17,36,.76), rgba(3,17,36,.48) 28%, rgba(3,17,36,.05) 62%, transparent);
  }
  main.is-home .hero-copy {
    width: 100%;
    height: 100%;
    min-height: 0;
    justify-content: flex-start;
    padding: clamp(32px, 7dvh, 72px) 24px 32px;
  }
  main.is-home .hero-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    background-position: 52% bottom;
  }
  #main.is-home .hero h1 {
    font-size: clamp(25px, 4vw, 40px);
    line-height: 1.25;
    margin-block: 18px 24px;
  }
  main.is-home .hero .button { font-size: 14px; padding: 11px 16px; min-height: 44px; }
}
@media (min-width: 601px) and (max-width: 1024px) and (min-aspect-ratio: 6/5) {
  main.is-home .hero-art { background-position: right bottom; }
}
/* Compact landscape windows must keep the primary action inside the first screen. */
@media (max-height: 580px) and (min-width: 601px) {
  main.is-home .hero { display: block; }
  main.is-home .hero::before { display: block; }
  main.is-home .hero-copy { height: 100%; width: 61%; padding-block: 24px; }
  main.is-home .hero-art { position: absolute; inset: 0; height: 100%; width: 100%; background-position: right bottom; }
  #main.is-home .hero h1 { font-size: clamp(24px, 3.7vw, 36px); line-height: 1.2; margin-block: 16px 20px; }
}
