/* ==========================================================================
   Mobile usability pass (<= 920px)
   ========================================================================== */
html { scroll-padding-top: 96px; overflow-x: clip; }
body { overflow-x: clip; }
@media (min-width: 921px) { .swipe-hint { display: none; } .menu-meta { display: none; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

@media (max-width: 920px) {
  :root { --header-h: 68px; --text-display: clamp(2.1rem, 1rem + 4.6vw, 5.25rem); --text-h2: clamp(1.9rem, 1.1rem + 3vw, 3.75rem); }
  .brand img { height: 44px; }
  .nav-phone { padding: 12px; margin-right: -4px; }
  .topbar .container { min-height: 32px; }
  .topbar ul { gap: 14px; }
  .topbar a[href="#"] { display: none; }

  /* full-screen slide-in menu */
  .nav-toggle { position: relative; z-index: 2; }
  .nav-toggle span { margin: 0; position: absolute; left: 50%; top: 50%; translate: -50% -50%; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
  .nav-toggle span:nth-child(1) { transform: translateY(-7px); }
  .nav-toggle span:nth-child(3) { transform: translateY(7px); }
  .is-open .nav-toggle span:nth-child(1) { transform: rotate(45deg); }
  .is-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .is-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg); }
  .nav-collapse {
    display: grid !important; align-content: start; gap: 0;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; height: 100dvh; max-height: none;
    padding: calc(var(--header-h) + 32px + 16px) var(--gutter) 32px; background: var(--ink);
    clip-path: inset(0 0 0 100%); opacity: 0; visibility: hidden; overflow: auto;
    transition: clip-path 0.45s var(--ease-out), opacity 0.3s, visibility 0.45s;
  }
  .is-open .nav-collapse { clip-path: inset(0); opacity: 1; visibility: visible; }
  .nav-collapse::before { content: ""; position: absolute; right: -30%; top: -20%; width: 90vw; height: 90vw; border-radius: 50%; background: var(--red); opacity: 0.12; pointer-events: none; }
  .nav > li > a, .nav > li > button { font-size: 1.6rem; padding: 16px 4px; }
  .nav > li { opacity: 0; transform: translateX(24px); transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out); }
  .is-open .nav > li { opacity: 1; transform: none; }
  .is-open .nav > li:nth-child(1) { transition-delay: 0.08s; }
  .is-open .nav > li:nth-child(2) { transition-delay: 0.14s; }
  .is-open .nav > li:nth-child(3) { transition-delay: 0.2s; }
  .is-open .nav > li:nth-child(4) { transition-delay: 0.26s; }
  .is-open .nav > li:nth-child(5) { transition-delay: 0.32s; }
  .sub a { padding: 12px 12px; font-size: 1rem; }
  .nav-collapse .btn { margin-top: 24px; min-height: 56px; }
  .menu-meta { margin-top: 22px; display: grid; gap: 8px; color: rgba(255,255,255,0.7); font-size: 0.95rem; }
  .menu-meta a { color: var(--white); font-weight: 800; font-size: 1.2rem; }
  .site-header.is-open { background: var(--ink); }
  /* backdrop-filter/transform on the header would turn the fixed menu into a scrolling box; keep it clean on mobile */
  .site-header, .site-header.is-scrolled, .site-header.is-open { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transform: none !important; filter: none !important; }
  .site-header.is-scrolled { background: rgba(20,18,20,0.98); }
  .nav-collapse { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; z-index: 1; overflow-x: hidden; overflow-y: auto; }
  .nav-collapse::before { display: none; }
  .nav-collapse { background: radial-gradient(circle at 105% -5%, rgba(224,36,44,0.14) 0 42vw, transparent calc(42vw + 1px)), var(--ink); }
  .nav-collapse > * { max-width: 100%; }
  body.menu-open { position: fixed; width: 100%; overflow: hidden; }
  body.menu-open .site-header { position: fixed; top: 0; left: 0; right: 0; }
  .is-open .brand, .is-open .nav-actions { position: relative; z-index: 2; }

  /* hero */
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 28px); padding-bottom: 56px; }
  .hero .eyebrow { font-size: 0.8rem; letter-spacing: 0.14em; }
  .hero h1 { margin-top: 14px; }
  .hero .lead { margin-top: 16px; font-size: 1.05rem; }
  .hero-actions { margin-top: 24px; gap: 14px; }
  .hero-actions .btn { width: 100%; }
  .play-link { font-size: 1rem; }
  .play-btn { width: 46px; height: 46px; }
  .hero-proof { margin-top: 24px; gap: 8px 18px; font-size: 0.85rem; }

  /* sections tighter */
  .section { padding-block: 56px; }
  .section-head { margin-bottom: 28px; }
  .video-feature { min-height: 70vh; }
  .video-feature .container { padding-top: 160px; }
  .creed { padding: 12px 0; }

  /* programs: horizontal swipe cards */
  .age-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 20px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
  .age-grid::-webkit-scrollbar { display: none; }
  .age-card { flex: 0 0 84%; scroll-snap-align: start; }
  .age-card .figure { aspect-ratio: 4 / 3; }
  .age-card .body { padding: 18px 18px 22px; }
  .swipe-hint { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500); }
  .swipe-hint svg { width: 18px; height: 18px; animation: nudge 1.4s ease-in-out infinite; }
  .beyond { margin-top: 24px; }

  /* misc */
  .band-photo { width: min(78%, 360px); }
  .reel-grid { gap: 12px; }
  .master-figure { width: min(100%, 360px); }
  .mosaic { grid-auto-rows: 150px; gap: 10px; }

  /* footer: two columns for link lists */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer ul { gap: 8px; font-size: 0.95rem; }

  .btn { white-space: normal; text-align: center; max-width: 100%; }

  /* grids must not exceed the viewport */
  .cta-grid, .split, .why-grid, .master-grid, .faq-grid, .band-grid, .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-grid > *, .split > *, .why-grid > *, .master-grid > *, .faq-grid > *, .band-grid > * { min-width: 0; }
  .offer-list li, .check-list li { align-items: start; }

  /* compact floating bar */
  .mobile-cta { left: 0; right: 0; bottom: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(20,18,20,0.92); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,0.1); }
  .mobile-cta .bar { display: grid; grid-template-columns: 56px 1fr; gap: 8px; }
  .mobile-cta .btn { min-height: 48px; font-size: 1.05rem; box-shadow: none; }
  .mobile-cta .call { display: grid; place-items: center; min-height: 48px; border-radius: var(--radius); background: rgba(255,255,255,0.1); color: var(--white); }
  .mobile-cta .call svg { width: 22px; height: 22px; }
  .mobile-cta.is-hidden, body.menu-open .mobile-cta { display: none !important; }
  body { padding-bottom: 0; }
}
@media (max-width: 700px) { .mobile-cta.is-visible { display: block; } }

/* ---- tablet & small-screen grid safety (all widths) ---- */
@media (min-width: 1024px) { .beyond { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mini-card { min-width: 0; }
.mini-card > span { min-width: 0; }
.mini-card h4 { overflow-wrap: anywhere; }
@media (min-width: 760px) and (max-width: 1023px) {
  .beyond { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid, .benefit-grid, .benefit-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-grid .phone:nth-child(even) { translate: 0; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route { display: none; }
}
.contact-card > span { min-width: 0; overflow-wrap: anywhere; }
.contact-cards, .contact-grid > * { min-width: 0; }
.dots button { width: 28px; height: 28px; padding: 9px; background-clip: content-box; }
.dots { gap: 2px; }
@media (max-width: 420px) { .slider-nav { flex-wrap: wrap; gap: 12px; } }

@media (max-width: 480px) { .brand .brand-lockup { height: 38px; } .footer-brand .brand-lockup { height: 52px; } }

@media (max-width: 959px) { .split-media .main.portrait { aspect-ratio: 4 / 4.2; } }
