:root {
  --charcoal: #151a1f;
  --ink: #242a31;
  --muted: #6b7280;
  --gold: #b9822f;
  --soft-gold: #f4eadb;
  --blue: #081c35;
  --cream: #fbf8f2;
  --white: #ffffff;
  --line: #e8e1d7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--cream); }
a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,248,242,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .78rem; }
.brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 50%; background: white; }
.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: .95rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--gold); }
.hero { max-width: 1180px; margin: 0 auto; padding: 96px 24px 70px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 44px; }
.eyebrow { margin: 0 0 14px; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 800; }
h1, h2, h3 { color: var(--charcoal); line-height: 1.05; }
h1 { margin: 0; font-size: clamp(3rem, 7vw, 5.9rem); letter-spacing: -.06em; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.04em; }
h3 { margin: 0; font-size: 1.35rem; }
.lead { max-width: 650px; margin: 28px 0; font-size: 1.2rem; color: #4b5563; line-height: 1.7; }
.hero-actions, .card-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 999px; text-decoration: none; font-weight: 800; border: 1px solid transparent; }
.btn.primary { background: var(--gold); color: white; box-shadow: 0 14px 28px rgba(185,130,47,.22); }
.btn.secondary { border-color: var(--gold); color: var(--charcoal); background: transparent; }
.hero-card { background: white; border: 1px solid var(--line); border-radius: 28px; padding: 34px; text-align: center; box-shadow: 0 24px 70px rgba(20,25,31,.08); }
.hero-card img { width: min(100%, 360px); display: block; margin: 0 auto 16px; }
.hero-card p { color: var(--muted); margin: 0 0 8px; }
.hero-card strong { letter-spacing: .12em; font-size: .82rem; text-transform: uppercase; }
.intro { max-width: 920px; margin: 0 auto; padding: 64px 24px; text-align: center; }
.intro p, .promo-section p, .updates-section p, .purchase-card p, .book-info p { color: var(--muted); line-height: 1.7; }
.books-section, .purchase-section { max-width: 1180px; margin: 0 auto; padding: 72px 24px; }
.section-heading { margin-bottom: 28px; }
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.book-card { background: white; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: 0 18px 44px rgba(20,25,31,.06); }
.book-card.featured { grid-column: span 1; }
.book-cover { min-height: 320px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; color: white; position: relative; overflow: hidden; }
.book-cover:after { content: ""; position: absolute; inset: auto -30% -20% -30%; height: 140px; background: rgba(255,255,255,.08); transform: rotate(-6deg); }
.book-cover span { position: relative; z-index: 1; display: inline-flex; align-self: flex-start; border: 1px solid rgba(255,255,255,.35); padding: 6px 10px; border-radius: 999px; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; }
.book-cover h3 { position: relative; z-index: 1; color: white; font-size: 2rem; }
.book-cover p { position: relative; z-index: 1; margin: 8px 0 0; color: rgba(255,255,255,.78); }
.dark-blue { background: linear-gradient(135deg, #061328, #123b65); }
.gold { background: linear-gradient(135deg, #8f6426, #d2a75c); }
.charcoal { background: linear-gradient(135deg, #11161c, #3b424b); }
.book-info { padding: 24px; }
.subtitle { color: var(--gold) !important; font-weight: 800; margin: 8px 0; }
.text-link { color: var(--gold); font-weight: 800; text-decoration: none; }
.promo-section { max-width: 1180px; margin: 56px auto; padding: 48px; background: var(--blue); color: white; border-radius: 34px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.promo-section h2 { color: white; }
.promo-section p { color: rgba(255,255,255,.78); }
.signup-form { background: white; color: var(--ink); border-radius: 24px; padding: 24px; display: grid; gap: 10px; }
.signup-form label { font-weight: 800; font-size: .85rem; }
.signup-form input { width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px; font: inherit; }
.signup-form button { margin-top: 8px; border: 0; border-radius: 999px; padding: 14px 18px; background: var(--gold); color: white; font-weight: 900; cursor: pointer; }
.signup-form small { color: var(--muted); line-height: 1.5; }
.purchase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.purchase-card { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.updates-section { text-align: center; max-width: 900px; margin: 0 auto; padding: 72px 24px 92px; }
footer { background: white; border-top: 1px solid var(--line); padding: 36px 24px; text-align: center; color: var(--muted); }
footer img { width: 80px; height: 80px; object-fit: contain; }
footer a { color: var(--gold); text-decoration: none; font-weight: 800; }
@media (max-width: 900px) {
  .hero, .promo-section { grid-template-columns: 1fr; }
  .book-grid, .purchase-grid { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; }
  .nav-links { display: none; }
  .hero { padding-top: 60px; }
}

/* Updated book cover display while preserving the original bright design */
.book-grid { grid-template-columns: repeat(4, 1fr); }
.book-image-wrap { position: relative; background: linear-gradient(180deg, #fff, #f5efe5); padding: 18px; min-height: 390px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.book-image { width: 100%; max-height: 360px; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(20,25,31,.18)); border-radius: 6px; }
.status-pill { position: absolute; top: 18px; left: 18px; display: inline-flex; border: 1px solid rgba(185,130,47,.35); background: rgba(255,255,255,.88); color: var(--gold); padding: 6px 10px; border-radius: 999px; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
.book-card .book-info h3 { min-height: 2.7rem; }
@media (max-width: 1100px) { .book-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .book-grid { grid-template-columns: 1fr; } .book-image-wrap { min-height: 340px; } }


/* Final production adjustments: equal book cover sizing + hover enlargement */
.book-grid {
  align-items: stretch;
}
.book-card {
  overflow: visible;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 75px rgba(20,25,31,.16);
  border-color: rgba(185,130,47,.35);
  z-index: 5;
}
.book-image-wrap {
  height: 430px;
  min-height: 430px;
  overflow: visible;
}
.book-image {
  height: 360px;
  width: 240px;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  transform-origin: center center;
  transition: transform .3s ease, filter .3s ease;
}
.book-image-wrap:hover .book-image,
.book-card:hover .book-image {
  transform: scale(1.12);
  filter: drop-shadow(0 28px 32px rgba(20,25,31,.26));
}
@media (max-width: 700px) {
  .book-image-wrap { height: 390px; min-height: 390px; }
  .book-image { height: 330px; width: 220px; }
  .book-image-wrap:hover .book-image,
  .book-card:hover .book-image { transform: scale(1.06); }
}
