/* Christoph Woods — author site */
:root {
  --bg: #12100d;
  --bg2: #1a1712;
  --gold: #c9a227;
  --gold-light: #e8c95a;
  --text: #e8e2d5;
  --muted: #a89f8a;
  --card: #1e1a14;
  --line: #2e2820;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Spectral', Georgia, serif;
  font-weight: 300;
  line-height: 1.65;
}

h1, h2, h3, h4, .brand {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(18, 16, 13, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.brand {
  color: var(--gold);
  text-decoration: none;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }

/* Hero */
.hero {
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,162,39,0.12), transparent 60%),
    var(--bg);
}
.hero-kicker {
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 3px;
  text-decoration: none;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: #14110b;
  font-weight: 700;
}
.btn-gold:hover { box-shadow: 0 6px 20px rgba(201,162,39,0.35); }
.btn-ghost {
  border: 1px solid var(--gold);
  color: var(--gold-light);
}

/* Sections */
main { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 4rem 0; border-top: 1px solid var(--line); }
section h2 {
  text-align: center;
  font-size: 2rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--gold-light);
}
.section-intro {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.series-title {
  font-size: 1.35rem;
  color: var(--text);
  margin: 3rem 0 0.25rem;
  letter-spacing: 0.05em;
}
.series-title:first-of-type { margin-top: 1rem; }
.series-blurb { color: var(--muted); margin-bottom: 1.5rem; font-style: italic; }

/* Book grid */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.book-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.book-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.book-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
.book-card h4 { font-size: 0.95rem; padding: 0.75rem 0.9rem 0; letter-spacing: 0.03em; }
.book-card > p { color: var(--muted); font-size: 0.85rem; padding: 0 0.9rem 0.75rem; }
.card-links {
  display: flex;
  gap: 0.5rem;
  padding: 0 0.9rem 0.9rem;
  flex-wrap: wrap;
}
.card-links a {
  font-size: 0.78rem;
  color: var(--gold-light);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  transition: border-color 0.2s;
}
.card-links a:hover { border-color: var(--gold); }

/* Link columns */
.link-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.link-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem;
  text-align: center;
}
.link-box h3 { color: var(--gold-light); margin-bottom: 1rem; letter-spacing: 0.06em; }
.link-box ul { list-style: none; }
.link-box li { margin: 0.6rem 0; }
.link-box a:not(.btn) { color: var(--text); text-decoration: none; border-bottom: 1px dotted var(--gold); }
.link-box a:not(.btn):hover { color: var(--gold-light); }
.link-box p { color: var(--muted); margin-bottom: 1.25rem; }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 800px;
  margin: 0 auto;
}
.about-inner img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.about-inner p { margin-bottom: 1.25rem; color: var(--text); }

footer {
  text-align: center;
  padding: 2.5rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-inner img { max-width: 220px; }
  .nav-links a { margin-left: 0.9rem; font-size: 0.85rem; }
  nav { padding: 1rem; }
}
