:root {
  --ink: #11100e;
  --ink-soft: #292620;
  --paper: #f3e9d2;
  --paper-light: #fff9ea;
  --paper-deep: #d9cfb9;
  --yellow: #f5c842;
  --red: #b83222;
  --blue: #244b71;
  --muted: #5b574d;
  --line: rgba(17, 16, 14, 0.28);
  --max: 1500px;
  --pad: clamp(1rem, 3.2vw, 3.25rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(17, 16, 14, 0.075) 1px, transparent 1px) 0 0 / 7px 7px,
    var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  color: var(--red);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  min-height: 44px;
  padding: 0.6rem 1rem;
  color: var(--paper-light);
  background: var(--blue);
  transform: translateY(-160%);
}

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

.age-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.35rem var(--pad);
  color: var(--paper-light);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.age-bar span {
  margin-right: 0.8rem;
  padding-right: 0.8rem;
  color: var(--yellow);
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.age-bar p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.masthead,
main,
.site-footer {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) 2.8fr;
  min-height: 136px;
  padding-inline: var(--pad);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding-right: 1.5rem;
  text-decoration: none;
}

.brand-number {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin-right: 0.75rem;
  place-items: center;
  color: var(--paper-light);
  background: var(--ink);
  border-radius: 50%;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
}

.brand > span:last-child {
  font-family: "Arial Narrow", "Noto Sans SC", sans-serif;
  font-size: clamp(1.05rem, 1.55vw, 1.45rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.menu-label {
  display: none;
}

.masthead nav {
  display: flex;
  align-items: stretch;
  min-width: 0;
  border-left: 1px solid var(--line);
}

.masthead ol {
  display: grid;
  width: 100%;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(7, minmax(74px, 1fr));
  list-style: none;
}

.masthead li {
  min-width: 0;
  border-right: 1px solid var(--line);
}

.masthead li:last-child {
  border-right: 0;
}

.masthead nav a {
  display: flex;
  min-height: 100%;
  padding: 1.25rem 0.7rem 1rem;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  font-size: clamp(0.75rem, 1vw, 0.95rem);
  font-weight: 800;
  line-height: 1.25;
}

.masthead nav a span {
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 700;
}

.masthead nav a[aria-current="page"] {
  color: var(--paper-light);
  background: var(--red);
}

.masthead nav a[aria-current="page"] span {
  color: var(--paper-light);
}

main {
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  min-height: 48px;
  padding-inline: var(--pad);
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.breadcrumbs a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.hero {
  display: grid;
  min-height: 660px;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  padding: clamp(2.4rem, 6vw, 6.5rem) var(--pad) clamp(2.5rem, 6vw, 5rem);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow,
.content-label {
  margin: 0 0 1rem;
  color: var(--red);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 930px;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Noto Sans SC", sans-serif;
  font-size: clamp(3.8rem, 7.8vw, 8.4rem);
  font-stretch: condensed;
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.94;
}

.hero-home h1 {
  display: flex;
  flex-wrap: wrap;
  font-size: clamp(5.5rem, 11.5vw, 11.75rem);
  line-height: 0.78;
}

.hero-home h1 span:not(.title-number) {
  display: block;
  width: 100%;
}

.hero-home h1 .title-number {
  position: relative;
  z-index: 1;
  margin-bottom: 0.2em;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 7px 7px 0 var(--red);
}

.hero-lead {
  max-width: 740px;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  font-size: clamp(1.25rem, 2.1vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.45;
}

.hero-intro {
  max-width: 680px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.text-link {
  display: inline-flex;
  min-height: 48px;
  margin-top: 2rem;
  padding: 0.55rem 0;
  align-items: center;
  border-bottom: 3px solid var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.hero-object {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: var(--paper-light);
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, 0.06) 48% 52%, transparent 52%),
    var(--ink);
  border-left: 1px solid var(--line);
  isolation: isolate;
}

.archive-stamp {
  position: absolute;
  z-index: 3;
  top: clamp(1.5rem, 4vw, 3.5rem);
  left: clamp(1.5rem, 4vw, 3.5rem);
  display: grid;
  width: 7.8rem;
  height: 7.8rem;
  place-items: center;
  color: var(--yellow);
  border: 3px solid var(--yellow);
  border-radius: 50%;
  transform: rotate(-11deg);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  line-height: 1;
  text-align: center;
}

.archive-stamp::after {
  position: absolute;
  inset: 0.35rem;
  border: 1px solid var(--yellow);
  border-radius: 50%;
  content: "";
}

.archive-stamp span {
  align-self: end;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.archive-stamp strong {
  align-self: start;
  font-size: 2.5rem;
}

.banana-disc {
  position: absolute;
  z-index: 1;
  top: 48%;
  left: 50%;
  display: grid;
  width: min(31vw, 390px);
  aspect-ratio: 1;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 52% 48% 45% 55% / 58% 38% 62% 42%;
  transform: translate(-46%, -48%) rotate(19deg);
  box-shadow: 22px 22px 0 var(--red);
}

.banana-disc::before {
  position: absolute;
  width: 36%;
  height: 84%;
  background: var(--ink);
  border-radius: 50%;
  transform: translateX(13%);
  content: "";
}

.banana-disc::after {
  position: absolute;
  width: 25%;
  height: 68%;
  background: var(--paper);
  border-radius: 50%;
  transform: translateX(3%);
  content: "";
}

.banana-disc span {
  position: relative;
  z-index: 2;
  margin-left: -62%;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  transform: rotate(-19deg);
}

.frame-caption {
  position: absolute;
  z-index: 3;
  right: clamp(1.25rem, 3vw, 3rem);
  bottom: clamp(4.75rem, 9vw, 7.8rem);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-align: right;
}

.film-strip {
  position: absolute;
  z-index: 2;
  right: -5%;
  left: -5%;
  display: grid;
  height: 74px;
  padding: 10px 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: var(--paper-light);
  border-top: 8px dotted var(--ink);
  border-bottom: 8px dotted var(--ink);
  transform: rotate(-4deg);
}

.film-strip i {
  background: var(--red);
  border: 2px solid var(--ink);
}

.film-strip-top {
  top: 30%;
}

.film-strip-bottom {
  bottom: 7%;
  transform: rotate(5deg);
}

.film-strip-bottom i {
  background: var(--blue);
}

.section-header {
  display: grid;
  padding: clamp(3rem, 7vw, 7rem) var(--pad) 2.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  column-gap: 3rem;
  border-bottom: 1px solid var(--line);
}

.section-header .eyebrow {
  grid-column: 1 / -1;
}

.section-header h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Noto Sans SC", sans-serif;
  font-size: clamp(3rem, 7vw, 7.2rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.section-header > p:last-child {
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.sample-ledger {
  border-bottom: 1px solid var(--line);
}

.sample-list {
  counter-reset: sample;
}

.sample-row {
  display: grid;
  min-height: 170px;
  padding: 1.5rem var(--pad);
  grid-template-columns: 0.38fr 0.9fr 0.8fr 1.2fr;
  gap: clamp(1rem, 2.5vw, 3rem);
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease;
}

.sample-row:last-child {
  border-bottom: 0;
}

.sample-row:hover {
  background: var(--paper-light);
}

.sample-code {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 1.1rem;
  font-weight: 900;
}

.swatch {
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  border: 2px solid var(--ink);
  border-radius: 50% 45% 55% 48%;
}

.swatch-yellow {
  background: var(--yellow);
}

.swatch-red {
  background: var(--red);
}

.swatch-blue {
  background: var(--blue);
}

.swatch-paper {
  background: var(--paper-light);
}

.sample-title .content-label {
  margin-bottom: 0.35rem;
}

.sample-title h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.sample-cue,
.sample-note {
  margin: 0;
}

.sample-cue {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.65;
}

.sample-note {
  color: var(--muted);
}

.filter-bar {
  display: flex;
  min-height: 92px;
  padding: 1rem var(--pad);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-buttons button {
  min-height: 46px;
  padding: 0.6rem 1rem;
  color: var(--paper-light);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  cursor: pointer;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.filter-buttons button:hover {
  color: var(--ink);
  background: var(--paper-light);
}

.filter-buttons button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.filter-status {
  margin: 0;
  color: var(--paper-deep);
  font-size: 0.8rem;
}

.identity-ledger {
  display: grid;
  padding: clamp(3rem, 6vw, 6rem) var(--pad);
  color: var(--paper-light);
  background: var(--ink);
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  border-bottom: 1px solid var(--line);
}

.section-header.compact {
  display: block;
  padding: 0;
  border: 0;
}

.section-header.compact h2 {
  max-width: 480px;
  color: var(--paper-light);
  font-size: clamp(2.7rem, 5vw, 5.5rem);
}

.identity-ledger dl {
  margin: 0;
}

.identity-ledger dl > div {
  display: grid;
  padding: 1.6rem 0;
  grid-template-columns: minmax(150px, 0.55fr) 1.45fr;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.identity-ledger dt {
  color: var(--yellow);
  font-weight: 900;
}

.identity-ledger dt span {
  margin-right: 0.8rem;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
}

.identity-ledger dd {
  margin: 0;
  color: var(--paper-deep);
}

.reading-grid {
  border-bottom: 1px solid var(--line);
}

.reading-entry {
  display: grid;
  min-height: 320px;
  padding: clamp(2.2rem, 5vw, 5rem) var(--pad);
  grid-template-columns: 0.32fr minmax(0, 1.2fr) minmax(190px, 0.5fr);
  gap: clamp(1.2rem, 4vw, 5rem);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.reading-entry:last-child {
  border-bottom: 0;
}

.entry-index {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1;
}

.entry-index i {
  width: 3rem;
  height: 3rem;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50% 45% 55% 42%;
}

.reading-entry:nth-child(even) .entry-index i {
  background: var(--red);
  border-radius: 0;
  transform: rotate(11deg);
}

.entry-copy .content-label {
  margin-bottom: 0.7rem;
}

.entry-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.entry-copy > p:last-child {
  max-width: 720px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.entry-accent {
  margin: 0;
  padding-top: 0.5rem;
  color: var(--red);
  border-top: 4px solid var(--red);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: right;
}

.age-notice {
  display: grid;
  min-height: 230px;
  padding: clamp(2rem, 5vw, 5rem) var(--pad);
  color: var(--ink);
  background: var(--yellow);
  grid-template-columns: minmax(150px, 0.45fr) 1.55fr;
  gap: 2.5rem;
  align-items: center;
  border-bottom: 1px solid var(--ink);
}

.age-notice > strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(5rem, 10vw, 11rem);
  letter-spacing: -0.06em;
  line-height: 0.8;
}

.age-notice div {
  padding-left: clamp(1.5rem, 4vw, 4rem);
  border-left: 4px solid var(--ink);
}

.age-notice p {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 3.2rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.age-notice span {
  display: block;
  margin-top: 0.8rem;
  font-weight: 700;
}

.next-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.next-links a {
  display: flex;
  min-height: 170px;
  padding: 2rem var(--pad);
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}

.next-links a + a {
  align-items: flex-end;
  background: var(--paper-light);
  border-left: 1px solid var(--line);
  text-align: right;
}

.next-links span {
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.next-links strong {
  font-size: clamp(1.55rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.site-footer {
  display: grid;
  min-height: 260px;
  padding: clamp(2.5rem, 5vw, 5rem) var(--pad);
  color: var(--paper-light);
  background: var(--ink);
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  border-right: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.site-footer > div {
  display: flex;
  align-items: center;
}

.footer-mark {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  margin-right: 1rem;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2rem;
  font-weight: 900;
}

.site-footer p {
  margin: 0;
  color: var(--paper-deep);
  font-size: 0.82rem;
}

.site-footer strong {
  color: var(--paper-light);
  font-size: 1.05rem;
}

.not-found {
  display: grid;
  min-height: 100vh;
  padding: var(--pad);
  place-items: center;
  background: var(--yellow);
}

.not-found main {
  width: min(100%, 920px);
  padding: clamp(2rem, 7vw, 7rem);
  background: var(--paper-light);
  border: 3px solid var(--ink);
  box-shadow: 18px 18px 0 var(--red);
}

.not-found h1 {
  max-width: 760px;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Noto Sans SC", sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.not-found nav {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.not-found ul {
  display: flex;
  margin: 0;
  padding: 1rem 0 0;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
}

.not-found nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

@media (max-width: 1050px) {
  .masthead {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }

  .brand {
    padding-inline: var(--pad);
  }

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

  .masthead nav a {
    min-height: 86px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  }

  .hero h1 {
    font-size: clamp(3.7rem, 7vw, 6.5rem);
  }

  .hero-home h1 {
    font-size: clamp(5.2rem, 10.7vw, 9rem);
  }

  .sample-row {
    grid-template-columns: 0.35fr 1fr 1.2fr;
  }

  .sample-note {
    grid-column: 2 / -1;
  }

  .reading-entry {
    grid-template-columns: 0.3fr 1fr;
  }

  .entry-accent {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 760px) {
  :root {
    --pad: 1.1rem;
  }

  body {
    font-size: 15px;
  }

  .age-bar {
    justify-content: flex-start;
    text-align: left;
  }

  .age-bar p {
    font-size: 0.67rem;
    letter-spacing: 0.04em;
    line-height: 1.45;
  }

  .brand {
    min-height: 82px;
  }

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

  .masthead li,
  .masthead li:last-child {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .masthead li:nth-child(even) {
    border-right: 0;
  }

  .masthead li:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .masthead nav a {
    min-height: 70px;
    padding: 0.8rem 1rem;
    justify-content: center;
    gap: 0.3rem;
  }

  .breadcrumbs {
    min-height: 46px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 610px;
    padding-block: 3.2rem;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 16vw, 6.5rem);
  }

  .hero-home h1 {
    font-size: clamp(5.4rem, 24vw, 8rem);
  }

  .hero-home h1 .title-number {
    -webkit-text-stroke-width: 1px;
    text-shadow: 5px 5px 0 var(--red);
  }

  .hero-lead {
    margin-top: 2rem;
    font-size: 1.3rem;
  }

  .hero-object {
    min-height: 480px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .banana-disc {
    width: min(75vw, 340px);
  }

  .section-header {
    display: block;
    padding-block: 3.5rem 2rem;
  }

  .section-header h2 {
    font-size: clamp(3.2rem, 16vw, 6rem);
  }

  .section-header > p:last-child {
    margin-top: 1.5rem;
  }

  .sample-row {
    min-height: 0;
    padding-block: 1.6rem;
    grid-template-columns: 0.42fr 1.58fr;
    gap: 1rem;
  }

  .sample-cue,
  .sample-note {
    grid-column: 2;
  }

  .filter-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-buttons {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .filter-buttons button {
    width: 100%;
  }

  .identity-ledger {
    grid-template-columns: 1fr;
  }

  .identity-ledger dl > div {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .reading-entry {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .entry-index {
    font-size: 3.3rem;
  }

  .entry-copy h2 {
    font-size: clamp(2.2rem, 10vw, 3.7rem);
  }

  .entry-accent {
    grid-column: 1;
  }

  .age-notice {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .age-notice div {
    padding: 1.5rem 0 0;
    border-top: 4px solid var(--ink);
    border-left: 0;
  }

  .next-links {
    grid-template-columns: 1fr;
  }

  .next-links a {
    min-height: 130px;
  }

  .next-links a + a {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer {
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .not-found main {
    box-shadow: 9px 9px 0 var(--red);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .age-bar,
  .filter-bar,
  .next-links,
  .site-footer,
  script {
    display: none !important;
  }

  body {
    background: #ffffff;
  }

  .hero-object,
  .identity-ledger {
    color: #000000;
    background: #ffffff;
  }
}
