:root {
  color-scheme: dark;
  --paper: #f0ece2;
  --ink: #101112;
  --silver: #c7c8c5;
  --signal: #c43b24;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

.collection-entry {
  min-height: 100svh;
  position: relative;
}

.archive-header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 28px 42px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 3;
}

.archive-header p {
  margin: 0;
}

.archive-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
}

.archive-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero {
  height: 100svh;
  margin: 0;
  min-height: 720px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  background: var(--signal);
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 7px;
  z-index: 4;
}

.hero > img {
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 7, 9, .54) 0%, rgba(4, 7, 9, .08) 48%, rgba(4, 7, 9, .12) 100%),
    linear-gradient(0deg, rgba(4, 7, 9, .9) 0%, rgba(4, 7, 9, 0) 54%);
  inset: 0;
  position: absolute;
}

.identity {
  bottom: 54px;
  left: clamp(42px, 5.5vw, 96px);
  position: absolute;
  z-index: 2;
}

.eyebrow {
  border-bottom: 2px solid var(--signal);
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  margin: 0 0 18px;
  padding-bottom: 10px;
  text-transform: uppercase;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(82px, 11.5vw, 176px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .72;
  margin: 0;
  text-wrap: balance;
}

.photo-mark {
  bottom: 58px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  margin: 0;
  position: absolute;
  right: 42px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  z-index: 2;
}

.memory {
  align-items: start;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: clamp(40px, 8vw, 150px);
  grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr);
  padding: clamp(70px, 9vw, 140px) clamp(42px, 8vw, 150px);
}

.memory-label {
  border-top: 1px solid rgba(16, 17, 18, .35);
  display: grid;
  gap: 8px;
  padding-top: 14px;
  text-transform: uppercase;
}

.memory-label span {
  color: #66645f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.memory-label strong {
  font-size: 13px;
  letter-spacing: .06em;
}

blockquote {
  margin: 0;
  max-width: 980px;
}

blockquote p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 3.25vw, 54px);
  letter-spacing: -.025em;
  line-height: 1.18;
  margin: 0;
}

.oral-history {
  background: #17191a;
  display: grid;
  gap: clamp(50px, 8vw, 140px);
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  padding: clamp(74px, 9vw, 140px) clamp(42px, 8vw, 150px);
}

.oral-history__intro {
  position: sticky;
  top: 50px;
  align-self: start;
}

.section-label {
  color: var(--silver);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  margin: 0 0 30px;
  text-transform: uppercase;
}

.oral-history h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .9;
  margin: 0 0 30px;
}

.listen-note {
  color: #bbbcb9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 24px;
  max-width: 390px;
}

audio {
  display: block;
  width: min(100%, 440px);
}

.transcript-heading {
  border-top: 1px solid rgba(255, 255, 255, .3);
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding: 15px 0 34px;
}

.transcript-heading h3 {
  font-size: 12px;
  letter-spacing: .12em;
  margin: 0;
  text-transform: uppercase;
}

.transcript-heading p {
  color: #a8a9a6;
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
  max-width: 350px;
}

.transcript-copy p {
  border-top: 1px solid rgba(255, 255, 255, .13);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.75vw, 29px);
  line-height: 1.5;
  margin: 0;
  padding: 28px 0 34px;
}

.timecode {
  background: transparent;
  border: 0;
  color: #e45a3d;
  cursor: pointer;
  float: left;
  font: 800 10px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .1em;
  margin: 10px 18px 10px 0;
  padding: 0;
}

.timecode:hover,
.timecode:focus-visible {
  color: white;
  outline: 1px solid var(--signal);
  outline-offset: 5px;
}

footer {
  display: flex;
  font-size: 9px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: .13em;
  padding: 28px 42px;
  text-transform: uppercase;
}

@media (max-width: 650px) {
  .archive-header {
    padding: 22px 22px;
  }

  .archive-name {
    font-size: 17px;
  }

  .archive-type {
    display: none;
  }

  .hero {
    height: 76svh;
    min-height: 620px;
  }

  .hero > img {
    object-position: 48% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 7, 9, .25), rgba(4, 7, 9, 0) 75%),
      linear-gradient(0deg, rgba(4, 7, 9, .88) 0%, rgba(4, 7, 9, 0) 58%);
  }

  .identity {
    bottom: 34px;
    left: 23px;
  }

  .eyebrow {
    font-size: 8.5px;
    letter-spacing: .1em;
    margin-bottom: 14px;
    max-width: 315px;
  }

  h1 {
    font-size: clamp(66px, 24vw, 94px);
    line-height: .76;
  }

  .photo-mark {
    bottom: 34px;
    right: 19px;
  }

  .memory {
    display: block;
    padding: 56px 23px 64px;
  }

  .memory-label {
    margin-bottom: 34px;
  }

  blockquote p {
    font-size: 30px;
    line-height: 1.22;
  }

  .oral-history {
    display: block;
    padding: 64px 23px 72px;
  }

  .oral-history__intro {
    position: static;
  }

  .oral-history h2 {
    font-size: 58px;
  }

  audio {
    margin-bottom: 60px;
  }

  .transcript-heading {
    display: block;
  }

  .transcript-heading h3 {
    margin-bottom: 12px;
  }

  .transcript-copy p {
    font-size: 21px;
  }

  footer {
    display: grid;
    gap: 10px;
    line-height: 1.5;
    padding: 24px 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
  }
}
