/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EBE3;
  --fg: #1C1410;
  --fg-muted: #6B5D52;
  --accent: #C4713A;
  --accent-dark: #A85C2B;
  --cream: #F5EFE7;
  --border: #E2D9CE;
  --shadow: rgba(28, 20, 16, 0.08);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.15; }

/* ===== LAYOUT ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }

/* ===== HERO ===== */
.hero { padding: 5rem 0 4rem; overflow: hidden; }
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-headline {
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: var(--fg);
  line-height: 1.1;
}
.hero-headline em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 44ch;
  line-height: 1.7;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}
.hero-stat {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
}
.hero-stat-sep, .hero-dot {
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.hero-dot {
  width: 4px;
  height: 4px;
  background: var(--border);
  border-radius: 50%;
  display: inline-block;
}

.hero-visual { position: relative; }
.hero-image-wrap { position: relative; }
.hero-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 60px var(--shadow);
}
.hero-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--fg);
  color: var(--bg);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.badge-icon { font-size: 1.5rem; }
.badge-text { font-size: 0.75rem; line-height: 1.4; font-weight: 500; }

/* ===== MANIFESTO ===== */
.manifesto { background: var(--fg); color: var(--bg); padding: 4rem 0; }
.manifesto-inner { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.manifesto-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--cream);
  max-width: 72ch;
}
.manifesto-quote cite {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--accent);
  font-style: normal;
}

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ===== FEATURES ===== */
.features { padding: 5rem 0; background: var(--bg); }
.features-inner { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.features-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
  max-width: 18ch;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
}
.feature-icon { font-size: 1.75rem; display: block; margin-bottom: 1rem; }
.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.feature-card p { font-size: 0.9375rem; color: var(--fg-muted); line-height: 1.6; }

/* ===== PROOF ===== */
.proof { padding: 5rem 0; background: var(--bg-alt); }
.proof-inner { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.proof-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 2rem 1.75rem;
}
.proof-card-wide { grid-column: span 2; }
.proof-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.proof-author { display: flex; flex-direction: column; gap: 0.25rem; }
.proof-name { font-weight: 500; font-size: 0.9375rem; }
.proof-role { font-size: 0.8125rem; color: var(--fg-muted); }

/* ===== COLLECTION ===== */
.collection { padding: 5rem 0; background: var(--cream); }
.collection-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.collection-visual { display: flex; justify-content: center; }
.collection-book {
  display: flex;
  width: 280px;
  height: 360px;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  overflow: hidden;
}
.book-spine {
  background: var(--accent);
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0.75rem;
  letter-spacing: 0.05em;
}
.book-cover {
  background: var(--fg);
  color: var(--cream);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.book-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  width: fit-content;
}
.book-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--cream);
}
.book-sub { font-size: 0.8125rem; color: var(--fg-muted); line-height: 1.5; }
.book-price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.book-old-price { font-size: 0.875rem; color: var(--fg-muted); }

.collection-text { display: flex; flex-direction: column; gap: 1.5rem; }
.collection-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
}
.collection-desc { font-size: 1rem; color: var(--fg-muted); line-height: 1.7; }
.collection-cats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9375rem;
}
.collection-cats li { display: flex; align-items: center; gap: 0.75rem; color: var(--fg-muted); }
.collection-cats li::before {
  content: '☕';
  font-size: 0.875rem;
}
.collection-cats li:last-child { color: var(--fg); font-weight: 500; }

/* ===== CLOSING ===== */
.closing { padding: 6rem 0 5rem; background: var(--fg); color: var(--cream); text-align: center; }
.closing-inner { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.closing-content { max-width: 48ch; margin: 0 auto; }
.closing-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.closing-sub { font-size: 1.125rem; color: var(--fg-muted); line-height: 1.7; margin-bottom: 2.5rem; }
.closing-sig { display: flex; flex-direction: column; gap: 0.25rem; align-items: center; }
.sig-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--cream);
}
.sig-aka { font-size: 0.875rem; color: var(--accent); }

/* ===== FOOTER ===== */
.footer { padding: 2.5rem 0; background: var(--bg); border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; }
.footer-tagline { font-size: 0.8125rem; color: var(--fg-muted); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.875rem; color: var(--fg-muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.75rem; color: var(--fg-muted); width: 100%; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .hero-badge { bottom: -1rem; left: -1rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card-wide { grid-column: span 1; }
  .collection-inner { grid-template-columns: 1fr; gap: 3rem; }
  .collection-visual { order: -1; }
}

@media (max-width: 600px) {
  .hero { padding: 3rem 0 2.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .collection-book { width: 220px; height: 300px; }
  .book-title { font-size: 1rem; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--fg-muted); }

/* ===== FOCUS ===== */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
