:root {
  --bg: #F8F4ef;
  --panel: #FFFFFF;
  --text: #2C2A26;
  --muted: #5C574E;
  --gold: #C4A35A;
  --border: #D9D0C1;
  --radius: 12px;
  --shadow: 0 6px 20px rgba(44, 42, 38, 0.07);
  --max: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Hero */
.hero {
  padding: 70px 0 50px;
  text-align: center;
}
.kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hero-text {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}
/* Hero with video logo */
.hero {
  padding: 60px 0 50px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-video {
  width: 448px;          /* adjust size as needed */
  height: 448px;
  object-fit: cover;
  margin-bottom: 18px;
  border-radius: 50%;    /* keeps the circular feel */
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-text {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  font-size: 1.1rem;
}
/* Genre blocks */
.genre-block {
  margin-bottom: 60px;
}
.genre-block h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

/* Books grid - 2 across */
.books-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Automatically center the last card when a row has only one */
.books-grid .book-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 520px;
  margin-inline: auto;
}

/* Book card */
.book-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  overflow: hidden;
}
.cover {
  width: 200px;
  min-width: 200px;
  object-fit: cover;
  height: 300px;
}
.book-info {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.book-info h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}
.author a {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
}
.blurb {
  color: var(--muted);
  font-size: 0.92rem;
  flex-grow: 1;
}
.date {
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--muted);
}
.btn {
  display: inline-block;
  margin-top: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: rgb(196,163,90);
  align-self: flex-start;
}
.btn:hover {
  border-color: var(--gold);
  text-decoration: none;
}

/* About */
#about {
  padding: 50px 0 70px;
}
#about h2 {
  margin-bottom: 16px;
}
#about p {
  max-width: 580px;
  color: var(--muted);
}

/* Submissions section */
.submissions {
  max-width: 640px;          /* keeps the text readable */
  margin: 60px auto 0;       /* centers it */
  padding: 0 24px;
}

.submissions h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.submissions p {
  color: var(--muted);
  line-height: 1.6;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 700px) {
  .books-grid {
    grid-template-columns: 1fr;
  }
  .book-card {
    flex-direction: column;
  }
  .cover {
    width: 100%;
    height: auto;
    aspect-ratio: 2/3;
  }
}
