:root {
  color-scheme: light;
  --paper: #f7f2e9;
  --ink: #27291f;
  --muted: #524e43;
  --line: #d7cbb9;
  --accent: #9b3f27;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 system-ui, sans-serif;
}
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip { position: absolute; left: -100vw; }
.skip:focus { left: 1rem; top: 1rem; padding: .5rem; background: white; z-index: 1; }
.bar, main, footer { width: min(68rem, calc(100% - 2.5rem)); margin-inline: auto; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 5rem; border-bottom: 1px solid var(--line); }
.brand { font: bold 1.6rem var(--serif); text-decoration: none; }
.brand span, h1 span, footer span { color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 2.5rem; padding-block: clamp(3rem, 8vw, 7rem); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.05; margin: 0; font-weight: 500; }
h1 { font-size: clamp(2.85rem, 8.2vw, 7rem); letter-spacing: -.06em; overflow-wrap: anywhere; }
.hero p { max-width: 31ch; font-size: clamp(1.05rem, 2.3vw, 1.35rem); color: var(--muted); margin: 1.35rem 0 1.8rem; }
.button { display: inline-flex; align-items: center; gap: .9rem; padding: .65rem 1rem; border: 1px solid var(--ink); text-decoration: none; }
.button:hover { background: var(--ink); color: var(--paper); }
.paper { min-height: 16rem; aspect-ratio: 1.45; display: grid; place-items: center; background: #e5cfb1; overflow: hidden; }
.sheet { width: 46%; padding: 12% 9%; background: #fff7e6; box-shadow: .75rem .75rem 0 #b08a6a; transform: rotate(-12deg); }
.sheet i { display: block; height: 1px; margin: .65rem 0; background: #a46a53; }
.sheet i:nth-child(3), .sheet i:last-child { width: 70%; }
.entries { border-top: 1px solid var(--line); padding: 2rem 0 4rem; }
h2 { font-size: 2.25rem; margin-bottom: 1.4rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.4rem; border: 1px solid var(--line); background: #fcf8ef; }
.tag { color: var(--accent); font-size: .8rem; font-weight: 650; margin: 0 0 .9rem; }
h3 { font-size: 1.65rem; }
h3 a { text-decoration: none; }
.card > p:not(.tag) { color: var(--muted); }
.read { color: var(--accent); font-weight: 650; }
.card .read { margin-top: auto; }
.post { max-width: 43rem; margin-inline: auto; padding-block: 3rem 5rem; }
.post .tag { margin-top: 2.75rem; }
.post h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
.intro { color: var(--muted); font-size: 1.3rem; }
.prose { border-top: 1px solid var(--line); font: 1.18rem/1.75 var(--serif); }
footer { border-top: 1px solid var(--line); padding-block: 1rem 2.25rem; font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) {
  .hero, .cards { grid-template-columns: 1fr; }
  .paper { min-height: 0; max-height: 19rem; }
}
