:root {
  color-scheme: light;
  --paper: #f7f3ea;
  --tint: #efe8d9;
  --ink: #1e2422;
  --muted: #55605b;
  --forest: #1d2b26;
  --forest-2: #2a3d36;
  --gold: #d9b566;
  --gold-deep: #7f5c17;
  --line: #d8cfbb;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
cite { font-style: italic; }
a { color: var(--gold-deep); text-underline-offset: .15em; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }

.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 700px) { .wrap { padding-inline: 32px; } }
.narrow { width: min(760px, 100%); }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 20; background: #fff; padding: .4rem .8rem; }

h1, h2, h3 { font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.4rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 .9rem;
}
.eyebrow-light { color: var(--gold); }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 10;
  background: rgb(247 243 234 / .96);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; padding-block: .6rem; }
.wordmark { font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.site-head nav { display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; font-family: var(--sans); font-size: .95rem; }
.site-head nav a { color: var(--muted); text-decoration: none; padding-block: .25rem; }
.site-head nav a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 699px) { .site-head { position: static; } }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  padding: .8rem 1.25rem;
  border-radius: 3px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
}
.btn-solid { background: var(--forest); color: #fff; }
.btn-solid:hover { background: var(--forest-2); }
.btn-line { border-color: var(--forest); color: var(--forest); }
.btn-line:hover { background: var(--forest); color: #fff; }
.btn-gold { background: var(--gold); color: #1b1608; }
.btn-gold:hover { background: #e6c67e; }
.btn:disabled { opacity: .65; cursor: progress; }

/* Hero */
.hero { padding-block: clamp(2rem, 6vw, 4.5rem); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-photo img { border-radius: 4px; width: 100%; }
.lede { font-size: 1.35rem; color: var(--muted); margin: 1.25rem 0 1.75rem; max-width: 34em; }
.hero-links { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; } }

/* New book */
.new-book { background: var(--forest); color: #f3efe4; padding-block: clamp(2.5rem, 7vw, 5rem); }
.new-book-grid { display: grid; gap: 2rem; align-items: center; }
.new-book h2 { margin-bottom: .4rem; color: #fff; }
.subtitle { font-size: 1.45rem; font-style: italic; color: var(--gold); margin: 0 0 1.25rem; line-height: 1.25; }
.shield { border-radius: 50%; width: min(320px, 78%); margin-inline: auto; }
@media (min-width: 860px) { .new-book-grid { grid-template-columns: 340px 1fr; gap: 3.5rem; } .shield { width: 100%; } }

form { margin-top: 1.5rem; max-width: 34rem; }
.field-label { display: block; font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.field-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.field-row input {
  flex: 1 1 15rem; min-width: 0;
  font: 400 1.05rem var(--sans);
  padding: .78rem .9rem;
  border: 1.5px solid #7f8f88;
  border-radius: 3px;
  background: #fff; color: var(--ink);
}
.field-row input:focus-visible { outline-color: var(--gold); }
.field-row input:user-invalid { border-color: #e08a7a; }
.field-row .btn { flex: 0 0 auto; }
.fine { font-family: var(--sans); font-size: .92rem; color: #c8cfc9; margin: .6rem 0 0; }
.status { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; margin: .75rem 0 0; min-height: 1.5em; }
.status.is-ok { color: var(--gold); }
.status.is-err { color: #f2a899; }
.trap { position: absolute; left: -9999px; height: 0; overflow: hidden; margin: 0; }

/* Sections */
.section { padding-block: clamp(2.75rem, 7vw, 5rem); }
.section-tint { background: var(--tint); }
.bio { font-size: 1.3rem; line-height: 1.6; margin-top: 0; }
.ordination { margin: 0 0 1.75rem; }
.ordination img { width: 100%; border-radius: 3px; }
.ordination figcaption { font-size: 1.05rem; font-style: italic; color: var(--muted); margin-top: .5rem; }

/* Books */
.books {
  list-style: none; margin: 0 0 2.5rem; padding: 0;
  display: grid; gap: 2.25rem 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.cover {
  height: 320px; width: auto; max-width: 100%;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 2px;
  box-shadow: 0 10px 22px rgb(30 36 34 / .24);
}
.book-sub { font-style: italic; margin: .3rem 0 .4rem; line-height: 1.3; font-size: 1.1rem; }
.book-meta { font-family: var(--sans); font-size: .92rem; color: var(--muted); margin: 0 0 .5rem; line-height: 1.35; }
.book-desc { margin: 0; font-size: 1.1rem; line-height: 1.45; }

/* Videos */
.videos { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.videos-one { grid-template-columns: minmax(0, 760px); }
.video { margin: 0; min-width: 0; }
.video figcaption { font-size: 1.05rem; line-height: 1.35; margin-top: .6rem; color: var(--muted); }
.video figcaption strong { color: var(--ink); font-weight: 600; }
.play, .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 3px; }
.video iframe { background: var(--forest); }
.play { position: relative; padding: 0; overflow: hidden; background: var(--forest); color: #fff; cursor: pointer; }
.play img { width: 100%; height: 100%; object-fit: cover; }
.play-icon {
  position: absolute; left: 50%; top: 50%;
  width: 64px; height: 44px; margin: -22px 0 0 -32px;
  background: rgb(15 20 18 / .82); border-radius: 8px;
}
.play-icon::after {
  content: ""; position: absolute; left: 26px; top: 12px;
  border-style: solid; border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}
.play:hover .play-icon { background: #8a2d24; }
/* Footer */
.site-foot { background: var(--forest); color: #c8cfc9; font-family: var(--sans); font-size: .95rem; padding-block: 1.5rem; }

/* Thank-you page */
.thanks { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 2rem 16px; }
