/* Simple static website for the Evolution Series books */

:root {
  --ink: #111;
  --muted: #555;
  --paper: #fff;
  --soft: #f4f1ec;
  --line: #d8d0c6;
  --accent: #14213d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.narrow {
  width: min(820px, 92vw);
}

.site-header {
  background: linear-gradient(135deg, var(--accent), #26364f);
  color: white;
  padding: 72px 0 52px;
}

.series {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
  margin: 0 0 14px;
  opacity: 0.85;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.05;
  max-width: 980px;
  margin: 0;
}

.intro {
  max-width: 760px;
  font-size: 1.25rem;
  margin: 24px 0 30px;
  opacity: 0.92;
}

nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

nav a,
.button {
  display: inline-block;
  border: 1px solid currentColor;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
}

nav a:hover,
.button:hover {
  background: rgba(255, 255, 255, 0.16);
}

main {
  padding: 54px 0 30px;
}

section {
  margin-bottom: 62px;
}

h2 {
  font-size: 2rem;
  margin: 0 0 24px;
}

.book-grid {
  display: grid;
  gap: 24px;
}

.book-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 26px;
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 22px;
  border-radius: 18px;
}

.cover {
  min-height: 240px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 1.55rem;
  font-weight: bold;
  background: white;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.65rem;
}

.status {
  color: var(--muted);
  font-style: italic;
}

.button {
  margin-top: 4px;
  color: var(--accent);
  background: white;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 24px 0;
}

@media (max-width: 720px) {
  .book-card {
    grid-template-columns: 1fr;
  }

  .cover {
    min-height: 180px;
  }
}
