/* InstruMentor — Responsive breakpoints + print */

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); border-radius: 0; width: 85vw; min-width: auto; max-width: 300px; }
  .sidebar.mobile-open { transform: translateX(0); border-radius: 0 60px 120px 0 / 0 180px 250px 0; }
  .main { margin-left: 0 !important; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .content { padding: 1.5rem 1.25rem 3rem; }
  .progress-bar { left: 0; }
  .hero { margin-left: 0 !important; padding-left: 2rem !important; padding-top: 2rem !important; width: 100% !important; }
  .hero h1 { font-size: 1.8rem; }
  .hero .subtitle { font-size: 0.9rem; }
  .hero-wave { margin-left: 0 !important; width: 100% !important; overflow: hidden; }
  .hero-texture { margin-left: 0 !important; width: 100% !important; }
}

@media (max-width: 600px) {
  .fit-strip { flex-direction: column; }
  .fit-item { border-right: none; }
  .family-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .family-card { transform: none !important; aspect-ratio: auto; min-height: 180px; padding: 1.5rem 1rem 1.2rem; }
  .hero-texture { height: 25px; }
}

@media (max-width: 480px) {
  .content { padding: 1rem 1rem 3rem; }
}

@media print {
  .sidebar, .progress-bar, .menu-toggle, .phase-nav { display: none !important; }
  .main { margin-left: 0 !important; }
  .section-body, .subsection-body, .nav-links { display: block !important; }
  .content { max-width: 100%; padding: 0; }
}

/* Reduced motion — respect user preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
