/* ============================================
   Ellie Hallaron — Author Website
   Redesign: Magenta / Cream / Gold
   ============================================ */

/* --- Custom Properties --- */
:root {
  --magenta: #C2185B;
  --cream: #FFF8F0;
  --gold: #C5A55A;
  --charcoal: #2D2D2D;
  --deep-plum: #3D1A2E;
  --blush: #F5E6EC;
  --white: #FFFFFF;
  --gold-light: rgba(197, 165, 90, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
  background-color: var(--cream);
  box-shadow: 0 1px 0 var(--gold-light);
  padding: 1rem 3rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.nav.scrolled .nav-logo-img {
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--magenta);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--magenta);
}

/* ============================================
   HERO — Full viewport logo
   ============================================ */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--cream);
  position: relative;
  padding: 0 2rem;
}

.hero-logo {
  max-width: 420px;
  width: 70%;
  height: auto;
  mix-blend-mode: multiply;
}

.hero-watercolor {
  max-width: 550px;
  width: 85%;
  height: auto;
  border-radius: 8px;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 400;
  color: var(--gold);
  margin-top: 2rem;
  letter-spacing: 0.06em;
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: float 2.5s ease-in-out infinite;
}

.scroll-cue svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes float {
  0%, 100% {
    opacity: 0.4;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.8;
    transform: translateX(-50%) translateY(8px);
  }
}

/* ============================================
   GOLD DIVIDER
   ============================================ */
.gold-divider {
  width: 80px;
  height: 1.5px;
  background-color: var(--gold);
  margin: 0 auto;
}

.gold-divider-wide {
  width: 100%;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

/* ============================================
   SECTIONS — Shared
   ============================================ */
.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--deep-plum);
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* ============================================
   FEATURED BOOKS
   ============================================ */
.featured-books {
  padding: 6rem 2rem;
  text-align: center;
  background-color: var(--cream);
}

.featured-books .section-heading {
  margin-bottom: 0.5rem;
}

.featured-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--charcoal);
  opacity: 0.6;
  margin-bottom: 3.5rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.featured-card-label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--magenta);
  margin-bottom: 0.75rem;
  text-align: center;
}

.featured-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--charcoal);
  transition: transform 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-6px);
}

.featured-card-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid var(--gold-light);
  box-shadow: 0 8px 32px rgba(61, 26, 46, 0.12);
  transition: box-shadow 0.3s ease;
}

.featured-card:hover .featured-card-img {
  box-shadow: 0 16px 48px rgba(61, 26, 46, 0.2);
}

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

.featured-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep-plum);
  margin-top: 1.25rem;
  letter-spacing: 0.02em;
}

.featured-card-sub {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-top: 0.35rem;
}

/* Coming Soon placeholder card */
.coming-soon-card .featured-card-img {
  background: linear-gradient(160deg, var(--blush) 0%, var(--cream) 100%);
  border: 1px dashed var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.coming-soon-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0.5rem;
}

.coming-soon-inner .cs-series {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.coming-soon-inner .cs-numeral {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--deep-plum);
  opacity: 0.4;
}

.coming-soon-inner .cs-label {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--charcoal);
  opacity: 0.5;
  animation: comingSoonPulse 3s ease-in-out infinite;
}

@keyframes comingSoonPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.view-all-btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--deep-plum);
  border: 1.5px solid var(--deep-plum);
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.view-all-btn:hover {
  background-color: var(--deep-plum);
  color: var(--cream);
}

/* ============================================
   ABOUT TEASER
   ============================================ */
.about-teaser {
  padding: 6rem 2rem;
  background-color: var(--blush);
}

.about-teaser-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.about-teaser-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 2px solid var(--gold-light);
  box-shadow: 0 8px 32px rgba(61, 26, 46, 0.1);
}

.about-teaser-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-teaser-text .section-label {
  color: var(--magenta);
}

.about-teaser-text .section-heading {
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 1.5rem;
}

.about-teaser-bio {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.about-teaser-bio::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  float: left;
  line-height: 0.85;
  margin-right: 0.4rem;
  margin-top: 0.06em;
  color: var(--magenta);
  font-weight: 700;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--magenta);
  text-decoration: none;
  transition: gap 0.25s ease;
}

.read-more-link:hover {
  gap: 0.8rem;
}

.read-more-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   CONNECT SECTION
   ============================================ */
.connect-section {
  padding: 6rem 2rem;
  background-color: var(--deep-plum);
  text-align: center;
}

.connect-inner {
  max-width: 600px;
  margin: 0 auto;
}

.connect-section .section-label {
  color: var(--gold);
}

.connect-section .section-heading {
  color: var(--cream);
  margin-bottom: 1rem;
}

.connect-description {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--blush);
  margin-bottom: 2.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto 2rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.85rem 1.2rem;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: var(--charcoal);
  background-color: var(--cream);
  border: 1.5px solid transparent;
  outline: none;
  transition: border-color 0.25s ease;
}

.newsletter-form input[type="email"]::placeholder {
  color: #999;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--gold);
}

.newsletter-form button {
  padding: 0.85rem 1.8rem;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cream);
  background-color: var(--magenta);
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background-color: #A01550;
}

.newsletter-note {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  color: var(--blush);
  opacity: 0.5;
  margin-bottom: 3rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gold-light);
  border-radius: 50%;
  color: var(--cream);
  opacity: 0.7;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.social-icon-link:hover {
  opacity: 1;
  border-color: var(--gold);
  transform: translateY(-2px);
}

.social-icon-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

#subscribe-msg {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: var(--gold);
  margin-top: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  text-align: center;
  padding: 2.5rem 2rem;
  background-color: var(--charcoal);
}

.footer p {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: var(--blush);
  opacity: 0.5;
}

.footer-admin-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  color: var(--blush);
  opacity: 0.35;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.footer-admin-link:hover {
  opacity: 0.7;
}

/* ============================================
   FADE-IN ANIMATION
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
  position: relative;
}

.hamburger-lines {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.hamburger-lines span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--deep-plum);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.active .hamburger-lines span {
  background-color: var(--cream);
}

.hamburger.active .hamburger-lines span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-lines span:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-lines span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--deep-plum);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.mobile-overlay-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 0;
  margin: 0;
}

.mobile-overlay-links a {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.25s ease;
}

.mobile-overlay-links a:hover,
.mobile-overlay-links a.active {
  color: var(--gold);
}

.mobile-overlay-cta {
  display: block;
  margin-top: 3rem;
  padding: 0.85rem 2.5rem;
  background-color: var(--magenta);
  color: var(--cream);
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.mobile-overlay-cta:hover {
  background-color: #A01550;
}

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

/* Tablet */
@media (max-width: 900px) {
  .about-teaser-inner {
    grid-template-columns: 240px 1fr;
    gap: 3rem;
  }

  .featured-grid {
    gap: 3rem;
    max-width: 500px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Nav */
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .nav {
    padding: 1rem 1.25rem;
  }

  .nav.scrolled {
    padding: 0.75rem 1.25rem;
  }

  /* Hero */
  .hero {
    height: 85vh;
    min-height: 500px;
  }

  .hero-logo {
    max-width: 280px;
    width: 65%;
  }

  .hero-tagline {
    margin-top: 1.5rem;
  }

  .hero-watercolor {
    max-width: 350px;
    width: 80%;
  }

  /* Featured Books */
  .featured-books {
    padding: 4rem 1.25rem;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .featured-card-title {
    font-size: 1rem;
  }

  /* About Teaser */
  .about-teaser {
    padding: 4rem 1.25rem;
  }

  .about-teaser-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .about-teaser-photo {
    width: 220px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    margin: 0 auto;
  }

  .about-teaser-photo img {
    border-radius: 50%;
  }

  .about-teaser-bio::first-letter {
    float: none;
    font-size: inherit;
    margin: 0;
    color: inherit;
    font-weight: inherit;
    font-family: inherit;
  }

  /* Connect */
  .connect-section {
    padding: 4rem 1.25rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  .social-icons {
    gap: 1.25rem;
  }

  .social-icon-link {
    width: 40px;
    height: 40px;
  }

  .social-icon-link svg {
    width: 16px;
    height: 16px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-logo {
    max-width: 220px;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-banner {
  padding: 10rem 2rem 4rem;
  text-align: center;
  background-color: var(--blush);
}

.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--deep-plum);
  letter-spacing: 0.04em;
}

.page-banner p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--charcoal);
  opacity: 0.6;
  margin-top: 0.5rem;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: none;
  max-width: 1100px;
  margin: 0 auto;
}

.about-author-photo {
  width: 180px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 2.5rem;
  border: 2px solid var(--gold);
}

.about-author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-bio {
  max-width: 720px;
  margin: 0 auto;
}

.about-bio p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.about-bio p:first-of-type::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  float: left;
  line-height: 1;
  margin-right: 0.5rem;
  margin-top: 0.05em;
  color: var(--magenta);
  font-weight: 700;
}

.about-ctas {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 48px;
  text-align: center;
}

.about-cta-btn {
  display: inline-block;
  padding: 0.65rem 1.8rem;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cream);
  background-color: var(--magenta);
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.about-cta-btn:hover {
  background-color: #A01550;
}

.about-cta-newsletter {
  display: block;
  margin-top: 24px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: var(--magenta);
  text-decoration: none;
  transition: color 0.25s ease;
}

.about-cta-newsletter:hover {
  color: #A01550;
  text-decoration: underline;
}

/* About page connect section */
.connect-section-page {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gold-light);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--charcoal);
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  transition: color 0.25s ease;
}

.social-link:hover {
  color: var(--magenta);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Brand colors */
.social-tiktok svg { fill: #69C9D0; }
.social-instagram svg { fill: #E1306C; }
.social-amazon svg { fill: #FF9900; }
.social-goodreads svg { fill: #553B08; }

/* About page newsletter */
.newsletter-section {
  background-color: var(--deep-plum);
  border-top: none;
  border-bottom: none;
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.newsletter-inner p {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--blush);
  margin-bottom: 2rem;
}

.newsletter-inner .section-label {
  color: var(--gold);
}

/* Footer (shared) */
.footer {
  text-align: center;
  padding: 2.5rem 2rem;
  background-color: var(--charcoal);
  border-top: none;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blush);
  opacity: 0.5;
  transition: opacity 0.25s ease;
}

.footer-social-link:hover {
  opacity: 0.9;
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-newsletter-link {
  display: block;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 1rem;
  transition: color 0.25s ease;
}

.footer-newsletter-link:hover {
  color: var(--magenta);
}

/* Bio text (used on index.html and about.html) */
.bio-grid {
  display: grid;
  grid-template-columns: 35% 1fr;
  gap: 4rem;
  align-items: start;
}

.author-photo {
  aspect-ratio: 3 / 4;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--gold-light);
}

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

.bio-text p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

/* ============================================
   MOBILE — About page
   ============================================ */
@media (max-width: 768px) {
  .page-banner {
    padding: 7rem 1.5rem 3rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .author-photo {
    width: 220px;
    aspect-ratio: 1;
    border-radius: 50%;
    margin: 0 auto;
    border: 2px solid var(--gold);
  }

  .author-photo img {
    border-radius: 50%;
  }

  .social-links {
    gap: 0.75rem 1.25rem;
    justify-content: center;
  }

  .bio-text > p:first-of-type::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    float: left;
    line-height: 0.8;
    margin-right: 0.1em;
    color: var(--magenta);
    font-weight: 700;
  }
}

/* ============================================
   BOOKS GRID PAGE
   ============================================ */
.books-grid-section {
  padding: 6rem 2rem;
  text-align: center;
  background-color: var(--cream);
}

.books-series-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--deep-plum);
  margin-bottom: 0.75rem;
}

.books-series-description {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--charcoal);
  opacity: 0.6;
  margin-bottom: 3.5rem;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.book-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--charcoal);
  transition: transform 0.3s ease;
}

.book-card:hover {
  transform: translateY(-6px);
}

.book-card-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid var(--gold-light);
  box-shadow: 0 8px 32px rgba(61, 26, 46, 0.12);
  transition: box-shadow 0.3s ease;
}

.book-card:hover .book-card-img {
  box-shadow: 0 16px 48px rgba(61, 26, 46, 0.2);
}

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

.book-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--deep-plum);
  margin-top: 1.25rem;
  letter-spacing: 0.02em;
}

.book-card-sub {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-top: 0.35rem;
}

/* ============================================
   BOOK DETAIL PAGE
   ============================================ */
.book-detail {
  padding: 8rem 2rem 4rem;
  background-color: var(--cream);
}

.book-detail-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.book-cover {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--gold-light);
  box-shadow: 0 12px 40px rgba(61, 26, 46, 0.15);
  position: sticky;
  top: 6rem;
}

.book-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.book-info .section-label {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.book-title-main {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--deep-plum);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.book-number {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--charcoal);
  opacity: 0.6;
  margin-bottom: 2rem;
}

.book-blurb {
  margin-bottom: 2.5rem;
}

.book-blurb-intro {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.7;
  color: var(--deep-plum);
  margin-bottom: 2rem;
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
}

.book-blurb h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--magenta);
  margin: 2rem 0 1rem;
  letter-spacing: 0.04em;
}

.book-blurb p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.content-warning {
  margin: 2.5rem 0;
  border: 1px solid var(--gold-light);
  background-color: var(--blush);
}

.content-warning summary {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--deep-plum);
  padding: 1rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-warning summary::-webkit-details-marker {
  display: none;
}

.content-warning summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.content-warning[open] summary::after {
  content: '\2212';
}

.content-warning-body {
  padding: 0 1.5rem 1.5rem;
}

.content-warning-body p {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--charcoal);
}

.purchase-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.purchase-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: all 0.25s ease;
}

.purchase-btn-primary {
  background-color: var(--magenta);
  color: var(--cream);
  border: 1.5px solid var(--magenta);
}

.purchase-btn-primary:hover {
  background-color: #A01550;
  border-color: #A01550;
}

.purchase-btn-outline {
  background-color: transparent;
  color: var(--deep-plum);
  border: 1.5px solid var(--deep-plum);
}

.purchase-btn-outline:hover {
  background-color: var(--deep-plum);
  color: var(--cream);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.25s ease;
}

.back-link:hover {
  color: var(--magenta);
}

.back-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coming-soon-message {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.7;
  color: var(--charcoal);
  opacity: 0.6;
  margin: 2rem 0;
}

/* ============================================
   BOOKS & DETAIL — Responsive
   ============================================ */
@media (max-width: 900px) {
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 480px;
  }

  .book-detail-inner {
    grid-template-columns: 280px 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .books-grid-section {
    padding: 4rem 1.25rem;
  }

  .book-detail {
    padding: 6rem 1.25rem 3rem;
  }

  .book-detail-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .book-cover {
    max-width: 280px;
    margin: 0 auto;
    position: static;
  }

  .book-blurb-intro {
    border-left: none;
    padding-left: 0;
    text-align: center;
  }

  .book-blurb h3 {
    text-align: center;
  }

  .book-blurb p {
    text-align: left;
  }

  .purchase-links {
    justify-content: center;
  }

  .back-link {
    justify-content: center;
  }

  .content-warning {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .books-grid {
    gap: 1.5rem;
    max-width: 320px;
  }

  .book-card-title {
    font-size: 0.95rem;
  }

  .purchase-links {
    flex-direction: column;
  }

  .purchase-btn {
    text-align: center;
  }
}

/* ============================================
   QUIZ / TRIVIA EMBED (About page)
   ============================================ */
.quiz-section {
  padding: 5rem 2rem;
  background-color: var(--blush);
  text-align: center;
}

.quiz-inner {
  max-width: 800px;
  margin: 0 auto;
}

.quiz-description {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  opacity: 0.8;
  margin-bottom: 2.5rem;
}

.quiz-description em {
  font-style: italic;
}

.quiz-embed-wrapper {
  border: 1px solid var(--gold-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(61, 26, 46, 0.08);
}

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.shop-section .gold-divider-wide {
  margin: 3rem auto;
}

.shop-book-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.shop-book-cover {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--gold-light);
  box-shadow: 0 6px 24px rgba(61, 26, 46, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.shop-book-cover:hover {
  box-shadow: 0 10px 36px rgba(61, 26, 46, 0.18);
  transform: translateY(-3px);
}

.shop-book-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.shop-book-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--deep-plum);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.shop-book-sub {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--charcoal);
  opacity: 0.6;
  margin-bottom: 1.25rem;
}

.shop-retailers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.shop-coming-soon-note {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--charcoal);
  opacity: 0.5;
  margin-top: 0.5rem;
}

/* Signed Copies */
.signed-section {
  padding: 5rem 2rem;
  background-color: var(--blush);
  text-align: center;
}

.signed-inner {
  max-width: 600px;
  margin: 0 auto;
}

.signed-description {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  opacity: 0.8;
  margin-bottom: 2rem;
}

/* ============================================
   CONNECT PAGE
   ============================================ */
.connect-social-section {
  padding: 5rem 2rem;
  text-align: center;
  background-color: var(--cream);
}

.connect-social-inner {
  max-width: 700px;
  margin: 0 auto;
}

.connect-social-description {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  opacity: 0.8;
  margin-bottom: 3rem;
}

.connect-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.connect-social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--charcoal);
  padding: 1.5rem 1rem;
  border: 1px solid var(--gold-light);
  background-color: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.connect-social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(61, 26, 46, 0.1);
  border-color: var(--gold);
}

.connect-social-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease;
}

.connect-social-card:hover .connect-social-icon {
  background-color: var(--blush);
}

.connect-social-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--deep-plum);
}

.connect-social-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep-plum);
}

.connect-social-handle {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: var(--charcoal);
  opacity: 0.5;
}

/* Email Contact */
.connect-email-section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--blush);
}

.connect-email-inner {
  max-width: 600px;
  margin: 0 auto;
}

.connect-email-description {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.connect-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--magenta);
  text-decoration: none;
  transition: color 0.25s ease;
}

.connect-email-link:hover {
  color: #A01550;
}

.connect-email-link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ============================================
   SHOP & CONNECT — Responsive
   ============================================ */
@media (max-width: 768px) {
  .shop-section {
    padding: 3rem 1.25rem;
  }

  .shop-book-row {
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
  }

  .shop-retailers {
    flex-direction: column;
  }

  .shop-retailers .purchase-btn {
    text-align: center;
  }

  .connect-social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .connect-social-section,
  .connect-email-section {
    padding: 3.5rem 1.25rem;
  }

  .quiz-section {
    padding: 3.5rem 1.25rem;
  }

  .quiz-embed-wrapper iframe {
    height: 500px;
  }

  .signed-section {
    padding: 3.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .shop-book-row {
    grid-template-columns: 100px 1fr;
    gap: 1rem;
  }

  .shop-book-title {
    font-size: 1.1rem;
  }

  .connect-social-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .connect-social-card {
    padding: 1rem 0.5rem;
  }

  .connect-social-icon {
    width: 48px;
    height: 48px;
  }

  .connect-social-icon svg {
    width: 20px;
    height: 20px;
  }
}
