:root {
    /* Shared design tokens keep the overview, album wall, and lightbox visually related. */
    color-scheme: light;

    --color-page: #f8f7f4;
    --color-surface: #fff;
    --color-wall: #e9e6e0;
    --color-wall-shadow: #d9d5ce;
    --color-text: #272724;
    --color-muted: #706f69;
    --color-frame: #080808;
    --color-accent: #496b64;
    --color-control: rgb(24 24 22 / 72%);
    --color-control-disabled: rgb(24 24 22 / 28%);
    --color-divider: #e7e5e0;
    --color-card-border: #e8e6e1;
    --color-photo-surface: #f0efeb;
    --color-empty-start: #efeee9;
    --color-empty-end: #e7e5df;
    --color-lightbox-border: rgb(255 255 255 / 45%);
    --color-lightbox-control: rgb(0 0 0 / 40%);
    --color-white: #fff;

    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --page-width: 76rem;
    --page-gutter: max(2rem, calc((100vw - var(--page-width)) / 2));
    --header-height: 0.45rem;
    --page-top-spacing: 3.5rem;
    --album-page-top-spacing: 1rem;
    --album-gap: 1.6rem;
    --album-min-width: 17rem;
    --album-radius: 0.3rem;
    --overview-list-width: 68rem;
    --overview-preview-size: 13rem;
    --overview-frame-size: calc(var(--overview-preview-size) + var(--frame-width) + var(--frame-width));
    --overview-column-gap: clamp(1.5rem, 3vw, 3rem);
    --overview-row-gap: clamp(3rem, 5vw, 5rem);
    --overview-heading-bottom-gap: clamp(4rem, 7vw, 6rem);
    --overview-description-lines: 4;
    --album-text-gap: 0.75rem;
    --breadcrumb-bottom-gap: 0.75rem;
    --breadcrumb-sticky-height: 2.5rem;
    --breadcrumb-padding-block: 0.55rem;
    --site-menu-toggle-size: 2.375rem;
    --site-menu-toggle-gap: 0.6rem;
    --site-menu-content-gap: 1.5rem;
    --album-header-gap: clamp(3rem, 7vw, 6rem);
    --album-description-lines: 4;
    --album-description-max-width: 53rem;
    --album-description-section-space: clamp(3rem, 7vw, 5.5rem);
    --album-description-line-height: 1.7;
    --album-heading-bottom-gap: 2.5rem;
    --album-heading-padding-block: 0;
    --wall-padding-block: 0.75rem;
    --gallery-stage-extra-height: 0;
    --image-information-padding: 0.55rem 1rem 1.5rem;

    --frame-color: var(--color-frame);
    --frame-width: 0.38rem;
    --gallery-frame-shadow: 0 0.55rem 1.2rem rgb(27 26 23 / 34%), 0 0.1rem 0.25rem rgb(27 26 23 / 22%);
    --frame-shadow: var(--gallery-frame-shadow);
    --photo-gap: 1.6rem;
    --gallery-stage-image-height: clamp(220px, 29vh, 520px);
    --gallery-image-max-height: 546px;
    --gallery-image-height: clamp(231px, 30.45vh, var(--gallery-image-max-height));
    --gallery-image-max-width: 70vw;
    --photo-height: calc(var(--gallery-stage-image-height) + (2 * var(--frame-width)) + (2 * var(--wall-padding-block)));
    --gallery-nav-width: 3rem;
    --gallery-nav-height: 4rem;
    --gallery-nav-background: rgb(30 30 30 / 78%);
    --gallery-nav-border: 1px solid var(--frame-color);
    --gallery-nav-hover-background: rgb(30 30 30 / 94%);
    --photo-transition: 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
    --metadata-reserved-height: 10rem;

    --lightbox-backdrop: rgba(0, 0, 0, 0.75);
    --lightbox-content-width: 58rem;
    --lightbox-image-max-height: calc(100vh - 32px);
    --lightbox-stage-padding: 0 0.75rem;
    --lightbox-caption-gap: 1.25rem;

    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-page);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    display: flex;
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    background: var(--color-page);
    line-height: 1.55;
}

a {
    color: var(--color-accent);
}

button {
    font: inherit;
}

.site-header {
    position: fixed;
    z-index: 70;
    top: 0;
    right: 0;
    left: 0;
    height: 0;
    pointer-events: none;
}

.site-menu-toggle {
    position: fixed;
    z-index: 2;
    top: 6px;
    left: 10px;
    display: grid;
    width: var(--site-menu-toggle-size);
    height: var(--site-menu-toggle-size);
    place-items: center;
    padding: 0;
    border: 1px solid rgb(39 39 36 / 12%);
    border-radius: 4px;
    color: var(--color-text);
    background: rgb(255 255 255 / 88%);
    box-shadow: 0 0.15rem 0.4rem rgb(39 39 36 / 8%);
    cursor: pointer;
    pointer-events: auto;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.page-album-list .site-menu-toggle,
.page-album .site-menu-toggle,
.page-information-page .site-menu-toggle {
    top: calc(var(--breadcrumb-sticky-height) + var(--site-menu-toggle-gap));
}

.site-menu-toggle:hover,
.site-menu-toggle:focus-visible {
    background: var(--color-white);
}

.site-menu-toggle:focus-visible,
.site-menu-close:focus-visible,
.site-menu a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.site-menu-icon {
    display: grid;
    width: 17px;
    gap: 4px;
}

.site-menu-icon > span {
    display: block;
    height: 1px;
    background: currentColor;
}

.site-menu-backdrop {
    position: fixed;
    z-index: 3;
    inset: 0;
    background: rgb(20 20 18 / 28%);
    pointer-events: auto;
}

.site-menu {
    position: fixed;
    z-index: 4;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(22rem, calc(100vw - 2rem));
    padding: 1.1rem 1.15rem max(1.5rem, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    color: var(--color-text);
    background: rgb(255 255 255 / 97%);
    border-right: 1px solid var(--color-divider);
    box-shadow: 0.75rem 0 2rem rgb(20 20 18 / 14%);
    pointer-events: auto;
    overscroll-behavior: contain;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-menu-heading {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.25rem 0.8rem;
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-menu-close {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--color-muted);
    background: transparent;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
}

.site-menu-close:hover {
    color: var(--color-text);
    background: rgb(39 39 36 / 5%);
}

.site-menu .site-menu-home {
    display: inline;
    min-height: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    border-radius: 0;
    text-decoration: none;
}

.site-menu .site-menu-home:hover,
.site-menu .site-menu-home:focus-visible {
    color: var(--color-text);
    background: transparent;
}

.site-menu-links,
.site-menu-legal {
    display: grid;
    gap: 0.15rem;
}

.site-menu a {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    padding: 0.55rem 0.7rem;
    border-radius: 4px;
    color: inherit;
    text-decoration: none;
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-menu a[aria-current="page"] {
    background: rgb(39 39 36 / 6%);
}

.site-menu a[aria-current="page"] {
    font-weight: 600;
}

.site-menu-legal {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-divider);
    color: var(--color-muted);
    font-size: 0.9rem;
}

body.site-menu-open {
    overflow: hidden;
}

body.site-menu-open .site-menu-toggle {
    opacity: 0;
    pointer-events: none;
}

body.lightbox-open .site-header {
    display: none;
}

.page-shell {
    width: min(100% - (2 * var(--page-gutter)), var(--page-width));
    flex: 1 0 auto;
    margin: var(--page-top-spacing) auto 2rem;
}

.site-footer {
    width: min(100% - (2 * var(--page-gutter)), var(--overview-list-width));
    flex: 0 0 auto;
    margin-top: auto;
    margin-inline: auto;
    margin-bottom: 0;
    padding: 2rem 0 1rem;
    border-top: 1px solid var(--color-divider);
    color: var(--color-muted);
    font-size: 0.9rem;
    text-align: center;
}

.site-footer p {
    margin: 0.35rem 0;
    line-height: 1.5;
}

.site-footer-release {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 0.35rem;
    margin-bottom: 0.65rem;
    color: var(--color-muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.site-footer-release p {
    margin: 0;
}

.site-footer-release p + p::before {
    content: "· ";
}

.site-footer-copyright,
.site-footer-credit {
    color: var(--color-muted);
    font-size: 0.84rem;
}

.legal-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0.7rem 0 0;
    color: var(--color-text);
    font-size: 0.9rem;
}

.legal-footer-links a {
    color: inherit;
    text-decoration: none;
}

.legal-footer-links a:hover,
.legal-footer-links a:focus-visible {
    color: var(--color-text);
    text-decoration: underline;
}

.legal-page {
    width: min(100%, 54rem);
    margin-inline: auto;
}

.legal-page-nav {
    width: min(100%, 54rem);
    margin: 0 auto 0.35rem;
}

.legal-page-nav-bottom {
    margin-top: 1.25rem;
}

.legal-gallery-back {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    padding: 0.55rem 0.7rem;
    margin-left: -0.7rem;
    color: var(--color-muted);
    font-size: 0.92rem;
    text-decoration: none;
}

.legal-gallery-back:hover,
.legal-gallery-back:focus-visible {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.legal-gallery-back:focus-visible {
    outline: 2px solid var(--color-divider);
    outline-offset: 2px;
}

.legal-page h1 {
    margin-bottom: 2rem;
}

.legal-page section + section {
    margin-top: 2rem;
}

.legal-page h2 {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    font-weight: 620;
}

.legal-page p {
    margin: 0.6rem 0 0;
}

.legal-page address {
    font-style: normal;
}

.legal-page-date {
    margin-top: 2.5rem !important;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.information-page {
    width: min(100%, 48rem);
    margin-inline: auto;
}

.page-information-page .page-shell,
.page-album-list .page-shell {
    margin-top: calc(
        var(--breadcrumb-sticky-height)
        + var(--site-menu-toggle-gap)
        + var(--site-menu-toggle-size)
        + var(--site-menu-content-gap)
    );
}

.information-breadcrumb {
    justify-content: flex-start;
}

.information-brand {
    color: var(--color-text);
    font-weight: 560;
}

.information-brand:hover,
.information-brand:focus-visible {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.information-page-nav {
    margin: 0 0 0.45rem;
}

.information-page-nav-bottom {
    margin: 2.25rem 0 0;
}

.information-gallery-back {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    padding: 0.55rem 0.7rem;
    margin-left: -0.7rem;
    color: var(--color-muted);
    font-size: 0.92rem;
    text-decoration: none;
}

.information-gallery-back:hover,
.information-gallery-back:focus-visible {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.information-gallery-back:focus-visible {
    outline: 2px solid var(--color-divider);
    outline-offset: 2px;
}

.information-page > h1 {
    margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 560;
    letter-spacing: -0.025em;
}

.information-content {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.information-content .formatted-text-paragraph {
    margin: 0;
}

.information-content .formatted-text-paragraph + .formatted-text-paragraph {
    margin-top: 0.75em;
}

.information-content .formatted-text-heading {
    margin: 1.5em 0 0.55em;
    color: var(--color-text);
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.4;
}

.information-content .formatted-text-heading:first-child {
    margin-top: 0;
}

.information-contact,
.information-action {
    margin: 1.5rem 0 0;
}

.information-purchase-link {
    display: inline-flex;
    min-height: 2.7rem;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.95rem;
    border: 1px solid var(--color-text);
    border-radius: 4px;
    color: var(--color-white);
    background: var(--color-text);
    font-weight: 600;
    text-decoration: none;
}

.information-purchase-link:hover,
.information-purchase-link:focus-visible {
    background: #3a3a36;
}

.information-purchase-link:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.sensitive-content-notice {
    width: min(100%, 42rem);
    margin: clamp(3rem, 12vh, 8rem) auto;
    padding: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid var(--color-divider);
    border-radius: 6px;
    background: var(--color-surface);
    box-shadow: 0 0.5rem 1.5rem rgb(27 26 23 / 7%);
}

.sensitive-content-notice h1 {
    margin: 0 0 1rem;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 500;
}

.sensitive-content-notice p {
    max-width: 38rem;
    line-height: 1.7;
}

.sensitive-content-error {
    color: var(--color-text);
}

.sensitive-content-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.sensitive-content-actions form {
    margin: 0;
}

.sensitive-content-back,
.sensitive-content-continue {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    border: 1px solid var(--color-divider);
    border-radius: 4px;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.sensitive-content-back {
    border-color: var(--color-text);
    color: var(--color-white);
    background: var(--color-text);
}

.sensitive-content-continue {
    color: var(--color-text);
    background: transparent;
}

.sensitive-content-back:focus-visible,
.sensitive-content-continue:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.access-page form {
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.access-page input[type="password"] {
    width: min(100%, 24rem);
    padding: 0.7rem 0.8rem;
}

.access-page button {
    padding: 0.65rem 1rem;
    border: 1px solid var(--color-divider);
    color: var(--color-white);
    background: var(--color-accent);
    text-shadow: 0 1px 1px rgba(0,0,0,0.15);
    cursor: pointer;
}

@media (min-width: 64rem) {
    body.page-access {
        background-image: url("/welcome-image.php");
        background-repeat: no-repeat;
        background-position: right center;
        background-size: cover;
    }

    .page-access .page-shell {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 0;
        margin-bottom: 0;
    }

    body.page-access > .page-shell::after {
        position: fixed;
        z-index: 1;
        inset: 0;
        background: transparent;
        content: "";
    }

    .page-access .access-page {
        position: relative;
        z-index: 2;
        isolation: isolate;
        align-self: flex-start;
        width: min(100%, 42rem);
        margin: 0 0 0 clamp(0rem, 8vw, 8rem);
        text-align: left;
    }

    .page-access .access-page::before {
        position: absolute;
        z-index: -1;
        inset: -2.25rem -2.75rem;
        border-radius: 0.5rem;
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.42) 0%,
            rgba(255, 255, 255, 0.28) 50%,
            rgba(255, 255, 255, 0.08) 80%,
            rgba(255, 255, 255, 0.00) 100%
        );
        content: "";
        pointer-events: none;
        backdrop-filter: blur(3px) brightness(1.15) saturate(0.85);
        -webkit-backdrop-filter: blur(3px) brightness(1.15) saturate(0.85);
    }

    .page-access .access-page h1 {
        color: #222;
        font-size: 3.3rem;
        line-height: 1.05;
        text-shadow: none;
        mix-blend-mode: normal;
    }

    .page-access .access-page .access-subtitle {
        color: #000;
        font-size: 1.1rem;
        line-height: 1.4;
        text-shadow: none;
    }

    .page-access .access-page form {
        width: min(100%, 24rem);
        justify-items: start;
        margin-left: 0;
    }

    .page-access .site-footer-release,
    .page-access .site-footer-copyright,
    .page-access .site-footer-credit {
        color: rgba(255, 255, 255, 0.90);
        text-shadow: 0 1px 3px rgba(40, 40, 40, 0.90);
    }

    .page-access .legal-footer-links {
        color: rgba(255, 255, 255, 0.92);
        text-shadow: 0 1px 3px rgba(40, 40, 40, 0.90);
    }

    .page-access .legal-footer-links a:hover,
    .page-access .legal-footer-links a:focus-visible {
        color: #fff;
        text-shadow:
            0 1px 3px rgba(30, 30, 30, 0.95),
            0 0 5px rgba(255, 255, 255, 0.30);
    }

    body.page-access > .site-footer {
        position: relative;
        z-index: 2;
    }
}

.page-access .access-ai-label {
    position: fixed;
    z-index: 30;
    bottom: 26px;
    left: 26px;
    display: none;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1;
    text-shadow: 0 1px 1px rgba(0,0,0,0.15);
    pointer-events: none;
    user-select: none;
}

@media (min-width: 64rem) {
    .page-access .access-ai-label {
        display: block;
    }
}

.page-album .page-shell {
    margin-top: 0;
    margin-bottom: 2rem;
    padding-top: calc(
        var(--breadcrumb-sticky-height)
        + var(--site-menu-toggle-gap)
        + var(--site-menu-toggle-size)
        + var(--breadcrumb-bottom-gap)
    );
}

h1,
h2,
p {
    overflow-wrap: anywhere;
}

h1,
h2 {
    line-height: 1.2;
}

h1 {
    margin: 0 0 0.8rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 560;
    letter-spacing: -0.035em;
}

.eyebrow {
    margin: 0 0 0.45rem;
    color: var(--color-muted);
    font-size: 0.76rem;
    font-weight: 650;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.overview-heading {
    max-width: 42rem;
    margin: 0 auto var(--overview-heading-bottom-gap);
    text-align: center;
}

.overview-heading .intro {
    margin: 0;
    color: var(--color-muted);
}

.page-access .access-subtitle,
.page-access .access-instruction {
    color: #000;
    text-shadow: none;
}

.recent-gallery {
    --recent-gallery-frame-width: 4px;
    --recent-gallery-frame-shadow: 0 0.35rem 0.75rem rgb(27 26 23 / 23%), 0 0.08rem 0.18rem rgb(27 26 23 / 14%);

    width: min(100%, 48rem);
    margin: calc(-1 * var(--overview-heading-bottom-gap) + 3.125rem) auto var(--overview-heading-bottom-gap);
}

.recent-gallery h2 {
    margin: 0 0 0.875rem;
    font: inherit;
    color: var(--color-muted);
}

.recent-gallery-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 9rem));
    justify-content: space-between;
    gap: clamp(0.75rem, 2vw, 1.5rem);
}

.recent-gallery-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.4rem;
    color: inherit;
    text-decoration: none;
}

.recent-gallery-frame {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: var(--recent-gallery-frame-width);
    background: var(--frame-color);
    box-shadow: var(--recent-gallery-frame-shadow);
}

.recent-gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.recent-gallery-label {
    width: 100%;
    overflow: hidden;
    color: var(--color-muted);
    font-size: 0.84rem;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-gallery-item:hover .recent-gallery-frame,
.recent-gallery-item:focus-visible .recent-gallery-frame {
    box-shadow: var(--recent-gallery-frame-shadow), 0 0 0 1px var(--color-muted);
}

.recent-gallery-item:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 0.35rem;
}

/* The album index is a single aligned exhibition list, not a grid of cards. */
.album-list {
    display: grid;
    width: min(100%, var(--overview-list-width));
    margin-inline: auto;
    gap: var(--overview-row-gap);
}

.album-entry {
    display: grid;
    min-width: 0;
    grid-template-columns: var(--overview-frame-size) minmax(0, 1fr);
    align-items: center;
    column-gap: var(--overview-column-gap);
}

.album-cover-link {
    display: block;
    width: var(--overview-frame-size);
    max-width: 100%;
    color: inherit;
    text-decoration: none;
}

.album-preview-frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--frame-color);
    box-shadow: var(--frame-shadow);
}

.album-preview-window {
    position: absolute;
    inset: var(--frame-width);
    overflow: hidden;
}

.album-preview {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: var(--color-photo-surface);
}

.album-preview-empty {
    background: linear-gradient(145deg, var(--color-empty-start), var(--color-empty-end));
}

.album-entry-copy {
    display: flex;
    min-width: 0;
    max-width: 44rem;
    flex-direction: column;
    justify-content: center;
}

.album-entry-copy h2 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 0.7rem;
    font-size: clamp(1.2rem, 1.8vw, 1.65rem);
    font-weight: 560;
    letter-spacing: -0.02em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.album-title-link {
    color: inherit;
    text-decoration: none;
}

.album-title-link:hover,
.album-title-link:focus-visible {
    color: var(--color-accent);
}

.album-description {
    display: -webkit-box;
    margin: 0;
    color: var(--color-muted);
    font-size: 0.96rem;
    line-height: 1.65;
    white-space: pre-line;
    overflow-wrap: anywhere;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--overview-description-lines);
    line-clamp: var(--overview-description-lines);
}

.album-description-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.breadcrumb {
    position: fixed;
    top: 0;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    right: 0;
    left: 0;
    width: 100%;
    min-height: var(--breadcrumb-sticky-height);
    margin: 0;
    padding: var(--breadcrumb-padding-block) var(--page-gutter);
    color: var(--color-muted);
    font-size: 0.9rem;
    background: rgb(255 255 255 / 96%);
    border-bottom: 1px solid var(--color-divider);
    box-shadow: 0 0.15rem 0.35rem rgb(39 39 36 / 4%);
    align-items: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.breadcrumb a {
    text-decoration: none;
}

.vip-indicator {
    color: var(--color-muted);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    line-height: 1;
    white-space: nowrap;
}

.breadcrumb-vip {
    position: fixed;
    top: 50%;
    left: 50vw;
    width: max-content;
    transform: translate(-50%, -50%);
    pointer-events: none;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.34em;
    color: #63625d;
}

/* These fixed markers stay centered in the viewport regardless of breadcrumb content. */
.page-album-list .breadcrumb-vip {
    top: calc(var(--header-height) + (var(--breadcrumb-sticky-height) / 2));
}

.page-album .breadcrumb-vip {
    top: calc(var(--breadcrumb-sticky-height) / 2);
}

.gallery-wall:has(.vip-image-label),
.gallery-viewport:has(.vip-image-label) {
    overflow-x: clip;
    overflow-y: visible;
}

.breadcrumb-counter {
    color: var(--color-text);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.breadcrumb-actions {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.breadcrumb-logout {
    color: var(--color-muted);
    text-decoration: none;
    white-space: nowrap;
}

.breadcrumb-logout:hover,
.breadcrumb-logout:focus-visible {
    color: var(--color-text);
    text-decoration: underline;
}

.page-album-list .page-shell {
    position: relative;
}

.overview-breadcrumb {
    position: fixed;
    top: 0;
    left: 0;
    justify-content: flex-end;
}

.breadcrumb-counter-short {
    display: none;
}

.album-heading {
    width: 100%;
    margin: 0 auto var(--album-heading-bottom-gap);
    padding-block: var(--album-heading-padding-block);
    text-align: left;
}

.album-heading.has-description {
    display: grid;
    grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
    align-items: center;
    gap: var(--album-header-gap);
}

.album-title-column h1 {
    margin-bottom: 0;
}

.album-title-column {
    padding-left: clamp(1rem, 4vw, 3rem);
    text-align: right;
}

.album-teaser-column {
    min-width: 0;
}

.album-description-teaser {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--color-muted);
    line-height: var(--album-description-line-height);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--album-description-lines);
}

.album-read-more {
    display: inline-block;
    margin-top: 0.55rem;
    font-size: 0.9rem;
    text-decoration: none;
}

.album-full-description {
    width: min(100%, var(--album-description-max-width));
    margin: var(--album-description-section-space) auto;
    line-height: var(--album-description-line-height);
    scroll-margin-top: calc(var(--breadcrumb-sticky-height) + 1rem);
}

.album-full-description h2 {
    margin: 0 0 0.8rem;
    font-size: 1.35rem;
    font-weight: 600;
}

.album-full-description .description {
    color: var(--color-muted);
    line-height: var(--album-description-line-height);
}

.gallery {
    width: calc(100% + (2 * var(--page-gutter)));
    margin-left: calc(-1 * var(--page-gutter));
    background: var(--color-wall);
    box-shadow: 0 0.5rem 0.9rem -0.65rem rgb(60 55 46 / 30%);
}

.gallery-wall {
    /* The viewport clips off-stage photos; the reserved padding keeps frame shadows visible. */
    position: relative;
    width: 100%;
    min-height: calc(var(--photo-height) + (2 * var(--wall-padding-block)) + var(--gallery-stage-extra-height));
    margin-left: 0;
    padding: var(--wall-padding-block) 0;
    overflow-x: clip;
    overflow-y: visible;
}

@media (min-width: 64rem) {
    /* The scenic VIP backdrop is intentionally limited to the overview page. */
    body.page-album-list.is-vip {
        background-color: var(--color-page);
        background-image:
            linear-gradient(90deg, var(--color-page) 0%, rgb(248 247 244 / 96%) 40%, rgb(248 247 244 / 88%) 70%, rgb(248 247 244 / 76%) 100%),
            url("/assets/images/conny_vip.webp");
        background-repeat: no-repeat, no-repeat;
        background-position: center center, right 2rem center;
        background-size: 100% 100%, auto min(82vh, 48rem);
        background-attachment: scroll, fixed;
    }
}

.gallery-viewport {
    position: relative;
    width: 100%;
    height: var(--photo-height);
    overflow-x: clip;
    overflow-y: visible;
    touch-action: pan-y;
}

.gallery-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.gallery-slide {
    display: flex;
    position: absolute;
    top: 50%;
    width: fit-content;
    height: 100%;
    align-items: center;
    justify-content: center;
    margin: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
}

.gallery-slide.is-active {
    z-index: 2;
    left: 50%;
    pointer-events: auto;
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
}

.gallery-slide.is-previous {
    z-index: 1;
    left: 0;
    transform: translate(-65%, -50%);
    opacity: 0.72;
    visibility: visible;
}

.gallery-slide.is-next {
    z-index: 1;
    right: 0;
    transform: translate(65%, -50%);
    opacity: 0.72;
    visibility: visible;
}

.photo-button {
    display: grid;
    width: fit-content;
    height: 100%;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.photo-button:disabled {
    cursor: default;
}

.photo-frame {
    display: grid;
    position: relative;
    width: fit-content;
    height: fit-content;
    max-width: 100%;
    max-height: 100%;
    align-self: center;
    justify-self: center;
    place-items: center;
    padding: var(--frame-width);
    background: var(--frame-color);
    box-shadow: var(--frame-shadow);
    transition: none;
}

.gallery-info-panel,
.gallery-print-panel {
    position: absolute;
    z-index: 4;
    top: 12%;
    left: 50%;
    width: min(60vw, 1100px);
    min-width: min(50vw, 1100px);
    max-width: 1100px;
    max-height: 55vh;
    max-height: 55svh;
    padding: 1rem 1.25rem;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(-50%);
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 6px;
    color: var(--color-white);
    background: rgba(20, 20, 20, 0.68);
    box-shadow: 0 8px 30px rgb(0 0 0 / 25%);
    text-align: left;
    line-height: 1.6;
    overflow-wrap: anywhere;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Let the overlay extend beyond the stage without changing its layout dimensions. */
.gallery:has(.gallery-info-panel:not([hidden]), .gallery-print-panel:not([hidden])) .gallery-wall,
.gallery:has(.gallery-info-panel:not([hidden]), .gallery-print-panel:not([hidden])) .gallery-viewport {
    overflow: visible;
}

.gallery-info-panel h2,
.gallery-print-panel h2 {
    margin: 0 0 0.45rem;
    padding-right: 2.25rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.gallery-info-close {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 1;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: rgb(255 255 255 / 76%);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.78;
    transition: color 120ms ease, opacity 120ms ease;
}

.gallery-info-close:hover,
.gallery-info-close:focus-visible {
    color: var(--color-white);
    opacity: 1;
}

.gallery-info-close:focus-visible {
    outline: 1px solid rgb(255 255 255 / 48%);
}

.gallery-info-panel p,
.gallery-print-panel p {
    margin: 0 0 0.65rem;
    color: rgb(255 255 255 / 82%);
    white-space: pre-line;
}

.gallery-print-notice + .gallery-print-notice {
    margin-top: 0.8em;
}

.gallery-print-notice .formatted-text-paragraph {
    margin: 0;
    white-space: normal;
}

.gallery-print-notice .formatted-text-paragraph + .formatted-text-paragraph {
    margin-top: 0.7em;
}

.gallery-print-notice .formatted-text-heading {
    margin: 0 0 0.45em;
    padding: 0;
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.gallery-print-notice .formatted-text-paragraph + .formatted-text-heading {
    margin-top: 0.9em;
}

.gallery-info-panel a,
.gallery-print-panel a {
    color: var(--color-white);
    text-underline-offset: 3px;
}

.gallery-info-purchase,
.lightbox-information-purchase {
    display: inline;
    padding: 0;
    border: 0;
    color: var(--color-white);
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gallery-info-purchase:focus-visible,
.lightbox-information-purchase:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 3px;
}

.gallery-image-controls {
    position: absolute;
    z-index: 3;
    top: calc(100% + 1.4rem);
    left: 50%;
    display: flex;
    gap: 0.65rem;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
}

.gallery-info-toggle,
.gallery-print-toggle {
    display: inline-grid;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 1px solid rgb(24 24 22 / 12%);
    border-radius: 4px;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.30);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    font: inherit;
    font-size: 1.15rem;
    line-height: 1;
    transition: background-color 120ms ease, border-color 120ms ease;
}

.gallery-info-toggle > span,
.gallery-print-toggle > span {
    pointer-events: none;
}

.gallery-info-toggle:hover,
.gallery-info-toggle:focus-visible,
.gallery-print-toggle:hover,
.gallery-print-toggle:focus-visible {
    border-color: rgb(24 24 22 / 20%);
    background: rgba(255, 255, 255, 0.46);
}

.gallery-info-toggle:focus-visible,
.gallery-print-toggle:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.gallery-print-order-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    margin-top: 0.35rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgb(255 255 255 / 30%);
    border-radius: 4px;
    background: rgb(255 255 255 / 10%);
    font-weight: 600;
    text-decoration: none;
}

.gallery-print-order-link:hover,
.gallery-print-order-link:focus-visible {
    background: rgb(255 255 255 / 18%);
}

.gallery-print-order-link:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.gallery-print-panel.is-lightbox-panel {
    position: fixed;
    z-index: 8;
    top: auto;
    right: auto;
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
}

.vip-image-label {
    position: absolute;
    z-index: 3;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    line-height: 1;
    pointer-events: none;
}

.photo-frame img {
    display: block;
    width: auto;
    height: var(--gallery-image-height);
    max-height: min(var(--gallery-image-max-height), calc(var(--photo-height) - (2 * var(--frame-width))));
    max-width: min(100%, var(--gallery-image-max-width));
    object-fit: contain;
}

.gallery-arrow {
    position: absolute;
    z-index: 10;
    top: 50%;
    display: grid;
    width: var(--gallery-nav-width);
    height: var(--gallery-nav-height);
    place-items: center;
    transform: translateY(-50%);
    border: var(--gallery-nav-border);
    border-radius: 0;
    color: var(--color-white);
    background: var(--gallery-nav-background);
    cursor: pointer;
    transition: background-color 140ms ease, opacity 140ms ease;
}

.gallery-arrow:not(:disabled):hover {
    background: var(--gallery-nav-hover-background);
}

.gallery-arrow span {
    font-size: 1.8rem;
    line-height: 1;
}

.gallery-arrow:disabled {
    opacity: 0.58;
    cursor: default;
}

.gallery-arrow-prev {
    left: 0;
}

.gallery-arrow-next {
    right: 0;
}

.gallery-empty {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(90vw, 40rem);
    margin: auto;
    transform: translate(-50%, -50%);
    color: var(--color-muted);
    text-align: center;
}

.image-information {
    display: flex;
    height: var(--metadata-reserved-height);
    min-height: var(--metadata-reserved-height);
    max-height: var(--metadata-reserved-height);
    justify-content: center;
    padding: var(--image-information-padding);
    padding-top: 1rem;
}

.status-page {
    max-width: 42rem;
    margin: 4rem auto;
    text-align: center;
}

@media (min-width: 1440px) {
    :root {
        --overview-preview-size: 15rem;
        --overview-description-lines: 5;
        --gallery-stage-image-height: clamp(231px, 30.45vh, 546px);
        --gallery-image-max-height: 630px;
        --gallery-image-height: clamp(267px, 35.175vh, var(--gallery-image-max-height));
        --album-heading-bottom-gap: 5rem;
        --album-heading-padding-block: 0.6rem;
        --gallery-stage-extra-height: 2.4rem;
        --metadata-reserved-height: 11.5rem;
        --image-information-padding: 1.15rem 1rem 1.5rem;
    }

    .breadcrumb {
        padding-right: max(var(--page-gutter), 12rem);
    }

    .breadcrumb-logout {
        position: absolute;
        top: 50%;
        right: 24px;
        transform: translateY(-50%);
    }

    .gallery-info-panel,
    .gallery-print-panel {
        top: var(--gallery-info-top, 73%);
        transform: translateX(-50%);
    }

    .gallery-track {
        transform: translateY(20px);
    }
}

@media (max-width: 56rem) {
    :root {
        --overview-preview-size: clamp(12rem, 25vw, 15rem);
        --overview-list-width: 62rem;
        --overview-column-gap: 1.35rem;
        --overview-row-gap: 3.5rem;
    }

}

.lightbox {
    /* Keep long captions scrollable while viewport-fixed controls remain independent of content height. */
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 12px 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    background: transparent;
}

body.lightbox-open .breadcrumb {
    display: none;
}

.lightbox::backdrop {
    background: var(--lightbox-backdrop);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.lightbox__fullscreen {
    width: 100%;
}

.lightbox__fullscreen:fullscreen,
.lightbox__fullscreen:-webkit-full-screen {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    overflow: auto;
    background: var(--lightbox-backdrop);
}

.lightbox[open] {
    display: block;
}

.lightbox-content {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 24px);
    min-height: calc(100dvh - 24px);
    flex-direction: column;
    align-items: center;
}

.lightbox-stage {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: flex;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    justify-content: center;
    align-items: center;
    padding: 0;
    touch-action: pan-y;
}

.lightbox-image-button {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.lightbox-image-button img {
    display: block;
    width: auto;
    height: auto;
    border: 7px solid var(--color-frame);
    max-width: min(calc(100vw - 120px), 100%);
    max-height: var(--lightbox-image-max-height);
    max-height: min(var(--lightbox-image-max-height), calc(100dvh - 32px));
    object-fit: contain;
}

@media (any-pointer: coarse) {
    .lightbox-image-button {
        touch-action: none;
    }

    .lightbox-image-button img {
        transform-origin: center;
        will-change: transform;
    }
}

.lightbox-information {
    width: min(100%, var(--lightbox-content-width));
    margin: var(--lightbox-caption-gap) auto 2rem;
    padding: 0 1rem;
    color: var(--color-white);
    text-align: center;
    line-height: 1.65;
}

.lightbox-information h2 {
    margin: 0 0 0.55rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.lightbox-information p {
    margin: 0;
    color: rgb(255 255 255 / 82%);
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.lightbox-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 2.75rem;
    height: 3.5rem;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid var(--color-lightbox-border);
    border-radius: 0;
    color: var(--color-white);
    background: var(--color-lightbox-control);
    cursor: pointer;
}

.lightbox-arrow span {
    font-size: 1.65rem;
    line-height: 1;
}

.lightbox-arrow-prev {
    left: 0;
}

.lightbox-arrow-next {
    right: 0;
}

.lightbox-arrow:disabled {
    opacity: 0.4;
    cursor: default;
}

@media (min-width: 48.01rem) and (pointer: fine) {
    .lightbox .lightbox-arrow {
        position: fixed;
        top: 50%;
    }

    .lightbox .lightbox-arrow-prev {
        left: 1rem;
    }

    .lightbox .lightbox-arrow-next {
        right: 1rem;
    }
}

.lightbox-close {
    position: fixed;
    z-index: 7;
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    color: rgb(255 255 255 / 90%);
    background: transparent;
    cursor: pointer;
    font-size: 1.75rem;
    line-height: 1;
    opacity: 0.9;
    transition: color 150ms ease, opacity 150ms ease;
}

.lightbox-controls {
    position: fixed;
    z-index: 7;
    right: calc(12px + env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: flex;
    gap: 8px;
}

.lightbox-control {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 4px;
    color: rgb(255 255 255 / 88%);
    background: rgb(15 15 15 / 52%);
    cursor: pointer;
    font: inherit;
    font-size: 1.35rem;
    line-height: 1;
    opacity: 0.82;
    transition: background-color 150ms ease, opacity 150ms ease;
}

.lightbox-control:hover,
.lightbox-control:focus-visible {
    background: rgb(15 15 15 / 78%);
    opacity: 1;
}

.lightbox-control:disabled {
    cursor: default;
    opacity: 0.45;
}

.lightbox-information {
    position: fixed;
    z-index: 6;
    right: auto;
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    width: min(var(--lightbox-content-width), calc(100vw - 2rem));
    max-height: min(42vh, 20rem);
    margin: 0;
    padding: 1rem 3.5rem 1rem 1.25rem;
    overflow: auto;
    transform: translateX(-50%);
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 6px;
    color: var(--color-white);
    background: rgb(12 12 12 / 78%);
    text-align: left;
    line-height: 1.6;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: lightbox-information-in 160ms ease-out both;
}

@keyframes lightbox-information-in {
    from { opacity: 0; transform: translate(-50%, 6px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.lightbox-information h2 {
    margin: 0 0 0.45rem;
    padding-right: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.lightbox-information p {
    margin: 0 0 0.65rem;
    color: rgb(255 255 255 / 82%);
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.lightbox-information a {
    color: var(--color-white);
    text-underline-offset: 3px;
}

.lightbox-close:hover {
    color: #fff;
    opacity: 1;
}

[hidden] {
    display: none !important;
}

@media (max-width: 48rem) {
    /* Compact navigation and stage spacing for touch-sized viewports. */
    :root {
        --page-gutter: 1rem;
        --album-gap: 0.8rem;
        --album-min-width: 9rem;
        --header-height: 0.35rem;
        --page-top-spacing: 1.8rem;
        --album-page-top-spacing: 0.7rem;
        --album-text-gap: 0.45rem;
        --breadcrumb-bottom-gap: 0.45rem;
        --breadcrumb-padding-block: 0.45rem;
        --album-header-gap: 1rem;
        --album-description-section-space: 3rem;
        --overview-preview-size: min(64vw, 20rem);
        --overview-column-gap: 1rem;
        --overview-row-gap: 3.5rem;
        --album-heading-bottom-gap: 2.2rem;
        --frame-width: 0.28rem;
        --photo-gap: 0.8rem;
        --gallery-stage-image-height: clamp(200px, 48vh, 420px);
        --gallery-image-max-height: 441px;
        --gallery-image-height: clamp(210px, 50.4vh, var(--gallery-image-max-height));
        --gallery-image-max-width: 84vw;
        --gallery-nav-width: 2.75rem;
        --gallery-nav-height: 3.5rem;
        --metadata-reserved-height: 11rem;
        --wall-padding-block: 0.5rem;
        --image-information-padding: 0.45rem 1rem 1.25rem;
    }

    .page-shell {
        width: 100%;
        margin-top: var(--page-top-spacing);
    }

    body.page-album-list .site-footer {
        width: calc(100% - (2 * var(--page-gutter)));
        max-width: 38rem;
    }

    .page-album .page-shell {
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .overview-heading,
    .album-heading,
    .empty-state,
    .status-page {
        width: calc(100% - (2 * var(--page-gutter)));
        margin-right: auto;
        margin-left: auto;
    }

    .breadcrumb {
        width: 100%;
        padding-right: var(--page-gutter);
        padding-left: var(--page-gutter);
        font-size: 0.82rem;
    }

    .information-page {
        width: calc(100% - (2 * var(--page-gutter)));
    }

    .overview-breadcrumb {
        min-height: 0;
        padding-block: 0.1rem;
    }

    .page-album-list .breadcrumb-vip {
        top: calc(var(--header-height) + 0.8rem);
    }

    .page-album > .page-shell > .breadcrumb > a:first-child {
        flex: 0 1 auto;
        max-width: 3.2rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.7rem;
    }

    .page-album > .page-shell > .breadcrumb > span[aria-current="page"] {
        flex: 0 1 auto;
        max-width: max(1.5rem, calc(50vw - 8.5rem));
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.7rem;
    }

    .breadcrumb-counter {
        font-size: 0.78rem;
    }

    .breadcrumb-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.45rem 0.7rem;
    }

    .breadcrumb-logout {
        position: static;
        transform: none;
    }

    .breadcrumb-counter > span:first-child {
        display: none;
    }

    .breadcrumb-counter-short {
        display: inline;
    }

    .album-heading.has-description {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 0.9rem;
    }

    .album-title-column h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .album-title-column {
        padding-left: 0;
        text-align: left;
    }

    .album-full-description {
        width: calc(100% - (2 * var(--page-gutter)));
    }

    .overview-heading {
        margin-bottom: 4rem;
    }

    .recent-gallery {
        width: calc(100% - (2 * var(--page-gutter)));
        margin-top: -1rem;
        margin-bottom: 4rem;
    }

    .recent-gallery-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .album-list {
        width: calc(100% - (2 * var(--page-gutter)));
        max-width: 38rem;
        margin-inline: auto;
    }

    .album-entry {
        grid-template-areas:
            "cover"
            "copy";
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        justify-items: center;
        row-gap: 1.75rem;
    }

    .album-cover-link {
        grid-area: cover;
        width: min(100%, var(--overview-frame-size));
        margin-inline: auto;
    }

    .album-entry-copy {
        grid-area: copy;
        width: min(100%, var(--overview-frame-size));
        max-width: none;
        margin: 0 auto;
        text-align: left;
    }

    .album-description {
        display: -webkit-box;
        flex: 0 0 auto;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .album-entry-copy h2 {
        font-size: 1.15rem;
    }

    .album-description {
        font-size: 0.92rem;
    }

    .gallery-slide.is-active,
    .gallery-slide.is-active .photo-button,
    .gallery-slide.is-active .photo-frame {
        height: auto;
    }

    .gallery-slide.is-active .photo-frame img {
        width: auto;
        height: auto;
        max-width: min(92vw, 100%);
        max-height: 42vh;
        object-fit: contain;
    }

    .gallery-slide.is-active {
        z-index: 3;
    }

    .gallery-slide.is-previous {
        transform: translate(-75%, -50%);
    }

    .gallery-slide.is-next {
        transform: translate(75%, -50%);
    }

    .gallery-slide.is-previous .photo-frame img,
    .gallery-slide.is-next .photo-frame img {
        height: calc(var(--gallery-image-height) * 0.6);
    }

    .gallery-arrow-prev,
    .gallery-arrow-next {
        display: none;
    }

    .lightbox {
        min-height: 100vh;
        min-height: 100svh;
        align-items: center;
        justify-content: center;
        padding: 6px;
        overflow: auto;
    }

    .lightbox:not([open]) {
        display: none;
    }

    .lightbox[open] {
        display: flex;
    }

    .lightbox-content {
        display: flex;
        width: 100%;
        min-height: 0;
        align-items: center;
        justify-content: center;
    }

    .lightbox-stage {
        display: flex;
        width: 100vw;
        min-height: calc(100vh - 12px);
        min-height: calc(100svh - 12px);
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .lightbox-image-button {
        max-width: 100%;
        margin: auto;
    }

    .lightbox-image-button img {
        width: auto;
        height: auto;
        max-width: min(calc(100vw - 12px), 100%);
        max-height: calc(100vh - 12px);
        max-height: calc(100svh - 12px);
        border: 0;
        box-shadow: none;
        object-fit: contain;
    }

    .gallery-wall {
        width: 100%;
        margin-left: 0;
        min-height: calc(var(--photo-height) + (2 * var(--wall-padding-block)));
        padding: var(--wall-padding-block) 0;
    }

    .gallery {
        width: 100%;
        margin-left: 0;
    }

    .gallery-arrow span {
        font-size: 1.45rem;
    }

}

@media (max-width: 480px) {
    .gallery-slide.is-previous {
        transform: translate(-88%, -50%);
    }

    .gallery-slide.is-next {
        transform: translate(88%, -50%);
    }
}

@media (max-width: 360px) {
    .gallery-slide.is-previous {
        transform: translate(-96%, -50%);
    }

    .gallery-slide.is-next {
        transform: translate(96%, -50%);
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .lightbox {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 0;
        overflow: hidden;
    }

    .lightbox[open] {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lightbox-content {
        width: 100%;
        height: 100%;
        min-height: 0;
        align-items: center;
        justify-content: center;
    }

    .lightbox-stage {
        width: 100%;
        height: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
    }

    .lightbox-image-button {
        max-width: 100%;
        margin: 0;
    }

    .lightbox-image-button img {
        width: auto;
        height: auto;
        max-width: 100vw;
        max-height: 100vh;
        max-height: 100dvh;
        margin: 0;
        border: 0;
        box-shadow: none;
        object-fit: contain;
    }

}

/* In browser fullscreen, the viewer uses the whole screen; the regular lightbox safety gutters do not apply. */
.lightbox__fullscreen:fullscreen,
.lightbox__fullscreen:-webkit-full-screen {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

.lightbox__fullscreen:fullscreen .lightbox-content,
.lightbox__fullscreen:-webkit-full-screen .lightbox-content {
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

.lightbox__fullscreen:fullscreen .lightbox-stage,
.lightbox__fullscreen:-webkit-full-screen .lightbox-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.lightbox__fullscreen:fullscreen .lightbox-image-button img,
.lightbox__fullscreen:-webkit-full-screen .lightbox-image-button img {
    max-width: 100vw;
    max-height: 100vh;
    max-height: 100dvh;
    margin: 0;
    object-fit: contain;
}

@media (hover: none) and (pointer: coarse) {
    .lightbox-arrow-prev,
    .lightbox-arrow-next {
        display: none;
    }
}

@media (max-width: 47.99rem) {
    .gallery-info-panel,
    .gallery-print-panel {
        width: calc(100vw - 32px);
        min-width: 0;
        max-width: calc(100vw - 32px);
        max-height: 55vh;
        max-height: 55svh;
        padding: 0.85rem 1rem;
    }
}

@media (max-width: 48rem) {
    .image-information {
        padding-top: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
