/* ══════════════════════════════════════════════════════════════
   888thereceipt.com  –  The Receipt by William M. Omanoff
   Design: Dark Sacred / Ancient Linen / Gold Illuminated
   ══════════════════════════════════════════════════════════════ */

/* ── Root Variables ── */
:root {
  --gold:        #c9a84c;
  --gold-light:  #f0d080;
  --gold-dim:    #8a6b2c;
  --ivory:       #f3ead6;
  --parchment:   #e8d9b5;
  --cream:       #fdf6e3;
  --dark-bg:     #0d0a07;
  --dark-mid:    #12100c;
  --dark-panel:  #1a1510;
  --dark-card:   #201810;
  --text-main:   #e0cfa0;
  --text-muted:  #a08c60;
  --text-light:  #f0e8cc;
  --red-dark:    #6b1a1a;
  --shadow-gold: 0 0 40px rgba(201,168,76,0.25);
  --shadow-deep: 0 20px 60px rgba(0,0,0,0.7);
  --font-serif:  'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-display:'Cinzel', Georgia, serif;
  --font-deco:   'Cinzel Decorative', 'Cinzel', Georgia, serif;
}

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

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

body {
  font-family: var(--font-serif);
  background-color: var(--dark-bg);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
}

/* Subtle linen texture overlay on body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Utility ── */
.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.3em 1.1em;
  margin-bottom: 1.2rem;
}

.section-heading-center {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--ivory);
  text-align: center;
  margin-bottom: 0.8rem;
}

.section-subheading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
  line-height: 1.65;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.95em 2.4em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, #a07228 0%, #c9a84c 50%, #a07228 100%);
  color: #0d0a07;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.55);
  color: #0d0a07;
}

.btn-secondary {
  background: transparent;
  color: var(--gold-light);
  border: 1.5px solid var(--gold-dim);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
  background: rgba(201,168,76,0.06);
}

/* ── Music Button ── */
.music-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(20,15,8,0.88);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65em 1.1em;
  cursor: pointer;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
  user-select: none;
}
.music-btn:hover {
  background: rgba(30,22,12,0.95);
  border-color: var(--gold);
  box-shadow: 0 4px 28px rgba(201,168,76,0.3);
}
.music-btn.playing {
  border-color: var(--gold);
  color: var(--gold-light);
  animation: pulse-gold 2.5s infinite;
}
#music-icon {
  font-size: 1.1rem;
  line-height: 1;
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 4px 20px rgba(201,168,76,0.3); }
  50%       { box-shadow: 0 4px 36px rgba(201,168,76,0.6); }
}

#yt-container {
  position: fixed;
  width: 1px;
  height: 1px;
  left: -9999px;
  top: -9999px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
  background: rgba(10, 7, 3, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-deco);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-logo:hover { color: var(--gold-light); }

.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  text-decoration: none;
}
.nav-links a:hover { color: var(--gold); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(10,7,3,0.97);
  border-top: 1px solid rgba(201,168,76,0.2);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1.1rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s, padding-left 0.2s;
}
.nav-mobile a:hover { color: var(--gold); padding-left: 2.5rem; }

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 90px 2rem 4rem;
  max-width: 1140px;
  margin: 0 auto;
  gap: 3rem;
  overflow: hidden;
}

/* Full-bleed hero background */
#hero::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 70% 40%, rgba(100,60,10,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 20% 60%, rgba(40,15,5,0.25) 0%, transparent 70%),
    linear-gradient(160deg, #0d0a07 0%, #110e08 40%, #0d0a07 100%);
  z-index: -1;
}

.hero-overlay {
  display: none;
}

.hero-content {
  flex: 1 1 50%;
  max-width: 580px;
  z-index: 1;
  animation: fadeInLeft 1s ease both;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1.2rem;
}

.hero-title {
  line-height: 1.1;
  margin-bottom: 1rem;
}
.title-the {
  display: block;
  font-family: var(--font-deco);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.08em;
}
.title-receipt {
  display: block;
  font-family: var(--font-deco);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  background: linear-gradient(135deg, #a07228, #f0d080, #c9a84c, #8a6b2c, #f0d080);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-gold 4s linear infinite;
  letter-spacing: -0.01em;
}

@keyframes shimmer-gold {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--ivory);
  font-style: italic;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.hero-subtitle strong {
  font-style: normal;
  color: var(--gold);
}

.hero-author {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scroll-drop 1.8s ease-in-out infinite;
}
@keyframes scroll-drop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

.hero-book-wrap {
  flex: 0 0 auto;
  position: relative;
  width: clamp(240px, 36vw, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 1.2s ease both;
}

.hero-book-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse, rgba(201,168,76,0.22) 0%, transparent 65%);
  border-radius: 50%;
  animation: book-glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes book-glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.06); }
}

.hero-book-anim {
  width: 100%;
  border-radius: 4px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.8),
    0 0 60px rgba(201,168,76,0.2),
    inset 0 0 0 1px rgba(201,168,76,0.1);
  position: relative;
  z-index: 1;
}

@keyframes fadeInLeft  { from { opacity:0; transform:translateX(-30px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(30px);  } to { opacity:1; transform:translateX(0); } }

/* ── Section Divider ── */
.section-divider {
  margin-top: -2px;
  line-height: 0;
  background: linear-gradient(160deg, #0d0a07 0%, #110e08 100%);
}
.section-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* ── Pull Quote ── */
#pull-quote {
  background: var(--dark-bg);
  padding: 6rem 0;
  position: relative;
}
#pull-quote::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
  transform: translateY(-50%);
}

.big-quote {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.big-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--ivory);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.big-quote p::before { content: '\201C'; color: var(--gold); font-size: 1.4em; line-height: 0; vertical-align: -0.3em; margin-right: 0.05em; }
.big-quote p::after  { content: '\201D'; color: var(--gold); font-size: 1.4em; line-height: 0; vertical-align: -0.3em; margin-left:  0.05em; }
.big-quote cite {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ── Sections common ── */
.section-dark {
  background: var(--dark-mid);
  padding: 7rem 0;
  position: relative;
}
.section-mid {
  background: var(--dark-panel);
  padding: 7rem 0;
  text-align: center;
}
.section-mid .section-tag { display: block; text-align: center; margin-bottom: 1.2rem; }

/* ── About Book ── */
.book-section {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
}

.book-covers {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: clamp(180px, 22vw, 260px);
  position: sticky;
  top: 90px;
}

.cover-front-wrap {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-deep), var(--shadow-gold);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.cover-front-wrap:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 60px rgba(201,168,76,0.35);
}

.cover-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 80%;
  height: 200%;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
  transform: rotate(20deg);
  animation: cover-shimmer 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes cover-shimmer {
  0%, 100% { left: -100%; }
  50%       { left: 130%;  }
}

.cover-front { width: 100%; border-radius: 3px; display: block; }
.cover-back  {
  width: 100%;
  border-radius: 3px;
  box-shadow: var(--shadow-deep);
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s;
}
.cover-back:hover { opacity: 1; transform: translateY(-4px); }

.book-info { flex: 1; }
.book-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: var(--ivory);
  line-height: 1.25;
  margin-bottom: 1.6rem;
}
.book-info p {
  color: var(--text-main);
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}
.book-info strong { color: var(--gold); font-style: normal; }
.book-info em { color: var(--ivory); }
.book-info .bold-cta {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ivory);
  border-left: 3px solid var(--gold);
  padding-left: 1.2rem;
  margin: 1.8rem 0;
}

/* ── Shroud Cards ── */
.shroud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  text-align: left;
}

.shroud-card {
  background: var(--dark-card);
  border: 1px solid rgba(201,168,76,0.1);
  padding: 2.2rem 1.8rem;
  border-radius: 2px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.shroud-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.shroud-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 16px 50px rgba(0,0,0,0.5), var(--shadow-gold);
}
.shroud-card:hover::before { opacity: 1; }

.shroud-card-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  filter: grayscale(30%);
}
.shroud-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}
.shroud-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Author Section ── */
.author-section {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
}

.author-img-wrap {
  flex: 0 0 auto;
  width: clamp(200px, 24vw, 300px);
  position: relative;
}
.author-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse, rgba(201,168,76,0.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.author-img {
  width: 100%;
  border-radius: 2px;
  box-shadow: var(--shadow-deep), 0 0 40px rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.2);
  position: relative;
  z-index: 1;
  transition: transform 0.4s, box-shadow 0.4s;
}
.author-img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-deep), 0 0 60px rgba(201,168,76,0.3);
}

.author-bio { flex: 1; }
.author-bio h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--ivory);
  margin-bottom: 1.6rem;
}
.author-bio p {
  color: var(--text-main);
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}
.author-bio em { color: var(--ivory); }

/* ── Buy Section ── */
.section-buy {
  position: relative;
  padding: 8rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(100,60,10,0.2) 0%, transparent 70%),
    var(--dark-bg);
  overflow: hidden;
}
.buy-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='%23c9a84c' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}
.buy-inner { position: relative; z-index: 1; }
.buy-inner .section-tag { display: block; text-align: center; margin-bottom: 1.2rem; }

.buy-heading {
  font-family: var(--font-deco);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--ivory);
  margin-bottom: 1rem;
}
.buy-sub {
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.buy-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.buy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: var(--dark-card);
  border: 1px solid rgba(201,168,76,0.18);
  padding: 2.5rem 3rem;
  min-width: 260px;
  max-width: 320px;
  border-radius: 2px;
  text-decoration: none;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.buy-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(201,168,76,0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.buy-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,168,76,0.45);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), var(--shadow-gold);
}
.buy-card:hover::before { opacity: 1; }

.buy-card-logo {
  height: 36px;
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
}
.amazon-svg, .bn-svg { height: 30px; }

.buy-card-action {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--ivory);
  font-weight: 600;
}
.buy-card-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.buy-card-arrow {
  font-size: 1.3rem;
  color: var(--gold);
  margin-top: 0.4rem;
  transition: transform 0.3s;
}
.buy-card:hover .buy-card-arrow { transform: translateX(5px); }

.isbn-note {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ── Footer ── */
#footer {
  background: #080603;
  border-top: 1px solid rgba(201,168,76,0.12);
  padding-top: 5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-title {
  font-family: var(--font-deco);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.footer-tagline {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}
.footer-by {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.footer-col ul a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  padding: 2rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(160,140,90,0.4);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}
.footer-seo-note {
  font-size: 0.72rem !important;
  color: rgba(100,80,40,0.25) !important;
  letter-spacing: 0.04em !important;
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  #hero {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    padding-top: 100px;
  }
  .hero-ctas { justify-content: center; }
  .hero-scroll-hint { align-items: center; }
  .hero-book-wrap { width: clamp(200px, 55vw, 320px); }

  .book-section {
    flex-direction: column;
    align-items: center;
  }
  .book-covers {
    position: static;
    flex-direction: row;
    width: 100%;
    max-width: 420px;
    justify-content: center;
  }
  .cover-front-wrap { width: 48%; }
  .cover-back { width: 48%; }

  .author-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .author-img-wrap { width: clamp(180px, 50vw, 260px); }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  html { font-size: 15px; }

  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  .section-dark, .section-mid, .section-buy { padding: 5rem 0; }

  #pull-quote { padding: 4rem 0; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-col:first-child { grid-column: auto; }

  .buy-cards { flex-direction: column; align-items: center; }
  .buy-card { min-width: 80%; }

  .music-btn { bottom: 1.2rem; right: 1.2rem; }
}
