/* ============================================================
   ENCHANTED KINGDOMS — WordPress Theme CSS
   Melanie Cellier · melaniecellier.com
   Aesthetic: Warm parchment · Fairy tale · Refined literary
   Fonts: Cormorant Garamond (display) + Lora (body)
   ============================================================ */

/* ── Colour tokens ── */
:root {
  --parchment:       #f5f0e8;
  --parchment-dark:  #ede5d4;
  --parchment-mid:   #e8dfc9;
  --ink:             #2a2118;
  --ink-soft:        #4a3f33;
  --ink-muted:       #7a6e62;
  --gold:            #b8860b;
  --gold-light:      #d4a843;
  --gold-pale:       #f0e0a0;
  --rose:            #8b4a52;
  --forest:          #2d4a3e;
  --forest-mid:      #3d6b5a;
  --forest-pale:     #e8f0ec;
  --border:          #d4c9b4;
  --border-dark:     #b8a88c;
  --shadow:          rgba(42, 33, 24, 0.12);
  --shadow-deep:     rgba(42, 33, 24, 0.28);
}

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

html { scroll-behavior: smooth; font-size: 18px; }

body {
  background-color: var(--parchment);
  color: var(--ink);
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  line-height: 1.75;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-mid); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

/* ── Fancy HR ── */
hr.fancy, .wp-block-separator {
  border: none;
  text-align: center;
  margin: 2.5rem auto;
  font-size: 1.2rem;
  letter-spacing: 0.6em;
  opacity: 0.5;
  color: var(--border-dark);
}
hr.fancy::before, .wp-block-separator::before { content: "✦ ✦ ✦"; font-family: serif; }

/* ── Layout ── */
.container        { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 760px;  margin: 0 auto; padding: 0 2rem; }

/* ── SITE HEADER ── */
.site-header {
  background-color: var(--forest);
  background-image: linear-gradient(160deg, var(--forest) 0%, #1e3529 60%, #0f2018 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 5 L35 20 L50 20 L38 30 L43 45 L30 36 L17 45 L22 30 L10 20 L25 20Z' fill='none' stroke='%23b8860b' stroke-width='0.3' opacity='0.15'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.site-header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
  gap: 1.5rem;
}

.site-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-logo__photo {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid rgba(212,175,55,0.35);
  flex-shrink: 0;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.site-logo__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  font-variant: small-caps;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.site-logo__name:hover { color: var(--gold-light); }

.site-logo__tagline {
  font-family: 'Cormorant SC', serif;
  font-size: 0.62rem;
  color: var(--parchment-mid);
  letter-spacing: 0.22em;
  opacity: 0.75;
}

.site-nav {
  overflow: visible;
  position: relative;
  z-index: 1001;
}
.site-nav .nav-menu,
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 0;
}

.site-nav .nav-menu a,
.site-nav ul a {
  font-family: 'Cormorant SC', serif;
  font-size: 0.83rem;
  letter-spacing: 0.18em;
  color: var(--parchment-mid);
  padding: 0.45em 0.7em;
  display: block;
  transition: color 0.2s, background 0.2s;
  border-radius: 2px;
  opacity: 0.85;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--gold-light) !important;
  background-color: rgba(255,255,255,0.07);
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--parchment);
  padding: 0.4em 0.9em;
  cursor: pointer;
  font-family: 'Cormorant SC', serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  border-radius: 2px;
}

/* ── HERO ── */
.hero {
  background-color: var(--forest);
  background-image: linear-gradient(180deg, #0f2018 0%, var(--forest) 40%, #2d4a3e 100%);
  color: var(--parchment);
  text-align: center;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M10,10 Q50,10 50,50 Q50,10 90,10' fill='none' stroke='%23b8860b' stroke-width='1' opacity='0.35'/%3E%3Cpath d='M10,10 Q10,50 50,50 Q10,50 10,90' fill='none' stroke='%23b8860b' stroke-width='1' opacity='0.35'/%3E%3Ccircle cx='10' cy='10' r='3' fill='%23b8860b' opacity='0.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  pointer-events: none;
}
.hero::before { top: 1.5rem; left: 1.5rem; }
.hero::after  { bottom: 1.5rem; right: 1.5rem; transform: rotate(180deg); }

.hero__eyebrow {
  font-family: 'Cormorant SC', serif;
  font-size: 0.82rem;
  letter-spacing: 0.35em;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  opacity: 0.85;
}

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--parchment);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero__title em {
  color: var(--gold-light);
  font-style: normal;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--parchment-mid);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  opacity: 0.85;
  line-height: 1.7;
}

.hero__cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__german-note {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--parchment-mid);
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.hero__german-note em {
  font-style: italic;
  color: var(--parchment);
}

.hero__german-note a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,175,55,0.3);
  transition: opacity 0.2s;
}

.hero__german-note a:hover { opacity: 0.75; }

/* German stat link */
.rating-stat__german-link {
  color: var(--parchment-mid);
  text-decoration: none;
  line-height: 1.4;
}

.rating-stat__german-link em {
  display: block;
  font-style: italic;
  font-size: 0.78rem;
  opacity: 0.75;
}

.rating-stat__german-link:hover {
  color: var(--gold-light);
}

/* German books nav separator + item */
.menu-item--german-divider {
  height: 1px;
  background: var(--border);
  margin: 0.4rem 0.8rem;
  pointer-events: none;
}

.menu-item--german > a {
  font-style: italic;
  color: var(--gold) !important;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.menu-item--german > a:hover {
  color: var(--gold-light) !important;
}

/* German series card */
.series-card--german .series-card__image {
  object-fit: contain;
  padding: 0.5rem;
}

/* ── NEWSLETTER BAND ── */
.newsletter-band {
  background: var(--forest-dark, #1a2e1a);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.newsletter-band .section-kicker {
  color: var(--gold-light);
  opacity: 1;
}

.newsletter-band__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--parchment);
  margin: 0.4rem 0 1rem;
}

.newsletter-band__desc {
  color: var(--parchment-mid);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 1.8rem;
  line-height: 1.7;
  opacity: 0.85;
}

.newsletter-band__form {
  position: relative;
}

.newsletter-band__row {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}

.newsletter-band__input {
  flex: 1;
  min-width: 220px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212,175,55,0.45);
  border-radius: 3px;
  padding: 0.75rem 1.1rem;
  color: var(--parchment);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.newsletter-band__input::placeholder {
  color: rgba(245,235,210,0.45);
}

.newsletter-band__input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.14);
}

@media (max-width: 480px) {
  .newsletter-band__input,
  .newsletter-band__row .btn { width: 100%; }
}

/* German horizontal card — full width below the grid */
.german-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
  background: var(--parchment-dark);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  max-width: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}

.german-card:hover {
  box-shadow: 0 4px 20px var(--shadow);
  transform: translateY(-2px);
}

.german-card__img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 4px 16px var(--shadow);
}

.german-card__tag {
  font-family: 'Cormorant SC', serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}

.german-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  margin: 0 0 0.6rem;
  font-style: italic;
}

.german-card__desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.german-card__meta {
  font-size: 0.75rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

@media (max-width: 580px) {
  .german-card {
    grid-template-columns: 1fr;
  }
  .german-card__cover {
    max-width: 120px;
  }
}

/* ── Hero image variant ── */
.hero--image {
  background-color: var(--forest);
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero--image::before,
.hero--image::after {
  display: none;
}

/* Dark overlay so text stays readable over the photograph */
.hero--image .hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 20, 12, 0.55) 0%,
    rgba(8, 20, 12, 0.35) 50%,
    rgba(8, 20, 12, 0.65) 100%
  );
  pointer-events: none;
}

.hero--image .hero__eyebrow,
.hero--image .hero__title,
.hero--image .hero__subtitle {
  position: relative;
  z-index: 1;
}

.hero--image .hero__cta-group {
  position: relative;
  z-index: 1;
}

.hero--image .hero__title {
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}

.hero--image .hero__subtitle {
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: 'Cormorant SC', serif;
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  padding: 0.85em 2.2em;
  border-radius: 2px;
  transition: all 0.25s;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn--small { padding: 0.5em 1.2em; font-size: 0.78rem; }

.btn--gold {
  background-color: var(--gold);
  color: var(--parchment);
  border-color: var(--gold);
}
.btn--gold:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184,134,11,0.3);
}

.btn--outline {
  background-color: transparent;
  color: var(--parchment);
  border-color: rgba(255,255,255,0.35);
}
.btn--outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}
.btn--outline.btn--outline-gold {
  color: var(--gold);
  border-color: var(--gold);
  background-color: transparent;
}
.btn--outline.btn--outline-gold:hover {
  color: var(--ink);
  border-color: var(--gold);
  background-color: var(--gold);
}

.btn--forest {
  background-color: var(--forest);
  color: var(--parchment);
  border-color: var(--forest);
}
.btn--forest:hover {
  background-color: var(--forest-mid);
  border-color: var(--forest-mid);
  transform: translateY(-1px);
}

/* ── Sections ── */
.section     { padding: 4.5rem 0; }
.section--alt { padding: 4.5rem 0; background-color: var(--parchment-dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--forest { background-color: var(--forest); color: var(--parchment); border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }

.section-heading { text-align: center; margin-bottom: 0.5rem; }
.section-heading h2 { font-style: italic; font-weight: 400; }

.section-kicker {
  font-family: 'Cormorant SC', serif;
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-align: center;
  display: block;
  margin-bottom: 0.4rem;
}

.section-intro {
  font-size: 1rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 580px;
  margin: 0.8rem auto 3rem;
}

/* ── Series cards ── */
.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.series-card {
  background-color: var(--parchment);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.series-card::before {
  content: '';
  position: absolute;
  top: 6px; left: 6px; right: 6px; bottom: 6px;
  border: 1px solid var(--border);
  pointer-events: none;
  opacity: 0.4;
  transition: opacity 0.25s;
}

.series-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px var(--shadow); }
.series-card:hover::before { opacity: 1; }

.series-card--dark {
  background-color: var(--forest);
  border-color: var(--gold);
  color: var(--parchment);
}
.series-card--dark::before { border-color: rgba(212,168,67,0.3); }
.series-card--dark .series-card__tag { color: var(--gold-light); }
.series-card--dark .series-card__title { color: var(--parchment); }
.series-card--dark .series-card__desc { color: var(--parchment-mid); opacity: 0.85; }
.series-card--dark .series-card__meta { color: var(--gold-pale); opacity: 0.6; }

.series-card__tag   { font-family: 'Cormorant SC', serif; font-size: 0.7rem; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 0.6rem; display: block; }
.series-card__title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 500; margin-bottom: 0.8rem; line-height: 1.2; }
.series-card__desc  { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 1.4rem; }
.series-card__meta  { font-family: 'Cormorant SC', serif; font-size: 0.72rem; letter-spacing: 0.18em; color: var(--ink-muted); margin-bottom: 1.2rem; }

/* ── Image cards (box sets + map portal) ── */
.series-card--image,
.series-card--map {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.series-card--image .series-card__body,
.series-card--map .series-card__body {
  padding: 1.8rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.series-card--image .series-card__desc,
.series-card--map .series-card__desc {
  flex: 1;
}

/* Box set image */
.series-card__image-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: var(--parchment-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.series-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 1rem;
  transition: transform 0.4s ease;
}

.series-card--image:hover .series-card__image {
  transform: scale(1.03);
}

/* Map portal image */
.series-card__map-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
}

.series-card__map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.4s ease;
}

.series-card--map:hover .series-card__map-image {
  transform: scale(1.04);
}

.series-card__map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(42, 54, 37, 0.45));
  pointer-events: none;
}

/* ── Book grid ── */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 1.8rem 1.4rem;
  margin-top: 2rem;
}

.book-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
}

/* Homepage latest books — always 5 columns, side-scrolls if too narrow */
.book-grid--home {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.8rem 1.4rem;
  margin-top: 2rem;
  overflow-x: auto;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.book-grid--home::-webkit-scrollbar { display: none; }

@media (max-width: 600px) {
  .book-grid--home {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
  }
}

.book-item { display: flex; flex-direction: column; gap: 0.6rem; }

.book-item__cover {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 3px 4px 14px var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  background-color: var(--parchment-dark);
}
.book-item__cover:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 5px 10px 22px var(--shadow-deep); }

.book-item__cover--placeholder {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.85rem; color: var(--ink-muted); text-align: center; padding: 1rem;
}

.book-item__meta { display: flex; flex-direction: column; gap: 0.2rem; }
.book-item__num  { font-family: 'Cormorant SC', serif; font-size: 0.75rem; letter-spacing: 0.2em; color: var(--gold); }
.book-item__title { font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; font-weight: 500; line-height: 1.3; }
.book-item__title a { color: var(--ink); }
.book-item__title a:hover { color: var(--gold); }
.book-item__subtitle { font-size: 0.85rem; color: var(--ink-muted); font-style: italic; }
.book-item__series   { font-family: 'Cormorant SC', serif; font-size: 0.68rem; letter-spacing: 0.15em; color: var(--forest-mid); }
.book-item__links    { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.3rem; }

/* ── Series hero / page hero ── */
.series-hero {
  background-color: var(--parchment-dark);
  border-bottom: 2px solid var(--gold);
  padding: 3.5rem 2rem;
  text-align: center;
}
.series-hero h1 { font-style: italic; font-weight: 400; margin-bottom: 0.8rem; }
.series-hero p  { max-width: 620px; margin: 0 auto; color: var(--ink-soft); }

/* ── Book hero (single book page) ── */
.book-hero {
  background-color: var(--parchment-dark);
  border-bottom: 2px solid var(--gold);
  padding: 4rem 0;
}

.book-hero__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.book-hero__img {
  width: 100%;
  box-shadow: 6px 10px 30px var(--shadow-deep);
  border: 1px solid var(--border-dark);
}

.book-hero__series-link {
  font-family: 'Cormorant SC', serif;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}

.book-hero__title   { font-style: italic; font-weight: 400; margin-bottom: 0.4rem; }
.book-hero__subtitle { font-style: italic; color: var(--ink-muted); margin-bottom: 0.8rem; font-size: 1rem; }
.book-hero__num      { font-family: 'Cormorant SC', serif; font-size: 0.78rem; letter-spacing: 0.2em; color: var(--ink-muted); margin-bottom: 1rem; }
.book-hero__tagline  { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 1.8rem; max-width: 520px; }
.book-hero__cta      { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.book-hero__date     { font-family: 'Cormorant SC', serif; font-size: 0.75rem; letter-spacing: 0.18em; color: var(--ink-muted); margin-top: 0.5rem; }

/* ── Book description body ── */
.book-description { font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }
.book-description p { margin-bottom: 1.3em; }
.book-description h2, .book-description h3 { font-style: italic; font-weight: 400; margin: 2rem 0 0.8rem; }

/* ── Social proof bar ── */
.ratings-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2.5rem 2rem;
}

.rating-stat { text-align: center; }
.rating-stat__number { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 300; color: var(--gold-light); line-height: 1; }
.rating-stat__label  { font-family: 'Cormorant SC', serif; font-size: 0.72rem; letter-spacing: 0.22em; color: var(--parchment-mid); display: block; margin-top: 0.3em; }

/* ── Newsletter box ── */
.newsletter {
  background-color: var(--parchment-dark);
  border: 1px solid var(--border-dark);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.newsletter::before { content:'✦'; position:absolute; top:1rem; left:1.2rem; color:var(--gold); opacity:0.4; }
.newsletter::after  { content:'✦'; position:absolute; bottom:1rem; right:1.2rem; color:var(--gold); opacity:0.4; }
.newsletter h3 { font-style: italic; font-weight: 400; margin-bottom: 0.5rem; }
.newsletter p  { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.5rem; }

/* ── Pull quote ── */
.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 0.8rem 1.5rem;
  margin: 2rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink-soft);
}
.pull-quote--center { border-left: none; text-align: center; font-size: 1.35rem; padding: 0; margin: 1rem 0 0.5rem; }
.pull-quote cite    { display: block; font-family: 'Cormorant SC', serif; font-size: 0.75rem; font-style: normal; letter-spacing: 0.2em; color: var(--gold); margin-top: 0.5rem; }

/* ── Reading order layout ── */
.order-world { margin-bottom: 3.5rem; }
.order-world h2 { font-style: italic; font-weight: 400; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; margin-bottom: 1.5rem; }
.order-series { margin-bottom: 2rem; padding-left: 1.5rem; border-left: 2px solid var(--gold-pale); }
.order-series h3 { font-size: 1.15rem; margin-bottom: 0.7rem; color: var(--forest-mid); }
.order-series ol { padding-left: 1.3rem; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.9; }
.order-genre:last-child { margin-bottom: 0; }

/* ── Standard page content ── */
.page-content {
  max-width: 760px;
  margin: 4rem auto;
  padding: 0 2rem;
}
.page-content h1 {
  font-style: italic;
  font-weight: 400;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}
.page-intro {
  font-size: 1.08rem;
  color: var(--ink-soft);
  font-style: italic;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}
.page-body p { margin-bottom: 1.3em; color: var(--ink-soft); }
.page-body h2, .page-body h3 { font-style: italic; font-weight: 400; margin: 2rem 0 0.8rem; }
.page-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; }
.page-body th { font-family: 'Cormorant SC', serif; font-size: 0.65rem; letter-spacing: 0.2em; padding: 0.6rem 1rem; background: var(--parchment-dark); border-bottom: 2px solid var(--gold); text-align: left; }
.page-body td { padding: 0.6rem 1rem; border-bottom: 1px solid var(--border); color: var(--ink-soft); }
.page-body tr:last-child td { border-bottom: none; }

/* ── Footer ── */
.site-footer {
  background-color: var(--ink);
  color: var(--parchment-mid);
  padding: 3.5rem 2rem 2rem;
}

.site-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 { font-family: 'Cormorant SC', serif; font-size: 0.68rem; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 1rem; }
.footer-col p  { font-size: 0.88rem; color: var(--parchment-mid); opacity: 0.7; line-height: 1.8; }

.footer-nav-list, .footer-col ul { list-style: none; padding: 0; }
.footer-nav-list li a, .footer-col ul li a { font-size: 0.88rem; color: var(--parchment-mid); opacity: 0.7; line-height: 2; display: block; }
.footer-nav-list li a:hover, .footer-col ul li a:hover { color: var(--gold-light); opacity: 1; }

.footer-social { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1rem; }
.footer-social a {
  font-family: 'Cormorant SC', serif; font-size: 0.65rem; letter-spacing: 0.18em;
  padding: 0.5em 1em; border: 1px solid rgba(255,255,255,0.15); border-radius: 2px;
  color: var(--parchment-mid); opacity: 0.7;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold-light); opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1140px;
  margin: 0 auto;
}
.footer-bottom p { font-family: 'Cormorant SC', serif; font-size: 0.62rem; letter-spacing: 0.18em; color: var(--parchment-mid); opacity: 0.4; }
.footer-bottom a { color: inherit; opacity: 0.6; }
.footer-bottom a:hover { opacity: 1; color: var(--gold-light); }

/* ── Utility ── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 9999; background: var(--gold); color: var(--ink); padding: 0.5rem 1rem; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up              { animation: fadeUp 0.7s ease both; }
.fade-up--delay-1     { animation-delay: 0.1s; }
.fade-up--delay-2     { animation-delay: 0.22s; }
.fade-up--delay-3     { animation-delay: 0.36s; }
.fade-up--delay-4     { animation-delay: 0.5s; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .book-hero__inner { grid-template-columns: 200px 1fr; gap: 2rem; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .site-header__inner { flex-wrap: wrap; gap: 1rem; }
  .nav-toggle { display: block; }

  .site-nav { width: 100%; max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
  .site-nav.is-open {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .site-nav .nav-menu, .site-nav ul { flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 0.5rem; }
  .site-nav a { padding: 0.6em 0; }

  .hero { padding: 3.5rem 1.5rem 3rem; }
  .hero__cta-group { flex-direction: column; align-items: center; }

  .book-hero__inner { grid-template-columns: 1fr; }
  .book-hero__cover { max-width: 220px; margin: 0 auto; }

  .series-grid { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .ratings-bar { gap: 2rem; }
}

@media (max-width: 480px) {
  .book-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* ── START HERE PAGE ── */
/* ── START HERE PAGE ── */

/* Hero banner — tighter than homepage, same image */
.start-hero {
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  position: relative;
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.start-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 20, 12, 0.62) 0%,
    rgba(8, 20, 12, 0.45) 50%,
    rgba(8, 20, 12, 0.68) 100%
  );
  pointer-events: none;
}

.start-hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.start-hero__content .section-kicker {
  color: var(--gold-light);
  opacity: 0.9;
}

.start-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--parchment);
  line-height: 1.2;
  margin: 0.6rem 0 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

.start-hero__desc {
  font-size: 1rem;
  color: var(--parchment-mid);
  line-height: 1.75;
  opacity: 0.9;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* 2×2 World Grid */
.world-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* World Card */
.world-card {
  background: var(--parchment-dark);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.world-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--shadow);
}

/* Image strip */
.world-card__image-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--parchment-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.world-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.8rem;
  mix-blend-mode: multiply;
  transition: transform 0.4s ease;
}

.world-card:hover .world-card__image {
  transform: scale(1.03);
}

/* Card body */
.world-card__body {
  padding: 1.6rem 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.world-card__tag {
  font-family: 'Cormorant SC', serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}

.world-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  margin: 0 0 0.8rem;
  line-height: 1.2;
}

.world-card__desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 1rem;
  flex: 1;
}

.world-card__start {
  font-family: 'Cormorant SC', serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--forest-mid);
  margin: 0 0 1.4rem;
}

.world-card__btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Mobile — stack to single column */
@media (max-width: 680px) {
  .world-grid { grid-template-columns: 1fr; }
  .start-hero { padding: 3rem 1.5rem 2.5rem; }
}

/* ── SERIES LANDING PAGE ── */
.series-hero__desc {
  font-size: 1.1rem;
  color: var(--parchment-mid);
  max-width: 640px;
  margin: 1rem auto 0;
  line-height: 1.8;
}

/* Series format declaration line */
.series-hero__formats {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--parchment-mid);
  opacity: 0.8;
  letter-spacing: 0.04em;
  font-family: 'Cormorant SC', serif;
}

.series-hero__formats-link {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,175,55,0.3);
  margin-left: 0.5rem;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-variant: normal;
}

.series-hero__formats-link:hover { opacity: 0.75; }

/* Homepage format note under Recent Releases */
.section-formats-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

.section-formats-note a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(180,140,40,0.3);
}

.section-formats-note a:hover { opacity: 0.8; }

/* ── WHERE TO BUY PAGE ── */
.wtb-formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.wtb-format {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--parchment-dark);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
}

.wtb-format__icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.wtb-format__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.wtb-format__desc {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.wtb-retailers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.5rem;
  margin: 0 auto;
  max-width: 580px;
}

.wtb-retailer {
  font-family: 'Cormorant SC', serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
}

@media (max-width: 640px) {
  .wtb-formats {
    grid-template-columns: 1fr;
  }
}

/* Reading order list */
.series-booklist {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 860px;
  margin: 0 auto;
}

.series-book {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 4rem;
  scroll-margin-top: 6rem;
  border-bottom: 1px solid var(--border);
}

.series-book:last-child { border-bottom: none; }

.series-book--first {
  background: var(--parchment-dark);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 2rem;
}

.series-book__cover-wrap { position: relative; }

.series-book__cover,
.series-book__cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 4px 4px 16px var(--shadow-deep);
}

/* 3D upright covers float free — no competing shadow or radius */
.series-book__cover--3d,
.series-book__cover--3d img {
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}


.series-book__cover--placeholder {
  background: var(--parchment-mid);
  aspect-ratio: 2/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.series-book__num-badge {
  position: absolute;
  top: -0.6rem;
  left: -0.6rem;
  background: var(--forest);
  color: var(--gold-light);
  font-family: 'Cormorant SC', serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  padding: 0.25em 0.6em;
  border-radius: 2px;
}

.series-book__title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 0.3rem;
}

.series-book__subtitle {
  font-style: italic;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.series-book__blurb {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.series-book__blurb p:last-child { margin-bottom: 0; }

/* Book 1 highlight (Section 3) */
.series-start {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}

.series-start__cover-wrap:has(.series-start__cover--3d) {
  background: transparent;
  border: none;
  box-shadow: none;
}

.series-start__cover-wrap img:not(.series-start__cover--3d) {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 6px 6px 20px var(--shadow-deep);
}

.series-start__cover-wrap img.series-start__cover--3d {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  display: block;
}
.series-start__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.4rem;
}

.series-start__subtitle {
  font-style: italic;
  color: var(--ink-muted);
  margin-bottom: 1.2rem;
}

.series-start__blurb {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 1.8rem;
}

/* ── DROPDOWN SUBMENU ── */
.site-nav .nav-menu li { position: relative; }

/* Level 1: Books → Worlds */
.site-nav .nav-menu > li > .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--forest);
  border-top: 2px solid var(--gold);
  box-shadow: 0 8px 24px var(--shadow-deep);
  z-index: 200;
  flex-direction: column;
  padding: 0.4rem 0;
  list-style: none;
}

.site-nav .nav-menu > li:hover > .sub-menu,
.site-nav .nav-menu > li:focus-within > .sub-menu {
  display: flex;
}

/* Level 2: Worlds → Series */
.site-nav .nav-menu .sub-menu .sub-menu--series {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 220px;
  background: #1e3529;
  border-top: 2px solid var(--gold);
  box-shadow: 4px 8px 24px var(--shadow-deep);
  z-index: 201;
  flex-direction: column;
  padding: 0.4rem 0;
  list-style: none;
  /* #6 small transition so flyout doesn't snap shut on diagonal mouse movement */
  transition: opacity 0.12s ease;
}

.site-nav .nav-menu .sub-menu li:hover > .sub-menu--series,
.site-nav .nav-menu .sub-menu li:focus-within > .sub-menu--series {
  display: flex;
}

/* World items — show chevron hint (hidden when JS chevron span is present) */
.site-nav .nav-menu .menu-item-world > a::after {
  content: ' ›';
  opacity: 0.6;
  font-size: 0.9em;
}

.site-nav .nav-menu .menu-item-world > a .nav-chevron ~ ::after,
.site-nav .nav-menu .menu-item-world > a:has(.nav-chevron)::after {
  display: none;
}

/* All submenu links */
.site-nav .nav-menu .sub-menu a,
.site-nav .nav-menu .sub-menu--series a {
  padding: 0.5em 1.2em;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
  opacity: 0.85;
  display: block;
  color: var(--parchment-mid);
  font-family: 'Cormorant SC', serif;
}

.site-nav .nav-menu .sub-menu a:hover,
.site-nav .nav-menu .sub-menu--series a:hover {
  color: var(--gold-light) !important;
  background: rgba(255,255,255,0.07);
  opacity: 1;
}

/* #7 Keyboard focus styles — visible outline for accessibility */
.site-nav .nav-menu a:focus-visible,
.site-nav .nav-menu .sub-menu a:focus-visible,
.site-nav .nav-menu .sub-menu--series a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* #10 Active state for injected submenu items */
.site-nav .nav-menu .sub-menu .nav-active > a,
.site-nav .nav-menu .sub-menu--series .nav-active > a,
.site-nav .nav-menu .sub-menu .current-menu-item > a {
  color: var(--gold-light) !important;
  opacity: 1;
}

.site-nav .nav-menu > li.nav-active-parent > a,
.site-nav .nav-menu .sub-menu .nav-active-parent > a {
  color: var(--gold-light) !important;
  opacity: 1;
}

/* Overview links — desktop hidden, mobile only */
.nav-overview-link,
.nav-books-overview {
  display: none;
}

/* Mobile — accordion submenus, overview pattern */
@media (max-width: 680px) {
  .series-book  { grid-template-columns: 120px 1fr; gap: 1.5rem; }
  .series-start { grid-template-columns: 1fr; }
  .series-start__cover-wrap { max-width: 180px; }

  /* All submenus hidden by default */
  .site-nav .nav-menu > li > .sub-menu,
  .site-nav .nav-menu .sub-menu .sub-menu--series {
    position: static;
    display: none;
    box-shadow: none;
    border-top: none;
    border-left: 2px solid var(--gold);
    padding-left: 1rem;
    background: transparent;
    width: 100%;
    flex-basis: 100%;
  }

  /* Show submenu when parent has .is-open */
  .site-nav .nav-menu > li.is-open > .sub-menu { display: flex; }
  .site-nav .nav-menu .sub-menu li.is-open > .sub-menu--series { display: flex; }

  /* Parent items flex to allow submenu below */
  .site-nav .nav-menu > li:has(> .sub-menu) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .site-nav .nav-menu > li:has(> .sub-menu) > a { flex: 1; }

  /* Chevron on parent link */
  .nav-chevron {
    color: var(--gold);
    font-size: 1rem;
    display: inline-block;
    transition: transform 0.2s;
  }

  /* Overview links — show on mobile only */
  .nav-overview-link,
  .nav-books-overview {
    display: block;
  }

  /* Overview link styling — italic, slightly muted */
  .nav-overview-link a {
    font-style: italic;
    color: var(--gold-light) !important;
    font-size: 0.85rem;
    opacity: 0.85;
    border-bottom: 1px solid rgba(184,134,11,0.3);
    padding-bottom: 0.4rem;
    margin-bottom: 0.3rem;
    display: block;
  }

  /* Hide desktop chevrons on mobile */
  .site-nav .nav-menu .menu-item-world > a::after { display: none; }
  .site-nav .nav-menu > li.menu-item-has-children > a::after { display: none; }

  /* Remove old toggle button if any */
  .nav-submenu-toggle { display: none; }

  /* #5 Larger touch targets — minimum 44px tap area */
  .site-nav .nav-menu > li > a,
  .site-nav .nav-menu .sub-menu a,
  .site-nav .nav-menu .sub-menu--series a {
    padding: 0.75em 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* #4 Fade indicator at bottom of nav when content overflows */
  .site-nav.is-open::after {
    content: '';
    display: block;
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.5rem;
    background: linear-gradient(to bottom, transparent, var(--forest));
    pointer-events: none;
    flex-shrink: 0;
  }
}

/* ── RELEASE PLANS PAGE ── */
.release-year__heading {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.4rem;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.release-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.release-item {
  padding: 1.2rem 1.5rem;
  background: var(--parchment-dark);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.2rem;
}

.release-item--released {
  border-left-color: var(--forest-mid);
  opacity: 0.75;
}

.release-item__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
}

.release-item__subtitle {
  font-style: normal;
}

.release-item__series {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-family: 'Cormorant SC', serif;
  letter-spacing: 0.08em;
}

.release-item__status {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Cormorant SC', serif;
  margin-left: auto;
}

.release-item__status--released    { color: var(--forest-mid); }
.release-item__status--coming-soon { color: var(--gold); }
.release-item__status--in-progress { color: var(--rose); }

/* ── CONNECT PAGE ── */
.connect-signup {
  background: var(--parchment-dark);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.connect-signup h2 {
  margin-bottom: 0.5rem;
}

.connect-signup__form { margin-top: 0.5rem; }

.connect-signup__row {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.connect-signup__input {
  flex: 1;
  padding: 0.75em 1em;
  font-family: 'Lora', serif;
  font-size: 1rem;
  border: 1px solid var(--border-dark);
  border-radius: 2px;
  background: var(--parchment);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.connect-signup__input:focus {
  border-color: var(--gold);
}

.connect-signup__btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.connect-signup__privacy {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 1rem;
  font-style: italic;
}

.connect-signup__success {
  background: var(--forest-pale);
  border: 1px solid var(--forest-mid);
  color: var(--forest);
  padding: 1rem 1.5rem;
  border-radius: 3px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.connect-signup__error {
  background: #fdf0f0;
  border: 1px solid #e0a0a0;
  color: var(--rose);
  padding: 0.8rem 1.2rem;
  border-radius: 3px;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

@media (max-width: 480px) {
  .connect-signup__row { flex-direction: column; }
  .connect-signup { padding: 1.8rem 1.2rem; }
}

/* ── CONNECT PAGE PANELS (side-by-side layout) ── */
.connect-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

#reader-list {
  scroll-margin-top: 2rem;
}

.connect-panel {
  background: var(--parchment-dark);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
}

.connect-panel--discord {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.connect-panel__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.connect-panel__desc {
  color: var(--ink-soft);
  margin-bottom: 2rem;
  line-height: 1.65;
}

@media (max-width: 680px) {
  .connect-panels { grid-template-columns: 1fr; }
}

/* ── Connect panel image strips ── */
.connect-panel--has-image {
  padding: 0;
  overflow: hidden;
}

.connect-panel__image-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.connect-panel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transition: transform 0.4s ease;
}

/* Scroll image — show lower portion where the scrolls are */
.connect-panel:not(.connect-panel--discord) .connect-panel__image {
  object-position: center 60%;
}

/* Books image — centre is fine */
.connect-panel--discord .connect-panel__image {
  object-position: center 40%;
}

.connect-panel--has-image:hover .connect-panel__image {
  transform: scale(1.03);
}

.connect-panel__image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(20, 30, 20, 0.5));
  pointer-events: none;
}

.connect-panel__body {
  padding: 1.8rem 2rem 2rem;
}

.connect-panel__body .connect-signup__row {
  max-width: 100%;
  flex-wrap: wrap;
}

.connect-panel__body .connect-signup__input {
  min-width: 0;
  flex: 1 1 140px;
}

.connect-panel__body .connect-signup__btn {
  flex: 1 1 auto;
  width: 100%;
}

/* ── GERMAN TRANSLATIONS PAGE ── */
.german-series-intro {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto;
}

.german-series-intro p { margin-bottom: 1.2rem; }

.german-reading-order {
  background: var(--parchment-dark);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  margin-top: 1.5rem;
}

.german-reading-order h3 {
  font-family: 'Cormorant SC', serif;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.german-reading-order ol {
  padding-left: 1.2rem;
  color: var(--ink-soft);
  line-height: 2;
  font-size: 0.95rem;
}

.german-book {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.german-book:last-child { border-bottom: none; }

.german-book__img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 4px 16px var(--shadow);
  transition: transform 0.2s;
}

.german-book__img:hover { transform: scale(1.03); }

.german-book__band {
  font-family: 'Cormorant SC', serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}

.german-book__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 500;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.german-book__desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

@media (max-width: 580px) {
  .german-book {
    grid-template-columns: 1fr;
  }
  .german-book__cover {
    max-width: 160px;
  }
}

/* German signup form */
.german-signup {
  scroll-margin-top: 6rem;
  max-width: 560px;
  margin: 0 auto;
}

.german-signup__row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.german-signup__row .connect-signup__input {
  flex: 1;
  min-width: 200px;
}

.german-signup__permission {
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  background: var(--parchment);
}

.german-signup__permission-label {
  font-family: 'Cormorant SC', serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.german-signup__permission-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

.german-signup__checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
}

.german-signup__checkbox-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--forest);
  cursor: pointer;
  flex-shrink: 0;
}

.german-signup__legal {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.german-signup__mailchimp {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.german-signup__mailchimp a {
  color: var(--forest-mid);
}

/* Impressum page */
.impressum-content {
  max-width: 640px;
  margin: 0 auto;
}

.impressum-intro {
  font-family: 'Cormorant SC', serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.impressum-block {
  margin-bottom: 2rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.impressum-block:last-of-type {
  border-bottom: none;
}

.impressum-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--ink);
}

.impressum-block h3 {
  font-family: 'Cormorant SC', serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 1rem 0 0.4rem;
}

.impressum-block p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

.impressum-block a {
  color: var(--forest-mid);
}

/* ── ABOUT PAGE ── */
.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.about-photo__img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  object-position: top;
  border-radius: 3px;
  box-shadow: 6px 6px 24px var(--shadow-deep);
  display: block;
  border: 4px solid var(--parchment);
  outline: 1px solid var(--border);
}

.about-photo__placeholder {
  background: var(--parchment-dark);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1.2rem;
}

.about-content h3 {
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin: 2rem 0 0.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.about-content p {
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.about-content a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Quick facts grid */
.about-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.about-fact {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.about-fact__icon {
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.about-fact p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 700px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-photo { max-width: 220px; margin: 0 auto; }
}

/* ── EXTRAS LANDING PAGE ── */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.extras-card {
  background: var(--parchment-dark);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.extras-card:hover {
  box-shadow: 0 6px 24px var(--shadow);
  transform: translateY(-2px);
}

.extras-card__icon {
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
}

.extras-card__title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin: 0;
}

.extras-card__desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.extras-card .btn { align-self: flex-start; margin-top: auto; }

/* ── READING ORDER PAGE ── */
.reading-order__world {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}

.reading-order__world:last-child { border-bottom: none; }

.reading-order__world-title {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.reading-order__series {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border);
}

.reading-order__series-title {
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.reading-order__series-title a {
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-light);
}

.reading-order__series-title a:hover { color: var(--gold); }

.reading-order__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reading-order__book {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.reading-order__book--future {
  opacity: 0.65;
}

.reading-order__book-num {
  font-family: 'Cormorant SC', serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  min-width: 3rem;
  text-align: right;
  flex-shrink: 0;
}

.reading-order__book-title em {
  font-style: italic;
  color: var(--ink);
}

.reading-order__subtitle {
  font-style: normal;
  color: var(--ink-soft);
}

.reading-order__year {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-left: 0.3rem;
}

.reading-order__upcoming {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Cormorant SC', serif;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 0.1em 0.5em;
  margin-left: 0.5rem;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .extras-grid { grid-template-columns: 1fr; }
  .reading-order__series { padding-left: 0.75rem; }
}

/* ── MAPS PAGE ── */
.map-group {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.map-group:last-of-type { border-bottom: none; }

.map-group__title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

/* Spoiler notice */
.map-spoiler-notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--parchment-dark);
  border: 1px solid var(--border-dark);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.map-spoiler-notice__icon {
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.map-spoiler-notice strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.map-spoiler-notice p {
  margin: 0;
  line-height: 1.5;
}

/* Map tile */
.map-tile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.map-tile__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 3px 3px 12px var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.map-tile__btn:hover {
  box-shadow: 6px 6px 20px var(--shadow-deep);
  transform: translateY(-2px);
}

.map-tile__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.3s ease;
}

.map-tile__btn:hover .map-tile__img {
  transform: scale(1.03);
}

.map-tile__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 32, 24, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.map-tile__btn:hover .map-tile__overlay {
  background: rgba(15, 32, 24, 0.45);
}

.map-tile__expand {
  color: var(--gold-light);
  font-family: 'Cormorant SC', serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}

.map-tile__btn:hover .map-tile__expand {
  opacity: 1;
  transform: translateY(0);
}

.map-tile__title {
  font-family: 'Cormorant SC', serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-align: center;
  margin: 0;
}

.map-tile__note {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.map-tile__missing {
  background: var(--parchment-dark);
  border: 1px dashed var(--border);
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
  border-radius: 3px;
}

/* Lightbox */
.ek-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ek-lightbox[hidden] { display: none; }

.ek-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 14, 0.92);
  cursor: pointer;
}

.ek-lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.ek-lightbox__img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border: 2px solid var(--gold);
  border-radius: 2px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.ek-lightbox__caption {
  color: var(--gold-light);
  font-family: 'Cormorant SC', serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin: 0;
}

.ek-lightbox__close {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 1.1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.ek-lightbox__close:hover { background: rgba(184,134,11,0.2); }

/* Responsive */
@media (max-width: 900px) {
  .map-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .map-grid { grid-template-columns: 1fr; }
  .map-tile__img { height: 240px; }
}

/* ── BONUS CHAPTERS PAGE ── */
.bonus-group {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}

.bonus-group:last-child { border-bottom: none; }

.bonus-group__title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.bonus-book {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border);
}

.bonus-book__title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.bonus-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bonus-item {
  background: var(--parchment-dark);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.9rem 1.1rem;
  transition: box-shadow 0.15s;
}

.bonus-item:hover {
  box-shadow: 2px 2px 10px var(--shadow);
}

.bonus-item--gated {
  border-left: 3px solid var(--gold);
  background: var(--parchment);
}

.bonus-item__main {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.bonus-item__lock {
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.bonus-item__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bonus-item__chapter-title {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.bonus-item__desc {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.bonus-item__btn {
  flex-shrink: 0;
  font-size: 0.8rem;
  padding: 0.4em 1em;
  white-space: nowrap;
}

@media (max-width: 540px) {
  .bonus-item__main { flex-direction: column; align-items: flex-start; }
  .bonus-book { padding-left: 0.75rem; }
}

/* ── FAMILY TREES PAGE ── */
.ftree-rulers {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.ftree-accordion {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.ftree-panel {
  border-bottom: 1px solid var(--border);
}

.ftree-panel:last-child { border-bottom: none; }

.ftree-panel__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--parchment-dark);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
  gap: 1rem;
}

.ftree-panel__trigger:hover,
.ftree-panel__trigger[aria-expanded="true"] {
  background: var(--parchment);
}

.ftree-panel__name {
  font-family: 'Cormorant SC', serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.ftree-panel__chevron {
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 0.2s;
  flex-shrink: 0;
  line-height: 1;
}

.ftree-panel__trigger[aria-expanded="true"] .ftree-panel__chevron {
  transform: rotate(90deg);
}

.ftree-panel__body {
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--parchment);
  border-top: 1px solid var(--border);
}

.ftree-panel__body[hidden] { display: none; }

.ftree-content { max-width: 600px; }

.ftree-children {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ftree-child {
  padding-left: 1.25rem;
  border-left: 2px solid var(--gold);
}

.ftree-child__name {
  font-size: 0.95rem;
  color: var(--ink);
  display: block;
  margin-bottom: 0.3rem;
}

.ftree-grandchildren {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ftree-grandchildren li {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
}

.ftree-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  padding: 0.6rem 0.9rem;
  background: var(--parchment-dark);
  border-left: 2px solid var(--border);
  border-radius: 2px;
}

@media (max-width: 540px) {
  .ftree-panel__trigger { padding: 0.9rem 1rem; }
  .ftree-panel__body { padding: 1rem; }
}

/* ══════════════════════════════════════════
   EDUCATORS & LIBRARIANS PAGE
══════════════════════════════════════════ */

.edu-hero__publisher {
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-top: 1.5rem;
  opacity: 0.85;
}

/* Trait list */
.edu-traits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
  margin: 2rem 0;
}

.edu-trait {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.97rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.edu-trait__icon {
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.6rem;
  position: relative;
  top: -1px;
}

.edu-callout {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}

.edu-intro {
  text-align: center;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
}

/* Content grid — age/content notes */
.edu-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.edu-content-block {
  background: var(--parchment);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1.5rem;
}

.edu-content-block__title {
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.edu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.edu-list li {
  padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.edu-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.5rem;
  top: 0.55rem;
}

/* Catalogue stats */
.edu-catalogue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

.edu-catalogue-stat {
  background: var(--parchment-dark);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.edu-catalogue-stat__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.edu-catalogue-stat__label {
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

/* Formats */
.edu-formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.edu-format {
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
}

.edu-format__icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.6rem;
}

.edu-format__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.edu-format__desc {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Ordering block */
.edu-ordering {
  background: var(--parchment);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 2rem;
  margin-top: 2.5rem;
}

.edu-ordering__title {
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* Resource cards */
.edu-resources {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.edu-resource {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  transition: border-color 0.2s;
}

.edu-resource--placeholder {
  opacity: 0.45;
}

.edu-resource__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.edu-resource__body {
  flex: 1;
  min-width: 0;
}

.edu-resource__badge {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 2px;
  padding: 0.1rem 0.4rem;
  margin-bottom: 0.3rem;
}

.edu-resource__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.2rem;
}

.edu-resource__meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin: 0;
}

.edu-resource__action {
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Enquiry list */
.edu-enquiry-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.edu-enquiry-list__dot {
  color: var(--gold);
}

/* Responsive */
@media (max-width: 680px) {
  .edu-traits { grid-template-columns: 1fr; }
  .edu-content-grid { grid-template-columns: 1fr; }
  .edu-catalogue-grid { grid-template-columns: repeat(2, 1fr); }
  .edu-formats { grid-template-columns: 1fr; }
  .edu-resources { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .edu-catalogue-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════
   EDUCATORS PAGE — SIDE NAV
══════════════════════════════════════════ */

.edu-sidenav {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(100%);
  z-index: 900;
  background: var(--parchment);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 6px 0 0 6px;
  padding: 1rem 1rem 1rem 0.75rem;
  box-shadow: -3px 0 12px rgba(0,0,0,0.08);
  transition: transform 0.35s ease;
  max-width: 160px;
}

.edu-sidenav--visible {
  transform: translateY(-50%) translateX(0);
}

.edu-sidenav__label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.edu-sidenav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.edu-sidenav__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0.3rem 0.25rem;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  line-height: 1.3;
}

.edu-sidenav__link:hover {
  color: var(--ink);
  background: rgba(212,175,55,0.08);
}

.edu-sidenav__link--active {
  color: var(--gold);
  font-weight: 500;
}

.edu-sidenav__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.edu-sidenav__link--active .edu-sidenav__dot {
  background: var(--gold);
  transform: scale(1.4);
}

/* Hide on mobile and narrow screens */
@media (max-width: 1100px) {
  .edu-sidenav { display: none; }
}

/* ═══════════════════════════════════════════
   PRIVACY POLICY PAGE
═══════════════════════════════════════════ */
.privacy-body {
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}
.privacy-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  margin: 2.5rem 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.privacy-body h2:first-child { margin-top: 0; }
.privacy-body h3 {
  font-family: 'Cormorant SC', serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 1.5rem 0 0.4rem;
}
.privacy-body p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
}
.privacy-body a {
  color: var(--forest-mid);
  text-decoration: underline;
}
.privacy-body a:hover { color: var(--gold); }






/* ═══════════════════════════════════════════
   START HERE PAGE — dark background, light text
═══════════════════════════════════════════ */

.sh-page {
  background-color: #1a1a1a;
  background-image: var(--sh-hero);
  background-size: cover;
  background-position: 70% 0px;
  background-attachment: scroll;
  min-height: 100vh;
  position: relative;
}

/* All content above background */
.sh-opening,
.sh-worlds,
.sh-close {
  position: relative;
  z-index: 1;
}

/* ── Opening note ───────────────────────────── */
.sh-opening {
  padding: 5rem 2rem 4rem;
}
.sh-opening__inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  padding: 3.5rem 3rem 3rem;
}
.sh-opening__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid #e8c4c4;
  margin-bottom: 1.8rem;
  box-shadow: 0 3px 20px rgba(0,0,0,0.4);
}
.sh-opening__kicker {
  font-family: 'Cormorant SC', serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: #e8c4c4;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.sh-opening__note {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.85;
  color: rgba(255,248,240,0.92);
  margin-bottom: 1.2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.sh-opening__sig {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: #e8c4c4;
  margin-bottom: 2.5rem;
}

/* Ornamental divider */
.sh-ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 2rem;
  max-width: 240px;
}
.sh-ornament__line {
  flex: 1;
  height: 1px;
  background: rgba(232,196,196,0.5);
}
.sh-ornament__glyph {
  font-size: 0.75rem;
  color: #e8c4c4;
  opacity: 0.8;
  flex-shrink: 0;
}
.sh-opening__prompt {
  font-family: 'Cormorant SC', serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: rgba(255,248,240,0.6);
  text-transform: uppercase;
}

/* ── Four worlds ────────────────────────────── */
.sh-worlds {
  padding: 2rem 2rem 4rem;
}
.sh-worlds__inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.sh-world {
  background: rgba(245,235,225,0.93);
  border: 3px solid var(--forest);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sh-world:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.sh-world__cover-wrap {
  background: var(--parchment-dark);
  padding: 1.8rem 2rem 0;
  display: flex;
  justify-content: center;
}
.sh-world__cover {
  width: auto;
  height: 200px;
  object-fit: contain;
  display: block;
}
.sh-world__body {
  padding: 1.5rem 1.8rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sh-world__tag {
  font-family: 'Cormorant SC', serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--forest);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.sh-world__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}
.sh-world__voice {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  flex: 1;
}
.sh-world__start {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}
.sh-world__start em { color: var(--ink); font-style: italic; }
.sh-world__btn {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  background: var(--forest);
  border: 1px solid var(--forest);
  color: #f5f0e8;
  font-family: 'Cormorant SC', serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 2px;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
}
.sh-world__btn:hover {
  background: var(--forest-mid);
  border-color: var(--forest-mid);
}

/* ── Close ──────────────────────────────────── */
.sh-close {
  padding: 1rem 2rem 5rem;
  text-align: center;
}
.sh-close__inner { max-width: 580px; margin: 0 auto; }
.sh-close__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,248,240,0.75);
  line-height: 1.9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.sh-close__link {
  color: #e8c4c4;
  text-decoration: none;
  border-bottom: 1px solid rgba(232,196,196,0.4);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.sh-close__link:hover {
  color: #fff0f0;
  border-color: rgba(255,240,240,0.7);
}

/* ── Mobile ─────────────────────────────────── */
@media (max-width: 640px) {
  .sh-worlds__inner { grid-template-columns: 1fr; }
  .sh-opening__note { font-size: 1.1rem; }
}