@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,400;1,600&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,400;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg-parchment: #fdfbf7;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-secondary: #f7f1e6;
  --bg-cream-tint: #faf4e8;
  
  --ink-primary: #1a1721;
  --ink-secondary: #4a4458;
  --ink-muted: #746d84;
  --ink-faint: #9f98ae;
  
  /* Winter Edition Palette (Christmas Eva After) */
  --winter-navy: #152033;
  --winter-pine: #183a2d;
  --winter-berry: #a32c46;
  --winter-gold: #d49b29;
  --winter-ice: #e4f0f6;
  --winter-border: rgba(21, 32, 51, 0.12);
  --winter-glow: rgba(212, 155, 41, 0.2);

  /* Summer Edition Palette (Summer Eva After) */
  --summer-amber: #d97706;
  --summer-coral: #dc4b3e;
  --summer-sun: #f59e0b;
  --summer-sage: #235c43;
  --summer-peach: #fef3e7;
  --summer-border: rgba(217, 119, 6, 0.14);
  --summer-glow: rgba(220, 75, 62, 0.18);

  /* Shared Accents */
  --gold-accent: #c98a1a;
  --gold-light: #fbeccb;
  --line: rgba(26, 23, 33, 0.1);
  --line-strong: rgba(26, 23, 33, 0.18);
  
  /* Typography */
  --font-serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-editorial: "Cormorant Garamond", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-literary: "Lora", Georgia, serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26, 23, 33, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 23, 33, 0.08);
  --shadow-lg: 0 20px 48px rgba(26, 23, 33, 0.12);
  --shadow-book: 0 16px 36px rgba(26, 23, 33, 0.22), -4px 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-book-hover: 0 24px 54px rgba(26, 23, 33, 0.3), -6px 8px 18px rgba(0, 0, 0, 0.12);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  background-color: var(--bg-parchment);
  color: var(--ink-primary);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink-primary);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-pill);
  background: var(--bg-white);
  border: 1px solid var(--line);
  color: var(--ink-secondary);
  box-shadow: var(--shadow-sm);
}

.badge-pill-gold {
  background: linear-gradient(135deg, #fff6dd, #feecba);
  border-color: #f3d489;
  color: #8c5806;
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-accent);
  box-shadow: 0 2px 8px rgba(201, 138, 26, 0.25);
}

.brand-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink-primary);
  letter-spacing: 0.01em;
}

.brand-tagline {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.8vw, 1.75rem);
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-secondary);
  position: relative;
  padding: 0.35rem 0.2rem;
}

.nav-link:hover {
  color: var(--ink-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-accent);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: var(--winter-navy);
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(21, 32, 51, 0.2);
  transition: transform 0.18s ease, background 0.18s ease;
}

.nav-cta:hover {
  background: #233652;
  transform: translateY(-1px);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.language-toggle:hover {
  border-color: var(--gold-accent);
  background: var(--bg-cream-tint);
  transform: translateY(-1px);
}

.lang-flag {
  font-size: 1.05rem;
  line-height: 1;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.button-primary {
  background: linear-gradient(135deg, #e67e22, #dc4b3e);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(220, 75, 62, 0.3);
}

.button-primary:hover {
  background: linear-gradient(135deg, #f38f38, #ea5a4d);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(220, 75, 62, 0.4);
}

.button-winter {
  background: linear-gradient(135deg, #183a2d, #152033);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(24, 58, 45, 0.3);
}

.button-winter:hover {
  background: linear-gradient(135deg, #224d3d, #20314d);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(24, 58, 45, 0.4);
}

.button-summer {
  background: linear-gradient(135deg, #d97706, #c2410c);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.3);
}

.button-summer:hover {
  background: linear-gradient(135deg, #ea8a17, #d44d18);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(217, 119, 6, 0.4);
}

.button-amazon-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #171923 !important;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.button-amazon-gold:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.45);
}

.button-secondary {
  background: var(--bg-white);
  color: var(--ink-primary);
  border: 1.5px solid var(--line-strong);
}

.button-secondary:hover {
  border-color: var(--ink-primary);
  background: var(--bg-cream-tint);
  transform: translateY(-2px);
}

.button-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.86rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1.25rem, 5vw, 4.5rem);
  background:
    radial-gradient(ellipse at 85% 20%, rgba(245, 158, 11, 0.12), transparent 50%),
    radial-gradient(ellipse at 15% 80%, rgba(24, 58, 45, 0.08), transparent 50%),
    linear-gradient(180deg, #fdfbf7 0%, #f7f1e6 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(400px, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge-row {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--ink-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, #d97706, #dc4b3e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-lede {
  font-size: clamp(1.1rem, 1.8vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-trust-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  width: 100%;
}

.hero-trust-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-art-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-3d-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-3d-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-book-hover);
}

.hero-art-img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.hero-art-caption {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Announcement Banner
   ========================================================================== */
.announcement-banner {
  background: linear-gradient(90deg, #152033 0%, #1e3a2f 50%, #2e2617 100%);
  color: #ffffff;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  text-align: center;
  font-size: 0.92rem;
}

.announcement-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.65rem;
  background: var(--summer-sun);
  color: #1a1721;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
}

.announcement-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.announcement-cta:hover {
  background: #ffffff;
  color: var(--winter-navy) !important;
}

/* ==========================================================================
   Section Headers & Base Section
   ========================================================================== */
.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1.25rem, 5vw, 4rem);
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 780px;
}

.section-heading-centred {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 0.85rem;
}

.section-heading p {
  font-size: 1.15rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Series Showcase Section
   ========================================================================== */
.series-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.series-story {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink-secondary);
}

.series-story p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  line-height: 0.85;
  float: left;
  margin-right: 0.65rem;
  margin-top: 0.15rem;
  color: var(--gold-accent);
  font-weight: 700;
}

.reader-promises-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.reader-promises-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--winter-pine), var(--gold-accent), var(--summer-coral));
}

.reader-promises-card h3 {
  font-size: 1.45rem;
  margin-bottom: 1.25rem;
  color: var(--ink-primary);
}

.reader-promises-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.reader-promises-list li {
  font-size: 0.98rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  padding-left: 0.2rem;
}

.series-close-text {
  font-family: var(--font-literary);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-primary);
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}

/* ==========================================================================
   Book Cards Grid
   ========================================================================== */
.book-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(2rem, 3.5vw, 3rem);
}

.book-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.book-card-header {
  position: relative;
  padding: 2rem 2rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.8), transparent 70%);
}

.book-card-winter .book-card-header {
  background-color: var(--winter-ice);
  border-bottom: 1px solid var(--winter-border);
}

.book-card-summer .book-card-header {
  background-color: var(--summer-peach);
  border-bottom: 1px solid var(--summer-border);
}

/* 3D Book Graphic Simulation */
.book-cover-3d {
  position: relative;
  width: 220px;
  perspective: 1000px;
  transition: transform 0.35s ease;
}

.book-cover-3d:hover {
  transform: rotateY(-8deg) scale(1.03);
}

.book-cover-img {
  width: 100%;
  height: auto;
  border-radius: 4px 10px 10px 4px;
  box-shadow: var(--shadow-book);
}

.book-card-body {
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.book-format-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.format-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  color: var(--ink-secondary);
  border: 1px solid var(--line);
}

.book-card-title {
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
}

.book-card-subtitle {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.book-card-hook {
  font-family: var(--font-literary);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-primary);
  line-height: 1.5;
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--gold-accent);
}

.book-card-desc {
  font-size: 0.98rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.book-tropes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.trope-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--bg-parchment);
  border: 1px solid var(--line);
  color: var(--ink-primary);
}

.book-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.store-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.store-btn {
  flex: 1;
  padding: 0.45rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--line);
  color: var(--ink-primary);
  transition: all 0.18s ease;
}

.store-btn:hover {
  background: var(--ink-primary);
  color: #ffffff;
}

/* ==========================================================================
   Deep Book Feature Showcase Sections
   ========================================================================== */
.book-feature-section {
  padding: clamp(4.5rem, 7vw, 7rem) clamp(1.25rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.book-feature-winter {
  background: linear-gradient(180deg, #ffffff 0%, #f2f7fa 100%);
}

.book-feature-summer {
  background: linear-gradient(180deg, #ffffff 0%, #fdf6ec 100%);
}

.book-feature-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
}

.book-feature-summer .book-feature-inner {
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 1fr);
}

.book-feature-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.book-feature-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 1rem;
}

.book-feature-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
}

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

.feature-title {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  margin-bottom: 0.4rem;
}

.feature-hook {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--gold-accent);
  margin-bottom: 1.5rem;
}

.synopsis-text-block {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--ink-secondary);
  margin-bottom: 1.75rem;
}

.book-quote-callout {
  margin: 1.5rem 0;
  padding: 1.35rem 1.75rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold-accent);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.book-quote-callout p {
  font-family: var(--font-literary);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-primary);
  margin-bottom: 0.4rem;
}

.book-quote-callout cite {
  font-size: 0.84rem;
  font-weight: 700;
  font-style: normal;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Interactive Excerpt Drawer */
.excerpt-box {
  width: 100%;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.excerpt-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  background: var(--bg-secondary);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-primary);
  transition: background 0.18s ease;
}

.excerpt-toggle-btn:hover {
  background: var(--bg-cream-tint);
}

.excerpt-content {
  padding: 1.5rem 1.75rem;
  font-family: var(--font-literary);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-secondary);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
}

.book-note-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 1.75rem;
}

.feature-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.04);
}

/* ==========================================================================
   Newsletter & Brevo Signup Section
   ========================================================================== */
.newsletter-section {
  background: linear-gradient(135deg, #152033 0%, #1a2f26 100%);
  color: #ffffff;
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 155, 41, 0.12), transparent 65%);
  pointer-events: none;
}

.newsletter-card {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.newsletter-art {
  display: flex;
  justify-content: center;
}

.newsletter-img-wrap {
  position: relative;
  max-width: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.newsletter-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.newsletter-copy h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1rem;
}

.newsletter-copy p {
  color: #d1d5db;
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.newsletter-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.newsletter-benefits li {
  font-size: 0.95rem;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Brevo Inline Signup Form */
.newsletter-form-wrap {
  width: 100%;
  max-width: 520px;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.form-inputs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  width: 100%;
}

.newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.92);
  color: #1a1721;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.newsletter-input:focus {
  background: #ffffff;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
}

.newsletter-input::placeholder {
  color: #746d84;
}

.newsletter-submit-btn {
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #171923;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.newsletter-submit-btn:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);
}

.newsletter-success-box {
  background: rgba(35, 92, 67, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: #ffffff;
  font-size: 0.92rem;
  margin-top: 0.75rem;
  display: none;
}

.newsletter-note {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 0.4rem;
}

/* ==========================================================================
   About Author Section
   ========================================================================== */
.about-section {
  padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--bg-parchment);
}

.about-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.about-author-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.author-portrait-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--gold-accent), var(--summer-coral));
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.25rem;
}

.author-portrait-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
}

.author-credentials {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-secondary);
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.about-copy p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink-secondary);
}

.author-store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #11141e;
  color: #ffffff;
  padding: 4.5rem clamp(1.25rem, 5vw, 4rem) 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.8fr) minmax(200px, 0.9fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 3.5rem;
}

.footer-brand strong {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #ffffff;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 380px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-accent);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #d1d5db;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.social-icons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.social-icon-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.84rem;
  color: #6b7280;
}

.footer-email-link {
  color: #9ca3af;
}

.footer-email-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-copy {
    align-items: center;
  }
  
  .hero-lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust-list {
    align-items: center;
  }

  .series-grid {
    grid-template-columns: 1fr;
  }

  .book-feature-inner,
  .book-feature-summer .book-feature-inner {
    grid-template-columns: 1fr;
  }

  .book-feature-art {
    order: -1;
  }

  .newsletter-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-copy {
    align-items: center;
  }

  .newsletter-form-wrap {
    margin: 0 auto 1rem;
  }

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

  .about-copy {
    align-items: center;
  }

  .author-store-links {
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .hero {
    padding: 3rem 1.25rem;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .book-cards-grid {
    grid-template-columns: 1fr;
  }

  .book-cover-3d {
    width: 180px;
  }

  .form-inputs-row {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
