/* ── RESPONSIVE ── */

@media (max-width: 1200px) {
  /* Gallery: 3 cols */
  .g-grid { grid-template-columns: repeat(3, 1fr); }
  /* Adjust span items for 3-col */
  .g-item:nth-child(9) { grid-column: span 1; }
}

@media (max-width: 1100px) {
  #hero { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  /* Blade steps: tighter on medium screens */
  .blade-steps { gap: 0; }
  .blade-step { padding: 0 1rem; }
}

@media (max-width: 900px) {
  /* Hero → single column stacked, strict 100svh so image + buttons share the frame */
  #hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    height: 100svh;
    min-height: unset;
    overflow: hidden;
  }
  .hero-shop-col {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: clamp(160px, 40vw, 240px);
    flex-shrink: 0;
    padding: calc(var(--nav-h) + 0.5rem) 2rem 0;
  }
  .hero-shop-img {
    height: 100%;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    object-position: center bottom;
  }
  .hero-content-col {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    overflow: hidden;
  }
  .hero-brand-legacy,
  .hero-brand-barbershop { font-size: clamp(4.5rem, 20vw, 8rem); }
  /* Stars: back in flow on mobile, no longer absolutely positioned */
  .hero-stars {
    position: static;
    justify-content: center;
    margin-bottom: 0.5rem;
  }
  .hero-desc { text-align: center; margin-left: auto; margin-right: auto; margin-bottom: 1.5rem; }
  .hero-scissors-divider { max-width: 340px; }
  .hero-pillars { justify-content: center; max-width: 380px; }
  .hero-cta-pill { align-self: center; }
  .hero-btn-row { justify-content: center; }
  .hero-scroll-hint { align-items: center; }
  .hero-desc { display: none; }
  .hero-scissors-divider { display: none; }
  .hero-corner-tl, .hero-corner-br {
    width: clamp(100px, 28vw, 180px);
    height: clamp(100px, 28vw, 180px);
  }

  /* Nav */
  .nav-links, .live-status-pill, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* Sticky call bar — starts off-screen, JS slides it in after hero exits */
  #sticky-call-bar {
    display: flex;
    transform: translateY(100%);
  }
  #sticky-call-bar.bar-visible {
    transform: translateY(0);
  }

  /* Grids → single col */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 0; align-items: start; }
  .about-img-frame { height: auto; padding-bottom: 3.5rem; }
  .about-img-wrap { height: auto; }
  .about-img-wrap img { height: auto; object-fit: cover; object-position: center center; }
  .about-content { border-left: none; border-top: 3px solid var(--red); padding-left: 0; padding-top: 1.5rem; }
  .about-img-frame::before,
  .about-img-frame::after { display: none; }
  .about-img-wrap { border-radius: var(--r-md); overflow: hidden; }
  .about-img-wrap::before { display: none; }
  /* Float card pops out below image */
  .about-float-card {
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
  }
  .ba-sliders { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-contact { text-align: center; }
  .footer-nav { justify-content: center; }
  .footer-bottom { justify-content: center; }

  /* Services menu — 3 columns on tablet */
  .svc-menu { grid-template-columns: repeat(3, 1fr); }
  .svc-col:nth-child(3) { border-right: none; }
  .svc-col:nth-child(4),
  .svc-col:nth-child(5) { border-top: 1px solid var(--surface-border); }
  .svc-col:nth-child(5) { border-right: none; }

  /* Cut builder */
  .cut-step-header { gap: 0.75rem; }
  .step-num { font-size: 2.2rem; }
  .cut-result { padding: 1.5rem; }
  .cut-result-cta { flex-direction: column; align-items: flex-start; }

  /* Gallery: 2 cols on tablet */
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .g-item:nth-child(11) { grid-row: span 1; }

  /* Blade: stack steps vertically */
  .blade-steps { flex-direction: column; align-items: center; }
  .blade-step { max-width: 360px; }
  .blade-step-div { transform: rotate(90deg); width: 80px; height: 32px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  /* Services menu — 2 columns on mobile */
  .svc-menu { grid-template-columns: repeat(2, 1fr); }
  .svc-col:nth-child(2) { border-right: none; }
  .svc-col:nth-child(3),
  .svc-col:nth-child(4),
  .svc-col:nth-child(5) { border-top: 1px solid var(--surface-border); }
  .svc-col:nth-child(3) { border-right: 1px solid var(--surface-border); }
  .svc-col:nth-child(4) { border-right: none; }
  .svc-col:nth-child(5) { grid-column: 1 / -1; border-right: none; }
  .byc-fade-grid { grid-template-columns: repeat(2, 1fr); }
  .byc-addon-grid { flex-direction: column; }
  .byc-actions { flex-direction: column; align-items: stretch; }
  .byc-call, .byc-copy { text-align: center; justify-content: center; }
  .stats-row { flex-direction: column; }
  .stat-item::before { display: none; }
  .stat-item { padding: 1.5rem 0; border-top: 1px solid var(--surface-border); }
  .stat-item:first-child { border-top: none; padding-top: 0; }
  .ba-slider { aspect-ratio: 4/5; }
  .review-card { flex: 0 0 calc(100vw - 3rem); }
  .hero-pillars { flex-wrap: wrap; gap: 0.5rem; }
  .hero-pillar + .hero-pillar { border-left: none; }
  .hero-pillar { min-width: calc(50% - 1rem); }
}

@media (max-width: 480px) {
  .hero-brand-legacy,
  .hero-brand-barbershop { font-size: clamp(3.8rem, 22vw, 5.5rem); }
  .hero-tagline { font-size: 0.6rem; letter-spacing: 0.18em; }
  .hero-cta-pill { font-size: 0.65rem; padding: 0.7rem 1.5rem; }
  .cut-step-title { font-size: 1.3rem; }
}
