/* ==========================================================================
   home.css — styles specific to index.html (Home / hero)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: -6% -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  object-position: center 60%;
  z-index: -3;
  filter: saturate(1.05) contrast(1.05);
}

@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.13) translate(-1.5%, -2%);
  }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      to top,
      rgba(10, 7, 6, 0.96) 0%,
      rgba(12, 8, 7, 0.55) 38%,
      rgba(14, 9, 8, 0.35) 62%,
      rgba(10, 7, 6, 0.75) 100%
    ),
    linear-gradient(
      to right,
      rgba(8, 6, 5, 0.5) 0%,
      rgba(8, 6, 5, 0) 35%,
      rgba(8, 6, 5, 0) 65%,
      rgba(8, 6, 5, 0.5) 100%
    );
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: inset 0 0 220px 60px rgba(5, 3, 3, 0.85);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 150px 6vw 90px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-inner .eyebrow {
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.15s;
}
.hero h1 {
  font-style: italic;
  font-weight: 600;

  line-height: 0.95;
  margin: 18px 0 6px;
  background: linear-gradient(
    180deg,
    #f4e3bd 0%,
    var(--gold) 55%,
    #a97c3f 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 22px rgba(201, 165, 103, 0.25));
  opacity: 0;
  animation: riseIn 1.1s ease forwards 0.35s;
}
.hero .subtitle {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(20px, 5vw, 30px);
  letter-spacing: 0.03em;
  color: var(--parchment-dim);
  margin-bottom: 34px;
  opacity: 0;
  animation: riseIn 1s ease forwards 0.6s;
}
.hero .lede {
  max-width: 620px;
  color: var(--parchment-dim);
  font-size: 25px;
  margin-bottom: 42px;
  opacity: 0;
  animation: riseIn 1s ease forwards 0.8s;
}
.hero-ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: riseIn 1s ease forwards 1s;
}
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--parchment-dim);
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
}
.scroll-cue .line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, var(--gold-soft), transparent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    animation: none;
  }
  .scroll-cue .line {
    animation: none;
  }
  .hero-inner * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
.hero-scrim {
  background: rgba(0, 0, 0, 0.35);
}
.hero-bg {
  filter: blur(5px);
  transform: scale(1.02);
}

/* ---------- confine the ember particles to this section only ----------
   #embers is `position:fixed; inset:0` in style.css, which makes it
   follow the whole page as you scroll. Overriding it here to
   `position:absolute` (sized to just the hero) means it scrolls away
   with the hero instead of bleeding into whatever section comes after it. */
#embers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  z-index: 5;
}

/* =========================================
   ABOUT THE AUTHOR
========================================= */

.author-preview {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;

  display: flex;
  align-items: center;

  padding: 80px 8%;

  /* Add your background image here */
  background-image: url("../assets/asas.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Soft light layer */

.author-preview-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(245, 242, 235, 0.18) 0%,
    rgba(245, 242, 235, 0.72) 35%,
    rgba(245, 242, 235, 0.11) 100%
  );

  pointer-events: none;
}

/* Main Layout */

.author-preview-inner {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 400px 1fr;

  align-items: center;
  gap: 110px;
}

/* =========================================
   AUTHOR IMAGE
========================================= */

.author-image-box {
  width: 100%;
  max-width: 300px;

  padding: 7px;

  background: #f8f6f1;

  border-radius: 18px;

  box-shadow: 0 15px 40px rgba(50, 40, 30, 0.12);
}

.author-image-box img {
  display: block;

  width: 100%;
  aspect-ratio: 3 / 4;

  object-fit: cover;

  border-radius: 12px;
}

/* =========================================
   AUTHOR CONTENT
========================================= */

.author-content {
  max-width: 680px;
}

/* Small heading */

.author-eyebrow {
  display: block;

  margin-bottom: 22px;

  font-family: "Cinzel", serif;
  font-size: 18px;
  font-weight: 500;

  letter-spacing: 0.35em;
  text-transform: uppercase;

  color: #9a733d;
}

/* Author Name */

.author-content h2 {
  margin: 0 0 22px;

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 600;

  line-height: 1;

  color: #352b24;
}

/* Description */

.author-content p {
  max-width: 650px;

  margin: 0 0 12px;

  font-family: "EB Garamond", serif;

  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 400;

  line-height: 1.8;

  letter-spacing: 0.02em;

  color: #000000;
}

/* =========================================
   READ MORE BUTTON
========================================= */

.author-btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 170px;

  margin-top: 30px;
  padding: 17px 35px;

  border: 1px solid #ad803e;
  border-radius: 50px;

  font-family: "Cinzel", serif;
  font-size: 11px;
  font-weight: 500;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  color: #94703d;
  text-decoration: none;

  transition: all 0.35s ease;
}

.author-btn:hover {
  background: #94703d;
  color: #fffaf2;

  transform: translateY(-3px);

  box-shadow: 0 10px 25px rgba(148, 112, 61, 0.22);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
  .author-preview {
    padding: 90px 7%;
  }

  .author-preview-inner {
    grid-template-columns: 300px 1fr;
    gap: 60px;
  }

  .author-image-box {
    max-width: 280px;
  }
}

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

@media (max-width: 700px) {
  .author-preview {
    min-height: auto;

    padding: 80px 7%;

    background-position: center;
  }

  .author-preview-overlay {
    background: rgba(245, 242, 235, 0.82);
  }

  .author-preview-inner {
    grid-template-columns: 1fr;

    text-align: center;

    gap: 45px;
  }

  .author-image-box {
    max-width: 270px;
    margin: auto;
  }

  .author-content {
    margin: auto;
  }

  .author-eyebrow {
    letter-spacing: 0.25em;
  }

  .author-content h2 {
    font-size: 52px;
  }

  .author-content p {
    font-size: 19px;
    line-height: 1.65;
  }

  .author-btn {
    margin-top: 25px;
  }
}

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

.hero-copy {
  opacity: 0;
  transform: translateX(-60px);
  animation: fadeLeft 1s ease forwards;
  animation-delay: 0.2s;
}

.hero-book {
  opacity: 0;
  transform: translateX(80px) rotate(8deg);
  animation: bookReveal 1.2s ease forwards;
  animation-delay: 0.6s;
}

.hero-book img {
  animation: floating 6s ease-in-out infinite 2s;
}

.hero-title {
  opacity: 0;
  transform: translateY(25px);

  animation: titleReveal 0.9s ease forwards;

  animation-delay: 0.4s;
}

.hero-tag,
.hero-lede {
  opacity: 0;

  transform: translateY(20px);

  animation: fadeUp 0.8s ease forwards;
}

.hero-tag {
  animation-delay: 0.7s;
}

.hero-lede {
  animation-delay: 0.9s;
}

.hero-actions a {
  opacity: 0;

  transform: translateY(20px);
}

.hero-actions a:nth-child(1) {
  animation: fadeUp 0.8s ease forwards;

  animation-delay: 1.1s;
}

.hero-actions a:nth-child(2) {
  animation: fadeUp 0.8s ease forwards;

  animation-delay: 1.3s;
}

/* Background */

.hero-media img {
  animation: heroZoom 18s ease-in-out infinite alternate;
}

/* Floating Book */

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* Background Zoom */

@keyframes heroZoom {
  0% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1.09);
  }
}

/* Book Reveal */

@keyframes bookReveal {
  0% {
    opacity: 0;

    transform: translateX(80px) rotate(8deg) scale(0.9);
  }

  100% {
    opacity: 1;

    transform: translateX(0) rotate(0) scale(1);
  }
}

/* Left Reveal */

@keyframes fadeLeft {
  to {
    opacity: 1;

    transform: translateX(0);
  }
}

/* Up Reveal */

@keyframes fadeUp {
  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* Title */

@keyframes titleReveal {
  to {
    opacity: 1;

    transform: translateY(0);
  }
}
.hero-copy,
.hero-book,
.hero-title,
.hero-tag,
.hero-lede,
.hero-actions a {
  opacity: 0;
}

.hero.show .hero-copy {
  animation: fadeLeft 1s forwards;
}

.hero.show .hero-title {
  animation: titleReveal 0.8s 0.2s forwards;
}

.hero.show .hero-tag {
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero.show .hero-lede {
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero.show .hero-book {
  animation: bookReveal 1.2s 0.6s forwards;
}

.hero.show .hero-actions a:nth-child(1) {
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero.show .hero-actions a:nth-child(2) {
  animation: fadeUp 0.8s 1.1s forwards;
}

/* ============================================================
    HOME — hero with drifting embers, synopsis, theme strip, CTA
    ============================================================ */

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--umber-deep);
}
.hero-media {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 50% 35%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      rgba(12, 6, 3, 0.253) 0%,
      rgba(27, 14, 7, 0.6) 40%,
      rgba(27, 14, 7, 0.08) 65%
    ),
    linear-gradient(90deg, rgba(12, 6, 3, 0.55) 0%, rgba(12, 6, 3, 0) 48%);
}
.embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ember-particle {
  position: absolute;
  bottom: -10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 9px 2px rgba(242, 197, 113, 0.85);
  opacity: 0;
  animation-name: rise;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}
@keyframes rise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-92vh) translateX(var(--drift, 20px));
    opacity: 0;
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 0 var(--edge) 6rem;
  max-width: 640px;
}
.hero-title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(4.2rem, 12vw, 8rem);
  line-height: 0.85;
  color: var(--gold);
  margin: 0.4rem 0 0;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.hero-rule {
  width: 120px;
  height: 1px;
  margin: 1.1rem 0 1rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero-tag {
  font-family: var(--font-caps);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--parchment);
  margin-bottom: 1.5rem;
}
.hero-lede {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 2rem;
  line-height: 1.7;
  color: #ffffff;

  margin-bottom: 2.3rem;
  text-align: justify;
  text-indent: 40px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  right: var(--edge);
  bottom: 2.4rem;
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(244, 233, 216, 0.5);
  border-radius: 14px;
  display: block;
}
.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 50%;
  translate: -50% 0;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(14px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ---------- synopsis ---------- */
.synopsis {
  background: var(--parchment);
  padding: 5.5rem var(--edge) 4rem;
}
.synopsis-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.synopsis h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-style: italic;
  font-weight: 500;
  margin: 0.6rem 0 1.6rem;
  color: var(--ink);
}
.synopsis-text {
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--ink-soft);
}
.pull-quote {
  margin: 3.2rem 0 0;
  padding: 2rem 0 0 2rem;
  border-left: 2px solid var(--rust);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.js-reveal .pull-quote {
  opacity: 0;
  transform: translateY(14px);
}
.pull-quote.in-view {
  opacity: 1;
  transform: translateY(0);
}
.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--rust);
}

/* ---------- theme strip ---------- */
.themes {
  position: relative;
  background: var(--umber-deep);
  padding: 3.4rem var(--edge);
  overflow: hidden;
}
.theme-list {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem 2rem;
}
.theme-word {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  color: var(--gold-dim);
  position: relative;
}
.themes li {
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.js-reveal .themes li {
  opacity: 0;
  transform: translateY(10px);
}
.themes li.in-view {
  opacity: 1;
  transform: translateY(0);
}
.themes li:not(:last-child) .theme-word::after {
  content: "\2726";
  position: absolute;
  right: -1.5rem;
  top: 0.2rem;
  font-size: 0.7rem;
  color: var(--rust-bright);
}
@media (max-width: 640px) {
  .theme-list {
    justify-content: flex-start;
  }
  .themes li:not(:last-child) .theme-word::after {
    display: none;
  }
}

/* ---------- cta band ---------- */
.cta-band {
  background:
    radial-gradient(ellipse at 15% 10%, #e8d6b8, transparent 55%),
    var(--parchment-dim);
  padding: 5.5rem var(--edge);
}
.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}
.cta-inner h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  margin: 0.6rem 0 1.1rem;
}
.cta-inner p {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 56ch;
}

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

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;

  align-items: center;

  overflow: hidden;
}

.hero-container {
  position: relative;

  z-index: 10;

  width: 100%;

  max-width: 1350px;

  margin: auto;

  padding: 0 6%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 80px;
}

/* ==========================
   LEFT CONTENT
========================== */

.hero-copy {
  max-width: 620px;
}

.hero-title {
  margin: 10px 0;
}

.hero-lede {
  margin-top: 25px;
}

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

.hero-book {
  flex-shrink: 0;

  display: flex;

  justify-content: center;

  align-items: center;
}

.hero-book img {
  width: 420px;

  max-width: 100%;

  filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.55));

  transition: 0.6s;
}

.hero-book img:hover {
  transform: translateY(-10px) rotate(-2deg) scale(1.03);
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 1100px) {
  .hero-container {
    flex-direction: column;

    text-align: center;

    padding-top: 120px;

    padding-bottom: 80px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-book {
    order: 1;

    margin-bottom: 50px;
  }

  .hero-book img {
    width: 300px;
  }

  .hero-actions {
    justify-content: center;
  }
}
.hero-title {
  font-family: "Allura", cursive;
  font-size: clamp(5rem, 20vw, 8rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.01em;
  color: #e7bf6a;

  text-shadow:
    0.5px 0 #e7bf6a,
    -0.5px 0 #e7bf6a,
    0 0.5px #e7bf6a,
    0 -0.5px #e7bf6a,
    1px 1px rgba(0, 0, 0, 0.15),
    2px 2px rgba(0, 0, 0, 0.25),
    5px 12px 24px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(232, 180, 90, 0.2);

  margin: 0;
}

.scorch-divider {
  position: relative;
  width: 100%;
  height: 80px;
  background: var(--umber-deep);
  overflow: hidden;
}

/* SVG shape */
.scorch-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* THE LINE */
.scorch-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
}

.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-scrim,
.grain,
.embers {
  z-index: 1;
}

.hero-container {
  transform: translateY(50px);
}

/* ==========================================
   SECOND SECTION ANIMATION
   Triggers when .hero gets .animate
========================================== */

/* Initial state — hidden before scrolling to hero */
.hero .hero-copy,
.hero .hero-book {
  opacity: 0;
}

/* ==========================================
   TRIGGER EXISTING ANIMATIONS
========================================== */

.hero.animate .hero-copy {
  animation: heroCopyReveal 1s ease forwards;
  animation-delay: 0.2s;
}

.hero.animate .hero-book {
  animation: heroBookReveal 1.2s ease forwards;
  animation-delay: 0.4s;
}

/* ==========================================
   COPY ANIMATION
========================================== */

@keyframes heroCopyReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   BOOK ANIMATION
========================================== */

@keyframes heroBookReveal {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.logo-intro {
  height: 100vh !important;
  min-height: 100vh !important;
}
/* ==========================================
   ABOUT THE BOOK — HOMEPAGE
========================================== */

.home-about-book {
  position: relative;
  padding: 110px 6%;
  background: #f7f1e7;
  color: #2b211b;
  text-align: center;
  overflow: hidden;
}

.home-about-book::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at center,
    rgba(196, 145, 75, 0.1),
    transparent 65%
  );

  pointer-events: none;
}

.home-about-book-inner {
  position: relative;
  z-index: 2;

  width: min(850px, 100%);
  margin: 0 auto;
}

/* Eyebrow */

.home-about-eyebrow {
  display: block;
  margin-bottom: 18px;

  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;

  color: #a87532;
}

/* Heading */

.home-about-book h2 {
  margin: 0;

  font-family: "Cinzel", serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.2;

  color: #30231b;
}

.home-about-book h2 em {
  color: #a87532;
  font-family: "Cormorant Garamond", serif;
}

/* Decorative line */

.home-about-rule {
  width: 75px;
  height: 1px;

  margin: 28px auto;

  background: linear-gradient(to right, transparent, #c58a3a, transparent);
}

/* Description */

.home-about-book p {
  max-width: 720px;
  margin: 0 auto 32px;

  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  line-height: 1.7;

  color: #5b4a3d;
}

.home-about-book p em {
  color: #8f642c;
}

/* Button */

.home-about-button {
  display: inline-block;

  padding: 14px 30px;

  border: 1px solid #b77b32;

  background: transparent;

  color: #8f642c;

  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;

  text-decoration: none;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.home-about-button:hover {
  background: #b77b32;
  color: #fffaf2;

  transform: translateY(-3px);

  box-shadow: 0 10px 25px rgba(100, 65, 30, 0.18);
}

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

@media (max-width: 600px) {
  .home-about-book {
    padding: 75px 7%;
  }

  .home-about-book h2 {
    font-size: 34px;
  }

  .home-about-book p {
    font-size: 18px;
    line-height: 1.6;
  }

  .home-about-button {
    padding: 13px 25px;
  }
}

/* =========================================================
   HOME — ABOUT THE BOOK
========================================================= */

.home-about-book {
  position: relative;
  overflow: hidden;

  padding: 120px 7%;

  background: #f3eee4;

  color: #351416;

  text-align: center;
}

/* =========================================================
   CONTENT
========================================================= */

.home-about-book-inner {
  width: min(850px, 100%);

  margin: 0 auto;

  position: relative;
  z-index: 2;
}

/* =========================================================
   EYEBROW
========================================================= */

.home-about-eyebrow {
  display: inline-block;

  margin-bottom: 18px;

  font-family: "Cinzel", Georgia, serif;

  font-size: 0.72rem;
  font-weight: 600;

  letter-spacing: 0.28em;

  text-transform: uppercase;

  color: #8b5d29;

  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   HEADING
========================================================= */

.home-about-book h2 {
  margin: 0;

  font-family: "Cormorant Garamond", Georgia, serif;

  font-size: clamp(3rem, 6vw, 5.5rem);

  font-weight: 600;

  line-height: 0.98;

  letter-spacing: -0.035em;

  color: #351416;

  opacity: 0;

  transform: translateY(35px);

  transition:
    opacity 1s ease 0.12s,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.home-about-book h2 em {
  display: block;

  margin-top: 0.08em;

  font-style: italic;

  color: #8b3f28;
}

/* =========================================================
   DECORATIVE RULE
========================================================= */

.home-about-rule {
  width: 100px;
  height: 1px;

  margin: 30px auto;

  background: linear-gradient(90deg, transparent, #9b6b29, transparent);

  opacity: 0;

  transform: scaleX(0);

  transition:
    opacity 0.8s ease 0.3s,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

/* =========================================================
   PARAGRAPH
========================================================= */

.home-about-book p {
  max-width: 720px;

  margin: 0 auto 35px;

  font-family: "EB Garamond", Georgia, serif;

  font-size: clamp(1.15rem, 2vw, 1.35rem);

  font-weight: 500;

  line-height: 1.85;

  color: #4b3027;

  opacity: 0;

  transform: translateY(30px);

  transition:
    opacity 0.9s ease 0.4s,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}

.home-about-book p em {
  color: #71351f;

  font-weight: 600;
}

/* =========================================================
   BUTTON
========================================================= */

.home-about-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 210px;

  padding: 16px 30px;

  position: relative;

  overflow: hidden;

  font-family: "Cinzel", Georgia, serif;

  font-size: 0.72rem;

  font-weight: 600;

  letter-spacing: 0.15em;

  text-transform: uppercase;

  text-decoration: none;

  color: #ead7b6;

  background: #632421;

  border: 1px solid #632421;

  box-shadow: 0 12px 28px rgba(53, 20, 22, 0.18);

  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 0.8s ease 0.55s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

/* button shine */

.home-about-button::before {
  content: "";

  position: absolute;

  top: 0;
  left: -120%;

  width: 70%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );

  transform: skewX(-20deg);

  transition: left 0.7s ease;
}

.home-about-button:hover::before {
  left: 140%;
}

.home-about-button:hover {
  background: #7a3028;

  box-shadow: 0 16px 35px rgba(53, 20, 22, 0.28);

  transform: translateY(-3px);
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.home-about-book.is-visible .home-about-eyebrow {
  opacity: 1;

  transform: translateY(0);
}

.home-about-book.is-visible h2 {
  opacity: 1;

  transform: translateY(0);
}

.home-about-book.is-visible .home-about-rule {
  opacity: 1;

  transform: scaleX(1);
}

.home-about-book.is-visible p {
  opacity: 1;

  transform: translateY(0);
}

.home-about-book.is-visible .home-about-button {
  opacity: 1;

  transform: translateY(0);
}

/* =========================================================
   SUBTLE TOP / BOTTOM LINES
========================================================= */

.home-about-book::before,
.home-about-book::after {
  content: "";

  position: absolute;

  left: 7%;
  right: 7%;

  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(99, 36, 33, 0.35),
    transparent
  );
}

.home-about-book::before {
  top: 0;
}

.home-about-book::after {
  bottom: 0;
}

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

@media (max-width: 600px) {
  .home-about-book {
    padding: 85px 20px;
  }

  .home-about-book h2 {
    font-size: 3.2rem;
  }

  .home-about-book p {
    font-size: 1.1rem;

    line-height: 1.75;
  }

  .home-about-button {
    width: 100%;
    max-width: 280px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .home-about-book *,
  .home-about-book::before,
  .home-about-book::after {
    transition: none !important;
    animation: none !important;
  }

  .home-about-eyebrow,
  .home-about-book h2,
  .home-about-rule,
  .home-about-book p,
  .home-about-button {
    opacity: 1 !important;
    transform: none !important;
  }
}

.home-about-book {
  padding: 70px 7%;
}

.home-about-book-inner {
  max-width: 700px;
}

.home-about-eyebrow {
  margin-bottom: 12px;
  font-size: 0.65rem;
}

.home-about-book h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.home-about-rule {
  margin: 20px auto;
}

.home-about-book p {
  max-width: 620px;
  margin-bottom: 25px;
  font-size: 1.5rem;
  line-height: 1.7;
}

.home-about-button {
  min-width: 180px;
  padding: 13px 25px;
  font-size: 0.67rem;
}

@media (max-width: 600px) {
  .home-about-book {
    padding: 60px 20px;
  }

  .home-about-book h2 {
    font-size: 2.7rem;
  }

  .home-about-book p {
    font-size: 1.05rem;
  }
}

.logo-intro {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 100vh;
}

.logo-intro-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.logo-intro-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.logo-intro-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

/* ================================
   ANIMATED VIDEO
================================ */

.animated-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.animated-logo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1px);
  transform: scale(1.01);
}

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

.book-hero {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;

  width: 100%;
  min-height: 100vh;

  padding: 80px 40px;
  box-sizing: border-box;
}

/* ================================
   BOOK COVER
================================ */

.book-cover {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-cover img {
  display: block;
  width: 400px;
  max-width: 100%;
  height: auto;

  object-fit: cover;

  border-radius: 4px;
}

/* ================================
   BOOK INFO
================================ */

.book-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  max-width: 550px;
}

.book-title {
  margin: 0 0 12px;

  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.1;
}

.book-author {
  margin: 0 0 30px;

  font-size: 1.1rem;
}

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

.book-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;

  gap: 18px;

  width: 100%;
}

/* Both buttons ALWAYS have
   exactly the same dimensions */

.book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 210px;

  width: 210px;
  height: 52px;

  padding: 0;
  margin: 0;

  box-sizing: border-box;

  border: 1px solid transparent;
  border-radius: 30px;

  text-decoration: none;

  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;

  white-space: nowrap;

  cursor: pointer;

  /* Important: prevents either button
     from being pushed up/down */
  position: static;

  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

/* About the Author */

.author-btn {
  background: #ffffff;
  color: #111111;
}

.author-btn:hover {
  transform: translateY(-2px);

  background: #f1f1f1;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Explore the Book */

.book-page-btn {
  background: transparent;
  color: #ffffff;

  border-color: #ffffff;
}

.book-page-btn:hover {
  transform: translateY(-2px);

  background: #ffffff;
  color: #111111;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ================================
   SCROLL INDICATOR
================================ */

.scroll-indicator {
  position: absolute;

  left: 50%;
  bottom: 30px;

  z-index: 3;

  transform: translateX(-50%);

  text-align: center;
}

.scroll-indicator a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  color: #ffffff;

  text-decoration: none;
}

.scroll-text {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.glow-arrow {
  position: relative;

  display: block;

  width: 12px;
  height: 12px;

  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;

  transform: rotate(45deg);

  animation: scrollArrow 1.8s ease-in-out infinite;
}

@keyframes scrollArrow {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.5;
  }

  50% {
    transform: rotate(45deg) translate(5px, 5px);
    opacity: 1;
  }
}

/* ================================
   TABLET
================================ */

@media (max-width: 900px) {
  .book-hero {
    gap: 40px;
    padding: 70px 30px;
  }

  .book-cover img {
    width: 260px;
  }

  .book-info {
    max-width: 450px;
  }

  .book-buttons {
    gap: 12px;
  }

  .book-btn {
    flex-basis: 190px;
    width: 190px;
  }
}

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

@media (max-width: 700px) {
  .book-hero {
    flex-direction: column;

    gap: 30px;

    padding: 70px 20px 100px;

    text-align: center;
  }

  .book-cover img {
    width: 220px;
  }

  .book-info {
    align-items: center;
    max-width: 100%;
  }

  .book-title {
    font-size: 2rem;
  }

  .book-author {
    margin-bottom: 25px;
  }

  .book-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 12px;
  }

  .book-btn {
    flex: 0 0 auto;

    width: 210px;
    height: 52px;
  }

  .scroll-indicator {
    bottom: 20px;
  }
}

.book-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.book-title {
  margin: 0;

  font-family: "Great Vibes", cursive;

  font-size: clamp(4rem, 15vw, 8rem);

  font-weight: 400;

  line-height: 0.9;

  color: #f3cf7a;

  letter-spacing: 1px;

  text-shadow:
    2px 0 0 #f3cf7a,
    -2px 0 0 #f3cf7a,
    0 2px 0 #f3cf7a,
    0 -2px 0 #f3cf7a,
    1.5px 1.5px 0 #f3cf7a,
    -1.5px -1.5px 0 #f3cf7a,
    1.5px -1.5px 0 #f3cf7a,
    -1.5px 1.5px 0 #f3cf7a,
    0 4px 10px rgba(0, 0, 0, 0.45);
}

/* LINE UNDER THE TITLE */

.title-divider {
  width: 100%;
  max-width: 420px;

  height: 1px;

  margin: 18px 0 14px;

  background: linear-gradient(to right, transparent, #f3cf7a, transparent);

  opacity: 0.8;
}

/* BOOK SUBTITLE */

.book-subtitle {
  margin: 0 0 30px;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(1rem, 2vw, 1.5rem);

  font-style: italic;

  font-weight: 400;

  letter-spacing: 1px;

  color: #ffffff;

  text-transform: none;
}

.book-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 13px 28px;

  background: #f3cf7a;
  color: #1a1a1a;

  border: 1px solid #f3cf7a;
  border-radius: 3px;

  text-decoration: none;

  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;

  transition: none;
}

/* NO HOVER EFFECT */
.book-btn:hover,
.book-btn:focus,
.book-btn:active {
  background: #f3cf7a;
  color: #1a1a1a;
  border-color: #f3cf7a;
  text-decoration: none;

  transform: none;
  box-shadow: none;
}
/* =========================================================
   CINEMATIC HOMEPAGE OPENING
========================================================= */

/* Prevent animation from showing before the page is ready */
.logo-intro {
  position: relative;
  overflow: hidden;
}

/* ---------------------------------------------------------
   BACKGROUND
--------------------------------------------------------- */

.logo-intro-bg {
  opacity: 0;
  transform: scale(1.08);

  animation:
    introBackground 2.2s ease forwards;

  animation-delay: 0.1s;
}

@keyframes introBackground {

  0% {
    opacity: 0;
    transform: scale(1.08);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }

}


/* ---------------------------------------------------------
   OVERLAY
--------------------------------------------------------- */

.logo-intro-overlay {
  opacity: 0;

  animation:
    introOverlay 1.8s ease forwards;

  animation-delay: 0.5s;
}

@keyframes introOverlay {

  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

}


/* ---------------------------------------------------------
   MAIN CONTENT
--------------------------------------------------------- */

.logo-intro-content {
  position: relative;
  z-index: 5;
}


/* ---------------------------------------------------------
   ANIMATED LOGO / VIDEO
--------------------------------------------------------- */

.animated-logo {
  opacity: 0;
  transform: translateY(-35px) scale(0.96);
  filter: blur(8px);

  animation:
    introLogo 1.5s cubic-bezier(.22, 1, .36, 1) forwards;

  animation-delay: 0.8s;
}

@keyframes introLogo {

  0% {
    opacity: 0;
    transform: translateY(-35px) scale(0.96);
    filter: blur(8px);
  }

  60% {
    opacity: 1;
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

}


/* ---------------------------------------------------------
   BOOK HERO
--------------------------------------------------------- */

.book-hero {
  opacity: 0;
  transform: translateY(35px);

  animation:
    introBookHero 1.3s cubic-bezier(.22, 1, .36, 1) forwards;

  animation-delay: 1.2s;
}

@keyframes introBookHero {

  0% {
    opacity: 0;
    transform: translateY(35px);
  }

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

}


/* ---------------------------------------------------------
   BOOK COVER
--------------------------------------------------------- */

.book-cover {
  opacity: 0;
  transform: translateX(-45px) rotate(-2deg);
  filter: blur(5px);

  animation:
    introBookCover 1.3s cubic-bezier(.22, 1, .36, 1) forwards;

  animation-delay: 1.45s;
}

@keyframes introBookCover {

  0% {
    opacity: 0;
    transform: translateX(-45px) rotate(-2deg);
    filter: blur(5px);
  }

  70% {
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateX(0) rotate(0);
    filter: blur(0);
  }

}


/* ---------------------------------------------------------
   BOOK INFORMATION
--------------------------------------------------------- */

.book-info {
  opacity: 0;
  transform: translateX(45px);

  animation:
    introBookInfo 1.3s cubic-bezier(.22, 1, .36, 1) forwards;

  animation-delay: 1.6s;
}

@keyframes introBookInfo {

  0% {
    opacity: 0;
    transform: translateX(45px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }

}


/* ---------------------------------------------------------
   TITLE
--------------------------------------------------------- */

.book-heading .book-title {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(5px);

  animation:
    introTitle 1.2s ease forwards;

  animation-delay: 1.8s;
}

@keyframes introTitle {

  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

}


/* ---------------------------------------------------------
   TITLE DIVIDER
--------------------------------------------------------- */

.title-divider {
  transform: scaleX(0);
  transform-origin: center;

  animation:
    introDivider 1s ease forwards;

  animation-delay: 2.25s;
}

@keyframes introDivider {

  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }

}


/* ---------------------------------------------------------
   SUBTITLE
--------------------------------------------------------- */

.book-subtitle {
  opacity: 0;
  transform: translateY(15px);

  animation:
    introSubtitle 1s ease forwards;

  animation-delay: 2.4s;
}

@keyframes introSubtitle {

  0% {
    opacity: 0;
    transform: translateY(15px);
  }

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

}


/* ---------------------------------------------------------
   DESCRIPTION
--------------------------------------------------------- */

.book-info > p:not(.book-author) {
  opacity: 0;
  transform: translateY(15px);

  animation:
    introDescription 1s ease forwards;

  animation-delay: 2.6s;
}

@keyframes introDescription {

  0% {
    opacity: 0;
    transform: translateY(15px);
  }

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

}


/* ---------------------------------------------------------
   AUTHOR
--------------------------------------------------------- */

.book-author {
  opacity: 0;
  transform: translateY(15px);

  animation:
    introAuthor 1s ease forwards;

  animation-delay: 2.8s;
}

@keyframes introAuthor {

  0% {
    opacity: 0;
    transform: translateY(15px);
  }

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

}


/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */

.book-buttons {
  opacity: 0;
  transform: translateY(20px);

  animation:
    introButtons 1s cubic-bezier(.22, 1, .36, 1) forwards;

  animation-delay: 3s;
}

@keyframes introButtons {

  0% {
    opacity: 0;
    transform: translateY(20px);
  }

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

}


/* ---------------------------------------------------------
   BUTTON HOVER
--------------------------------------------------------- */

.book-btn {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.book-btn:hover {
  transform: translateY(-4px);
}


/* ---------------------------------------------------------
   SCROLL INDICATOR
--------------------------------------------------------- */

.scroll-indicator {
  opacity: 0;
  transform: translateY(15px);

  animation:
    introScroll 1s ease forwards;

  animation-delay: 3.5s;
}

@keyframes introScroll {

  0% {
    opacity: 0;
    transform: translateY(15px);
  }

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

}


/* =========================================================
   SUBTLE BOOK FLOATING EFFECT
========================================================= */

.book-cover img {
  animation:
    bookFloat 6s ease-in-out infinite;

  animation-delay: 4.5s;
}

@keyframes bookFloat {

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

  50% {
    transform: translateY(-8px);
  }

}


/* =========================================================
   SCROLL INDICATOR ANIMATION
========================================================= */

.glow-arrow {
  animation:
    arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(7px);
  }

}


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

@media (max-width: 767px) {

  .animated-logo {
    animation-delay: 0.5s;
  }

  .book-hero {
    animation-delay: 0.9s;
  }

  .book-cover {
    animation-delay: 1.1s;
    transform: translateY(30px);
  }

  .book-info {
    animation-delay: 1.3s;
    transform: translateY(30px);
  }

  .book-heading .book-title {
    animation-delay: 1.5s;
  }

  .title-divider {
    animation-delay: 1.9s;
  }

  .book-subtitle {
    animation-delay: 2s;
  }

  .book-info > p:not(.book-author) {
    animation-delay: 2.2s;
  }

  .book-author {
    animation-delay: 2.4s;
  }

  .book-buttons {
    animation-delay: 2.6s;
  }

  .scroll-indicator {
    animation-delay: 3s;
  }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .logo-intro-bg,
  .logo-intro-overlay,
  .animated-logo,
  .book-hero,
  .book-cover,
  .book-info,
  .book-heading .book-title,
  .title-divider,
  .book-subtitle,
  .book-info > p:not(.book-author),
  .book-author,
  .book-buttons,
  .scroll-indicator {

    animation: none !important;

    opacity: 1 !important;

    transform: none !important;

    filter: none !important;

  }

}