/* Basilrun Books — dark v3 art direction
   Night-carnival dark + Golden Ladle gilt accents */

:root {
  --ink: #0f0e12;
  --ink-2: #1a181f;
  --ink-3: #24212b;
  --cream: #f4efe6;
  --cream-dim: #c9c0b0;
  --amber: #e8a54b;
  --amber-glow: rgba(232, 165, 75, 0.45);
  --blue: #3d6fff;
  --blue-bright: #5b8aff;
  --red: #c23b3b;
  --red-deep: #8a2a2a;
  --gold: #c9a227;
  --gilt: #e8c96a;
  --gold-glow: rgba(201, 162, 39, 0.4);
  --wine: #6b1f2a;
  --wine-bright: #9a3440;
  --candle: #e8a54b;
  --candle-soft: rgba(232, 165, 75, 0.22);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max: 1120px;
  /* Highwind */
  --stone: #8a8794;
  --stone-bright: #b0adb8;
  --torch: #e08a3c;
  --torch-glow: rgba(224, 138, 60, 0.45);
  --burgundy: #7a1f2e;
  --burgundy-bright: #a83245;
  --royal: #5c2a4a;
  /* Möbius */
  --cyan: #2ec4b6;
  --cyan-bright: #5ef0e0;
  --cyan-glow: rgba(46, 196, 182, 0.4);
  --circuit: #1a9b8e;
  --electric: #3dffe8;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.55;
  min-height: 100vh;
}

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

a {
  color: var(--amber);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: #ffc56e;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Sparkle field */
.sparkle-field {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(244, 239, 230, 0.55), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(232, 165, 75, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 72% 22%, rgba(91, 138, 255, 0.45), transparent),
    radial-gradient(1px 1px at 88% 70%, rgba(244, 239, 230, 0.4), transparent),
    radial-gradient(1px 1px at 45% 40%, rgba(232, 165, 75, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 60% 85%, rgba(91, 138, 255, 0.35), transparent),
    radial-gradient(1px 1px at 8% 88%, rgba(244, 239, 230, 0.3), transparent);
  opacity: 0.55;
  animation: twinkle 8s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.35; }
  to { opacity: 0.65; }
}

.site-wrap {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(15, 14, 18, 0.82);
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
}

.brand:hover {
  color: var(--cream);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--amber);
  box-shadow: 0 0 16px var(--amber-glow);
}

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--cream-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--amber);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(244, 239, 230, 0.25);
  color: var(--cream);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  font-family: inherit;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber), #f0b96a);
  color: var(--ink);
  box-shadow: 0 0 0 0 var(--amber-glow);
  animation: cta-pulse 2.8s ease-in-out infinite;
}

.btn-primary:hover {
  color: var(--ink);
  box-shadow: 0 8px 28px var(--amber-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 239, 230, 0.35);
}

.btn-secondary:hover {
  color: var(--cream);
  border-color: var(--amber);
  box-shadow: 0 0 18px rgba(232, 165, 75, 0.2);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: #fff;
}

.btn-blue:hover {
  color: #fff;
  box-shadow: 0 8px 28px rgba(61, 111, 255, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gilt));
  color: var(--ink);
  box-shadow: 0 0 0 0 var(--gold-glow);
}

.btn-gold:hover {
  color: var(--ink);
  box-shadow: 0 8px 28px var(--gold-glow);
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 165, 75, 0.0); }
  50% { box-shadow: 0 0 22px 2px var(--amber-glow); }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Hero */
.hero {
  /* The decorative glow below (.hero::before) sits at right: -10% by design.
     Unclipped it makes the whole page scroll sideways — 32px on desktop, 39px
     on a phone — with nothing out there to see. Clipping here rather than on
     html/body keeps the sticky header working and leaves .cover-float, which
     is inside this box, fully visible. */
  overflow-x: clip;
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% -10% auto auto;
  width: 55%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(61, 111, 255, 0.22), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto 5% 5%;
  width: 40%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(194, 59, 59, 0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.85rem;
}

.sticker {
  display: inline-block;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--amber);
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--cream-dim);
  max-width: 36ch;
  margin: 0;
}

.weirdness {
  margin-top: 1.5rem;
  background: var(--ink-2);
  border: 1px solid rgba(244, 239, 230, 0.1);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  max-width: 320px;
}

.weirdness-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 0.45rem;
}

.weirdness-label span:last-child {
  color: var(--blue-bright);
}

.meter {
  height: 10px;
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.1);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 94%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--amber), var(--blue));
  box-shadow: 0 0 12px var(--amber-glow);
  animation: meter-glow 2.5s ease-in-out infinite alternate;
}

@keyframes meter-glow {
  from { filter: brightness(1); }
  to { filter: brightness(1.15); }
}

.hero-cover-wrap {
  position: relative;
  justify-self: center;
  max-width: 380px;
  width: 100%;
}

.hero-cover-wrap::before {
  content: "";
  position: absolute;
  inset: 8% -8% -8% 8%;
  background: radial-gradient(circle, rgba(232, 165, 75, 0.35), transparent 65%);
  filter: blur(8px);
  z-index: -1;
}

.hero-cover {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), 0 0 40px rgba(61, 111, 255, 0.25);
  border: 2px solid rgba(244, 239, 230, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-cover:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.65), 0 0 50px var(--amber-glow);
}

.cover-float {
  position: absolute;
  right: -12%;
  bottom: 8%;
  width: 42%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(244, 239, 230, 0.15);
  transform: rotate(8deg);
  transition: transform 0.35s ease;
  z-index: 2;
}

.cover-float:hover {
  transform: rotate(4deg) translateY(-6px) scale(1.03);
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
  line-height: 1.15;
}

.section-kicker {
  color: var(--cream-dim);
  margin: 0.35rem 0 0;
  max-width: 48ch;
}

/* Featured Westvale strip */
.featured {
  background: linear-gradient(180deg, rgba(26, 24, 31, 0.9), rgba(15, 14, 18, 0.4));
  border-block: 1px solid rgba(244, 239, 230, 0.06);
}

.featured-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.book-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.book-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.15rem;
  background: var(--ink-2);
  border: 1px solid rgba(244, 239, 230, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.book-card:hover {
  border-color: rgba(232, 165, 75, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(232, 165, 75, 0.12);
  transform: translateY(-4px);
}

.book-card img {
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover img {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 20px var(--amber-glow);
}

.book-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.book-card p {
  margin: 0 0 0.9rem;
  color: var(--cream-dim);
  font-size: 0.95rem;
}

.ages {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.35rem;
}

/* Gallery */
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.series-card {
  background: var(--ink-2);
  border: 1px solid rgba(244, 239, 230, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.series-card:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 111, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.series-card.series-card--ladle {
  border-color: rgba(201, 162, 39, 0.25);
}

.series-card.series-card--ladle:hover {
  border-color: rgba(232, 201, 106, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(201, 162, 39, 0.18);
}

.series-covers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 0.4rem;
  padding: 0.85rem;
  background: linear-gradient(160deg, var(--ink-3), var(--ink));
  min-height: 160px;
  align-items: end;
}

.series-card--ladle .series-covers {
  background: linear-gradient(160deg, #2a2218, #14110e);
}

.series-covers img {
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease;
}

.series-card:hover .series-covers img {
  transform: translateY(-3px);
}

.series-body {
  padding: 1rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.series-icon {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.series-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}

.series-body p {
  color: var(--cream-dim);
  font-size: 0.92rem;
  margin: 0 0 1rem;
  flex: 1;
}

.series-meta {
  font-size: 0.75rem;
  color: var(--blue-bright);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.series-card--ladle .series-meta {
  color: var(--gilt);
}

/* Author */
.author {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  border: 1px solid rgba(244, 239, 230, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.author-art {
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px var(--amber-glow);
  border: 2px solid rgba(232, 165, 75, 0.35);
}

.author h2 {
  font-family: var(--font-display);
  margin: 0 0 0.6rem;
  font-size: 1.7rem;
}

.author p {
  color: var(--cream-dim);
  margin: 0 0 0.75rem;
  max-width: 58ch;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(244, 239, 230, 0.08);
  margin-top: 2rem;
  padding: 2rem 1.25rem 2.5rem;
  background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: start;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.footer-note {
  font-size: 0.82rem;
  color: var(--cream-dim);
  max-width: 42ch;
  margin: 0;
}

.footer-legal {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--cream-dim);
}
.footer-legal a {
  color: var(--cream-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-legal a:hover {
  color: var(--cream);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--amber);
}

/* Series page hero (Westvale + shared) */
.page-hero--tight {
  padding-bottom: 0;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

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

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.page-hero .lead {
  font-size: 1.15rem;
  color: var(--cream-dim);
  max-width: 48ch;
  margin: 0;
}

.vibe-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.chip {
  background: rgba(61, 111, 255, 0.15);
  border: 1px solid rgba(61, 111, 255, 0.35);
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.westvale-books {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.wv-book {
  background: var(--ink-2);
  border: 1px solid rgba(244, 239, 230, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 1.35rem;
  align-items: start;
}

.wv-book img {
  border-radius: 12px;
  box-shadow: var(--shadow), 0 0 28px rgba(61, 111, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.wv-book:hover img {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55), 0 0 36px var(--amber-glow);
}

.wv-book h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
}

.wv-book p {
  color: var(--cream-dim);
  margin: 0 0 1rem;
}

.story-vibe {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(194, 59, 59, 0.12), rgba(61, 111, 255, 0.12)),
    var(--ink-2);
  border: 1px solid rgba(244, 239, 230, 0.08);
}

.story-vibe h2 {
  font-family: var(--font-display);
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
}

.story-vibe p {
  margin: 0;
  color: var(--cream-dim);
  max-width: 70ch;
}

/* ========== GOLDEN LADLE PAGE (dark + gold) ========== */
body.theme-ladle {
  background:
    radial-gradient(ellipse 80% 50% at 70% 0%, rgba(107, 31, 42, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(201, 162, 39, 0.08), transparent 50%),
    var(--ink);
}

body.theme-ladle .sparkle-field {
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(232, 201, 106, 0.55), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(201, 162, 39, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 72% 22%, rgba(244, 239, 230, 0.4), transparent),
    radial-gradient(1px 1px at 88% 70%, rgba(232, 165, 75, 0.4), transparent),
    radial-gradient(1px 1px at 45% 40%, rgba(201, 162, 39, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 60% 85%, rgba(154, 52, 64, 0.35), transparent),
    radial-gradient(1px 1px at 8% 88%, rgba(232, 201, 106, 0.25), transparent);
}

body.theme-ladle a:focus-visible,
body.theme-ladle button:focus-visible,
body.theme-ladle .btn:focus-visible {
  outline-color: var(--gilt);
}

body.theme-ladle .brand-mark {
  border-color: var(--gold);
  box-shadow: 0 0 16px var(--gold-glow);
}

body.theme-ladle .nav a:hover,
body.theme-ladle .nav a[aria-current="page"] {
  color: var(--gilt);
}

body.theme-ladle .back-link:hover {
  color: var(--gilt);
}

.ladle-hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.ladle-hero::before {
  content: "";
  position: absolute;
  inset: 0% 40% auto -5%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.ladle-sticker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--wine), var(--wine-bright));
  color: var(--gilt);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 201, 106, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(232, 201, 106, 0.2);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ladle-sticker .seal {
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  border: 1.5px solid var(--gilt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7em;
}

.ladle-eyebrow {
  color: var(--gilt);
}

.ladle-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.ladle-hero h1 .accent {
  color: var(--gilt);
  background: linear-gradient(135deg, var(--gilt), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ladle-hero .hero-lead {
  max-width: 42ch;
}

.ladle-hero .hero-cover {
  box-shadow: var(--shadow), 0 0 48px rgba(201, 162, 39, 0.28);
  border-color: rgba(232, 201, 106, 0.25);
}

.ladle-hero .hero-cover:hover {
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.65), 0 0 56px var(--gold-glow);
}

.ladle-hero .hero-cover-wrap::before {
  background: radial-gradient(circle, rgba(201, 162, 39, 0.4), transparent 65%);
}

.ladle-motif {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.ladle-motif .chip {
  background: rgba(201, 162, 39, 0.12);
  border-color: rgba(201, 162, 39, 0.4);
  color: var(--gilt);
}

.compass-mark {
  display: inline-block;
  margin-right: 0.35rem;
  opacity: 0.85;
}

/* 4-book grid */
.ladle-books {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.gl-book {
  background: linear-gradient(160deg, #1e1a16, var(--ink-2));
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: grid;
  grid-template-columns: minmax(120px, 170px) 1fr;
  gap: 1.25rem;
  align-items: start;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.gl-book:hover {
  border-color: rgba(232, 201, 106, 0.5);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(201, 162, 39, 0.15);
  transform: translateY(-4px);
}

.gl-book img {
  border-radius: 12px;
  box-shadow: var(--shadow), 0 0 24px rgba(201, 162, 39, 0.2);
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gl-book:hover img {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55), 0 0 32px var(--gold-glow);
}

.gl-book h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.gl-book p {
  color: var(--cream-dim);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.gl-book .ages {
  color: var(--gilt);
}

.ladle-vibe {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(107, 31, 42, 0.35), rgba(201, 162, 39, 0.1)),
    var(--ink-2);
  border: 1px solid rgba(201, 162, 39, 0.22);
  position: relative;
  overflow: hidden;
}

.ladle-vibe::before {
  content: "✦";
  position: absolute;
  right: 1.25rem;
  top: 1rem;
  font-size: 2.5rem;
  color: rgba(232, 201, 106, 0.15);
  pointer-events: none;
}

.ladle-vibe h2 {
  font-family: var(--font-display);
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
  color: var(--gilt);
}

.ladle-vibe p {
  margin: 0;
  color: var(--cream-dim);
  max-width: 70ch;
}

.ladle-series-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

body.theme-ladle .footer-links a:hover {
  color: var(--gilt);
}

body.theme-ladle .footer-legal a {
  color: rgba(245, 232, 210, 0.75);
}
body.theme-ladle .footer-legal a:hover {
  color: var(--ladle-gilt, #e8c97a);
}


/* ========== HIGHWIND PAGE (dark + stone / torch / burgundy) ========== */
body.theme-highwind {
  background:
    radial-gradient(ellipse 80% 50% at 70% 0%, rgba(122, 31, 46, 0.32), transparent 55%),
    radial-gradient(ellipse 55% 40% at 8% 85%, rgba(224, 138, 60, 0.1), transparent 50%),
    radial-gradient(ellipse 40% 30% at 90% 70%, rgba(138, 135, 148, 0.08), transparent 50%),
    var(--ink);
}

body.theme-highwind .sparkle-field {
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(224, 138, 60, 0.55), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(176, 173, 184, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 72% 22%, rgba(244, 239, 230, 0.35), transparent),
    radial-gradient(1px 1px at 88% 70%, rgba(168, 50, 69, 0.4), transparent),
    radial-gradient(1px 1px at 45% 40%, rgba(224, 138, 60, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 60% 85%, rgba(138, 135, 148, 0.35), transparent),
    radial-gradient(1px 1px at 8% 88%, rgba(224, 138, 60, 0.25), transparent);
}

body.theme-highwind a:focus-visible,
body.theme-highwind button:focus-visible,
body.theme-highwind .btn:focus-visible {
  outline-color: var(--torch);
}

body.theme-highwind .brand-mark {
  border-color: var(--torch);
  box-shadow: 0 0 16px var(--torch-glow);
}

body.theme-highwind .nav a:hover,
body.theme-highwind .nav a[aria-current="page"] {
  color: var(--torch);
}

body.theme-highwind .back-link:hover {
  color: var(--torch);
}

.btn-torch {
  background: linear-gradient(135deg, var(--torch), #f0a85a);
  color: var(--ink);
  box-shadow: 0 0 0 0 var(--torch-glow);
}

.btn-torch:hover {
  color: var(--ink);
  box-shadow: 0 8px 28px var(--torch-glow);
}

.hw-hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.hw-hero::before {
  content: "";
  position: absolute;
  inset: 0% 40% auto -5%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(224, 138, 60, 0.16), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hw-sticker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-bright));
  color: #f0d0b0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(224, 138, 60, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(224, 138, 60, 0.2);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hw-sticker .seal {
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 208, 176, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
}

.hw-eyebrow {
  color: var(--stone-bright);
}

.hw-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hw-hero h1 .accent {
  color: var(--torch);
  background: linear-gradient(135deg, var(--torch), #f0a85a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hw-hero .hero-lead {
  max-width: 42ch;
}

.hw-hero .hero-cover {
  box-shadow: var(--shadow), 0 0 48px rgba(122, 31, 46, 0.3);
  border-color: rgba(138, 135, 148, 0.3);
}

.hw-hero .hero-cover:hover {
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.65), 0 0 56px var(--torch-glow);
}

.hw-hero .hero-cover-wrap::before {
  background: radial-gradient(circle, rgba(224, 138, 60, 0.38), transparent 65%);
}

.hw-motif {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.hw-motif .chip {
  background: rgba(122, 31, 46, 0.22);
  border-color: rgba(224, 138, 60, 0.4);
  color: #f0c090;
}

.hw-books {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.hw-book {
  background: linear-gradient(160deg, #1c191e, var(--ink-2));
  border: 1px solid rgba(138, 135, 148, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: grid;
  grid-template-columns: minmax(120px, 170px) 1fr;
  gap: 1.25rem;
  align-items: start;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.hw-book:hover {
  border-color: rgba(224, 138, 60, 0.5);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(224, 138, 60, 0.15);
  transform: translateY(-4px);
}

.hw-book img {
  border-radius: 12px;
  box-shadow: var(--shadow), 0 0 24px rgba(122, 31, 46, 0.25);
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hw-book:hover img {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55), 0 0 32px var(--torch-glow);
}

.hw-book h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.hw-book p {
  color: var(--cream-dim);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.hw-book .ages {
  color: var(--torch);
}

.hw-vibe {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(122, 31, 46, 0.35), rgba(224, 138, 60, 0.08)),
    var(--ink-2);
  border: 1px solid rgba(138, 135, 148, 0.22);
  position: relative;
  overflow: hidden;
}

.hw-vibe::before {
  content: "♜";
  position: absolute;
  right: 1.25rem;
  top: 1rem;
  font-size: 2.5rem;
  color: rgba(224, 138, 60, 0.15);
  pointer-events: none;
}

.hw-vibe h2 {
  font-family: var(--font-display);
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
  color: var(--torch);
}

.hw-vibe p {
  margin: 0;
  color: var(--cream-dim);
  max-width: 70ch;
}

.hw-series-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

body.theme-highwind .footer-links a:hover {
  color: var(--torch);
}

/* Series card accents on home */
.series-card.series-card--highwind {
  border-color: rgba(122, 31, 46, 0.3);
}

.series-card.series-card--highwind:hover {
  border-color: rgba(224, 138, 60, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(224, 138, 60, 0.16);
}

.series-card--highwind .series-covers {
  background: linear-gradient(160deg, #22181c, #121014);
}

.series-card--highwind .series-meta {
  color: var(--torch);
}

.series-card.series-card--mobius {
  border-color: rgba(46, 196, 182, 0.28);
}

.series-card.series-card--mobius:hover {
  border-color: rgba(94, 240, 224, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(46, 196, 182, 0.18);
}

.series-card--mobius .series-covers {
  background: linear-gradient(160deg, #12201e, #0e1214);
}

.series-card--mobius .series-meta {
  color: var(--cyan-bright);
}

/* ========== MÖBIUS PAGE (dark + cyan / circuit glow) ========== */
body.theme-mobius {
  background:
    radial-gradient(ellipse 80% 50% at 70% 0%, rgba(46, 196, 182, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 40% at 10% 80%, rgba(61, 255, 232, 0.06), transparent 50%),
    radial-gradient(ellipse 35% 30% at 95% 60%, rgba(26, 155, 142, 0.1), transparent 50%),
    var(--ink);
}

body.theme-mobius .sparkle-field {
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(94, 240, 224, 0.55), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(46, 196, 182, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 72% 22%, rgba(244, 239, 230, 0.35), transparent),
    radial-gradient(1px 1px at 88% 70%, rgba(61, 255, 232, 0.4), transparent),
    radial-gradient(1px 1px at 45% 40%, rgba(46, 196, 182, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 60% 85%, rgba(26, 155, 142, 0.35), transparent),
    radial-gradient(1px 1px at 8% 88%, rgba(94, 240, 224, 0.25), transparent);
}

body.theme-mobius a:focus-visible,
body.theme-mobius button:focus-visible,
body.theme-mobius .btn:focus-visible {
  outline-color: var(--cyan-bright);
}

body.theme-mobius .brand-mark {
  border-color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
}

body.theme-mobius .nav a:hover,
body.theme-mobius .nav a[aria-current="page"] {
  color: var(--cyan-bright);
}

body.theme-mobius .back-link:hover {
  color: var(--cyan-bright);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--circuit), var(--cyan-bright));
  color: var(--ink);
  box-shadow: 0 0 0 0 var(--cyan-glow);
}

.btn-cyan:hover {
  color: var(--ink);
  box-shadow: 0 8px 28px var(--cyan-glow);
}

.mb-hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.mb-hero::before {
  content: "";
  position: absolute;
  inset: 0% 40% auto -5%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(46, 196, 182, 0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.mb-sticker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #0d3d3a, #1a6b63);
  color: var(--cyan-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 240, 224, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(94, 240, 224, 0.2), 0 0 18px rgba(46, 196, 182, 0.2);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mb-sticker .seal {
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  border: 1.5px solid rgba(94, 240, 224, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
}

.mb-eyebrow {
  color: var(--cyan-bright);
}

.mb-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.mb-hero h1 .accent {
  color: var(--cyan-bright);
  background: linear-gradient(135deg, var(--cyan), var(--electric));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mb-hero .hero-lead {
  max-width: 42ch;
}

.mb-hero .hero-cover {
  box-shadow: var(--shadow), 0 0 48px rgba(46, 196, 182, 0.32);
  border-color: rgba(94, 240, 224, 0.28);
}

.mb-hero .hero-cover:hover {
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.65), 0 0 56px var(--cyan-glow);
}

.mb-hero .hero-cover-wrap::before {
  background: radial-gradient(circle, rgba(46, 196, 182, 0.42), transparent 65%);
}

.mb-motif {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.mb-motif .chip {
  background: rgba(46, 196, 182, 0.12);
  border-color: rgba(46, 196, 182, 0.4);
  color: var(--cyan-bright);
}

.mb-books {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.mb-book {
  background: linear-gradient(160deg, #141c1b, var(--ink-2));
  border: 1px solid rgba(46, 196, 182, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 1.35rem;
  align-items: start;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.mb-book:hover {
  border-color: rgba(94, 240, 224, 0.5);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(46, 196, 182, 0.18);
  transform: translateY(-4px);
}

.mb-book img {
  border-radius: 12px;
  box-shadow: var(--shadow), 0 0 24px rgba(46, 196, 182, 0.25);
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mb-book:hover img {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55), 0 0 32px var(--cyan-glow);
}

.mb-book h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.mb-book p {
  color: var(--cream-dim);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.mb-book .ages {
  color: var(--cyan-bright);
}

.mb-vibe {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(26, 155, 142, 0.28), rgba(46, 196, 182, 0.08)),
    var(--ink-2);
  border: 1px solid rgba(46, 196, 182, 0.25);
  position: relative;
  overflow: hidden;
}

.mb-vibe::before {
  content: "∞";
  position: absolute;
  right: 1.25rem;
  top: 0.85rem;
  font-size: 2.8rem;
  color: rgba(94, 240, 224, 0.15);
  pointer-events: none;
}

.mb-vibe h2 {
  font-family: var(--font-display);
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
  color: var(--cyan-bright);
}

.mb-vibe p {
  margin: 0;
  color: var(--cream-dim);
  max-width: 70ch;
}

.mb-series-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

body.theme-mobius .footer-links a:hover {
  color: var(--cyan-bright);
}

/* Responsive */
@media (max-width: 900px) {
  .hero,
  .ladle-hero,
  .hw-hero,
  .mb-hero {
  padding-top: 1rem;
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-cover-wrap {
    order: -1;
    max-width: 300px;
  }

  .ladle-hero .hero-cover-wrap,
  .hw-hero .hero-cover-wrap,
  .mb-hero .hero-cover-wrap {
    order: -1;
    max-width: 280px;
    justify-self: start;
  }

  .book-duo,
  .westvale-books,
  .ladle-books,
  .hw-books,
  .mb-books,
  .series-grid {
    grid-template-columns: 1fr;
  }

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

  .author-art {
    max-width: 220px;
    margin: 0 auto;
  }

  .author p {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0.5rem;
  }

  .nav.is-open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .book-card,
  .wv-book,
  .gl-book,
  .hw-book,
  .mb-book {
    grid-template-columns: 110px 1fr;
  }

  .cover-float {
    width: 38%;
    right: -6%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .sparkle-field {
    opacity: 0.4;
  }
}

/* ---- Prose pages (privacy, and any future long-form page) ---- */
.prose {
  max-width: 68ch;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--cream);
  margin: 2rem 0 0.4rem;
}

.prose p {
  color: var(--cream-dim);
  line-height: 1.75;
  margin: 0 0 1rem;
}

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