/* Finishing layer: bounded artwork, readable mobile controls, and action feedback. */
html { overflow-x: clip; }
body { overflow-x: clip; max-width: 100%; }
img, video { max-width: 100%; }
main, section, .footer, .article-body, .contact-content { min-width: 0; }
.footer { overflow-x: clip; }
.footer-links { flex-wrap: wrap; }
.email-link, .contact-email { overflow-wrap: anywhere; }
.contact-tools { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin-top: 1rem; position: relative; z-index: 6; }
.copy-email { min-height: 44px; padding: .5rem 1rem; border: 1px solid #cfb58c70; border-radius: .75rem; color: var(--cream); background: #f0ede50d; font-size: .8125rem; }
.contact-help { color: #b8b7ac; font-size: .8125rem; }
.action-message { position: fixed; z-index: 1000; left: 50%; bottom: max(6rem, calc(env(safe-area-inset-bottom) + 5rem)); transform: translateX(-50%); width: max-content; max-width: min(34rem, calc(100% - 2rem)); padding: 1rem 1.25rem; border: 1px solid #cfb58c70; border-radius: 1rem; background: #22241f; color: #fff8ed; box-shadow: 0 12px 40px #0005; font-size: .875rem; line-height: 1.6; overflow-wrap: anywhere; }
.action-message:empty { display: none; }
.action-message[role="alert"] { border-color: #e7ad8a; }
.mobile-menu, .menu-open .mobile-menu { overflow-y: auto; overscroll-behavior: contain; justify-content: flex-start; padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
.mobile-menu a { flex-shrink: 0; }
.lightbox-error button { min-height: 44px; padding: .5rem .875rem; background: var(--cream); color: var(--dark); border-radius: .5rem; margin: .5rem; }
.lightbox-error a { text-decoration: underline; }
.not-found-page { min-height: 100svh; color: var(--cream); }
.not-found-page .header { position: absolute; }
.not-found { max-width: 60rem; padding: clamp(10rem, 22vh, 15rem) var(--gutter) 6rem; margin: auto; }
.not-found h1 { font-size: clamp(4rem, 10vw, 8rem); margin: 1.25rem 0; }
.not-found p { max-width: 32rem; color: #b8b7ac; }
.not-found-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }
#jet-flight-layer .pointer-options-toggle { display: none; }
@media (max-width: 1000px) {
  .header .desktop-nav, .header .header-contact { display: none; }
  .header .menu-button { display: flex; flex-shrink: 0; }
}
@media (max-width: 760px) {
  html { scrollbar-gutter: auto; }
  .section-heading, .section-kicker, .contact-bottom { min-width: 0; }
  .section-heading > *, .contact-bottom > * { min-width: 0; }
  .footer { padding-inline: var(--gutter); }
  .footer-links { gap: .5rem 1.25rem; }
  .footer-links a { display: inline-flex; align-items: center; }
  .gallery-filters { flex-wrap: wrap; overflow: visible; }
  .gallery-filters button { flex-shrink: 0; }
  .mobile-menu a { font-size: clamp(1.5rem, 7vw, 2.5rem); min-height: 44px; }
  .contact-tools { align-items: flex-start; flex-direction: column; }
  .contact-help { max-width: 28rem; }
  .not-found h1 { font-size: clamp(3.25rem, 12vw, 6rem); }
  #jet-flight-layer .pointer-options-toggle { display: block; position: absolute; left: max(1rem, env(safe-area-inset-left)); bottom: max(14px, env(safe-area-inset-bottom)); min-height: 44px; padding: .5rem 1rem; border-radius: 2rem; }
  #jet-flight-layer .pointer-modes { display: none; left: 1rem; right: auto; bottom: max(70px, calc(env(safe-area-inset-bottom) + 56px)); max-width: calc(100% - 2rem); }
  #jet-flight-layer.pointer-options-open .pointer-modes { display: flex; }
  .motion-toggle { min-height: 44px; bottom: max(14px, env(safe-area-inset-bottom)); }
}
@media (max-height: 600px) {
  .mobile-menu, .menu-open .mobile-menu { top: max(5.5rem, calc(env(safe-area-inset-top) + 4.5rem)); max-height: calc(100dvh - 6rem); padding-top: .75rem; gap: 0; }
  .mobile-menu a { font-size: 1.5rem; min-height: 44px; padding-block: .25rem; }
  .menu-caption { margin-bottom: .5rem; }
  .menu-footer { margin-top: .5rem; }
}
/* Navigation remains usable if a module cannot load or JavaScript is disabled. */
.no-js:not(.js-boot) .header { flex-wrap: wrap; }
.no-js:not(.js-boot) .header .desktop-nav { display: flex; flex-wrap: wrap; gap: 0; width: 100%; }
.no-js:not(.js-boot) .header .desktop-nav a { font-size: .75rem; padding: .25rem .5rem; }
.no-js:not(.js-boot) .menu-button { display: none; }
