.gallery-hero { padding-bottom: 46px; }
.gallery-hero h1 { max-width: 850px; }
.gallery-section { padding-top: 36px; }
.gallery-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.gallery-intro { margin: 0; color: var(--muted); font-size: .94rem; }
.gallery-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-filter { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; cursor: pointer; }
.gallery-filter.is-active { color: #fff; background: var(--accent); border-color: var(--accent); }
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.gallery-card { overflow: hidden; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.gallery-image { display: block; position: relative; overflow: hidden; color: white; background: var(--mist); }
.gallery-image img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; transition: filter .2s ease; }
.gallery-image:hover img { filter: brightness(.94); }
.gallery-image:focus-visible { outline-offset: -5px; }
.gallery-media-label { position: absolute; right: 14px; bottom: 14px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(28,53,55,.9); font-size: .78rem; font-weight: 650; }
.gallery-card-copy { padding: 24px; }
.gallery-card-copy .eyebrow { margin-bottom: 12px; font-size: .66rem; }
.gallery-card-copy h2 { margin-bottom: 12px; font-size: 1.45rem; line-height: 1.18; }
.gallery-card-copy p { margin-bottom: 0; font-size: .93rem; }
.gallery-contact h2 { max-width: 720px; }
.gallery-contact p { max-width: 650px; margin-bottom: 0; }
.gallery-contact .button { flex-shrink: 0; }
.gallery-dialog { width: min(1100px, calc(100vw - 28px)); max-width: none; height: min(960px, calc(100dvh - 28px)); max-height: calc(100dvh - 28px); padding: 0; color: #fff; background: #213236; border: 1px solid #496061; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 90px rgba(0,0,0,.4); }
.gallery-dialog[open] { display: flex; flex-direction: column; }
.gallery-dialog::backdrop { background: rgba(10,24,26,.87); }
.gallery-dialog-top { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; padding: 8px 16px; color: #cdddda; font-size: .82rem; }
.gallery-close { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 4px 8px 16px; border: 0; color: #fff; background: transparent; cursor: pointer; }
.gallery-close span { font-size: 1.75rem; line-height: 1; }
.gallery-stage { display: flex; flex: 1; justify-content: center; align-items: center; min-height: 0; overflow: hidden; background: #182629; }
.gallery-stage img, .gallery-stage video { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-dialog-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-shrink: 0; padding: 18px; }
.gallery-caption { max-width: 760px; text-align: center; }
.gallery-caption h2 { margin: 0 0 6px; font-size: 1.12rem; line-height: 1.25; }
.gallery-caption p { margin: 0; color: #cdddda; font-size: .86rem; line-height: 1.4; }
.gallery-arrow { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 1px solid #7b9692; color: #fff; background: transparent; font-size: 1.4rem; cursor: pointer; }
.gallery-arrow:hover, .gallery-close:hover { background: #354d50; }
.gallery-dialog :focus-visible { outline-color: #9ee2d6; }
html.gallery-is-open { overflow: hidden; }
@media (min-width: 650px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1050px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 559px) {
    .gallery-dialog { width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
    .gallery-dialog-bottom { gap: 8px; padding: 14px 10px max(18px, env(safe-area-inset-bottom)); }
    .gallery-caption p { font-size: .76rem; }
    .gallery-caption h2 { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .gallery-image img { transition: none; } }
