/* Mobile hero and touch usability only. All desktop rules remain unchanged. */
@media screen and (max-width: 760px) {
  body.home-page .hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background: #102f46;
    border-bottom: 0;
  }
  body.home-page .hero-background { display: block; opacity: .32; z-index: -2; }
  body.home-page .hero::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(9, 31, 46, .08) 0%, rgba(9, 31, 46, .28) 43%, #102f46 100%),
      linear-gradient(90deg, rgba(9, 31, 46, .94) 0%, rgba(9, 31, 46, .72) 48%, rgba(9, 31, 46, .66) 100%),
      url("/media/hero-stepan-approved-cutout-dad89fc887-960.webp") calc(100% + 98px) 0 / 500px auto no-repeat;
  }
  body.home-page .july-hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    width: calc(100% - 40px);
    max-width: 520px;
    min-height: 0;
    padding-block: 38px 36px;
    gap: 0;
  }
  body.home-page .july-hero-copy { display: contents; color: #fff; }
  body.home-page .july-hero-copy > .eyebrow {
    color: #c7e9ff;
    font-size: 11px;
    line-height: 1.65;
    margin-bottom: 22px;
  }
  body.home-page .july-hero-copy h1 {
    color: #fff;
    font-size: clamp(28px, 7.3vw, 39px);
    font-weight: 650;
    line-height: 1.18;
    letter-spacing: -.04em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .16);
  }
  body.home-page .july-hero-copy .hero-accent { color: #c7e9ff; }
  body.home-page .july-hero-portrait { display: none; }
  body.home-page .july-hero-actions .button-primary {
    grid-row: 3;
    margin-top: 26px;
    min-height: 52px;
    background: #0070ca;
    color: #fff;
    border-color: #0070ca;
  }
  body.home-page .july-hero-statement cite {
    grid-row: 4;
    margin: 26px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #d4e8f5;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
  }
  body.home-page .july-hero-statement p {
    grid-row: 5;
    margin-top: 12px;
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
  }
  body.home-page .july-hero-copy .button-secondary {
    grid-row: 6;
    width: 100%;
    justify-content: center;
    min-height: 50px;
    margin-top: 24px;
    padding: 12px 16px;
    border: 1px solid #aacbdf;
    border-radius: var(--button-radius, 8px);
    background: rgba(10, 35, 52, .22);
    color: #fff;
    font-size: 15px;
    text-decoration: none;
  }
  body.home-page .july-hero-copy .button-secondary:focus-visible {
    outline-color: #fff;
    outline-offset: 4px;
  }
}
@media screen and (max-width: 360px) {
  body.home-page .july-hero-shell { width: calc(100% - 32px); padding-top: 30px; }
  body.home-page .hero::before {
    background-position: center, center, calc(100% + 104px) 0;
    background-size: auto, auto, 470px auto;
  }
}
