@font-face {
    font-display: swap;
    font-family: "PhotoMontserrat";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/montserrat-v26-latin-regular.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "PhotoMontserrat";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/montserrat-v26-latin-500.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "PhotoCrimson";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/crimson-text-v19-latin-regular.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "PhotoJost";
    font-style: normal;
    font-weight: 200;
    src: url("../fonts/jost-v15-latin-200.woff2") format("woff2");
}

.photo-page {
    --photo-gold: #b8984b;
    --photo-ink: #030303;
    --photo-surface: #080808;
    --photo-line: rgba(255, 255, 255, .08);
    min-height: 100vh;
    color: #e7e5e4;
    background: var(--photo-ink);
    font-family: "PhotoMontserrat", Montserrat, sans-serif;
}

.photo-page a {
    color: inherit;
}

.photo-main {
    min-height: 70vh;
    background: var(--photo-ink);
}

.photo-page .photo-hero.hero-image {
    height: clamp(118px, 15svh, 168px);
    min-height: 118px;
    isolation: isolate;
    overflow: hidden;
    background-position: center;
}

.photo-page .photo-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .74), rgba(0, 0, 0, .24) 34%, rgba(0, 0, 0, .16) 68%, rgba(0, 0, 0, .58)),
        linear-gradient(180deg, rgba(0, 0, 0, .68), rgba(0, 0, 0, .1) 40%, rgba(0, 0, 0, .92));
    pointer-events: none;
}

.photo-shell,
.photo-stage-shell,
.photo-notes-inner {
    width: min(1520px, calc(100% - 48px));
    margin: 0 auto;
}

.photo-intro {
    padding: clamp(16px, 2.2vw, 26px) 0 clamp(18px, 2.4vw, 30px);
    background: #030303;
}

.photo-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #78716c;
    font-size: 8px;
    letter-spacing: .2em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease;
}

.photo-back-link:hover,
.photo-back-link:focus {
    color: var(--photo-gold);
}

.photo-heading {
    margin-top: 12px;
}

.photo-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #78716c;
    font-size: 8px;
    letter-spacing: .26em;
    line-height: 1;
    text-transform: uppercase;
}

.photo-eyebrow::before {
    content: none;
}

.photo-intro .photo-eyebrow {
    justify-content: center;
}

.photo-intro .photo-eyebrow::after {
    content: none;
}

.photo-title-line {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 18px;
    margin-top: 10px;
}

.photo-title-line h1 {
    max-width: 1100px;
    margin: 0;
    color: #f5f5f4;
    font: 500 clamp(34px, 4vw, 52px)/1.15 "PhotoMontserrat", Montserrat, sans-serif;
    letter-spacing: -.02em;
}

.photo-sex {
    margin-bottom: 8px;
    color: #b06a51;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.photo-summary {
    max-width: 980px;
    margin: 12px auto 0;
    padding-top: 0;
    text-align: center;
}

.photo-taxonomy,
.photo-location,
.photo-exif {
    margin: 0;
}

.photo-taxonomy {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    color: #a8a29e;
    font: 400 12px/1.7 "PhotoMontserrat", Montserrat, sans-serif;
}

.photo-taxonomy em {
    font-style: italic;
}

.photo-taxonomy span {
    position: relative;
}

.photo-taxonomy span::before {
    content: "/";
    position: absolute;
    left: -12px;
    color: #57534e;
}

.photo-location {
    margin-top: 8px;
    color: #d6d3d1;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: .02em;
    text-transform: none;
}

.photo-exif {
    max-width: 720px;
    margin: 10px auto 0;
    color: #78716c;
    font-size: 11px;
    line-height: 1.7;
    letter-spacing: .02em;
    text-transform: none;
}

.photo-stage {
    padding: 8px 0 clamp(40px, 6vw, 74px);
    background: var(--photo-ink);
}

.photo-stage-shell {
    width: min(1740px, calc(100% - 36px));
}

.photo-page .photoContainer {
    position: relative;
    display: grid;
    width: 100%;
    max-width: 1320px;
    place-items: center;
    margin: 0 auto;
    background: transparent;
}

.photo-page .photoContainer > img {
    box-sizing: border-box;
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(84vh, 1080px);
    border: 16px solid #fff;
    margin: 0 auto;
    object-fit: contain;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .38);
}

.photo-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    color: #e7e5e4;
    background: rgba(3, 3, 3, .62);
    text-decoration: none;
    transform: translateY(-50%);
    backdrop-filter: blur(5px);
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.photo-nav:hover,
.photo-nav:focus {
    border-color: var(--photo-gold);
    color: var(--photo-gold);
    background: rgba(3, 3, 3, .88);
}

.photo-nav svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.photo-page .photoContainer .photo-nav-prev {
    right: auto;
    bottom: auto;
    left: 24px;
}

.photo-page .photoContainer .photo-nav-next {
    right: 24px;
    bottom: auto;
}

.photo-notes {
    padding: clamp(46px, 7vw, 90px) 0;
    background: var(--photo-surface);
}

.photo-notes-inner {
    max-width: 1120px;
}

.photo-notes-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.photo-notes h2 {
    margin: 8px 0 0;
    color: #f5f5f4;
    font: 400 28px/1 "PhotoMontserrat", Montserrat, sans-serif;
    letter-spacing: -.025em;
}

.photo-description {
    max-width: 900px;
    margin: 30px 0 0;
    color: #a8a29e;
    font-size: 13px;
    line-height: 2;
}

.photo-description p {
    margin: 0 0 18px;
}

.photo-description h2,
.photo-description h3,
.photo-description h4,
.photo-description h5,
.photo-description h6 {
    margin: 32px 0 10px;
    color: #d6d3d1;
    font: 400 18px/1.35 "PhotoCrimson", Georgia, serif;
    letter-spacing: .02em;
}

.photo-statuses {
    display: flex;
    gap: 6px;
}

.photo-statuses span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--photo-line);
    color: #57534e;
    font-size: 8px;
    letter-spacing: .08em;
}

.photo-statuses span.is-active {
    border-color: rgba(184, 152, 75, .6);
    color: var(--photo-gold);
    background: rgba(184, 152, 75, .08);
}

.photo-error {
    display: grid;
    min-height: 65vh;
    place-content: center;
    padding: 50px 24px;
    text-align: center;
}

.photo-error .photo-eyebrow {
    justify-content: center;
}

.photo-error h1 {
    margin: 20px 0;
    color: #f5f5f4;
    font: 400 clamp(38px, 6vw, 70px)/1 "PhotoCrimson", Georgia, serif;
}

.photo-error a {
    color: var(--photo-gold);
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .photo-page .photo-hero.hero-image {
        height: 96px;
        min-height: 96px;
    }

    .photo-shell,
    .photo-notes-inner {
        width: calc(100% - 32px);
    }

    .photo-stage-shell {
        width: 100%;
    }

    .photo-title-line {
        display: block;
    }

    .photo-title-line h1 {
        font-size: clamp(30px, 10vw, 44px);
    }

    .photo-sex {
        display: block;
        margin: 13px 0 0;
    }

    .photo-notes-heading {
        display: block;
    }

    .photo-notes h2 {
        font-size: 23px;
    }

    .photo-page .photoContainer > img {
        max-height: 72vh;
        border-width: 5px;
    }

    .photo-nav {
        top: auto;
        bottom: 14px;
        width: 42px;
        height: 42px;
        transform: none;
    }

    .photo-page .photoContainer .photo-nav-prev {
        bottom: 14px;
        left: 14px;
    }

    .photo-page .photoContainer .photo-nav-next {
        right: 14px;
        bottom: 14px;
    }

    .photo-statuses {
        margin-top: 22px;
    }

    .photo-description {
        font-size: 12px;
        line-height: 1.85;
    }
}
