@font-face {
  font-family: "Libre Caslon Display";
  src: url("/atlas/fonts/libre-caslon-display-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/atlas/fonts/manrope-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --night: #101d27;
  --blue: #162e3b;
  --linen: #f2e8d2;
  --paper: #fbf3df;
  --ink: #172b36;
  --muted: #455b5f;
  --wheat: #f4cd86;
  --rust: #793d2a;
  --heading: "Libre Caslon Display", Georgia, serif;
  --body: Manrope, system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--night);
  color: var(--linen);
  font: 600 1rem/1.6 var(--body);
}
a { color: inherit; text-underline-offset: .24em; }
button, summary, label { font: inherit; }
:focus-visible {
  outline: 3px solid #eeaa52;
  outline-offset: 4px;
}
h1, h2, h3 { font-family: var(--heading); font-weight: 400; }
h1, h2, h3, p, figure { margin: 0; }
img, video { display: block; max-width: 100%; }
.wrap { width: min(100% - 4rem, 72rem); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 10;
  inset: .5rem auto auto .5rem;
  background: var(--paper);
  color: var(--ink);
  padding: .6rem .9rem;
  transform: translateY(-160%);
}
.skip:focus { transform: translateY(0); }
.site-bar, .site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .4rem 1rem;
  min-height: 4rem;
}
.site-bar { border-bottom: 1px solid #fcdfac36; }
.site-bar > a:last-child, .site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .86rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.75rem;
  font: 400 1.47rem/1.1 var(--heading);
  text-decoration: none;
}
.brand img { flex: none; }

.screening { padding-block: clamp(1.4rem, 4vw, 3.05rem) 2rem; }
.kicker {
  color: var(--wheat);
  font-size: .78rem;
  letter-spacing: .08em;
  font-weight: 700;
}
.screening h1 {
  margin-top: .25rem;
  font-size: clamp(2.8rem, 6.8vw, 6rem);
  line-height: .96;
  letter-spacing: -.035em;
}
.lead {
  margin-block: .6rem 1.1rem;
  max-width: 44rem;
  color: #e5d9c1;
  font-size: clamp(.97rem, 2vw, 1.18rem);
}
.player {
  width: min(100%, 63rem);
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid #dcbd7c66;
  border-radius: 7px;
  background: #0a131b;
  box-shadow: 0 18px 45px #050b12a8;
}
.film-links {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.25rem;
  align-items: center;
  margin-top: .7rem;
}
.film-links a {
  display: inline-flex;
  gap: .3em;
  align-items: center;
  min-height: 2.75rem;
  font-size: .86rem;
}
.decision-link {
  padding: .25rem .8rem;
  border-radius: 3px;
  background: var(--wheat);
  color: #192931;
  text-decoration: none;
}
.decision-link:hover { background: #ffdda2; }
.decision-link span, .time { font-variant-numeric: tabular-nums; }

.tabletop {
  scroll-margin-top: .5rem;
  border-block: 1px solid #cdb994;
  padding-block: clamp(2rem, 5vw, 4.8rem);
  color-scheme: light;
  color: var(--ink);
  background: #ece0c5;
}
.bench {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 6vw, 5rem);
  row-gap: clamp(1.05rem, 2vw, 1.65rem);
  align-items: start;
}
.task { grid-column: 1 / -1; }
.task .kicker { color: var(--rust); }
.task h2, .follow-up h2 {
  font-size: clamp(2.65rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.025em;
}
.task > p:last-child {
  margin-top: .65rem;
  max-width: 43rem;
}
.evidence img {
  width: 100%;
  height: auto;
  border: 1px solid #a79678;
  border-radius: 4px;
  box-shadow: 0 8px 17px #65502f40;
}
.evidence figcaption {
  color: var(--muted);
  margin-top: .5rem;
  font-size: .87rem;
}
.evidence details { margin-top: .55rem; }
summary {
  min-height: 2.75rem;
  padding-block: .5rem;
  cursor: pointer;
}
.evidence details p { margin-block: .5rem; }
.pick-station { min-width: 0; }
.deck {
  margin: 0;
  padding: 0;
  min-inline-size: 0;
  border: 0;
}
.deck legend {
  padding: 0;
  margin-bottom: .6rem;
  font: 400 clamp(1.6rem, 4vw, 2.3rem)/1.05 var(--heading);
}
.deck-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
.pick { position: relative; display: block; min-width: 0; cursor: pointer; }
.pick input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.card {
  display: grid;
  justify-items: center;
  gap: .12rem;
  min-height: 4.75rem;
  padding: .4rem .2rem .55rem;
  border: 1px solid #b6a280;
  border-radius: 3px;
  background: var(--paper);
  box-shadow: 0 3px 0 #b6a183, 1px 4px 5px #785d3829;
  font-size: .72rem;
  line-height: 1;
}
.card-number {
  justify-self: start;
  margin-left: .28rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.arrow { font: 700 clamp(1.65rem, 4vw, 2.55rem)/.88 system-ui, sans-serif; }
.pick:hover .card { border-color: #674933; }
.pick input:focus-visible + .card {
  outline: 3px solid #723c21;
  outline-offset: 3px;
}
.pick input:checked + .card {
  color: #fcf1d8;
  background: var(--blue);
  border-color: #132932;
  box-shadow: 0 3px 0 #162d37;
}
.pick input:checked + .card .card-number { color: #f7d392; }
.after-choice, .answer { display: none; }
.pick-station:has(.pick input:checked) .after-choice { display: block; }
.pick-station:has(#show-swap:checked) .answer { display: block; }
.after-choice { margin-top: 1.05rem; }
.after-choice > p { margin-bottom: .25rem; }
.choice-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; }
.reveal-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 2.75rem;
  padding: .15rem .55rem;
  color: #fef0d5;
  background: #26434d;
  border-radius: 3px;
  cursor: pointer;
}
.reveal-toggle:has(:focus-visible) { outline: 3px solid #723c21; outline-offset: 3px; }
.reveal-toggle input { height: 1rem; width: 1rem; accent-color: var(--wheat); }
.choice-controls button {
  border: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .2em;
  min-height: 2.75rem;
  padding: .2rem .45rem;
  cursor: pointer;
}
.answer {
  margin-top: 1rem;
  padding: .95rem 1rem 1rem;
  border-left: 4px solid var(--rust);
  background: var(--paper);
}
.answer h3 { font-size: 2rem; line-height: 1; }
.answer p { margin-top: .55rem; }
.replay { width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--night); margin-top: .75rem; }
.replay-note { font-size: .84rem; }

.follow-up {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding-block: clamp(2.2rem, 5vw, 4.75rem);
}
.follow-up h2 { font-size: clamp(2.55rem, 5vw, 4rem); }
.follow-up > div > p { margin-block: .6rem; }
.print-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--wheat);
}
.collection {
  border-top: 1px solid #fcdfac48;
  margin-top: .7rem;
  padding-top: .85rem;
}
.collection p { color: #e5d9c1; font-size: .89rem; }
.collection a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .89rem; }
.transcript {
  border-block: 1px solid #fcdfac48;
  padding-inline: .25rem;
  scroll-margin-top: .5rem;
}
.transcript summary span {
  display: block;
  margin-inline-start: 1.1rem;
  color: #d6bc92;
  font-size: .79rem;
}
.transcript ol { list-style: none; padding: 0; margin: .3rem 0 .6rem; }
.transcript li { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); gap: .5rem; padding-block: .45rem; }
.time { color: #e5b36e; font-size: .8rem; }
.site-footer { border-top: 1px solid #fcdfac36; }

@media (max-width: 730px) {
  .wrap { width: min(100% - 2.1rem, 72rem); }
  .bench, .follow-up { grid-template-columns: minmax(0, 1fr); }
  .screening h1 { max-width: 13ch; }
  .bench { row-gap: 1.1rem; }
  .site-bar, .site-footer { min-height: 3.6rem; }
  .screening { padding-block: 1.2rem 1.3rem; }
  .card { min-height: 4.5rem; }
}
@media (max-width: 365px) {
  .wrap { width: calc(100% - 1.45rem); }
  .film-links { column-gap: .65rem; }
  .brand { font-size: 1.23rem; }
  .site-bar > a:last-child { font-size: .77rem; }
}

@media (max-width: 600px) {
  .evidence-frame {
    /* Framing of the 660 × 707 map area from the 1440 × 810 film still. */
    position: relative;
    aspect-ratio: 660 / 707;
    overflow: hidden;
    border: 1px solid #a79678;
    border-radius: 4px;
    box-shadow: 0 8px 17px #65502f40;
  }
  .evidence-frame img {
    position: absolute;
    top: -7.50%;
    left: -8.48%;
    width: 218.18%;
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
