/* ============================================================
   Book Landing Page — "Before the Day Becomes Forever"
   Design: Lachlan & Monique's story
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 400;
  background: #fff5e6;
  color: #1a0406;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- PAGE WRAPPER ---------- */
.page {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- COLOUR TOKENS ---------- */
:root {
  --burgundy: #6b0f1a;
  --burgundy-dark: #4a0810;
  --gold: #c9a84c;
  --cream: #fff5e6;
  --text-dark: #1a0406;
  --font-heading: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'Crimson Pro', Georgia, serif;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 16px 32px;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--burgundy);
  color: var(--cream);
  border: 1px solid var(--gold);
}

.btn--primary:hover {
  background: var(--burgundy-dark);
  color: var(--cream);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn--outline:hover {
  background: rgba(201, 168, 76, 0.1);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  background: var(--burgundy);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 120px 80px;
  overflow: hidden;
}

.hero__texture {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
}

.hero__texture-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__mockup {
  width: 380px;
  height: 570px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.53);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.hero__mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  z-index: 1;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 80px;
  line-height: 1.1;
  color: var(--cream);
}

.hero__tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 24px;
  color: var(--gold);
}

.hero__author {
  font-family: var(--font-heading);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cream);
  opacity: 0.8;
}

.hero__actions {
  display: flex;
  gap: 24px;
  z-index: 1;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  width: 100%;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 160px 80px;
}

.about__inner {
  position: relative;
  width: 900px;
  max-width: 100%;
  border: 1px solid var(--burgundy);
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 80px;
}

.about__texture {
  position: absolute;
  inset: -1px;
  opacity: 0.03;
  pointer-events: none;
}

.about__texture-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 48px;
  line-height: 1.2;
  color: var(--burgundy);
  text-align: center;
  z-index: 1;
}

.about__divider {
  width: 200px;
  height: 16px;
  flex-shrink: 0;
  z-index: 1;
}

.about__divider-img {
  width: 100%;
  height: 100%;
  display: block;
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.6;
  color: var(--text-dark);
  text-align: center;
  z-index: 1;
}

/* ============================================================
   PRAISE / CHAPTERS
   ============================================================ */
.praise {
  position: relative;
  width: 100%;
  background: var(--burgundy-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 80px;
  overflow: hidden;
}

.praise__texture {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
}

.praise__texture-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.praise__chapters {
  display: flex;
  gap: 48px;
  width: 100%;
  z-index: 1;
}

.chapter {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.chapter__label {
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--gold);
  white-space: nowrap;
}

.chapter__quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 28px;
  line-height: 1.3;
  color: var(--cream);
  text-align: center;
}

.chapter__detail {
  font-family: var(--font-body);
  font-size: 16px;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  width: 100%;
  background: var(--burgundy);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 120px 80px;
  overflow: hidden;
}

.footer__texture {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
}

.footer__texture-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  z-index: 1;
}

.footer__heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 48px;
  color: var(--cream);
}

.footer__subtitle {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--gold);
  max-width: 1221px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 80px;
  z-index: 1;
}

.footer__icon {
  width: 24px;
  height: 24px;
}

.footer__icon-img {
  width: 100%;
  height: 100%;
}

.footer__copyright {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--cream);
  opacity: 0.5;
  white-space: nowrap;
}

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

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .hero {
    padding: 80px 40px;
    gap: 48px;
  }

  .hero__title {
    font-size: 52px;
  }

  .hero__mockup {
    width: 280px;
    height: 420px;
  }

  .about {
    padding: 100px 40px;
  }

  .about__inner {
    padding: 48px;
  }

  .about__quote {
    font-size: 36px;
  }

  .about__body {
    font-size: 18px;
  }

  .praise {
    padding: 80px 40px;
  }

  .praise__chapters {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .chapter__label {
    font-size: 20px;
  }

  .chapter__quote {
    font-size: 24px;
  }

  .footer {
    padding: 80px 40px;
    gap: 36px;
  }

  .footer__heading {
    font-size: 36px;
  }

  .footer__subtitle {
    font-size: 18px;
  }
}

/* Mobile (≤640px) */
@media (max-width: 640px) {
  .hero {
    padding: 60px 24px;
    gap: 32px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__tagline {
    font-size: 18px;
  }

  .hero__author {
    font-size: 14px;
  }

  .hero__mockup {
    width: 220px;
    height: 330px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .about {
    padding: 60px 24px;
  }

  .about__inner {
    padding: 32px 24px;
    gap: 32px;
  }

  .about__quote {
    font-size: 28px;
  }

  .about__body {
    font-size: 16px;
  }

  .about__divider {
    width: 140px;
    height: 12px;
  }

  .praise {
    padding: 60px 24px;
  }

  .chapter__label {
    font-size: 18px;
    white-space: normal;
    text-align: center;
  }

  .chapter__quote {
    font-size: 22px;
  }

  .chapter__detail {
    font-size: 14px;
    white-space: normal;
  }

  .footer {
    padding: 60px 24px;
    gap: 24px;
  }

  .footer__heading {
    font-size: 28px;
  }

  .footer__subtitle {
    font-size: 16px;
  }

  .footer__bottom {
    padding-top: 40px;
  }
}
