/* Neva King — site styles
   Dark theme, mobile-first. No external assets, no web fonts.
   Adapted from the leighstjames.com stylesheet; accent = cover gold. */

:root {
  --bg:         #0c0b0a;
  --bg-raised:  #15130f;
  --bg-sunken:  #070706;
  --ink:        #ece6dc;
  --ink-dim:    #a59d90;
  --ink-faint:  #6f685e;
  --accent:     #b8893e;
  --accent-lit: #dcb46a;
  --rule:       #2b2720;

  --measure: 34rem;
  --pad: clamp(1.25rem, 5vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-lit); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent-lit); outline-offset: 3px; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: 60rem;
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- masthead ---------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--bg-sunken);
}

.masthead__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-block: clamp(1.75rem, 5vw, 3rem);
  text-align: center;
}

.wordmark {
  font-size: clamp(1.8rem, 1.2rem + 2.8vw, 3rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
  font-weight: 400;
}

.tagline {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- sections ---------- */

.section {
  padding-block: clamp(2.5rem, 7vw, 4.5rem);
  border-bottom: 1px solid var(--rule);
}
.section:last-of-type { border-bottom: 0; }

.section--raised { background: var(--bg-raised); }

h1, h2 {
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.5rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
  margin: 0 0 0.75rem;
}

.series-intro { text-align: center; }
.series-intro p { margin-inline: auto; max-width: var(--measure); color: var(--ink-dim); }

/* ---------- book rows: cover beside the pitch, stacking on phones ---------- */

.book {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  grid-template-columns: 1fr;
}

/* buy buttons centred while the book is a single column (phone), left once it splits */
.buy { text-align: center; }

@media (min-width: 44rem) {
  .book { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); }
  .book__art { margin-inline: 0; }
  .buy { text-align: left; }
}

.book__art {
  margin: 0 auto;
  border: 1px solid var(--rule);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.6);
  max-width: 16rem;
  width: 100%;
}

.book__body > :first-child { margin-top: 0; }
.book__body p { max-width: var(--measure); }

.series {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent-lit);
  margin: 0 0 0.5rem;
}

.hook {
  font-style: italic;
  color: var(--ink);
  font-size: 1.08em;
  margin: 0 0 0.75rem;
}

.pitch { color: var(--ink-dim); }

.status {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 1.25rem 0 0.6rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #120e07;
  text-decoration: none;
  border-radius: 3px;
  padding: 0.75rem 1.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.btn:hover { background: var(--accent-lit); color: #120e07; }

.btn--ghost {
  background: transparent;
  color: var(--accent-lit);
  border: 1px solid var(--accent);
}
.btn--ghost:hover { background: var(--accent); color: #120e07; }

/* ---------- footer ---------- */

.foot {
  background: var(--bg-sunken);
  border-top: 1px solid var(--rule);
  padding-block: 2.5rem;
  color: var(--ink-faint);
  font-size: 0.85rem;
  text-align: center;
}

.foot p { margin: 0.35rem 0; }

.foot a { color: var(--ink-dim); }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
