/* Modest phone-only adjustments; desktop/tablet styling remains unchanged. */
@media (max-width: 600px) {
  .wrap { padding-inline: 20px; }
  .header .topbar {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding-block: 12px;
    gap: 10px 12px;
  }
  .topbar .brand-logo { width: 144px; }
  .top-links .about-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
  }
  .header .header-actions { padding-left: 96px; gap: 8px; }
  .header-cta { min-height: 44px; padding: 10px 12px; }
  #language { min-width: 44px; min-height: 44px; font-size: 16px; padding: 8px 2px; }
  .category-nav .wrap { padding: 5px 20px; gap: 0 20px; }
  .category-nav .nav-category {
    min-height: 44px;
    padding-block: 10px;
    font-size: clamp(.75rem, 3.3vw, .8125rem);
    line-height: 1.35;
  }
  .category-nav .nav-label,
  .category-nav .nav-label > span { white-space: normal; }

  .hero {
    height: auto;
    min-height: 420px;
    min-height: clamp(400px, calc(100svh - var(--header-height, 240px)), 500px);
  }
  .hero .hero-content { padding-top: 28px; padding-bottom: 30px; }
  html[lang] .hero h1 { font-size: clamp(2.125rem, 9.2vw, 2.625rem); }
  .hero .eyebrow { margin-bottom: 16px; line-height: 1.5; }
  .hero .hero-intro { margin-top: 18px; line-height: 1.55; }
  .hero .hero-buttons { margin-top: 22px; gap: 12px 18px; flex-wrap: wrap; }
  .hero-buttons .button { min-height: 46px; padding: 12px 16px; }
  .hero-buttons .hero-secondary { min-height: 44px; align-items: center; }
  .section-nav .wrap { gap: 0 20px; overscroll-behavior-x: contain; }
  .section-nav a { min-height: 44px; display: flex; align-items: center; }

  .timber-project-grid,
  .mobile-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .timber-card-copy,
  .mobile-project-card .timber-card-copy { padding: 12px; }
  .timber-card-code { font-size: 16px; }
  .timber-card-summary { font-size: 12.5px; line-height: 1.55; }
  .timber-card-meta { font-size: 12px; line-height: 1.45; }
  .timber-card-copy .text-link,
  .mobile-project-card .text-link { font-size: 13px; line-height: 1.4; padding-top: 12px; }
  .timber-filters button { min-height: 44px; font-size: 12px; padding: 9px 12px; }
  .timber-view > span { font-size: 12px; }
  .timber-facts dt { font-size: 12px; }
  .timber-room-table table { font-size: 12.5px; }

  .steel-production .steel-photo-grid,
  .steel-architecture-grid,
  .interior-gallery,
  .mobile-interiors .interior-gallery,
  .mobile-production-grid,
  .mobile-exterior-grid,
  .modular-photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .steel-production .steel-photo-grid > button { grid-column: auto; width: 100%; }
  .steel-photo-grid > :last-child:nth-child(odd):not(:first-child),
  .interior-gallery > :last-child:nth-child(odd):not(:first-child),
  .mobile-production-grid > :last-child:nth-child(odd):not(:first-child),
  .mobile-exterior-grid > :last-child:nth-child(odd):not(:first-child),
  .modular-photo-gallery > :last-child:nth-child(odd):not(:first-child) {
    grid-column: 1 / -1;
    width: calc((100% - 10px) / 2);
    justify-self: center;
  }
  .steel-production .steel-photo-grid > button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 10px) / 2);
    justify-self: center;
  }


  dialog { width: calc(100% - 16px); max-height: 94dvh; overscroll-behavior: contain; }
  dialog .dialog-close {
    position: sticky;
    top: 8px;
    right: auto;
    left: auto;
    z-index: 5;
    width: 44px;
    height: 44px;
    margin: 8px 8px -52px auto;
  }
  .media-dialog h2 { padding-right: 48px; }
  .timber-detail-heading,
  .mobile-project-heading { padding-right: 48px; }
  .project-dialog-copy > h2,
  .project-dialog-copy > .eyebrow { padding-right: 40px; }
  .lightbox-controls button,
  .media-zoom-tools button { min-width: 44px; min-height: 44px; }
  .inv-table-scroll { overscroll-behavior-x: contain; }
  .contact-section input,
  .contact-section textarea,
  .contact-section select { font-size: 16px; }
  .contact-section input,
  .contact-section select { min-height: 46px; }
}
