/* ==========================================================================
   The Paul A. Donato Archive
   Palette derived from the objects themselves: cold newsprint, silver
   gelatin, the oxidised red and navy of the 1940 American Olympic
   Committee Report cover.
   ========================================================================== */

:root {
  --paper:      #e7e8e4;
  --paper-2:    #dcdedA;
  --ink:        #15171a;
  --mount:      #22252a;
  --mount-2:    #2c3037;
  --pewter:     #6e7379;
  --pewter-lt:  #9aa0a5;
  --vermilion:  #a33a26;
  --navy:       #1b2a3a;

  --rail: 8.5rem;
  --measure: 34rem;

  --f-display: "Big Shoulders Display", "Haettenschweiler", "Arial Narrow", sans-serif;
  --f-body: "Newsreader", Georgia, "Times New Roman", serif;
  --f-data: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-synthesis: none;
}

/* Fine horizontal grain, like the tooth of uncoated stock. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(21,23,26,.022) 0 1px,
    transparent 1px 3px
  );
}

.wrap { position: relative; z-index: 1; }

a { color: var(--vermilion); text-decoration: none; border-bottom: 1px solid rgba(163,58,38,.35); }
a:hover { border-bottom-color: var(--vermilion); }
a:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 3px; border-radius: 1px; }

/* ---------- Shared utility type ---------- */

.data {
  font-family: var(--f-data);
  font-size: .6875rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--pewter);
  font-weight: 400;
}

.rule { border: 0; border-top: 1px solid rgba(21,23,26,.18); margin: 0; }

/* ==========================================================================
   Masthead
   ========================================================================== */

.masthead {
  background: var(--mount);
  color: var(--paper);
  padding: clamp(2.5rem, 6vw, 5rem) 0 0;
}

.masthead__inner {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.masthead .data { color: var(--pewter-lt); }

.masthead__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(3.5rem, 13vw, 10.5rem);
  line-height: .82;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: .35em 0 0;
  color: var(--paper);
}

.masthead__name em {
  font-style: normal;
  display: block;
  color: var(--pewter-lt);
}

.masthead__standfirst {
  max-width: 40rem;
  margin: 1.75rem 0 0;
  font-size: clamp(1.0625rem, 1.7vw, 1.3125rem);
  line-height: 1.5;
  color: #c9ccce;
}

.masthead__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.5rem;
  margin: 2.25rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(231,232,228,.18);
  list-style: none;
}
.masthead__facts li { margin: 0 0 .5rem; }
.masthead__facts b {
  display: block;
  font-family: var(--f-data);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--paper);
}

/* Hero plate, full width against the dark mount. */
.hero {
  background: var(--mount);
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 5rem);
}
.hero__inner {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}
.hero__img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.04);
}
.hero__caption { color: #b9bdc0; font-size: .9375rem; line-height: 1.55; }
.hero__caption .data { display: block; color: var(--pewter-lt); margin-bottom: .6rem; }
.hero__caption a { color: #d8b3a8; border-bottom-color: rgba(216,179,168,.4); }
.hero__caption a:hover { border-bottom-color: #d8b3a8; }

/* ==========================================================================
   Body shell
   ========================================================================== */

main {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.section { padding: clamp(3rem, 7vw, 6rem) 0 0; }

.section__head {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 0 2rem;
  align-items: baseline;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--ink);
}
.section__head h2 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3.2vw, 2.375rem);
  line-height: 1;
  letter-spacing: .005em;
  margin: 0;
}
.section__head p {
  grid-column: 2;
  margin: .75rem 0 0;
  max-width: var(--measure);
  color: #3d4147;
}

/* ==========================================================================
   Preface
   ========================================================================== */

.preface {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 0 2rem;
  padding-top: 2rem;
}
.preface__body { grid-column: 2; max-width: var(--measure); }
.preface__body p { margin: 0 0 1.15em; }
.preface__body p:first-child { margin-top: 0; }

.lede { font-size: 1.25rem; line-height: 1.5; }
.lede::first-letter {
  float: left;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 3.6em;
  line-height: .74;
  padding: .06em .12em 0 0;
  color: var(--vermilion);
}

.caution {
  grid-column: 2;
  max-width: var(--measure);
  margin: 1rem 0 0;
  padding: 1.15rem 1.35rem;
  background: var(--paper-2);
  border-left: 3px solid var(--vermilion);
}
.caution p { margin: .5rem 0 0; font-size: .9375rem; line-height: 1.55; }
.caution p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Chronology
   ========================================================================== */

.year {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 0 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: .75rem;
  border-top: 1px solid rgba(21,23,26,.25);
}
.year__label {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--pewter);
  letter-spacing: .01em;
  position: sticky;
  top: 1rem;
  align-self: start;
}

.entry {
  grid-column: 2;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0 1.75rem;
  padding: 1.5rem 0 2.25rem;
}
.entry + .entry { border-top: 1px solid rgba(21,23,26,.13); }

/* The marginal placing numeral: the spine of the whole page. */
.placing {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 3.75rem;
  line-height: .82;
  letter-spacing: -.02em;
  color: var(--pewter-lt);
  text-align: right;
  font-variant-numeric: lining-nums;
}
.placing sup {
  font-size: .34em;
  vertical-align: super;
  letter-spacing: .04em;
  font-weight: 600;
}
.placing--win { color: var(--vermilion); }
.placing--none {
  font-size: 1.5rem;
  color: rgba(110,115,121,.55);
  line-height: 1.6;
}
.placing__gloss {
  display: block;
  font-family: var(--f-data);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pewter);
  margin-top: .5rem;
  line-height: 1.35;
}

.entry__body { min-width: 0; }
.entry__meta { display: block; margin-bottom: .45rem; }
.entry__title {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  line-height: 1.02;
  margin: 0 0 .2rem;
  letter-spacing: .005em;
}
.entry__sub {
  font-family: var(--f-data);
  font-size: .8125rem;
  color: var(--pewter);
  letter-spacing: .02em;
  margin: 0 0 1rem;
}
.entry__body > p { max-width: var(--measure); margin: 0 0 1em; }
.entry__body > p:last-child { margin-bottom: 0; }

blockquote {
  margin: 1.35rem 0;
  padding-left: 1.15rem;
  border-left: 2px solid var(--vermilion);
  max-width: var(--measure);
  font-size: 1.125rem;
  line-height: 1.5;
  color: #2b2f34;
}
blockquote p { margin: 0 0 .5em; }
blockquote p:last-child { margin-bottom: 0; }
blockquote cite {
  display: block;
  font-family: var(--f-data);
  font-style: normal;
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pewter);
  margin-top: .7rem;
}

/* ---------- Footnote markers ---------- */

.fn {
  font-family: var(--f-data);
  font-size: .625rem;
  font-weight: 500;
  vertical-align: super;
  line-height: 0;
  padding: 0 .1em;
  border-bottom: 0;
  white-space: nowrap;
}
.fn::before { content: "["; }
.fn::after  { content: "]"; }
:target { scroll-margin-top: 2rem; }
.srcline:target { background: rgba(163,58,38,.1); }

/* ==========================================================================
   Plates: photographic objects in dark museum mounts
   ========================================================================== */

.plates {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 0;
}
.plates--two { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }

figure.plate { margin: 0; background: var(--mount); }
figure.plate img {
  display: block;
  width: 100%;
  height: auto;
  padding: clamp(.75rem, 2vw, 1.5rem) clamp(.75rem, 2vw, 1.5rem) 0;
  filter: grayscale(1);
}
figure.plate figcaption {
  padding: 1rem clamp(.75rem, 2vw, 1.5rem) clamp(.9rem, 2vw, 1.35rem);
  color: #b9bdc0;
  font-size: .875rem;
  line-height: 1.5;
}
figure.plate figcaption .data { color: var(--pewter-lt); display: block; margin-bottom: .5rem; }
figure.plate figcaption a { color: #d8b3a8; border-bottom-color: rgba(216,179,168,.4); }
figure.plate figcaption a:hover { border-bottom-color: #d8b3a8; }
figure.plate q { font-style: italic; }

.prov {
  margin: .7rem 0 0;
  padding-top: .6rem;
  border-top: 1px solid rgba(231,232,228,.16);
  font-family: var(--f-data);
  font-size: .6875rem;
  line-height: 1.6;
  letter-spacing: .01em;
  color: var(--pewter-lt);
  text-transform: none;
}
.prov b { color: #d3d6d8; font-weight: 500; }

/* Moving image entries read as a reel strip, not a photograph. */
/* Moving image entries sit on the dark mount like the plates, and carry a
   sprocket edge so the section reads as film rather than as a list of links. */
.reel {
  margin: 1.5rem 0 0;
  background: var(--mount);
  color: #b9bdc0;
  position: relative;
  padding-left: 1.75rem;
}

/* perforations down the left edge */
.reel::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1.75rem;
  background-color: var(--mount-2);
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0 .5rem,
    rgba(231,232,228,.5) .5rem .95rem,
    transparent .95rem 1.45rem
  );
  background-size: 100% 1.45rem;
  background-position: center;
  background-repeat: repeat-y;
  border-right: 1px solid rgba(231,232,228,.12);
}
@media (max-width: 46rem) { .reel { padding-left: 1.1rem; } .reel::before { width: 1.1rem; } }

/* The one reel we are licensed to show plays in place, on the same dark mount. */
.reel__film {
  padding: 1.1rem 1.35rem 1.25rem;
  border-bottom: 1px solid rgba(231,232,228,.14);
}
.reel__film video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border: 1px solid rgba(231,232,228,.18);
}
.reel__film .prov { border-top-color: rgba(231,232,228,.16); }
.reel__film figcaption { margin: 0; }
.reel__film .data { display: block; margin: 0 0 .55rem; color: var(--pewter-lt); }
.reel__film q {
  display: block;
  margin: .7rem 0 0;
  font-size: .9375rem;
  line-height: 1.5;
  color: #cfd3d6;
}

.reel__head {
  padding: 1rem 1.35rem .85rem;
  border-bottom: 1px solid rgba(231,232,228,.18);
}
.reel__head .data { color: var(--pewter-lt); display: block; }
.reel__head b {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.375rem;
  line-height: 1.05;
  letter-spacing: .005em;
  color: var(--paper);
  margin-top: .3rem;
}

.reel__item { padding: 1.1rem 1.35rem; }
.reel__item + .reel__item { border-top: 1px solid rgba(231,232,228,.14); }
.reel__item .data { color: var(--pewter-lt); }
.reel__item h4 {
  margin: .4rem 0 .5rem;
  font-family: var(--f-data);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--paper);
}
.reel__item p { margin: 0; font-size: .9375rem; line-height: 1.55; max-width: var(--measure); }
.reel__item q { font-style: italic; }
.reel__item a { color: #d8b3a8; border-bottom-color: rgba(216,179,168,.4); }
.reel__item a:hover { border-bottom-color: #d8b3a8; }
.reel__item .tag { color: var(--pewter-lt); }

/* the runtime, set like a film can label */
.runtime {
  float: right;
  font-family: var(--f-data);
  font-size: .6875rem;
  letter-spacing: .08em;
  color: var(--pewter);
  border: 1px solid rgba(231,232,228,.25);
  padding: .18em .5em;
  margin-left: 1rem;
}

/* ==========================================================================
   Status tags
   ========================================================================== */

.tag {
  display: inline-block;
  font-family: var(--f-data);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  padding: .22em .55em;
  border: 1px solid currentColor;
  color: var(--pewter);
  vertical-align: .12em;
}
.tag--held { color: var(--navy); }
.tag--sought { color: var(--vermilion); }

/* ==========================================================================
   Wanted list
   ========================================================================== */

.wanted {
  grid-column: 2;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  max-width: 46rem;
}
.wanted li {
  padding: .95rem 0;
  border-top: 1px solid rgba(21,23,26,.16);
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0 1.25rem;
  align-items: start;
}
.wanted li:last-child { border-bottom: 1px solid rgba(21,23,26,.16); }
.wanted b { display: block; font-weight: 600; font-size: 1.0625rem; }
.wanted p { margin: .2rem 0 0; font-size: .9375rem; line-height: 1.5; color: #3d4147; }

/* ==========================================================================
   Source register
   ========================================================================== */

.sources { counter-reset: src; list-style: none; margin: 1.75rem 0 0; padding: 0; }
.sources > li {
  counter-increment: src;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 0 2rem;
  padding: .95rem 0;
  border-top: 1px solid rgba(21,23,26,.16);
  font-size: .9375rem;
  line-height: 1.55;
}
.sources > li::before {
  content: "S" counter(src);
  font-family: var(--f-data);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--vermilion);
  padding-top: .25rem;
}
.sources > li > div { max-width: 44rem; }
.sources cite { font-style: italic; }
.sources .prov {
  border-top: 0;
  padding-top: .3rem;
  color: var(--pewter);
}

/* ==========================================================================
   Moniker: a name the papers gave him
   ========================================================================== */

.moniker {
  margin: 2.25rem 0;
  padding: clamp(1.4rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.5rem);
  background: var(--mount);
  color: #b9bdc0;
  max-width: 46rem;
}
.moniker blockquote { margin: 0; }
.moniker blockquote p {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .95;
  font-size: clamp(1.85rem, 5.2vw, 3.35rem);
  color: var(--paper);
}
.moniker__rule {
  width: 3.25rem;
  height: 3px;
  background: var(--vermilion);
  margin: 1.05rem 0 1.15rem;
}
.moniker figcaption p { margin: 0 0 .85em; font-size: .9375rem; line-height: 1.6; }
.moniker figcaption p:last-child { margin-bottom: 0; }
.moniker .names {
  font-family: var(--f-data);
  font-size: .8125rem;
  line-height: 1.85;
  color: var(--pewter-lt);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.moniker a { color: #d8b3a8; border-bottom-color: rgba(216,179,168,.4); }

/* ==========================================================================
   Colophon
   ========================================================================== */

.colophon {
  margin-top: clamp(3.5rem, 8vw, 7rem);
  background: var(--mount);
  color: #b9bdc0;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.colophon__inner {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 0 2rem;
}
.colophon__body { grid-column: 2; max-width: 60rem; }
.colophon__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0 3.25rem;
  align-items: start;
}
.colophon__cols > * { min-width: 0; }
.colophon__credit {
  margin: 2.25rem 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 2rem;
  justify-content: space-between;
  align-items: baseline;
}
@media (max-width: 60rem) {
  .colophon__cols { grid-template-columns: 1fr; gap: 0; }
}
.colophon h2 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.5rem;
  margin: 0 0 1rem;
  color: var(--paper);
  line-height: 1;
}
.colophon p { margin: 0 0 1em; font-size: .9375rem; line-height: 1.6; }
.colophon a { color: #d8b3a8; border-bottom-color: rgba(216,179,168,.4); }
.colophon .data { color: var(--pewter); }

/* ==========================================================================
   Narrow screens
   ========================================================================== */

@media (max-width: 60rem) {
  .hero__inner { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 46rem) {
  :root { --rail: 0rem; }

  .section__head,
  .preface,
  .year,
  .colophon__inner,
  .sources > li { grid-template-columns: 1fr; gap: 0; }

  .section__head h2 { grid-column: 1; }
  .section__head p,
  .preface__body,
  .caution,
  .entry,
  .wanted { grid-column: 1; }

  .year__label { position: static; margin-bottom: .5rem; font-size: 1.75rem; }

  .entry { grid-template-columns: 3.25rem minmax(0, 1fr); gap: 0 1rem; }
  .placing { font-size: 2.75rem; }

  .sources > li::before { padding-bottom: .35rem; }
  .wanted li { grid-template-columns: 1fr; gap: .25rem; }
  .masthead__facts { gap: 0 1.5rem; }
}

/* ==========================================================================
   Pull quotes
   Where he or a contemporary is quoted directly, the words come out of the
   column and are set large.
   ========================================================================== */

blockquote.pull {
  position: relative;
  margin: 2rem 0;
  padding: 0 0 0 3.25rem;
  border-left: 0;
  max-width: 40rem;
}

blockquote.pull::before {
  content: "\201C";
  position: absolute;
  left: -.15rem;
  top: -.55rem;
  font-family: var(--f-body);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--vermilion);
  opacity: .9;
}

blockquote.pull p {
  font-family: var(--f-body);
  font-style: italic;
  font-size: clamp(1.25rem, 2.1vw, 1.625rem);
  line-height: 1.34;
  color: var(--ink);
  margin: 0 0 .55em;
  text-wrap: balance;
}
blockquote.pull p:last-of-type { margin-bottom: 0; }

blockquote.pull cite {
  display: block;
  margin-top: 1rem;
  padding-top: .7rem;
  border-top: 1px solid rgba(21,23,26,.22);
  font-family: var(--f-data);
  font-style: normal;
  font-size: .6875rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--pewter);
  max-width: 24rem;
}

/* on the dark mount, inside the reel */
.reel blockquote.pull p { color: var(--paper); }
.reel blockquote.pull cite { border-top-color: rgba(231,232,228,.25); color: var(--pewter-lt); }

@media (max-width: 46rem) {
  blockquote.pull { padding-left: 2.35rem; }
  blockquote.pull::before { font-size: 4rem; top: -.35rem; }
}
