/* ── Reset & Base ── */

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

body {
  background: #FAFAF8;
  color: #1A1A2E;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */

.hero,
.books,
.author,
footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Hero ── */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 6rem;
  padding-bottom: 5rem;
  animation: fadeIn 1.2s ease both;
}

.logo {
  max-width: 280px;
  width: 100%;
  display: block;
}

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #555;
  margin-top: 1.5rem;
  text-align: center;
  max-width: 520px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Section Headings ── */

.section-heading {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-variant: small-caps;
  text-transform: lowercase;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #888888;
  text-align: center;
  margin-bottom: 3rem;
}

/* ── Books Grid ── */

.books {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .books-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
}

/* ── Book Card ── */

.book-card {
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cover Placeholder */

.cover-placeholder {
  aspect-ratio: 2 / 3;
  background: #F5F0E8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-circle {
  width: 35%;
  height: 0;
  padding-bottom: 35%;
  border: 1.5px solid #8B6914;
  border-radius: 50%;
}

.book-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.3rem;
  color: #1A1A2E;
  margin-top: 1.5rem;
}

.book-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: #8B6914;
  margin-top: 0.35rem;
}

.book-desc {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #444;
  margin-top: 0.75rem;
}

.book-status {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #888888;
  margin-top: 1rem;
}

/* ── Author ── */

.author {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.author-text {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  max-width: 600px;
  margin: 0 auto;
}

.author-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #8B6914;
  text-decoration: none;
  transition: color 0.3s ease;
}

.author-link:hover {
  color: #1A1A2E;
}

/* ── Footer ── */

footer {
  text-align: center;
  margin-top: 4rem;
  padding-bottom: 2rem;
}

footer p {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  color: #888888;
  letter-spacing: 0.05em;
}
