/* ── TABLET: 600px–1023px ── */
@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr clamp(240px, 30vw, 380px); gap: 2rem; }

  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { order: -1; max-width: 520px; margin: 0 auto; }
  .about-img-wrap::after { display: none; }

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

  .experience-inner { grid-template-columns: 1fr; }
  .experience-poster { max-width: 360px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--c-ridge); }
  .stat-item:nth-child(2),
  .stat-item:last-child { border-bottom: none; }

  .contact-grid { grid-template-columns: 1fr; }

  .gallery-grid { columns: 2; }
}

/* ── TABLET: byc grids ── */
@media (max-width: 1023px) {
  .byc-fade-grid { grid-template-columns: repeat(2, 1fr); }
  .byc-addon-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── MOBILE: <600px ── */
@media (max-width: 599px) {
  :root {
    --nav-h: 56px;
    --sp-xl: 4.5rem;
    --sp-lg: 3rem;
  }

  /* Nav */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo-text { display: none; }
  .nav-right .live-status-pill { display: none; }

  /* Sticky bar — always in flex layout on mobile, visibility via opacity/transform */
  #sticky-call-bar { display: flex; pointer-events: none; }
  #sticky-call-bar.bar-visible { pointer-events: auto; }

  /* Hero */
  .hero-bg { background-attachment: scroll; }
  .hero-content { padding-left: 1rem; padding-right: 1rem; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-logo-wrap { order: -1; justify-content: center; }
  .hero-logo-img { width: clamp(160px, 44vw, 260px); }
  .hero-text { text-align: center; }
  .hero-lat, .hero-rating, .hero-ctas { justify-content: center; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-title-mr, .hero-title-bs { text-align: center; }
  .hero-precision { letter-spacing: 0.1em; text-align: center; }
  .scroll-indicator { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .cut-options { flex-direction: column; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Gallery */
  .gallery-grid { columns: 1; }

  /* Reviews carousel */
  .review-card { min-width: calc(100vw - 3rem); }

  /* Footer */
  footer { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); } /* space for sticky bar + notch */

  /* Experience */
  .experience-bg { background-attachment: scroll; }
  .experience-pillars { flex-direction: column; align-items: center; gap: 1.5rem; }
  .experience-divider { width: 60px; height: 1px; }
  .experience-pillar p { max-width: 260px; }

  /* Posters — full horizontal scroll, no vertical */
  .posters-scroll {
    justify-content: flex-start;
    padding-left: 1.2rem;
  }
  .poster-card { width: 78vw; }
  .poster-card-label { opacity: 1; transform: translateY(0); }

  /* FAQ */
  .faq-list { padding: 0 0.25rem; }

  /* Video lightbox nav */
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }

  /* ── MOBILE PERFORMANCE ── lighten GPU-heavy effects */
  /* Drop-shadow: blur radius is the expensive part — halve it */
  .hero-logo-img       { filter: drop-shadow(0 0 22px rgba(200,16,46,0.55)); }
  .hero-logo-img:hover { filter: drop-shadow(0 0 30px rgba(200,16,46,0.75)); }

  /* Backdrop blur is costly per-pixel on mobile GPUs — reduce radius */
  .nav-scrolled,
  .mobile-menu,
  .byc-panel,
  .gallery-lightbox-caption {
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
  }

  /* Aurora canvas is disabled via JS on mobile — hide the element too */
  #aurora-canvas { display: none; }

  /* Snow particles disabled via JS, but hide any that leaked through */
  .snowflake { display: none; }

  /* Grain overlay: reduce opacity to lighten composite cost */
  body::after { opacity: 0.018; }

  /* Disable hero-red-glow pulse animation on mobile (static rendering is cheaper) */
  .hero-red-glow { animation: none !important; }

  /* Disable logo float loop */
  .hero-logo-img { animation: none !important; }

  /* Barbershop pole spinning stripes — disable on mobile */
  .barber-pole { animation: none !important; }
}

/* ── NARROW: <400px (iPhone SE 375px, small Android) ── */
@media (max-width: 400px) {
  .hero-ctas .btn { padding: 0.7rem 1.2rem; font-size: 0.7rem; }
  .lightbox-img   { max-width: 96vw; }
  .byc-fade-grid  { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .byc-addon-grid { grid-template-columns: 1fr; }
}

/* ── WIDE: 1440px+ ── */
@media (min-width: 1440px) {
  :root { --max-w: 1460px; }
  .gallery-grid { columns: 4; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-inner { animation: none; }
  .scroll-chevron { animation: none; }
}
