:root {
  --bg: #0b0d0c;
  --bg-elev: #121614;
  --bg-card: #161a17;
  --ink: #f2f4f2;
  --ink-soft: #b8c0ba;
  --muted: #8a948c;
  --rule: #2a322c;
  --green: #1f3d2e;
  --green-mid: #2d5a42;
  --green-bright: #6fbf8e;
  --green-glow: rgba(111, 191, 142, 0.18);
  --btn: #2d5a42;
  --btn-hover: #3a7354;
  --ghost-border: #3a4540;
  --shadow: rgba(0, 0, 0, 0.45);
  --max: 720px;
  --wide: 980px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 15% 0%, rgba(45, 90, 66, 0.22), transparent 48%),
    radial-gradient(ellipse at 85% 100%, rgba(31, 61, 46, 0.35), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-bright); text-underline-offset: 0.18em; }
a:hover { color: #9fd9b4; }

.wrap {
  width: min(100% - 2.5rem, var(--wide));
  margin-inline: auto;
}
.narrow { width: min(100%, var(--max)); margin-inline: auto; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 13, 12, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  width: min(100% - 2.5rem, var(--wide));
  margin-inline: auto;
}
.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-family: "Source Sans 3", system-ui, sans-serif;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink); text-decoration: underline; }
.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.hero {
  padding: 3.25rem 0 2.25rem;
  text-align: center;
}
.hero-photo {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 2px solid var(--green-mid);
  box-shadow: 0 0 0 6px var(--green-glow), 0 12px 32px var(--shadow);
}
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.hero .lede {
  color: var(--ink-soft);
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  font-size: 1.05rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 auto 0.5rem;
  padding: 0;
  list-style: none;
}
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  border: 1px solid var(--ghost-border);
  background: var(--bg-elev);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.social-row a:hover {
  background: var(--green);
  border-color: var(--green-mid);
  color: var(--ink);
  transform: translateY(-1px);
}
.social-row svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  display: block;
}

.section-rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule), transparent);
  margin: 0;
}
section { padding: 2.6rem 0; }
.page-intro { padding-top: 2.75rem; }

.eyebrow {
  font-family: "Source Sans 3", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--green-bright);
  margin: 0 0 0.65rem;
}
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin: 0 0 1rem;
  color: var(--ink);
}
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.tagline {
  font-style: italic;
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin: 0.35rem 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary {
  background: var(--btn);
  color: var(--ink);
  border-color: var(--green-mid);
}
.btn-primary:hover {
  background: var(--btn-hover);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ghost-border);
}
.btn-ghost:hover {
  border-color: var(--green-bright);
  color: var(--green-bright);
}
.btn-row, .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-cta { justify-content: center; margin-top: 1.25rem; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: 0 10px 30px var(--shadow);
}
.card p:last-child { margin-bottom: 0; }

.bio-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 780px) {
  .bio-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.read-links {
  display: grid;
  gap: 0.85rem;
}
.read-links a.platform {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--bg-elev);
  text-decoration: none;
  color: var(--ink);
}
.read-links a.platform:hover {
  border-color: var(--green-mid);
  background: #1a221c;
}
.read-links .plat-name {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 700;
  color: var(--green-bright);
}
.read-links .plat-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.signup-card h3,
.patreon-card h1,
.news-item h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.signup-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
.field-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
label {
  display: block;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}
input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--ghost-border);
  background: #0e1110;
  color: var(--ink);
  font: inherit;
}
input:focus {
  outline: 2px solid var(--green-mid);
  outline-offset: 1px;
  border-color: var(--green-bright);
}
.signup-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.signup-status {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.95rem;
  margin: 0;
}
.signup-status.is-success { color: var(--green-bright); }
.signup-status.is-error { color: #e89191; }
button.btn:disabled { opacity: 0.65; cursor: wait; }

.books-list {
  display: grid;
  gap: 2rem;
}
.book {
  display: grid;
  gap: 1.35rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 10px 30px var(--shadow);
}
@media (min-width: 720px) {
  .book {
    grid-template-columns: 180px 1fr;
    gap: 1.75rem;
    padding: 1.6rem;
  }
}
.book-cover {
  width: min(180px, 55%);
  margin-inline: auto;
  border-radius: 6px;
  box-shadow: 0 12px 28px var(--shadow);
}
@media (min-width: 720px) {
  .book-cover { width: 180px; margin: 0; }
}
.book-meta {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.book h2 {
  margin-bottom: 0.25rem;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}
.blurb p { color: var(--ink-soft); margin-bottom: 0.75rem; }
.blurb p:last-child { margin-bottom: 1rem; }
.buy-note {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.news-list {
  display: grid;
  gap: 1.15rem;
}
.news-item {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.news-item time {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.45rem;
}
.news-item p:last-child { margin-bottom: 0; }

.series-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.series-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--bg-elev);
}
.series-list strong {
  font-family: "Source Sans 3", system-ui, sans-serif;
}

footer {
  margin-top: 2rem;
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid var(--rule);
  background: #080a09;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
footer .brand-line {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 0.75rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
}
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-links a:hover { color: var(--green-bright); text-decoration: underline; }

@media (max-width: 560px) {
  .site-nav .inner { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 2.4rem; }
}
