/* Mobile hero: portrait and message share one editorial frame.
   These rules do not affect the desktop composition. */
@media (max-width: 900px) {
  .hero {
    min-height: calc(100svh - 10px);
    padding: 112px 20px 42px;
    display: flex;
    align-items: flex-start;
    isolation: isolate;
  }

  .hero-grid {
    z-index: 1;
    mask-image: none;
    opacity: .72;
  }

  .hero-visual {
    position: absolute;
    inset: 68px 0 0;
    width: 100%;
    height: auto;
    margin: 0;
    z-index: 0;
  }

  .hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(8,10,11,.32) 0%, rgba(8,10,11,.28) 48%, rgba(8,10,11,.96) 100%),
      linear-gradient(270deg, rgba(8,10,11,.98) 0%, rgba(8,10,11,.9) 43%, rgba(8,10,11,.48) 77%);
    pointer-events: none;
  }

  .hero-visual img { object-position: 34% center; opacity: .64; }

  .hero-copy {
    width: min(72%, 430px);
    margin-left: auto;
    padding: 0;
    z-index: 3;
  }

  .hero .eyebrow {
    justify-content: flex-start;
    font-size: 10px;
    line-height: 1.4;
    white-space: nowrap;
  }

  .hero .eyebrow span { width: 25px; }

  .hero h1 {
    font-size: clamp(42px, 12vw, 68px);
    line-height: .94;
    margin: 25px 0 28px;
  }

  .hero-lead {
    font-size: clamp(17px, 4.7vw, 21px);
    line-height: 1.48;
    color: #d7dbd9;
  }

  .hero-actions { margin-top: 28px; gap: 10px; }

  .hero .button {
    min-height: 50px;
    padding: 11px 16px;
    background: rgba(8,10,11,.72);
    backdrop-filter: blur(7px);
  }

  .hero .button.primary { background: var(--acid); }
  .visual-caption { display: none; }
}

@media (max-width: 520px) {
  .hero { min-height: 760px; }
  .hero-copy { width: 74%; }
  .hero h1 { letter-spacing: -.045em; }
}
