:root {
  --ink: #182025;
  --muted: #667078;
  --paper: #f3f0e9;
  --snow: #fbfaf6;
  --ice: #c8d7dd;
  --river: #486875;
  --rust: #9b4f35;
  --line: rgba(24, 32, 37, .16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--snow); padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; justify-content: space-between; align-items: flex-start; padding: 1.4rem 3vw; color: white; }
.archive-mark { text-decoration: none; display: grid; gap: .15rem; }
.archive-mark__name { font-family: var(--serif); font-size: 1.2rem; }
.archive-mark__tag { font-size: .66rem; text-transform: uppercase; letter-spacing: .13em; opacity: .75; }
nav { display: flex; gap: clamp(.9rem, 2.5vw, 2.3rem); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
nav a { text-decoration: none; border-bottom: 1px solid transparent; }
nav a:hover, nav a:focus-visible { border-color: currentColor; }

.hero { min-height: 100svh; position: relative; display: grid; align-items: end; overflow: hidden; background: #17130f; color: #f5f0e8; isolation: isolate; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero__wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,7,7,.97) 0%, rgba(8,7,7,.79) 26%, rgba(8,7,7,.29) 50%, rgba(8,7,7,.03) 76%), linear-gradient(0deg, rgba(8,7,6,.6) 0%, rgba(8,7,6,.08) 45%); }
.hero__content { position: relative; z-index: 2; width: min(760px, 88vw); padding: 17vh 6vw 8vh; }
.eyebrow, .section-number { margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .17em; font-size: .68rem; font-weight: 700; }
.hero h1 { margin: 0; max-width: 8ch; font: 400 clamp(3.7rem, 7.5vw, 7.2rem)/.88 var(--serif); letter-spacing: -.055em; text-wrap: balance; text-shadow: 0 3px 28px rgba(0,0,0,.42); }
.narrator { margin: 1.35rem 0 0; font-size: .76rem; text-transform: uppercase; letter-spacing: .17em; }
.narrator strong { font-weight: 700; }
.dek { max-width: 610px; margin: 1.1rem 0 1.4rem; color: rgba(245,240,232,.84); font: 400 clamp(1.02rem, 1.6vw, 1.28rem)/1.5 var(--serif); }
.dek span { display: block; }
.hero-audio { width: min(680px, 100%); padding: .9rem 1rem 1rem; margin-bottom: 1.4rem; border: 1px solid rgba(255,255,255,.32); background: rgba(10,16,19,.48); backdrop-filter: blur(10px); }
.hero-audio__label { display: flex; align-items: center; gap: .65rem; margin-bottom: .55rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .11em; }
.hero-audio audio { display: block; width: 100%; height: 38px; }
.pulse { width: .55rem; height: .55rem; border-radius: 50%; background: #e6a56f; box-shadow: 0 0 0 4px rgba(230,165,111,.18); }
.hero__facts { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.hero__facts span + span::before { content: "—"; margin-right: 1.5rem; opacity: .6; }
.hero__down { position: absolute; right: 3vw; bottom: 2.5rem; z-index: 2; display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; text-decoration: none; font-size: 1.4rem; }

.story-shell { width: min(1240px, 92vw); margin: 0 auto; }
.story-intro { display: grid; grid-template-columns: minmax(160px, .6fr) minmax(0, 1.6fr); gap: 8vw; padding: clamp(5rem, 11vw, 10rem) 0; }
.story-intro h2, .section-heading h2, .transcript h2, .listen-card h2, .details-section h2, .related h2 { margin: 0 0 1.4rem; font: 400 clamp(2.4rem, 5vw, 5rem)/.98 var(--serif); letter-spacing: -.045em; }
.story-intro .lead { margin-top: 0; font: 400 clamp(1.35rem, 2.5vw, 2rem)/1.4 var(--serif); }
.story-intro p { max-width: 760px; line-height: 1.75; }
.memory-compass { display: grid; grid-template-columns: repeat(3, 1fr); margin: -3rem 0 clamp(6rem, 11vw, 10rem); border: 1px solid var(--line); }
.memory-compass article { padding: clamp(1.5rem, 3vw, 2.7rem); }
.memory-compass article + article { border-left: 1px solid var(--line); }
.memory-compass span { color: var(--rust); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.memory-compass p { margin: 1.4rem 0 0; font: 1.08rem/1.55 var(--serif); }

.listen-card { margin-bottom: clamp(5rem, 10vw, 9rem); display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr); background: var(--ink); color: var(--snow); }
.listen-card__label, .listen-card__body { padding: clamp(2rem, 5vw, 4.5rem); }
.listen-card__label { display: flex; flex-direction: column; justify-content: space-between; min-height: 290px; border-right: 1px solid rgba(255,255,255,.16); }
.duration { color: var(--ice); font-size: .8rem; }
.listen-card audio { width: 100%; margin-top: 1.5rem; }
.narration-kicker { margin: 0 0 .9rem; color: var(--ice); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.audio-note { color: #b8c1c5; font-size: .78rem; line-height: 1.5; }

.transcript { padding: 0 0 clamp(5rem, 10vw, 9rem); }
.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.section-note { max-width: 260px; color: var(--muted); font: italic 1rem/1.5 var(--serif); }
.transcript-search input { width: min(280px, 100%); padding: .8rem 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; outline: 0; }
.transcript-search input:focus { border-bottom-width: 3px; }
.transcript-state { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; align-items: center; max-width: 920px; padding: 1rem 1.2rem; border: 1px solid var(--line); background: rgba(255,255,255,.35); font-size: .74rem; }
.transcript-state > span:first-child { color: var(--rust); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.transcript-state > span:last-child { margin-left: auto; color: var(--muted); }
.transcript__copy { max-width: 920px; padding: 1.2rem 0 1.2rem 2rem; border-left: 3px solid var(--rust); font: 1.15rem/1.75 var(--serif); }
.transcript-segment { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; width: 100%; padding: .75rem 1rem; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: inherit; text-align: left; cursor: pointer; }
.transcript-segment time { padding-top: .18rem; color: var(--muted); font: .68rem/1.4 var(--sans); letter-spacing: .05em; }
.transcript-segment__text { font: 1.05rem/1.55 var(--serif); }
.transcript-segment:hover, .transcript-segment:focus-visible { background: rgba(72,104,117,.08); }
.transcript-segment:focus-visible { outline: 2px solid var(--river); outline-offset: -2px; }
.transcript-segment.is-active { background: rgba(155,79,53,.1); box-shadow: inset 3px 0 0 var(--rust); }
.transcript__copy mark { background: #f4d49f; }
.search-status { color: var(--muted); font-size: .75rem; }

.gallery-section { padding-bottom: clamp(5rem, 10vw, 9rem); }
.featured-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(160px, 22vw, 310px); gap: .75rem; }
.photo { grid-column: span 4; appearance: none; border: 0; margin: 0; padding: 0; background: #d7d9d5; cursor: zoom-in; overflow: hidden; }
.photo--wide { grid-column: span 8; }
.photo--tall { grid-row: span 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; }
.photo:hover img, .photo:focus-visible img { transform: scale(1.025); filter: contrast(1.04); }
.photo:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }

.album-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.album-section summary { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2.5rem 0; cursor: pointer; list-style: none; }
.album-section summary::-webkit-details-marker { display: none; }
.album-section summary strong { display: block; font: 400 clamp(2rem, 4vw, 3.8rem)/1 var(--serif); }
.summary-action { white-space: nowrap; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.summary-action b { display: inline-block; font-size: 1.3rem; margin-left: .7rem; transition: transform .2s; }
details[open] .summary-action b { transform: rotate(45deg); }
.album-note { max-width: 680px; color: var(--muted); line-height: 1.6; }
.complete-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2rem 0 4rem; }
.complete-grid .photo { grid-column: auto; aspect-ratio: 3/2; position: relative; }
.complete-grid .photo::after { content: attr(data-sequence); position: absolute; left: .65rem; bottom: .55rem; padding: .28rem .42rem; background: rgba(17,23,27,.75); color: white; font-size: .66rem; letter-spacing: .08em; }

.details-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.metadata-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metadata-details > summary { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem 0; cursor: pointer; list-style: none; }
.metadata-details > summary::-webkit-details-marker { display: none; }
.metadata-details > summary strong { display: block; font: 400 clamp(1.8rem, 4vw, 3.2rem)/1 var(--serif); }
.metadata-details[open] .summary-action b { transform: rotate(45deg); }
.details-section dl { margin: 0; border-top: 1px solid var(--line); }
.details-section dl div { display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.details-section dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.details-section dd { margin: 0; }
.details-section small { display: block; color: var(--muted); margin-top: .35rem; }

.related { padding: 0 0 clamp(5rem, 10vw, 9rem); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related article { min-height: 230px; padding: 2rem; border: 1px solid var(--line); background: rgba(255,255,255,.25); }
.related article span { font-size: .65rem; text-transform: uppercase; letter-spacing: .13em; color: var(--rust); }
.related h3 { margin: 3.5rem 0 .8rem; font: 400 1.7rem var(--serif); }
.related article p { color: var(--muted); line-height: 1.55; }

footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2rem 4vw; background: var(--ink); color: var(--snow); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.lightbox { width: min(94vw, 1500px); max-width: none; height: min(92vh, 1000px); padding: 0; border: 0; background: #0f1417; color: white; }
.lightbox::backdrop { background: rgba(5,8,10,.88); }
.lightbox figure { height: 100%; margin: 0; display: grid; grid-template-rows: 1fr auto; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.lightbox figcaption { padding: 1rem 1.5rem; font: italic 1rem var(--serif); }
.lightbox__close { position: absolute; right: 1rem; top: 1rem; z-index: 2; width: 2.7rem; height: 2.7rem; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(0,0,0,.5); color: white; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 760px) {
  .site-header nav { display: none; }
  .hero > img { object-position: 74% center; }
  .hero__wash { background: linear-gradient(0deg, rgba(9,7,5,.92) 0%, rgba(9,7,5,.68) 48%, rgba(9,7,5,.16) 100%); }
  .hero__content { padding: 30vh 7vw 8vh; }
  .hero h1 { font-size: clamp(3.35rem, 16vw, 5.4rem); }
  .hero__facts span + span::before { display: none; }
  .story-intro, .listen-card, .details-section { grid-template-columns: 1fr; }
  .story-intro { gap: 2rem; }
  .listen-card__label { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .section-heading { display: block; }
  .transcript-search { display: block; margin-top: 1.5rem; }
  .transcript-state > span:last-child { width: 100%; margin-left: 0; }
  .transcript__copy { padding-left: .75rem; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 45vw; }
  .photo, .photo--wide { grid-column: span 1; }
  .photo:first-child, .photo:last-child { grid-column: span 2; }
  .complete-grid { grid-template-columns: repeat(2, 1fr); }
  .album-section summary { align-items: end; }
  .summary-action { font-size: 0; }
  .summary-action b { font-size: 1.3rem; }
  .related-grid { grid-template-columns: 1fr; }
  .memory-compass { grid-template-columns: 1fr; margin-top: -2rem; }
  .memory-compass article + article { border-left: 0; border-top: 1px solid var(--line); }
  footer { display: grid; }
}

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

body.weapons-story .hero > img { object-position: 56% center; filter: saturate(.82) contrast(1.05); }
body.weapons-story .hero__wash { background: linear-gradient(90deg, rgba(8,7,7,.96) 0%, rgba(8,7,7,.78) 29%, rgba(8,7,7,.34) 51%, rgba(8,7,7,.08) 75%), linear-gradient(0deg, rgba(8,7,6,.66) 0%, rgba(8,7,6,.04) 52%); }
body.weapons-story .pulse { background: #d8a34f; box-shadow: 0 0 0 4px rgba(216,163,79,.18); }

@media (max-width: 760px) {
  body.weapons-story .hero > img { object-position: 63% center; }
}

body.howe-story .hero > img { object-position: 58% center; filter: brightness(1.18) saturate(.78) contrast(1.02); }
body.howe-story .hero h1 { max-width: 10ch; font-size: clamp(3.4rem, 6.6vw, 6.4rem); }
body.howe-story .hero__wash { background: linear-gradient(90deg, rgba(7,8,9,.94) 0%, rgba(7,8,9,.7) 29%, rgba(7,8,9,.22) 52%, rgba(7,8,9,.03) 76%), linear-gradient(0deg, rgba(7,8,9,.5) 0%, rgba(7,8,9,.02) 55%); }
body.howe-story .pulse { background: #8aa2a6; box-shadow: 0 0 0 4px rgba(138,162,166,.18); }

@media (max-width: 760px) {
  body.howe-story .hero > img { object-position: 56% center; }
  body.howe-story .hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
}

body.drc-story .hero { background: #0a0809; }
body.drc-story .hero > img.hero__backdrop {
  inset: -3%;
  width: 106%;
  height: 106%;
  object-position: center 40%;
  filter: blur(22px) brightness(.42) saturate(.72);
  transform: scale(1.06);
  opacity: .86;
}
body.drc-story .hero > img.hero__portrait {
  inset: 7vh 4vw 3vh auto;
  width: auto;
  height: 90vh;
  max-width: 43vw;
  object-fit: contain;
  object-position: center;
  filter: saturate(.82) contrast(1.04);
  box-shadow: 0 28px 80px rgba(0,0,0,.52);
}
body.drc-story .hero__wash {
  background: linear-gradient(90deg, rgba(8,6,7,.98) 0%, rgba(8,6,7,.88) 35%, rgba(8,6,7,.35) 57%, rgba(8,6,7,.05) 78%), linear-gradient(0deg, rgba(8,6,7,.68) 0%, rgba(8,6,7,.02) 53%);
}
body.drc-story .hero__content { width: min(790px, 88vw); }
body.drc-story .hero h1 { max-width: 10ch; font-size: clamp(3.25rem, 6.3vw, 6.25rem); }
body.drc-story .pulse { background: #c7a3b2; box-shadow: 0 0 0 4px rgba(199,163,178,.18); }
body.drc-story .drc-grid { grid-template-columns: minmax(250px, .75fr) minmax(0, 1.5fr); grid-auto-rows: clamp(420px, 50vw, 720px); }
body.drc-story .drc-grid .photo { grid-column: auto; grid-row: auto; }
body.drc-story .drc-grid .photo:first-child img { object-fit: contain; background: #171315; }

@media (max-width: 760px) {
  body.drc-story .hero > img.hero__backdrop { display: none; }
  body.drc-story .hero > img.hero__portrait {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 28%;
    box-shadow: none;
  }
  body.drc-story .hero__wash { background: linear-gradient(0deg, rgba(8,6,7,.96) 0%, rgba(8,6,7,.7) 48%, rgba(8,6,7,.12) 100%); }
  body.drc-story .hero h1 { font-size: clamp(3rem, 13vw, 4.7rem); }
  body.drc-story .drc-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  body.drc-story .drc-grid .photo { min-height: 58vh; }
}

body.pepsi-story .hero { background: #080a08; }
body.pepsi-story .hero > img.hero__backdrop {
  inset: -3%;
  width: 106%;
  height: 106%;
  object-position: center 38%;
  filter: blur(24px) brightness(.38) saturate(.62);
  transform: scale(1.07);
  opacity: .86;
}
body.pepsi-story .hero > img.hero__portrait {
  inset: 6vh 4vw 3vh auto;
  width: auto;
  height: 91vh;
  max-width: 44vw;
  object-fit: contain;
  object-position: center;
  filter: saturate(.82) contrast(1.03);
  box-shadow: 0 28px 80px rgba(0,0,0,.55);
}
body.pepsi-story .hero__wash {
  background: linear-gradient(90deg, rgba(7,8,7,.98) 0%, rgba(7,8,7,.88) 36%, rgba(7,8,7,.34) 58%, rgba(7,8,7,.04) 79%), linear-gradient(0deg, rgba(7,8,7,.7) 0%, rgba(7,8,7,.02) 54%);
}
body.pepsi-story .hero__content { width: min(800px, 88vw); }
body.pepsi-story .hero h1 { max-width: 10ch; font-size: clamp(3.2rem, 6.15vw, 6.15rem); }
body.pepsi-story .pulse { background: #b7c5a5; box-shadow: 0 0 0 4px rgba(183,197,165,.18); }
body.pepsi-story .pepsi-grid { display: grid; grid-template-columns: minmax(280px, 520px); justify-content: center; grid-auto-rows: minmax(580px, 76vh); }
body.pepsi-story .pepsi-grid .photo { grid-column: auto; grid-row: auto; }
body.pepsi-story .pepsi-grid .photo img { object-fit: contain; background: #171a16; }

@media (max-width: 760px) {
  body.pepsi-story .hero > img.hero__backdrop { display: none; }
  body.pepsi-story .hero > img.hero__portrait {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 28%;
    box-shadow: none;
  }
  body.pepsi-story .hero__wash { background: linear-gradient(0deg, rgba(7,8,7,.97) 0%, rgba(7,8,7,.72) 50%, rgba(7,8,7,.13) 100%); }
  body.pepsi-story .hero h1 { font-size: clamp(3rem, 13vw, 4.7rem); }
  body.pepsi-story .pepsi-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  body.pepsi-story .pepsi-grid .photo { min-height: 68vh; }
}
