@font-face {
  font-family: "Inter";
  src: url("/assets/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --midnight: #15242d;
  --midnight-deep: #0d181f;
  --porcelain: #f1f3f0;
  --white: #fafbf8;
  --mineral: #dfe6e2;
  --ink: #17272b;
  --body: #3f4d4c;
  --muted: #697573;
  --petrol: #0b5966;
  --petrol-bright: #167585;
  --bordeaux: #743448;
  --brass: #b18a52;
  --brass-pale: #d8c39c;
  --line: rgba(23, 39, 43, .18);
  --dark-line: rgba(241, 243, 240, .16);
  --shadow: 0 2rem 5rem rgba(13, 24, 31, .14);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--porcelain);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible {
  border-radius: .2rem;
  outline: 3px solid var(--brass);
  outline-offset: 5px;
}

h1,
h2,
h3,
p,
blockquote,
dl,
dd {
  margin-top: 0;
}

h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.shell {
  width: min(1200px, calc(100% - 3rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--bordeaux);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(5.5rem, 10vw, 9rem);
}

.section-marker {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  color: var(--petrol);
}

.section-marker span {
  min-width: 2.4rem;
  padding-top: .18rem;
  border-top: 2px solid currentColor;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.section-marker p {
  max-width: 8.5rem;
  margin: 0;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.45;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.35rem;
  border: 1px solid var(--petrol);
  border-radius: 999px;
  color: var(--white);
  background: var(--petrol);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}

.button:hover {
  background: var(--petrol-bright);
  transform: translateY(-2px);
}

.text-link {
  padding-block: .75rem;
  color: var(--petrol);
  font-size: .82rem;
  font-weight: 800;
  text-underline-offset: .3rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

/* Opening */

.night-opening {
  position: relative;
  overflow: hidden;
  color: var(--porcelain);
  background:
    radial-gradient(circle at 76% 32%, rgba(11, 89, 102, .28), transparent 30rem),
    radial-gradient(circle at 16% 100%, rgba(116, 52, 72, .25), transparent 35rem),
    var(--midnight);
}

.night-opening::before {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(rgba(241, 243, 240, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 243, 240, .1) 1px, transparent 1px);
  background-size: min(7vw, 5rem) min(7vw, 5rem);
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 72%, transparent);
  content: "";
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 5.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--dark-line);
}

.label-endorsement {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .65rem;
  color: var(--porcelain);
  font-size: .68rem;
  font-weight: 780;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.label-endorsement img {
  width: 2.35rem;
  height: 2.35rem;
  filter:
    drop-shadow(0 0 .65rem rgba(116, 52, 72, .68))
    drop-shadow(0 0 1.8rem rgba(174, 91, 112, .38));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(.9rem, 2.5vw, 2rem);
}

.site-nav a,
.site-nav button {
  color: rgba(241, 243, 240, .68);
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: .74rem;
  font-weight: 720;
  text-decoration: none;
  transition: color .2s ease;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav button:hover {
  color: var(--white);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100svh - 5.75rem);
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .7fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
  padding-block: clamp(5rem, 10vh, 8rem) clamp(7rem, 13vh, 10rem);
}

.hero-brand {
  width: min(100%, 43rem);
}

.jamdoku-wordmark {
  display: block;
  width: min(100%, 41rem);
  --jamdoku-primary: #f1f3f0;
  --jamdoku-secondary: #b18a52;
}

.jamdoku-wordmark[data-inline] > g path {
  fill: var(--jamdoku-primary) !important;
  stroke: var(--jamdoku-secondary) !important;
}

.jamdoku-wordmark[data-inline] > g:last-child path {
  fill: var(--jamdoku-secondary) !important;
  stroke: var(--jamdoku-primary) !important;
}

.hero-tagline {
  width: min(100%, 41rem);
  margin: -2.2rem 0 0;
  color: var(--brass-pale);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  font-style: italic;
  letter-spacing: -.035em;
  text-align: right;
}

.referee-card {
  position: relative;
  margin: 0;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(216, 195, 156, .5);
  background: rgba(13, 24, 31, .64);
  box-shadow: 1.1rem 1.1rem 0 rgba(177, 138, 82, .08);
}

.referee-card::before,
.referee-card::after {
  position: absolute;
  width: 1.3rem;
  height: 1.3rem;
  border-color: var(--brass);
  content: "";
}

.referee-card::before {
  top: .75rem;
  left: .75rem;
  border-top: 1px solid;
  border-left: 1px solid;
}

.referee-card::after {
  right: .75rem;
  bottom: .75rem;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.referee-card > p {
  margin-bottom: clamp(3rem, 8vh, 6rem);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-style: italic;
  letter-spacing: -.05em;
  line-height: .95;
}

.referee-card footer {
  display: grid;
  gap: .45rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--dark-line);
  color: rgba(241, 243, 240, .66);
  font-size: .68rem;
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.referee-card cite {
  color: var(--brass-pale);
  font-style: normal;
}

.referee-card time {
  justify-self: end;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  letter-spacing: 0;
}

.opening-cue {
  position: absolute;
  bottom: 2rem;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: rgba(241, 243, 240, .58);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}

.opening-cue span {
  color: var(--brass);
  font-size: 1.1rem;
}

/* Provenance bridge */

.provenance-bridge {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
  background: var(--porcelain);
}

.provenance-panel {
  position: relative;
  margin-bottom: -3.5rem;
  padding: clamp(2rem, 4vw, 3.75rem) clamp(1.5rem, 5vw, 4.5rem);
  border-top: 3px solid var(--brass);
  background: var(--white);
  box-shadow: 0 2.4rem 6rem rgba(13, 24, 31, .18);
  transform: translateY(-3.5rem);
}

.provenance-panel::before,
.provenance-panel::after {
  position: absolute;
  width: .55rem;
  height: .55rem;
  border: 1px solid var(--brass);
  content: "";
  transform: rotate(45deg);
}

.provenance-panel::before {
  top: 1rem;
  left: 1rem;
}

.provenance-panel::after {
  right: 1rem;
  bottom: 1rem;
}

.provenance-heading {
  display: grid;
  grid-template-columns: clamp(6.5rem, 11vw, 9.5rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 66rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.provenance-insignia {
  width: 100%;
  border-radius: 24%;
  box-shadow: 0 .8rem 2rem rgba(13, 24, 31, .16);
}

.provenance-heading .eyebrow {
  margin-bottom: .65rem;
}

.provenance-heading h2 {
  margin-bottom: 1.1rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.3vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
}

.provenance-lede {
  max-width: 47rem;
  margin-bottom: 0;
  color: var(--body);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.58;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 6vw, 5rem);
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.promise-grid li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  padding-block: 1.65rem;
}

.promise-grid li:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.promise-seal {
  display: grid;
  width: 2.65rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #8f6a35;
  border-radius: 50%;
  color: #62431f;
  background:
    radial-gradient(circle at 34% 28%, #f1dfb5 0 7%, transparent 8%),
    radial-gradient(circle at 34% 30%, #ddc18a 0, #b18a52 56%, #886231 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .72),
    inset 0 -2px 3px rgba(77, 45, 14, .35),
    0 .35rem .8rem rgba(58, 42, 24, .18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  text-shadow: 0 1px rgba(255, 255, 255, .35);
}

.promise-grid h3 {
  margin: 0 0 .45rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.promise-grid p {
  margin: 0;
  color: var(--body);
  font-size: .86rem;
  line-height: 1.58;
}

.cob-bridge {
  position: relative;
  max-width: 52rem;
  margin: clamp(3rem, 7vw, 5.5rem) auto 0;
  padding: clamp(1.7rem, 4vw, 2.6rem) clamp(1.5rem, 5vw, 3.5rem);
  border-left: 3px solid var(--brass);
  background:
    linear-gradient(120deg, rgba(177, 138, 82, .08), transparent 55%),
    rgba(223, 230, 226, .45);
}

.cob-bridge .eyebrow {
  margin-bottom: .7rem;
}

.cob-bridge h3 {
  margin-bottom: 1rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
}

.cob-bridge > p:not(.eyebrow) {
  max-width: 44rem;
  margin-bottom: .75rem;
  color: var(--body);
  font-size: .96rem;
  line-height: 1.7;
}

.cob-bridge .cob-teaser {
  color: var(--bordeaux) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem !important;
  font-style: italic;
}

.term-link,
.cabinet-inline-link {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  cursor: pointer;
}

.term-link {
  border-bottom: 1px dotted currentColor;
}

.term-link:hover,
.term-link:focus-visible {
  color: var(--bordeaux);
}

.cabinet-inline-link {
  margin-top: .7rem;
  color: var(--petrol);
  font-size: .72rem;
  font-weight: 820;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cabinet-inline-link span {
  color: var(--brass);
  font-size: 1rem;
}

.lore-threshold {
  position: relative;
  max-width: 51rem;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  padding-top: 1.6rem;
  color: var(--body);
  text-align: center;
}

.lore-threshold::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3rem;
  height: 1px;
  background: var(--brass);
  content: "";
  transform: translateX(-50%);
}

.lore-threshold strong {
  display: block;
  margin-bottom: .65rem;
  color: var(--bordeaux);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
}

.lore-threshold p {
  margin: 0;
  color: var(--body);
  font-size: .88rem;
  line-height: 1.65;
}

/* Glossary */

.term-cabinet {
  width: min(42rem, 100%);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: var(--ink);
  background: var(--porcelain);
  box-shadow: -2rem 0 6rem rgba(13, 24, 31, .35);
}

.term-cabinet[open] {
  animation: cabinet-enter .38s cubic-bezier(.2, .8, .2, 1);
}

.term-cabinet::backdrop {
  background: rgba(13, 24, 31, .64);
  backdrop-filter: blur(3px);
}

.term-cabinet-shell {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.term-cabinet-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.6rem clamp(1.25rem, 5vw, 2.5rem);
  border-bottom: 1px solid rgba(216, 195, 156, .32);
  color: var(--porcelain);
  background: var(--midnight);
}

.term-cabinet-header p {
  margin-bottom: .35rem;
  color: var(--brass-pale);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.term-cabinet-header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -.03em;
}

.term-cabinet-close {
  display: grid;
  width: 2.6rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
  color: var(--porcelain);
  background: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.term-cabinet-body {
  overflow-y: auto;
  padding: clamp(1.25rem, 5vw, 2.5rem);
}

.dimension-plate {
  display: grid;
  grid-template-columns: minmax(9rem, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 2rem);
  margin-bottom: 2.5rem;
  padding: clamp(1rem, 3vw, 1.7rem);
  border: 1px solid var(--brass);
  background: var(--white);
  box-shadow: var(--shadow);
}

.dimension-plate svg {
  width: 100%;
}

.dimension-plate .lamp-fill {
  fill: var(--midnight);
}

.dimension-plate .lamp-line,
.dimension-plate .web-line {
  fill: none;
  stroke: var(--brass);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.dimension-plate .web-line {
  stroke: var(--petrol);
  stroke-width: 1.35;
}

.dimension-plate .web-node {
  fill: var(--bordeaux);
}

.glossary-kicker {
  margin-bottom: .5rem;
  color: var(--bordeaux);
  font-size: .61rem;
  font-weight: 820;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dimension-plate h3 {
  margin-bottom: .75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -.03em;
}

.dimension-plate div > p:last-child {
  margin: 0;
  color: var(--body);
  font-size: .82rem;
  line-height: 1.65;
}

.glossary-list {
  margin: 0;
}

.glossary-list > div {
  display: grid;
  grid-template-columns: minmax(7.5rem, .55fr) minmax(0, 1.45fr);
  gap: 1.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.glossary-list dt {
  color: var(--petrol);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.glossary-list dd {
  margin: 0;
  color: var(--body);
  font-size: .82rem;
  line-height: 1.65;
}

.glossary-entry:focus-visible {
  border-radius: .2rem;
  outline: 3px solid var(--brass);
  outline-offset: 5px;
}

.taxonomy-reference {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 2px solid var(--brass);
}

.taxonomy-reference-heading {
  margin-bottom: 2rem;
}

.taxonomy-reference-heading h3 {
  margin: 0 0 .8rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
}

.taxonomy-reference-heading > p:last-child {
  max-width: 34rem;
  margin: 0;
  color: var(--body);
  font-size: .84rem;
  line-height: 1.7;
}

.taxonomy-tree {
  margin-bottom: 2.5rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid var(--brass);
  background: var(--white);
  box-shadow: 0 1rem 3rem rgba(13, 24, 31, .08);
}

.taxonomy-tree-root {
  display: inline-block;
  padding: .7rem .9rem;
  border: 1px solid var(--brass);
  color: var(--porcelain);
  background: var(--midnight);
  font-size: .7rem;
  font-weight: 820;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.taxonomy-tree-branches {
  margin-left: 1.2rem;
  padding: 1rem 0 0 2.2rem;
  border-left: 1px solid var(--brass);
}

.taxonomy-tree-branch {
  position: relative;
  padding: .7rem 0 1rem;
}

.taxonomy-tree-branch::before {
  position: absolute;
  top: 1.45rem;
  left: -2.2rem;
  width: 1.55rem;
  border-top: 1px solid var(--brass);
  content: "";
}

.taxonomy-tree-branch strong {
  display: block;
  margin-bottom: .28rem;
  color: var(--petrol);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 400;
}

.taxonomy-tree-branch span {
  color: var(--body);
  font-size: .71rem;
  font-weight: 720;
  letter-spacing: .035em;
  line-height: 1.6;
}

.taxonomy-definition-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 2rem;
}

.taxonomy-definition-group {
  min-width: 0;
  padding-top: 1.2rem;
  border-top: 2px solid var(--petrol);
}

.taxonomy-definition-group h4 {
  margin: 0 0 .65rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.taxonomy-definition-group > p {
  min-height: 4.2rem;
  margin-bottom: 1rem;
  color: var(--body);
  font-size: .76rem;
  line-height: 1.6;
}

.taxonomy-definition-group dl {
  margin: 0;
}

.taxonomy-definition-group dl div {
  padding: .8rem 0;
  border-top: 1px solid var(--line);
}

.taxonomy-definition-group dt {
  margin-bottom: .3rem;
  color: var(--petrol);
  font-size: .66rem;
  font-weight: 820;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.taxonomy-definition-group dd {
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .78rem;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .taxonomy-definition-groups {
    grid-template-columns: 1fr;
  }

  .taxonomy-definition-group > p {
    min-height: 0;
  }
}

@keyframes cabinet-enter {
  from { opacity: .35; transform: translateX(3rem); }
  to { opacity: 1; transform: translateX(0); }
}

/* Taxonomy */

.taxonomy-section {
  background:
    radial-gradient(circle at 95% 18%, rgba(11, 89, 102, .08), transparent 24rem),
    var(--porcelain);
}

.taxonomy-layout {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr) minmax(13rem, 18rem);
  align-items: start;
  gap: clamp(2rem, 6vw, 6.5rem);
}

.taxonomy-copy h2,
.featured-intro h2,
.cabinet-heading h2,
.papers-copy h2,
.status-panel h2 {
  margin-bottom: 1.5rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .94;
}

.taxonomy-copy > p:not(.eyebrow) {
  max-width: 45rem;
  color: var(--body);
  font-size: 1.02rem;
  line-height: 1.78;
}

.taxonomy-copy .section-lede {
  margin-bottom: 1.4rem;
  color: var(--ink) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem) !important;
  line-height: 1.52 !important;
}

.taxonomy-explore-link {
  display: block;
  margin-top: 1.5rem;
}

.catalogue-count {
  padding: 1.8rem 0 0 1.8rem;
  border-top: 1px solid var(--petrol);
  border-left: 1px solid var(--petrol);
}

.catalogue-count strong {
  display: block;
  color: var(--bordeaux);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: -.08em;
  line-height: .8;
}

.catalogue-count strong span {
  color: var(--brass);
  font-size: .5em;
  vertical-align: top;
}

.catalogue-count p {
  margin: 1.3rem 0 1rem;
  color: var(--petrol);
  font-size: .72rem;
  font-weight: 820;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.catalogue-count small {
  display: block;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .88rem;
  line-height: 1.6;
}

/* Plumridge manuscript */

.plumridge-section {
  overflow: hidden;
  padding-block: clamp(6rem, 11vw, 10rem);
  color: var(--porcelain);
  background:
    radial-gradient(circle at 15% 18%, rgba(116, 52, 72, .38), transparent 30rem),
    linear-gradient(135deg, var(--midnight-deep), var(--midnight));
}

.plumridge-layout {
  display: grid;
  grid-template-columns: minmax(18rem, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(4rem, 9vw, 9rem);
}

.reduction-figure {
  position: relative;
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) 4.8rem minmax(7rem, .68fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.2rem);
}

.klaus-grid,
.pseudo-grid {
  position: relative;
  aspect-ratio: 1;
  border: 2px solid var(--brass-pale);
  background-color: rgba(241, 243, 240, .025);
}

.klaus-grid {
  background-image:
    linear-gradient(rgba(216, 195, 156, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 195, 156, .22) 1px, transparent 1px);
  background-size: calc(100% / 36) calc(100% / 36);
  box-shadow: inset 0 0 4rem rgba(116, 52, 72, .42), 0 1.5rem 4rem rgba(0, 0, 0, .28);
  transform: rotate(-2deg);
}

.klaus-grid::after {
  position: absolute;
  inset: -6%;
  opacity: .55;
  background:
    radial-gradient(circle at 12% 16%, transparent 0 8%, #0d181f 9% 12%, transparent 13%),
    radial-gradient(circle at 78% 82%, transparent 0 12%, #0d181f 13% 18%, transparent 19%);
  content: "";
}

.pseudo-grid {
  background-image:
    linear-gradient(rgba(216, 195, 156, .25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 195, 156, .25) 1px, transparent 1px),
    linear-gradient(rgba(216, 195, 156, .76) 2px, transparent 2px),
    linear-gradient(90deg, rgba(216, 195, 156, .76) 2px, transparent 2px);
  background-size:
    calc(100% / 9) calc(100% / 9),
    calc(100% / 9) calc(100% / 9),
    calc(100% / 3) calc(100% / 3),
    calc(100% / 3) calc(100% / 3);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .25);
  transform: rotate(1.5deg);
}

.klaus-grid span,
.pseudo-grid span {
  position: absolute;
  right: .5rem;
  bottom: .4rem;
  padding: .25rem .35rem;
  color: var(--midnight);
  background: var(--brass-pale);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.reduction-line {
  position: relative;
  height: 1px;
  background: var(--brass);
}

.reduction-line::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--brass);
  border-right: 1px solid var(--brass);
  content: "";
  transform: rotate(45deg);
}

.reduction-line span {
  position: absolute;
  bottom: .9rem;
  left: 50%;
  width: 8rem;
  color: rgba(241, 243, 240, .58);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.reduction-figure > p {
  grid-column: 1 / -1;
  margin: 1.4rem 0 0;
  color: rgba(241, 243, 240, .46);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .78rem;
  font-style: italic;
  text-align: center;
}

.plumridge-manuscript .eyebrow {
  color: var(--brass-pale);
}

.plumridge-manuscript blockquote {
  margin: 0;
  color: var(--porcelain);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.52rem);
  line-height: 1.62;
}

.plumridge-manuscript blockquote p:last-of-type {
  color: var(--brass-pale);
  font-size: 1.18em;
  font-style: italic;
}

.plumridge-manuscript blockquote footer {
  margin-top: 1.5rem;
  color: rgba(241, 243, 240, .55);
  font-family: "Inter", sans-serif;
  font-size: .72rem;
  font-style: normal;
  font-weight: 780;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.archivist-note {
  margin-top: 2.2rem;
  padding: 1.3rem 1.5rem;
  border-left: 3px solid var(--bordeaux);
  color: var(--body);
  background: var(--porcelain);
  box-shadow: .8rem .8rem 0 rgba(177, 138, 82, .12);
  transform: rotate(-.4deg);
}

.archivist-note strong {
  display: block;
  margin-bottom: .65rem;
  color: var(--bordeaux);
  font-size: .67rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.archivist-note p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .92rem;
  line-height: 1.55;
}

/* Featured schema */

.featured-section {
  background:
    linear-gradient(90deg, transparent 0 49.95%, rgba(23, 39, 43, .05) 50%, transparent 50.05%),
    var(--mineral);
}

.featured-layout {
  display: grid;
  grid-template-columns: minmax(17rem, .72fr) minmax(24rem, 1fr);
  align-items: center;
  gap: clamp(4rem, 10vw, 10rem);
}

.featured-intro {
  display: grid;
  gap: 3.5rem;
}

.featured-intro h2 {
  font-size: clamp(3rem, 5.6vw, 5.6rem);
}

.featured-intro > div:last-child > p:last-child {
  max-width: 34rem;
  color: var(--body);
  line-height: 1.75;
}

.schema-trump {
  --schema-surface: #f8faf6;
  --schema-cell-a: #e4eeeb;
  --schema-cell-b: #eef1e8;
  --schema-cell-c: #e9e1e5;
  --schema-grid-line: rgba(11, 89, 102, .22);
  --schema-cob-line: #0b5966;
  --schema-accent: #743448;
  position: relative;
  width: min(100%, 38rem);
  justify-self: end;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid var(--petrol);
  outline: 5px double rgba(11, 89, 102, .25);
  outline-offset: -11px;
  color: var(--ink);
  background: var(--schema-surface);
  box-shadow: 1.4rem 1.4rem 0 rgba(116, 52, 72, .13), var(--shadow);
}

.card-corners::before,
.card-corners::after {
  position: absolute;
  z-index: 2;
  width: 1.2rem;
  height: 1.2rem;
  border-color: var(--brass);
  content: "";
  pointer-events: none;
}

.card-corners::before {
  top: .85rem;
  left: .85rem;
  border-top: 2px solid;
  border-left: 2px solid;
}

.card-corners::after {
  right: .85rem;
  bottom: .85rem;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.schema-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
}

.schema-card-header p {
  margin-bottom: .35rem;
  color: var(--bordeaux);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.schema-card-header h3 {
  margin: 0;
  color: var(--petrol);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -.045em;
  text-transform: capitalize;
}

.schema-ordinal {
  display: grid;
  min-width: 4.6rem;
  justify-items: end;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.schema-ordinal span {
  color: var(--muted);
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.schema-ordinal strong {
  color: var(--bordeaux);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
}

.schema-render {
  width: min(100%, 25rem);
  margin: 1.8rem auto 1.3rem;
  aspect-ratio: 1;
}

.schema-render > p {
  display: grid;
  height: 100%;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
}

.schema-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(.5rem .65rem .7rem rgba(23, 39, 43, .12));
}

.schema-svg .cell-tone-0 { fill: var(--schema-cell-a); }
.schema-svg .cell-tone-1 { fill: var(--schema-cell-b); }
.schema-svg .cell-tone-2 { fill: var(--schema-cell-c); }
.schema-svg .cell-grid {
  fill: none;
  stroke: var(--schema-grid-line);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}
.schema-svg .cob-boundary {
  fill: none;
  stroke: var(--schema-cob-line);
  stroke-linecap: square;
  stroke-linejoin: round;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.schema-classification {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.schema-classification span {
  color: var(--bordeaux);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-style: italic;
}

.schema-classification small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: .55rem;
  letter-spacing: .05em;
}

.beautifaction {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.5rem;
  margin: 1.5rem 0;
}

.beautifaction > div {
  min-width: 0;
}

.beautifaction dt {
  margin-bottom: .45rem;
  color: var(--body);
  font-size: .62rem;
  font-weight: 790;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.beautifaction dd {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  align-items: center;
  gap: .65rem;
  margin: 0;
}

.beautifaction dd > span {
  color: var(--petrol);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.beautifaction i {
  display: block;
  height: .35rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 39, 43, .1);
}

.beautifaction b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--petrol), var(--bordeaux));
  transition: width 1s cubic-bezier(.2, .8, .2, 1);
}

.schema-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.schema-card-footer p {
  max-width: 26rem;
  margin: 0;
  color: var(--body);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .86rem;
  font-style: italic;
  line-height: 1.5;
}

.schema-card-footer span {
  flex: 0 0 auto;
  color: var(--brass);
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .12em;
}

/* Cabinets */

.cabinet-section {
  color: var(--porcelain);
  background:
    radial-gradient(circle at 90% 20%, rgba(116, 52, 72, .24), transparent 32rem),
    var(--midnight);
}

.cabinet-heading {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: clamp(2rem, 6vw, 6.5rem);
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.cabinet-heading .section-marker,
.cabinet-heading .eyebrow {
  color: var(--brass-pale);
}

.cabinet-heading h2 {
  margin-bottom: 0;
  color: var(--porcelain);
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--dark-line);
  border-left: 1px solid var(--dark-line);
}

.mode-card {
  position: relative;
  min-height: 22rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-right: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  background: rgba(13, 24, 31, .22);
}

.mode-card::after {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 1rem;
  height: 1rem;
  border-right: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  content: "";
}

.mode-index {
  margin-bottom: clamp(4rem, 8vw, 7rem);
  color: var(--brass-pale);
  font-size: .62rem;
  font-weight: 790;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mode-card h3 {
  margin-bottom: 1rem;
  color: var(--porcelain);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -.04em;
}

.mode-card > p:last-child,
.mode-copy > p:last-child {
  max-width: 34rem;
  margin-bottom: 0;
  color: rgba(241, 243, 240, .64);
  line-height: 1.7;
}

.ambition-card {
  display: grid;
  min-height: 27rem;
  grid-column: 1 / -1;
  grid-template-columns: 1fr minmax(17rem, .72fr);
  align-items: center;
  gap: 3rem;
  background: rgba(11, 89, 102, .18);
}

.ambition-card .mode-index {
  margin-bottom: 4rem;
}

.ambition-dial {
  position: relative;
  display: grid;
  width: min(100%, 22rem);
  aspect-ratio: 1;
  justify-self: center;
  place-items: center;
  border: 1px solid rgba(216, 195, 156, .58);
  border-radius: 50%;
}

.ambition-dial::before,
.ambition-dial::after {
  position: absolute;
  inset: 13%;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
  content: "";
}

.ambition-dial::after {
  inset: 28%;
  border-color: var(--brass);
}

.ambition-dial > span {
  position: absolute;
  display: grid;
  color: var(--porcelain);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  text-align: center;
}

.ambition-dial > span:nth-child(1) {
  top: 9%;
  left: 46%;
}

.ambition-dial > span:nth-child(2) {
  right: 9%;
  bottom: 25%;
}

.ambition-dial > span:nth-child(3) {
  bottom: 9%;
  left: 29%;
}

.ambition-dial small {
  color: var(--brass-pale);
  font-family: "Inter", sans-serif;
  font-size: .5rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ambition-dial i {
  position: absolute;
  width: 2px;
  height: 32%;
  bottom: 50%;
  left: 50%;
  background: var(--bordeaux);
  transform: rotate(54deg);
  transform-origin: 50% 100%;
}

.ambition-dial i::after {
  position: absolute;
  top: -.35rem;
  left: -.3rem;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: var(--bordeaux);
  content: "";
}

/* Papers */

.papers-section {
  padding-block: clamp(6rem, 11vw, 10rem);
  background:
    linear-gradient(115deg, rgba(11, 89, 102, .08), transparent 38%),
    var(--white);
}

.papers-layout {
  display: grid;
  grid-template-columns: minmax(20rem, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(4rem, 10vw, 10rem);
}

.cairo-tableau {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(177, 138, 82, .75);
  background: #e7ece8;
  box-shadow: 1.2rem 1.2rem 0 rgba(11, 89, 102, .09), var(--shadow);
  transform: rotate(-1deg);
}

.cairo-tableau header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--brass);
}

.cairo-tableau header span {
  color: var(--bordeaux);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.cairo-tableau header strong {
  color: var(--petrol);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 400;
}

.glyph-grid {
  display: grid;
  margin-block: 1.4rem;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid rgba(23, 39, 43, .28);
  border-left: 1px solid rgba(23, 39, 43, .28);
}

.glyph-grid span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-right: 1px solid rgba(23, 39, 43, .28);
  border-bottom: 1px solid rgba(23, 39, 43, .28);
  color: var(--midnight);
  font-family: "Segoe UI Historic", "Noto Sans Egyptian Hieroglyphs", serif;
  font-size: clamp(1.3rem, 3vw, 2.3rem);
}

.glyph-grid .missing {
  background: rgba(116, 52, 72, .025);
}

.cairo-tableau > p {
  margin: 0;
  color: var(--body);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .78rem;
  font-style: italic;
  line-height: 1.5;
}

.papers-copy h2 {
  font-size: clamp(3rem, 5.6vw, 5.8rem);
}

.papers-copy > p:not(.eyebrow) {
  max-width: 43rem;
  color: var(--body);
  line-height: 1.78;
}

.archive-index {
  margin: 2.8rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.archive-index li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.3rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.archive-index time {
  color: var(--bordeaux);
  font-size: .66rem;
  font-weight: 810;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.archive-index div {
  display: grid;
  gap: .25rem;
}

.archive-index strong {
  color: var(--petrol);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 400;
}

.archive-index span {
  color: var(--muted);
  font-size: .8rem;
}

/* Status and footer */

.status-section {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--bordeaux);
}

.status-panel {
  color: var(--porcelain);
}

.status-panel .eyebrow {
  color: var(--brass-pale);
}

.status-panel h2 {
  max-width: 16ch;
  color: var(--porcelain);
}

.status-panel > p:not(.eyebrow) {
  max-width: 42rem;
  color: rgba(241, 243, 240, .74);
  line-height: 1.75;
}

.status-panel .actions {
  margin-top: 2rem;
}

.status-panel .button {
  border-color: var(--porcelain);
  color: var(--bordeaux);
  background: var(--porcelain);
}

.status-panel .button:hover {
  background: var(--white);
}

.status-panel .text-link {
  color: var(--porcelain);
}

.site-footer {
  display: grid;
  min-height: 8rem;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  color: var(--muted);
  font-size: .68rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .7rem 1.3rem;
}

.site-footer a {
  text-underline-offset: .25rem;
}

/* Responsive */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-brand {
    width: min(90%, 40rem);
  }

  .referee-card {
    width: min(100%, 31rem);
    justify-self: end;
  }

  .taxonomy-layout {
    grid-template-columns: 7rem 1fr;
  }

  .catalogue-count {
    grid-column: 2;
    max-width: 24rem;
  }

  .plumridge-layout,
  .featured-layout,
  .papers-layout {
    grid-template-columns: 1fr;
  }

  .reduction-figure {
    width: min(100%, 42rem);
    margin-inline: auto;
  }

  .schema-trump {
    justify-self: center;
  }

  .papers-layout {
    gap: 5rem;
  }

  .cairo-tableau {
    width: min(100%, 35rem);
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 2rem, 1200px);
  }

  .site-header {
    min-height: 4.8rem;
    gap: 1rem;
  }

  .label-endorsement span {
    display: none;
  }

  .site-nav {
    gap: .8rem;
    overflow-x: auto;
    white-space: nowrap;
  }

  .site-nav a,
  .site-nav button {
    font-size: .65rem;
  }

  .hero {
    min-height: calc(100svh - 4.8rem);
    padding-top: 4rem;
  }

  .hero-tagline {
    margin-top: -1rem;
  }

  .opening-cue {
    bottom: 1.3rem;
  }

  .provenance-panel {
    margin-bottom: -2rem;
    padding: 1.75rem 1.35rem 2.25rem;
    background: var(--white);
    transform: translateY(-2rem);
  }

  .provenance-heading {
    grid-template-columns: 4.75rem 1fr;
    gap: 1.15rem;
    margin-bottom: 2.5rem;
  }

  .provenance-heading h2 {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  .promise-grid {
    grid-template-columns: 1fr;
  }

  .promise-grid li:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .dimension-plate,
  .glossary-list > div {
    grid-template-columns: 1fr;
  }

  .dimension-plate svg {
    width: min(14rem, 70%);
    justify-self: center;
  }

  .taxonomy-layout,
  .cabinet-heading {
    grid-template-columns: 1fr;
  }

  .taxonomy-layout {
    gap: 2.7rem;
  }

  .catalogue-count {
    grid-column: 1;
  }

  .plumridge-layout {
    gap: 4rem;
  }

  .reduction-figure {
    grid-template-columns: 1fr;
    width: min(90%, 24rem);
  }

  .klaus-grid {
    width: 84%;
  }

  .pseudo-grid {
    width: 64%;
    justify-self: end;
  }

  .reduction-line {
    width: 1px;
    height: 3rem;
    justify-self: center;
  }

  .reduction-line::after {
    top: auto;
    right: -3px;
    bottom: 0;
    transform: rotate(135deg);
  }

  .reduction-line span {
    bottom: 1rem;
    left: 1rem;
    transform: none;
  }

  .featured-layout {
    gap: 4rem;
  }

  .schema-trump {
    width: calc(100% - .5rem);
    padding: 1.5rem;
  }

  .beautifaction {
    grid-template-columns: 1fr;
  }

  .mode-grid {
    grid-template-columns: 1fr;
  }

  .ambition-card {
    min-height: 0;
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .ambition-dial {
    width: min(86vw, 19rem);
  }

  .mode-card {
    min-height: 18rem;
  }

  .archive-index li {
    grid-template-columns: 5.5rem 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 1rem;
    padding-block: 2rem;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .site-nav a:nth-child(2),
  .site-nav a:nth-child(4) {
    display: none;
  }

  .referee-card > p {
    margin-bottom: 3rem;
  }

  .schema-card-header {
    gap: .75rem;
  }

  .schema-card-header h3 {
    font-size: 2.4rem;
  }

  .schema-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .archive-index li {
    grid-template-columns: 1fr;
    gap: .4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .button:hover {
    transform: none;
  }
}
