/* ==========================================================================
   PHILHITCHCOCK.ROCKS — RESPONSIVE STYLESHEET
   Mobile-First & Breakpoint Adjustments
   ========================================================================== */

/* --- Tablet / Large Breakpoint (max-width: 1100px) --- */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .service-row {
    grid-template-columns: 60px 1.2fr 1.8fr 160px;
    padding: 1.75rem 0.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .editorial-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Medium Breakpoint / Mobile Navigation Activation (max-width: 860px) --- */
@media (max-width: 860px) {
  /* Toggle Nav Visibility */
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-cta .btn--header {
    display: none; /* Emphasize clean mobile header; CTA resides prominently in mobile nav & hero */
  }

  /* Hero Stacking */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
    width: 100%;
  }

  .hero-visual__frame {
    max-width: 440px;
    margin: 0 auto;
  }

  .hero-vertical-label {
    display: none;
  }

  /* Services Grid Re-layout for Mobile / Tablet */
  .service-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.75rem 0;
  }

  .service-row:hover,
  .service-row:focus-visible {
    padding-left: 0.75rem;
  }

  .service-row__num {
    font-size: 0.95rem;
  }

  .service-row__desc {
    padding-right: 0;
  }

  .service-row__action {
    justify-self: start;
    margin-top: 0.5rem;
  }

  /* Split Layouts Collapse */
  .editorial-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .editorial-split--reverse {
    direction: ltr;
  }

  .editorial-split--reverse .editorial-media-frame {
    order: -1;
  }

  /* Contact Page Collapse */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info {
    padding-right: 0;
  }

  /* 3-Column Grid Collapse */
  .editorial-grid-3 {
    grid-template-columns: 1fr;
  }

  /* Media Player Controls */
  .player-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .track-item {
    grid-template-columns: 36px 1fr 60px;
  }

  .track-item__genre {
    display: none;
  }
}

/* --- Mobile Small Breakpoint (max-width: 640px) --- */
@media (max-width: 640px) {
  :root {
    --header-height: 70px;
  }

  .headline-huge {
    font-size: 2.75rem;
    line-height: 1.02;
  }

  .headline-section {
    font-size: 1.95rem;
    line-height: 1.1;
  }

  .btn {
    width: 100%;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .editorial-form {
    padding: 1.75rem 1.25rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-legal a {
    margin-left: 0;
    margin-right: 1.25rem;
    display: inline-block;
  }

  .footer-statement__text {
    font-size: 1.75rem;
  }

  /* Waveform bars reduce density on small screens */
  .player-visualizer {
    gap: 3px;
    height: 48px;
  }
}

/* --- Print Styles --- */
@media print {
  .site-header,
  .mobile-nav,
  .btn,
  .btn-group,
  .player-panel,
  .form-status-modal {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .section {
    padding: 1rem 0;
  }
}
