/* A single mobile hero: the photograph sits behind the content with a
   continuous cream-to-photo fade. Desktop retains its original treatment. */
@media (max-width: 950px) {
  .hero {
    --mobile-photo-height: clamp(340px, 58vw, 440px);
    display: block;
    min-height: 0;
    background: #f5f1ea;
  }
  .hero-content.wrap {
    width: calc(100% - 64px);
    max-width: 680px;
    padding-block: 40px calc(var(--mobile-photo-height) - 80px);
    transform: none;
    will-change: auto;
  }
  .hero-image {
    position: absolute;
    inset: auto 0 0;
    display: block;
    width: 100%;
    height: var(--mobile-photo-height);
    z-index: 0;
    object-fit: cover;
    object-position: right center;
    transform: none;
    will-change: auto;
  }
  .hero-shade {
    display: block;
    inset: auto 0 0;
    height: var(--mobile-photo-height);
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg,
      #f5f1ea 0%, #f5f1ea 8%,
      rgba(245, 241, 234, .96) 18%,
      rgba(245, 241, 234, .72) 32%,
      rgba(245, 241, 234, .26) 48%,
      rgba(245, 241, 234, 0) 65%);
  }
  .hero .eyebrow { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(2.2rem, 5.2vw, 3rem); }
  .hero-copy, .hero-support { max-width: 600px; }
  .hero-benefits { margin-top: 24px; }
  .motion-enabled .hero-content > .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 540px) {
  .header { min-height: 68px; padding: 10px 20px; gap: 12px; }
  .header .brand { gap: 9px; }
  .header .brand img { width: 62px; height: 36px; }
  .header .brand > span { font-size: .9rem; }
  .menu-toggle { flex: none; }
  .hero { --mobile-photo-height: clamp(320px, 82vw, 400px); }
  .hero-content.wrap { width: calc(100% - 40px); padding-block: 28px calc(var(--mobile-photo-height) - 80px); }
  .hero .eyebrow {
    font-size: .6rem;
    line-height: 1.5;
    letter-spacing: .055em;
    gap: 0;
    margin-bottom: 16px;
  }
  .hero .eyebrow::after { display: none; }
  .hero h1 {
    font-size: clamp(1.8rem, 8.5vw, 2.75rem);
    line-height: 1.09;
    letter-spacing: -.045em;
    margin-bottom: 16px;
  }
  .hero-support { font-size: .96rem; line-height: 1.45; margin-bottom: 10px; }
  .hero-copy { font-size: .9rem; line-height: 1.55; margin-bottom: 20px; }
  .hero .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero .button { min-width: 0; min-height: 48px; padding: 11px 10px; font-size: .78rem; }
  .hero-benefits { width: 100%; max-width: none; margin-top: 22px; }
  .hero-benefit { min-width: 0; padding-inline: 4px; font-size: .65rem; line-height: 1.35; }
  .hero-benefit svg { width: 26px; height: 28px; margin-bottom: 7px; }
  .hero-benefit + .hero-benefit::before { top: 6px; bottom: 2px; }
}

@media (max-width: 360px) {
  .header { padding-inline: 16px; }
  .header .brand { gap: 7px; }
  .header .brand img { width: 54px; }
  .header .brand > span { font-size: .84rem; }
  .hero-content.wrap { width: calc(100% - 32px); padding-top: 24px; }
  .hero .eyebrow { font-size: .55rem; }
  .hero .button { font-size: .72rem; padding-inline: 7px; }
  .hero-benefit { font-size: .59rem; }
}
