:root {
  color-scheme: light;
  --paper: #f3eee4;
  --ink: #23271d;
  --soft: #4e5747;
  --rule: #a8a99b;
  --accent: #9a3929;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.frame { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.masthead, .footer { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; }
.masthead { padding-block: 1.35rem; border-bottom: 1px solid var(--rule); }
nav { display: flex; flex-wrap: wrap; gap: .45rem 1.5rem; }
.brand, .kicker, .folio, .stamp { font: 700 .78rem/1.55 ui-monospace, Consolas, monospace; letter-spacing: .11em; }
.brand { text-decoration: none; white-space: nowrap; }
.brand span, .kicker { color: var(--accent); }
.hero { min-height: min(720px, 87svh); display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(3rem, 10vw, 8rem); }
h1, h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.045em; line-height: 1.03; }
h1 { font-size: clamp(3.05rem, 7.8vw, 7.5rem); margin: .15em 0 .22em; }
h2 { font-size: clamp(2.1rem, 5vw, 4.5rem); margin: .14em 0 .4em; }
.intro, .footer p { color: var(--soft); }
.intro { max-width: 36ch; font-size: 1.14rem; }
.jump { display: inline-block; margin-top: .6rem; font-weight: 600; transition: transform .18s; }
.jump:hover { transform: translateY(2px); }
.jump span { margin-left: .4rem; }
.plate { min-width: 0; aspect-ratio: 1 / 1.04; background: #d7dfc9; color: #263223; border: 1px solid #7d8a72; position: relative; display: grid; place-items: center; }
.plate::before { content: ""; position: absolute; inset: 7%; border: 1px solid #899681; }
.letter { font: 400 clamp(7rem, 23vw, 21rem)/.85 Georgia, serif; margin-top: -.1em; }
.folio, .stamp { position: absolute; }
.folio { left: 11%; top: 10%; }
.stamp { right: 11%; bottom: 10%; text-align: right; color: #3c4936; }
.contents { border-block: 1px solid var(--rule); padding-block: clamp(3rem, 8vw, 6.5rem); }
.contents ol { padding: 0; margin: 2rem 0 0; list-style: none; }
.contents li { border-top: 1px solid var(--rule); }
.contents li:last-child { border-bottom: 1px solid var(--rule); }
.contents a { display: grid; grid-template-columns: 2rem 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; font: 1.4rem Georgia, serif; text-decoration: none; }
.contents a span { font: .82rem ui-monospace, Consolas, monospace; }
.articles article { padding-block: clamp(2.5rem, 7vw, 5rem); border-bottom: 1px solid var(--rule); }
.articles p:not(.kicker) { max-width: 67ch; }
code { overflow-wrap: anywhere; }
.footer { padding-block: 2rem; }
.footer p { max-width: 48ch; }
.footer > a { white-space: nowrap; }
@media (max-width: 680px) {
  .frame { width: calc(100% - 2rem); }
  .masthead, .footer { flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .plate { width: min(100%, 350px); }
  .letter { font-size: clamp(8rem, 45vw, 13rem); }
}
@media (prefers-reduced-motion: no-preference) {
  [data-enter] { animation: enter .45s ease-out both; }
  @keyframes enter { from { opacity: 0; transform: translateY(7px); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
