/* Sticky Squamatoes: compact phone layout (added Oct 2026).
   Only applies on screens 640px wide or less. To undo, delete this file
   and the <link rel="stylesheet" href="mobile.css"> line in index.html. */
@media (max-width: 640px) {
  html, body { overflow-x: hidden; }

  /* Top bar: logo on one line, menu pills scroll sideways underneath */
  nav { flex-wrap: wrap !important; padding: 8px 12px 6px !important; row-gap: 6px; }
  nav .logo-tagline { display: none !important; }
  nav .logo-img-wrap { width: 38px !important; height: 38px !important; }
  nav .logo-img-wrap img { width: 100% !important; height: 100% !important; }
  nav .logo-name { font-size: 1.15rem !important; }
  nav .nav-links { display: flex !important; order: 3; width: 100%; flex-wrap: nowrap !important; overflow-x: auto; gap: 8px !important; margin: 0 !important; padding: 2px 0 4px !important; justify-content: flex-start !important; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  nav .nav-links::-webkit-scrollbar { display: none; }
  nav .nav-links li { flex: 0 0 auto; margin: 0 !important; }
  nav .nav-links a { white-space: nowrap; font-size: 0.76rem !important; padding: 6px 12px !important; }
  nav .nav-links a .nav-icon { width: 16px; height: 16px; }

  /* Hero: shorter, proof points become small chips */
  .hero--v2 .hero-content { padding: 22px 16px 28px !important; }
  .hero-eyebrow { font-size: 0.95rem !important; margin-bottom: 4px !important; }
  .hero-title { font-size: 1.85rem !important; line-height: 1.1 !important; }
  .hero-lede { font-size: 0.92rem !important; margin: 8px 0 12px !important; }
  .hero-proof { flex-direction: row !important; flex-wrap: wrap; justify-content: center; gap: 6px !important; }
  .hero-proof li { padding: 6px 10px !important; font-size: 0 !important; flex: 0 0 auto !important; width: auto !important; border-radius: 999px !important; }
  .hero-proof li b { font-size: 0.78rem !important; }
  .paths { padding-top: 0 !important; margin-top: -24px !important; }
  .paths-title { font-size: 1.15rem !important; margin-bottom: 10px !important; }

  /* Less empty space between sections */
  section { padding-top: 28px !important; padding-bottom: 28px !important; }
  .section-sub { font-size: 0.9rem !important; margin-bottom: 14px !important; }
  h2 { font-size: 1.7rem !important; }

  /* "What are you here for" cards: icon beside text */
  .paths-grid { gap: 10px !important; }
  .path-card { padding: 14px 16px !important; display: grid !important; grid-template-columns: 52px 1fr; column-gap: 12px; align-items: center; text-align: left !important; }
  .path-card .path-emoji { grid-row: span 3; width: 52px !important; height: auto !important; margin: 0 !important; display: flex !important; flex-wrap: wrap; justify-content: center; gap: 2px; }
  .path-card .path-emoji svg { width: 40px !important; height: 40px !important; }
  .path-card .path-photos { grid-row: span 3; width: 52px !important; height: auto !important; margin: 0 !important; display: flex !important; flex-wrap: wrap; gap: 2px; }
  .path-card .path-photos > * { width: 24px !important; height: 24px !important; }
  .path-card .path-list { display: none !important; }
  .path-card .path-kit { grid-column: 1 / -1; font-size: 0.78rem !important; margin: 4px 0 !important; padding: 8px 10px !important; }
  .path-card h3 { font-size: 1.15rem !important; margin: 0 !important; }
  .path-card p { font-size: 0.82rem !important; margin: 2px 0 6px !important; grid-column: 2; }
  .path-card .path-kicker { font-size: 0.68rem !important; }
  .path-card .btn-pop { grid-column: 1 / -1; padding: 8px 14px !important; font-size: 0.85rem !important; margin-top: 4px; justify-self: start; }

  /* Shop, animals, and "why" grids: two per row */
  .merch-grid, .mm-grid, .why-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .merch-card .affiliate-image { height: 130px !important; min-height: 0 !important; }
  .merch-card .affiliate-body { padding: 10px 10px 12px !important; }
  .merch-card h3 { font-size: 0.9rem !important; line-height: 1.2 !important; margin-bottom: 2px !important; }
  .merch-card p { display: none !important; }
  .merch-card .merch-price { font-size: 0.95rem !important; margin: 2px 0 6px !important; }
  .merch-card .sq-btn { font-size: 0.7rem !important; padding: 7px 8px !important; width: 100%; margin-top: auto; letter-spacing: 0 !important; }
  .shop-group-head p { font-size: 0.85rem !important; }

  .mm-card-img { height: 140px !important; min-height: 0 !important; }
  .mm-card-img img { height: 140px !important; object-fit: cover; }
  .mm-card-body > * { margin-top: 2px !important; margin-bottom: 2px !important; }
  .mm-card-body { padding: 10px !important; }
  .mm-card-body h3 { font-size: 0.9rem !important; }
  .mm-card-morph, .mm-card-meta { font-size: 0.72rem !important; }
  .mm-card-price { font-size: 0.95rem !important; }
  .mm-card-btn { font-size: 0.68rem !important; padding: 6px 4px !important; line-height: 1.2 !important; margin-top: 6px !important; }

  .why-grid > * { padding: 12px !important; }
  .why-grid h3, .club-grid h3, .club-kits h3 { font-size: 0.95rem !important; }
  .why-grid p, .club-grid p, .club-kits p, .club-grid li, .club-kits li { font-size: 0.78rem !important; }
  .club-card { padding: 16px !important; }
  .club-card p, .club-card li { font-size: 0.85rem !important; }

  /* About: three photos in one row */
  .about-photo-trio { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 6px !important; }
  .about-photo-trio .about-photo { grid-column: auto !important; grid-row: auto !important; width: auto !important; aspect-ratio: auto !important; height: 150px !important; min-height: 0 !important; margin: 0 !important; transform: none !important; }
  .about-photo-trio .about-photo img, .about-photo-trio .about-photo video { width: 100% !important; height: 100% !important; object-fit: cover; }
  .about-text p { font-size: 0.9rem !important; }

  /* Social buttons: two per row */
  .social-buttons { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; }
  .social-buttons > * { margin: 0 !important; padding: 10px !important; font-size: 0.8rem !important; }
}
