/*
 * Handles mobile/tablet layout adjustments and reduced-motion accessibility rules.
 * Owns breakpoint overrides only; does not define desktop component defaults.
 */
@media (max-width: 900px) {
  .top-header {
    padding: 12px 16px;
  }

  .nav-items {
    display: none;
  }

  .hero-layer {
    padding-top: 52px;
    padding-bottom: 22vh;
  }

  .hero-portrait-wrap {
    margin-bottom: 12px;
  }

  .hero-portrait {
    width: 124px;
    height: 124px;
    border-radius: 26px;
  }

  .hero-greeting {
    font-size: clamp(2rem, 9vw, 3rem);
    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 18px;
  }

  .hero-cta-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .studio-world {
    width: min(560px, 94vw);
    height: min(300px, 31vh);
  }

  .studio-grid {
    gap: 12px;
    padding: 14px;
    border-radius: 24px;
  }

  .studio-room {
    padding: 10px;
    border-radius: 16px;
  }

  .room-label {
    font-size: 0.82rem;
  }

  .room-card-shell {
    left: 14px;
    right: 14px;
    top: auto;
    bottom: 78px;
    width: auto;
    max-height: 49vh;
    transform: none;
  }

  .room-card-shell.is-hidden {
    transform: translateY(24px);
  }

  .room-card-body {
    padding: 16px 16px 12px;
    max-height: calc(49vh - 50px);
  }

  .room-card-title {
    font-size: 1.45rem;
    margin-bottom: 6px;
  }

  .room-card-desc {
    font-size: 0.84rem;
    margin-bottom: 12px;
  }

  .room-card-cta {
    padding: 12px 16px;
    font-size: 0.86rem;
  }

  .scroll-prompt {
    display: none;
  }

  .bottom-pagination {
    left: 14px;
    transform: none;
    bottom: 18px;
    padding: 7px 11px;
  }

  .bottom-pagination.is-hidden {
    transform: translateY(14px);
  }

  .bottom-controls {
    right: 14px;
    bottom: 14px;
    gap: 8px;
  }

  .stepper-btn {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .launcher-btn {
    width: 40px;
    height: 40px;
  }

  .launcher-bubble {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand-mark span:last-child {
    display: none;
  }

  .studio-world {
    height: min(215px, 27vh);
  }

  .room-badge {
    font-size: 0.56rem;
  }

  .hotspot-pin {
    height: 32px;
    min-width: 32px;
    padding: 0 8px;
    transform: translate(-50%, -85%);
  }

  .hotspot-pill-label {
    font-size: 0.68rem;
  }

  .links-hub-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
