@font-face {
  font-family: "Libre Franklin";
  src: url("assets/fonts/libre-franklin-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Franklin";
  src: url("assets/fonts/libre-franklin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Franklin";
  src: url("assets/fonts/libre-franklin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --night: #100d0a;
  --night-soft: #17130f;
  --shadow-blue: #111a20;
  --paper: #f4efe7;
  --paper-warm: #ebe2d5;
  --ink: #1f1c18;
  --ink-soft: rgba(31, 28, 24, 0.7);
  --smoke: #837e76;
  --bone: #f1ece3;
  --rust: #7a493b;
  --candle: #d3bb8b;
  --rule-dark: rgba(244, 239, 231, 0.2);
  --rule-paper: rgba(31, 28, 24, 0.18);
  --focus: #d8bc78;
  --nav-height: 58px;
  --page-pad: clamp(22px, 4vw, 72px);
  color-scheme: dark light;
  font-family: "Libre Franklin", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: var(--night);
}

body {
  margin: 0;
  color: var(--bone);
  background:
    radial-gradient(circle at 18% 10%, rgba(211, 187, 139, 0.08), transparent 27rem),
    linear-gradient(120deg, var(--night) 0%, var(--shadow-blue) 44%, var(--night) 100%);
  font-family: "Libre Franklin", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  content: "";
  opacity: 0.1;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 4px 4px, 5px 5px;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button:focus-visible,
a:focus-visible,
[role="tab"]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  border: 1px solid var(--rule-paper);
  color: var(--ink);
  background: var(--paper);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--nav-height);
  gap: 24px;
  padding: 10px clamp(16px, 3vw, 42px);
  border-bottom: 1px solid rgba(244, 239, 231, 0.12);
  color: rgba(244, 239, 231, 0.82);
  background: rgba(16, 13, 10, 0.72);
  backdrop-filter: blur(16px);
}

.topbar nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
}

.topbar a,
.topbar button {
  border: 0;
  color: inherit;
  background: transparent;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}

.topbar a:hover,
.topbar button:hover {
  color: var(--bone);
}

.wordmark {
  font-size: 0.95rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.text-button {
  cursor: pointer;
}

.slide {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--nav-height) + 24px) var(--page-pad) 46px;
  scroll-margin-top: var(--nav-height);
}

.slide::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  z-index: -1;
  content: "";
  background: currentColor;
  opacity: 0.14;
}

.slide-dark {
  color: var(--bone);
  background:
    linear-gradient(90deg, rgba(16, 13, 10, 0.96), rgba(17, 26, 32, 0.78)),
    radial-gradient(circle at 82% 35%, rgba(198, 170, 125, 0.14), transparent 22rem),
    var(--night);
}

.slide-paper {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(244, 239, 231, 0.96), rgba(235, 226, 213, 0.92)),
    repeating-linear-gradient(0deg, transparent, transparent 13px, rgba(31, 28, 24, 0.015) 14px);
}

.slide-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1240px);
  margin: auto;
}

.cover-slide {
  place-items: stretch;
  padding: 0;
  min-height: 100svh;
}

.cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  filter: contrast(1.04) saturate(0.82) brightness(0.72);
  transform: scale(1.018);
}

.cover-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 5, 0.92) 0%, rgba(9, 9, 8, 0.5) 45%, rgba(6, 5, 4, 0.38) 100%),
    radial-gradient(circle at 82% 46%, rgba(211, 187, 139, 0.12), transparent 24rem);
}

.cover-content {
  display: grid;
  align-content: end;
  min-height: 100svh;
  padding: calc(var(--nav-height) + 32px) var(--page-pad) 54px;
}

.eyebrow {
  margin: 0 0 20px;
  color: currentColor;
  opacity: 0.64;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(0.68rem, 1vw, 0.78rem);
  font-weight: 600;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: clamp(28px, 7vh, 68px);
  font-size: clamp(5rem, 18vw, 18.5rem);
  line-height: 0.8;
  font-weight: 300;
  letter-spacing: 0;
}

h2 {
  max-width: 14ch;
  margin-bottom: clamp(22px, 4vw, 48px);
  font-size: clamp(3.2rem, 9vw, 8.7rem);
  line-height: 0.88;
  font-weight: 300;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.02rem, 1.6vw, 1.55rem);
  line-height: 1.08;
  font-weight: 400;
}

h4 {
  margin-bottom: 8px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.deck-italic {
  max-width: 760px;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 2.1rem);
  line-height: 1.15;
}

.charcoal {
  color: var(--ink);
}

.slide-footer,
.contact-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 760px);
  margin-top: clamp(34px, 8vh, 82px);
  color: rgba(244, 239, 231, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}

.page-number {
  position: absolute;
  right: clamp(18px, 3vw, 44px);
  bottom: 24px;
  z-index: 3;
  font-size: 0.72rem;
  color: currentColor;
  opacity: 0.42;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: end;
  gap: clamp(34px, 7vw, 96px);
}

.large-statement {
  max-width: 830px;
  margin-bottom: 22px;
  font-size: clamp(1.7rem, 4vw, 4.4rem);
  line-height: 0.98;
  font-weight: 300;
}

.side-note {
  align-self: end;
  max-width: 490px;
  padding-top: 26px;
  border-top: 1px solid var(--rule-paper);
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(290px, 0.72fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  margin-bottom: clamp(32px, 7vw, 86px);
}

.split-heading p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.28rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--rule-paper);
  background: var(--rule-paper);
}

.stat-card {
  min-height: 260px;
  padding: clamp(22px, 3vw, 38px);
  border: 0;
  color: var(--ink);
  background: rgba(244, 239, 231, 0.92);
  text-align: left;
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease;
}

.stat-card:hover {
  background: #fffaf1;
  transform: translateY(-3px);
}

.stat-card.is-selected {
  background: #fff9ee;
  box-shadow: inset 0 0 0 2px rgba(122, 73, 59, 0.52);
}

.stat-card strong {
  display: block;
  margin-bottom: 44px;
  font-size: clamp(2.9rem, 5vw, 5.8rem);
  line-height: 0.9;
  font-weight: 300;
}

.stat-card span {
  display: block;
  max-width: 17rem;
  color: var(--ink-soft);
}

.source-readout {
  min-height: 1.4em;
  margin: 20px 0 0;
  color: var(--rust);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lede {
  max-width: 980px;
  margin-bottom: clamp(34px, 7vw, 82px);
  font-size: clamp(1.45rem, 3vw, 3.25rem);
  line-height: 1.04;
  font-weight: 300;
}

.comparison-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
}

.line-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-paper);
}

.line-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-paper);
  color: var(--ink-soft);
}

.method-columns,
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--rule-paper);
  background: var(--rule-paper);
}

.method-columns article,
.outcome-grid article,
.edition-grid article,
.path-grid article,
.origin-stats article,
.team-grid article {
  padding: clamp(22px, 3vw, 36px);
  background: rgba(244, 239, 231, 0.78);
}

.method-columns p,
.outcome-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.caps-line {
  margin-top: clamp(30px, 5vw, 58px);
  padding-top: 18px;
  border-top: 1px solid var(--rule-paper);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--rust);
}

.artists-slide {
  background:
    linear-gradient(180deg, rgba(16, 13, 10, 0.9), rgba(16, 13, 10, 0.97)),
    image-set(url("pdf-pages/page-07.png") 1x);
  background-size: cover;
  background-position: center;
}

.artists-slide .slide-content {
  margin-top: auto;
  margin-bottom: auto;
}

.artists-slide h2 {
  max-width: 880px;
  font-size: clamp(2.45rem, 4vw, 4.7rem);
  line-height: 0.95;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(24px, 4vw, 46px);
}

.artist-card {
  position: relative;
  display: grid;
  min-height: clamp(220px, 28vh, 300px);
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 231, 0.18);
  color: var(--bone);
  background: var(--night-soft);
  text-align: left;
  cursor: pointer;
}

.artist-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 24%, rgba(0, 0, 0, 0.74) 100%);
  z-index: 1;
}

.artist-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
  transform: scale(1.02);
  transition: transform 520ms ease, filter 520ms ease;
}

.artist-card:hover img {
  transform: scale(1.065);
  filter: saturate(0.92) contrast(1.1);
}

.ecosystem-card {
  cursor: default;
  background:
    linear-gradient(135deg, rgba(211, 187, 139, 0.14), transparent 58%),
    repeating-linear-gradient(90deg, rgba(244, 239, 231, 0.08) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(244, 239, 231, 0.055) 0 1px, transparent 1px 34px),
    var(--night-soft);
}

.ecosystem-card::before {
  background: linear-gradient(180deg, rgba(16, 13, 10, 0.12), rgba(16, 13, 10, 0.88));
}

.artist-card-text {
  position: relative;
  z-index: 2;
  padding: 18px;
}

.artist-card span {
  display: block;
  margin-bottom: 8px;
  color: rgba(244, 239, 231, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.64rem;
}

.artist-card strong {
  display: block;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  line-height: 1.05;
  font-weight: 400;
}

.ecosystem-list {
  margin: 18px 0 0;
  color: rgba(244, 239, 231, 0.66);
  font-size: 0.78rem;
}

.interactive-note {
  margin-top: 18px;
  color: rgba(244, 239, 231, 0.62);
  font-size: 0.86rem;
}

.image-plate {
  padding: 0;
  min-height: 100svh;
}

.image-plate img {
  width: 100%;
  height: 100%;
  min-height: 100svh;
  object-fit: cover;
  filter: saturate(0.74) brightness(0.72);
}

.plate-caption {
  position: absolute;
  left: var(--page-pad);
  bottom: clamp(32px, 7vh, 78px);
  z-index: 2;
  max-width: 640px;
}

.plate-caption h2 {
  max-width: 11ch;
  font-size: clamp(2.7rem, 7vw, 7rem);
}

.method-slide h2 {
  max-width: 9ch;
}

.phase-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
  gap: 1px;
  border: 1px solid var(--rule-paper);
  background: var(--rule-paper);
}

.phase-buttons {
  display: grid;
  align-content: stretch;
}

.phase-buttons button {
  min-height: 76px;
  padding: 18px 22px;
  border: 0;
  border-bottom: 1px solid var(--rule-paper);
  color: var(--ink-soft);
  background: rgba(235, 226, 213, 0.62);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  cursor: pointer;
}

.phase-buttons button[aria-selected="true"] {
  color: var(--ink);
  background: var(--paper);
}

.phase-panel {
  min-height: 310px;
  padding: clamp(26px, 4vw, 52px);
  background: rgba(244, 239, 231, 0.88);
}

.phase-panel h3 {
  max-width: 780px;
  font-size: clamp(1.8rem, 3.7vw, 4.2rem);
  font-weight: 300;
}

.phase-panel p {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.28rem);
}

.phase-kicker {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
}

.edition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--rule-paper);
  background: var(--rule-paper);
}

.edition-grid p,
.path-grid p,
.team-grid p,
.origin-stats span {
  color: var(--ink-soft);
}

.edition-grid strong {
  display: block;
  margin-top: 24px;
  color: var(--rust);
  font-size: 1.25rem;
  font-weight: 400;
}

.fine-print {
  margin-top: 16px;
  color: rgba(31, 28, 24, 0.55);
  font-size: 0.75rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--rule-paper);
  background: var(--rule-paper);
}

.role {
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 600;
}

.origin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--rule-paper);
  background: var(--rule-paper);
}

.origin-stats strong {
  display: block;
  margin-bottom: 20px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.88;
  font-weight: 300;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--rule-paper);
  background: var(--rule-paper);
}

.path-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.invitation-slide {
  background:
    linear-gradient(90deg, rgba(16, 13, 10, 0.96), rgba(17, 26, 32, 0.65)),
    image-set(url("pdf-pages/page-16.png") 1x);
  background-size: cover;
  background-position: center;
}

.next-list {
  display: grid;
  max-width: 920px;
  margin: 0 0 clamp(38px, 7vw, 84px);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule-dark);
}

.next-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-dark);
  font-size: clamp(1.35rem, 2.6vw, 2.6rem);
  line-height: 1.05;
  font-weight: 300;
}

.next-list span {
  color: var(--candle);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.slide-rail {
  position: fixed;
  right: 16px;
  top: 50%;
  z-index: 45;
  display: grid;
  gap: 9px;
  transform: translateY(-50%);
}

.slide-rail a {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(244, 239, 231, 0.56);
  border-radius: 50%;
  background: transparent;
  text-indent: -999px;
  overflow: hidden;
  opacity: 0.54;
}

.slide-rail a.is-active {
  background: var(--candle);
  border-color: var(--candle);
  opacity: 1;
}

dialog {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  max-width: min(1120px, calc(100vw - 28px));
  max-height: min(860px, calc(100svh - 28px));
  margin: 0;
  overflow: auto;
  border: 1px solid rgba(31, 28, 24, 0.24);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.45);
}

dialog::backdrop {
  background: rgba(4, 4, 4, 0.72);
  backdrop-filter: blur(8px);
}

.close-button {
  position: sticky;
  top: 0;
  z-index: 4;
  float: right;
  margin: -8px -8px 12px 18px;
  padding: 9px 11px;
  border: 1px solid var(--rule-paper);
  color: var(--ink);
  background: rgba(244, 239, 231, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
  cursor: pointer;
}

.artist-dialog {
  width: min(1040px, calc(100vw - 28px));
  padding: clamp(18px, 3vw, 42px);
}

.artist-dialog-grid {
  clear: both;
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.artist-dialog img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
  background: var(--paper-warm);
}

.artist-dialog h2 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 6vw, 6.4rem);
}

.artist-dialog .deck-italic {
  color: var(--ink);
  font-size: clamp(1.15rem, 2.2vw, 1.8rem);
}

.photo-credit {
  margin-top: 10px;
  color: rgba(31, 28, 24, 0.52);
  font-size: 0.72rem;
}

.activity-list {
  display: grid;
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--rule-paper);
  background: var(--rule-paper);
}

.activity-list p {
  margin: 0;
  padding: 13px 15px;
  background: rgba(244, 239, 231, 0.82);
  color: var(--ink-soft);
}

.artist-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.artist-links a,
.pdf-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--rule-paper);
  color: var(--ink);
  background: rgba(235, 226, 213, 0.7);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
}

.pdf-dialog {
  width: min(1180px, calc(100vw - 28px));
  padding: clamp(18px, 3vw, 32px);
}

.pdf-dialog h2 {
  max-width: none;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.pdf-gallery {
  display: grid;
  gap: 18px;
  width: 100%;
  height: min(72svh, 720px);
  overflow: auto;
  border: 1px solid var(--rule-paper);
  padding: 14px;
  background: #d8d0c3;
  scroll-snap-type: y proximity;
}

.pdf-gallery figure {
  margin: 0;
  scroll-snap-align: start;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(31, 28, 24, 0.18);
}

.pdf-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.pdf-gallery figcaption {
  padding: 8px 12px 10px;
  color: rgba(31, 28, 24, 0.62);
  font-size: 0.72rem;
}

.is-visible .large-statement,
.is-visible .lede,
.is-visible .stat-card,
.is-visible .artist-card,
.is-visible .phase-layout,
.is-visible .next-list li {
  animation: enter-soft 680ms ease both;
}

.is-visible .stat-card:nth-child(2),
.is-visible .artist-card:nth-child(2),
.is-visible .next-list li:nth-child(2) {
  animation-delay: 90ms;
}

.is-visible .stat-card:nth-child(3),
.is-visible .artist-card:nth-child(3),
.is-visible .next-list li:nth-child(3) {
  animation-delay: 170ms;
}

.is-visible .stat-card:nth-child(4),
.is-visible .artist-card:nth-child(4) {
  animation-delay: 250ms;
}

@keyframes enter-soft {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto auto;
  }

  .topbar nav {
    display: none;
  }

  .two-column,
  .split-heading,
  .comparison-grid,
  .phase-layout,
  .artist-dialog-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .artist-grid,
  .origin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artist-card {
    min-height: 250px;
  }

  .slide-rail {
    display: none;
  }

  h1 {
    font-size: clamp(4.5rem, 22vw, 10rem);
  }
}

@media (max-width: 680px) {
  :root {
    --nav-height: 54px;
  }

  .slide {
    min-height: auto;
    padding: calc(var(--nav-height) + 26px) 18px 42px;
  }

  .cover-content {
    min-height: 100svh;
    padding: calc(var(--nav-height) + 28px) 18px 42px;
  }

  h2 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 17vw, 5.6rem);
  }

  .large-statement {
    font-size: clamp(1.85rem, 9vw, 3.6rem);
  }

  .stats-grid,
  .artist-grid,
  .method-columns,
  .outcome-grid,
  .edition-grid,
  .team-grid,
  .origin-stats,
  .path-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 190px;
  }

  .stat-card strong {
    margin-bottom: 26px;
  }

  .next-list li {
    grid-template-columns: 48px 1fr;
  }

  .contact-line,
  .slide-footer {
    display: grid;
  }

  .plate-caption {
    right: 18px;
    left: 18px;
  }

  dialog {
    max-width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
  }

  .artist-dialog,
  .pdf-dialog {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
