:root {
  --ink: #171313;
  --paper: #eee9df;
  --cream: #f8f4eb;
  --red: #8e1f29;
  --pink: #ce4267;
  --gold: #b99358;
  --line: rgba(23, 19, 19, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
body.lightbox-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, audio { font: inherit; }

.museum-header {
  position: absolute; z-index: 5; top: 0; left: 0; width: 100%; min-height: 88px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 22px clamp(22px, 5vw, 76px); color: white; border-bottom: 1px solid rgba(255,255,255,.22);
}
.collection-mark { text-decoration: none; text-transform: uppercase; letter-spacing: .15em; }
.collection-mark span { display: block; font-size: 9px; }
.collection-mark strong { display: block; font-family: Georgia, serif; font-size: 23px; font-weight: normal; letter-spacing: .03em; text-transform: none; }
.museum-header nav { display: flex; gap: 28px; }
.museum-header nav a { font-size: 10px; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; }

.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; place-items: center; background: #170b0e; color: white; }
.hero-background { position: absolute; inset: -45px; background: url("assets/images/NONAME_021.JPG") center / cover; filter: blur(22px) saturate(1.25); transform: scale(1.14); opacity: .62; }
.hero-portrait { position: absolute; inset: 50% auto auto 50%; width: min(67vw, 940px); height: min(76vh, 705px); transform: translate(-16%, -47%); object-fit: contain; image-rendering: auto; box-shadow: 0 40px 90px rgba(0,0,0,.52); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,6,7,.96) 0%, rgba(9,6,7,.78) 33%, rgba(9,6,7,.15) 68%, rgba(9,6,7,.5) 100%), linear-gradient(0deg, rgba(9,6,7,.72), transparent 52%); }
.hero-copy { position: relative; z-index: 2; width: min(90vw, 1280px); margin-top: 8vh; }
.eyebrow { margin: 0 0 20px; font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow.dark { color: var(--red); }
.hero h1 { margin: 0; max-width: 780px; font: normal clamp(64px, 8.8vw, 136px)/.79 Georgia, serif; letter-spacing: -.055em; }
.hero h1 em { color: #e6b9c4; font-weight: normal; }
.dek { max-width: 470px; margin: 34px 0 30px; font: 20px/1.55 Georgia, serif; }
.listen-cue { display: inline-flex; gap: 14px; min-height: 44px; align-items: center; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.6); }
.archive-stamp { position: absolute; z-index: 2; right: clamp(22px, 5vw, 76px); bottom: 42px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-transform: uppercase; letter-spacing: .15em; font-size: 9px; }
.archive-stamp strong { color: #e6b9c4; font-size: 10px; }

.story { display: grid; grid-template-columns: .45fr 1.05fr 1.3fr; gap: clamp(28px, 5vw, 80px); padding: clamp(90px, 12vw, 180px) clamp(22px, 6vw, 96px); }
.section-label { display: flex; gap: 20px; align-items: flex-start; }
.section-label span { font: 48px/1 Georgia, serif; color: var(--gold); }
.section-label p { margin: 9px 0 0; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.section-label.light p { color: #eadde0; }
.story-heading h2, .listen-intro h2, .gallery-heading h2 { margin: 0; font: normal clamp(46px, 5.8vw, 84px)/.95 Georgia, serif; letter-spacing: -.045em; }
.story-copy { max-width: 650px; font: 19px/1.75 Georgia, serif; }
.story-copy p { margin: 0 0 1.3em; }
.story-copy .closing-line { margin-top: 2.1em; font-size: 28px; line-height: 1.35; font-style: italic; color: var(--red); }

.oral-history { display: grid; grid-template-columns: .45fr 1fr 1.2fr; gap: clamp(28px, 5vw, 80px); padding: clamp(90px, 11vw, 160px) clamp(22px, 6vw, 96px); color: white; background: radial-gradient(circle at 72% 5%, rgba(194,45,85,.32), transparent 38%), #171011; }
.listen-intro > p:last-child { max-width: 470px; color: #cabfc1; font: 17px/1.65 Georgia, serif; }
.audio-card { grid-column: 3; padding: 34px; align-self: start; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.055); }
.audio-kicker, .audio-note { margin: 0 0 18px; color: #d4a5b1; font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.audio-card h3 { margin: 0 0 28px; font: normal 32px/1.1 Georgia, serif; }
.audio-card audio { width: 100%; }
.audio-note { margin: 18px 0 0; }
.transcript { grid-column: 2 / 4; margin-top: 50px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.18); columns: 2; column-gap: 60px; }
.transcript h3 { column-span: all; margin: 0 0 30px; font: normal 30px Georgia, serif; }
.transcript p { break-inside: avoid; margin: 0 0 24px; color: #ded6d7; font: 16px/1.7 Georgia, serif; }
.timecode { min-width: 54px; min-height: 44px; margin: 0 12px 4px 0; border: 0; border-bottom: 1px solid #d4a5b1; color: #d4a5b1; background: transparent; cursor: pointer; font: 700 10px Arial, sans-serif; letter-spacing: .1em; }

.photographs { padding: clamp(90px, 11vw, 160px) clamp(20px, 5vw, 72px); }
.gallery-heading { display: grid; grid-template-columns: .45fr 1.15fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: 120px; }
.gallery-heading > p { max-width: 410px; font: 17px/1.65 Georgia, serif; }
.photo-chapter { margin: 0 auto 150px; max-width: 1420px; }
.chapter-heading { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: baseline; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.chapter-heading span { color: var(--gold); font: 36px Georgia, serif; }
.chapter-heading h3 { margin: 0; font: normal clamp(34px, 4.5vw, 62px) Georgia, serif; }
.chapter-heading p { margin: 0; color: #675d57; font: italic 16px Georgia, serif; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 2vw, 28px); margin-top: 42px; }
.gallery-grid figure { grid-column: span 4; margin: 0; }
.gallery-grid figure.wide { grid-column: span 6; }
.gallery-grid figure.feature { grid-column: span 6; }
.gallery-grid figure.hero-frame { grid-column: 3 / span 8; }
.gallery-grid button { display: block; width: 100%; padding: 0; border: 0; background: #171313; cursor: zoom-in; overflow: hidden; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }
.gallery-grid button:hover img, .gallery-grid button:focus-visible img { transform: scale(1.025); opacity: .86; }
.gallery-grid figcaption { padding: 13px 0; color: #675d57; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.finale { min-height: 82svh; display: grid; place-content: center; text-align: center; padding: 100px 24px; color: white; background: radial-gradient(circle at center, rgba(180,32,72,.28), transparent 48%), #100b0c; }
.finale blockquote { margin: 18px 0 30px; font: normal clamp(45px, 7vw, 100px)/1.04 Georgia, serif; letter-spacing: -.04em; }
.finale blockquote em { color: #e6b9c4; }
.finale > p:last-child { color: #d4a5b1; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
footer { min-height: 130px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 34px clamp(20px, 5vw, 72px); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }

.lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; place-items: center; gap: 12px; padding: 60px 20px 28px; color: white; background: rgba(7,5,6,.96); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(100%, 1100px); }
.lightbox img { width: auto; max-width: 100%; max-height: 72vh; margin: auto; }
.lightbox figcaption { margin-top: 14px; text-align: center; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.lightbox button { min-width: 48px; min-height: 48px; border: 1px solid rgba(255,255,255,.32); color: white; background: rgba(0,0,0,.35); cursor: pointer; font-size: 22px; }
.lightbox-close { position: absolute; top: 18px; right: 20px; }
.lightbox-count { position: absolute; bottom: 13px; left: 50%; transform: translateX(-50%); font-size: 10px; letter-spacing: .2em; }

@media (max-width: 900px) {
  .museum-header { min-height: 72px; }
  .museum-header nav { display: none; }
  .hero { min-height: 900px; align-items: end; }
  .hero-portrait { top: 36%; width: 94vw; height: 55vh; transform: translate(-50%, -50%); }
  .hero-shade { background: linear-gradient(0deg, rgba(9,6,7,.98) 0%, rgba(9,6,7,.75) 39%, rgba(9,6,7,.04) 68%, rgba(9,6,7,.45)); }
  .hero-copy { align-self: end; width: 100%; padding: 0 22px 118px; }
  .hero h1 { font-size: clamp(61px, 18vw, 96px); }
  .dek { font-size: 18px; }
  .archive-stamp { left: auto; right: 22px; bottom: 86px; align-items: flex-end; }
  .story, .oral-history, .gallery-heading { grid-template-columns: 1fr; }
  .story { padding-top: 100px; }
  .story-heading h2, .listen-intro h2, .gallery-heading h2 { font-size: 54px; }
  .audio-card, .transcript { grid-column: 1; }
  .transcript { columns: 1; }
  .gallery-heading { margin-bottom: 78px; }
  .chapter-heading { grid-template-columns: 56px 1fr; }
  .chapter-heading p { grid-column: 2; }
  .gallery-grid figure, .gallery-grid figure.wide, .gallery-grid figure.feature { grid-column: span 6; }
  .gallery-grid figure.hero-frame { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero { min-height: 820px; }
  .hero-portrait { top: 31%; width: 100vw; height: 48vh; }
  .hero-copy { padding-bottom: 118px; }
  .hero h1 { font-size: 61px; }
  .story, .oral-history { padding-left: 20px; padding-right: 20px; }
  .story-copy { font-size: 18px; }
  .story-copy .closing-line { font-size: 25px; }
  .audio-card { padding: 24px 18px; }
  .photographs { padding-left: 16px; padding-right: 16px; }
  .gallery-grid { gap: 12px; }
  .gallery-grid figure, .gallery-grid figure.wide, .gallery-grid figure.feature { grid-column: 1 / -1; }
  .gallery-grid figcaption { font-size: 8px; }
  .photo-chapter { margin-bottom: 100px; }
  .lightbox { grid-template-columns: 52px minmax(0, 1fr) 52px; padding-left: 8px; padding-right: 8px; }
  footer { flex-direction: column; align-items: flex-start; padding-bottom: 120px; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 680px; }
  .hero-portrait { top: 43%; width: 62vw; height: 72vh; transform: translate(-20%, -50%); }
  .hero-copy { padding-bottom: 110px; }
  .hero h1 { font-size: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery-grid img { transition: none; }
}
