/* ============================================================
   mobile.css — phone-only layer for the Anuksha & Aamir site
   Load AFTER style.css. Every rule lives inside a max-width
   query, so nothing above 700px changes.
   ============================================================ */

/* Mobile-only blocks are hidden by default so desktop is untouched */
.m-rsvp,
.m-details,
.m-strip-hint,
.m-lightbox,
.m-travel-pills,
.m-day-head { display: none; }

@media (max-width: 700px) {

  /* ── Nav: the 88px monogram no longer overflows a 62px bar ── */
  #nav { padding: 0 20px; }
  .nav-inner { height: 56px; }
  .nav-monogram { height: 48px; }
  .nav-greeting { display: block; font-size: 0.82rem; }

  /* ── Home hero: 62% of the screen, so the RSVP tile is visible ── */
  .hero { min-height: 62svh; padding-top: 56px; }
  .hero-inner { padding: 0 28px; }
  .hero-eyebrow { font-size: 0.66rem; margin-bottom: 18px; }
  .hero-names { font-size: 58px; line-height: 0.94; margin-bottom: 0; }
  .hero-names .amp { font-size: 28px; line-height: 1.5; }
  .hero .divider--center { margin: 18px auto; }
  .hero-venue { font-size: 0.69rem; letter-spacing: 0.16em; margin-bottom: 0; line-height: 1.7; }
  .hero-scroll { display: none; }

  /* ── Countdown: one compact line, directly under the hero ── */
  .countdown { padding: 14px 20px; }
  .countdown-inner { gap: 10px; }
  .cd-item { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
  .cd-num { font-size: 1.375rem; }
  .cd-label { margin-top: 0; font-size: 0.62rem; color: rgba(255,255,255,0.6); }

  /* ── RSVP tile: the first thing a guest can act on ── */
  .m-rsvp { display: block; background: #F0EAE0; padding: 20px 16px 22px; }
  .m-rsvp-card {
    background: rgba(248,245,242,0.97);
    border-radius: 4px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 30px rgba(8,13,11,0.14);
  }
  .m-rsvp-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; margin-bottom: 14px; }
  .m-rsvp-status {
    font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em;
    text-transform: uppercase; color: #B4573F;
  }
  .m-rsvp.is-done .m-rsvp-status { color: var(--sage-dark); }
  .m-rsvp-sub { font-size: 0.78rem; color: var(--latte); }
  .m-rsvp-btn {
    display: flex; align-items: center; justify-content: center;
    height: 52px; background: #2D6A4F; color: #fff; border-radius: var(--radius);
    font-size: 0.81rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  }
  .m-rsvp-btn:active { background: #1A4A2E; }

  /* ── Glimpse of Us: 116px thumbs that open the gallery ── */
  .photo-strip-section { padding: 26px 0 4px; }
  .photo-strip-header {
    text-align: left; padding: 0 20px; margin-bottom: 12px;
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  }
  .photo-strip-header .label,
  .photo-strip-header .divider { display: none; }
  .photo-strip-header .title-serif { font-size: 1.5rem; }
  .m-strip-hint {
    display: block; font-size: 0.69rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--cinna); white-space: nowrap;
  }
  .photo-strip-track { gap: 8px; padding: 0 20px 4px; }
  .photo-strip-item { flex: 0 0 116px; height: 116px; cursor: pointer; }
  .photo-strip-footer { display: none; }
  .photo-strip-item--zoom .photo-strip-image { transform: none; }
  .photo-strip-item--contain .photo-strip-image { object-fit: cover; }

  /* ── Details: the way into every other page ── */
  .m-details { display: block; padding: 28px 20px 36px; }
  .m-details-label {
    display: block; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.20em;
    text-transform: uppercase; color: var(--cinna); margin-bottom: 14px;
  }
  .m-details-row {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 60px; gap: 12px; border-top: 1px solid var(--border);
  }
  .m-details-row:last-child { border-bottom: 1px solid var(--border); }
  .m-details-row span { display: flex; flex-direction: column; gap: 2px; }
  .m-details-row em {
    font-family: var(--font-serif); font-style: normal;
    font-size: 1.19rem; color: var(--charcoal);
  }
  .m-details-row small { font-size: 0.72rem; color: var(--latte); }
  .m-details-row i { font-style: normal; color: var(--cinna); font-size: 1rem; }

  /* ── Full-screen gallery ── */
  .m-lightbox {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 700;
    background: #0d1210;
    opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
  }
  .m-lightbox.is-open { opacity: 1; pointer-events: auto; }
  .m-lb-top {
    height: 56px; flex-shrink: 0; display: flex; align-items: center;
    justify-content: space-between; padding: 0 8px 0 20px;
  }
  .m-lb-count {
    font-size: 0.69rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.55);
  }
  .m-lb-close {
    width: 44px; height: 44px; background: none; border: none;
    color: rgba(255,255,255,0.7); font-size: 1.1rem; cursor: pointer;
  }
  .m-lb-stage {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 0 12px; overflow: hidden;
  }
  .m-lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius); }
  .m-lb-bottom {
    flex-shrink: 0; padding: 16px 20px calc(28px + env(safe-area-inset-bottom));
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
  }
  .m-lb-nav {
    width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25); background: none;
    color: #fff; font-size: 0.94rem; cursor: pointer;
  }

  /* ── Interior page headers: 220px → 148px, centred as on desktop ── */
  .page-header {
    min-height: 148px; height: 148px; padding: 0 20px 16px;
    align-items: center; justify-content: flex-end; text-align: center;
  }
  .page-header::before {
    background: linear-gradient(to bottom, rgba(8,13,11,0.35) 0%, rgba(8,13,11,0.75) 100%);
  }
  .page-header .label { font-size: 0.62rem; margin-bottom: 4px; }
  .page-header .title-serif { font-size: 1.875rem; }
  .page-header .divider { display: none; }

  /* ── Schedule: RSVP block first, then day-grouped rows ── */
  .rsvp-bar { padding: 20px; }
  .rsvp-bar .container { padding: 0; }
  .rsvp-bar-inner--center { align-items: stretch; text-align: center; gap: 12px; }
  .rsvp-bar-right { width: 100%; }
  .btn-rsvp-now { width: 100%; height: 54px; font-size: 0.81rem; }

  .m-day-head { display: flex; align-items: center; gap: 12px; padding: 22px 20px 8px; }
  .m-day-head span {
    font-family: var(--font-serif); font-style: italic;
    font-size: 1.125rem; color: var(--charcoal); white-space: nowrap;
  }
  .m-day-head::after { content: ''; flex: 1; height: 1px; background: rgba(28,28,26,0.12); }

  .event-accordion .container { padding: 0 20px; }
  .event-acc-header { min-height: 64px; padding: 12px 0; align-items: center; }
  .event-acc-left-head { gap: 12px; align-items: center; min-width: 0; }
  .event-acc-num { color: var(--cinna); }
  .event-acc-name { font-size: 1.25rem; }
  .event-acc-title-wrap { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .event-acc-toggle { font-size: 1.25rem; width: 24px; }
  /* the date chip was hidden on phones — it is the one thing guests scan for */
  .event-acc-chip { display: inline-block; }
  .event-acc-grid { padding-bottom: 22px; gap: 16px; }
  .attire-inspo-grid { grid-template-columns: repeat(3, 96px); overflow-x: auto; }

  /* ── Travel: pills instead of a select, actions up top ── */
  /* The airport cards carry the numbers a guest is actually scanning for —
     drive time and distance. The prose under them is nice-to-have on a
     desktop and just length on a phone, so it drops out here. */
  .airport-note { display: none; }
  .timeline-nav { padding: 0; top: 56px; }
  .tl-select { display: none !important; }
  .m-travel-pills {
    display: flex; gap: 8px; padding: 12px 20px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .m-travel-pills::-webkit-scrollbar { display: none; }
  .m-travel-pill {
    display: flex; align-items: center; height: 40px; padding: 0 16px;
    border-radius: 50px; border: 1px solid #C3B5AC; color: var(--latte);
    font-size: 0.69rem; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; white-space: nowrap; background: none; cursor: pointer;
  }
  .m-travel-pill.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--froth); }

  .travel-main .section { padding: 36px 0; }
  .travel-main .container { padding: 0 20px; }
  .travel-main .title-serif { font-size: 1.625rem; }
  .travel-intro { font-size: 0.875rem; margin-bottom: 18px; }
  .airport-card { padding: 18px; background: #fff; }
  .airport-code { font-size: 1.875rem; }
  .map-cta { padding: 18px; }
  .map-cta .btn, .hotel-card .btn { display: flex; align-items: center; justify-content: center; height: 52px; padding: 0 16px; }
  .map-cta .btn-outline { margin-left: 0; margin-top: 8px; }

  /* ── Footers ── */
  .site-footer { padding: 36px 20px 40px; }
  .footer-couple { font-size: 1.75rem; }
}
