/* ==========================================
   Emilio Degher — v2 (navy / white / gold)
   Premium author — alternating navy & white patches
   ========================================== */

:root {
  --navy: #1b2d4f;
  --navy-deep: #132140;
  --navy-light: #243a5e;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gold: #c9a84c;
  --gold-2: #dabb60;
  --gold-soft: #b89a3e;
  --gold-deep: #a08430;
  --text-on-navy: #ffffff;
  --text-on-navy-dim: #b8c4d8;
  --text-on-navy-mute: #7e90ab;
  --text-on-white: #0a1628;
  --text-on-white-dim: #1b2d4f;
  --line-gold: rgba(201, 168, 76, 0.3);
  --line-gold-strong: rgba(201, 168, 76, 0.55);
  --line-navy: rgba(27, 45, 79, 0.12);
  --shadow-deep: 0 30px 60px rgba(19, 33, 64, 0.35);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --script: "Allura", "Great Vibes", "Pinyon Script", cursive;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: 1280px;
  --container-narrow: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-on-white);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--gold); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: 0.01em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(27, 45, 79, 0.95);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-on-navy);
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.18em;
}
.brand-logo {
  width: 56px; height: 56px;
  border-radius: 4px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.brand:hover { color: var(--gold-2); }
.nav-links {
  display: flex; gap: 24px; list-style: none;
}
.nav-links a {
  color: var(--text-on-navy-dim);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-on-navy); }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--gold);
}

.nav-cta { display: flex; align-items: center; gap: 14px; }

.btn-buy {
  padding: 11px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: transparent;
  transition: all 0.25s ease;
  border-radius: 2px;
}
.btn-buy:hover { background: var(--gold); color: var(--white); }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--gold); transition: all 0.3s ease; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 34px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover { background: var(--gold-2); transform: translateY(-2px); color: var(--white); }
.btn--gold-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn--gold-ghost:hover { background: var(--gold); color: var(--white); }
.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover { background: var(--navy-deep); transform: translateY(-2px); color: var(--white); }
.btn--navy-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--navy-ghost:hover { background: var(--navy); color: var(--white); }
.btn--small { padding: 10px 22px; font-size: 0.72rem; }

/* ---------- Homepage Website Banner ---------- */
.home-banner {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--navy);
  line-height: 0; /* remove any inline-image gap */
  position: relative;
}
.home-banner img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}
/* Invisible clickable hotspots over the banner's visual buttons */
.banner-hotspot {
  position: absolute;
  display: block;
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 2;
}
.banner-hotspot:hover {
  background: rgba(255, 255, 255, 0.06); /* subtle hover hint, almost invisible */
  outline: 1px solid rgba(212, 169, 104, 0.3);
}
.banner-hotspot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
/* Position over the EXPLORE BOOKS button in the banner image */
.banner-hotspot--books {
  left: 7.5%;
  top: 71.5%;
  width: 13.5%;
  height: 8.5%;
}
/* Position over the ABOUT THE AUTHOR button in the banner image */
.banner-hotspot--author {
  left: 23%;
  top: 71.5%;
  width: 16%;
  height: 8.5%;
}

/* Mobile fixes: crop the banner image's built-in visual header so only the hero content shows */
@media (max-width: 768px) {
  .home-banner {
    padding-top: 96px;
    overflow: hidden;
    /* Match the banner's left-edge cloudy color so the padding blends seamlessly */
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy) 96px, var(--navy) 96px);
  }
  .home-banner img {
    width: 100%;
    height: auto;
    /* Crop ~17% off the top so the entire visual header (ED + nav + BOOK STORE) is hidden */
    aspect-ratio: 1717 / 760;
    object-fit: cover;
    object-position: center bottom;
  }
  /* Banner button hotspots are too small to tap on mobile and would be misaligned after crop */
  .banner-hotspot { display: none; }
}

/* ---------- Hero carousel (banner slide 0 + 7 book slides) ---------- */
.hero {
  position: relative;
  aspect-ratio: 1717 / 916;     /* matches banner aspect so it displays natively */
  min-height: 540px;
  max-height: 920px;
  overflow: hidden;
  background: var(--navy);
}
.hero-slides {
  position: relative;
  z-index: 1;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s ease;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 35%, var(--navy-deep) 100%);
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.hero-slide .hero-grid {
  width: 100%;
  margin: 0 auto;
  padding: 0 5%;
}

/* SLIDE 0 — Banner image fills the entire slide cleanly */
.hero-slide--banner {
  padding: 0 !important;
  background: var(--navy) !important;
}
.hero-slide--banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  display: block;
}
.hero-logo.book-cover {
  max-width: 380px;
}
.hero-logo.book-cover img {
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

/* Carousel controls */
.hero-controls {
  position: absolute;
  bottom: 38px; right: 40px;
  z-index: 10;
  display: flex; align-items: center; gap: 14px;
}
.hero-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  background: rgba(27, 45, 79, 0.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.25s ease;
}
.hero-arrow:hover { background: var(--gold); color: var(--white); }
.hero-arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.hero-counter {
  color: var(--text-on-navy-dim);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  min-width: 64px; text-align: center;
}
.hero-counter .current { color: var(--gold); font-weight: 600; }
.hero-dots {
  position: absolute;
  bottom: 50px; left: 40px;
  z-index: 10;
  display: flex; gap: 10px;
}
.hero-dots .dot {
  width: 34px; height: 2px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer; transition: background 0.3s ease;
}
.hero-dots .dot.active { background: var(--gold); }

@media (max-width: 1024px) {
  .hero-dots { left: 50%; transform: translateX(-50%); }
  .hero-controls { right: 50%; transform: translateX(50%); bottom: 8px; }
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 75% at 28% 50%, rgba(201, 168, 76, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 100% 55% at 50% 25%, rgba(201, 168, 76, 0.08), transparent 70%),
    linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 35%, var(--navy-deep) 80%, var(--navy-deep) 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 168, 76, 0.08), transparent 30%),
    radial-gradient(circle at 80% 60%, rgba(201, 168, 76, 0.05), transparent 35%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.hero-logo {
  max-width: 480px;
  margin: 0 auto;
}
.hero-logo img {
  width: 100%; height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.45));
}
.hero-text h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
  color: var(--text-on-navy);
}
.hero-text h1 .accent {
  color: var(--gold-2);
  font-style: italic;
  font-weight: 400;
}
.hero-divider {
  width: 100px; height: 1px;
  background: var(--gold);
  margin-bottom: 28px;
}
.hero-text p.lead {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text-on-navy-dim);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Quote Band ---------- */
.quote-band {
  position: relative;
  padding: 70px 0;
  background: var(--off-white) url('manuscript-texture.png') repeat;
  background-size: 400px;
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--line-navy);
  overflow: hidden;
}
.quote-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(ellipse 50% 100% at 80% 50%, rgba(201, 168, 76, 0.06), transparent 70%);
  pointer-events: none;
}
.quote-band .container { position: relative; z-index: 2; text-align: center; }
.quote-band .mark {
  font-family: var(--display);
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.7;
  margin-bottom: 8px;
}
.quote-band blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.55;
  color: var(--text-on-white);
  max-width: 760px;
  margin: 0 auto 24px;
  font-weight: 500;
}
.quote-band cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}

/* ---------- About the Author ---------- */
.about {
  padding: 110px 0;
  background: var(--white) url('manuscript-texture.png') repeat;
  background-size: 400px;
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 80px;
  align-items: center;
}
.about-grid .about-photo { max-width: 460px; justify-self: end; width: 100%; }
.about-eyebrow {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.about-title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: 0.05em;
  margin-bottom: 26px;
  color: var(--text-on-white);
  text-transform: uppercase;
}
.about-divider {
  width: 80px; height: 1px;
  background: var(--gold);
  margin-bottom: 28px;
}
.about-text p {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-on-white-dim);
  margin-bottom: 22px;
  font-weight: 500;
}
.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-deep));
  box-shadow: var(--shadow-deep), 0 0 0 1px var(--line-gold);
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* Soft warm vignette at edges to integrate with dark hero theme */
.about-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(19, 33, 64, 0.30) 100%),
    linear-gradient(180deg, transparent 60%, rgba(19, 33, 64, 0.35) 100%);
  pointer-events: none;
}
.about-photo .signature {
  position: absolute;
  bottom: 26px; right: 30px;
  font-family: var(--script);
  font-size: 2.4rem;
  color: var(--gold-2);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
  transform: rotate(-4deg);
  z-index: 2;
}

/* ---------- Featured Books ---------- */
.featured {
  padding: 110px 0;
  background: var(--navy);
  border-top: none;
  text-align: center;
  position: relative;
}
.featured h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-on-navy);
  margin-bottom: 14px;
}
.featured h2 .accent { color: var(--gold-2); font-style: italic; }
.featured-divider {
  width: 80px; height: 1px;
  background: var(--gold);
  margin: 0 auto 50px;
}
/* --- Featured eyebrow + subtitle --- */
.featured-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 12px;
}
.featured-sub {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(245, 239, 224, 0.65);
  max-width: 560px;
  margin: 0 auto 10px;
}

/* --- Book Carousel --- */
.book-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 50px;
  padding: 40px 0 50px;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(201, 168, 76, 0.06), transparent 60%),
    radial-gradient(ellipse at 20% 50%, rgba(27, 45, 79, 0.5), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(27, 45, 79, 0.5), transparent 50%);
}
.book-carousel::before,
.book-carousel::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 3;
  pointer-events: none;
}
.book-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--navy) 20%, transparent);
}
.book-carousel::after {
  right: 0;
  background: linear-gradient(-90deg, var(--navy) 20%, transparent);
}

/* Gold accent line above carousel */
.book-carousel .carousel-accent {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.book-track {
  display: flex;
  gap: 50px;
  align-items: center;
  animation: carousel-scroll 30s linear infinite;
  width: max-content;
}
.book-track:hover {
  animation-play-state: paused;
}
@keyframes carousel-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.book-slide {
  flex: 0 0 auto;
  width: 200px;
  text-align: center;
  text-decoration: none;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 10px;
}
.book-slide:hover {
  transform: translateY(-14px) scale(1.08);
  z-index: 2;
}
/* Gold glow underneath on hover */
.book-slide::before {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 160px; height: 60px;
  background: radial-gradient(ellipse, rgba(212, 169, 104, 0.30), transparent 70%);
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}
.book-slide:hover::before {
  opacity: 1;
}
/* Subtle gold ring behind cover */
.book-slide::after {
  content: "";
  position: absolute;
  top: 5px; left: 5px; right: 5px; bottom: 30px;
  border: 1px solid rgba(212, 169, 104, 0);
  border-radius: 6px;
  transition: border-color 0.4s ease;
  pointer-events: none;
}
.book-slide:hover::after {
  border-color: rgba(212, 169, 104, 0.2);
}
.book-slide img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center center;
  border-radius: 6px;
  box-shadow:
    0 10px 35px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(212, 169, 104, 0.1);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.book-slide:hover img {
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(212, 169, 104, 0.12),
    0 0 0 1px rgba(212, 169, 104, 0.3);
}
.book-label {
  display: block;
  margin-top: 18px;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(245, 239, 224, 0.75);
  transition: all 0.4s ease;
  line-height: 1.3;
}
.book-slide:hover .book-label {
  color: var(--gold-2);
  text-shadow: 0 0 20px rgba(212, 169, 104, 0.3);
}
.featured .ornament-dots span:nth-child(5) { opacity: 0.4; }

/* ---------- Themes (4-card grid) ---------- */
.themes {
  padding: 100px 0;
  background: var(--off-white) url('manuscript-texture.png') repeat;
  background-size: 400px;
}
.themes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.theme-card {
  background: var(--white);
  border: 1px solid rgba(27, 45, 79, 0.12);
  border-radius: 4px;
  padding: 44px 28px;
  text-align: center;
  transition: all 0.3s ease;
}
.theme-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(27, 45, 79, 0.12);
}
.theme-icon {
  width: 44px; height: 44px;
  margin: 0 auto 22px;
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.theme-icon svg { width: 100%; height: 100%; stroke: var(--gold); fill: none; stroke-width: 1.3; }
.theme-card h3 {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-on-white);
  margin-bottom: 12px;
}
.theme-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-on-white-dim);
  font-weight: 500;
}

/* ---------- Newsletter ---------- */
.newsletter {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  color: var(--text-on-navy);
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.newsletter h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.newsletter h2 .accent { color: var(--gold-2); font-style: italic; }
.newsletter p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-on-navy-dim);
  margin-bottom: 28px;
  max-width: 460px;
}
.newsletter-form { display: flex; max-width: 460px; }
.newsletter-form input {
  flex: 1;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-on-navy);
  font-family: var(--sans);
  font-size: 0.9rem;
  border-right: none;
  border-radius: 2px 0 0 2px;
}
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.newsletter-form button {
  padding: 13px 26px;
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border-radius: 0 2px 2px 0;
  transition: background 0.25s ease;
}
.newsletter-form button:hover { background: var(--gold-2); }
.newsletter-art {
  display: flex; align-items: center; justify-content: center;
  position: relative;
  aspect-ratio: 4 / 3;
}
.newsletter-art::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(201, 168, 76, 0.15), transparent 60%);
  filter: blur(20px);
}
.newsletter-art img {
  position: relative;
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(201, 168, 76, 0.3));
}

/* ---------- Contact Section ---------- */
.contact-section {
  padding: 110px 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.05), transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(27, 45, 79, 0.4), transparent 50%),
    var(--navy);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.contact-info h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-on-navy);
  margin-bottom: 0;
}
.contact-info h2 .accent { color: var(--gold-2); font-style: italic; }
.contact-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 24px;
}
.contact-info > p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-on-navy-dim);
  margin-bottom: 36px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text-on-navy-dim);
}
.contact-item svg { color: var(--gold); flex-shrink: 0; }
.contact-item a {
  color: var(--text-on-navy-dim);
  transition: color 0.25s ease;
}
.contact-item a:hover { color: var(--gold-2); }
.contact-socials {
  display: flex;
  gap: 12px;
}
.contact-socials a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.contact-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.contact-socials svg { width: 16px; height: 16px; fill: var(--text-on-navy-dim); transition: fill 0.3s; }
.contact-socials a:hover svg { fill: var(--navy-deep); }

.contact-form-wrap {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 44px 40px;
  backdrop-filter: blur(8px);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 14px 18px;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--text-on-navy);
  transition: all 0.3s ease;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 239, 224, 0.3);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .btn--gold {
  align-self: flex-start;
  margin-top: 6px;
  cursor: pointer;
}
.contact-form .form-success {
  text-align: center;
  padding: 30px;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold-2);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-info { text-align: center; }
  .contact-divider { margin-left: auto; margin-right: auto; }
  .contact-details { align-items: center; }
  .contact-socials { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form .btn--gold { align-self: stretch; }
}
@media (max-width: 700px) {
  .contact-section { padding: 70px 0; }
  .contact-form-wrap { padding: 30px 24px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  padding: 80px 0 30px;
  border-top: 3px solid var(--gold);
  color: var(--text-on-navy);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-on-navy-dim);
  max-width: 280px;
  margin-bottom: 22px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.25s ease;
}
.footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.footer-socials svg { width: 14px; height: 14px; fill: var(--white); transition: fill 0.25s; }
.footer-socials a:hover svg { fill: var(--navy-deep); }

.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 14px; }
.footer-col a {
  color: var(--text-on-navy-dim);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--gold-2); }
.footer-col p { font-size: 0.92rem; color: var(--text-on-navy-dim); margin-bottom: 10px; }
.footer-bottom {
  padding-top: 28px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-on-navy-mute);
}

/* ---------- Book Shelf page hero ---------- */
.shelf-hero {
  padding: 180px 0 70px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(201, 168, 76, 0.06), transparent 70%),
    var(--navy);
  border-bottom: none;
}
.shelf-hero .eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.shelf-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  color: var(--text-on-navy);
  text-transform: uppercase;
}
.shelf-hero h1 .accent { color: var(--gold-2); font-style: italic; }
.shelf-hero p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-on-navy-dim);
  max-width: 640px;
  margin: 0 auto;
}
.shelf-hero .ornament {
  display: flex; justify-content: center; align-items: center; gap: 18px;
  margin: 30px 0 0;
}
.shelf-hero .ornament span { width: 50px; height: 1px; background: var(--gold); }
.shelf-hero .ornament .dot { color: var(--gold); }

.shelf-grid {
  padding: 90px 0 130px;
  background: var(--white) url('manuscript-texture.png') repeat;
  background-size: 400px;
}
.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px 40px;
  max-width: 1240px;
  margin: 0 auto;
}
.shelf-item {
  text-align: center;
  display: flex;
  flex-direction: column;
}
.shelf-cover {
  height: 380px;
  margin-bottom: 24px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s ease, filter 0.4s ease;
  position: relative;
  overflow: visible;
}
.shelf-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.shelf-item:hover .shelf-cover {
  transform: translateY(-8px);
  filter: drop-shadow(0 22px 36px rgba(212, 169, 104, 0.28));
}
.shelf-item h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--text-on-white);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.shelf-item .sub {
  font-family: var(--serif);
  font-style: italic;
  color: #f2dfa0;
  font-size: 1.1rem;
  margin-bottom: 14px;
  min-height: 2.6em;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.shelf-item .shelf-actions {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}
.shelf-item .shelf-actions .btn--small { padding: 8px 16px; font-size: 0.68rem; }

/* ---------- Homepage previews of Testimonials & Blog ---------- */
.preview-section {
  padding: 110px 0;
  background: var(--off-white) url('manuscript-texture.png') repeat;
  background-size: 400px;
  border-top: 1px solid var(--line-navy);
  text-align: center;
}
.preview-section h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-on-white);
  margin-bottom: 14px;
}
.preview-section h2 .accent { color: var(--gold); font-style: italic; }
.preview-section .featured-divider {
  width: 80px; height: 1px;
  background: var(--gold);
  margin: 0 auto 50px;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto 50px;
  text-align: left;
}
@media (max-width: 980px) {
  .preview-grid { grid-template-columns: 1fr; }
}

/* ---------- Testimonials page ---------- */
.testimonials-section {
  padding: 90px 0 130px;
  background: var(--white) url('manuscript-texture.png') repeat;
  background-size: 400px;
}

.featured-testimonial {
  max-width: 920px;
  margin: 0 auto 90px;
  text-align: center;
  padding: 60px 50px;
  background: linear-gradient(135deg, rgba(27, 45, 79, 0.04), rgba(27, 45, 79, 0.08));
  border: 1px solid var(--line-navy);
  border-radius: 4px;
  position: relative;
}
.featured-testimonial::before {
  content: "\201C";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 7rem;
  color: var(--gold);
  line-height: 0.7;
  background: var(--white);
  padding: 0 22px;
}
.featured-testimonial blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.6;
  color: var(--text-on-white);
  margin: 16px 0 28px;
}
.featured-testimonial .stars {
  display: inline-flex; gap: 4px;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.featured-testimonial cite {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  font-weight: 500;
}
.featured-testimonial cite .source {
  display: block;
  color: var(--text-on-white-dim);
  font-weight: 400;
  letter-spacing: 0.18em;
  margin-top: 4px;
  font-size: 0.78rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1240px;
  margin: 0 auto;
}
.t-card {
  background: var(--white);
  border: 1px solid var(--line-navy);
  border-radius: 4px;
  padding: 40px 32px 32px;
  position: relative;
  transition: all 0.3s ease;
}
.t-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(27, 45, 79, 0.12);
}
.t-card::before {
  content: "\201C";
  position: absolute;
  top: 6px; left: 26px;
  font-family: var(--display);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.5;
}
.t-card .stars {
  display: inline-flex; gap: 3px;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.t-card blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-on-white);
  margin-bottom: 22px;
  font-weight: 500;
}
.t-card .book-ref {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 14px;
}
.t-card cite {
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 14px;
}
.t-card .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid var(--navy-light);
}
.t-card .reviewer {
  display: flex; flex-direction: column;
  gap: 2px;
}
.t-card .reviewer .name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-on-white);
  letter-spacing: 0.04em;
}
.t-card .reviewer .role {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--text-on-white-dim);
}

/* CTA below testimonials */
.t-cta {
  margin-top: 90px;
  text-align: center;
}
.t-cta h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
.t-cta h3 .accent { color: var(--gold); font-style: italic; }
.t-cta p {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--text-on-white-dim);
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
}

/* ---------- Blog page ---------- */
.blog-section {
  padding: 90px 0 130px;
  background: var(--white) url('manuscript-texture.png') repeat;
  background-size: 400px;
}

.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 90px;
  padding: 60px;
  background: linear-gradient(135deg, rgba(27, 45, 79, 0.04), rgba(27, 45, 79, 0.08));
  border: 1px solid var(--line-navy);
  border-radius: 4px;
}
.blog-featured-art {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(201, 168, 76, 0.12), transparent 65%),
    linear-gradient(180deg, var(--navy-light) 0%, var(--navy-deep) 100%);
  border: 1px solid var(--line-navy);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.blog-featured-art .symbol {
  font-family: var(--display);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.6;
  text-shadow: 0 4px 30px rgba(212, 169, 104, 0.4);
}
.blog-featured-art::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 18% 25%, rgba(245, 239, 224, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 72% 65%, rgba(212, 169, 104, 0.5), transparent),
    radial-gradient(1px 1px at 38% 85%, rgba(245, 239, 224, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 90% 22%, rgba(212, 169, 104, 0.4), transparent);
  pointer-events: none;
}
.blog-featured .eyebrow {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.blog-featured h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-on-white);
}
.blog-featured p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-on-white-dim);
  margin-bottom: 16px;
}
.blog-featured .meta {
  display: flex; gap: 14px;
  font-size: 0.76rem;
  color: var(--text-on-white-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.blog-featured .meta .dot { color: var(--gold); }

.blog-section-title {
  text-align: center;
  margin-bottom: 50px;
}
.blog-section-title .eyebrow {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.blog-section-title h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text-on-white);
  letter-spacing: 0.03em;
}
.blog-section-title h2 .accent { color: var(--gold); font-style: italic; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1240px;
  margin: 0 auto;
}
.b-card {
  background: var(--white);
  border: 1px solid var(--line-navy);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.3s ease;
}
.b-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(27, 45, 79, 0.12);
}
.b-thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.10), transparent 65%),
    linear-gradient(180deg, var(--navy-light) 0%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center;
}
.b-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(245, 239, 224, 0.4), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(212, 169, 104, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(245, 239, 224, 0.3), transparent),
    radial-gradient(1px 1px at 88% 25%, rgba(212, 169, 104, 0.4), transparent);
  pointer-events: none;
}
.b-thumb .symbol {
  font-family: var(--display);
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.55;
  position: relative;
  z-index: 1;
}
.b-thumb .topic {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(19, 33, 64, 0.7);
  padding: 5px 12px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 2px;
  z-index: 2;
}
.b-body {
  padding: 28px 28px 30px;
  flex: 1;
  display: flex; flex-direction: column;
}
.b-meta {
  display: flex; gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-white-dim);
  margin-bottom: 14px;
}
.b-meta .dot { color: var(--gold); }
.b-card h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--text-on-white);
  margin-bottom: 14px;
}
.b-card .excerpt {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-on-white-dim);
  margin-bottom: 22px;
  flex: 1;
  font-weight: 500;
}
.b-card .read-more {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
  padding-bottom: 3px;
}
.b-card .read-more:hover {
  border-bottom-color: var(--gold);
  color: var(--gold-2);
}

/* Newsletter CTA at bottom of blog */
.blog-newsletter {
  margin-top: 90px;
  padding: 60px 50px;
  background: var(--navy);
  border: none;
  color: var(--text-on-navy);
  border-radius: 4px;
  text-align: center;
  max-width: 920px;
  margin-left: auto; margin-right: auto;
}
.blog-newsletter h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}
.blog-newsletter h3 .accent { color: var(--gold); font-style: italic; }
.blog-newsletter p {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--text-on-navy-dim);
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
}
.blog-newsletter .newsletter-form {
  max-width: 460px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; padding: 40px; }
}

/* ---------- Trailer Section ---------- */
.trailer-section {
  padding: 110px 0;
  background: var(--navy);
  text-align: center;
}
.trailer-section h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-on-navy);
  margin-bottom: 14px;
}
.trailer-section h2 .accent { color: var(--gold-2); font-style: italic; }
.trailer-section p {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text-on-navy-dim);
  max-width: 600px;
  margin: 0 auto 40px;
}
.trailer-video {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(201, 168, 76, 0.3);
}
.trailer-video video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--navy-deep);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { gap: 18px; }
  .hero-grid, .about-grid, .newsletter-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .about-text { text-align: center; }
  .about-divider, .hero-divider { margin-left: auto; margin-right: auto; }
  .hero-actions, .newsletter-form { justify-content: center; }
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
  .book-slide { width: 150px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shelf { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .trailer-section { padding: 80px 0; }
}
@media (max-width: 700px) {
  .container, .container--narrow { padding: 0 22px; }
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    flex-direction: column; padding: 30px; gap: 20px;
    background: rgba(27, 45, 79, 0.98); backdrop-filter: blur(14px);
    transform: translateY(-150%); transition: transform 0.3s ease;
    border-bottom: 1px solid var(--line-gold);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-cta .btn-buy { display: none; }
  .themes-grid, .footer-grid { grid-template-columns: 1fr; }
  .book-slide { width: 130px; }
  .book-carousel::before, .book-carousel::after { width: 40px; }
  .shelf { grid-template-columns: 1fr; gap: 50px; max-width: 400px; margin: 0 auto; }
  .hero { padding: 110px 0 60px; }
  .featured, .themes, .about, .newsletter, .trailer-section { padding: 70px 0; }
  .hero-text p.lead { margin-left: auto; margin-right: auto; }
  .hero-text { text-align: center; }
  .shelf-hero { padding: 140px 0 50px; }
  .blog-preview { padding: 70px 0; }
  .featured-testimonial { padding: 40px 24px; }
  .blog-featured { padding: 30px 20px; }
}

/* ---------- Blog Preview (Homepage) ---------- */
.blog-preview {
  padding: 110px 0;
  background: var(--off-white) url('manuscript-texture.png') repeat;
  background-size: 400px;
  border-top: 1px solid var(--line-navy);
  text-align: center;
}
.blog-preview h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-on-white);
  margin-bottom: 14px;
}
.blog-preview h2 .accent { color: var(--gold); font-style: italic; }
.blog-preview .featured-divider {
  width: 80px; height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
}
.blog-preview-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.blog-preview-sub {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-on-white-dim);
  max-width: 560px;
  margin: 0 auto 50px;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1180px;
  margin: 0 auto;
  text-align: left;
}
.blog-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(27, 45, 79, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(27, 45, 79, 0.08);
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(27, 45, 79, 0.15);
  border-color: var(--gold);
}
.blog-card-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card-cover {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.blog-card-cover::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 169, 104, 0.12), transparent 70%);
  z-index: 1;
}
.blog-card-cover::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 15% 25%, rgba(245, 239, 224, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 72% 60%, rgba(212, 169, 104, 0.4), transparent),
    radial-gradient(1px 1px at 45% 85%, rgba(245, 239, 224, 0.2), transparent);
  z-index: 1;
  pointer-events: none;
}
.blog-card-cover img {
  height: 160px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  border-radius: 3px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-cover img {
  transform: scale(1.06) translateY(-4px);
}
.blog-card-cover--illust {
  padding: 0;
}
.blog-card-cover--illust img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.blog-card:hover .blog-card-cover--illust img {
  transform: scale(1.08);
}
.blog-card-topic {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(19, 33, 64, 0.75);
  padding: 5px 14px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 3px;
  z-index: 3;
  backdrop-filter: blur(6px);
}
.blog-card-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  display: flex;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-white-dim);
  margin-bottom: 14px;
}
.blog-card-meta .sep { color: var(--gold); }
.blog-card h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--text-on-white);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}
.blog-card:hover h3 { color: var(--navy-light); }
.blog-card p {
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-on-white-dim);
  flex: 1;
  margin-bottom: 18px;
  font-weight: 500;
}
.blog-card-cta {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}
.blog-card:hover .blog-card-cta { color: var(--gold-2); letter-spacing: 0.28em; }

@media (max-width: 980px) {
  .blog-cards { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
