/* =========================================================
   Mobile-first responsive overrides
   Imported from style.css at the end so these win.
   Breakpoints: <480, <768, <1024
   ========================================================= */

/* ---------- Tablet (≤ 1024px) ---------- */
@media (max-width: 1024px) {
  :root {
    --content-pad: 12vw;
  }
}

/* ---------- Mobile (≤ 768px) ---------- */
@media (max-width: 768px) {
  :root {
    --content-pad: 1.25rem;
    --nav-width: 100%;
  }

  /* Nav becomes bottom horizontal strip */
  .nav {
    top: auto;
    bottom: 0;
    left: 0;
    transform: none;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 0.75rem 0;
    gap: 0;
    background: transparent;
    overflow-x: auto;
    white-space: nowrap;
  }
  .nav a {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    padding: 0 0.4rem;
  }

  /* Pages: replace left padding with bottom padding for bottom nav */
  .page {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 80px;
  }
  .page-header { flex-direction: column; align-items: flex-start; }
  .page-header .desc { align-self: flex-start; }

  /* Hero */
  .hero__name { font-size: clamp(3rem, 12vw, 5rem); }

  /* Horizontal strip — let touch swipe handle it natively */
  .hstrip { -webkit-overflow-scrolling: touch; }

  /* Lightbox stacks */
  .lightbox { flex-direction: column; overflow-y: auto; }
  .lightbox__img-wrap {
    flex: none;
    width: 100%;
    padding: 3.5rem 1rem 1rem;
  }
  .lightbox__img-wrap img { max-height: 55vh; }
  .lightbox__info {
    flex: none;
    width: 100%;
    padding: 1.5rem 1.5rem 4rem;
  }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
  .lb-prev { left: 1rem; }
  .lb-next { right: 1rem; }

  /* Albums landing — all cards stack full width */
  .albums-grid { gap: 0.75rem; }
  .album-card--feature,
  .album-card--pair-large,
  .album-card--pair-small,
  .album-card--wide,
  .album-card--third {
    flex: 0 0 100%;
    height: 28vh;
  }

  /* About — stack vertically, photo full width, quote normal size */
  .about {
    padding: 6vh 1.25rem 6vh;
  }
  .about__quote {
    max-width: 100%;
    text-align: left;
    font-size: clamp(1.5rem, 6vw, 2.25rem);
    margin-bottom: 3vh;
  }
  .about__portrait {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.5rem 0;
  }


  /* Booking — single column stack, scrollable */
  .booking {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100vh;
    padding: 3rem 1.25rem 80px;
    overflow: visible;
    gap: 2rem;
  }
  .booking__col { overflow: visible; }
  .booking iframe { height: 400px; }

  /* Touch targets */
  .bubble, .btn-pill, .nav a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ---------- Small mobile (≤ 480px) ---------- */
@media (max-width: 480px) {
  .masonry { column-count: 1; }
  .hero__sub { font-size: 0.7rem; letter-spacing: 0.15em; }
  .nav a { font-size: 0.6rem; letter-spacing: 0.12em; }
}
