:root {
    --gallery-header-bottom: 109px;
    --gallery-tabs-height: 70px;
    --gallery-gutter: 48px;
    --gallery-photo-height: 450px;
    --gallery-photo-gap: 32px;
}

body:has([data-location-gallery-page]) { background: #191919; }
body:has([data-location-gallery-page]) .topbar { display: none; }

body:has([data-location-gallery-page]) .header,
body:has([data-location-gallery-page]) .header.active,
body:has([data-location-gallery-page]) .header.hide {
    top: 0;
    padding-block: 19px;
    transform: none;
    transition-delay: 0s;
    background: var(--eerie-black-4, #212121);
}

.location-gallery-page {
    padding-top: 125px;
    overflow-x: clip;
    color: var(--grey-90, #E6E6E6);
}

.location-gallery-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 96px 24px 48px;
    text-align: center;
}

.location-gallery-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.location-gallery-divider {
    display: grid;
    place-items: center;
    flex: 0 0 152px;
    height: 19px;
}

.location-gallery-title {
    font-family: var(--fontFamily-forum, "Forum");
    font-size: 64px;
    font-weight: 400;
    line-height: 64px;
}

.location-gallery-description {
    font-family: var(--fontFamily-dm_sans, "DM Sans");
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.location-gallery-tabs {
    position: sticky;
    top: var(--gallery-header-bottom);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    min-height: 70px;
    padding: 16px var(--gallery-gutter);
    background: var(--grey-15, #262626);
    overflow-x: auto;
    scrollbar-width: none;
}

.location-gallery-tabs::-webkit-scrollbar { display: none; }

.location-gallery-tab {
    flex-shrink: 0;
    padding: 8px 12px;
    color: var(--grey-95, #F2F2F2);
    font-family: var(--fontFamily-forum, "Forum");
    font-size: 20px;
    line-height: 22px;
    text-align: center;
    white-space: nowrap;
    transition: background-color 300ms ease, color 300ms ease;
}

.location-gallery-tab:first-child { min-width: 249px; }
.location-gallery-tab.is-active { color: var(--grey-05, #0D0D0D); background: #C9A96E; }
.location-gallery-tab:not(.is-active):hover { color: var(--accent-01, #E4C590); }

.location-gallery-tab:focus-visible,
.location-gallery-photo:focus-visible,
.location-gallery-arrow:focus-visible,
.location-gallery-reserve:focus-visible,
.gallery-lightbox-close:focus-visible {
    outline: 1px solid var(--accent-01, #E4C590);
    outline-offset: -4px;
}

.location-gallery-sections {
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding-top: 44px;
    padding-bottom: 145px;
}

.location-gallery-section {
    padding: 24px 0;
    scroll-margin-top: calc(var(--gallery-header-bottom) + var(--gallery-tabs-height));
}

.location-gallery-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    padding: 0 var(--gallery-gutter);
}

.location-gallery-location-name {
    color: var(--white, #FFF);
    font-family: var(--fontFamily-forum, "Forum");
    font-size: 40px;
    font-weight: 400;
    line-height: 44px;
}

.location-gallery-location-name span { display: inline; color: var(--accent-01, #E4C590); }

.location-gallery-reserve {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    gap: 4px;
    font-family: var(--fontFamily-dm_sans, "DM Sans");
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 250ms ease;
}

.location-gallery-reserve:hover { color: var(--accent-01, #E4C590); }

.location-gallery-rail {
    position: relative;
    height: var(--gallery-photo-height);
    isolation: isolate;
}

.location-gallery-pattern {
    position: absolute;
    left: calc(100% - 162.5px);
    top: 0;
    z-index: -1;
    pointer-events: none;
}

.location-gallery-viewport {
    height: 100%;
    overflow: hidden;
    clip-path: inset(0 0 0 var(--gallery-gutter));
    touch-action: pan-y;
}

.location-gallery-track {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--gallery-photo-gap);
    width: max-content;
    height: 100%;
    padding: 0 var(--gallery-gutter);
}

.location-gallery-track.is-animated { transition: transform 850ms cubic-bezier(0.22, 1, 0.36, 1); }

.location-gallery-photo {
    position: relative;
    flex: 0 0 auto;
    width: var(--gallery-photo-height);
    height: var(--gallery-photo-height);
    overflow: hidden;
    cursor: zoom-in;
}

.location-gallery-photo-wide { width: calc(var(--gallery-photo-height) * 1.5); }

.location-gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
    .location-gallery-photo:hover img { transform: scale(1.025); }
}

.location-gallery-arrow {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    padding: 16px;
    border-radius: 50%;
    background: rgb(51 51 51 / 75%);
    color: var(--accent-01, #E4C590);
    transition: background-color 250ms ease, transform 300ms ease;
}

.location-gallery-rail > .location-gallery-arrow {
    position: absolute;
    top: calc(50% - 28px);
    z-index: 2;
}

.location-gallery-arrow-previous { left: 19.5px; }
.location-gallery-arrow-next { right: 19.5px; }
.location-gallery-arrow-next img { transform: rotate(180deg); }
.location-gallery-arrow:hover { background: rgb(51 51 51 / 95%); }
.location-gallery-arrow:disabled { display: none; }

.location-gallery-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #101111;
    color: var(--grey-90, #E6E6E6);
}

.location-gallery-lightbox[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.location-gallery-lightbox::backdrop { background: rgb(0 0 0 / 94%); }
html.is-gallery-lightbox-open,
html.is-gallery-lightbox-open body { overflow: hidden; }

.gallery-lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 32px;
}

.gallery-lightbox-title {
    font-family: var(--fontFamily-forum, "Forum");
    font-size: 28px;
    font-weight: 400;
    line-height: 36px;
}

.gallery-lightbox-close { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; }
.gallery-lightbox-close img { filter: brightness(0) invert(1); }
.gallery-lightbox-stage { position: relative; min-height: 0; margin: 0 32px; touch-action: pan-y; }

.gallery-lightbox-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 450ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-lightbox-image.is-visible { opacity: 1; transform: scale(1); }

.gallery-lightbox-status {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    text-align: center;
    pointer-events: none;
}

.gallery-lightbox-controls { display: flex; justify-content: center; align-items: center; gap: 24px; padding: 20px 24px; }
.gallery-lightbox-counter { min-width: 64px; font-family: var(--fontFamily-forum, "Forum"); font-size: 24px; line-height: 32px; text-align: center; font-variant-numeric: tabular-nums; }

@media (max-width: 1150px) {
    .location-gallery-tabs { justify-content: flex-start; gap: 16px; }
}

@media (max-width: 1000px) {
    .location-gallery-divider { display: none; }
}

@media (max-width: 767px) {
    :root {
        --gallery-gutter: 24px;
        --gallery-photo-height: min(340px, calc(100vw - 48px));
        --gallery-photo-gap: 16px;
    }

    body:has([data-location-gallery-page]) .header,
    body:has([data-location-gallery-page]) .header.active { padding-block: 16px; }
    .location-gallery-page { padding-top: 96px; }
    .location-gallery-intro { padding: 56px 24px 32px; gap: 20px; }
    .location-gallery-title { font-size: 42px; line-height: 48px; }
    .location-gallery-tab,
    .location-gallery-tab:first-child { min-width: 0; font-size: 18px; }
    .location-gallery-tabs { padding-block: 12px; min-height: 62px; gap: 8px; }
    .location-gallery-sections { padding-top: 32px; padding-bottom: 80px; gap: 48px; }
    .location-gallery-section-header { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 24px; }
    .location-gallery-location-name { font-size: 30px; line-height: 36px; }
    .location-gallery-arrow-previous { left: 8px; }
    .location-gallery-arrow-next { right: 8px; }
    .location-gallery-pattern { left: calc(100% - 96px); transform: scale(0.7); transform-origin: top left; }
    .gallery-lightbox-header { padding: 12px 16px; gap: 12px; }
    .gallery-lightbox-title { font-size: 22px; line-height: 28px; }
    .gallery-lightbox-stage { margin: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .location-gallery-track.is-animated,
    .location-gallery-photo img,
    .gallery-lightbox-image,
    .location-gallery-tab { transition: none; }
}
