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

/* ── Tokens ── */
:root {
  --cream:    #faf7f2;
  --cream2:   #f3ede3;
  --ink:      #1c1814;
  --ink2:     #5a5048;
  --accent:   #b8622a;
  --rule:     #ddd5c8;
  --max:      1020px;
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'Outfit', sans-serif;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Header ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 3rem;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.logo img {
  height: 108px;
  width: auto;
  display: block;
}

@media (max-width: 680px) {
  .logo img {
    height: 60px;
  }
}

@media (max-width: 420px) {
  .logo img {
    height: 44px;
  }
}

nav {
  display: flex;
  gap: 2.5rem;
}

nav a {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink2);
  transition: color 0.2s;
}
nav a:hover { color: var(--accent); }

/* ── Hero ── */
.hero {
  padding: 14rem 3rem 6rem;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-label {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--ink2);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink2);
  max-width: 480px;
  font-weight: 300;
}

.hero-rule {
  width: 100%;
  max-width: var(--max);
  margin: 4rem auto 0;
  height: 1px;
  background: var(--rule);
}

/* ── Section Label ── */
.section-label {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3rem;
}

/* ── Books ── */
.books {
  padding: 5rem 3rem;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 3rem;
}

/* ── Book Card ── */
.book-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--rule);
  transition: box-shadow 0.25s;
}
.book-card:hover {
  box-shadow: 0 8px 32px rgba(28,24,20,0.08);
}

.book-cover {
  flex-shrink: 0;
}

.cover-placeholder {
  width: 120px;
  height: 180px;
  background: var(--cream2);
  border: 1px solid var(--rule);
}


.book-cover img {
  width: 120px;
  height: auto;
  display: block;
  box-shadow: 2px 4px 16px rgba(28,24,20,0.12);
}

.book-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.book-author {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink2);
}

.book-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.book-type {
  font-size: 0.72rem;
  font-style: italic;
  color: var(--ink2);
  margin-bottom: 0.6rem;
}

.book-desc {
  font-size: 0.9rem;
  color: var(--ink2);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1rem;
}

.book-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: auto;
}

.btn-amazon {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  padding: 0.65rem 1.4rem;
  transition: background 0.2s;
}
.btn-amazon:hover { background: var(--accent); }

.btn-review {
  font-family: var(--sans);
  font-size: 0.68rem;
  color: var(--ink2);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-review:hover { color: var(--accent); border-color: var(--accent); }

/* ── About ── */
.about {
  background: var(--cream2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 5rem 3rem;
}

.about-inner {
  max-width: 620px;
}

.about-text {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink);
  font-style: italic;
}

/* ── Footer ── */
footer {
  padding: 3rem;
  background: var(--ink);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo {
  height: 80px;
  width: auto;
  display: block;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(250,247,242,0.55);
}

.footer-links a {
  color: rgba(250,247,242,0.7);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cream); }

.footer-sep { opacity: 0.3; }

.footer-copy {
  font-size: 0.68rem;
  color: rgba(250,247,242,0.3);
  letter-spacing: 0.08em;
}

/* ── Mobile ── */
@media (max-width: 680px) {
  header { padding: 1.2rem 1.5rem; }
  nav { gap: 1.5rem; }
  .hero { padding: 10rem 1.5rem 4rem; }
  .books { padding: 4rem 1.5rem; }
  .books-grid { grid-template-columns: 1fr; gap: 2rem; }
  .book-card { flex-direction: column; }
  .cover-placeholder { width: 100%; height: 200px; }
  .about { padding: 4rem 1.5rem; }
  footer { padding: 2rem 1.5rem; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .footer-sep { display: none; }
}

@media (max-width: 420px) {
  nav a { font-size: 0.65rem; letter-spacing: 0.08em; }
}
