:root {
  color-scheme: light;
  --forest: #17241d;
  --ink: #2d2318;
  --muted: #665744;
  --paper: #f8efdd;
  --cream: #f9eacb;
  --gold: #dcbd80;
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--forest);
  color: var(--cream);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at top, #26382b 0, var(--forest) 60%); }
a { color: inherit; text-underline-offset: .19em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #98601c; outline-offset: 5px; }
.frame { width: min(100% - 2rem, 47rem); margin: 0 auto; }
header, footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.4rem; }
header { padding: 1.65rem .15rem 1.35rem; }
.brand { display: inline-flex; gap: .6rem; align-items: center; text-decoration: none; font-size: 1.75rem; letter-spacing: -.055em; }
.brand img { border-radius: .35rem; width: 30px; height: 30px; }
nav { display: flex; flex-wrap: wrap; gap: 1rem; }
nav a, footer a, .eyebrow, .book-links, button { font: 700 .76rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
footer { padding: 1.25rem .15rem 2.5rem; color: #e1d2ad; }
.sheet {
  position: relative;
  background: linear-gradient(152deg, #fdf5e6, var(--paper) 58%, #eee1c5);
  color: var(--ink);
  padding: clamp(1.5rem, 6vw, 4.2rem);
  border: 1px solid #cebc92;
  border-radius: .3rem;
  box-shadow: 0 15px 50px #0a100c90;
  outline: 1px solid #82683633;
  outline-offset: -.5rem;
  overflow-wrap: anywhere;
}
.eyebrow { text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 .65rem; }
h1, h2, p { margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 7vw, 4.2rem); font-weight: 400; letter-spacing: -.052em; line-height: 1.02; }
h2 { font-weight: 400; letter-spacing: -.025em; font-size: clamp(1.4rem, 4vw, 2rem); margin-top: 1.5rem; }
p, li { font-size: clamp(1.03rem, 2.8vw, 1.24rem); line-height: 1.63; }
.byline { color: var(--muted); font-style: italic; }
.rule { border: 0; border-top: 1px solid #82683655; margin: 1.45rem 0; }
.book-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; color: #4a3120; }
button { padding: .5rem .8rem; color: var(--ink); background: #eddbb0; border: 1px solid #93794f; border-radius: .25rem; cursor: pointer; }
.primary { display: inline-flex; padding: .72rem 1rem; background: var(--forest); color: var(--cream); border-radius: .25rem; text-decoration: none; }
.secondary { display: inline-flex; padding: .6rem 0; }
.verse p { white-space: pre-line; }
mark { background: #f6d177; color: inherit; }
summary { cursor: pointer; color: var(--muted); margin: .7rem 0 1.2rem; }
article p:last-child { margin-bottom: 0; }
.collection { padding: 0; list-style: none; }
.collection li { border-top: 1px solid #82683645; padding: .75rem 0; }
.collection small { display: block; color: var(--muted); }
@media (max-width: 420px) { .frame { width: calc(100% - 1.1rem); } header { padding: 1.1rem .3rem; } .brand { font-size: 1.5rem; } nav { gap: .65rem; } }
