:root {
  color-scheme: light;
  --paper: #f7f5f0;
  --ink: #1f2328;
  --soft: #59636e;
  --rule: #d5d9dc;
  --accent: #9a3412;
  --plate-bg: #ece7dc;
  --plate-border: #b8b1a2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 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, "SF Mono", Consolas, monospace;
  letter-spacing: .11em;
}
.brand {
  text-decoration: none;
  white-space: nowrap;
}
.brand span, .kicker {
  color: var(--accent);
}
.hero {
  min-height: min(700px, 85svh);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(3rem, 9vw, 7.5rem);
}
h1, h2 {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.05;
}
h1 {
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  margin: .15em 0 .25em;
}
h2 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  margin: .15em 0 .4em;
}
.intro, .footer p {
  color: var(--soft);
}
.intro {
  max-width: 38ch;
  font-size: 1.15rem;
  line-height: 1.6;
}
.jump {
  display: inline-block;
  margin-top: .8rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: .2em;
  transition: transform .18s;
}
.jump:hover {
  transform: translateY(2px);
}
.jump span {
  margin-left: .35rem;
}
.plate {
  min-width: 0;
  aspect-ratio: 1 / 1.04;
  background: var(--plate-bg);
  color: #2b2520;
  border: 1px solid var(--plate-border);
  position: relative;
  display: grid;
  place-items: center;
}
.plate::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid #cfc7b7;
}
.letter {
  font: 400 clamp(7rem, 21vw, 19rem)/.85 Georgia, serif;
  margin-top: -.1em;
  color: var(--accent);
}
.folio, .stamp {
  position: absolute;
}
.folio {
  left: 11%;
  top: 10%;
}
.stamp {
  right: 11%;
  bottom: 10%;
  text-align: right;
  color: var(--soft);
}
.contents {
  border-block: 1px solid var(--rule);
  padding-block: clamp(3rem, 7vw, 6rem);
}
.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: 2.2rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 0;
  font: 1.35rem Georgia, serif;
  text-decoration: none;
}
.contents a span {
  font: .82rem ui-monospace, Consolas, monospace;
  color: var(--accent);
}
.articles article {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--rule);
}
.articles p:not(.kicker) {
  max-width: 68ch;
  font-size: 1.05rem;
}
code {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: .88em;
  background: #ede9e0;
  padding: .15em .35em;
  border-radius: 4px;
}
.footer {
  padding-block: 2.5rem;
}
.footer p {
  max-width: 50ch;
  font-size: .95rem;
}
.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%, 340px); }
  .letter { font-size: clamp(8rem, 40vw, 12rem); }
}
@media (prefers-reduced-motion: no-preference) {
  [data-enter] { animation: enter .45s ease-out both; }
  @keyframes enter { from { opacity: 0; transform: translateY(8px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
