:root {
  color-scheme: light;
  --paper: #fbf8f3;
  --paper-2: #f3eee5;
  --ink: #1f2a37;
  --ink-soft: #4b5563;
  --line: #d9d2c5;
  --accent: #2f6f68;
  --accent-ink: #ffffff;
  --accent-hover: #255a54;
  --radius: 14px;
  --wrap: 1040px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
}

.brand:hover { color: var(--ink); }

.brand img { width: auto; height: 58px; }

.nav {
  display: flex;
  gap: 4px 20px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 0;
}

.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.btn:hover { background: var(--accent-hover); color: var(--accent-ink); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-ghost:hover { background: var(--accent); color: var(--accent-ink); }

/* Hero */
.hero {
  padding: 72px 0 64px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.hero p.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

.hero-art img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(31, 42, 55, 0.12); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Sections */
section { padding: 56px 0; }
.band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.books {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.book {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.cover {
  aspect-ratio: 8.5 / 11;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
  color: var(--ink);
}

.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover svg { width: 70%; height: auto; }

.book p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.book .btn { align-self: flex-start; padding: 10px 18px; font-size: 0.95rem; }

.book.soon { background: transparent; border-style: dashed; }
.book.soon .cover { border-style: dashed; color: var(--ink-soft); }

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.points { list-style: none; padding: 0; margin: 0; }
.points li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); position: relative; }
.points li:last-child { border-bottom: 0; }
.points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}

.cta { text-align: center; }
.cta p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 24px; }

/* Text pages */
.page { padding: 56px 0 72px; }
.page .wrap { max-width: 740px; }
.page h2 { font-size: 1.35rem; margin-top: 2em; }
.page .updated { color: var(--ink-soft); font-size: 0.95rem; }
.page ul { padding-left: 1.2em; }
.page li { margin-bottom: 0.4em; }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin: 28px 0;
}

.contact-card .email {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  word-break: break-word;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }

@media (max-width: 800px) {
  .hero { padding: 48px 0 40px; }
  .hero .wrap, .about { grid-template-columns: 1fr; }
  .books { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .books { grid-template-columns: 1fr; }
  .nav { gap: 4px 16px; }
}

.book .sub { color: var(--ink); font-size: 0.92rem; font-style: italic; flex: 0; margin-top: -0.3em; }
a.cover { transition: transform 0.15s ease; }
a.cover:hover { transform: translateY(-2px); }
.book h3 { margin-bottom: 0.35em; }

.cover .soon-logo { width: 78%; height: auto; object-fit: contain; opacity: 0.55; }
