@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url(fonts/cormorant-garamond-latin-600-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(fonts/source-serif-4-latin-opsz-italic.woff2) format("woff2"); }

:root {
  --bg: #fcfbf8;
  --ink: #1b1d22;
  --soft: #4a4f5a;
  --muted: #7c818c;
  --rule: #ddd9cf;
  --accent: #6b1d2a;
  --band: #6b1d2a;
  --panel: #f5f2ea;
  --display: "Cormorant Garamond", "Garamond", "Iowan Old Style", Georgia, serif;
  --text: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15161a;
    --ink: #ecebe6;
    --soft: #c3c4c8;
    --muted: #8f939c;
    --rule: #2e3036;
    --accent: #d9a3ab;
    --band: #7a2433;
    --panel: #1d1f24;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  border-top: 4px solid var(--band);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 19px;
  line-height: 1.7;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(107, 29, 42, 0.16); }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.sep { margin: 0 0.55em; color: var(--rule); }

/* Masthead */
.site-head { text-align: center; padding: 60px 0 0; }
.site-head .wrap { border-bottom: 1px solid var(--rule); padding-bottom: 24px; }
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 8.7vw, 3.6rem);
  letter-spacing: 0.005em;
  line-height: 1.02;
  color: var(--ink);
}
.brand { display: inline-block; }
.brand-h { margin: 0; font: inherit; }
.brand-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  font-style: italic;
  font-size: 0.42em;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-top: 12px;
}
.brand-sub::before, .brand-sub::after { content: ""; width: 2em; height: 1px; background: currentColor; opacity: 0.55; }
.brand-gap { height: 30px; }
.brand-tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--soft);
  margin: 8px 0 24px;
}
nav { display: flex; justify-content: center; gap: 34px; }
nav a {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
nav a:hover { color: var(--accent); }

main.wrap { padding-top: 48px; padding-bottom: 72px; min-height: 60vh; }

/* Home */
.intro {
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--soft);
  margin: -12px auto 14px;
  max-width: 560px;
}
.intro p { margin: 0; }
.intro em { font-style: normal; white-space: nowrap; }

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.kicker.center { text-align: center; }
.latest { color: var(--accent); margin-right: 1.2em; }

.card { padding: 34px 0; border-bottom: 1px solid var(--rule); }
.card:last-of-type { border-bottom: 0; }
main > .card:first-child { padding-top: 4px; }
.card h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.85rem;
  line-height: 1.18;
  margin: 0 0 12px;
}
.card.lead h2 { font-size: 2.4rem; }
.card h2 a { transition: color .2s; }
.card h2 a:hover { color: var(--accent); }
.summary { margin: 0 0 14px; color: var(--soft); }
.topics-line {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.topics-line a:hover { color: var(--accent); }

/* Post */
.post-head { text-align: center; margin-bottom: 44px; }
.post-head .topics-line { margin-bottom: 18px; }
.post-head h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.005em;
}
.dek {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--soft);
  margin: 0 auto 22px;
  max-width: 580px;
}
.byline {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.post-head::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 34px auto 0;
}

.prose p { margin: 0 0 1.15em; hyphens: manual; }
.prose > p:first-child::first-letter {
  font-family: var(--display);
  float: left;
  font-size: 4.1em;
  line-height: 0.8;
  padding: 0.08em 0.1em 0 0;
  color: var(--accent);
  font-weight: 600;
}
.prose h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 2.1em 0 0.6em;
}
.prose h3 { font-size: 1.05rem; margin: 1.8em 0 0.5em; }
.prose a { color: var(--accent); border-bottom: 1px solid var(--rule); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.55em; }
.prose li::marker { color: var(--muted); }
.prose strong { font-weight: 600; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 0 0 0 22px;
  border-left: 1px solid var(--accent);
  font-style: italic;
  color: var(--soft);
}

.book {
  margin: 52px 0 0;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--soft);
  text-align: center;
}
.book p { margin: 0; }
.book p + p { margin-top: 8px; }
.book em, .dek em, .brand-tag em { font-style: normal; }
.brand-tag em { white-space: nowrap; }

.pn {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 40px;
  font-family: var(--display);
  font-size: 1.1rem;
}
.pn a { max-width: 46%; color: var(--soft); transition: color .2s; }
.pn a:last-child { text-align: right; margin-left: auto; }
.pn a:hover { color: var(--accent); }

/* Topics */
.page-title {
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.6rem;
  margin: 0 0 36px;
}
.topics { list-style: none; padding: 0; margin: 0 auto; max-width: 460px; }
.topics li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--display);
  font-size: 1.35rem;
}
.topics li a:hover { color: var(--accent); }
.count { font-family: var(--text); font-size: 0.85rem; color: var(--muted); }

/* Footer */
.site-foot { text-align: center; color: var(--muted); font-size: 0.82rem; line-height: 1.6; }
.site-foot .wrap { border-top: 1px solid var(--rule); padding-top: 34px; padding-bottom: 48px; }
.site-foot p { margin: 0 0 8px; }
.foot-mark { font-family: var(--display); font-size: 1.25rem; color: var(--ink); margin-bottom: 10px !important; }
.site-foot a:hover { color: var(--accent); }
.small { font-size: 0.74rem; max-width: 520px; margin-left: auto !important; margin-right: auto !important; }

@media (max-width: 600px) {
  body { font-size: 17.5px; }
  .site-head { padding-top: 40px; }
  .brand-sub { font-size: 0.48em; margin-top: 8px; }
  .brand-gap { height: 24px; }
  nav { gap: 22px; }
  .post-head h1 { font-size: 2.2rem; }
  .card h2 { font-size: 1.55rem; }
  .card.lead h2 { font-size: 1.9rem; }
  .intro { font-size: 1.05rem; margin-top: -8px; }
}

/* About page */
.page-about .post-head { margin-bottom: 36px; }
.author-card { display: flex; flex-direction: row-reverse; justify-content: center; align-items: center; gap: 52px; margin: 0 0 34px; }
.author-card img { width: 200px; height: auto; aspect-ratio: 0.74; object-fit: cover; object-position: 90% 35%; border-radius: 1px; filter: grayscale(100%) contrast(1.02); opacity: .94; flex: none; }
.author-card p { margin: 0; }
.author-name { font-family: var(--display); font-weight: 600; font-size: 1.7rem; line-height: 1.15; }
.author-chambers { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 6px !important; }
.page-about .prose h2 { font-family: var(--text); font-weight: 400; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 2.6em 0 0.9em; }
.contact { margin: 3em 0 0; padding-top: 26px; border-top: 1px solid var(--rule); font-size: 0.92rem; line-height: 1.65; color: var(--soft); }
.contact p { margin: 0 0 12px; hyphens: none; }
.contact-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px !important; }
.page-about .prose .contact a { color: var(--soft); border-bottom: 1px solid var(--rule); }
.page-about .prose .contact a:hover { color: var(--accent); }
@media (max-width: 600px) {
  .author-card { justify-content: space-between; gap: 18px; }
  .author-card img { width: clamp(112px, 34vw, 132px); }
  .author-name { font-size: 1.45rem; }
}
@media (max-width: 380px) {
  .author-card img { width: 112px; }
  .author-name { font-size: 1.35rem; }
}

/* Order link */
.order-line { margin: 4px 0 0 !important; text-align: center; }
.order-line.left { text-align: left; margin-top: -6px !important; }
.order {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted) !important;
  border-bottom: 1px solid var(--rule) !important;
  transition: color .2s, border-color .2s;
}
.order:hover { color: var(--accent) !important; border-bottom-color: var(--accent) !important; }
.page-about .prose > h2:first-child { margin-top: 0; }

/* Page not found */
.notfound p { text-align: center; color: var(--soft); margin: 0; }
.notfound a { color: var(--accent); border-bottom: 1px solid var(--rule); }
.book .order { font-size: inherit; }
