/* ============ RESPONSIVE REFINEMENTS ============
   Mobile/tablet polish on top of the per-section breakpoints already in
   style.css — the glass mobile menu, tighter floating-nav spacing, and
   scaled-down 3D scene heights so the cinematic sections stay light on
   small screens. */

/* glass mobile menu — matches the frosted, rounded language of the new
   floating navbar instead of the old flat panel */
@media(max-width:980px) {
  .mmenu {
    background: linear-gradient(180deg, rgba(18, 61, 42, .97), rgba(18, 61, 42, .99));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px)
  }

  .nav {
    margin: 10px auto 0;
    border-radius: 18px
  }

  .brand img.brand-logo {
    height: 32px
  }
}

@media(max-width:480px) {
  .wrap {
    padding: 0 18px
  }

  main {
    padding-top: calc(88px + var(--ann-offset, 0px))
  }

  .hero {
    margin-top: calc(-88px - var(--ann-offset, 0px));
    padding-top: calc(88px + var(--ann-offset, 0px))
  }

  .nav {
    height: 60px
  }

  header.scrolled .nav {
    height: 56px
  }

  .hero-copy h1 {
    font-size: 34px
  }

  .hero-copy p {
    font-size: 15.5px
  }

  .dimension-section {
    padding: 64px 0
  }

  .dimension-three,
  .dimension-product-wrap {
    min-height: 260px
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px
  }
}

/* keep the cinematic sections from feeling oversized on tablets */
@media(max-width:820px) {
  .dimension-three,
  .dimension-product-wrap {
    min-height: 300px
  }

  .story-media-ph svg {
    width: 56px;
    height: 56px
  }
}
