/* Responsive audit: readable text, stable controls and touch targets. */
img { color: var(--muted); }
.menu-toggle, .close-menu, #lb-close, #lb-prev, #lb-next { min-height: 44px; }
.filters button, .views button { min-height: 44px; }
.contact-social { align-items: center; flex-wrap: wrap; }
.contact-social a, .contact-social button { display: inline-flex; align-items: center; min-height: 44px; }
.lb-image-wrap { position: relative; }
#lb-loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; letter-spacing: .04em; pointer-events: none; }
#lb-loading[hidden] { display: none; }
.lb-top { gap: 20px; }
#lb-label { line-height: 1.6; }
#lb-close { flex-shrink: 0; }
.field { scroll-margin-top: 100px; }
.form-status { overflow-wrap: anywhere; }

@media (hover: none) {
  .project-card:hover img { transform: none; filter: none; }
  .project-card:hover h3 { transform: none; }
  .hero-image-link:hover { transform: none; }
}

@media (max-width: 700px) {
  :root { --pad: 22px; }
  header { height: 68px; }
  header.compact { height: 68px; backdrop-filter: none; background: var(--paper); }
  .brand-sub { font-size: 8px; }
  .menu-toggle { font-size: 12px; min-width: 80px; }
  .hero-meta p { font-size: 11px; }
  .hero-meta .eyebrow { font-size: 9px; line-height: 1.65; max-width: 145px; }
  .hero-picture { height: clamp(430px, 61svh, 560px); }
  .hero-picture img { animation-duration: 1s; }
  .hero-caption { bottom: 30px; right: 70px; }
  .hero-caption h1 { font-size: clamp(32px, 9.6vw, 48px); line-height: 1.05; }
  .hero-caption p { font-size: 9px; line-height: 1.6; max-width: 210px; }
  .hero-image-link { width: 46px; height: 46px; }
  .hero-note { font-size: 10px; }
  .hero-note span:last-child { flex-shrink: 0; }
  .eyebrow, .tech { font-size: 11px; }
  .intro-lower p, .statement-bottom p { font-size: 14px; line-height: 1.8; }
  .line-link { font-size: 14px; min-height: 48px; }
  .section-heading { flex-wrap: wrap; gap: 18px; }
  .section-heading > .eyebrow { font-size: 10px; max-width: 100%; text-align: left; overflow-wrap: anywhere; }
  .section-heading h2 sup { display: block; margin: 14px 0 0; font-size: 10px; }
  .card-caption h3 { font-size: 24px; line-height: 1.18; }
  .card-caption .eyebrow { font-size: 11px; line-height: 1.8; text-transform: none; letter-spacing: .01em; }
  .project-number { font-size: 11px; }
  .project-card:nth-child(even) { width: 89%; margin-left: 11%; }
  .page-head h1 { font-size: clamp(43px, 14.5vw, 64px); }
  .head-bottom > p { font-size: 14px; line-height: 1.8; }
  .head-bottom > .eyebrow { font-size: 10px; }
  .crumb { font-size: 11px; flex-wrap: wrap; line-height: 1.7; }
  .crumb a { display: inline-flex; align-items: center; min-height: 32px; }
  .catalog .project-grid .project-card:nth-child(n) { width: 100%; margin-inline: 0; }
  .filters { gap: 5px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; padding-bottom: 9px; }
  .filters button { flex-shrink: 0; scroll-snap-align: start; font-size: 12px; padding: 12px 10px; min-height: 46px; }
  .filters sup { font-size: 9px; }
  .views { justify-content: flex-start; gap: 26px; margin-top: 12px; }
  .views button { font-size: 12px; min-height: 44px; }
  body:has(.catalog) .page-head { padding-block: 24px; }
  body:has(.catalog) .crumb { margin-bottom: 22px; }
  body:has(.catalog) .head-bottom { margin-top: 18px; }
  body:has(.catalog) .head-bottom > .eyebrow { margin-top: 12px; }
  body:has(.catalog) .head-bottom > .eyebrow br { display: none; }
  .catalog-count { font-size: 10px; gap: 25px; line-height: 1.6; }
  .catalog-count span:last-child { max-width: 130px; text-align: right; }
  .project-list .project-card, .project-list .project-card:nth-child(n) {
    grid-template-columns: 80px minmax(0, 1fr); gap: 16px; min-height: 112px;
  }
  .project-list h3 { font-size: 20px; line-height: 1.2; }
  .project-list .card-caption .eyebrow { font-size: 11px; max-width: none; }
  .detail-title h1 { font-size: clamp(43px, 13.5vw, 58px); overflow-wrap: break-word; }
  .detail-title > .eyebrow { font-size: 11px; }
  .detail-hero { height: clamp(390px, 66svh, 580px); }
  .project-concept > p { font-size: 14px; line-height: 1.85; }
  .specs div { font-size: 12px; }
  .specs div:last-child { flex-wrap: wrap; }
  .gallery-frame figcaption { font-size: 11px; line-height: 1.65; }
  .gallery-frame figcaption span:last-child { white-space: nowrap; }
  .drawing figcaption, .drawing p { font-size: 11px; line-height: 1.6; }
  .material p, .team-credits p { font-size: 14px; line-height: 1.8; }
  .principle p, .bureau-process p { font-size: 14px; }
  .person p { font-size: 13px; line-height: 1.6; }
  .process-steps li { font-size: 13px; gap: 20px; }
  .contact-info > p, .contact-detail p, .contact-detail a, .location-note p { font-size: 14px; }
  .contact-detail { grid-template-columns: 85px minmax(0, 1fr); }
  .contact-detail p { overflow-wrap: anywhere; }
  .contact-social { display: block; }
  .contact-social a, .contact-social button { font-size: 13px; width: fit-content; }
  .contact-form h2 { line-height: 1.2; }
  .field { font-size: 12px; line-height: 1.6; }
  .field input, .field textarea { font-size: 16px; min-height: 52px; }
  .contact-form .form-note { font-size: 12px; line-height: 1.8; }
  .form-status { font-size: 13px; line-height: 1.75; }
  .form-actions { gap: 12px; }
  .form-actions > button { width: 100%; font-size: 14px; min-height: 52px; }
  .footer-invite { font-size: clamp(34px, 10.7vw, 50px); }
  .footer-line > span, .footer-line > div { font-size: 13px; }
  .footer-line > div a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-bottom, .footer-bottom button { font-size: 11px; line-height: 1.7; }
  .footer-bottom { padding-bottom: calc(25px + env(safe-area-inset-bottom)); }
  .footer-bottom a, .footer-bottom button { display: inline-flex; align-items: center; min-height: 44px; }
  .process-caption { font-size: 10px; line-height: 1.65; }
  .menu-dialog { padding: max(16px, env(safe-area-inset-top)) var(--pad) max(22px, env(safe-area-inset-bottom)); overflow-y: auto; }
  .menu-dialog nav { margin-top: 28px; }
  .menu-dialog nav a { font-size: clamp(42px, 13.2vw, 58px); }
  .menu-top .eyebrow, .menu-top .close-menu { font-size: 11px; }
  .menu-bottom { font-size: 12px; line-height: 1.7; }
  #lightbox { padding: max(12px, env(safe-area-inset-top)) 16px max(12px, env(safe-area-inset-bottom)); grid-template-rows: minmax(55px, auto) minmax(0, 1fr) 56px; }
  .lb-top, .lb-top .text-button, .lb-bottom span { font-size: 12px; }
  .lb-top { gap: 15px; }
  #lb-label { max-width: calc(100% - 90px); }
  #lb-close { min-width: 80px; }
  #credits p:not(.eyebrow) { font-size: 14px; line-height: 1.8; }
  #credits .text-button { font-size: 13px; min-height: 44px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .menu-dialog nav { margin-top: 15px; }
  .menu-dialog nav a { font-size: 34px; }
  .menu-bottom { display: none; }
}
