/* ZOLLIBOO — consolidated homepage hero and side-margin seed treatment. */
/* ============================================================
   ZOLLIBOO — Global Stylesheet
   Fonts: Comfortaa (headings/wordmark) · Nunito (body/UI)
   Palette: locked per Visual Identity Brief v1
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@600;700&family=Nunito:wght@400;600;700&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Locked Palette — Visual Identity Brief v1 */
  --sky-blue:     #6FB7E6;
  --leaf-green:   #7FBF7F;
  --fruit-coral:  #F4A46A;
  --soft-pink:    #EFA3C4;
  --soft-lavender:#B79FE0;
  --warm-cream:   #FBF6EC;
  --deep-navy:    #2B4B63;

  /* Derived UI Tokens */
  --bg:           var(--warm-cream);
  --text:         var(--deep-navy);
  --text-muted:   rgba(43, 75, 99, 0.68);

  /* Section tints */
  --green-wash:   #EBF6EB;
  --coral-wash:   #FEF3ED;
  --lavender-wash:#F2EEF9;

  /* Typography */
  --font-heading: 'Comfortaa', cursive, sans-serif;
  --font-body:    'Nunito', sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition: all 0.28s var(--ease);

  /* Seasonal UI defaults - summer preserves the original Zolliboo palette. */
  --season-deep: #2B4B63;
  --season-accent: #6FB7E6;
  --season-wash: #EDF7FC;
  --season-soft-wash: #FBF6EC;
  --season-glow-a: rgba(111, 183, 230, 0.30);
  --season-glow-b: rgba(183, 159, 224, 0.22);
  --season-focus: rgba(111, 183, 230, 0.55);

  /* Focus ring */
  --focus-ring: 0 0 0 3px var(--season-focus);
}

/* Seasonal world tints - applied by JavaScript from localStorage or date. */
body.season-spring {
  --bg: #FAF8F4;
  --season-deep: #365C57;
  --season-accent: #7FBF7F;
  --season-wash: #EFF8EE;
  --season-soft-wash: #FCF9F4;
  --season-glow-a: rgba(127, 191, 127, 0.24);
  --season-glow-b: rgba(239, 163, 196, 0.18);
  --season-focus: rgba(127, 191, 127, 0.55);
}
body.season-summer {
  --bg: var(--warm-cream);
  --season-deep: #2B4B63;
  --season-accent: #6FB7E6;
  --season-wash: #EDF7FC;
  --season-soft-wash: #FBF6EC;
  --season-glow-a: rgba(111, 183, 230, 0.30);
  --season-glow-b: rgba(183, 159, 224, 0.22);
  --season-focus: rgba(111, 183, 230, 0.55);
}
body.season-autumn {
  --bg: #FAF4EB;
  --season-deep: #674354;
  --season-accent: #D98962;
  --season-wash: #FBEEE5;
  --season-soft-wash: #FFF8F0;
  --season-glow-a: rgba(244, 164, 106, 0.24);
  --season-glow-b: rgba(239, 163, 196, 0.18);
  --season-focus: rgba(217, 137, 98, 0.55);
}
body.season-winter {
  --bg: #F2F5FA;
  --season-deep: #294B66;
  --season-accent: #A9D4EE;
  --season-wash: #EEF4FA;
  --season-soft-wash: #F7FAFD;
  --season-glow-a: rgba(169, 212, 238, 0.32);
  --season-glow-b: rgba(183, 159, 224, 0.16);
  --season-focus: rgba(169, 212, 238, 0.65);
}


/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background-color 0.7s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--deep-navy);
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p { margin-top: 0; }

a {
  color: var(--deep-navy);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--sky-blue); }

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

/* Visually hidden content remains available to screen readers and document outline tools. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Global Focus */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 3px;
}


/* ============================================================
   SITE HEADER
   Sticky deep-navy bar — same on every page.
   Stays at the top while scrolling. No per-page overrides.
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--season-deep);
  border-bottom: 1px solid color-mix(in srgb, var(--season-accent) 28%, transparent);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.22);
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  transition: box-shadow 0.3s ease;
}

/* ── Wordmark ── */
.site-wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.wordmark-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--warm-cream);
  letter-spacing: -0.03em;
  transition: var(--transition);
}
.wordmark-link:hover { color: var(--sky-blue); }

/* Yellowhorn flower mark — a small, crisp emblem rather than a generic initial badge. */
.nav-mark {
  width: 28px;
  height: 34px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.16));
}

/* ── Primary Navigation ── */
.primary-nav-container { flex: 1; display: flex; justify-content: flex-end; }

.primary-nav {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}

.primary-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  color: rgba(251, 246, 236, 0.80);
  transition: var(--transition);
}
.primary-nav a:hover {
  color: var(--season-accent);
  background: color-mix(in srgb, var(--season-accent) 12%, transparent);
}
.primary-nav a.active {
  color: var(--warm-cream);
  border-bottom: 2px solid var(--season-accent);
  border-radius: 0;
  padding-bottom: 0.1rem;
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(251, 246, 236, 0.25);
  border-radius: 4px;
  padding: 0.4rem 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(251, 246, 236, 0.82);
  cursor: pointer;
  transition: var(--transition);
}
.mobile-menu-btn:hover { background: rgba(251, 246, 236, 0.08); }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.container {
  max-width: 1020px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5.5rem 0;
}

/* Section colour variants */
.section--night {
  background-color: var(--season-deep);
  color: var(--warm-cream);
}
.section--night h1,
.section--night h2,
.section--night h3,
.section--night h4 { color: var(--warm-cream); }
.section--night p { color: rgba(251,246,236,0.82); }
.section--night .section-eyebrow { color: var(--season-accent); }

.section--green { background-color: var(--green-wash); }
.section--coral { background-color: var(--coral-wash); }
.section--lavender { background-color: var(--lavender-wash); }

.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.section-title--center { text-align: center; }

.section-title--line::after {
  content: '';
  display: block;
  width: 36px; height: 2px;
  background-color: var(--season-accent);
  margin: 0.7rem 0 0;
  border-radius: 1px;
}
.section-title--center.section-title--line::after {
  margin-left: auto;
  margin-right: auto;
}
.section--night .section-title--line::after { background-color: var(--soft-lavender); }


/* ============================================================
   SVG HILL DIVIDERS
   ============================================================ */
.hill-divider {
  display: block;
  line-height: 0;
  margin: 0; padding: 0;
  overflow: hidden;
}
.hill-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* The last hill before every footer should stay visible on every page.
   Keep the divider background matched to the page canvas so the hill shape reads
   clearly, then overlap the footer by one pixel to prevent hairline seams. */
main + .hill-divider {
  display: block;
  background-color: var(--bg);
  margin-bottom: -1px;
}
main + .hill-divider svg path {
  fill: var(--season-deep) !important;
}

/* The World page uses the same footer hills as the rest of the site. */
body.page-world main + .hill-divider {
  display: block;
}
body.page-world .site-footer {
  padding-top: 3.5rem;
}

/* The seasonal coda sits between main and the footer hill on the World page,
   so it needs its own selector rather than relying on main + .hill-divider. */
body.page-world .world-season-coda + .hill-divider {
  background-color: var(--bg);
  margin-bottom: -1px;
}
body.page-world .world-season-coda + .hill-divider svg path {
  fill: var(--season-deep) !important;
}

.world-season-coda {
  background: var(--bg);
  padding: 1.1rem 0 0.8rem;
}
.world-season-coda-inner {
  display: flex;
  justify-content: center;
}
.world-season-coda-copy {
  text-align: center;
  max-width: 680px;
}
.world-season-coda-label {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--season-deep);
  opacity: 0.8;
  font-weight: 700;
}
.world-season-coda-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-main);
}

/* ============================================================
   HOMEPAGE — ARRIVAL HERO
   ============================================================ */
.page-home .hero-viewport {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 44% 70% at 0% 8%, rgba(111, 183, 230, 0.64) 0%, rgba(111, 183, 230, 0.30) 38%, transparent 74%),
    radial-gradient(ellipse 44% 70% at 100% 8%, rgba(111, 183, 230, 0.64) 0%, rgba(111, 183, 230, 0.30) 38%, transparent 74%),
    linear-gradient(to bottom, #cfe9f8 0%, #ecf6fb 50%, var(--warm-cream) 86%);
}

/* The artwork retains its native composition. It is full-width until
   the viewport exceeds its natural width, then becomes a centered stage. */
.page-home .hero-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1916px;
  margin: 0 auto;
  overflow: hidden;
  line-height: 0;
}

.page-home .hero-media,
.page-home .hero-media img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
}

/* Desktop copy uses the intentional open-sky area inside the art. */
.page-home .hero-content--desktop {
  position: absolute;
  z-index: 3;
  top: 17%;
  right: 10.5%;
  width: min(28%, 410px);
  margin: 0;
  padding: 0;
  text-align: left;
  line-height: normal;
}

.page-home .hero-eyebrow {
  margin: 0 0 0.45rem;
  color: rgba(43, 75, 99, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-home .hero-title {
  margin: 0 0 0.85rem;
  color: var(--deep-navy);
  font-size: clamp(2.55rem, 4.1vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(251, 246, 236, 0.35);
}

.page-home .hero-copy {
  max-width: 26rem;
  margin: 0;
  color: rgba(43, 75, 99, 0.91);
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  font-weight: 600;
  line-height: 1.55;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.1rem;
  margin-top: 1.5rem;
  line-height: normal;
}

.page-home .hero-primary-cta,
.page-home .hero-secondary-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 700;
}

.page-home .hero-primary-cta {
  padding: 0.55rem 1rem;
  color: var(--warm-cream);
  background: var(--season-deep);
  border: 2px solid var(--season-deep);
  border-radius: 4px;
  box-shadow: 0 5px 16px rgba(43, 75, 99, 0.15);
}

.page-home .hero-primary-cta:hover {
  color: var(--season-deep);
  background: var(--warm-cream);
  transform: translateY(-1px);
}

.page-home .hero-secondary-cta {
  padding-bottom: 1px;
  color: var(--season-deep);
  border-bottom: 2px solid var(--season-deep);
}

.page-home .hero-secondary-cta:hover {
  color: var(--season-accent);
  border-color: var(--season-accent);
}

/* Mobile uses the alternate illustration and places copy below it. */
.page-home .hero-mobile-intro {
  display: none;
  background: var(--warm-cream);
}

.page-home .hill-divider--hero {
  margin-top: -1px;
}

.page-home .hill-divider--hero svg {
  height: 24px;
}

/* ============================================================
   HERO SIDE-MARGIN SEED FLUFF
   PNG assets supply the artwork. No CSS-drawn seed or tuft remains.
   JavaScript controls position, opacity, and physics-based rotation.
   ============================================================ */
.page-home .hero-margin-motes {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  overflow: hidden;
  pointer-events: none;
}

.page-home .hero-margin-motes.is-active {
  display: block;
}

.page-home .hero-mote {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 30px;
  display: block;
  opacity: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.10));
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

/* Hard-disable the old CSS-built seed body and radial-dot tuft. */
.page-home .hero-mote::before,
.page-home .hero-mote::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/*
  Source PNGs have tuft left and seed right.
  The prevailing wind moves left to right, so mirror the source art:
  tuft leads right, seed trails left.
*/
.page-home .hero-mote img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transform: scaleX(-1);
  transform-origin: center;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-margin-motes {
    display: none !important;
  }
}

/* ============================================================
   POST-HERO BOOK MODULE — two-column: cover + text
   ============================================================ */
.post-hero-module {
  background-color: var(--warm-cream);
  padding: 1.75rem 2rem 3.5rem;
}

.post-hero-eyebrow {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  text-align: center;
}

.post-hero-format {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.post-hero-book {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.post-hero-cover {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(43,75,99,0.14);
  aspect-ratio: 1 / 1;
  background: var(--lavender-wash);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--deep-navy);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.post-hero-byline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}

.post-hero-desc {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.65rem;
}

.post-hero-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.1rem;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(43, 75, 99, 0.12);
}

.post-hero-path {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: var(--deep-navy);
  text-decoration: none;
}

.post-hero-path:hover {
  color: var(--deep-navy);
}

.post-hero-path-label {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.post-hero-path-copy {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.post-hero-path-link {
  width: fit-content;
  margin-top: 0.65rem;
  padding-bottom: 1px;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  transition: var(--transition);
}

.post-hero-path:hover .post-hero-path-link {
  color: var(--sky-blue);
}


/* ============================================================
   HOME WORLD INVITATION
   ============================================================ */
.home-world-invite {
  background-color: var(--warm-cream);
  padding: 1.5rem 2rem 5rem;
}

.world-invite-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid rgba(43,75,99,0.1);
  padding-top: 4rem;
}

.world-invite-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--deep-navy);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-weight: 600;
}

.world-invite-sub {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* Restrained underline-style link (not a pill button) */
.quiet-cta {
  font-weight: 700;
  color: var(--season-deep);
  font-size: 1rem;
  border-bottom: 2px solid var(--season-deep);
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.quiet-cta:hover { color: var(--season-accent); border-color: var(--season-accent); }


/* First Rule pullquote (for homepage and world pages) */
.first-rule-block {
  text-align: center;
  padding: 2rem 0;
}
.first-rule-label {
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sky-blue);
  margin-bottom: 1.2rem;
}
.first-rule-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--warm-cream);
  line-height: 1.4;
  max-width: 560px;
  margin: 0 auto 1rem;
}
.first-rule-note {
  font-size: 0.9rem;
  color: rgba(251,246,236,0.6);
}


/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}

.page-hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}


/* ============================================================
   BOOKS PAGE
   ============================================================ */
.books-content {
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
}

.series-banner {
  width: 100%;
  max-height: 440px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 4.5rem;
  box-shadow: 0 8px 32px rgba(43,75,99,0.07);
}
.series-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shelf-tier { margin-bottom: 5rem; }

.shelf-tier-heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--text-muted);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(43, 75, 99, 0.12);
  margin-bottom: 2.5rem;
}

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

.book-cover {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(43,75,99,0.12);
  aspect-ratio: 1 / 1;
  background: var(--lavender-wash);
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }

.book-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.book-synopsis {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Restrained buy button — editorial, not pill */
.buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--season-deep);
  color: var(--warm-cream);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: var(--transition);
  border: 2px solid var(--season-deep);
}
.buy-btn:hover {
  background: transparent;
  color: var(--season-deep);
  transform: translateY(-1px);
}

.buy-btn--ghost {
  background: transparent;
  color: var(--deep-navy);
  border: 2px solid rgba(43,75,99,0.3);
}
.buy-btn--ghost:hover {
  border-color: var(--season-deep);
}
.buy-btn:disabled,
.buy-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* More stories shelf - future titles share one universal “story in progress” mark
   rather than locking in imagery for books that are still taking shape. */
.stories-shelf-section { max-width: 820px; margin-left: auto; margin-right: auto; margin-bottom: 0; }
.stories-shelf-intro { margin: -1rem 0 1.6rem; color: var(--text-muted); font-size: 1rem; }
.stories-shelf { display: flex; flex-direction: column; border-top: 1px solid rgba(43,75,99,0.11); }
.story-shelf-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 1.15rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(43,75,99,0.11);
  border-radius: 8px;
  transition: background-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.story-shelf-item:nth-child(even) { background: color-mix(in srgb, var(--season-wash) 52%, transparent); }
.story-shelf-item:hover { background: color-mix(in srgb, var(--season-wash) 80%, var(--warm-cream)); transform: translateX(2px); }
.story-in-progress-mark { width: 60px; height: 60px; object-fit: contain; }
.story-shelf-copy h3 { font-size: clamp(1.08rem, 2vw, 1.22rem); margin: 0 0 0.2rem; }
.story-shelf-copy p { max-width: 620px; margin: 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }


/* ============================================================
   WORLD PAGE
   ============================================================ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 0;
}

.location-card {
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(127,191,127,0.25);
  border-radius: 8px;
  padding: 2rem;
  transition: var(--transition);
}
.location-card:hover {
  background: rgba(255,255,255,0.85);
  border-color: var(--leaf-green);
  transform: translateY(-2px);
}

.location-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.location-card p { font-size: 0.95rem; color: rgba(43,75,99,0.75); margin: 0; }

/* Character cards */
.characters-section {
  padding: 5rem 0;
}

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

.character-card {
  background: rgba(251,246,236,0.5);
  border: 1px solid rgba(43,75,99,0.08);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition);
}
.character-card:hover {
  background: rgba(251,246,236,0.9);
  transform: translateY(-2px);
}

.character-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--deep-navy);
  flex-shrink: 0;
  overflow: hidden;
}
.character-avatar img { width: 100%; height: 100%; object-fit: cover; }

.character-info { flex: 1; }
.character-info h3 { font-size: 1.2rem; margin-bottom: 0.15rem; }
.character-epithet {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.75rem;
}
.character-info p { font-size: 0.93rem; color: var(--text-muted); margin: 0; }


/* ============================================================
   ABOUT PAGE
   ============================================================ */
.positioning-quote {
  /* Nunito, not Comfortaa — body font per spec */
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: var(--deep-navy);
  line-height: 1.65;
  padding: 2rem 2.5rem;
  border-left: 4px solid var(--soft-pink);
  background: rgba(239,163,196,0.06);
  border-radius: 0 8px 8px 0;
  margin: 0 0 3.5rem;
  max-width: 720px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.about-text h3 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.about-text p { font-size: 1rem; color: var(--text-muted); margin-bottom: 1.25rem; }

.about-sidebar {
  background: rgba(251,246,236,0.5);
  border: 1px solid rgba(43,75,99,0.09);
  border-radius: 8px;
  padding: 2rem;
}
.about-sidebar h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(43,75,99,0.1);
  padding-bottom: 0.6rem;
}
.about-sidebar ul { list-style: none; margin: 0; padding: 0; }
.about-sidebar li {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.1rem;
  font-size: 0.92rem;
}
.about-sidebar li strong { color: var(--deep-navy); }
.about-sidebar li span { color: var(--text-muted); }


/* ============================================================
   PRESS PAGE
   ============================================================ */
.press-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  align-items: start;
}

.author-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(43,75,99,0.08);
}

.press-content h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.press-content h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text-muted);
  margin: 2.5rem 0 1rem;
  border-bottom: 1px solid rgba(43,75,99,0.1);
  padding-bottom: 0.5rem;
}

.press-bio { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 0; }

.press-book-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: rgba(251,246,236,0.5);
  border: 1px solid rgba(43,75,99,0.08);
  border-radius: 8px;
  padding: 1.25rem;
}
.press-book-thumb {
  width: 80px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(43,75,99,0.1);
  flex-shrink: 0;
}
.press-book-meta { font-size: 0.87rem; }
.press-book-meta h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.press-book-meta p { color: var(--text-muted); margin: 0.15rem 0; }

/* Contact form */
.contact-form { margin-top: 0; max-width: 560px; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.form-control {
  width: 100%;
  background: var(--warm-cream);
  border: 1px solid rgba(43,75,99,0.22);
  border-radius: 5px;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--deep-navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--season-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--season-accent) 24%, transparent);
}
textarea.form-control { min-height: 120px; resize: vertical; }

.submit-btn {
  background: var(--season-deep);
  color: var(--warm-cream);
  border: 2px solid var(--season-deep);
  border-radius: 4px;
  padding: 0.65rem 2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.submit-btn:hover {
  background: transparent;
  color: var(--season-deep);
}

.form-feedback {
  display: none;
  background: rgba(127,191,127,0.12);
  border: 1px solid var(--leaf-green);
  color: #2d5e2d;
  border-radius: 5px;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 1rem;
}


/* ============================================================
   MUSIC PAGE — story-first custom players
   ============================================================ */
.page-music .music-hero {
  position: relative;
  overflow: hidden;
  padding: 5.25rem 0 4.25rem;
  background:
    radial-gradient(circle at 18% 20%, var(--season-glow-a), transparent 35%),
    radial-gradient(circle at 85% 75%, var(--season-glow-b), transparent 34%),
    linear-gradient(180deg, var(--season-wash) 0%, var(--season-soft-wash) 100%);
}
.page-music .music-hero::after {
  content: '';
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(43,75,99,0.08);
  border-radius: 50%;
  right: -170px;
  bottom: -265px;
}
.music-hero-inner { max-width: 720px; position: relative; z-index: 1; }
.music-hero h1 { font-size: clamp(2.2rem, 5vw, 3.35rem); margin-bottom: 1rem; }
.music-hero p:not(.section-eyebrow):not(.music-creator-note) { max-width: 650px; font-size: 1.1rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 1rem; }
.music-creator-note { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.music-creator-note a { font-weight: 700; border-bottom: 1px solid currentColor; }
.music-feature { position: relative; margin-top: -1.75rem; padding: 0 0 0.5rem; }
.music-feature .container { max-width: 1140px; }
.music-feature-figure { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(43,75,99,0.10); box-shadow: 0 18px 42px rgba(43,75,99,0.12); }
.music-feature-figure img { display: block; width: 100%; height: auto; }
.music-collection { padding-top: 2.75rem; }
.songs-list { display: flex; flex-direction: column; gap: 1.5rem; }
.song-card { border: 1px solid rgba(43,75,99,0.10); border-radius: 12px; overflow: hidden; background: rgba(251,246,236,0.72); box-shadow: 0 8px 28px rgba(43,75,99,0.05); transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease); }
.song-card:hover { transform: translateY(-2px); box-shadow: 0 13px 32px rgba(43,75,99,0.10); }
.song-card--theme { background: linear-gradient(135deg, #ecf8fd 0%, #f8fcff 100%); }
.song-card--night { background: linear-gradient(135deg, #f1eef9 0%, #fbf8ff 100%); }
.song-card--seed { background: linear-gradient(135deg, #edf8ed 0%, #fff9ef 100%); }
.song-card-content { padding: 2.25rem 2.5rem 2rem; }
.song-kicker { margin: 0 0 0.55rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(43,75,99,0.62); }
.song-card h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin: 0 0 0.55rem; }
.song-description { max-width: 640px; margin: 0 0 1.65rem; color: var(--text-muted); font-size: 1rem; line-height: 1.65; }
.custom-player { display: flex; align-items: center; gap: 1rem; max-width: 630px; }
.custom-player audio { display: none; }
.player-play { width: 52px; height: 52px; display: inline-grid; place-items: center; flex: 0 0 52px; border: 2px solid var(--season-deep); border-radius: 50%; background: var(--season-deep); color: var(--warm-cream); font-size: 1rem; line-height: 1; cursor: pointer; transition: var(--transition); }
.player-play:hover { transform: translateY(-1px) scale(1.03); background: var(--warm-cream); color: var(--season-deep); }
.player-play.is-playing { background: var(--warm-cream); color: var(--season-deep); }
.player-track-info { flex: 1; min-width: 0; }
.player-time-row { display: flex; justify-content: space-between; margin-bottom: 0.35rem; color: rgba(43,75,99,0.62); font-size: 0.76rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.player-progress { width: 100%; height: 6px; appearance: none; border: 0; border-radius: 999px; background: rgba(43,75,99,0.16); cursor: pointer; }
.player-progress::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: rgba(43,75,99,0.16); }
.player-progress::-webkit-slider-thumb { appearance: none; width: 14px; height: 14px; margin-top: -4px; border: 2px solid var(--warm-cream); border-radius: 50%; background: var(--season-deep); box-shadow: 0 1px 4px rgba(43,75,99,0.20); }
.player-progress::-moz-range-track { height: 6px; border: 0; border-radius: 999px; background: rgba(43,75,99,0.16); }
.player-progress::-moz-range-thumb { width: 12px; height: 12px; border: 2px solid var(--warm-cream); border-radius: 50%; background: var(--season-deep); box-shadow: 0 1px 4px rgba(43,75,99,0.20); }
.lyrics-section { border-top: 1px solid rgba(43,75,99,0.10); padding: 1rem 2.5rem 1.5rem; }
.lyrics-toggle { background: none; border: none; font-family: var(--font-body); font-weight: 700; font-size: 0.88rem; color: var(--text-muted); cursor: pointer; padding: 0.2rem 0; transition: var(--transition); display: inline-flex; align-items: center; gap: 0.4rem; }
.lyrics-toggle::before { content: '▸'; font-size: 0.75rem; transition: transform 0.2s; }
.lyrics-toggle[aria-expanded="true"]::before { transform: rotate(90deg); }
.lyrics-toggle:hover { color: var(--season-deep); }
.lyrics-body { max-width: 700px; margin-top: 1.25rem; font-size: 0.96rem; line-height: 1.85; color: rgba(43,75,99,0.76); white-space: pre-line; padding-left: 1rem; border-left: 2px solid var(--soft-lavender); }
.song-card--theme .lyrics-body { border-color: var(--sky-blue); }
.song-card--seed .lyrics-body { border-color: var(--leaf-green); }
.lyrics-body[hidden] { display: none; }


/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--season-deep);
  color: var(--warm-cream);
  padding: 3.5rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--warm-cream);
  letter-spacing: -0.02em;
  opacity: 0.9;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
}
.footer-nav a {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(251,246,236,0.8);
}
.footer-nav a:hover { color: var(--season-accent); }

.footer-legal {
  font-size: 0.8rem;
  color: rgba(251,246,236,0.55);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 1rem;
}
.footer-legal a { color: rgba(251,246,236,0.55); border-bottom: 1px solid rgba(251,246,236,0.2); }
.footer-legal a:hover { color: var(--season-accent); border-color: var(--season-accent); }

/* Season selector */
.season-widget {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(251,246,236,0.45);
}
.season-widget span { white-space: nowrap; }
.season-btn {
  background: rgba(251,246,236,0.08);
  border: 1px solid rgba(251,246,236,0.18);
  border-radius: 4px;
  color: rgba(251,246,236,0.6);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}
.season-btn.active {
  background: var(--season-accent);
  color: var(--season-deep);
  border-color: var(--season-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--season-accent) 20%, transparent);
}
.season-btn:hover:not(.active) { background: rgba(251,246,236,0.15); }


/* ============================================================
   RESPONSIVE — TABLET (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .locations-grid { grid-template-columns: 1fr; }
  .character-grid { grid-template-columns: 1fr; }
  .press-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .author-photo { max-width: 280px; }
  .book-showcase { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .book-cover { max-width: 220px; margin: 0 auto; }
  .book-meta { justify-content: center; }

  /* Post-hero book: stack on tablet */
  .post-hero-book {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .post-hero-cover { max-width: 220px; margin: 0 auto; }
  .post-hero-paths { max-width: 520px; margin-right: auto; margin-left: auto; }
}


/* ============================================================
   RESPONSIVE — MOBILE (≤600px)
   ============================================================ */
@media (max-width: 600px) {
  .site-header {
    padding: 0.65rem 1.1rem;
    gap: 0.5rem;
  }

  /* Collapsed nav items hidden until menu opens */
  .nav-item--collapse { display: none; }
  .primary-nav.menu-open .nav-item--collapse { display: block; }
  .mobile-menu-btn { display: inline-block; }


  .page-hero { padding: 2.5rem 0 2rem; }
  .page-hero-title { font-size: 1.9rem; }
  .books-content { padding-top: 0.5rem; padding-bottom: 2rem; }

  .positioning-quote { padding: 1.25rem 1.5rem; font-size: 1.1rem; }

  .music-feature { margin-top: -1.25rem; }
  .song-card-content { padding: 1.65rem 1.5rem 1.5rem; }
  .lyrics-section { padding: 1rem 1.5rem 1.35rem; }
  .custom-player { gap: 0.8rem; }
  .press-book-card { flex-direction: column; }

  .section { padding: 3.5rem 0; }

  .stories-shelf-section { max-width: none; }

  .footer-nav { gap: 0.2rem 1rem; }
}


/* ============================================================
   HOMEPAGE HERO RESPONSIVE COMPOSITION
   ============================================================ */
@media (min-width: 1081px) and (max-width: 1279px) {
  /* Medium desktop uses its own safe-zone composition.
     Keep the wordmark in open sky, then stack actions before the bird field. */
  .page-home .hero-content--desktop {
    top: 13.5%;
    right: 8%;
    width: 275px;
  }

  .page-home .hero-title {
    font-size: clamp(2.65rem, 4vw, 3.1rem);
    margin-bottom: 0.7rem;
  }

  .page-home .hero-copy {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .page-home .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 1.2rem;
  }
}

@media (max-width: 1080px) {
  .page-home .hero-content--desktop {
    display: none;
  }

  .page-home .hero-mobile-intro {
    display: block;
    padding: 2.5rem 0 1.5rem;
  }

  .page-home .hero-mobile-intro-inner {
    max-width: 620px;
    text-align: center;
  }

  .page-home .hero-mobile-intro .hero-copy {
    margin-right: auto;
    margin-left: auto;
  }

  .page-home .hero-mobile-intro .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .post-hero-module { padding-right: 1.25rem; padding-left: 1.25rem; }
  .post-hero-paths { grid-template-columns: 1fr; gap: 1.15rem; }

  .page-home .hero-mobile-intro {
    padding: 2.25rem 0 1rem;
  }

  .page-home .hero-mobile-intro .hero-title {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .page-home .hero-mobile-intro .hero-copy {
    font-size: 1rem;
  }

  .page-home .hero-mobile-intro .hero-actions {
    gap: 0.7rem;
  }
}


/* ============================================================
   SHARED CONTENT LINKS AND AUTHOR PAGE
   ============================================================ */
.inline-link {
  color: var(--deep-navy);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}
.inline-link:hover {
  color: var(--sky-blue);
  border-color: var(--sky-blue);
}

.world-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}
.world-feature p:last-child {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

.author-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}
.author-photo--large { max-width: none; }
.author-text h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.author-text p { color: var(--text-muted); font-size: 1rem; line-height: 1.75; margin-bottom: 1.2rem; }
.author-text .quiet-cta { margin-top: 0.4rem; }

/* The author page is intentionally compact. Its content is shorter than a
   standard section, so reduce the inherited lower section padding to keep
   the footer wave visually close to the closing CTA. */
.page-author .section {
  padding-bottom: 2.75rem;
}

@media (max-width: 900px) {
  .world-feature,
  .author-layout { grid-template-columns: 1fr; gap: 2rem; }
  .author-photo--large { max-width: 360px; }
}

@media (max-width: 600px) {
  .page-music .music-hero { padding: 3.5rem 0 2.6rem; }
  .music-hero p:not(.section-eyebrow):not(.music-creator-note) { font-size: 1rem; }
  .story-shelf-item { grid-template-columns: 54px minmax(0, 1fr); gap: 0.85rem; padding: 0.85rem 0.25rem; }
  .story-in-progress-mark { width: 52px; height: 52px; }
  .story-shelf-copy h3 { font-size: 1.02rem; }
  .story-shelf-copy p { font-size: 0.9rem; }
  .music-feature { margin-top: 0; }
  .music-feature .container { padding: 0 1rem; }
  .music-feature-figure { border-radius: 14px; }
  .music-collection { padding-top: 2.2rem; }
  .player-play { width: 48px; height: 48px; flex-basis: 48px; }
}


/* ============================================================
   WORLD PAGE — guided walk through Yumbledon Village
   ============================================================ */
.page-world .world-arrival {
  padding: 3.25rem 0 3rem;
  background:
    radial-gradient(circle at 18% 12%, var(--season-glow-a), transparent 31%),
    linear-gradient(180deg, var(--season-soft-wash) 0%, var(--bg) 100%);
}
.world-arrival-intro {
  max-width: 780px;
  text-align: center;
}
.world-arrival-intro h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.world-arrival-intro > p:not(.section-eyebrow) {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}
.world-arrival-media-wrap {
  max-width: 1180px;
  margin-top: 1.9rem;
}
.world-arrival-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(43,75,99,0.11);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(43,75,99,0.12);
  background: #fff;
}
.world-arrival-media img {
  width: 100%;
  height: auto;
  display: block;
}
.world-places {
  padding: 3.75rem 0;
  background: var(--season-soft-wash);
}
.world-place-list {
  display: grid;
  gap: 3rem;
}
.world-place-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 3rem;
  align-items: center;
}
.world-place-feature--reverse .world-place-media { order: 2; }
.world-place-feature--reverse .world-place-copy { order: 1; }
.world-place-media {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(43,75,99,0.10);
  box-shadow: 0 14px 34px rgba(43,75,99,0.10);
  background: #fff;
}
.world-place-media img { display: block; width: 100%; height: auto; }
.world-place-copy h3 {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  margin: 0 0 1rem;
}
.world-place-copy > p:not(.section-eyebrow) {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}
.world-family {
  padding: 3.75rem 0;
  background: var(--bg);
}
.world-character-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.world-character-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(43,75,99,0.10);
  border-radius: 14px;
  background: color-mix(in srgb, var(--season-soft-wash) 80%, var(--warm-cream));
  box-shadow: 0 9px 24px rgba(43,75,99,0.05);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.world-character-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(43,75,99,0.10);
}
.world-character-art {
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0.75rem 0.75rem 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--season-wash) 70%, transparent), transparent);
}
.world-character-art img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.world-character-copy {
  padding: 1.25rem 1.25rem 1.45rem;
}
.world-character-copy h3 {
  font-size: 1.25rem;
  margin: 0 0 0.3rem;
}
.world-character-tagline {
  min-height: 3.05em;
  margin: 0 0 0.8rem;
  color: var(--season-deep);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  line-height: 1.45;
}
.world-character-copy > p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.91rem;
  line-height: 1.62;
}
.world-creature {
  padding: 3.5rem 0;
  background: var(--lavender-wash);
}
.world-creature-inner {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  gap: 4.5rem;
  align-items: center;
  max-width: 930px;
}
.world-creature-art {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.world-creature-art img {
  width: min(100%, 360px);
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(43,75,99,0.14));
}
.world-creature-copy .section-title { margin-bottom: 1.1rem; }
.world-creature-copy > p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}
.world-promise {
  padding: 1.5rem 0 1.25rem;
  background: var(--season-deep);
}
.page-world .world-promise .first-rule-block { padding: 0.15rem 0; }
.page-world .world-promise .first-rule-label { margin-bottom: 0.7rem; }
.page-world .world-promise .first-rule-quote { margin-bottom: 0.65rem; }
.page-world .world-promise .first-rule-note { margin-bottom: 0; }
.page-world .world-promise .first-rule-label { color: var(--season-accent); }

@media (max-width: 980px) {
  .world-character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .world-character-art { height: 290px; }
  .world-place-feature { grid-template-columns: 1fr; gap: 2rem; }
  .world-place-feature--reverse .world-place-media,
  .world-place-feature--reverse .world-place-copy { order: initial; }
  .world-creature-inner { grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr); gap: 2.75rem; }
}

@media (max-width: 640px) {
  .page-world .world-arrival { padding: 2.5rem 0 2.1rem; }
  .world-arrival-intro > p:not(.section-eyebrow) { font-size: 1rem; }
  .world-arrival-media-wrap { margin-top: 1.6rem; padding: 0 1rem; }
  .world-arrival-media { border-radius: 12px; }
  .world-places, .world-family, .world-creature { padding: 2.75rem 0; }
  .world-place-list { gap: 2.35rem; }
  .world-character-grid { grid-template-columns: 1fr; }
  .world-character-card { display: grid; grid-template-columns: 146px minmax(0, 1fr); align-items: stretch; }
  .world-character-art { height: auto; min-height: 220px; padding: 0.55rem 0.45rem 0; }
  .world-character-copy { padding: 1.1rem 1rem 1.2rem; }
  .world-character-tagline { min-height: 0; }
  .world-creature-inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .world-creature-art img { width: min(100%, 285px); }
  .world-promise { padding: 1.45rem 0 1.2rem; }
  .page-world .world-promise .first-rule-block { padding: 0; }
  .page-world .world-promise .first-rule-label { margin-bottom: 0.6rem; }
  .page-world .world-promise .first-rule-quote { margin-bottom: 0.55rem; }
}


/* ============================================================
   PRIVACY & ACCESSIBILITY PAGES
   ============================================================ */
.page-hero--legal {
  padding-bottom: 2.35rem;
}
.legal-section {
  padding-top: 2rem;
  padding-bottom: 4.5rem;
}
.legal-content {
  max-width: 760px;
}
.legal-content > p,
.legal-content li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.78;
}
.legal-content > p:first-of-type {
  font-size: 1.08rem;
  color: var(--text);
}
.legal-content h2 {
  margin: 2.35rem 0 0.75rem;
  font-size: 1.28rem;
}
.legal-content h2:first-of-type {
  margin-top: 2rem;
}
.legal-updated {
  margin-bottom: 1.55rem;
  color: var(--text-muted) !important;
  font-size: 0.82rem !important;
  font-style: italic;
}
.legal-list {
  margin: 0;
  padding-left: 1.25rem;
}
.legal-list li {
  margin: 0.45rem 0;
  padding-left: 0.15rem;
}
.press-contact-callout {
  max-width: 560px;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(43,75,99,0.10);
  border-radius: 8px;
  background: rgba(251,246,236,0.56);
}
.press-contact-callout p {
  margin-bottom: 1.15rem;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .page-hero--legal { padding-bottom: 1.5rem; }
  .legal-section { padding-top: 1.25rem; padding-bottom: 3rem; }
  .legal-content h2 { margin-top: 1.9rem; }
}

@media (max-width: 720px) {
  .world-season-coda { padding: 0.95rem 0 0.7rem; }
  .world-season-coda-text { font-size: 0.95rem; }
}
