@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  --paper:  #f4ede0;
  --paper2: #ede4d0;
  --ink:    #2a1f0e;
  --ink2:   #5a4a32;
  --ink3:   #8a7a62;
  --rust:   #9b3a1a;
  --amber:  #c47c20;
  --rule:   #c8b898;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--paper2); }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 16px;
  line-height: 1.9;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 31px,
      rgba(180,160,120,0.07) 31px,
      rgba(180,160,120,0.07) 32px
    );
}

/* ── PAGE FRAME ── */
.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 48px 80px;
  position: relative;
  border-left: 3px solid rgba(180,100,40,0.18);
  min-height: 100vh;
}

/* paper foxing */
.page::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 180px 120px at 92% 8%,  rgba(180,140,80,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 120px 80px  at 5%  94%, rgba(160,120,60,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60px  40px  at 78% 61%, rgba(140,100,50,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.page > * { position: relative; z-index: 1; }

/* ── HEADER ── */
header { margin-bottom: 48px; }

.dateline {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dateline::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 14px;
}

/* ── SECTION HEADINGS ── */
h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  color: var(--rust);
  margin: 40px 0 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
  letter-spacing: 0.2px;
}
h2:first-of-type { margin-top: 0; }

/* ── LINK CATEGORY ── */
.link-category { margin-bottom: 8px; }

.link-row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 0 16px;
  padding: 7px 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 15px;
  align-items: baseline;
}
.link-row:last-child { border-bottom: none; }

.link-row a {
  font-family: 'Courier Prime', monospace;
  font-weight: 700;
  font-size: 15px;
  color: var(--rust);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.link-row a::before { content: '→ '; opacity: 0.5; font-weight: 400; }
.link-row a:hover { color: var(--amber); }
.link-row a:hover::before { opacity: 1; }

.link-desc {
  color: var(--ink3);
  font-style: italic;
  font-size: 14px;
  line-height: 1.9;
}

/* ── BANNER LINKS ── */
h2.banner-head { margin-top: 40px; }

.banner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 8px;
}

.banner-links a {
  display: block;
  line-height: 0;
  opacity: 0.8;
  filter: sepia(20%);
  transition: opacity 0.2s, transform 0.2s, filter 0.2s;
}
.banner-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: sepia(0%);
}

/* ── WEB RING ── */
.ring-box {
  margin: 32px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--amber);
  background: rgba(196,124,32,0.04);
  font-size: 13px;
  color: var(--ink2);
  text-align: center;
  position: relative;
}
.ring-box::before {
  content: 'Web Ring';
  position: absolute;
  top: -9px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-style: italic;
  color: var(--amber);
  background: var(--paper);
  padding: 0 10px;
  letter-spacing: 1px;
}
.ring-box a {
  color: var(--rust);
  text-decoration: none;
  font-weight: 700;
}
.ring-box a:hover { color: var(--amber); }

/* ── FOOTER ── */
.colophon {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  color: var(--ink3);
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── FADE IN ── */
@keyframes arrive {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
header  { animation: arrive 0.5s ease both; }
section { animation: arrive 0.5s ease both 0.1s; }
footer  { animation: arrive 0.5s ease both 0.2s; }

::selection { background: rgba(155,58,26,0.15); color: var(--rust); }

@media print {
  body { background: white; }
  .page { border: none; }
  .page::before { display: none; }
}

/* ── CODE ── */
code {
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--rust);
  background: rgba(155,58,26,0.07);
  padding: 1px 5px;
  border-radius: 2px;
}

pre {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--paper2);
  border-left: 3px solid var(--rule);
  overflow-x: auto;
  line-height: 1.65;
}

pre code {
  background: none;
  padding: 0;
  color: var(--ink2);
  font-size: 14px;
  border-radius: 0;
}
The pre code rule