/* ==================================================
   BASE / PAPER BACKGROUND
================================================== */

body {
  margin: 0;
  font-family: Georgia, serif;
  background-color: #2a211b;
  color: #f2eadf;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.05), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(0,0,0,0.25), transparent 65%),
    repeating-linear-gradient(
      135deg,
      rgba(0,0,0,0.04),
      rgba(0,0,0,0.04) 1px,
      transparent 1px,
      transparent 5px
    );
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.55) 100%
  );
  pointer-events: none;
  z-index: -1;
}

/* ==================================================
   TYPOGRAPHY
================================================== */

h1, h2, h3, h4 {
  color: #fff4e6;
  letter-spacing: 0.02em;
}

p, li {
  color: #e8dfd2;
}

.tagline {
  font-size: 1.2rem;
  color: #e0d6c6;
  max-width: 680px;
  margin: 0 auto;
}

.subtitle,
.book-subtitle,
.exclusive-label,
.preview-end,
.site-footer {
  color: #cbbca8;
}

/* ==================================================
   LAYOUT
================================================== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* ==================================================
   SITE HEADER
================================================== */

.site-header {
  position: relative;
  min-height: 200px;
  background:
    linear-gradient(rgba(20,14,10,0.22), rgba(20,14,10,0.22)),
    url("/assets/images/img/wide-shot-cover.webp");
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -80px 90px rgba(0,0,0,0.75);
}

.site-header * {
  position: relative;
  z-index: 2;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title,
.main-nav a {
  color: #f3eadc;
  text-decoration: none;
}

.main-nav a {
  margin-left: 20px;
}

.main-nav a:hover {
  color: #ffffff;
}

/* ==================================================
   HERO
================================================== */

.hero {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 1.25rem;
}

.hero h1 {
  font-size: 3rem;
  margin: 0 0 10px 0;
  color: #fff6e8;
}

.hero-exclusive {
  margin-top: 24px;
  padding: 28px;
  background: rgba(40,30,22,0.9);
  border: 1px solid rgba(255,220,180,0.35);
}

.exclusive-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-exclusive h2,
.hero-exclusive p {
  color: #f3eadc;
}

/* ==================================================
   EXCLUSIVE BANNER (FINAL)
================================================== */

.exclusive-banner {
  margin: 1.5rem auto;
  max-width: 820px;
}

.exclusive-banner img {
  width: 100%;
  display: block;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

/* ==================================================
   BUTTONS
================================================== */

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px solid #d2b48c;
  background: transparent;
  color: #f3eadc;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.btn:hover {
  background: rgba(210,180,140,0.2);
  color: #ffffff;
}

.btn-primary {
  background: #1f1712;
  border-color: #f3eadc;
}

.btn-primary:hover {
  background: #000;
}

/* ==================================================
   BOOK GRID & CARDS
================================================== */

.books h2 {
  margin-bottom: 30px;
  font-size: 2rem;
}

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

.book-card {
  background: rgba(50,38,30,0.95);
  border: 1px solid rgba(255,220,180,0.15);
  box-shadow:
    0 8px 20px rgba(0,0,0,0.6),
    inset 0 0 60px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}
.book-meta {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.book-card .description {
  margin-top: 0.5rem;
  margin-bottom: 1rem;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* ==================================================
   BOOK TITLE BUTTONS
================================================== */

.book-card h2 {
  margin: 0.85rem 0 0.6rem;
}

.book-card h2 a {
  display: inline-block;
  padding: 0.45rem 0.75rem;

  border: 1px solid rgba(210,180,140,0.45);
  background: rgba(35,26,20,0.65);

  color: #fff4e6;
  text-decoration: none;

  font-family: Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.15s ease;
}

/* Hover: restrained, confident */
.book-card h2 a:hover {
  background: rgba(210,180,140,0.2);
  border-color: #f3eadc;
  color: #ffffff;
  transform: translateY(-1px);
}


/* ==================================================
   BOOK PAGE
================================================== */

.book-cover {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.book-cover img {
  max-width: 320px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.book-divider {
  margin: 2rem auto;
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

/* ==================================================
   BOOK POSTERS
================================================== */

.book-poster {
  margin: 0 auto;
  max-width: 640px;
  text-align: center;
}

.book-poster img {
  width: 100%;
  border-radius: 4px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 10px 28px rgba(0,0,0,0.45);
}

/* ==================================================
   PREVIEWS
================================================== */

.preview-content {
  line-height: 1.75;
}

.preview-content p {
  margin-bottom: 1.6em;
  max-width: 720px;
}

/* ==================================================
   FOOTER
================================================== */

.site-footer {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid #d6ccb9;
  font-size: 0.85rem;
}

.footer-links a {
  font-size: 0.75rem;
  color: #cbbca8;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #f3eadc;
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {
  .book-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1rem;
  }

  .exclusive-banner {
    max-width: 92%;
  }
}

.audio-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid #8b6f47;
  color: #e6dccf;
  text-decoration: none;
  font-weight: bold;
}

.audio-btn:hover {
  background: #8b6f47;
  color: #1a1410;
}
.exclusive-banner {
  display: block;
}

.exclusive-banner img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exclusive-banner:hover img {
  transform: scale(1.01);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.audio-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #a99f90;
  font-style: italic;
}
.book-trailer-wrapper {
  margin-bottom: 2rem;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

.book-trailer {
  width: 100%;
  height: auto;
  display: block;
}
.book-trailer-wrapper {
  max-width: 420px;          /* match book cover width */
  margin: 2rem auto;         /* centers it perfectly */
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

.book-trailer {
  width: 100%;
  height: auto;
  display: block;
}
.book-coming-soon {
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.25);
  margin-top: 1.5rem;
}

.coming-soon-label {
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.coming-soon-copy {
  margin-top: 0.5rem;
}

.notify-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.85;
}
.btn-disabled {
  display: inline-block;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
  background: transparent;
  cursor: default;
  pointer-events: none;
  font-style: italic;
}
.book-card .btn,
.book-card .btn-primary,
.book-card .btn-secondary,
.book-card .btn-disabled {
  margin-top: auto;
}
.books-grid {
  align-items: stretch;
}
.book-card {
  overflow: hidden;
}

.book-card img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* ==================================================
   CONTACT PAGE
================================================== */

.contact-page {
  max-width: 720px;
}

.contact-intro p {
  margin-bottom: 1.4rem;
}

.contact-email {
  margin: 2.5rem 0;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.contact-email a {
  color: #fff4e6;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
}

.contact-email a:hover {
  color: #ffffff;
  border-bottom-color: #f3eadc;
}

.contact-note {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #cbbca8;
}
/* ==================================================
   CONTACT PAGE
================================================== */

.contact-page {
  max-width: 720px;
}

.contact-intro p {
  margin-bottom: 1.4rem;
}

.contact-form {
  margin-top: 2.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.25);
  color: #f3eadc;
  font-family: Georgia, serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f3eadc;
}

.contact-confirmation {
  margin-top: 2rem;
}

.contact-note {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #cbbca8;
}

.book-podcast a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}


.podcast-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

.book-hook {
  font-size: 1.05rem;
  font-style: italic;
  opacity: 0.9;
  margin: 1rem 0 1.5rem;
}

.book-description summary {
  cursor: pointer;
  margin-top: 1.5rem;
  font-weight: 600;
}
.feature-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
}

.feature-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

.feature-copy {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #f2eadf;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
}

.book-poster.atmospheric img {
  width: 100%;
  display: block;
  filter: sepia(0.15) contrast(0.9);
  box-shadow: none;
}

details.book-description {
  margin-top: 2rem;
}

/* ==================================================
   BOOK PAGE — FINAL REFINEMENT (SCOPED)
================================================== */

.book-page .book-layout.compact {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
}

.book-page .book-details {
  max-width: 640px;
}

.book-page .book-details > * + * {
  margin-top: 1.25rem;
}

/* Hook */

.book-page .book-hook {
  font-size: 1.1rem;
  font-style: italic;
  opacity: 0.85;
}

/* CTA hierarchy */

.book-page .cta-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.75rem;
}

.book-page .cta-row::after {
  content: "";
  display: block;
  margin-top: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.book-page .cta-row .btn-primary {
  background: #000;
  border-color: #f3eadc;
  font-size: 1rem;
  padding: 0.7rem 1.6rem;
}

.book-page .cta-row .btn-secondary {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Podcast (editorial, not CTA) */

.book-page .book-podcast {
  font-size: 0.85rem;
  opacity: 0.75;
}

.book-page .book-podcast a {
  color: #d2b48c;
  border-bottom: 1px solid rgba(210,180,140,0.5);
  text-decoration: none;
}

.book-page .book-podcast a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Audio */

.book-page .book-audio {
  padding: 1.25rem 1.5rem;
  background: rgba(20,15,12,0.55);
  border-left: 3px solid rgba(139,111,71,0.55);
}

.book-page .book-audio audio {
  width: 100%;
  opacity: 0.85;
}

/* Poster as atmosphere */

.book-page .book-poster.atmospheric {
  margin-top: 3.5rem;
  max-width: 520px;
  opacity: 0.6;
  position: relative;
}

.book-page .book-poster.atmospheric img {
  filter: sepia(0.2) contrast(0.85) brightness(0.9);
}

.book-page .book-poster.atmospheric::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(42,33,27,0.85),
    transparent 30%,
    transparent 70%,
    rgba(42,33,27,0.85)
  );
}

/* Mobile */

@media (max-width: 768px) {
  .book-page .book-layout.compact {
    grid-template-columns: 1fr;
  }

  .book-page .cta-row {
    flex-direction: column;
  }
}
/* ==================================================
   STICKY BUY BAR (BOOK PAGE ONLY)
================================================== */

.book-page .sticky-buy {
  position: fixed;
  bottom: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 1rem;

  padding: 0.6rem 0.9rem;
  background: rgba(15, 11, 8, 0.92);
  border: 1px solid rgba(243,234,220,0.35);

  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;

  transition:
    opacity 0.4s ease,
    transform 0.4s ease;

  z-index: 999;
}

.book-page .sticky-buy.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.book-page .sticky-title {
  font-size: 0.8rem;
  opacity: 0.75;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .book-page .sticky-buy {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: space-between;
  }

  .book-page .sticky-title {
    display: none;
  }
}
/* ==================================================
   MOBILE BOOK PAGE TIGHTENING
================================================== */

@media (max-width: 768px) {

  .book-page .book-layout.compact {
    gap: 1.5rem;
  }

  .book-page .book-cover img {
    max-width: 240px;
  }

  .book-page h1 {
    font-size: 1.75rem;
  }

  .book-page .book-hook {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .book-page .cta-row {
    gap: 0.6rem;
  }

  .book-page .book-audio {
    padding: 1rem;
  }

  .book-page .book-podcast {
    font-size: 0.8rem;
  }

  .book-page .book-poster.atmospheric {
    margin-top: 2.5rem;
    opacity: 0.55;
  }
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
/* ==================================================
   CONTACT FORM — MODERN, QUIET, PROFESSIONAL
================================================== */

.contact-page {
  max-width: 720px;
  margin: 0 auto;
}

.contact-page h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-intro p,
.contact-note p {
  max-width: 60ch;
  opacity: 0.9;
}

/* FORM */

.contact-form {
  margin: 2.5rem 0;
  display: grid;
  gap: 1.4rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  margin-top: 0.35rem;
  padding: 0.6rem 0.7rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9);
  background-color: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(255,255,255,0.7);
}

/* TEXTAREA */

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* SUBJECT DROPDOWN — CLEAN */

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.7) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.7) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 55%,
    calc(100% - 13px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* CHECKBOX — NORMALIZED */

.contact-form .checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

.contact-form .checkbox input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: rgba(255,255,255,0.75);
}


/* BUTTON */

.contact-form button {
  margin-top: 1.2rem;
  align-self: flex-start;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: inherit;
  cursor: pointer;
}

.contact-form button:hover {
  border-color: rgba(255,255,255,0.9);
}

/* CONFIRMATION */

.contact-confirmation p {
  max-width: 60ch;
}

.contact-form select option {
  background-color: #1f1a16; /* dark, warm brown */
  color: #f2eadf;            /* your site text color */
}
.contact-error {
  margin: 1.5rem 0;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255,255,255,0.35);
  font-size: 0.85rem;
  opacity: 0.85;
}
.cover-link {
  position: relative;
  display: block;
}
.badge-exclusive {
  position: absolute;
  top: 10px;
  left: 10px;
   font-style: italic;
  background: rgba(20,14,10,0.85);
  border: 1px solid rgba(255,220,180,0.6);
  color: #f3eadc;
  opacity: 0.9;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  padding: 6px 10px;
  z-index: 3;

  pointer-events: none; /* important: doesn't block clicks */
}
.books-page .book-forthcoming a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
}

.books-page .book-forthcoming a:hover {
  border-bottom-color: rgba(255,255,255,0.6);
}
.books-page .book-forthcoming {
  font-size: 0.9rem;
  color: #666;
  margin: 0.5rem 0 1.5rem;
}

.books-page .book-forthcoming a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
}

.books-page .book-forthcoming a:hover {
  border-bottom-color: rgba(255,255,255,0.6);
}