@import url("../header.css");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: #171717; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
main { padding: 118px 5vw 84px; }
.back-link { color: #777; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.eyebrow { margin: 0; color: #c46851; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.page-intro { display: grid; grid-template-columns: minmax(360px, .85fr) minmax(320px, .55fr); grid-template-areas: "back back" "eyebrow copy" "title copy"; column-gap: clamp(40px, 8vw, 130px); row-gap: 10px; align-items: end; width: 100%; margin: 0 0 52px; }
.page-intro .back-link { grid-area: back; margin-bottom: 28px; }
.page-intro .eyebrow { grid-area: eyebrow; }
.page-intro h2 { grid-area: title; margin: 0; font: 500 clamp(2.6rem, 6vw, 5rem)/.95 Georgia, serif; letter-spacing: -.04em; }
.page-intro > p:last-child { grid-area: copy; max-width: 620px; margin: 0; color: #646464; font-size: 1.12rem; line-height: 1.75; }
.poster-archive { width: 100%; padding-top: 72px; border-top: 1px solid #d6d1c8; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: end; margin-bottom: 75px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h3 { margin: 10px 0 0; font: 500 clamp(1.85rem, 3vw, 2.6rem)/1.1 Georgia, serif; letter-spacing: -.035em; }
.section-heading > p:last-child { max-width: 560px; margin: 0; color: #666; line-height: 1.7; }
.poster-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 70px clamp(24px, 3vw, 54px); align-items: start; }
.poster-grid figure { margin: 0; }
.poster-grid figure:nth-child(3n + 2) { margin-top: 70px; }
.poster-grid figure:nth-child(3n) { margin-top: 140px; }
.poster-grid .wide-poster { grid-column: 1 / -1; margin-top: 70px; }
.poster-grid .wide-poster .poster-button { width: 100%; }
.poster-grid .wide-poster img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.poster-grid .wide-poster ~ figure:nth-child(3n + 2) { margin-top: 0; }
.poster-grid .wide-poster ~ figure:nth-child(3n) { margin-top: 70px; }
.poster-grid .wide-poster ~ figure:nth-child(3n + 1) { margin-top: 140px; }
.poster-button { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #fff; cursor: zoom-in; }
.poster-button img { display: block; width: 100%; transition: transform .5s ease; }
.poster-button:hover img { transform: scale(1.015); }
.poster-grid figcaption { display: flex; justify-content: space-between; gap: 24px; padding-top: 15px; border-top: 1px solid #d6d1c8; }
.poster-grid figcaption span { color: #888; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.poster-grid figcaption strong { font: 500 1.05rem/1.3 Georgia, serif; text-align: right; }
.poster-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; }
.poster-links a { color: #c46851; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.poster-links a:hover { text-decoration: underline; }
footer { display: flex; justify-content: space-between; padding: 28px 5vw; border-top: 1px solid #d6d1c8; color: #777; font-size: .75rem; }
footer a { color: inherit; text-decoration: none; }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 45px; background: rgba(15,15,15,.94); }
.lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; }
.lightbox button { position: absolute; top: 18px; right: 25px; border: 0; background: none; color: #fff; font-size: 2.5rem; cursor: pointer; }
.lightbox-open { overflow: hidden; }

@media (max-width: 1080px) {
    .page-intro { grid-template-columns: 1fr; grid-template-areas: "back" "eyebrow" "title" "copy"; gap: 18px; }
    .page-intro .eyebrow { margin-top: 20px; }
    .page-intro > p:last-child { margin-top: 8px; }
    .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .poster-grid figure:nth-child(3n + 2), .poster-grid figure:nth-child(3n) { margin-top: 0; }
    .poster-grid .wide-poster { grid-column: 1 / -1; margin-top: 48px; }
    .poster-grid .wide-poster ~ figure:nth-child(n) { margin-top: 0; }
    .poster-grid figure:nth-child(even) { margin-top: 72px; }
}

@media (max-width: 780px) {
    main { padding: 105px 20px 75px; }
    .page-intro { display: block; margin-bottom: 85px; }
    .page-intro .eyebrow { margin-top: 45px; }
    .page-intro h2 { margin: 12px 0 32px; font-size: clamp(2.8rem, 13vw, 4.2rem); }
    .section-heading { display: block; margin-bottom: 45px; }
    .section-heading h3 { margin-bottom: 24px; }
    .poster-archive { padding-top: 60px; }
    .poster-grid { grid-template-columns: 1fr; gap: 55px; }
    .poster-grid figure:nth-child(3n + 2), .poster-grid figure:nth-child(3n), .poster-grid figure:nth-child(even) { margin-top: 0; }
    .poster-grid .wide-poster { margin-top: 0; }
    .poster-grid .wide-poster ~ figure:nth-child(n) { margin-top: 0; }
    .poster-grid figcaption { display: block; }
    .poster-grid figcaption strong { display: block; margin-top: 8px; text-align: left; }
    footer { padding-inline: 20px; }
    .lightbox { padding: 18px; }
}
