:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #4a4643;
  --soft: #f7ece6;
  --ink: #090909;
  --ink-soft: #16110f;
  --gold: #d4a546;
  --gold-deep: #8f6521;
  --line: rgba(17, 17, 17, 0.08);
  --shadow: 0 24px 60px rgba(18, 12, 8, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #fff8f4 0, #fff 24px, #fff 100%);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 44px;
}

.section-heading h2,
.book-about-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 760px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-heading-light h2 {
  color: var(--gold);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 14px 24px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: #080808;
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.button-light {
  background: #fff;
  color: #111;
}

.button.small {
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
}

.site-header {
  position: relative;
  background: #fff;
  overflow: clip;
}



.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 18px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-image {
  display: block;
  width: min(176px, 100%);
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 42px;
  font-size: 1rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: #111;
  cursor: pointer;
  padding: 0;
  font-size: 1.3rem;
  line-height: 1;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.92);
}

.site-header-dark .nav-toggle {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.92);
}

.site-header-dark .nav-toggle:hover {
  background: rgba(0, 0, 0, 0.34);
}

.site-header-dark {
  background: transparent;
}

.site-header-dark::before {
  display: none;
}

.site-nav-light {
  color: rgba(255, 255, 255, 0.82);
}

.brand-image-light {
  width: min(210px, 100%);
}

.header-cta {
  box-shadow: none;
}

.masthead {
  padding: 80px 0 ;
}

.masthead h1 {
  margin: 0;
  text-align: center;
  font-family: "Aboreto", serif;
  font-size: clamp(4.4rem, 10vw, 9.8rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 0.9;
  white-space: nowrap;
}

.masthead-word {
  display: inline-block;
}

.masthead-gap {
  display: inline-block;
  width: 0.22em;
}

.masthead-word > span {
  display: inline-block;
  transition: transform 220ms ease;
}

.masthead-word > span:hover {
  animation: masthead-bounce 420ms ease;
}

@keyframes masthead-bounce {
  0% {
    transform: translateY(0);
  }

  35% {
    transform: translateY(-10px);
  }

  65% {
    transform: translateY(2px);
  }

  100% {
    transform: translateY(0);
  }
}

.hero-section {
  position: relative;
  overflow: visible;
  /* Ensure the entire background image is visible without cropping */
  background:
    linear-gradient(rgba(13, 10, 11, 0.2), rgba(13, 10, 11, 0.3)),
    url("images/Frame\ 3.png") center center / 100% 100% no-repeat;
  /* Set a fixed aspect ratio to show the whole banner image */
  aspect-ratio: 4 / 1;
  width: 100%;
  margin-bottom: 110px; /* Space for the book to poke out */
}

.book-mockup {
  width: 250px;
  aspect-ratio: 0.68;
  position: relative;
  margin-inline: auto;
  transform: rotate(10deg);
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.32));
}

.book-mockup::before,
.book-mockup::after {
  content: "";
  position: absolute;
  border-radius: 6px;
}

.book-mockup::before {
  inset: 8px -18px 8px auto;
  width: 20px;
  background: linear-gradient(180deg, #ece8df, #c8c1b5);
  transform: skewY(-10deg);
}

.book-mockup::after {
  inset: auto -10px -12px 0;
  height: 16px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 65%);
  transform: skewX(-40deg);
}

.book-face {
  height: 100%;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px;
  color: #fff4d2;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(5, 10, 22, 0.2), rgba(8, 8, 8, 0.76)),
    radial-gradient(circle at 48% 18%, rgba(255, 222, 147, 0.88), transparent 34%),
    linear-gradient(140deg, #2b3a4f 0%, #b56f34 52%, #111 100%);
}

.book-face strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 2.2vw, 2.6rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.back-cover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(15, 15, 15, 0.88)),
    linear-gradient(145deg, #3f3d42 0%, #222226 50%, #101010 100%);
}

.book-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero-visual {
  position: absolute;
  right: 8%; /* Position book to the right */
  bottom: -60px; /* Poke out of the section slightly */
  width: min(38%, 340px); /* Responsive width */
  z-index: 10;
}

.hero-book-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.6));
  transform: rotate(5deg); /* Slight tilt for realism */
}

@media (max-width: 720px) {
  .hero-section { aspect-ratio: 3 / 1; margin-bottom: 84px; }
  .hero-visual { width: min(64%, 280px); right: 6%; bottom: -42px; }
}

.author-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

.author-card {
  width: min(100%, 320px);
  margin-inline: auto;
  padding: 22px;
  background: #fff7ca;
}

.author-name {
  margin-bottom: 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.74;
  letter-spacing: -0.06em;
}

.author-photo {
  aspect-ratio: 0.83;
  background: url("images/Frame\ 7.png") center / cover no-repeat;
}

.author-copy {
  max-width: 760px;
}

.author-copy p {
  margin: 0 0 18px;
  color: #232222;
  font-size: 1.4rem;
  line-height: 1.85;
  letter-spacing: 0.01em;
}

.platforms-section {
  background: var(--soft);
}

.platforms-section {
  background: transparent;
}

.book-strip {
  display: flex;
  overflow: visible;
  margin: 0 auto;
  background: transparent;
  max-width: 1200px;
  align-items: center;
  min-height: 500px;
}

.book-panel {
  flex: 1;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  position: relative;
  color: #111;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  filter: grayscale(1) opacity(0.5);
  transform: scale(0.92);
  z-index: 1;
  background: transparent !important;
}

.carousel-book-img {
  width: auto;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
  margin-bottom: 20px;
  transition: height 0.6s ease, filter 0.6s ease;
}

.book-panel.active .carousel-book-img {
  height: 320px;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.25));
}

.book-panel.active {
  flex: 2.8;
  filter: grayscale(0) opacity(1);
  transform: scale(1);
  min-height: 480px;
  z-index: 2;
  color: #000;
}

.book-panel::after {
  display: none;
}

.book-panel-one,
.book-panel-two,
.book-panel-three {
  background: transparent !important;
}

.book-panel h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 280px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transition: transform 0.4s ease, font-size 0.4s ease;
}

.book-panel.active h3 {
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  transform: translateY(0);
}

.book-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin: -35px auto 0;
  padding: 10px 14px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 10;
}

.book-actions .button {
  border-radius: 12px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.88rem;
  background: #000;
  color: #fff;
  border: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.book-actions .button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1000px;
  margin: 60px auto 0;
}

.logo-grid img {
  height: 45px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

.book-about {
  background: #fff;
}

.book-about-card {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.book-about-visual {
  display: grid;
  place-items: center;
  min-height: 470px;
  background: radial-gradient(circle at 25% 20%, rgba(235, 194, 119, 0.2), transparent 20%),
    linear-gradient(135deg, #6f5945 0%, #2d1e18 45%, #171310 100%);
}

.book-about-img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
  transform: rotate(4deg);
}

.book-about-copy {
  padding: 54px 52px;
  background: #000;
  color: #fff;
}

.book-about-copy h2 {
  margin-bottom: 20px;
}

.book-about-copy p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.35rem;
  line-height: 1.7;
}

.trailer-section {
  background:
    radial-gradient(circle at 76% 50%, rgba(225, 174, 121, 0.16), transparent 22%),
    radial-gradient(circle at 23% 84%, rgba(214, 139, 78, 0.08), transparent 18%),
    linear-gradient(135deg, #201a17 0%, #3d2e28 55%, #9f8470 100%);
}

.trailer-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trailer-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 999px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.trailer-tab {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.trailer-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.video-card {
  width: min(980px, 100%);
  height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 28px 60px rgba(15, 10, 8, 0.26);
  display: none;
}

.video-card.active {
  display: block;
}

.video-embed {
  position: absolute;
  inset: 0;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-card-1 {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55)),
    url("images/Frame 3.png") center center / cover no-repeat;
}

.video-card-2 {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55)),
    url("images/Frame 7.png") center center / cover no-repeat;
}

.video-card-3 {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55)),
    url("images/Frame 9.png") center center / cover no-repeat;
}

.live-badge,
.video-meta-left,
.video-meta-right {
  position: absolute;
  z-index: 1;
  color: #fff;
}

.live-badge {
  top: 26px;
  left: 26px;
  padding: 10px 18px;
  border-radius: 6px;
  background: #eb1117;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.play-button::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid rgba(27, 27, 27, 0.9);
  transform: translate(-30%, -50%);
}

.video-meta-left {
  left: 26px;
  bottom: 22px;
  font-size: 1.7rem;
}

.video-meta-right {
  top: 34px;
  right: 26px;
  font-size: 1.6rem;
}

.testimonials-section {
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  padding: 34px 28px;
  background: linear-gradient(180deg, #fff, #fdfcf9);
  border: 1px solid rgba(210, 176, 102, 0.55);
  box-shadow: 0 12px 32px rgba(18, 14, 10, 0.06);
  text-align: center;
}

.testimonial-card h3 {
  margin: 0 0 18px;
  font-size: 2rem;
}

.testimonial-card p {
  margin: 0;
  color: #33302d;
  line-height: 1.9;
}

.stars {
  margin-top: 26px;
  color: #f3bb25;
  font-size: 1.7rem;
  letter-spacing: 0.12em;
}

.contact-section {
  padding-top: 42px;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 42px;
  padding: 58px clamp(24px, 4vw, 52px);
  background: #000;
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-copy {
  padding: 18px 0;
}

.contact-copy h2 {
  margin-bottom: 12px;
  color: var(--gold);
}

.contact-copy p {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.35rem;
  line-height: 1.55;
}

.book-stack {
  position: relative;
  height: auto;
  margin-top: 52px;
}

.small-stack {
  position: absolute;
  width: 150px;
}

.small-stack.back {
  left: 18px;
  bottom: 14px;
  transform: rotate(-8deg);
}

.small-stack.front {
  left: 86px;
  bottom: 0;
  transform: rotate(6deg);
}

/* Image-based stack replacement */
.book-stack img {
  display: block;
  width: 220px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}

.contact-form {
  display: grid;
  gap: 26px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
}

.contact-form label {
  display: grid;
  gap: 14px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  padding: 0 0 12px;
  background: transparent;
  color: #fff;
  resize: vertical;
  outline: none;
}

.about-page {
  background: #fff;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 26px;
  color: #fff;
  min-height: 760px;
}

.about-page .about-hero {
  min-height: 100vh;
  width: 100vw;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 22%, rgba(178, 112, 46, 0.42), transparent 18%),
    linear-gradient(180deg, rgba(45, 22, 9, 0.2), rgba(45, 22, 9, 0.2)),
    url("images/book_mockup_04 copy 1.png") center 165px / cover no-repeat;
}

.about-page .about-hero::before {
  background:
    linear-gradient(180deg, rgba(45, 22, 9, 0.2), rgba(45, 22, 9, 0.2)),
    url("images/hero-about-bg.png") center center / cover no-repeat;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding-bottom: 40px;
}

.about-hero h1 {
  margin: 60px 0 30px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.3rem, 4vw, 4.8rem);
  font-weight: 500;
}

.about-hero-visual {
  width: min(100%, 800px);
  margin-bottom: 40px;
}

.shelf-mockup {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5));
}

.stat-row {
  width: min(100%, 1000px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: auto;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 15px;
}

.stat-dot {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #d4a546;
  flex-shrink: 0;
}

.stat-card div {
  display: flex;
  flex-direction: column;
}

.stat-card span {
  font-size: 0.85rem;
  opacity: 0.9;
}

.stat-card strong {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  line-height: 1;
  margin: 2px 0;
}

.about-bio-section {
  background: #fff;
  padding: 100px 0;
}

.about-bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.about-bio-visual {
  position: relative;
}

.author-name-overlay {
  position: absolute;
  top: -40px;
  left: -20px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 6vw, 6rem);
  line-height: 0.8;
  color: #4a4643;
  z-index: 2;
  margin: 0;
}

.about-portrait {
  width: 100%;
  aspect-ratio: 0.85;
  background-size: cover;
  background-position: center;
  box-shadow: 20px 20px 0 #f7ece6;
}

.about-bio-copy p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #333;
}

.about-highlight-banner {
  background: #d4a546;
  padding: 40px;
  text-align: center;
  color: #fff;
  margin-top: 40px;
}

.about-highlight-banner p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.6;
  font-style: italic;
}

.about-quote-section {
  background: #f9f9f9;
  padding: 100px 0;
}

.about-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.quote-copy p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: #111;
}

.quote-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

.contact-card-compact {
  width: min(920px, 100%);
}

.contact-page {
  background: #fff;
}

.contact-page-main {
  padding-bottom: 80px;
}

.contact-page-title {
  padding: 26px 0 34px;
}

.contact-page-title h1 {
  margin: 0;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.contact-page-section {
  padding: 12px 0 0;
}

.contact-page-card {
  margin-inline: auto;
}

.books-page {
  background: #fff;
}

.books-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: #fff;
  min-height: 760px;
  background: url(images/book_mockup_04\ copy\ 1.png);
}

/* Ensure the Books hero uses the same full-bleed background treatment as About */
.books-page .books-hero {
  min-height: 100vh;
  background: transparent;
}

.books-page .books-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(45, 22, 9, 0.2), rgba(45, 22, 9, 0.2)),
    url("images/hero-about-bg.png") center center / cover no-repeat;
}


.books-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding-bottom: 40px;
}

.books-hero h1 {
  margin: 60px 0 30px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.3rem, 4vw, 4.8rem);
  font-weight: 500;
  color: #fff;
}

.books-hero-visual {
  width: min(100%, 800px);
  margin-bottom: 40px;
}

.book-detail-section {
  background: #fff;
  padding: 100px 0;
}

.book-info-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.book-info-content h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 20px;
  color: #111;
}

.book-info-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #444;
}

.book-detail-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}

.book-trailer-block {
  text-align: center;
  margin-bottom: 80px;
}

.book-trailer-block h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.5rem;
  color: #d4a546;
  margin-bottom: 5px;
}

.book-subtitle {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  color: #666;
}

.video-mockup {
  position: relative;
  width: min(100%, 900px);
  margin: 0 auto 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-mockup iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.trailer-bg {
  width: 100%;
  height: auto;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-btn:hover {
  transform: scale(1.1);
}

.buy-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.publishing-platforms {
  text-align: center;
  margin-bottom: 80px;
}

.publishing-platforms h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 40px;
  color: #333;
}

.platform-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.platform-logos img {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.platform-logos img:hover {
  opacity: 1;
}

.book-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 100px 0;
}

.site-footer {
  margin-top: 68px;
  padding: 56px 0 38px;
  background: #000;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.8fr;
  gap: 34px;
}

.footer-logo .brand-mark {
  width: 46px;
  height: 38px;
}

.footer-logo .brand-image {
  width: 170px;
}

.footer-brand p {
  margin: 92px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 16px;
}

.footer-links h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1080px) {
  .header-row,
  .author-grid,
  .book-about-card,
  .contact-card,
  .footer-grid,
  .about-bio-grid,
  .about-quote-grid,
  .books-highlight-grid,
  .book-feature-card,
  .book-feature-card.reverse {
    grid-template-columns: 1fr;
  }

  .header-row {
    display: grid;
    justify-items: center;
  }

  .hero-grid,
  .author-grid,
  .book-about-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy p:last-child {
    margin-inline: auto;
  }

  .book-strip,
  .testimonial-grid,
  .logo-grid,
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

  .book-feature-card.reverse .feature-copy,
  .book-feature-card.reverse .feature-book {
    order: initial;
  }

  .book-actions {
    justify-content: center;
    padding-left: 0;
  }

  .footer-brand p {
    margin-top: 30px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 100%);
  }

  .section {
    padding: 66px 0;
  }

  .site-nav {
    gap: 14px 20px;
    font-size: 0.94rem;
  }

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

  .header-row > a.button {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 18px 16px;
    border-radius: 18px;
    background: #fff;
    color: #111;
    box-shadow: var(--shadow);
    z-index: 1200;
  }

  .header-row.nav-open .site-nav {
    display: grid;
    justify-items: start;
    gap: 14px;
  }

  .site-header-dark .site-nav {
    background: rgba(0, 0, 0, 0.92);
    color: rgba(255, 255, 255, 0.92);
  }

  .site-nav .nav-cta {
    display: inline-flex;
    width: 100%;
  }

  .site-header-dark .site-nav .nav-cta {
    background: #fff;
    color: #111;
  }

  .masthead {
    padding-bottom: 28px;
  }

  .brand-image {
    width: 148px;
  }

  .hero-grid {
    min-height: auto;
    padding: 40px 0 50px;
  }

  .book-mockup {
    width: 210px;
  }

  .author-copy p,
  .book-about-copy p,
  .contact-copy p {
    font-size: 1.02rem;
    line-height: 1.75;
  }

  .book-strip {
    flex-direction: column;
  }
  
  .book-panel {
    flex: none;
    min-height: 220px;
  }
  
  .book-panel.active {
    min-height: 380px;
  }

  .testimonial-grid,
  .logo-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .about-hero::before {
    background-position: center 72px;
    background-size: 96% auto;
  }

  .about-hero-inner {
    min-height: 500px;
  }

  .stat-row {
    padding-top: 330px;
  }

  .books-hero::before {
    background-position: center 110px;
    background-size: 100% auto;
  }

  .book-feature-card {
    padding: 24px 20px;
  }

  .feature-book,
  .catalog-book {
    width: 200px;
  }

  .highlight-stack {
    height: 400px;
  }

  .back-stack {
    left: 0;
  }

  .middle-stack {
    left: 92px;
  }

  .front-stack {
    left: 42px;
  }

  .about-bio-copy {
    padding-top: 0;
  }

  .quote-copy p {
    margin: 0;
  }

  .book-about-copy,
  .contact-card {
    padding: 28px 22px;
  }

  .trailer-tabs {
    width: 100%;
    border-radius: 24px;
  }

  .trailer-tab {
    width: 100%;
  }

  .play-button {
    width: 82px;
    height: 82px;
  }

  .video-meta-left,
  .video-meta-right {
    font-size: 1rem;
  }

  .site-footer {
    margin-top: 54px;
  }
}

.checkout-message {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.checkout-backdrop[hidden] {
  display: none;
}

.checkout-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
}

.checkout-modal {
  width: min(560px, 100%);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 22px 22px 26px;
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.checkout-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111;
}

.checkout-close {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.9rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.checkout-close:hover {
  background: rgba(17, 17, 17, 0.06);
}

.checkout-body {
  display: grid;
  gap: 18px;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
