/* Original phone/tablet adjustments, kept after layout/components for correct cascade. */
/* ---------- Phone and tablet ---------- */
@media (max-width: 900px) {
  .page { display: flex; flex-direction: column; gap: 40px; }
  .side { position: static; gap: 32px; max-height: none; overflow: visible; }
  .bio { max-width: 448px; }
  .index { flex-direction: row; flex-wrap: wrap; gap: 24px 48px; }
  .filters { max-height: none; opacity: 1; }
  .filters ul { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 16px; padding-bottom: 4px; scrollbar-width: none; }
  .filters li { flex: none; }
  .archive-filters ul { flex-wrap: wrap; overflow: visible; gap: 4px 20px; padding-bottom: 0; }
  .side, .index > div { width: 100%; min-width: 0; }
  .filters { max-width: 100%; }
  .work { width: 100%; }
  .rule { display: none; }
  .featured { display: flex; flex-direction: column; gap: 12px; }
  .t-wt { aspect-ratio: 420 / 593; }
  .t-stag { aspect-ratio: 420 / 299; }
  .t-hmhp { aspect-ratio: 420 / 472; }
  .t-oyibo { aspect-ratio: 420 / 420; }
  .tile .tag { opacity: 1; transform: none; }
  .archive { margin-top: 240px; }
  .foot { margin-top: 240px; }
  .next .next-name { display: none; }
  .foot-row { font-size: 14px; line-height: 20px; gap: 12px; white-space: nowrap; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .project-text { display: flex; flex-direction: column; }
  .project-text .body figure.clip { height: 480px; }
  .project-text .body .clip-row { grid-template-columns: minmax(0, 1fr); }
  .project-text .body { font-size: 18px; line-height: 28px; }
  .project-text h1 { font-size: 36px; line-height: 40px; }
  .project-text .sub { font-size: 18px; line-height: 27px; }
  .project-text .body h2 { font-size: 18px; line-height: 28px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series h2, .series h3 { font-size: 18px; line-height: 28px; }
  .project .lead-panel { aspect-ratio: 4 / 5; max-height: none; }
}
