@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/newsreader-400.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/newsreader-italic-400.woff2") format("woff2");
}
:root {
  --paper: #faf9f6;
  --ink: #1a1815;
  --muted: #6e675b;
  --rule: #ece6da;
  --offset: clamp(56px, 8vw, 240px);
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--ink); }
a:hover { color: var(--muted); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
p { text-wrap: pretty; }
main {
  flex: 1;
  width: 100%;
  padding: 72px 24px 56px;
}
h1 {
  margin: 0;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.tagline {
  margin: 10px 0 0;
  font-style: italic;
  font-size: 17.5px;
  color: var(--muted);
}
.lead { margin: 32px 0 0; }
picture { display: contents; }
.portrait {
  display: block;
  width: 88%;
  height: 270px;
  object-fit: cover;
  object-position: 50% 14%;
  border-radius: 6px;
  margin: 30px 0;
}
.prose p { margin: 0 0 20px; }
.prose p:last-child { margin-bottom: 0; }
.poetry { font-style: italic; }
footer {
  border-top: 1px solid var(--rule);
  padding: 20px 24px 28px;
  font-size: 13px;
  color: var(--muted);
}
/* Tablet: portrait beside the intro, prose returns to full measure */
@media (min-width: 640px) and (max-width: 999.98px) {
  body { font-size: 18px; line-height: 1.68; }
  main { padding: 96px 64px 64px; }
  .layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    column-gap: 44px;
    align-content: start;
  }
  .intro, .lead { grid-column: 1; }
  h1 { font-size: 35px; line-height: 1.16; }
  .tagline { margin-top: 11px; font-size: 19px; }
  .lead { margin-top: 38px; }
  .portrait {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 200px;
    height: 248px;
    margin: 6px 0 0;
    object-position: 50% 12%;
  }
  .prose {
    grid-column: 1 / -1;
    max-width: 640px;
    margin-top: 26px;
  }
  .prose p { margin-bottom: 22px; }
  footer { padding: 24px 64px 32px; font-size: 13.5px; }
}
/* Desktop: left-anchored, capped composition */
@media (min-width: 1000px) {
  body { font-size: 19px; line-height: 1.7; }
  main { padding: 150px 48px 72px var(--offset); }
  .layout {
    display: grid;
    grid-template-columns: minmax(0, 648px) 240px;
    column-gap: 48px;
    align-content: start;
    max-width: 1160px;
  }
  .intro, .lead, .prose { grid-column: 1; }
  h1 { font-size: 40px; line-height: 1.15; }
  .tagline { margin-top: 12px; font-size: 20px; }
  .lead { margin-top: 42px; }
  .portrait {
    grid-column: 2;
    grid-row: 1 / span 3;
    width: 240px;
    height: 296px;
    margin: 6px 0 0;
    object-position: 50% 10%;
  }
  .prose { margin-top: 0; }
  .prose p { margin-bottom: 24px; }
  footer { padding: 28px 48px 36px var(--offset); font-size: 14px; }
}
/* 404 */
.notfound { max-width: 648px; }
.notfound h1 { margin-top: 6px; }
.notfound .home { margin-top: 28px; }
@media print {
  html, body { background: #fff; color: #000; font-size: 12pt; line-height: 1.55; }
  main { padding: 0; }
  .layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1.7in;
    column-gap: 0.4in;
    max-width: 6.9in;
  }
  .intro, .lead, .prose { grid-column: 1; }
  h1 { font-size: 22pt; }
  .tagline { color: #333; font-size: 13pt; margin-top: 6pt; }
  .lead { margin-top: 18pt; }
  .portrait {
    grid-column: 2;
    grid-row: 1 / span 3;
    width: 1.7in;
    height: 2.1in;
    margin: 2pt 0 0;
    border-radius: 4pt;
  }
  p { break-inside: avoid; }
  footer { border-top: 1pt solid #999; color: #333; padding: 10pt 0 0; margin-top: 22pt; font-size: 10pt; }
}
