/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile Viewports)
   ========================================================================== */
@media (max-width: 860px) {
  .columns-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  body {
    padding: 0 0 2rem 0;
  }

  .top-system-bar {
    padding: 0.85rem 1rem;
    font-size: 0.78rem;
  }

  .system-status {
    gap: 0.5rem;
  }

  .sound-toggle-btn {
    width: 24px;
    height: 24px;
  }

  .status-clock {
    display: none;
  }

  .specimen-sheet {
    padding: 1.75rem 1.15rem 2rem;
    border-left: none;
    border-right: none;
    box-shadow: none;
    width: 100%;
    max-width: 100vw;
  }

  .specimen-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .mode-toggle-group {
    width: 100%;
    max-width: 260px;
    justify-content: space-between;
  }

  .mode-toggle-btn {
    flex: 1;
    text-align: center;
  }

  .hero-stage {
    min-height: clamp(155px, 36vw, 190px);
  }

  .hero-name-wrap {
    width: 68%;
    max-width: 68%;
    min-height: clamp(155px, 36vw, 190px);
  }

  .hero-name {
    --base-size: clamp(2rem, 9.2vw, 3.1rem);
    line-height: 0.92;
  }

  .hero-photo-anchor {
    top: 0;
    right: 0;
    left: auto;
  }

  .hero-photo-card {
    width: clamp(88px, 24.2vw, 107.8px);
    padding: 0.28rem;
  }

  .hero-photo-caption {
    font-size: 0.52rem;
    margin-top: 0.25rem;
  }

  .hero-name {
    font-size: clamp(2rem, 9.5vw, 3.2rem);
    line-height: 0.92;
  }

  .subtitle-row {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    margin-top: 1.5rem;
  }

  .sub-col-right {
    text-align: left;
  }

  .sub-col-center {
    font-size: 1.15rem;
    padding-right: 0;
    word-break: break-word;
  }

  .glyph-quick-metrics {
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .metric-chip {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

  .modal-sheet {
    padding: 1.75rem 1.25rem;
  }

  .modal-title {
    font-size: 1.85rem;
  }

  .specimen-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

@media (max-width: 480px) {
  .project-header-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  @media (max-width: 600px) {
    .hero-name {
      font-size: clamp(2.4rem, 12vw, 3.2rem);
    }
  }

  .project-tag {
    white-space: normal;
  }

  .specimen-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
  }

  .mode-toggle-group {
    width: 100%;
    justify-content: center;
  }

  .mode-toggle-btn {
    flex: 1;
    text-align: center;
    padding: 0.42rem 0.5rem;
  }

  .specimen-tag {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

}
