/* =====================================================
   Faith and Fortune — Splash Site
   Fonts: Bodoni STD (headings), Nexa (body) via Typekit
   ===================================================== */

:root {
  --maroon: #6b1a24;
  /* deep burgundy sections / header */
  /* --maroon-deep: #571018; */
  --maroon-deep: #451515;
  /* darker footer / overlays */
  --red: #a71d2a;
  /* accent headings, links, dividers */
  --cream: #f8f1e9;
  /* light section background */
  --cream-soft: #faf4ee;
  --text-dark: #2e2320;
  /* body text */
  --gold-line: #a71d2a;
  --header-bg: #A1333C;
}

/* ---------- Base ---------- */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "nexa", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.7;
}

/* Global overflow safety: no image or media ever exceeds its container */
img {
  max-width: 100%;
  height: auto;
}

.section-heading,
.author-name,
.site-title,
.collection-heading {
  font-family: "bodoni-std", "Didot", "Times New Roman", serif;
  font-weight: 400;
}

.text-red {
  color: var(--red) !important;
}

.text-cream {
  color: var(--cream) !important;
}

/* Underlined serif headings (matches the XD) */
.section-heading {
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  letter-spacing: .5px;
  display: inline-block;
  padding-bottom: .35rem;
  /* border-bottom: 2px solid currentColor; */
  margin-bottom: 1.25rem;
}

.body-copy,
.lead-copy {
  font-size: 1rem;
  line-height: 1.75;
}

.lead-copy {
  max-width: 100%;
}

.subhead {
  font-size: .95rem;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.release-date {
  color: var(--red);
  font-family: "bodoni-std", serif;
  font-size: clamp(1rem, 1.2vw, 1.1875rem) !important;
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: 0;
  letter-spacing: 1.5px;
  font-size: clamp(1rem, 1.2vw, 1.1875rem);
  font-weight: 600;
  padding: .7rem 1.9rem;
  text-transform: uppercase;
}

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

.btn-outline-maroon:hover {
  background: var(--maroon);
  color: var(--cream);
}

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

.btn-cream:hover {
  background: var(--cream);
  color: var(--maroon-deep);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--header-bg);
  color: var(--cream);
}

.site-title {
  font-size: clamp(1.4rem, 4vw, 3.5rem);
  line-height: normal;
  letter-spacing: 3px;
  color: var(--cream);
  /* max-width: 400px; */
}

.header-subtitle {
  background: var(--maroon-deep);
  color: var(--cream);
  font-size: 0.9375rem;
  letter-spacing: 2px;
  text-align: left !important;
}

.header-subtitle>div {
  text-align: left !important;
}

.social-icons a {
  color: var(--cream);
  font-size: clamp(1.5rem, 1.8vw, 2rem);
  margin-left: .6rem;
  transition: opacity .2s;
}

/* .social-icons a:hover {
  opacity: .7;
} */

/* ---------- Hero ---------- */
.hero {
  /* background: #fff; */
  margin-top: -100px;
}

.book-cover {
  width: 100%;
  max-width: 420px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  /* box-shadow: 0 12px 30px rgba(0, 0, 0, .25); */
}

p {
  font-size: 1.125rem !important;
}

/* ---------- Narrative band (maroon overlay) ---------- */
/* .narrative-band {

  padding: 4rem 0;
} */

.narrative-box {
  background: rgba(69, 21, 21, .85);
  color: var(--cream);
  padding: 1.5rem 2.5rem;
  text-align: center;
  font-family: "bodoni-std", serif;
  font-size: 1.5rem;
  line-height: 2.4rem;
  max-width: 600px;
}

.narrative-box p {
  font-size: 1.5rem !important;
  line-height: 2.4rem;
}

/* ---------- Ornate divider ---------- */
.ornate-divider {
  max-width: 220px;
  width: 60%;
  height: auto;
  display: inline-block;
  margin: 100px 0px !important;
}

/* ---------- Author bands ---------- */
.author-band {
  background: var(--cream);
  padding: 3rem 0;
  margin-bottom: 45px;
}


.author-photo {
  border-radius: 50%;
  max-width: 320px;
  aspect-ratio: 1;
  object-fit: cover;
  margin-top: -85px;
}

.author-name {
  font-size: 2.125rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: #000 !important;
}

/* ---------- Retailer logos ---------- */
.retailer-row .retailer-logo {
  /* max-height: 55px; */
  max-width: 214px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(10%);
  transition: transform .2s;
  max-height: 129px;
}

.retailer-row a:hover .retailer-logo {
  transform: scale(1.05);
}

/* ---------- Signed copy ---------- */
.signed-copy {

  min-height: 340px;
  display: flex;
  align-items: center;
}

.signed-copy-box {
  background: rgba(69, 21, 21, .88);
  padding: 90px 2rem;
  text-align: center;
}

.signed-copy-box h2 {
  margin-bottom: 0px !important;
}

.signed-copy-box .btn-cream {
  margin-top: 80px !important;
}

/* ---------- Collage ---------- */
.collage-grid {
  max-width: 900px;
  margin: 0 auto;
}

.collage-img {
  width: 100%;
  aspect-ratio: 425 / 300;
  object-fit: cover;
}

.collection-heading {
  /* font-size: 1.4rem; */
  color: #000 !important;
}

.caption {
  font-family: "bodoni-std", serif;
  font-style: italic;
  font-size: 1.125rem !important;
  color: var(--text-dark);
  line-height: normal !important;
}

.email-link {
  color: #000;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

.inquiries-section {
  padding-bottom: 100px;
}

/* ---------- Get the latest (signup) ---------- */
.get-latest {
  background: var(--maroon-deep);
  padding: 4rem 0;
}

.get-latest h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.75rem);
}

.signup-form {
  max-width: 420px;
  margin: 0 auto;
}

.signup-input {
  border-radius: 0;
  border: none;
  background: transparent !important;
  padding: .8rem 1rem;
  letter-spacing: 1px;
  text-align: center;
  border: 1px solid var(--cream);
  color: var(--cream);
  border-radius: 9px;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  -ms-border-radius: 9px;
  -o-border-radius: 9px;
  color: var(--cream) !important;
}

.signup-input::placeholder {
  color: var(--cream);
  letter-spacing: 1.5px;
}

.get-latest .btn-cream {
  background: #A1333C !important;
  border-color: #A1333C !important;
  width: 100%;
}

.get-latest .btn-cream:hover {
  background: var(--cream) !important;
  border-color: var(--cream) !important;
}

/* ---------- Footer image ---------- */
.footer-image img {
  display: block;
}

/* ---------- Coming soon ---------- */
.foundation-logo {
  max-width: 110px;
  height: auto;
}

/* ---------- Footer ---------- */
.site-footer {
  /* background: var(--maroon-deep); */
  /* color: var(--cream); */
}

.site-footer .social-icons a {
  color: #000;
  font-size: clamp(1.5rem, 1.8vw, 2rem);
}

.coming-soon h2 {
  font-size: 1.375rem !important;
  font-weight: bold !important;
}

.coming-soon {
  padding-bottom: 10px !important;
}

.site-footer p a {
  color: #000 !important;
}

.site-footer p {
  margin-bottom: 0px !important;
}


.footer-mark {
  max-width: 165px;
  height: auto;
}

.footer-text {
  font-size: .72rem;
  letter-spacing: 1.5px;
}

.footer-social a {
  font-size: 1.1rem;
}

#pre-order .retailer-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

#pre-order {
  padding-bottom: 75px !important;
}

.collection-foundation {
  padding-top: 100px !important;
}

.meet-author-heading,
#pre-order .section-heading {
  border-bottom: 2px solid currentColor;
  line-height: 0.8 !important;
  padding: 0px !important;
}



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

@media (max-width: 1199px) {
  .hero {
    /* background: #fff; */
    margin-top: 0px;
  }
}

/* Tablet & down */
@media (max-width: 991.98px) {
  .book-cover {
    max-width: 260px;
  }

  .signed-copy {
    background-position: center;
  }

  #pre-order .retailer-row {
    flex-wrap: wrap;
  }
}

/* Mobile & down (< 768px) */
@media (max-width: 767.98px) {
  .author-band .text-md-end {
    text-align: center !important;
  }

  .lead-copy {
    max-width: 100%;
  }

  /* Typography scales down */
  .section-heading {
    font-size: 1.5rem;
    border-bottom-width: 1px;
  }

  .author-name {
    font-size: 1.3rem;
  }

  .collection-heading {
    font-size: 1.2rem;
  }

  .body-copy,
  .lead-copy {
    font-size: .95rem;
    line-height: 1.65;
  }

  .subhead {
    font-size: .82rem;
    letter-spacing: 1px;
  }

  .release-date {
    font-size: .95rem;
  }

  /* Overlay bands: tighter padding + real breathing room */
  .narrative-band {
    padding: 2.5rem 0;
  }

  .narrative-box {
    padding: 1.5rem;
    font-size: .98rem;
  }

  .signed-copy {
    min-height: 0;
    padding: 2.5rem 0;
  }

  .signed-copy-box {
    padding: 1.75rem;
  }

  /* Images sized for phones */
  .author-photo {
    max-width: 150px;
  }

  /* .retailer-row .retailer-logo {
    max-height: 42px;
  } */

  .foundation-logo {
    max-width: 75px;
  }

  .footer-mark {
    max-width: 60px;
  }

  .ornate-divider {
    width: 55%;
    max-width: 180px;
  }

  p {
    font-size: 1rem !important;
  }

  .ornate-divider {
    margin: 50px 0px !important;
  }

  .signed-copy-box .btn-cream {
    margin-top: 40px !important;
  }

  .inquiries-section {
    padding-bottom: 50px;
  }
}

/* Small phones (< 576px) */
@media (max-width: 575.98px) {
  .site-title {
    font-size: 1.25rem;
    letter-spacing: 1.5px;
  }

  .header-subtitle .container {
    font-size: .68rem;
    letter-spacing: 1px;
  }

  .social-icons a {
    font-size: 1rem;
    margin-left: .5rem;
  }

  .section-heading {
    font-size: 1.35rem;
  }

  .narrative-box,
  .signed-copy-box {
    padding: 1.35rem;
  }

  /* Buttons: comfortable tap targets, don't overflow narrow screens */
  .btn {
    padding: .7rem 1.1rem;
    letter-spacing: 1px;
    white-space: normal;
  }

  .author-buttons .btn {
    width: 100%;
  }

  .retailer-row .retailer-logo {
    max-height: 100px;
  }

}