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

:root {
  --bg:         #0c0e13;
  --border:     #1e2230;
  --text:       #d8d2c6;
  --text-muted: #7a7570;
  --gold:       #b8922a;
  --gold-light: #d4a83e;
  --blue:       #4a7298;
  --white:      #f0ece4;
  --max-wide:   1000px;
  --max-prose:  680px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.8;
}

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

/* ── Trailer intro ───────────────────────────────────────── */
#intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s ease;
}

#intro.fade-out { opacity: 0; pointer-events: none; }

#trailer {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intro-btn {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}

.intro-btn:hover {
  background: rgba(0, 0, 0, 0.75);
  border-color: rgba(255, 255, 255, 0.45);
}

#sound-btn {
  bottom: 1.5rem;
  left: 1.5rem;
  padding: 0.5rem;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#sound-btn svg { width: 1.1rem; height: 1.1rem; }

#skip-btn {
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 0.5rem 1.1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Background video ────────────────────────────────────── */
#bg-video-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 14, 19, 0.72) 0%,
    rgba(12, 14, 19, 0.55) 40%,
    rgba(12, 14, 19, 0.82) 100%
  );
}

/* ── Site content above bg ───────────────────────────────── */
#site {
  position: relative;
  z-index: 1;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  text-align: center;
  padding: 1.6rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  background: rgba(12, 14, 19, 0.45);
}

.site-name {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.9);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: var(--max-wide);
  margin: 5rem auto;
  padding: 0 2rem;
}

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

.book-cover {
  width: 300px;
  display: block;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75);
  border-radius: 2px;
}

.genre {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.hero-text h1 {
  font-size: 3.8rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.tagline {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}

.hook {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 2.4rem;
}

/* ── Button ──────────────────────────────────────────────── */
.btn-amazon {
  display: inline-block;
  background: var(--gold);
  color: #0a0b0f;
  padding: 0.85rem 2.2rem;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.18s ease;
  border-radius: 1px;
}

.btn-amazon:hover { background: var(--gold-light); }

/* ── Section label ───────────────────────────────────────── */
.section-label {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

/* ── Synopsis ────────────────────────────────────────────── */
.synopsis {
  max-width: var(--max-prose);
  margin: 0 auto 5rem;
  padding: 4rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(6px);
  background: rgba(12, 14, 19, 0.6);
}

.synopsis p { margin-bottom: 1.4rem; }

.closing-line {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2.5rem !important;
}

/* ── Author ──────────────────────────────────────────────── */
.author {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  max-width: var(--max-wide);
  margin: 0 auto 5rem;
  padding: 4rem 2rem 0;
}

.author-photo img {
  width: 190px;
  height: 190px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(4px);
  background: rgba(12, 14, 19, 0.55);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.site-footer a:hover { color: var(--gold); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 680px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
    margin-top: 3rem;
  }

  .book-cover { width: 220px; }
  .hero-text h1 { font-size: 2.8rem; }
  .hook { max-width: 100%; }

  .author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}