:root {
  --paper: #F0E8DA;
  --paper-light: #F8F2E7;
  --paper-deep: #E4D8C4;
  --ink: #171412;
  --forest: #2F4A3A;
  --forest-deep: #22382B;
  --rust: #C84D2C;
  --rust-deep: #9E3A21;
  --brass: #E9C96B;
  --brass-deep: #C7A44F;
  --line: rgba(23, 20, 18, 0.22);
  --line-soft: rgba(23, 20, 18, 0.12);
  --line-light: rgba(240, 232, 218, 0.26);
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(16px, 3.4vw, 28px);
  --shell: 1240px;
  --section-pad: clamp(68px, 8vw, 112px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(23, 20, 18, 0.05) 0.55px, transparent 0.7px),
    radial-gradient(rgba(47, 74, 58, 0.035) 0.55px, transparent 0.7px);
  background-position: 0 0, 3px 4px;
  background-size: 5px 5px, 9px 9px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--rust);
  color: var(--paper-light);
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

a {
  color: inherit;
}

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
}

.reading :focus-visible,
.access :focus-visible,
.download :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--brass);
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  background: var(--brass);
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
  transform: translateY(-160%);
}

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

.shell {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: 92px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 2px solid var(--ink);
  background: rgba(240, 232, 218, 0.97);
  box-shadow: 0 1px 0 rgba(240, 232, 218, 0.8);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-seal {
  display: grid;
  flex: none;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--forest);
  box-shadow: 3px 3px 0 var(--brass);
  color: var(--paper-light);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
}

.brand-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 5px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.brand-divider {
  color: var(--rust);
  font-size: 11px;
}

.brand-sub {
  color: rgba(23, 20, 18, 0.68);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.header-accession {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-left: auto;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  white-space: nowrap;
}

.header-accession span {
  color: rgba(23, 20, 18, 0.55);
}

.header-accession strong {
  color: var(--rust);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.8vw, 27px);
}

.site-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 0;
  border-bottom: 2px solid transparent;
  color: rgba(23, 20, 18, 0.82);
  font-size: 13px;
  letter-spacing: 0.045em;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease;
}

.site-nav a:hover {
  border-bottom-color: var(--rust);
  color: var(--ink);
}

.nav-no {
  color: var(--rust);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0;
}

.menu-toggle {
  display: none;
}

/* Buttons */

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 11px 27px;
  border: 2px solid var(--ink);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button-primary {
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--rust);
  color: var(--paper-light);
}

.button-primary:hover {
  background: var(--forest);
  box-shadow: 3px 3px 0 var(--rust);
  transform: translate(2px, 2px);
}

.button-outline {
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  background: var(--brass);
}

.button-paper {
  border-color: var(--paper-light);
  background: var(--paper-light);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.22);
  color: var(--ink);
}

.button-paper:hover {
  border-color: var(--ink);
  background: var(--brass);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.22);
  transform: translate(2px, 2px);
}

/* Hero */

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(52px, 6.5vw, 92px) 0 clamp(72px, 8vw, 110px);
  border-bottom: 2px solid var(--ink);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(56%, 880px);
  background-image:
    linear-gradient(90deg, rgba(23, 20, 18, 0.07) 1px, transparent 1px),
    repeating-linear-gradient(180deg, transparent 0 87px, rgba(23, 20, 18, 0.07) 87px 88px);
  background-size: 33.333% 100%, 100% 100%;
  content: "";
  mask-image: linear-gradient(90deg, transparent 0, #000 13%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-kicker,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.5;
}

.hero-kicker span {
  width: 9px;
  height: 9px;
  flex: none;
  background: var(--rust);
}

.hero h1 {
  margin-top: 19px;
  font-size: clamp(3.35rem, 7.2vw, 6.6rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.hero h1 .hero-title-product {
  display: block;
  width: fit-content;
  margin-bottom: 13px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--rust);
  color: var(--rust);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.hero h1 .hero-title-main {
  display: block;
}

.hero-lede {
  max-width: 35em;
  margin-top: 27px;
  color: rgba(23, 20, 18, 0.75);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 31px;
}

.hero-ledger {
  display: flex;
  max-width: 560px;
  margin-top: 38px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero-ledger div {
  display: flex;
  min-width: 0;
  flex: 1 1 0;
  flex-direction: column;
  gap: 2px;
  padding: 0 16px;
  border-right: 1px solid var(--line-soft);
}

.hero-ledger div:first-child {
  padding-left: 0;
}

.hero-ledger div:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero-ledger dt {
  color: rgba(23, 20, 18, 0.5);
  font-size: 9.5px;
  letter-spacing: 0.1em;
}

.hero-ledger dd {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.visual-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  color: rgba(23, 20, 18, 0.62);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.borrow-fan {
  position: relative;
  height: clamp(410px, 36vw, 505px);
  margin-top: 19px;
}

.borrow-card {
  position: absolute;
  width: 43.5%;
  padding: 9px 9px 10px;
  border: 1.5px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 6px 8px 0 rgba(23, 20, 18, 0.14);
}

.borrow-card--1 {
  top: 47px;
  left: 0;
  z-index: 1;
  transform: rotate(-4.5deg);
}

.borrow-card--2 {
  top: 0;
  left: 27.5%;
  z-index: 2;
  transform: rotate(1.5deg);
}

.borrow-card--3 {
  top: 65px;
  left: 55%;
  z-index: 3;
  transform: rotate(5.5deg);
}

.borrow-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  padding: 0 1px 7px;
  border-bottom: 1px solid var(--line-soft);
  color: rgba(23, 20, 18, 0.56);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.045em;
  line-height: 1.4;
}

.borrow-head strong {
  color: var(--rust);
  font-weight: 600;
  white-space: nowrap;
}

.borrow-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-top: 7px;
  border: 1px solid var(--ink);
  background: var(--paper-deep);
}

.borrow-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.borrow-stamp {
  position: absolute;
  top: 7px;
  right: 7px;
  padding: 2px 4px;
  border: 1px solid var(--rust);
  background: rgba(248, 242, 231, 0.92);
  color: var(--rust);
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  transform: rotate(5deg);
}

.borrow-body {
  padding: 8px 1px 0;
}

.borrow-type {
  color: var(--forest);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.borrow-title {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.65vw, 21px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.borrow-note {
  margin-top: 3px;
  color: rgba(23, 20, 18, 0.58);
  font-size: 9.5px;
  line-height: 1.5;
}

/* Shared section headings */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(270px, 0.68fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 50px);
}

.section-head h2 {
  margin-top: 13px;
  font-size: clamp(2.8rem, 5.8vw, 5.2rem);
  line-height: 0.98;
}

.section-intro {
  max-width: 34em;
  padding-bottom: 4px;
  color: rgba(23, 20, 18, 0.7);
  font-size: 14px;
  line-height: 1.85;
}

.section-kicker.light {
  color: var(--brass);
}

.section-intro.light {
  color: rgba(240, 232, 218, 0.74);
}

/* Catalogue */

.catalog {
  position: relative;
  padding: var(--section-pad) 0 calc(var(--section-pad) + 18px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(240, 232, 218, 0.35), rgba(228, 216, 196, 0.58));
}

.catalog::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--ink);
  content: "";
}

.catalog-count {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 15px;
  padding: 5px 10px;
  border: 1px solid var(--ink);
  color: rgba(23, 20, 18, 0.64);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.catalog-count strong {
  color: var(--rust);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.catalog-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(100px, 0.76fr) minmax(0, 1.24fr);
  gap: 13px;
  min-height: 250px;
  padding: 11px;
  border: 1px solid var(--ink);
  border-top: 5px solid var(--card-accent, var(--forest));
  background-color: var(--paper-light);
  background-image:
    repeating-linear-gradient(180deg, transparent 0 23px, rgba(23, 20, 18, 0.032) 23px 24px);
  box-shadow: 4px 5px 0 rgba(23, 20, 18, 0.12);
}

.catalog-card:nth-child(2) {
  margin-top: 30px;
}

.catalog-card:nth-child(3) {
  margin-top: 9px;
}

.catalog-card:nth-child(5) {
  margin-top: 21px;
}

.catalog-card:nth-child(6) {
  margin-top: 42px;
}

.tone-forest {
  --card-accent: var(--forest);
}

.tone-rust {
  --card-accent: var(--rust);
}

.tone-brass {
  --card-accent: var(--brass-deep);
}

.catalog-cover {
  position: relative;
  min-height: 224px;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--paper-deep);
}

.catalog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-stamp {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 5px;
  border: 1px solid var(--rust);
  background: rgba(248, 242, 231, 0.92);
  color: var(--rust);
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  transform: rotate(5deg);
}

.catalog-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 2px 0;
}

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
  color: rgba(23, 20, 18, 0.57);
  font-size: 9.5px;
  letter-spacing: 0.045em;
  line-height: 1.5;
}

.catalog-meta span:first-child {
  color: var(--forest);
  font-weight: 600;
}

.catalog-meta span:last-child {
  white-space: nowrap;
}

.catalog-copy h3 {
  margin: 10px 0 5px;
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.14;
}

.catalog-desc {
  color: rgba(23, 20, 18, 0.72);
  font-size: 13.5px;
  line-height: 1.72;
}

.catalog-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px dotted var(--line);
  color: rgba(23, 20, 18, 0.5);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.catalog-foot span:last-child {
  color: var(--rust);
  white-space: nowrap;
}

.catalog-note {
  margin-top: 38px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: rgba(23, 20, 18, 0.57);
  font-size: 10.5px;
  letter-spacing: 0.025em;
  line-height: 1.7;
}

.catalog-note span {
  margin-right: 5px;
  color: var(--rust);
}

/* Reading */

.reading {
  position: relative;
  overflow: clip;
  padding: var(--section-pad) 0 calc(var(--section-pad) + 12px);
  border-bottom: 2px solid var(--ink);
  background-color: var(--forest);
  background-image: radial-gradient(rgba(240, 232, 218, 0.075) 0.55px, transparent 0.7px);
  background-size: 5px 5px;
  color: var(--paper-light);
}

.reading::before {
  position: absolute;
  top: 0;
  right: clamp(18px, 5vw, 76px);
  bottom: 0;
  width: 1px;
  background: rgba(233, 201, 107, 0.25);
  content: "";
  pointer-events: none;
}

.reading h2 {
  color: var(--paper-light);
}

.reading-head {
  position: relative;
  z-index: 1;
}

.reading-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(38px, 6vw, 92px);
  align-items: start;
  margin-top: clamp(34px, 4.5vw, 58px);
}

.reading-notes {
  min-width: 0;
}

.reading-steps li {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line-light);
}

.reading-steps li:first-child {
  padding-top: 0;
  border-top: 0;
}

.step-no {
  color: var(--brass);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.reading-steps h3 {
  color: var(--paper-light);
  font-size: 22px;
  line-height: 1.3;
}

.reading-steps p {
  max-width: 31em;
  margin-top: 7px;
  color: rgba(240, 232, 218, 0.7);
  font-size: 13.5px;
  line-height: 1.82;
}

.reading-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 27px;
  padding: 13px 16px;
  border: 1px solid var(--line-light);
  background: rgba(0, 0, 0, 0.13);
}

.reading-meta span {
  padding-right: 16px;
  border-right: 1px solid var(--line-light);
  color: var(--brass);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.reading-meta p {
  color: rgba(240, 232, 218, 0.65);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.reading-scroll {
  display: grid;
  width: min(100%, 480px);
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  justify-self: end;
}

.scroll-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
}

.scroll-rail::before {
  position: absolute;
  top: 23px;
  bottom: 23px;
  left: 14px;
  border-left: 1px dashed rgba(233, 201, 107, 0.5);
  content: "";
}

.scroll-rail span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 29px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--brass);
  background: var(--forest);
  font-size: 8px;
}

.scroll-sheet {
  padding: 10px 10px 0;
  border: 1px solid var(--ink);
  background-color: var(--paper-light);
  background-image: radial-gradient(rgba(23, 20, 18, 0.045) 0.5px, transparent 0.65px);
  background-size: 5px 5px;
  box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.22);
  color: var(--ink);
}

.scroll-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 1px 1px 9px;
  border-bottom: 1px solid var(--ink);
  color: rgba(23, 20, 18, 0.64);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.scroll-head span:last-child {
  color: var(--rust);
}

.scroll-sheet img {
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--ink);
}

.scroll-sheet figcaption {
  margin-top: 10px;
  padding: 11px 3px 13px;
  border-top: 1px solid var(--line);
  color: rgba(23, 20, 18, 0.68);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.7;
}

/* Free access desk */

.access {
  position: relative;
  overflow: clip;
  padding: var(--section-pad) 0;
  border-bottom: 2px solid var(--ink);
  background-color: var(--rust-deep);
  background-image:
    radial-gradient(rgba(240, 232, 218, 0.08) 0.6px, transparent 0.75px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.07) 1px, transparent 1px);
  background-size: 6px 6px, 33.333% 100%;
  color: var(--paper-light);
}

.access::before {
  position: absolute;
  top: 50%;
  right: clamp(18px, 4vw, 62px);
  color: rgba(240, 232, 218, 0.075);
  content: "开架";
  font-family: var(--serif);
  font-size: clamp(120px, 17vw, 240px);
  font-weight: 600;
  letter-spacing: -0.12em;
  line-height: 0.8;
  pointer-events: none;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

.access-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.access-copy {
  min-width: 0;
}

.access h2 {
  margin-top: 15px;
  color: var(--paper-light);
  font-size: clamp(3.15rem, 6.2vw, 6rem);
  line-height: 0.98;
}

.access-lede {
  max-width: 29em;
  margin-top: 24px;
  color: rgba(240, 232, 218, 0.9);
  font-size: 16px;
  line-height: 1.88;
}

.access-aside {
  margin-top: 18px;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.access-copy .button {
  margin-top: 28px;
}

.access-sheet {
  position: relative;
  padding: clamp(21px, 3vw, 34px);
  border: 2px solid var(--ink);
  background-color: var(--paper-light);
  background-image: repeating-linear-gradient(180deg, transparent 0 27px, rgba(23, 20, 18, 0.04) 27px 28px);
  box-shadow: 13px 15px 0 rgba(0, 0, 0, 0.22);
  color: var(--ink);
}

.sheet-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--ink);
  color: rgba(23, 20, 18, 0.62);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.07em;
  line-height: 1.5;
}

.sheet-head span:first-child {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.sheet-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.sheet-no {
  color: var(--rust);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.15;
}

.sheet-list h3 {
  font-size: 21px;
  line-height: 1.3;
}

.sheet-list p {
  margin-top: 5px;
  color: rgba(23, 20, 18, 0.7);
  font-size: 13px;
  line-height: 1.78;
}

.sheet-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 17px;
  color: rgba(23, 20, 18, 0.5);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.sheet-stamp {
  display: inline-grid;
  min-width: 44px;
  min-height: 33px;
  place-items: center;
  border: 2px solid var(--rust);
  color: var(--rust);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  transform: rotate(-4deg);
}

/* Borrowing steps */

.how {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--line);
}

.how-head {
  margin-bottom: clamp(30px, 4vw, 46px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.steps li {
  min-width: 0;
  padding: 28px clamp(18px, 2.6vw, 32px) 27px;
  border-right: 1px solid var(--line);
}

.steps li:first-child {
  padding-left: 0;
}

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

.step-forest {
  --step-accent: var(--forest);
}

.step-rust {
  --step-accent: var(--rust);
}

.step-brass {
  --step-accent: var(--brass-deep);
}

.step-index {
  display: block;
  color: var(--step-accent);
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 66px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.step-copy h3 {
  margin-top: 19px;
  font-size: clamp(24px, 2.4vw, 29px);
  line-height: 1.25;
}

.step-copy p {
  max-width: 23em;
  margin-top: 9px;
  color: rgba(23, 20, 18, 0.69);
  font-size: 13.5px;
  line-height: 1.82;
}

.step-tag {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--step-accent);
  color: rgba(23, 20, 18, 0.58);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.09em;
  line-height: 1.5;
}

.how-note {
  margin-top: 22px;
  color: rgba(23, 20, 18, 0.57);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.how-note span {
  margin-right: 5px;
  color: var(--forest);
}

/* Download card */

.download {
  position: relative;
  overflow: clip;
  padding: var(--section-pad) 0 calc(var(--section-pad) + 22px);
  background-color: var(--ink);
  background-image:
    radial-gradient(rgba(240, 232, 218, 0.075) 0.5px, transparent 0.65px),
    repeating-linear-gradient(180deg, transparent 0 91px, rgba(240, 232, 218, 0.055) 91px 92px);
  background-size: 5px 5px, 100% 100%;
  color: var(--paper-light);
}

.download h2 {
  color: var(--paper-light);
}

.download-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.52fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: end;
}

.download-head h2 {
  margin-top: 13px;
  font-size: clamp(2.7rem, 5.2vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.download-head > p {
  max-width: 28em;
  padding-bottom: 3px;
  color: rgba(240, 232, 218, 0.65);
  font-size: 13.5px;
  line-height: 1.82;
}

.pass-card {
  margin-top: clamp(33px, 4vw, 48px);
  border: 2px solid var(--paper-light);
  outline: 1px solid rgba(233, 201, 107, 0.4);
  outline-offset: 7px;
  background-color: var(--paper-light);
  background-image: radial-gradient(rgba(23, 20, 18, 0.045) 0.5px, transparent 0.65px);
  background-size: 5px 5px;
  box-shadow: 16px 18px 0 rgba(0, 0, 0, 0.36);
  color: var(--ink);
}

.pass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 22px;
  border-bottom: 2px solid var(--ink);
  background: var(--forest);
  color: var(--paper-light);
}

.pass-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
}

.pass-seal {
  display: grid;
  width: 31px;
  height: 31px;
  flex: none;
  place-items: center;
  border: 1px solid var(--paper-light);
  color: var(--paper-light);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.pass-lockup > span:last-child {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 8px;
  line-height: 1.4;
}

.pass-lockup strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pass-lockup small {
  color: rgba(240, 232, 218, 0.68);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.pass-number {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-align: right;
}

.pass-body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.pass-info {
  min-width: 0;
  padding: clamp(22px, 3vw, 31px);
  border-right: 2px dashed rgba(23, 20, 18, 0.3);
}

.pass-info h3 {
  font-size: clamp(25px, 2.3vw, 31px);
  line-height: 1.2;
}

.pass-fields {
  margin-top: 18px;
}

.pass-fields div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
}

.pass-fields dt {
  color: rgba(23, 20, 18, 0.51);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.pass-fields dd {
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.55;
}

.pass-barcode {
  width: min(100%, 220px);
  height: 37px;
  margin-top: 21px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 14px);
  opacity: 0.82;
}

.pass-domain {
  margin-top: 8px;
  color: rgba(23, 20, 18, 0.47);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.channels {
  display: flex;
  min-width: 0;
  align-self: stretch;
  flex-direction: column;
  padding: 7px clamp(18px, 3vw, 29px) 10px;
}

.pass-body:not(:has(.channel:not([hidden]))) {
  grid-template-columns: minmax(0, 1fr);
}

.pass-body:not(:has(.channel:not([hidden]))) .pass-info {
  border-right: 0;
}

.channels:not(:has(.channel:not([hidden]))) {
  display: none;
}

.channel {
  color: var(--ink);
  text-decoration: none;
}

.channel:not([hidden]) {
  position: relative;
  display: grid;
  flex: 1 1 0;
  grid-template-columns: 31px minmax(0, 1fr) 33px;
  gap: 13px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  transition: background-color 160ms ease;
}

.channel:first-of-type {
  border-top: 0;
}

.channel:last-of-type {
  border-bottom: 1px solid var(--line);
}

.channel:not([hidden]):hover {
  background: rgba(233, 201, 107, 0.28);
}

.channel-no {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid var(--rust);
  color: var(--rust);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1;
  transform: rotate(-3deg);
}

.channel-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.channel-name {
  font-family: var(--serif);
  font-size: clamp(21px, 1.9vw, 25px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.channel-desc {
  color: rgba(23, 20, 18, 0.58);
  font-size: 10.5px;
  line-height: 1.6;
}

.channel-stamp {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1.5px solid var(--forest);
  color: var(--forest);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transform: rotate(4deg);
}

.pass-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 22px;
  border-top: 2px solid var(--ink);
  background: var(--brass);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.pass-sign {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.03em;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(240, 232, 218, 0.24);
  background-color: var(--ink);
  color: var(--paper-light);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px clamp(24px, 4vw, 50px);
  padding: clamp(38px, 5vw, 56px) 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: auto;
}

.footer-seal {
  display: grid;
  width: 46px;
  height: 46px;
  flex: none;
  place-items: center;
  border: 1px solid var(--brass);
  color: var(--brass);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.footer-name {
  color: var(--paper-light);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.footer-sub {
  margin-top: 2px;
  color: rgba(240, 232, 218, 0.49);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 23px;
}

.footer-nav a {
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  color: rgba(240, 232, 218, 0.62);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-decoration: none;
}

.footer-nav a:hover {
  border-bottom-color: var(--brass);
  color: var(--paper-light);
}

.footer-domain {
  color: var(--brass);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.4;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(240, 232, 218, 0.16);
  color: rgba(240, 232, 218, 0.42);
  font-size: 9.5px;
  letter-spacing: 0.025em;
  line-height: 1.7;
}

/* 404 */

.error-main {
  display: flex;
  min-height: calc(100vh - 198px);
  align-items: center;
  padding: clamp(62px, 8vw, 110px) 0;
}

.error-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
}

.error-kicker {
  color: var(--rust);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.error-copy h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 6.6vw, 6.1rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.error-lede {
  max-width: 28em;
  margin-top: 23px;
  color: rgba(23, 20, 18, 0.68);
  font-size: 14.5px;
  line-height: 1.85;
}

.error-copy .button {
  margin-top: 28px;
}

.error-card {
  width: min(100%, 370px);
  justify-self: end;
  padding: 15px;
  border: 1.5px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 9px 11px 0 rgba(23, 20, 18, 0.15);
  transform: rotate(2.5deg);
}

.error-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
  color: rgba(23, 20, 18, 0.57);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.error-card-head span:first-child {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
}

.error-big {
  padding: 14px 0 9px;
  color: var(--rust);
  font-family: var(--serif);
  font-size: clamp(76px, 10vw, 112px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.error-rule {
  height: 8px;
  margin: 6px 0 13px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 5px, var(--ink) 5px 7px, transparent 7px 12px);
  opacity: 0.72;
}

.error-stamp {
  display: inline-grid;
  min-width: 94px;
  min-height: 44px;
  place-items: center;
  border: 2px solid var(--rust);
  color: var(--rust);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  transform: rotate(-5deg);
}

.error-header-link {
  margin-left: auto;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-decoration: none;
}

.site-footer--minimal .footer-top {
  padding: 30px 0;
}

.site-footer--minimal .footer-bottom {
  padding-top: 14px;
}

/* Responsive */

@media (max-width: 980px) {
  .hero-grid,
  .reading-grid,
  .access-grid,
  .error-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 52px;
  }

  .hero::before {
    width: 78%;
    opacity: 0.7;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual {
    width: min(100%, 760px);
    margin: 6px auto 0;
  }

  .borrow-fan {
    height: 585px;
  }

  .borrow-card--1 {
    top: 56px;
  }

  .borrow-card--3 {
    top: 76px;
  }

  .section-head,
  .download-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  .section-intro {
    max-width: 40em;
  }

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

  .catalog-card:nth-child(n) {
    margin-top: 0;
  }

  .catalog-card:nth-child(2n) {
    margin-top: 22px;
  }

  .reading-grid {
    gap: 35px;
  }

  .reading-scroll {
    width: min(100%, 500px);
    justify-self: center;
  }

  .access-grid {
    gap: 35px;
  }

  .access-copy {
    max-width: 620px;
  }

  .access-sheet {
    max-width: 680px;
  }

  .download-head > p {
    max-width: 38em;
  }

  .error-grid {
    gap: 45px;
  }

  .error-card {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .header-bar {
    min-height: 70px;
    gap: 14px;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: 100%;
    right: calc(var(--gutter) * -1);
    left: calc(var(--gutter) * -1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 7px var(--gutter) 17px;
    border-top: 1px solid var(--line);
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: 0 16px 25px rgba(23, 20, 18, 0.13);
  }

  .site-nav.is-open a {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 0;
    font-family: var(--serif);
    font-size: 19px;
  }

  .site-nav.is-open a:first-child {
    border-top: 0;
  }

  .site-nav.is-open .nav-no {
    width: 22px;
    font-family: var(--mono);
    font-size: 9px;
  }

  .menu-toggle {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-bars {
    display: grid;
    width: 16px;
    gap: 4px;
  }

  .menu-bars span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .menu-word {
    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 1;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps li {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 17px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps li:last-child {
    border-bottom: 0;
  }

  .step-index {
    padding-top: 3px;
    font-size: 53px;
  }

  .step-copy h3 {
    margin-top: 0;
  }

  .step-tag {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 13vw, 4.4rem);
  }

  .hero-lede {
    font-size: 15px;
    line-height: 1.85;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    min-height: 49px;
    padding: 10px 21px;
    font-size: 13px;
  }

  .hero-ledger {
    margin-top: 31px;
  }

  .hero-ledger div {
    padding: 0 11px;
  }

  .hero-ledger dd {
    font-size: 12.5px;
  }

  .visual-caption {
    font-size: 8.5px;
  }

  .borrow-fan {
    display: grid;
    height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    align-items: start;
    margin-top: 14px;
  }

  .borrow-card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    padding: 6px;
    box-shadow: 3px 4px 0 rgba(23, 20, 18, 0.13);
    transform: none;
  }

  .borrow-card--1 {
    margin-top: 13px;
  }

  .borrow-card--2 {
    margin-top: 0;
  }

  .borrow-card--3 {
    margin-top: 20px;
  }

  .borrow-head {
    gap: 3px;
    padding-bottom: 5px;
    font-size: 7.5px;
  }

  .borrow-cover {
    margin-top: 5px;
  }

  .borrow-stamp {
    top: 4px;
    right: 4px;
    padding: 1px 3px;
    font-size: 8px;
  }

  .borrow-body {
    padding-top: 6px;
  }

  .borrow-title {
    font-size: clamp(13px, 3.8vw, 17px);
  }

  .borrow-type {
    font-size: 7.5px;
    line-height: 1.45;
  }

  .borrow-note {
    display: none;
  }

  .catalog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .catalog-card:nth-child(n) {
    margin-top: 0;
  }

  .catalog-card:nth-child(2n) {
    margin-top: 0;
  }

  .catalog-cover {
    min-height: 195px;
  }

  .catalog-note {
    margin-top: 26px;
  }

  .reading::before {
    right: 18px;
  }

  .reading-steps li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .step-no {
    font-size: 21px;
  }

  .reading-steps h3 {
    font-size: 20px;
  }

  .reading-scroll {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
  }

  .scroll-rail::before {
    left: 12px;
  }

  .scroll-rail span {
    width: 25px;
    height: 23px;
  }

  .scroll-sheet {
    padding: 8px 8px 0;
    box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.22);
  }

  .access::before {
    right: 9px;
    font-size: 120px;
  }

  .access-sheet {
    padding: 19px 17px;
    box-shadow: 9px 11px 0 rgba(0, 0, 0, 0.2);
  }

  .sheet-list li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 15px 0;
  }

  .sheet-no {
    font-size: 20px;
  }

  .sheet-list h3 {
    font-size: 19px;
  }

  .pass-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 13px 16px;
  }

  .pass-number {
    padding-left: 42px;
    text-align: left;
  }

  .pass-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .pass-info {
    padding: 20px 17px;
    border-right: 0;
    border-bottom: 2px dashed rgba(23, 20, 18, 0.3);
  }

  .pass-fields div {
    grid-template-columns: 77px minmax(0, 1fr);
  }

  .channels {
    padding: 5px 17px 9px;
  }

  .channel:not([hidden]) {
    grid-template-columns: 29px minmax(0, 1fr) 30px;
    gap: 11px;
    padding: 14px 0;
  }

  .channel-name {
    font-size: 21px;
  }

  .pass-footer {
    flex-wrap: wrap;
    gap: 4px 16px;
    padding: 9px 16px;
  }

  .site-footer {
    margin-top: 0;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .footer-brand {
    margin-right: 0;
  }

  .footer-domain {
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .error-main {
    min-height: calc(100vh - 168px);
  }

  .error-card {
    width: min(100%, 330px);
  }
}

@media (max-width: 520px) {
  .header-bar {
    gap: 9px;
  }

  .brand {
    gap: 8px;
  }

  .brand-seal {
    width: 31px;
    height: 31px;
    border-width: 1.5px;
    box-shadow: 2px 2px 0 var(--brass);
    font-size: 18px;
  }

  .brand-copy {
    display: block;
    line-height: 1.12;
  }

  .brand-name {
    display: block;
    font-size: 15px;
    white-space: nowrap;
  }

  .brand-sub {
    display: block;
    margin-top: 2px;
    font-size: 8.5px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .brand-divider {
    display: none;
  }

  .header-accession {
    gap: 4px;
    padding-left: 8px;
  }

  .header-accession span {
    font-size: 8px;
  }

  .header-accession strong {
    font-size: 9px;
  }

  .menu-toggle {
    gap: 5px;
    min-height: 37px;
    padding: 7px 7px;
  }

  .menu-word {
    font-size: 10px;
  }

  .hero {
    padding-top: 37px;
    padding-bottom: 63px;
  }

  .hero-kicker {
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }

  .hero h1 {
    margin-top: 15px;
    font-size: clamp(3rem, 14.5vw, 4rem);
  }

  .hero-lede {
    margin-top: 21px;
    font-size: 14px;
  }

  .hero-actions {
    margin-top: 25px;
  }

  .button {
    min-height: 47px;
    padding: 9px 16px;
    font-size: 12.5px;
  }

  .hero-ledger {
    padding-top: 13px;
  }

  .hero-ledger div {
    padding: 0 8px;
  }

  .hero-ledger dt {
    font-size: 8px;
  }

  .hero-ledger dd {
    font-size: 11px;
  }

  .hero-visual {
    margin-top: 2px;
  }

  .borrow-fan {
    gap: 7px;
  }

  .borrow-card {
    padding: 5px;
  }

  .borrow-head {
    font-size: 8.5px;
    letter-spacing: 0;
  }

  .borrow-head span:first-child {
    display: none;
  }

  .borrow-type {
    overflow: hidden;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section-head h2 {
    margin-top: 10px;
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  .section-kicker {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .section-intro {
    font-size: 13px;
  }

  .catalog {
    padding-top: 57px;
  }

  .catalog-card {
    grid-template-columns: minmax(89px, 0.72fr) minmax(0, 1.28fr);
    gap: 10px;
    min-height: 0;
    padding: 9px;
  }

  .catalog-cover {
    min-height: 190px;
  }

  .catalog-copy h3 {
    margin-top: 8px;
    font-size: 21px;
  }

  .catalog-desc {
    font-size: 12.5px;
    line-height: 1.68;
  }

  .catalog-meta {
    gap: 2px 6px;
    font-size: 8px;
  }

  .catalog-meta span:last-child {
    white-space: normal;
  }

  .catalog-foot {
    gap: 4px;
    font-size: 7.5px;
  }

  .reading {
    padding-top: 57px;
  }

  .reading-meta {
    gap: 11px;
    padding: 11px 12px;
  }

  .reading-meta span {
    padding-right: 11px;
    font-size: 28px;
  }

  .reading-meta p {
    font-size: 9px;
  }

  .scroll-head {
    font-size: 7.5px;
  }

  .scroll-sheet figcaption {
    font-size: 11.5px;
  }

  .access {
    padding-top: 57px;
  }

  .access-lede {
    margin-top: 19px;
    font-size: 14.5px;
  }

  .access-aside {
    font-size: 18px;
  }

  .sheet-head {
    font-size: 8px;
  }

  .sheet-head span:first-child {
    font-size: 13px;
  }

  .sheet-list p {
    font-size: 12.5px;
  }

  .sheet-foot {
    flex-wrap: wrap;
    gap: 8px;
  }

  .step-index {
    font-size: 46px;
  }

  .steps li {
    grid-template-columns: 61px minmax(0, 1fr);
    gap: 13px;
    padding: 21px 0;
  }

  .step-copy h3 {
    font-size: 24px;
  }

  .step-copy p {
    font-size: 12.5px;
  }

  .download {
    padding-top: 57px;
  }

  .download-head h2 {
    font-size: clamp(2.35rem, 11vw, 3.15rem);
  }

  .download-head > p {
    font-size: 12.5px;
  }

  .pass-card {
    margin-top: 30px;
    box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.34);
    outline-offset: 5px;
  }

  .pass-lockup {
    gap: 9px;
  }

  .pass-seal {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .pass-lockup strong {
    font-size: 14px;
  }

  .pass-number {
    padding-left: 37px;
    font-size: 8px;
  }

  .pass-info {
    padding: 18px 15px;
  }

  .pass-info h3 {
    font-size: 24px;
  }

  .pass-fields div {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px;
  }

  .pass-fields dd {
    font-size: 12.5px;
  }

  .channels {
    padding: 4px 15px 7px;
  }

  .channel:not([hidden]) {
    grid-template-columns: 27px minmax(0, 1fr) 28px;
    gap: 9px;
    padding: 13px 0;
  }

  .channel-no {
    width: 26px;
    height: 26px;
    font-size: 8px;
  }

  .channel-name {
    font-size: 20px;
  }

  .channel-desc {
    font-size: 9.5px;
  }

  .channel-stamp {
    width: 27px;
    height: 27px;
    font-size: 12px;
  }

  .pass-footer {
    font-size: 8px;
  }

  .pass-sign {
    font-size: 10px;
  }

  .footer-top {
    padding: 31px 0;
  }

  .footer-name {
    font-size: 22px;
  }

  .footer-nav {
    gap: 10px 18px;
  }

  .footer-domain {
    font-size: 15px;
  }

  .error-main {
    padding: 50px 0 65px;
  }

  .error-copy h1 {
    font-size: clamp(2.3rem, 11.3vw, 3.2rem);
  }

  .error-lede {
    font-size: 13px;
  }

  .error-card {
    transform: rotate(1.5deg);
  }
}

@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;
  }
}