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

body {
    font-family: 'Noto Serif SC', 'Songti SC', 'Georgia', serif;
    color: #17222d;
    background: #f5f1e9;
    line-height: 1.6;
}

button {
    font: inherit;
}

.header {
    text-align: center;
    padding: 28px 20px 14px;
    background: #faf8f2;
    border-bottom: 1px solid #d8d1c5;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 14px;
}

.logo-icon {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.title-container {
    text-align: left;
}

.main-title {
    font-size: 38px;
    font-weight: normal;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.subtitle {
    font: 14px/1 Arial, sans-serif;
    color: #8b7f70;
    letter-spacing: 3px;
}

.nav-divider {
    width: min(760px, 90%);
    height: 1px;
    background-color: #e0e0e0;
    margin: 0 auto 14px;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 34px;
}

.nav-link {
    text-decoration: none;
    color: #756c61;
    font: 14px/1.2 Arial, sans-serif;
    letter-spacing: 1px;
    transition: color .25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #b84f35;
}

.main-content {
    max-width: 1540px;
    margin: 0 auto;
    padding: 72px 28px 80px;
}

.archive-intro {
    padding: 0 0 52px;
    border-bottom: 1px solid #d8d1c5;
    margin-bottom: 38px;
}

.eyebrow {
    font: 700 11px/1.2 Arial, sans-serif;
    letter-spacing: 1.8px;
    color: #b84f35;
}

.intro-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .7fr);
    align-items: end;
    gap: 100px;
    margin-top: 20px;
}

.intro-copy h2,
.gallery-heading h2 {
    font-size: clamp(38px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -2px;
    color: #17222d;
}

.intro-copy p:last-child {
    font-size: 16px;
    line-height: 2;
    color: #5c5b58;
    padding-bottom: 4px;
}

.gallery-section {
    scroll-margin-top: 28px;
}

.gallery-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    margin-bottom: 30px;
}

.gallery-heading h2 {
    font-size: 48px;
    margin-top: 10px;
}

.gallery-heading > p {
    max-width: 330px;
    padding-bottom: 5px;
    color: #6a6258;
    font-size: 14px;
    line-height: 1.75;
}

.photo-wall {
    columns: 4 245px;
    column-gap: 18px;
}

.photo-tile {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 18px;
    padding: 0;
    break-inside: avoid;
    overflow: hidden;
    border: 1px solid #d9d0c4;
    border-radius: 3px;
    background: #e7dfd2;
    box-shadow: 0 10px 24px rgba(76, 64, 51, .14);
    cursor: zoom-in;
    text-align: left;
    transition: transform .25s ease, box-shadow .25s ease;
}

.photo-tile img {
    display: block;
    width: 100%;
    height: auto;
    filter: saturate(.98) contrast(1.02);
    transition: filter .25s ease;
}

.photo-tile:hover,
.photo-tile:focus-visible {
    z-index: 2;
    outline: none;
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(76, 64, 51, .20);
}

.photo-tile:hover img,
.photo-tile:focus-visible img {
    filter: saturate(1.08) contrast(1.05);
}

.photo-tile:focus-visible {
    outline: 3px solid #e9b64f;
    outline-offset: 4px;
}

.photo-label {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 8px;
    color: #fff;
    background: rgba(15, 20, 25, .78);
    font: 700 10px/1 Arial, sans-serif;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease;
}

.photo-tile:hover .photo-label,
.photo-tile:focus-visible .photo-label {
    opacity: 1;
    transform: translateY(0);
}

.photo-label span:last-child {
    color: #e9b64f;
}

.note-section {
    max-width: 720px;
    margin: 96px auto 0;
    padding: 28px 0 0 28px;
    border-top: 2px solid #b84f35;
}

.note-section > p:last-child {
    margin-top: 14px;
    font-size: 24px;
    line-height: 1.55;
    color: #342e28;
}

.photo-lightbox {
    width: min(1200px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 0;
    background: transparent;
}

.photo-lightbox::backdrop {
    background: rgba(8, 12, 15, .88);
    backdrop-filter: blur(5px);
}

.lightbox-shell {
    position: relative;
    display: grid;
    place-items: center;
    max-height: calc(100vh - 32px);
    padding: 18px 18px 44px;
    background: #111a22;
    box-shadow: 10px 10px 0 rgba(233, 182, 79, .9);
}

.lightbox-shell img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 118px);
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-shell p {
    position: absolute;
    right: 18px;
    bottom: 15px;
    color: #f8f4ec;
    font: 700 11px/1 Arial, sans-serif;
    letter-spacing: 1.4px;
}

.lightbox-close {
    position: absolute;
    z-index: 1;
    top: 5px;
    right: 6px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    color: #17222d;
    background: #f5f1e9;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
    color: #fff;
    background: #b84f35;
    outline: none;
}

.footer {
    text-align: center;
    padding: 32px;
    border-top: 1px solid #d8d1c5;
    margin-top: 60px;
}

.footer p {
    color: #999;
    font: 13px/1.4 Arial, sans-serif;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .title-container {
        text-align: center;
    }

    .main-title {
        font-size: 32px;
    }

    .subtitle {
        font-size: 12px;
    }

    .main-content {
        padding: 48px 18px 60px;
    }

    .intro-copy {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .gallery-heading {
        display: block;
        margin-bottom: 24px;
    }

    .gallery-heading h2 {
        font-size: 42px;
    }

    .gallery-heading > p {
        margin-top: 14px;
    }

    .photo-wall {
        columns: 2 145px;
        column-gap: 12px;
    }

    .photo-tile {
        margin-bottom: 12px;
        box-shadow: 0 6px 16px rgba(76, 64, 51, .13);
    }

    .note-section {
        margin-top: 64px;
        padding-left: 0;
    }

    .note-section > p:last-child {
        font-size: 20px;
    }

    .nav-list {
        gap: 20px;
    }

    .nav-link {
        font-size: 13px;
    }

    .photo-label {
        opacity: 1;
        transform: none;
        right: 6px;
        bottom: 6px;
        padding: 4px 5px;
        font-size: 8px;
    }

    .lightbox-shell {
        padding: 12px 12px 40px;
        box-shadow: 5px 5px 0 rgba(233, 182, 79, .9);
    }
}
