* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}


:root {
    --brand: oklch(0.28 0.09 15);
    --cream: oklch(0.93 0.04 82);
    --gold: #d2a55a;
    --brass: #b08a4f;
    --base: oklch(0.11 0.016 20);

    --brand-hover: oklch(from var(--brand) calc(l + 0.06) c h);
    --brand-muted: oklch(from var(--brand) calc(l + 0.10) calc(c * 0.9) h);
    --brand-deep:  oklch(from var(--brand) calc(l - 0.12) c h);
    --brand-soft:  oklch(from var(--brand) l c h / 0.18);
    --brand-line:  oklch(from var(--brand) l c h / 0.55);

    --bg: var(--base);
    --bg-alt: oklch(from var(--base) calc(l + 0.04) c h);
    --surface: oklch(from var(--base) calc(l + 0.08) c h);
    --surface-hover: oklch(from var(--base) calc(l + 0.13) c h);
    --line: oklch(from var(--base) calc(l + 0.17) c h / 0.50);

    --text: oklch(0.94 0.008 30);
    --text-soft: oklch(0.75 0.012 30);
    --text-mute: oklch(0.70 0.010 30);

    --cream-2: oklch(from var(--cream) calc(l - 0.04) c h);
    --cream-line: oklch(from var(--cream) calc(l - 0.10) c h);
    --cream-ink: oklch(from var(--cream) 0.22 calc(c * 0.7) h);

    --gold-soft: oklch(from var(--gold) l c h / 0.18);

    --text-size: var(--text-lg);
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse at 50% -10%, oklch(0.22 0.040 20 / 0.50) 0%, transparent 60%),
        radial-gradient(ellipse at 100% 100%, var(--brand-soft) 0%, transparent 55%);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

    & > main {
        flex-grow: 1;
    }
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0.032;
    background-image: url("../img/grain.svg");
    background-repeat: repeat;
    background-size: 300px 300px;
}


h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.10;
    letter-spacing: 0;
    margin: 0;
    text-wrap: balance;

    & .hl {
        color: var(--brand);
    }
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: var(--cream);
}

h2 {
    font-size: clamp(2.5rem, 3vw, 3rem);
}

h3 {
    font-size: clamp(2rem, 3vw, 2.4rem);
}

h4 {
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    font-weight: 600;
}


.container {
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

section {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;

    &.alt {
        background-color: var(--bg-alt);
    }
}

.columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
    gap: var(--sp-xl);
    align-items: center;
    padding: var(--sp-xl) 0;

    & img {
        width: min(70%, 22rem);
    }
}

.column {
    display: grid;
    place-items: center;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-lg);
    padding: var(--sp-xl) 0;
}


nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background-color: oklch(from var(--bg) l c h / 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);

    & .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.4rem 0;
    }

    & img {
        max-height: 4rem;
    }

    & ul {
        display: flex;
        gap: var(--sp-xl);
        list-style: none;
    }

    & ul a {
        color: var(--text-soft);
        text-decoration: none;
        text-transform: uppercase;
        padding: 5px 0;

        &:hover {
            color: var(--gold);
        }

        &.active {
            color: var(--brass);
            border-bottom: 2px solid var(--brand-deep);
        }
    }
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 35;
    background: transparent;
    border: 1px solid var(--brand-line);
    color: var(--text-soft);
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease;

    &:hover {
        color: var(--gold);
        border-color: var(--brand);
    }

    & svg {
        width: 22px;
        height: 22px;
    }

    & .ico.x { display: none; }
}

body.nav-open .nav-toggle .ico.ham { display: none; }
body.nav-open .nav-toggle .ico.x { display: inline; }


header {
    height: 40vh;
    background-image: var(--header-bg);
    background-size: cover;
    background-position: center;
    padding: 2rem 0 3rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 -3px 0 var(--bg);

    & h1.hero {
        font-size: clamp(2.5rem, 10vw, 6rem);
        color: var(--text);
        font-weight: 500;
    }

    & .container {
        width: 100%;
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
    }

    & .overlay {
        position: absolute;
        inset: 0;
        z-index: 0;
        background-image: linear-gradient(
                rgba(0, 0, 0, 0.5) 0%,
                rgba(0, 0, 0, 0.1) 30%,
                rgba(0, 0, 0, 0.7) 70%,
                rgba(0, 0, 0, 0.9) 100%
        );
        background-size: cover;
        background-position: center;
    }

    & .cta-btn {
        margin-top: 2rem;
        display: flex;
        gap: 1rem;
    }

    & .stamp {
        color: var(--brass);
        border: 1px solid var(--brand-line);
        padding: .65rem 1.15rem;
        text-transform: uppercase;
        font-family: var(--font-mono);
        letter-spacing: .1em;
        background: oklch(0 0 0 / 0.6);
        box-shadow: 0 0 10px oklch(0 0 0 / 0.5);
        transform: rotate(-1deg);
        display: inline-block;
    }

    & p {
        color: var(--text-mute);
        font-size: clamp(1rem, 2vw, 1.1rem);
        letter-spacing: .02em;
    }

    & cite {
        color: var(--text-mute);
        font-family: var(--font-serif);
        font-size: clamp(1rem, 2vw, 1.4rem);
    }
}


address {
    font-style: normal;
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    color: var(--text-soft);
    line-height: 1.6;
}


.contact-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 1rem 0;

    &.inline {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    & a {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        font-family: var(--font-mono);
        font-size: var(--text-size);
        letter-spacing: 0.04em;
        color: var(--brass);
        text-decoration: none;
        transition: color .2s ease;

        & svg {
            flex-shrink: 0;
            opacity: 0.65;
        }

        &:hover {
            color: var(--gold);

            & svg {
                opacity: 1;
            }
        }
    }
}


.btn {
    display: inline-block;
    padding: .75rem 1.5rem;
    border: 1px solid var(--brand-deep);
    color: var(--text-soft);
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;

    &:hover {
        color: var(--brass);
        border-color: var(--brand);
        transform: translateY(-2px);
    }

    &.cta {
        background-color: var(--gold);
        border-color: var(--brass);
        color: var(--base);

        &:hover {
            color: var(--base);
            background-color: var(--brass);
            border-color: var(--brass);
        }
    }

    &.secondary {
        background-color: var(--brand);
        border-color: var(--brand-deep);
        color: var(--cream);

        &:hover {
            color: var(--cream);
            background-color: var(--brand-hover);
            border-color: var(--brand-hover);
        }
    }
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-sm);
    margin-bottom: var(--sp-xl);
}

.btn-filter {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--brand-line);
    color: var(--text-mute);
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;

    &:hover {
        color: var(--brass);
        border-color: var(--brand);
    }

    &.active {
        background-color: var(--brand);
        border-color: var(--brand-deep);
        color: var(--text-soft);
    }
}

.pagination-bar {
    margin-top: var(--sp-xl);
    margin-bottom: 0;
    justify-content: center;
}

.btn-filter--page {
    cursor: default;

    &:hover {
        color: var(--text-mute);
        border-color: var(--brand-line);
    }
}

.links-line-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1rem 0;
}

.link {

    color: var(--text);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.1em;
    display: inline-block;
    padding: .5rem 0 5px 0;
    border-bottom: 1px solid var(--text-mute);
    font-weight: 500;

    &:hover {
        color: var(--gold);
    }

    &::after {
        content: '→';
        margin-left: 0.5rem;
        display: inline-block;
        transition: transform .2s ease;
    }

    &.gold {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--brass);
        text-decoration: none;
        padding: 0.5rem 0;
        border-bottom: 2px solid var(--brand-deep);
        font-size: 1.3rem;
        font-family: var(--font-serif);

        &:hover {
            color: var(--text);
            border-bottom-color: var(--brand-hover);
        }
    }

    &.more {
        font-family: var(--font-mono);
        font-size: var(--text-xs);
        letter-spacing: 0.2em;
        color: var(--text-soft);
        font-weight: 400;
        display: inline-flex;
        align-items: center;
    }
}

.eyebrow {
    color: var(--text-mute);
    text-transform: uppercase;
    font-family: var(--font-mono);
    font-weight: 400;
    letter-spacing: .2em;
    font-size: .75rem;
    display: inline-flex;
    align-items: center;

    &:before {
        content: '';
        width: 28px;
        height: 1px;
        background: var(--gold);
        margin-right: .5rem;
        opacity: 0.75;
        display: inline-block;
    }
}

.label {
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--brass);
}

.text-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    font-size: var(--text-size);
}

.card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.2rem;
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: background-color .2s ease;

    &:hover {
        background-color: var(--surface-hover);
    }

    /* Edge-to-edge image — negative margin breaks out of card padding */
    & .media {
        margin: -1.2rem -1.2rem 0;
        height: 200px;
        background-size: cover;
        background-position: center;
        flex-shrink: 0;
    }

    & .head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.5rem;

        & .label {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            font-family: var(--font-mono);
            font-size: var(--text-xs);
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--brass);
        }

        & time {
            font-family: var(--font-mono);
            font-size: var(--text-xs);
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--text-mute);
        }
    }

    & h3 {
        color: var(--text);
        font-size: 1.6rem;
    }

    & > p {
        font-size: var(--text-size);
        color: var(--text-soft);
        flex: 1;
    }

    & .foot {
        margin-top: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 1rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--brand-line);
    }

    &.bt {
        border-top: 2px solid var(--brand);
    }

    &.red {
        border-left: 2px solid var(--brand);
        transition: background-color .2s ease, border-left-color .2s ease;
        &:hover { border-left-color: var(--brand); }
    }

    &.gold {
        border-left: 3px solid var(--gold);
        transition: background-color .2s ease, border-left-color .2s ease;
        background-image:
            radial-gradient(ellipse at 15% 0%, oklch(0.25 0.03 20 / 0.45) 0%, transparent 50%),
            repeating-linear-gradient(
                0deg,
                transparent 0 calc(1.8rem - 1px),
                rgb(107 30 40 / 0.08) calc(1.8rem - 1px) 1.8rem
            );
        &:hover { border-left-color: var(--gold); }

        & > p {
            font-family: var(--font-serif);
            font-style: italic;
            font-size: clamp(1.2rem, 1.5vw, 1.6rem);
            line-height: 1.25;
            color: var(--text);
        }

        & .foot {
            justify-content: space-between;
            align-items: baseline;

            & address {
                font-family: var(--font-serif);
                font-style: italic;
                font-size: 1.1rem;
                color: var(--text);

                & span {
                    display: block;
                    font-family: var(--font-mono);
                    font-size: var(--text-xs);
                    letter-spacing: 0.2em;
                    text-transform: uppercase;
                    color: var(--text-mute);
                    font-style: normal;
                }
            }
        }
    }

    &.short {
        gap: 0.4rem;

        & h3 {
            font-size: 1.1rem;
            line-height: 1.2;
        }

        & > p {
            font-size: 1rem;
            line-height: 1.4;
        }

        & .foot {
            border-top: none;
            padding-top: 0;
            margin-top: 0.25rem;
            justify-content: flex-start;
        }
    }
}

.notice-seal {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--gold) 0%, var(--brass) 60%, var(--brand-deep) 100%);
    flex-shrink: 0;
    display: inline-block;
}

.news-slips {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsroom {
    & .header {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: var(--sp-md);
        margin-bottom: var(--sp-xl);
    }

    & .grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: var(--sp-lg);
    }

    & .grid + div {
        margin-top: 1.5rem;
    }
}

.archive {
    /* gold loses border and texture, keeps serif via .card.gold > p */
    & .card.gold {
        border-left-width: 1px;
        border-left-color: var(--line);
        background-image: none;
        transition: background-color .2s ease;

        &:hover { border-left-color: var(--line); }
    }
}

.gallery-strip {
    padding: 0;

    & .container {
        padding-block: 1.5rem;
    }
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 4px;

    & > a {
        background-size: cover;
        background-position: center;
        display: block;
        transition: filter .3s ease;

        &:hover {
            filter: brightness(1.1);
        }
    }

    & > a:nth-child(1) { grid-row: span 2; }
    & > a:nth-child(4) { grid-column: span 2; }
}

.cask-data {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: .5rem 1rem;
    color: var(--text-mute);
    font-family: var(--font-mono);
    letter-spacing: .05em;
    font-size: var(--text-sm);
}

.cite {
    display: block;
    text-align: center;
    margin-inline: auto;
    max-inline-size: 72ch;
    padding: 2rem 1rem;

    color: var(--brass);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(2rem, 1.5vw + 1.5rem, 3rem);
    text-wrap: balance;

    &.sm {
        font-size: clamp(1.2rem, 1vw + 0.9rem, 1.7rem);
        max-inline-size: 56ch;
    }

    & cite {
        display: block;
        margin-block-start: 0.75rem;
        font-size: clamp(1.4rem, 1vw + 1rem, 2rem);
        color: var(--text-mute);
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-xl);
    align-items: center;

    & figure {
        display: grid;
        border-left: 2px solid var(--gold);
        box-shadow: 4px 4px 8px var(--bg-alt);
        padding: .2rem 1.4rem;

        & div {
            font-size: 3rem;
            font-family: var(--font-serif);
        }

        & p {
            color: var(--text-mute);
            font-size: var(--text-size);
        }
    }
}


.light {
    --text-soft: oklch(from var(--cream-ink) calc(l + 0.20) c h);
    --text-mute: oklch(from var(--cream-ink) calc(l + 0.35) c h);
    --surface: var(--cream-2);
    --line: var(--cream-line);

    background-color: var(--cream-2);
    color: var(--cream-ink);

    text-rendering: initial;

    & h2 {
        margin-bottom: 2rem;
        margin-top: 1rem;
    }

    & p {
        color: var(--text-soft);
        font-family: var(--font-sans);
        font-weight: 400;
        font-size: 1.4rem;
        max-width: 30ch;
    }

    & a {
        color: var(--brand);
        text-transform: uppercase;
        text-decoration: none;
        letter-spacing: 0.1em;
        display: inline-block;
        padding: .5rem 0 5px 0;
        border-bottom: 1px solid var(--brand-deep);
        font-weight: 500;

        &::after {
            content: '→';
            margin-left: 0.5rem;
            display: inline-block;
            transition: transform .2s ease;
        }

        &:hover {
            color: var(--brand-hover);

            &::after {
                transform: translateX(4px);
            }
        }
    }

    & .facts {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        gap: 2rem;
        width: 100%;
        height: 100%;


        & figure {
            display: inline-block;
            box-shadow: none;
            border-left: 4px solid var(--brand);
            padding-left: 1rem;

            & span {
                font-family: var(--font-mono);
                text-transform: uppercase;
                font-size: var(--text-xs);
            }

            & div {
                font-family: var(--font-serif);
                font-weight: 300;
                font-size: 2rem;
            }

            & p {
                font-weight: 300;
                font-size: var(--text-size);
            }
        }
    }
}


footer {
    background-color: oklch(0.08 0.01 220);
    font-family: var(--font-sans);

    & .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--sp-xl);
        justify-items: center;
        padding: var(--sp-2xl) 0;
    }

    & ul {
        list-style: none;
    }

    & img {
        max-height: 5rem;
    }

    & p {
        color: var(--text-mute);
    }

    & h4 {
        font-family: var(--font-mono);
        font-size: var(--text-sm);
        color: var(--text-mute);
        text-transform: uppercase;
        letter-spacing: .1em;
        margin-bottom: 1rem;
    }

    & li {
        font-size: var(--text-size);
        color: var(--text-mute);
        margin-bottom: .5rem;

        & a {
            color: var(--text-mute);
            text-decoration: none;
            transition: color .2s ease;
            font-size: var(--text-size);

            &:hover {
                color: var(--gold);
            }
        }
    }

    & .copyright {
        font-family: var(--font-mono);
        font-size: var(--text-sm);
        letter-spacing: .05em;
        color: var(--text-mute);
        text-transform: uppercase;

        display: flex;
        justify-content: space-between;

        padding: 2rem 0;

        border-top: 1px solid var(--line);
    }
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: var(--sp-xl) 0;
}

.photo-card {
    aspect-ratio: 1;
    overflow: hidden;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    display: block;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
        display: block;
    }

    &:hover img,
    &:focus-visible img {
        transform: scale(1.07);
    }
}

.gallery-description {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 1.5vw, 1.6rem);
    color: var(--text-soft);
    max-width: 72ch;
    line-height: 1.7;
}


.prose {
    max-width: 72ch;
    margin-inline: auto;
    font-size: var(--text-lg);
    line-height: 1.75;

    & p {
        color: var(--text-soft);
        margin-bottom: 1.25rem;
    }

    & h2 {
        font-size: clamp(1.8rem, 2.5vw, 2.4rem);
        margin-top: 2.5rem;
        margin-bottom: 0.75rem;
    }

    & h3 {
        font-size: clamp(1.4rem, 2vw, 1.8rem);
        margin-top: 2rem;
        margin-bottom: 0.5rem;
    }

    & blockquote {
        border-left: 3px solid var(--brand);
        padding-left: 1.5rem;
        margin: 1.5rem 0;
        font-family: var(--font-serif);
        font-style: italic;
        font-size: 1.25em;
        color: var(--text-soft);
    }

    & ul,
    & ol {
        padding-left: 1.5rem;
        margin-bottom: 1.25rem;

        & li {
            color: var(--text-soft);
            margin-bottom: 0.4rem;
        }
    }

    & strong {
        color: var(--text);
        font-weight: 600;
    }

    & a {
        color: var(--brass);
        text-underline-offset: 3px;

        &:hover {
            color: var(--gold);
        }
    }

    & table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 1.5rem;

        & th,
        & td {
            padding: 0.5rem 0.75rem;
            border: 1px solid var(--line);
            text-align: left;
            font-size: var(--text-sm);
        }

        & th {
            background-color: var(--surface);
            font-family: var(--font-mono);
            font-size: var(--text-xs);
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--text-mute);
        }
    }
}


.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: oklch(0 0 0 / 0.92);
    display: flex;
    align-items: center;
    justify-content: center;

    &[hidden] {
        display: none;
    }

    & .lightbox-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 2.75rem;
        height: 2.75rem;
        background: none;
        border: 1px solid oklch(1 0 0 / 0.25);
        color: var(--text-soft);
        font-size: 1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color .2s ease, border-color .2s ease;

        &:hover {
            color: var(--text);
            border-color: oklch(1 0 0 / 0.5);
        }
    }

    & .lightbox-prev,
    & .lightbox-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 3rem;
        height: 5rem;
        background: none;
        border: 1px solid oklch(1 0 0 / 0.25);
        color: var(--text-soft);
        font-size: 2rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color .2s ease, border-color .2s ease;

        &:hover {
            color: var(--text);
            border-color: oklch(1 0 0 / 0.5);
        }
    }

    & .lightbox-prev { left: 1.5rem; }
    & .lightbox-next { right: 1.5rem; }

    & .lightbox-figure {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;

        & img {
            max-width: 90vw;
            max-height: 82vh;
            object-fit: contain;
            display: block;
        }

        & figcaption {
            color: var(--text-mute);
            font-family: var(--font-mono);
            font-size: var(--text-xs);
            letter-spacing: 0.12em;
            text-transform: uppercase;
            text-align: center;
        }
    }
}


@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

.stats {
        grid-template-columns: repeat(2, minmax(0, max-content));
        justify-content: center;
        gap: 2rem 5rem;
    }

    footer {
        & .grid {
            grid-template-columns: 1fr;
            justify-items: start;
            gap: 4rem;

            & p {
                max-width: 40ch;
            }
        }
    }

    .newsroom {
        & .grid {
            grid-template-columns: 1fr;
        }
    }

    .gallery-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;

        & > a {
            aspect-ratio: 4/3;
        }

        & > a:nth-child(1) { grid-row: span 1; }
        & > a:nth-child(4) { grid-column: span 1; }
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox {
        & .lightbox-prev { left: 0.5rem; }
        & .lightbox-next { right: 0.5rem; }
    }
}


@media (max-width: 600px) {
    /* Nav's backdrop-filter creates a new containing block for position:fixed
       descendants, which would trap the overlay inside the nav bar. Disable it
       on phone so the overlay can fill the viewport. */
    nav {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background-color: var(--bg);
    }

    .nav-toggle {
        display: inline-flex;
    }

    /* Default state on phone: menu hidden, hamburger toggles it open */
    nav .nav-menu {
        position: fixed;
        inset: 0;
        z-index: 25;
        background-color: var(--bg);
        padding: 5.5rem 1.5rem 2rem;
        overflow-y: auto;
        display: none;
    }

    nav .nav-menu ul {
        flex-direction: column;
        gap: var(--sp-lg);
        align-items: flex-start;
    }

    nav .nav-menu ul a {
        font-size: var(--text-lg);
        display: block;
        padding: 0.5rem 0;
        font-family: var(--font-sans);
        letter-spacing: 0.05em;
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open nav .nav-menu {
        display: block;
    }

    header {
        padding: 1.5rem 0 2rem 0;
    }

    /* Stats: single column on narrow phones to keep numbers readable */
    .stats {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        text-align: center;
    }

    footer .copyright {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        align-items: center;
    }
}


/* Respect users who prefer reduced motion (WCAG 2.3.3, vestibular safety) */

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