:root {
  --ink: #253235;
  --ink-soft: #536063;
  --cream: #f4ecd9;
  --paper: #fffaf0;
  --paper-deep: #e8dbc1;
  --teal: #176b6d;
  --teal-dark: #0c4548;
  --teal-pale: #cddfda;
  --coral: #d95f48;
  --coral-dark: #a63f31;
  --mustard: #e2a82d;
  --olive: #66724b;
  --rule: #c7b795;
  --shadow: rgba(42, 45, 36, 0.18);
  --serif: Baskerville, "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Trebuchet MS", Verdana, Arial, sans-serif;
  --mono: "Courier New", Courier, monospace;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(53, 61, 48, 0.07) 1px, transparent 1.2px) 0 0 / 17px 17px,
    var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--teal-dark);
  text-decoration-color: var(--coral);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.17em;
}

a:hover,
a:focus-visible {
  color: var(--coral-dark);
  text-decoration-thickness: 0.16em;
}

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

.skip-link {
  position: absolute;
  z-index: 50;
  top: -6rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--teal-dark);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  border-bottom: 5px solid var(--teal-dark);
  background: var(--paper);
}

.status-strip {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: stretch;
  color: #fff;
  background: var(--coral-dark);
  border-bottom: 2px solid #702a23;
  font-size: 0.9rem;
  line-height: 1.35;
}

.status-strip strong {
  display: flex;
  align-items: center;
  padding: 0.55rem max(1rem, calc((100vw - 1180px) / 2));
  padding-right: 1rem;
  color: var(--ink);
  background: var(--mustard);
  font-family: var(--mono);
  font-size: 0.77rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.status-strip span {
  max-width: 78rem;
  padding: 0.55rem 1rem;
  font-weight: 700;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: 1.35rem 0 1.1rem;
}

.brand {
  display: inline-grid;
  grid-template-columns: 2.75rem minmax(0, auto);
  gap: 0.8rem;
  align-items: center;
  color: var(--teal-dark);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 2.75rem;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle, var(--paper) 0 15%, transparent 16%),
    repeating-conic-gradient(var(--coral) 0 12.5%, var(--mustard) 0 25%, var(--teal) 0 37.5%, var(--paper) 0 50%);
  border: 3px solid var(--teal-dark);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--mustard);
}

.brand-mark::after {
  content: "";
  width: 0.62rem;
  aspect-ratio: 1;
  background: var(--teal-dark);
  border: 2px solid var(--paper);
  border-radius: 50%;
}

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

.brand-copy b {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand-copy small {
  margin-top: 0.42rem;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-seal {
  max-width: 13rem;
  padding: 0.55rem 0.75rem;
  color: var(--teal-dark);
  background: #f3e5c1;
  border: 1px solid var(--rule);
  box-shadow: 3px 3px 0 var(--coral);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(1deg);
}

.primary-nav {
  color: #fff;
  background: var(--teal-dark);
  border-top: 1px solid #133b3d;
}

.nav-inner {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
}

.menu-button {
  display: none;
  width: 100%;
  padding: 0.75rem;
  color: #fff;
  background: transparent;
  border: 0;
  font: 700 0.82rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 0.75rem 0.9rem;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-list li:last-child a {
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] {
  color: var(--ink);
  background: var(--mustard);
}

.site-shell {
  display: grid;
  grid-template-columns: 15.5rem minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.7rem);
  align-items: start;
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0 4.5rem;
}

.cabinet-index {
  position: sticky;
  top: 1rem;
  overflow: hidden;
  color: var(--ink);
  background: #ead8b7;
  border: 1px solid #ae9a76;
  box-shadow: 7px 7px 0 rgba(23, 107, 109, 0.24);
}

.cabinet-index::before {
  content: "REFERENCE DRAWER 01";
  display: block;
  padding: 0.6rem 0.8rem;
  color: var(--paper);
  background: var(--teal-dark);
  border-bottom: 4px double var(--mustard);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.cabinet-copy {
  margin: 0;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px dashed #a58f67;
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.42;
}

.cabinet-list {
  margin: 0;
  padding: 0;
  counter-reset: samples;
  list-style: none;
}

.cabinet-list li {
  position: relative;
  counter-increment: samples;
  border-bottom: 1px solid rgba(104, 84, 48, 0.22);
}

.cabinet-list li::before {
  content: counter(samples, decimal-leading-zero);
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  color: var(--coral-dark);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
}

.cabinet-list a {
  display: block;
  padding: 0.55rem 0.7rem 0.55rem 2.35rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.cabinet-list a:hover,
.cabinet-list a:focus-visible,
.cabinet-list a[aria-current="page"] {
  color: #fff;
  background: var(--coral-dark);
}

.cabinet-list a[aria-current="page"]::after {
  content: " open";
  font: 0.62rem/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cabinet-key {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  padding: 0.9rem;
}

.cabinet-key span {
  display: block;
  aspect-ratio: 1;
  border: 2px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(37, 50, 53, 0.2);
}

.cabinet-key span:nth-child(1) { background: var(--coral); }
.cabinet-key span:nth-child(2) { background: var(--mustard); }
.cabinet-key span:nth-child(3) { background: var(--teal); }
.cabinet-key span:nth-child(4) { background: var(--olive); }

.editorial-page {
  min-width: 0;
  padding: clamp(1.4rem, 4vw, 3rem) clamp(1.15rem, 5vw, 4.7rem) 3.5rem;
  background:
    linear-gradient(90deg, transparent 0 2.5rem, rgba(217, 95, 72, 0.12) 2.5rem 2.57rem, transparent 2.57rem),
    repeating-linear-gradient(0deg, transparent 0 1.7rem, rgba(23, 107, 109, 0.035) 1.7rem 1.75rem),
    var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 10px 12px 0 var(--shadow);
}

.folio {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0 0 1.25rem;
  color: var(--coral-dark);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.folio::before {
  content: "";
  width: 2.2rem;
  height: 0.7rem;
  background: repeating-linear-gradient(90deg, var(--coral) 0 4px, transparent 4px 8px);
}

.editorial-page h1 {
  max-width: 19ch;
  margin: 0 0 1rem;
  color: var(--teal-dark);
  font-family: var(--serif);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.editorial-page h2 {
  position: relative;
  margin: 3.25rem 0 1rem;
  padding: 0.5rem 0 0.35rem 1rem;
  color: var(--teal-dark);
  border-top: 4px double var(--teal);
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.editorial-page h2::before {
  content: "";
  position: absolute;
  top: 0.48rem;
  left: 0;
  width: 0.35rem;
  height: 1.35rem;
  background: var(--mustard);
}

.editorial-page h3 {
  margin: 2.1rem 0 0.65rem;
  font-family: var(--serif);
  font-size: 1.28rem;
}

.editorial-page p,
.editorial-page ul,
.editorial-page ol {
  max-width: 72ch;
}

.editorial-page p {
  margin: 0 0 1.15rem;
}

.editorial-page ul,
.editorial-page ol {
  padding-left: 1.3rem;
}

.editorial-page li {
  margin-bottom: 0.65rem;
}

.editorial-page strong {
  color: var(--teal-dark);
}

.independence-notice {
  position: relative;
  max-width: 72ch;
  margin: 1.6rem 0 2rem;
  padding: 1rem 1.1rem 1rem 3.7rem;
  color: #4d251f;
  background: #f9d9c9;
  border: 2px solid var(--coral-dark);
  box-shadow: 5px 5px 0 rgba(166, 63, 49, 0.16);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.5;
}

.independence-notice::before {
  content: "i";
  position: absolute;
  top: 50%;
  left: 1rem;
  display: grid;
  width: 1.8rem;
  aspect-ratio: 1;
  place-items: center;
  color: #fff;
  background: var(--coral-dark);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  transform: translateY(-50%);
}

.sample-figure {
  position: relative;
  max-width: 54rem;
  margin: 2.25rem -1.25rem 2.7rem;
  padding: 0.72rem;
  background: #efe1c6;
  border: 1px solid #ad9874;
  box-shadow: 9px 9px 0 rgba(23, 107, 109, 0.18);
  transform: rotate(-0.35deg);
}

.sample-figure::before,
.sample-figure::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -0.55rem;
  width: 4.2rem;
  height: 1.25rem;
  background: rgba(226, 168, 45, 0.76);
  border: 1px solid rgba(104, 84, 48, 0.2);
}

.sample-figure::before {
  left: 1.5rem;
  transform: rotate(-4deg);
}

.sample-figure::after {
  right: 1.5rem;
  transform: rotate(5deg);
}

.sample-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(37, 50, 53, 0.35);
}

.sample-figure figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: baseline;
  padding: 0.65rem 0.3rem 0.1rem;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.35;
}

.sample-figure figcaption::before {
  content: "SPECIMEN";
  color: var(--coral-dark);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.article-endmark {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 3rem;
  color: var(--ink-soft);
  font: 700 0.67rem/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-endmark::before,
.article-endmark::after {
  content: "";
  width: 1.1rem;
  aspect-ratio: 1;
  background: conic-gradient(var(--coral) 0 25%, var(--mustard) 0 50%, var(--teal) 0 75%, var(--olive) 0);
  border-radius: 50%;
}

.site-footer {
  color: #e8eadf;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) 0 0 / 24px 24px,
    var(--teal-dark);
  border-top: 8px solid var(--mustard);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: 2.5rem 0 2.8rem;
}

.footer-inner h2 {
  margin: 0 0 0.6rem;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.footer-inner p {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-inner ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-inner li {
  margin: 0 0 0.35rem;
}

.footer-inner a {
  color: #fff3c4;
  font-size: 0.85rem;
}

.footer-notice {
  padding: 1rem;
  color: #2f2117;
  background: var(--mustard);
  border: 1px solid #f8d570;
  box-shadow: 4px 4px 0 var(--coral);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.copyright {
  grid-column: 1 / -1;
  margin-top: 0.6rem !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--mono);
  font-size: 0.72rem !important;
  letter-spacing: 0.03em;
}

.error-page {
  min-height: 48vh;
}

.error-code {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.3rem 0.55rem;
  color: #fff;
  background: var(--coral-dark);
  font: 700 0.78rem/1 var(--mono);
  letter-spacing: 0.1em;
}

.return-link {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.65rem 0.85rem;
  color: #fff;
  background: var(--teal-dark);
  border: 2px solid var(--teal-dark);
  box-shadow: 4px 4px 0 var(--mustard);
  font-weight: 700;
  text-decoration: none;
}

.return-link:hover,
.return-link:focus-visible {
  color: var(--ink);
  background: var(--mustard);
}

@media (max-width: 900px) {
  .site-shell {
    grid-template-columns: 1fr;
  }

  .cabinet-index {
    position: static;
  }

  .cabinet-copy,
  .cabinet-key {
    display: none;
  }

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

  .cabinet-list li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner > :first-child,
  .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 0.97rem;
  }

  .status-strip {
    grid-template-columns: 1fr;
  }

  .status-strip strong,
  .status-strip span {
    padding-left: 1rem;
  }

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

  .archive-seal {
    max-width: none;
    transform: none;
  }

  .menu-button {
    display: block;
  }

  .nav-enhanced .nav-list {
    display: none;
  }

  .nav-enhanced .nav-list.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .nav-list a,
  .nav-list li:last-child a {
    border-right: 1px solid rgba(255, 255, 255, 0.17);
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  }

  .site-shell {
    width: min(100% - 1rem, 1180px);
    padding-top: 1rem;
  }

  .editorial-page {
    padding: 1.25rem 1rem 2.4rem;
    background:
      repeating-linear-gradient(0deg, transparent 0 1.7rem, rgba(23, 107, 109, 0.035) 1.7rem 1.75rem),
      var(--paper);
    box-shadow: 5px 7px 0 var(--shadow);
  }

  .editorial-page h1 {
    font-size: clamp(2.1rem, 12vw, 3.25rem);
  }

  .sample-figure {
    margin-right: 0;
    margin-left: 0;
    transform: none;
  }

  .independence-notice {
    padding-left: 1rem;
  }

  .independence-notice::before {
    display: none;
  }

  .cabinet-list {
    grid-template-columns: 1fr;
  }

  .cabinet-list li:nth-last-child(2) {
    border-bottom: 1px solid rgba(104, 84, 48, 0.22);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner > *,
  .footer-inner > :first-child,
  .copyright {
    grid-column: 1;
  }
}

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

@media print {
  .primary-nav,
  .cabinet-index,
  .menu-button,
  .archive-seal {
    display: none;
  }

  body {
    background: #fff;
  }

  .site-shell {
    display: block;
    width: 100%;
  }

  .editorial-page {
    border: 0;
    box-shadow: none;
  }
}

/* Archive-fidelity revision: modernized from the recovered hosted-store CSS. */
:root {
  --ink: #666633;
  --ink-soft: #73734a;
  --cream: #ffffcc;
  --paper: #ffffe3;
  --paper-deep: #f3f0ae;
  --teal: #669966;
  --teal-dark: #566f45;
  --teal-pale: #e4e8b4;
  --coral: #ff6600;
  --coral-dark: #cc5100;
  --mustard: #f4b532;
  --olive: #666633;
  --rule: #d9d9a6;
  --shadow: rgba(102, 102, 51, 0.16);
  --serif: Helvetica, Arial, sans-serif;
  --sans: Helvetica, Arial, sans-serif;
  --mono: Helvetica, Arial, sans-serif;
}

body {
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 204, 0.94), rgba(255, 255, 204, 0.94)),
    repeating-linear-gradient(90deg, #ffffcc 0 18px, #f7f2ad 18px 19px);
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.62;
}

a,
.editorial-page a {
  color: #e85d00;
  text-decoration-color: #e85d00;
}

a:visited {
  color: #669966;
}

a:hover,
a:focus-visible,
.editorial-page a:hover,
.editorial-page a:focus-visible {
  color: #b34700;
}

.site-header {
  color: var(--ink);
  background: #ffffcc;
  border-bottom: 1px solid #d9d9a6;
}

.status-strip {
  color: #fff;
  background: #666633;
  border-bottom: 0;
}

.status-strip strong {
  color: #ffffcc;
  background: #ff6600;
}

.masthead {
  width: min(100% - 2rem, 980px);
  padding: 1rem 0 0.8rem;
}

.brand,
.brand-copy b {
  color: #666633;
}

.brand-mark {
  background:
    radial-gradient(circle, #ffffcc 0 15%, transparent 16%),
    repeating-conic-gradient(#ff6600 0 12.5%, #669966 0 25%, #f1b928 0 37.5%, #ffffcc 0 50%);
  border-color: #666633;
  border-radius: 0;
  box-shadow: 4px 4px 0 #ff6600;
}

.brand-mark::after {
  background: #666633;
  border-color: #ffffcc;
}

.brand-copy small,
.archive-seal {
  color: #666633;
}

.archive-seal {
  background: #ffffcc;
  border-color: #d9d9a6;
  box-shadow: 3px 3px 0 #669966;
}

.primary-nav {
  color: #ffffcc;
  background: #ff6600;
  border-top: 1px solid #db5800;
}

.nav-inner {
  width: min(100% - 2rem, 980px);
}

.nav-list a {
  color: #ffffcc;
  border-color: rgba(255, 255, 204, 0.35);
  font-family: Helvetica, Arial, sans-serif;
  text-transform: lowercase;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] {
  color: #ff6600;
  background: #ffffcc;
}

.site-shell {
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1.75rem;
  width: min(100% - 2rem, 980px);
  padding-top: 1.5rem;
}

.cabinet-index {
  color: #666633;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.cabinet-index::before {
  content: "catalog departments";
  padding: 0.55rem 0;
  color: #ff6600;
  background: transparent;
  border-top: 1px solid #d9d9a6;
  border-bottom: 1px solid #d9d9a6;
  font-size: 0.77rem;
  letter-spacing: 0;
  text-transform: lowercase;
}

.cabinet-copy {
  padding: 0.75rem 0;
  border-bottom-color: #d9d9a6;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
}

.cabinet-list li {
  border-bottom: 0;
}

.cabinet-list li::before,
.cabinet-key {
  display: none;
}

.cabinet-list a {
  padding: 0.42rem 0;
  color: #ff6600;
  font-size: 0.83rem;
  line-height: 1.25;
  text-transform: lowercase;
}

.cabinet-list a:hover,
.cabinet-list a:focus-visible,
.cabinet-list a[aria-current="page"] {
  color: #ffffcc;
  background: #ff6600;
  padding-left: 0.35rem;
}

.editorial-page {
  padding: clamp(1.2rem, 3vw, 2.2rem);
  background: #ffffe3;
  border: 1px solid #d9d9a6;
  border-top: 4px solid #ff6600;
  box-shadow: none;
}

.editorial-page::before {
  display: none;
}

.editorial-page h1,
.editorial-page h2,
.editorial-page h3 {
  color: #ff6600;
  font-family: Helvetica, Arial, sans-serif;
}

.editorial-page h1 {
  margin-top: 0.25rem;
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.editorial-page h2 {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #d9d9a6;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

.folio,
.article-endmark {
  color: #669966;
  font-family: Helvetica, Arial, sans-serif;
  letter-spacing: 0.03em;
}

.independence-notice {
  color: #4c4c25;
  background: #f3f0ae;
  border: 1px solid #d9d9a6;
  border-left: 6px solid #ff6600;
  box-shadow: none;
}

.independence-notice::before {
  display: none;
}

.sample-figure {
  background: #ffffcc;
  border-color: #d9d9a6;
  box-shadow: 5px 5px 0 rgba(102, 153, 102, 0.35);
  transform: none;
}

.sample-figure::before,
.sample-figure::after {
  display: none;
}

.archive-catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.25rem 0 1.8rem;
  padding: 0;
  list-style: none;
}

.archive-catalog li {
  min-height: 4.2rem;
  padding: 0.65rem;
  background: #ffffcc;
  border: 1px solid #d9d9a6;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

.archive-catalog small {
  display: block;
  margin-top: 0.2rem;
  color: #777744;
  font-weight: 400;
}

.record-card,
.source-note {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  background: #ffffcc;
  border: 1px solid #d9d9a6;
}

.record-card dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.3rem 0.8rem;
  margin: 0;
}

.record-card dt {
  color: #ff6600;
  font-weight: 700;
}

.record-card dd {
  margin: 0;
}

.site-footer {
  color: #ffffcc;
  background: #666633;
  border-top: 6px solid #ff6600;
}

.footer-inner {
  width: min(100% - 2rem, 980px);
}

.site-footer a {
  color: #ffffcc;
  text-decoration-color: #f4b532;
}

.footer-notice {
  background: #56562a;
  border-color: #8c8c55;
}

@media (max-width: 900px) {
  .site-shell {
    grid-template-columns: 1fr;
  }

  .cabinet-index {
    position: static;
    border-bottom: 1px solid #d9d9a6;
  }

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

  .cabinet-list a {
    padding: 0.45rem;
  }
}

@media (max-width: 700px) {
  .menu-button {
    color: #ffffcc;
  }

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

  .record-card dl {
    grid-template-columns: 1fr;
  }
}
