:root {
  color-scheme: light;
  --bg: #f6f2e8;
  --text: #1f1f1f;
  --muted: #5f5a53;
  --accent: #6b4f2f;
  --accent-strong: #4c341c;
  --border: rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7efe3 0%, var(--bg) 100%);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 6vw;
  background: rgba(246, 242, 232, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.site-brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-nav__link {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: var(--accent-strong);
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
  font-weight: 500;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  background: rgba(107, 79, 47, 0.12);
  transform: translateY(-1px);
}

.page-hero,
.page-section,
.page-list {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 6vw;
}

.page-hero {
  padding-top: 4rem;
  text-align: center;
}

.page-hero h1 {
  margin: 0 auto 1rem;
}

.page-hero p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
}

.page-section {
  padding-top: 0;
}

.page-list {
  padding-top: 0;
}

.page-list ul {
  padding-left: 1.2rem;
}

.page-list li + li {
  margin-top: 0.6rem;
}

.page-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.author-profile {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.author-profile img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.page-card > img {
  max-width: 400px;
  margin: 0 auto 1.5rem;
  aspect-ratio: auto;
}

@media (max-width: 700px) {
  .author-profile {
    grid-template-columns: 1fr;
  }
}

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

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  padding: 4rem 6vw 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 900px;
  letter-spacing: -0.02em;
}

.hero__lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  text-decoration: none;
}

.hero__image img {
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.about,
.books,
.quote-banner,
.site-footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 6vw;
}

.about {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.books {
  display: grid;
  gap: 2rem;
}

.book-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.book-card img {
  border-radius: 0.75rem;
  max-height: 320px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.book-card blockquote,
.page-card blockquote {
  margin: 1.2rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--accent);
  background: rgba(107, 79, 47, 0.05);
  border-radius: 0 0.5rem 0.5rem 0;
  color: var(--muted);
  font-style: italic;
}

.book-card blockquote span {
  display: block;
  margin-top: 0.3rem;
  font-style: italic;
}

.quote-banner {
  text-align: center;
  font-size: 1.3rem;
  color: var(--accent-strong);
  padding: 3rem 6vw;
  font-style: italic;
  background: linear-gradient(135deg, rgba(107, 79, 47, 0.05) 0%, rgba(107, 79, 47, 0.02) 100%);
  border-radius: 1rem;
  margin: 2rem 6vw;
}

.quote-banner span {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  color: var(--muted);
  padding: 2rem 6vw;
  margin-top: 3rem;
  background: rgba(255, 255, 255, 0.5);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  max-width: 360px;
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem 1.2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.cookie-banner button {
  margin-top: 0.6rem;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  cursor: pointer;
}

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

  .site-footer {
    flex-direction: column;
  }
}

.page-list--carousel {
  padding-bottom: 3rem;
}

.carousel-card {
  padding: 1.5rem;
  border: none;
  background: transparent;
  box-shadow: none;
}

.carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.carousel__button {
  border: none;
  background: var(--accent);
  color: white;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  font-size: 1.2rem;
  cursor: pointer;
}

.carousel__slide {
  display: block;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.carousel__image {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: white;
  color: white;
  text-align: center;
}

.carousel__image img {
  width: auto;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 0.75rem;
  display: block;
}

.carousel__content {
  padding: 1.1rem 1.2rem 1.3rem;
}

.carousel__content h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.carousel__content p {
  margin: 0;
  color: var(--muted);
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel__dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  border: none;
  background: rgba(107, 79, 47, 0.25);
  cursor: pointer;
  padding: 0;
}

.carousel__dot.is-active {
  background: var(--accent);
}

@media (max-width: 700px) {
  .carousel {
    grid-template-columns: 1fr;
  }

  .carousel__button {
    display: none;
  }
}
