@font-face {
  font-family: "Inter Archive";
  src: url("./fonts/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 750;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif Archive";
  src: url("./fonts/noto-serif-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #080808;
  --raised: #101010;
  --ink: #f0ede6;
  --muted: #a9a59d;
  --dim: #77736d;
  --line: #2a2927;
  --line-strong: #4b4843;
  --red: #cf332d;
  --content: 1540px;
  --reading: 760px;
  --header: 68px;
}

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

html {
  background: var(--black);
  scroll-behavior: smooth;
  scrollbar-color: var(--line-strong) var(--black);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: "Inter Archive", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.dialog-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

::selection {
  background: var(--red);
  color: white;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: var(--black);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.page-shell {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.96);
}

.nav-shell {
  display: grid;
  width: min(calc(100% - 2rem), var(--content));
  height: 100%;
  margin-inline: auto;
  grid-template-columns: max-content 1fr max-content;
  align-items: stretch;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 1.25rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: "Noto Serif Archive", Georgia, serif;
  font-size: 0.72rem;
  font-weight: 700;
  place-items: center;
}

.brand-copy {
  display: grid;
  line-height: 1.08;
}

.brand-copy strong {
  font-family: "Noto Serif Archive", Georgia, serif;
  font-size: 0.98rem;
  font-weight: 600;
}

.brand-copy span {
  margin-top: 0.2rem;
  color: var(--dim);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
}

.site-nav a,
.nav-search,
.menu-toggle {
  display: grid;
  min-width: 3.4rem;
  padding: 0 0.75rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.69rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  place-items: center;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0.75rem;
  bottom: -1px;
  left: 0.75rem;
  height: 1px;
  background: transparent;
  content: "";
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.nav-search:hover,
.menu-toggle:hover {
  color: var(--ink);
}

.site-nav a[aria-current="page"]::after {
  background: var(--red);
}

.nav-search {
  border-left: 1px solid var(--line);
}

.menu-toggle {
  display: none;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-intro {
  padding: clamp(2.8rem, 5vw, 5rem) 0 clamp(2.4rem, 4vw, 3.8rem);
}

.home-intro h1,
.collection-hero h1,
.page-hero h1 {
  margin: 0;
  font-family: "Noto Serif Archive", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.home-intro h1 {
  max-width: 17ch;
  font-size: clamp(3.1rem, 6vw, 6.4rem);
}

.home-intro > .page-shell > p:last-child {
  max-width: 44rem;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.hero-gallery {
  border-block: 1px solid var(--line);
}

.hero-mosaic {
  display: grid;
  min-height: min(73vw, 850px);
  background: var(--line);
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1px;
}

.hero-tile {
  position: relative;
  min-width: 0;
  margin: 0;
  background: #050505;
  overflow: hidden;
}

.hero-tile:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.hero-tile picture,
.hero-tile img {
  width: 100%;
  height: 100%;
}

.hero-tile img {
  object-fit: cover;
  transition: transform 500ms ease;
}

.hero-tile:hover img {
  transform: scale(1.015);
}

.hero-tile button {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.hero-tile figcaption {
  display: grid;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.88);
  font-size: 0.66rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.hero-tile figcaption span {
  color: var(--muted);
}

.hero-tile:hover figcaption,
.hero-tile:focus-within figcaption {
  opacity: 1;
}

.section {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.section + .section,
.related-section,
.archive-notes,
.research-callout,
.rights-section {
  border-top: 1px solid var(--line);
}

.section--compact {
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

.section-heading {
  display: grid;
  margin-bottom: 2.7rem;
  grid-template-columns: 1fr minmax(18rem, 0.55fr);
  gap: 3rem;
  align-items: end;
}

.section-heading h2,
.archive-notes h2,
.split-intro h2,
.credit-group h2,
.research-grid h2,
.research-callout h2,
.rights-section h2 {
  margin: 0;
  font-family: "Noto Serif Archive", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4.2vw, 4.3rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.collection-gateways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 1rem;
}

.collection-gateway {
  display: grid;
  text-decoration: none;
}

.collection-gateway picture {
  margin-bottom: 0.85rem;
  border: 1px solid var(--line);
  background: var(--raised);
  overflow: hidden;
}

.collection-gateway img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.88);
  transition: filter 160ms ease;
}

.collection-gateway:hover img {
  filter: saturate(1.08);
}

.collection-gateway span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.collection-gateway strong {
  font-family: "Noto Serif Archive", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
}

.collection-gateway small,
.related-card span {
  color: var(--dim);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  display: inline-block;
  margin-top: 2rem;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.76rem;
  font-weight: 650;
  text-decoration: none;
}

.text-link:hover {
  border-color: var(--ink);
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.7rem 1rem;
  align-items: start;
}

.art-card {
  min-width: 0;
  margin: 0;
}

.art-card--wide {
  grid-column: span 2;
}

.art-card[hidden] {
  display: none;
}

.art-card__open {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: #0d0d0d;
  cursor: zoom-in;
  overflow: hidden;
}

.art-card__open::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 2rem;
  height: 2rem;
  background: var(--black);
  color: var(--ink);
  content: "+";
  line-height: 2rem;
  opacity: 0;
  transition: opacity 120ms ease;
}

.art-card:hover .art-card__open::after,
.art-card:focus-within .art-card__open::after {
  opacity: 1;
}

.art-card__open picture,
.art-card__open img {
  width: 100%;
}

.art-card__open img {
  aspect-ratio: var(--ratio, 16 / 9);
  object-fit: contain;
}

.art-card figcaption {
  display: grid;
  padding-top: 0.8rem;
  gap: 0.42rem;
}

.art-card__title {
  margin: 0;
  font-family: "Noto Serif Archive", Georgia, serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.32;
}

.art-card__meta {
  display: flex;
  justify-content: space-between;
  color: var(--dim);
  font-size: 0.62rem;
  gap: 0.8rem;
}

.art-card__meta a {
  color: var(--muted);
}

.art-card__note {
  max-width: 50ch;
  margin: 0.2rem 0 0;
  color: var(--dim);
  font-size: 0.7rem;
  line-height: 1.45;
}

.fact-strip {
  padding: 2.8rem 0;
  border-top: 1px solid var(--line);
}

.fact-strip dl {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(4, 1fr);
}

.fact-strip dl > div {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.fact-strip dt {
  font-family: "Noto Serif Archive", Georgia, serif;
  font-size: 2.1rem;
}

.fact-strip dd {
  margin: 0;
  color: var(--dim);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.collection-hero,
.page-hero {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
  background: var(--raised);
}

.breadcrumbs {
  display: flex;
  margin: 0 0 2.5rem;
  padding: 0;
  color: var(--dim);
  font-size: 0.66rem;
  gap: 0.55rem;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 0.55rem;
  content: "/";
}

.collection-heading {
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: 3rem;
  align-items: end;
}

.collection-hero h1,
.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 6vw, 6.5rem);
}

.lede {
  max-width: 52rem;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.work-count {
  display: grid;
  font-family: "Noto Serif Archive", Georgia, serif;
  font-size: clamp(3.8rem, 8vw, 8rem);
  font-weight: 400;
  line-height: 0.75;
  text-align: right;
}

.work-count span {
  margin-top: 1.1rem;
  color: var(--dim);
  font-family: "Inter Archive", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-section {
  padding: 0 0 clamp(5rem, 9vw, 9rem);
}

.global-search-section {
  border-bottom: 1px solid var(--line);
}

.gallery-tools {
  display: grid;
  position: sticky;
  top: var(--header);
  z-index: 20;
  min-height: 78px;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.97);
  grid-template-columns: 1fr max-content;
  gap: 2rem;
  align-items: center;
}

.archive-search {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 1.5rem;
  align-items: center;
}

.archive-search span,
.result-count {
  color: var(--dim);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-search input {
  width: 100%;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.archive-search input:focus {
  border-color: var(--ink);
}

.result-count {
  margin: 0;
}

.filter-row {
  display: flex;
  margin: -1rem 0 2.4rem;
  gap: 1.1rem;
  overflow-x: auto;
}

.filter-button {
  flex: 0 0 auto;
  padding: 0 0 0.35rem;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  font-size: 0.67rem;
  white-space: nowrap;
}

.filter-button.is-active,
.filter-button[aria-pressed="true"] {
  border-color: var(--red);
  color: var(--ink);
}

.empty-state {
  padding: 4rem 0;
  color: var(--muted);
}

.global-results {
  display: grid;
  padding-bottom: 2.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.global-results[hidden] {
  display: none;
}

.global-result {
  display: grid;
  min-width: 0;
  padding: 0.9rem;
  border-top: 1px solid var(--line);
  grid-template-columns: 7rem 1fr;
  gap: 0.9rem;
  text-decoration: none;
}

.global-result:nth-child(3n + 1) {
  padding-left: 0;
}

.global-result img {
  width: 7rem;
  height: 4.6rem;
  background: var(--raised);
  object-fit: cover;
}

.global-result strong,
.global-result small {
  display: block;
}

.global-result strong {
  font-family: "Noto Serif Archive", Georgia, serif;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
}

.global-result small {
  margin-top: 0.35rem;
  color: var(--dim);
  font-size: 0.62rem;
}

.archive-notes,
.related-section,
.research-callout,
.rights-section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.notes-grid,
.split-intro,
.research-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 0.7fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.notes-grid article,
.split-intro article,
.research-grid article {
  max-width: var(--reading);
  color: var(--muted);
}

.notes-grid article p,
.split-intro p,
.research-grid p,
.research-callout p,
.rights-section p {
  margin: 0 0 1.2rem;
}

.archive-notes h2,
.split-intro h2,
.research-grid h2,
.research-callout h2,
.rights-section h2 {
  margin-bottom: 1.4rem;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.source-list,
.represented-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-list li,
.represented-list li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.source-list a {
  font-family: "Noto Serif Archive", Georgia, serif;
  font-size: 0.95rem;
}

.source-list p,
.source-list small,
.represented-list span {
  display: block;
  margin: 0.35rem 0 0;
  color: var(--dim);
  font-size: 0.7rem;
}

.source-list--numbered {
  list-style: decimal;
  padding-left: 1.4rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.related-card {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid var(--line-strong);
  text-decoration: none;
  gap: 1rem;
}

.related-card strong {
  font-family: "Noto Serif Archive", Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
}

.credits-directory {
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.credit-group {
  display: grid;
  padding: 2.8rem 0;
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(13rem, 0.35fr) 1fr;
  gap: 3rem;
}

.credit-group h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
}

.credit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.credit-person {
  display: grid;
  padding: 0.8rem 0.8rem 0.8rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  align-content: start;
  text-decoration: none;
}

.credit-person strong {
  font-size: 0.8rem;
  font-weight: 600;
}

.credit-person span,
.credit-person small {
  color: var(--dim);
  font-size: 0.65rem;
}

.credit-person small {
  margin-top: 0.35rem;
}

.credit-person.is-represented {
  border-top-color: var(--red);
}

.credit-person.is-represented small {
  color: #d88079;
}

.represented-list li,
.represented-list li a {
  display: grid;
}

.represented-list li a {
  color: inherit;
  text-decoration: none;
}

.method-list {
  margin: 2.5rem 0 0;
}

.method-list > div {
  display: grid;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
}

.method-list dt {
  color: var(--ink);
  font-weight: 650;
}

.method-list dd {
  margin: 0;
}

.research-callout p,
.rights-section p {
  max-width: var(--reading);
  color: var(--muted);
}

.art-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #060606;
  color: var(--ink);
}

.art-dialog::backdrop {
  background: rgba(0, 0, 0, 0.9);
}

.dialog-shell {
  display: grid;
  height: 100%;
  grid-template-rows: 54px minmax(0, 1fr) auto;
}

.dialog-bar {
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.7rem;
  align-items: center;
}

.icon-button {
  min-width: 3rem;
  min-height: 2.2rem;
  padding: 0 0.6rem;
  border: 1px solid var(--line-strong);
  background: var(--black);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.7rem;
}

.dialog-stage {
  display: grid;
  min-height: 0;
  grid-template-columns: 4.5rem minmax(0, 1fr) 4.5rem;
  align-items: center;
}

.dialog-image-wrap {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 1rem;
  place-items: center;
}

.dialog-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 220px);
  object-fit: contain;
}

.dialog-caption {
  display: grid;
  padding: 1rem 1.5rem 1.2rem;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr max-content;
  gap: 2rem;
}

.dialog-caption h2 {
  margin: 0;
  font-family: "Noto Serif Archive", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.dialog-caption p {
  margin: 0.25rem 0 0;
  color: var(--dim);
  font-size: 0.7rem;
}

.dialog-note:empty {
  display: none;
}

.dialog-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.72rem;
  align-items: start;
}

.site-footer {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
  grid-template-columns: 1fr max-content;
  gap: 4rem;
}

.footer-inner > div {
  max-width: 48rem;
}

.footer-inner strong {
  font-family: "Noto Serif Archive", Georgia, serif;
  font-weight: 500;
}

.footer-inner p {
  margin: 0.6rem 0 0;
  color: var(--dim);
  font-size: 0.72rem;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  font-size: 0.72rem;
}

@media (max-width: 1080px) {
  .art-grid,
  .collection-gateways {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-result:nth-child(3n + 1) {
    padding-left: 0.9rem;
  }

  .global-result:nth-child(2n + 1) {
    padding-left: 0;
  }

  .credit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header: 62px;
  }

  .page-shell,
  .footer-inner {
    width: min(calc(100% - 2rem), var(--content));
  }

  .nav-shell {
    width: calc(100% - 1rem);
    grid-template-columns: 1fr max-content max-content;
  }

  .brand-copy span {
    display: none;
  }

  .menu-toggle {
    display: grid;
    border-left: 1px solid var(--line);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    right: 0;
    left: 0;
    padding: 0.5rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--black);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .nav-search {
    width: auto;
  }

  .home-intro h1,
  .collection-hero h1,
  .page-hero h1 {
    font-size: clamp(2.7rem, 12vw, 5.8rem);
  }

  .hero-mosaic {
    min-height: 110vw;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 2fr 1fr 1fr;
  }

  .hero-tile:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .section-heading,
  .collection-heading,
  .notes-grid,
  .split-intro,
  .research-grid,
  .credit-group,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 1rem;
  }

  .work-count {
    display: none;
  }

  .credit-group {
    gap: 1.5rem;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 580px) {
  .home-intro,
  .collection-hero,
  .page-hero {
    padding-block: 3rem;
  }

  .hero-mosaic {
    min-height: 150vw;
  }

  .section {
    padding-block: 4rem;
  }

  .art-grid,
  .collection-gateways,
  .related-grid,
  .credit-list,
  .global-results {
    grid-template-columns: 1fr;
  }

  .global-result,
  .global-result:nth-child(2n + 1),
  .global-result:nth-child(3n + 1) {
    padding-inline: 0;
  }

  .art-card--wide {
    grid-column: auto;
  }

  .gallery-tools {
    min-height: 94px;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    align-content: center;
  }

  .archive-search {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .result-count {
    padding-bottom: 0.5rem;
  }

  .filter-row {
    margin-top: 0;
  }

  .fact-strip dl {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0;
  }

  .method-list > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .dialog-stage {
    grid-template-columns: 3rem minmax(0, 1fr) 3rem;
  }

  .dialog-image-wrap {
    padding: 0.4rem;
  }

  .dialog-caption {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .dialog-links {
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
