:root {
  --paper: #faf7f1;
  --ink: #23201b;
  --muted: #6b6359;
  --rule: #ddd5c8;
  --accent: #7a2e22;
  --measure: 36rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1b1916;
    --ink: #e9e3d8;
    --muted: #a39a8c;
    --rule: #3a352e;
    --accent: #d98b74;
  }
}

* { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "EB Garamond", Garamond, "Times New Roman", serif;
  line-height: 1.6;
  font-feature-settings: "kern", "liga", "onum";
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1rem; }

header.site {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
}
header.site .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.name { font-size: 1.15rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
nav a { margin-left: 1.1rem; color: var(--muted); text-decoration: none; font-style: italic; }
nav a:first-child { margin-left: 0; }
nav a:hover { color: var(--accent); }

h1 { font-weight: 400; font-size: 2.6rem; line-height: 1.15; margin: 0 0 0.4rem; }
h2 {
  font-weight: 400; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin: 3rem 0 1rem; padding-top: 0.8rem; border-top: 1px solid var(--rule);
}
.intro { display: flow-root; margin-bottom: 1.5rem; }
.portrait {
  float: right; width: 9.5rem; height: 9.5rem; object-fit: cover; object-position: 50% 30%;
  margin: 0 0 1rem 1.5rem; border-radius: 50%; border: 1px solid var(--rule);
}
.intro .lede { margin-bottom: 0; }
@media (max-width: 30rem) {
  .portrait { float: none; display: block; width: 8rem; height: 8rem; margin: 0 0 1.25rem; }
}
.lede { font-size: 1.25rem; font-style: italic; color: var(--muted); margin: 0 0 1.5rem; }


ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { margin: 0 0 0.9rem; }
ul.plain .note { display: block; color: var(--muted); font-size: 0.95rem; }

.sermon-meta { color: var(--muted); font-style: italic; margin: 0 0 2rem; }
.sermon-meta span { display: block; }
article p { margin: 0 0 1.1rem; hyphens: auto; }
article blockquote { margin: 1.5rem 0; padding-left: 1.2rem; border-left: 2px solid var(--rule); color: var(--muted); }
article img { max-width: 100%; height: auto; }
.fleuron { text-align: center; color: var(--muted); margin: 2.5rem 0; letter-spacing: 0.5em; }

footer.site {
  margin-top: 4rem; padding: 1.5rem 0 3rem; border-top: 1px solid var(--rule);
  color: var(--muted); font-size: 0.85rem;
}
footer.site a { color: var(--muted); }

@media (max-width: 30rem) {
  html { font-size: 106%; }
  h1 { font-size: 2.1rem; }
}
