/* Shared interaction and layout fixes, loaded after the exported page styles. */
[hidden] { display: none !important; }
html { scroll-padding-top: 5rem; }
[id] { scroll-margin-top: 5rem; }
body { min-width: 0; }
body > header > div { gap: 1rem; }
body > header > div > a { flex-shrink: 0; }
#mmenu { max-height: calc(100dvh - 4rem); overflow-y: auto; }
body > header button { min-height: 44px; }
main > .flex > section.relative { min-height: 36rem; height: calc(100svh - 4rem); }
body.home main { padding-top: 0; min-height: 0; }
.mb-10 { margin-bottom: 2.5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-\[\#8B5CF6\], .hover\:text-\[\#8B5CF6\]:hover { color: #A78BFA; }
@media (min-width: 768px) {
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
h1 .sr-only { text-transform: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid #D0BCFF; outline-offset: 3px;
}
button:disabled { cursor: wait; opacity: .65; }
.gallery-item { display: block; width: 100%; border: 0; padding: 0; margin: 0 0 5px; break-inside: avoid; background: #141419; color: #F5F5F2; cursor: pointer; }
.masonry .gallery-item img { margin: 0; height: auto; }
.gallery-item:disabled { cursor: default; }
.gallery-item:focus-visible { outline-offset: -3px; }
.image-unavailable { display: block; padding: 1rem; font-size: 14px; }
#media-status { padding: 1rem; color: #F5F5F2; text-align: center; }
#lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.94); color: #F5F5F2; overflow: hidden; }
#lb[open] { display: flex; align-items: center; justify-content: center; }
#lb::backdrop { background: #000; }
#lb img { width: auto; height: auto; max-width: calc(100vw - 6rem); max-height: calc(100dvh - 7rem); object-fit: contain; }
#lb button { min-width: 48px; min-height: 48px; }
#lb-error { max-width: 65vw; text-align: center; }
#lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); font-size: 14px; letter-spacing: .05em; }
#to-top { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 50; padding: .75rem 1rem; border-radius: .25rem; background: #7C3AED; color: #fff; font-size: .875rem; text-transform: uppercase; border: 0; }
#form-feedback, #form-error { scroll-margin-top: 6rem; }
.video-fallback { margin: .75rem 0 0; font-size: 14px; }
.video-fallback a { color: #D0BCFF; text-decoration: underline; text-underline-offset: 3px; }
/* Keep focused form controls clear of the sticky header when native validation scrolls to them. */
#contact-form input, #contact-form textarea, #contact-form select { scroll-margin-top: 6.5rem; }
/* Muted placeholder behind gallery photos, with a gentle fade as each photo loads. */
.gallery-item img { background: #1B1B22; transition: opacity .6s ease; }
.gallery-item img.img-pending { opacity: 0; }
/* Video clip facades: the Adobe player loads only after a visitor presses play. */
.video-facade { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; border: 1px solid #26262E; color: #F5F5F2; cursor: pointer; padding: 1.5rem; font: inherit; text-align: center; }
.video-facade:hover, .video-facade:focus-visible { border-color: #8B5CF6; }
.video-facade-play { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 9999px; background: #7C3AED; color: #fff; font-size: 22px; line-height: 1; padding-left: 4px; }
.video-facade-title { font-size: 18px; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* Accessibility contrast fixes from the 2026-11-03 audit: two decorative separators and the contact form field borders fell short of WCAG AA. Same color families, small lightness steps, resting state only so the violet focus border still takes over on focus. */
.text-border-prominent { color: #7E7E8C; }
.text-text-muted\/40 { color: rgb(167 167 173 / 0.75); }
#contact-form input:not(:focus), #contact-form textarea:not(:focus), #contact-form select:not(:focus) { border-color: #67676F; }
/* The exported stylesheet never included the underline utility, so links styled with it (the accessibility statement email link, the contact form error message email link) were identifiable by color alone. Define it here. */
.underline { text-decoration: underline; }
/* Home hero tagline (2026-11-05, per Brendan): "One Ey3 Behind the Camera" is set in Discourse Middle, the watermark font, like the page titles. Font-family only; size, weight, color, spacing and position come from its existing classes. */
.hero-tagline { font-family: "discourse-middle", sans-serif !important; }
