/* ============================================
   Ace & Breathe — Responsive
   Mobile-first breakpoints
   ============================================ */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  :root {
    --gutter: 32px;
    --s-9: 96px;
  }

  .nav-links { gap: var(--s-5); }

  .philosophy-cards {
    grid-template-columns: 1fr;
    gap: var(--s-3);
    max-width: 600px;
  }

  .retreats-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .retreat-card.featured { order: -1; }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .stats-lede { max-width: 100%; }

  .founders-grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .founders-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  .founder-quote {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: var(--s-4);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  .gi-wide { grid-column: span 2; }
  .gi-tall { grid-row: span 2; }

  .sp-dates {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card { width: 360px; }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  :root {
    --gutter: 24px;
    --s-7: 56px;
    --s-8: 72px;
    --s-9: 80px;
  }

  body { font-size: 16px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { min-height: 100svh; }
  .hero-content { padding: var(--s-7) var(--gutter) var(--s-6); }
  .hl-line { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .hl-sub-line { font-size: clamp(1.125rem, 4vw, 1.5rem); }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions > * { width: 100%; justify-content: center; }
  .hero-secondary-link { width: auto !important; }
  .hero-meta-top { padding: var(--s-5) var(--gutter) 0; }
  .hmt-label { font-size: 9px; }
  .hero-meta-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-3);
    padding: 0 var(--gutter) var(--s-4);
  }
  .hmb-left { gap: 8px; font-size: 13px; }
  .hmb-pub { font-size: 13px; }
  .hmb-right { width: 100%; justify-content: space-between; }
  .hero-scroll { display: none; }
  .hero-letterbox-top, .hero-letterbox-bottom { display: none; }

  .section-title {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }
  .section-eyebrow { margin-bottom: var(--s-3); }

  .philosophy-statement p {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
  }
  .philo-card { padding: var(--s-5) var(--s-4); }
  .philo-title { font-size: 1.75rem; }

  .journey-step {
    grid-template-columns: 48px 1fr;
    gap: var(--s-4);
  }
  .js-title { font-size: 1.5rem; }
  .js-desc { font-size: 15px; }

  .stat-number { font-size: 2.75rem; }
  .stat-card { padding: var(--s-4); }

  .testimonial-card { width: 300px; }
  .tquote-text { font-size: 1.125rem; }

  .founders-content { max-width: 100%; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: var(--s-1);
  }
  .gi-wide { grid-column: span 2; }
  .gi-tall { grid-row: span 2; }

  .final-cta { min-height: 70vh; min-height: 70dvh; }
  .final-cta-title { font-size: clamp(2rem, 7vw, 3rem); }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-5);
  }
  .footer-meta { text-align: left; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }

  /* Stepper */
  .stepper { border-radius: var(--radius-md); }
  .stepper-track { padding: var(--s-4) var(--s-4); }
  .stepper-panes { padding: var(--s-4); }
  .stepper-nav { padding: var(--s-3) var(--s-4); }
  .stepper-nav .btn { flex: 1; }
  .sp-dates { grid-template-columns: 1fr 1fr; }
  .sf-row { grid-template-columns: 1fr; }
  .spc-summary { min-width: 0; width: 100%; }
  .stepper-step .ss-label { display: none; }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }

  .hl-line { font-size: 2rem; }
  .hl-sub-line { font-size: 1rem; }
  .hero-eyebrow { font-size: 10px; padding: 6px 14px; }
  .hmt-label { display: none; }
  .hmb-left { font-size: 12px; }
  .hmb-pub { font-size: 12px; }

  .section-title { font-size: 1.75rem; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .sp-dates { grid-template-columns: 1fr; }

  .testimonial-card { width: 260px; }

  .mobile-links a { font-size: 1.75rem; }
}

/* Large screens (≥ 1600px) */
@media (min-width: 1600px) {
  :root {
    --container: 1440px;
  }
  body { font-size: 19px; }
}
