/* ============================================
   Chicken Grandma   Premium Book Website v3
   ============================================ */

:root {
  --sky: #3D94C8;
  --sky-light: #E4F2FA;
  --sky-dark: #164A72;
  --sky-deep: #0A2E4A;
  --grass: #3D8B35;
  --grass-light: #E8F5E6;
  --grass-dark: #245A1F;
  --barn: #B83227;
  --barn-dark: #8B2219;
  --barn-light: #E8554A;
  --gold: #D4922A;
  --gold-light: #FFF8E8;
  --gold-dark: #A67118;
  --cream: #FBF7F0;
  --cream-dark: #F0E6D6;
  --white: #FFFFFF;
  --text: #152535;
  --text-muted: #4A6278;
  --text-light: #7A92A8;
  --border: rgba(22, 74, 114, 0.09);
  --shadow-sm: 0 2px 12px rgba(10, 46, 74, 0.07);
  --shadow: 0 12px 40px rgba(10, 46, 74, 0.11);
  --shadow-lg: 0 24px 64px rgba(10, 46, 74, 0.16);
  --shadow-xl: 0 40px 90px rgba(10, 46, 74, 0.22);
  --shadow-glow: 0 0 60px rgba(212, 146, 42, 0.25);
  --radius: 24px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --radius-full: 9999px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-accent: 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --header-h: 80px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(61, 148, 200, 0.06), transparent),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(61, 139, 53, 0.04), transparent);
}

.section--white { background: var(--white); }
.section--compact { padding: 64px 0; }

body.menu-open {
  overflow: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

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

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

em {
  font-style: italic;
  color: var(--sky-dark);
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--barn), var(--gold), var(--grass));
  z-index: 9999;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--barn) 0%, var(--barn-light) 100%);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(184, 50, 39, 0.4), inset 0 1px 0 rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}

.btn--shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s var(--ease);
}

.btn--shine:hover::after {
  left: 150%;
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(184, 50, 39, 0.45);
}

.btn--primary:active {
  transform: translateY(-1px);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  color: var(--sky-dark);
  border-color: rgba(30, 90, 138, 0.15);
}

.btn--glass:hover {
  background: var(--white);
  border-color: var(--sky-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline-dark {
  background: transparent;
  color: var(--sky-dark);
  border-color: var(--border);
}

.btn--outline-dark:hover {
  background: var(--sky-light);
  border-color: var(--sky);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: padding 0.4s var(--ease);
}

.header--scrolled {
  padding: 12px 0;
}

.header__inner {
  transition: all 0.4s var(--ease);
}

.header--scrolled .header__inner {
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: blur(24px) saturate(200%);
  border-radius: var(--radius-full);
  padding: 10px 28px;
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(255,255,255,0.6) inset;
  border: 1px solid rgba(22, 74, 114, 0.06);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--sky-dark);
  transition: opacity 0.3s;
}

.nav__logo:hover { opacity: 0.8; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-mark {
  width: 36px;
  height: 36px;
  color: var(--barn);
}

.nav__logo-mark svg { width: 100%; height: 100%; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--sky-dark);
  background: rgba(30, 90, 138, 0.06);
}

.nav__link--cta {
  background: var(--sky-dark) !important;
  color: var(--white) !important;
  margin-left: 8px;
}

.nav__link--cta:hover {
  background: var(--sky-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30, 90, 138, 0.3);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  z-index: 1002;
  transition: background 0.3s;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  transform-origin: center;
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 61, 92, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s var(--ease);
  z-index: 1080;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 140px;
  overflow: hidden;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 15% 0%, rgba(61, 148, 200, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 85% 10%, rgba(212, 146, 42, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 55% 45% at 55% 90%, rgba(61, 139, 53, 0.2) 0%, transparent 50%),
    linear-gradient(175deg, #D6EBF8 0%, var(--cream) 42%, #EEF6EA 100%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  animation: particleDrift 14s ease-in-out infinite;
}

.hero__particle--1 { width: 8px; height: 8px; background: var(--gold); top: 18%; left: 12%; animation-delay: 0s; }
.hero__particle--2 { width: 6px; height: 6px; background: var(--sky); top: 28%; right: 18%; animation-delay: -3s; }
.hero__particle--3 { width: 10px; height: 10px; background: var(--grass); bottom: 35%; left: 8%; animation-delay: -6s; border-radius: 2px; transform: rotate(45deg); }
.hero__particle--4 { width: 5px; height: 5px; background: var(--barn); top: 55%; right: 10%; animation-delay: -9s; }
.hero__particle--5 { width: 7px; height: 7px; background: var(--gold); bottom: 22%; right: 28%; animation-delay: -12s; }

@keyframes particleDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.25; }
  33% { transform: translate(12px, -18px) rotate(8deg); opacity: 0.5; }
  66% { transform: translate(-8px, -10px) rotate(-5deg); opacity: 0.35; }
}

.hero__skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.hero__skyline svg {
  width: 100%;
  height: 80px;
  display: block;
}

.hero__book-scene {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__book-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 146, 42, 0.2);
  animation: ringPulse 8s ease-in-out infinite;
}

.hero__book-ring--1 {
  width: 420px;
  height: 420px;
  animation-delay: 0s;
}

.hero__book-ring--2 {
  width: 500px;
  height: 500px;
  border-color: rgba(61, 148, 200, 0.15);
  animation-delay: -4s;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.04); opacity: 0.8; }
}

.hero__book-spine {
  position: absolute;
  left: -8px;
  top: 4%;
  bottom: 4%;
  width: 14px;
  background: linear-gradient(90deg, #8B6914, #C4A035, #8B6914);
  border-radius: 4px 0 0 4px;
  z-index: -1;
  box-shadow: -4px 0 12px rgba(0,0,0,0.15);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6.25rem);
  font-weight: 700;
  line-height: 0.92;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero__title-line--accent {
  background: linear-gradient(135deg, var(--sky-dark) 0%, var(--sky) 40%, var(--grass) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(61, 148, 200, 0.15));
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-style: italic;
  font-weight: 500;
  color: var(--grass-dark);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero__book-glow {
  position: absolute;
  inset: -25%;
  background: radial-gradient(ellipse, rgba(212, 146, 42, 0.35) 0%, rgba(61, 148, 200, 0.2) 40%, transparent 70%);
  filter: blur(50px);
  z-index: -1;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero__book-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow:
    -12px 20px 40px rgba(10, 46, 74, 0.2),
    0 30px 70px rgba(10, 46, 74, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: box-shadow 0.5s var(--ease);
}

.hero__float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.95);
  animation: cardFloat 5s ease-in-out infinite;
}

/* ---- Wave Divider ---- */
.wave-divider {
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

.wave-divider--down svg path {
  fill: var(--white);
}

/* ---- Quotes ---- */
.quotes {
  background: var(--white);
  position: relative;
}

.quotes__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.quote-card {
  padding: 32px 28px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.45s var(--ease-out);
}

.quote-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--sky);
  opacity: 0.12;
}

.quote-card p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--sky-dark);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.quote-card em {
  color: var(--barn);
  font-style: italic;
  font-weight: 600;
}

.quote-card--featured {
  background: linear-gradient(145deg, var(--sky-dark) 0%, var(--sky) 100%);
  border: none;
  box-shadow: var(--shadow-lg);
}

.quote-card--featured::before {
  color: rgba(255,255,255,0.15);
}

.quote-card--featured p {
  color: var(--white);
  font-size: 1.35rem;
}

.quote-card--featured em {
  color: var(--gold-light);
}

.quote-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.quote-card--featured:hover {
  box-shadow: var(--shadow-xl);
}

/* ---- Hero (continued base) ---- */

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: rgba(74, 159, 212, 0.2);
  top: -10%;
  right: -5%;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(74, 147, 64, 0.15);
  bottom: 10%;
  left: -8%;
  animation-delay: -4s;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(232, 168, 56, 0.2);
  top: 40%;
  left: 30%;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 12px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grass-dark);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--grass);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero__title-line {
  display: block;
}

.hero__author {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero__author strong {
  color: var(--text);
  font-weight: 600;
}

.hero__tagline {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 32px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.8);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sky-dark);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero Book Visual */
.hero__visual {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.hero__book-wrap {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s var(--ease-out);
}

.hero__book-wrap:hover .hero__book-frame {
  box-shadow:
    -16px 28px 50px rgba(10, 46, 74, 0.25),
    0 40px 90px rgba(10, 46, 74, 0.32),
    var(--shadow-glow);
}

.hero__book-img {
  max-height: 560px;
  width: auto;
  display: block;
}

.hero__float-card span:first-child {
  font-size: 1.5rem;
}

.hero__float-card strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.hero__float-card small {
  font-size: 0.6875rem;
  color: var(--text-light);
}

.hero__float-card--1 {
  top: 15%;
  left: -60px;
  animation-delay: 0s;
}

.hero__float-card--2 {
  bottom: 20%;
  right: -50px;
  animation-delay: -3s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.3s;
}

.hero__scroll:hover { color: var(--sky-dark); }

.hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-light);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--text-light);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(6px); }
}

/* ---- Marquee ---- */
.marquee {
  background: linear-gradient(90deg, var(--sky-deep) 0%, var(--sky-dark) 50%, var(--grass-dark) 100%);
  color: rgba(255, 255, 255, 0.92);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding-right: 56px;
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Sections ---- */
.section {
  padding: 120px 0;
  position: relative;
}

.section--alt {
  background: var(--white);
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grass);
  margin-bottom: 16px;
}

.section__eyebrow::before,
.section__eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--sky-dark), var(--grass));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---- Story ---- */
.story__layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}

.story__card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.story__card p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1.02rem;
  line-height: 1.85;
}

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

.story__card--accent {
  background: linear-gradient(135deg, var(--grass-light) 0%, var(--sky-light) 100%);
  border-color: rgba(74, 147, 64, 0.15);
}

.story__card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--sky-dark);
  margin-bottom: 14px;
}

.story__lead {
  font-size: 1.2rem !important;
  color: var(--text) !important;
  font-weight: 500;
}

.story__quote {
  position: relative;
  padding: 32px 36px 32px 48px;
  background: linear-gradient(135deg, var(--sky-light) 0%, var(--gold-light) 100%);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}

.story__quote-icon {
  position: absolute;
  top: 20px;
  left: 16px;
  color: var(--sky-dark);
}

.story__quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--sky-dark);
  line-height: 1.6;
  margin-bottom: 12px;
}

.story__quote cite {
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-light);
}

.story__pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--pillar-color);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease-out);
}

.pillar-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.pillar-card:hover::before {
  transform: scaleY(1);
}

.pillar-card__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: var(--radius-xs);
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- Real Farm Inspirations ---- */
.inspirations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.inspire-card {
  background: var(--cream);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out);
  text-align: center;
}

.inspire-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
  background: var(--white);
}

.inspire-card--highlight {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--sky-light) 100%);
  border-color: rgba(232, 168, 56, 0.3);
}

.inspire-card__emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 16px;
}

.inspire-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.inspire-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Characters ---- */
.characters__scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.characters__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.char-card {
  background: var(--white);
  padding: 32px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.45s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.char-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 50%, rgba(61, 148, 200, 0.05));
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.char-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.char-card:hover::after { opacity: 1; }

.char-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.char-card__emoji {
  font-size: 2.75rem;
  line-height: 1;
  transition: transform 0.5s var(--ease-spring);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
}

.char-card:hover .char-card__emoji {
  transform: scale(1.2) rotate(-8deg);
}

.char-card__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  opacity: 0.5;
}

.char-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.char-card__role {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--barn);
  margin-bottom: 12px;
}

.char-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- Chapters ---- */
.chapters__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.chapter-card {
  position: relative;
  padding: 36px 30px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.45s var(--ease-out);
  overflow: hidden;
}

.chapter-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--barn), var(--gold), var(--grass));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.chapter-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.chapter-card:hover::after {
  transform: scaleX(1);
}

.chapter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--grass));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.chapter-card:hover::before {
  transform: scaleX(1);
}

.chapter-card__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sky-light);
  line-height: 1;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.chapter-card:hover .chapter-card__num {
  color: var(--sky);
}

.chapter-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.chapter-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.chapter-card--featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--sky-dark) 0%, var(--sky) 100%);
  border: none;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.chapter-card--featured::before { display: none; }

.chapter-card--featured .chapter-card__num {
  color: rgba(255, 255, 255, 0.25);
}

.chapter-card--featured:hover .chapter-card__num {
  color: rgba(255, 255, 255, 0.5);
}

.chapter-card--featured h3,
.chapter-card--featured p {
  color: var(--white);
}

.chapter-card--featured p {
  opacity: 0.85;
}

.chapter-card__tag {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Themes ---- */
.themes {
  margin-top: 72px;
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
}

.themes__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--sky-dark);
  margin-bottom: 32px;
}

.themes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.theme-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  text-align: left;
  transition: transform 0.3s var(--ease);
}

.theme-item:hover {
  transform: translateY(-2px);
}

.theme-item__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.theme-item p {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- Hunt ---- */
.hunt__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  padding: 56px 64px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--sky-light) 50%, var(--grass-light) 100%);
  border-radius: var(--radius);
  border: 2px dashed rgba(30, 90, 138, 0.2);
  position: relative;
  overflow: hidden;
}

.hunt__card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hunt__visual {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.hunt__magnifier {
  font-size: 4rem;
  animation: huntBounce 3s ease-in-out infinite;
}

@keyframes huntBounce {
  0%, 100% { transform: rotate(-10deg) scale(1); }
  50% { transform: rotate(10deg) scale(1.1); }
}

.hunt__spark {
  position: absolute;
  font-size: 1.25rem;
  color: var(--gold);
  animation: sparkPulse 2s ease-in-out infinite;
}

.hunt__spark--1 { top: 10%; right: 15%; animation-delay: 0s; }
.hunt__spark--2 { bottom: 15%; left: 10%; animation-delay: 0.7s; }
.hunt__spark--3 { top: 20%; left: 20%; font-size: 1rem; color: var(--barn); animation-delay: 1.4s; }

@keyframes sparkPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hunt__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.25;
}

.hunt__poem {
  margin-bottom: 32px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold);
}

.hunt__poem p {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--sky-dark);
  line-height: 1.9;
  margin-bottom: 4px;
}

.hunt__content > p {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.75;
}

/* ---- Author ---- */
.author__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.author__portrait {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 420px;
  margin: 0 auto;
}

.author__portrait-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--sky-light) 0%, var(--grass-light) 100%);
  border-radius: var(--radius);
  transform: rotate(-3deg);
}

.author__portrait-content {
  position: absolute;
  inset: 0;
  background: var(--sky-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.author__portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.author__portrait-emoji {
  font-size: 5rem;
  position: relative;
  z-index: 1;
}

.author__portrait-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
}

.author__portrait-badge {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  text-align: center;
  white-space: nowrap;
}

.author__portrait-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--text);
}

.author__portrait-badge span {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

.author__content p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1.02rem;
  line-height: 1.85;
}

.author__quote {
  margin-top: 32px;
  padding: 28px 32px;
  background: var(--grass-light);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--grass);
}

.author__quote em {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--grass-dark);
  line-height: 1.6;
}

/* ---- Buy ---- */
.buy {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.buy__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sky-deep) 0%, var(--sky-dark) 40%, var(--grass-dark) 100%);
}

.buy__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.buy__card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 64px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.2);
}

.buy__book-stack {
  position: relative;
}

.buy__book-stack::before {
  content: '';
  position: absolute;
  inset: 8px -8px -8px 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  z-index: -1;
}

.buy__book-img {
  max-height: 340px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
}

.buy__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
}

.buy__content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}

.buy__content > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.0625rem;
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 520px;
}

.buy__features {
  margin-bottom: 32px;
}

.buy__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.buy__features li:last-child { border-bottom: none; }

.buy__features svg {
  color: var(--gold);
  flex-shrink: 0;
}

.buy__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.buy__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.buy__email:hover { color: var(--white); }

/* ---- Footer ---- */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  display: inline-block;
  margin-bottom: 8px;
  transition: opacity 0.3s;
}

.footer__logo:hover { opacity: 0.8; }

.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 320px;
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 0.875rem;
  transition: color 0.3s, transform 0.3s;
}

.footer__links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}

.footer__made {
  color: rgba(255, 255, 255, 0.4);
}

/* ---- Back to Top ---- */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  z-index: 900;
  border: 1px solid var(--border);
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--sky-dark);
  color: var(--white);
  transform: translateY(-4px);
}

/* ---- Reveal Animations ---- */
/* Content visible by default   only hidden when JS is active */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal--delay {
  transition-delay: 0.15s;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.characters__track .char-card.reveal:nth-child(2) { transition-delay: 0.05s; }
.characters__track .char-card.reveal:nth-child(3) { transition-delay: 0.1s; }
.characters__track .char-card.reveal:nth-child(4) { transition-delay: 0.15s; }
.characters__track .char-card.reveal:nth-child(5) { transition-delay: 0.2s; }
.characters__track .char-card.reveal:nth-child(6) { transition-delay: 0.25s; }
.characters__track .char-card.reveal:nth-child(7) { transition-delay: 0.3s; }
.characters__track .char-card.reveal:nth-child(8) { transition-delay: 0.35s; }
.characters__track .char-card.reveal:nth-child(9) { transition-delay: 0.4s; }
.characters__track .char-card.reveal:nth-child(10) { transition-delay: 0.45s; }
.characters__track .char-card.reveal:nth-child(11) { transition-delay: 0.5s; }
.characters__track .char-card.reveal:nth-child(12) { transition-delay: 0.55s; }

.chapters__grid .chapter-card.reveal:nth-child(odd) { transition-delay: 0.05s; }

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html { scroll-behavior: auto; }
}

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

  .inspirations__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .author__layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero__float-card--1 { left: -20px; }
  .hero__float-card--2 { right: -20px; }
}

@media (max-width: 900px) {
  .quotes__grid {
    grid-template-columns: 1fr;
  }

  .quote-card--featured {
    order: -1;
  }

  .buy__card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 36px;
  }

  .buy__visual {
    display: flex;
    justify-content: center;
  }

  .buy__content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .buy__features {
    display: inline-block;
    text-align: left;
  }

  .buy__actions {
    justify-content: center;
  }

  .hunt__card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 36px;
  }

  .hunt__visual {
    margin: 0 auto;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 72px;
  }

  .section {
    padding: 88px 0;
  }

  .nav__toggle {
    display: flex;
    position: relative;
    z-index: 1100;
  }

  .nav {
    position: relative;
    z-index: 1100;
  }

  .nav__menu {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    right: 12px;
    left: auto;
    width: min(260px, calc(100vw - 24px));
    height: auto;
    max-height: calc(100dvh - var(--header-h) - 20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 0;
    transform: none;
    transition: transform 0.32s var(--ease-out), opacity 0.32s var(--ease-out), visibility 0.32s var(--ease-out);
    z-index: 1090;
  }

  .nav__menu.active {
    transform: none;
  }

  .nav__link {
    padding: 16px 20px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
  }

  .header--scrolled .header__inner {
    border-radius: var(--radius);
    margin: 0 16px;
    padding: 8px 16px;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__visual { order: -1; }

  .hero__tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px;
  }

  .hero__stat-divider { display: none; }

  .hero__book-img {
    max-height: 420px;
  }

  .hero__float-card {
    display: none;
  }

  .hero__scroll { display: none; }

  .characters__scroll-hint {
    display: flex;
  }

  .characters__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 8px 4px 24px;
    margin: 0 -5vw;
    padding-left: 5vw;
    padding-right: 5vw;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .characters__track::-webkit-scrollbar { display: none; }

  .char-card {
    flex: 0 0 min(280px, 78vw);
    scroll-snap-align: start;
  }

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

  .themes {
    padding: 32px 24px;
  }

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

  .inspirations__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story__card {
    padding: 28px 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .back-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.75rem;
  }

  .hero__stats {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__actions {
    flex-direction: column;
  }

  .buy__card,
  .hunt__card {
    padding: 36px 24px;
  }
}

/* ============================================
   V4   Illustrated Icons & Card Redesign
   ============================================ */

.icon-art {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.icon-art svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(10, 46, 74, 0.12));
  transition: transform 0.5s var(--ease-spring);
}

.icon-art--xs { width: 40px; height: 40px; }
.icon-art--sm { width: 48px; height: 48px; }
.icon-art--md { width: 64px; height: 64px; }
.icon-art--lg { width: 80px; height: 80px; }
.icon-art--xl { width: 100px; height: 100px; }

/* ---- Story Cards V4 ---- */
.story__card {
  background: var(--white);
  padding: 36px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.story__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--grass), var(--gold));
}

.story__card--accent {
  background: linear-gradient(160deg, #f0faf4 0%, #e8f4fc 100%);
  border-color: rgba(61, 139, 53, 0.12);
}

.story__card--accent::before {
  background: linear-gradient(90deg, var(--grass), var(--sky));
}

.story__quote {
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow);
}

/* ---- Pillar Cards V4 ---- */
.story__pillars {
  gap: 14px;
}

.pillar-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 22px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.pillar-card::before { display: none; }

.pillar-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(145deg, var(--pillar-color), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

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

.pillar-card:hover::after { opacity: 1; }

.pillar-card:hover .icon-art svg {
  transform: scale(1.1) rotate(-4deg);
}

.pillar-card__icon {
  width: auto;
  height: auto;
  background: none;
  margin-bottom: 14px;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* ---- Inspiration Cards V4 ---- */
.inspirations__grid {
  gap: 24px;
}

.inspire-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px 32px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.inspire-card__icon {
  margin-bottom: 20px;
  padding: 12px;
  background: linear-gradient(145deg, var(--cream) 0%, var(--sky-light) 100%);
  border-radius: 50%;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.8), 0 8px 24px rgba(10,46,74,0.08);
}

.inspire-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(61, 148, 200, 0.2);
}

.inspire-card:hover .icon-art svg {
  transform: scale(1.12);
}

.inspire-card--highlight {
  background: linear-gradient(160deg, var(--gold-light) 0%, var(--sky-light) 100%);
}

.inspire-card--highlight .inspire-card__icon {
  background: linear-gradient(145deg, #fff 0%, var(--gold-light) 100%);
}

.inspire-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.inspire-card p {
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ---- Character Cards V4 ---- */
.characters.section--alt {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 50%, var(--cream) 100%);
}

.char-card {
  padding: 0;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
}

.char-card::after { display: none; }

.char-card__top {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
}

.char-card__icon-wrap {
  display: flex;
  justify-content: center;
  padding: 32px 24px 24px;
  position: relative;
}

.char-card__icon-wrap::before {
  content: '';
  position: absolute;
  inset: 16px 18%;
  background: radial-gradient(ellipse, rgba(212, 146, 42, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.char-card__num {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--white);
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.char-card h3 {
  padding: 20px 24px 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: var(--text);
}

.char-card__role {
  display: block;
  padding: 0 24px;
  margin-bottom: 12px;
}

.char-card p {
  padding: 0 24px 28px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.char-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.char-card:hover .icon-art svg {
  transform: scale(1.08) translateY(-4px);
}

/* ---- Chapter Cards V4 ---- */
.chapters.section {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.chapters__grid {
  gap: 24px;
}

.chapter-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 20px;
  padding: 28px 28px 28px 24px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.chapter-card__icon-art {
  grid-row: 1 / 3;
  align-self: center;
  padding: 8px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.chapter-card__num {
  grid-column: 2;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sky);
  opacity: 0.7;
  margin-bottom: 0;
  line-height: 1;
}

.chapter-card h3 {
  grid-column: 2;
  font-size: 1.0625rem;
}

.chapter-card p {
  grid-column: 2;
}

.chapter-card--featured {
  grid-template-columns: auto 1fr auto;
  background: linear-gradient(135deg, var(--sky-deep) 0%, var(--sky-dark) 55%, var(--grass-dark) 100%);
}

.chapter-card--featured .chapter-card__icon-art {
  background: rgba(255,255,255,0.12);
}

.chapter-card--featured .chapter-card__num {
  color: rgba(255,255,255,0.5);
}

/* ---- Themes V4 ---- */
.themes {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.theme-item {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 24px;
  gap: 18px;
  align-items: center;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease-out);
}

.theme-item:hover {
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.theme-item__icon {
  flex-shrink: 0;
}

.theme-item p {
  font-size: 0.9375rem;
}

/* ---- Hunt V4 ---- */
.hunt__card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  overflow: hidden;
}

.hunt__visual {
  width: 160px;
  height: 160px;
  background: linear-gradient(145deg, var(--gold-light), var(--sky-light));
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.hunt__visual .icon-art svg {
  filter: drop-shadow(0 6px 16px rgba(10, 46, 74, 0.15));
}

.hunt__spark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
}

/* ---- Author V4 ---- */

/* ---- Quote Cards V4 ---- */
.quote-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
}

.quote-card:not(.quote-card--featured) {
  background: var(--cream);
  border: 1px solid var(--border);
}

/* ---- Hero float icon ---- */
.hero__float-card .icon-art {
  flex-shrink: 0;
}

.hero__float-card:hover .icon-art svg {
  transform: rotate(-8deg) scale(1.1);
}

/* ---- Section backgrounds ---- */
.inspirations.section--alt {
  background: linear-gradient(180deg, var(--white) 0%, var(--sky-light) 100%);
}

.section--alt.characters {
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
}

@media (max-width: 768px) {
  .chapter-card {
    grid-template-columns: auto 1fr;
  }

  .inspire-card {
    padding: 28px 22px;
  }
}

/* ============================================
   V5   Final Card & Icon Polish
   ============================================ */

.hero__stat--icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero__stat-icon {
  width: 36px;
  height: 36px;
}

.footer__heart {
  display: inline-flex;
  vertical-align: -3px;
  width: 18px;
  height: 18px;
  margin: 0 3px;
}

.footer__heart svg {
  filter: none;
}

/* Character cards   per-character color wash */
.char-card {
  --char-color: #5BA4D9;
}

.char-card__top {
  background: linear-gradient(180deg, color-mix(in srgb, var(--char-color) 16%, #fff) 0%, var(--white) 100%);
}

.char-card__icon-wrap::before {
  background: radial-gradient(ellipse, color-mix(in srgb, var(--char-color) 28%, transparent) 0%, transparent 72%);
}

.char-card__role {
  color: var(--char-color);
}

.char-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--char-color);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  z-index: 3;
}

.char-card:hover::before {
  opacity: 1;
}

/* Chapter cards   richer hover & featured layout */
.chapter-card {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}

.chapter-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(61, 148, 200, 0.22);
}

.chapter-card:hover .chapter-card__icon-art {
  background: linear-gradient(145deg, var(--sky-light), var(--cream));
}

.chapter-card:hover .chapter-card__icon-art svg {
  transform: scale(1.1) rotate(-3deg);
}

.chapter-card__icon-art svg {
  transition: transform 0.45s var(--ease-spring);
}

.chapter-card--featured {
  padding: 32px 32px 32px 28px;
}

.chapter-card--featured:hover {
  box-shadow: 0 24px 56px rgba(10, 46, 74, 0.35);
}

/* Pillar cards   colored glow on icon */
.pillar-card__icon .icon-art {
  padding: 6px;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--cream), color-mix(in srgb, var(--pillar-color) 12%, #fff));
  box-shadow: 0 6px 20px color-mix(in srgb, var(--pillar-color) 18%, transparent);
}

/* Inspiration cards   staggered accent ring */
.inspire-card::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius) - 8px);
  border: 1px dashed rgba(61, 148, 200, 0.12);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.inspire-card:hover::after {
  opacity: 1;
}

.inspire-card--highlight::after {
  border-color: rgba(212, 146, 42, 0.25);
}

/* Quote cards   softer depth */
.quotes__grid {
  gap: 20px;
}

.quote-card {
  padding: 32px 36px;
}

.quote-card:not(.quote-card--featured):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: var(--white);
}

.quote-card--featured {
  background: linear-gradient(135deg, var(--sky-deep) 0%, var(--grass-dark) 100%);
  box-shadow: 0 16px 40px rgba(10, 46, 74, 0.2);
}

/* Hunt section   diamond spark */
.hunt__spark--3 {
  font-size: 0;
  width: 11px;
  height: 11px;
  background: var(--gold);
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(212, 146, 42, 0.5);
}

.hunt__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 56px;
}

.hunt__card:hover .hunt__visual {
  transform: scale(1.03);
}

.hunt__visual {
  transition: transform 0.5s var(--ease-spring);
}

/* Author portrait   photo */
.author__portrait-content {
  background: var(--sky-dark);
}

/* Buy card   inner glow */
.buy__card {
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.buy__features li {
  padding: 12px 16px;
  margin: 0 -16px;
  border-radius: var(--radius-xs);
  border-bottom: none;
  transition: background 0.3s;
}

.buy__features li:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Story cards hover */
.story__card {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.story__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.story__quote {
  background: linear-gradient(135deg, var(--cream) 0%, var(--sky-light) 100%);
  padding: 36px 40px;
}

/* Theme items   icon frame */
.theme-item__icon {
  padding: 10px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.theme-item:hover .theme-item__icon svg {
  transform: scale(1.08);
}

.theme-item__icon svg {
  transition: transform 0.4s var(--ease-spring);
}

@media (max-width: 900px) {
  .hunt__card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 32px;
    gap: 32px;
  }

  .hunt__visual {
    margin: 0 auto;
  }
}

/* ============================================
   V6   AI Overlay Cards (hover text reveal)
   ============================================ */

.ai-card {
  --ai-accent: var(--sky);
  position: relative;
  min-height: 340px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s;
}

.ai-card:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ai-accent) 35%, transparent), var(--shadow-lg);
}

/* Visual stage   icon + AI FX */
.ai-card__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 22px 56px;
  text-align: center;
  background: linear-gradient(165deg,
    color-mix(in srgb, var(--ai-accent) 10%, #fff) 0%,
    var(--white) 45%,
    color-mix(in srgb, var(--ai-accent) 6%, var(--cream)) 100%);
}

.char-card.ai-card .char-card__top {
  width: 100%;
  background: transparent;
  border-bottom: none;
}

.char-card.ai-card .char-card__icon-wrap {
  padding: 16px 24px 8px;
}

.ai-card__icon-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%,
    rgba(255, 255, 255, 0.95) 0%,
    color-mix(in srgb, var(--ai-accent) 12%, var(--cream)) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 12px 40px color-mix(in srgb, var(--ai-accent) 22%, transparent),
    inset 0 -4px 12px rgba(255, 255, 255, 0.6);
}

.ai-card__icon-stage--sm {
  width: 96px;
  height: 96px;
}

.ai-card__icon-stage--xs {
  width: 72px;
  height: 72px;
}

.ai-card__icon-stage .icon-art {
  position: relative;
  z-index: 2;
}

.ai-card__icon-stage .icon-art svg {
  filter:
    drop-shadow(0 8px 20px color-mix(in srgb, var(--ai-accent) 35%, transparent))
    drop-shadow(0 0 16px color-mix(in srgb, var(--ai-accent) 25%, transparent));
}

/* AI effect layers */
.ai-card__fx {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.ai-card__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 164, 217, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 164, 217, 0.08) 1px, transparent 1px);
  background-size: 14px 14px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 72%);
  opacity: 0.7;
}

.ai-card__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.55;
}

.ai-card__orb--1 {
  width: 70%;
  height: 70%;
  top: 5%;
  left: -10%;
  background: color-mix(in srgb, var(--ai-accent) 55%, transparent);
  animation: aiOrbDrift 5s ease-in-out infinite;
}

.ai-card__orb--2 {
  width: 55%;
  height: 55%;
  bottom: 0;
  right: -8%;
  background: rgba(212, 146, 42, 0.35);
  animation: aiOrbDrift 6s ease-in-out infinite reverse;
}

.ai-card__ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--ai-accent) 35%, transparent);
  animation: aiRingSpin 10s linear infinite;
}

.ai-card__ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(91, 164, 217, 0.2);
  animation: aiRingSpin 14s linear infinite reverse;
}

.ai-card__shimmer {
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 62%
  );
  animation: aiShimmerPass 3.2s ease-in-out infinite;
}

.ai-card__scan {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(91, 164, 217, 0.7), rgba(212, 146, 42, 0.5), transparent);
  box-shadow: 0 0 14px rgba(91, 164, 217, 0.45);
  animation: aiScanLine 4s ease-in-out infinite;
}

@keyframes aiOrbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8px, -6px) scale(1.08); }
}

@keyframes aiRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes aiShimmerPass {
  0%, 100% { transform: translateX(-60%) rotate(20deg); opacity: 0; }
  45%, 55% { opacity: 1; }
  100% { transform: translateX(60%) rotate(20deg); opacity: 0; }
}

@keyframes aiScanLine {
  0%, 100% { top: 12%; opacity: 0; }
  10% { opacity: 1; }
  50% { top: 78%; opacity: 1; }
  60% { opacity: 0; }
}

/* Peek title (visible before hover) */
.ai-card__peek {
  position: relative;
  z-index: 3;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-card__peek strong {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.2;
}

.ai-card__peek span,
.ai-card__peek small {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ai-accent);
}

.ai-card__peek small {
  opacity: 0.75;
  margin-bottom: 2px;
}

.ai-card__hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0.65;
  z-index: 3;
  transition: opacity 0.35s;
  white-space: nowrap;
}

/* Top overlay curtain */
.ai-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.88) 28%,
    rgba(255, 255, 255, 0.72) 48%,
    rgba(255, 255, 255, 0.35) 68%,
    transparent 100%);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: transform 0.65s cubic-bezier(0.33, 1, 0.48, 1), opacity 0.5s ease;
  pointer-events: none;
}

.ai-card__overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent,
    var(--ai-accent),
    rgba(91, 164, 217, 0.8),
    var(--gold),
    transparent);
  opacity: 0.85;
}

.ai-card__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 60%);
  animation: aiOverlaySheen 4s ease-in-out infinite;
}

@keyframes aiOverlaySheen {
  0%, 100% { transform: translateX(-80%); opacity: 0; }
  50% { transform: translateX(80%); opacity: 0.6; }
}

/* Hidden text body   revealed on hover */
.ai-card__body {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px 24px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.92) 18%,
    var(--white) 40%);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s 0.06s, transform 0.6s cubic-bezier(0.33, 1, 0.48, 1);
  pointer-events: none;
}

.ai-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--text);
  padding: 0;
}

.ai-card__body p {
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--text-muted);
  padding: 0;
  margin: 0;
}

.ai-card__body .char-card__role {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ai-accent);
  margin-bottom: 10px;
  padding: 0;
}

/* Hover / focus / active reveal */
@media (hover: hover) {
  .ai-card:hover,
  .ai-card:focus-within {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
  }

  .ai-card:hover .ai-card__overlay,
  .ai-card:focus-within .ai-card__overlay {
    transform: translateY(-102%);
    opacity: 0;
  }

  .ai-card:hover .ai-card__body,
  .ai-card:focus-within .ai-card__body {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .ai-card:hover .ai-card__hint,
  .ai-card:focus-within .ai-card__hint {
    opacity: 0;
  }

  .ai-card:hover .icon-art svg,
  .ai-card:focus-within .icon-art svg {
    transform: scale(1.1) translateY(-4px);
  }

  .ai-card:hover .ai-card__icon-stage,
  .ai-card:focus-within .ai-card__icon-stage {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.9),
      0 16px 48px color-mix(in srgb, var(--ai-accent) 35%, transparent),
      0 0 40px color-mix(in srgb, var(--ai-accent) 20%, transparent),
      inset 0 -4px 12px rgba(255, 255, 255, 0.6);
  }
}

/* Touch: tap to reveal */
@media (hover: none) {
  .ai-card.is-active .ai-card__overlay {
    transform: translateY(-102%);
    opacity: 0;
  }

  .ai-card.is-active .ai-card__body {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .ai-card.is-active .ai-card__hint {
    opacity: 0;
  }

  .ai-card__hint::after {
    content: ' · Tap to read';
  }
}

/* Character cards */
.char-card.ai-card {
  min-height: 360px;
}

.char-card.ai-card .char-card__num {
  z-index: 6;
}

/* Inspiration cards */
.inspire-card.ai-card {
  min-height: 320px;
  padding: 0;
  align-items: stretch;
  text-align: center;
}

.inspire-card.ai-card::after {
  display: none;
}

.inspire-card.ai-card .inspire-card__icon {
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

/* Pillar cards */
.pillar-card.ai-card {
  min-height: 280px;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 0;
}

.pillar-card.ai-card .pillar-card__icon {
  width: auto;
  height: auto;
  background: none;
  margin: 0;
}

.pillar-card.ai-card .pillar-card__body {
  display: contents;
}

/* Chapter cards */
.chapter-card.ai-card {
  display: block;
  min-height: 300px;
  padding: 0;
  grid-template-columns: unset;
}

.chapter-card.ai-card .chapter-card__icon-art {
  grid-row: unset;
  background: none;
  box-shadow: none;
  padding: 0;
}

.chapter-card--featured.ai-card .ai-card__stage {
  background: linear-gradient(165deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.12) 100%);
}

.chapter-card--featured.ai-card .ai-card__overlay {
  background: linear-gradient(180deg,
    rgba(22, 74, 114, 0.96) 0%,
    rgba(22, 74, 114, 0.82) 35%,
    rgba(22, 74, 114, 0.5) 60%,
    transparent 100%);
}

.chapter-card--featured.ai-card .ai-card__body {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(22, 74, 114, 0.85) 25%,
    var(--sky-deep) 50%);
}

.chapter-card--featured.ai-card .ai-card__body h3,
.chapter-card--featured.ai-card .ai-card__body p {
  color: rgba(255, 255, 255, 0.95);
}

.chapter-card--featured.ai-card .ai-card__peek strong {
  color: var(--white);
}

.chapter-card--featured.ai-card .chapter-card__tag {
  margin-top: 10px;
}

/* Theme items */
.theme-item.ai-card {
  min-height: 200px;
  padding: 0;
}

.themes__grid {
  gap: 16px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ai-card__fx,
  .ai-card__overlay::after {
    display: none;
  }

  .ai-card__overlay {
    display: none;
  }

  .ai-card__body {
    opacity: 1;
    transform: none;
    position: relative;
    pointer-events: auto;
    background: var(--white);
    padding: 20px 24px 24px;
  }

  .ai-card__stage {
    position: relative;
    min-height: 180px;
    padding-bottom: 20px;
  }

  .ai-card__hint {
    display: none;
  }

  .ai-card {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .characters__track .char-card.ai-card {
    flex: 0 0 min(300px, 82vw);
  }

  .ai-card {
    min-height: 300px;
  }
}

/* ============================================
   V7   Glass Photo Cards (reference style)
   ============================================ */

.glass-card {
  --ai-accent: #5BA4D9;
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: none;
  border-radius: 26px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  background: #0f2847;
  box-shadow: 0 18px 50px rgba(10, 30, 60, 0.28);
  transition: transform 0.45s cubic-bezier(0.33, 1, 0.48, 1), box-shadow 0.45s ease;
}

.glass-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45), 0 18px 50px rgba(10, 30, 60, 0.32);
}

/* Full-bleed photo */
.glass-card__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.65s cubic-bezier(0.33, 1, 0.48, 1);
  z-index: 0;
}

/* Navy → purple gradient overlay (like reference) */
.glass-card__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, #0f2847 82%, var(--ai-accent)) 0%,
    color-mix(in srgb, #4a2d7a 78%, var(--ai-accent)) 55%,
    color-mix(in srgb, #6b4c9a 74%, var(--ai-accent)) 100%
  );
  opacity: 0.88;
  transition: opacity 0.45s ease;
}

/* Centered glass icon disc */
.glass-card__center {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.glass-card__disc {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.48, 1), opacity 0.4s ease;
}

.glass-card__disc .icon-art,
.glass-card__icon-wrap .icon-art {
  width: 58px;
  height: 58px;
}

.glass-card__disc .icon-art--lg,
.glass-card__icon-wrap .icon-art--lg {
  width: 64px;
  height: 64px;
}

.glass-card__disc .icon-art--md,
.glass-card__icon-wrap .icon-art--md {
  width: 52px;
  height: 52px;
}

.glass-card__disc .icon-art--sm,
.glass-card__icon-wrap .icon-art--sm {
  width: 44px;
  height: 44px;
}

.glass-card__disc .icon-art svg,
.glass-card__icon-wrap .icon-art svg {
  filter: brightness(0) invert(1) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.25));
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.48, 1);
}

/* Hidden text   revealed on hover */
.glass-card__content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 24px 24px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.72) 100%
  );
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.42s 0.04s ease, transform 0.52s cubic-bezier(0.33, 1, 0.48, 1);
  pointer-events: none;
}

.glass-card__content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
  padding: 0;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.glass-card__content p {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  padding: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.glass-card__content .char-card__role {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
  padding: 0;
}

.glass-card__content .chapter-card__tag {
  align-self: flex-start;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Number badge   frosted pill */
.glass-card .char-card__num {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Hover interactions */
@media (hover: hover) {
  .glass-card:hover,
  .glass-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(10, 30, 60, 0.38);
  }

  .glass-card:hover .glass-card__photo,
  .glass-card:focus-within .glass-card__photo {
    transform: scale(1.12);
  }

  .glass-card:hover .glass-card__gradient,
  .glass-card:focus-within .glass-card__gradient {
    opacity: 0.94;
  }

  .glass-card:hover .glass-card__disc,
  .glass-card:focus-within .glass-card__disc {
    transform: scale(0.78) translateY(-36px);
    opacity: 0.85;
  }

  .glass-card:hover .glass-card__content,
  .glass-card:focus-within .glass-card__content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Touch: tap to reveal text */
@media (hover: none) {
  .glass-card.is-active .glass-card__content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .glass-card.is-active .glass-card__disc {
    transform: scale(0.78) translateY(-36px);
    opacity: 0.85;
  }

  .glass-card.is-active .glass-card__photo {
    transform: scale(1.08);
  }
}

/* Section-specific glass cards   inspirations only */
#inspirations .inspire-card.glass-card {
  min-height: unset;
  border: none;
  box-shadow: 0 18px 50px rgba(10, 30, 60, 0.28);
  padding: 0 !important;
}

#inspirations .inspire-card.glass-card::after {
  display: none;
}

#inspirations .inspire-card.glass-card .inspire-card__icon {
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

#inspirations .inspire-card--highlight.glass-card .glass-card__gradient {
  background: linear-gradient(
    135deg,
    rgba(15, 40, 71, 0.9) 0%,
    rgba(74, 45, 122, 0.86) 45%,
    rgba(212, 146, 42, 0.75) 100%
  ) !important;
}

.inspirations__scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.inspirations__grid {
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 600px) {
  .inspirations__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #inspirations .glass-card__photo,
  #inspirations .glass-card__disc,
  #inspirations .glass-card__content {
    transition: none;
  }

  #inspirations .glass-card__content {
    opacity: 1;
    transform: none;
    position: relative;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: auto;
  }

  #inspirations .glass-card {
    aspect-ratio: auto;
    min-height: 320px;
    display: flex;
    flex-direction: column;
  }

  #inspirations .glass-card__center {
    position: relative;
    flex: 1;
    min-height: 160px;
  }

  #inspirations .glass-card__content {
    position: relative;
    flex: 1;
  }
}

/* ============================================
   V7b   Force glass cards (inspirations only)
   ============================================ */

#inspirations .inspire-card.glass-card {
  padding: 0 !important;
  margin: 0;
  background: #0f2847 !important;
  border: none !important;
  border-radius: 26px !important;
  aspect-ratio: 1;
  min-height: 280px !important;
  width: 100%;
  overflow: hidden !important;
  display: block !important;
  text-align: center;
  box-shadow: 0 18px 50px rgba(10, 30, 60, 0.28) !important;
}

#inspirations .inspire-card.glass-card > h3,
#inspirations .inspire-card.glass-card > p {
  display: none;
}

#inspirations .glass-card__photo {
  background-color: #1a3a5c;
  background-size: cover;
  background-position: center;
}

#inspirations .glass-card__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#inspirations .glass-card__gradient {
  background: linear-gradient(
    135deg,
    rgba(15, 40, 71, 0.88) 0%,
    rgba(74, 45, 122, 0.84) 55%,
    rgba(107, 76, 154, 0.8) 100%
  ) !important;
}

#inspirations .inspirations__grid .glass-card {
  min-height: 280px !important;
}

@media (max-width: 768px) {
  #inspirations .inspire-card.glass-card {
    min-height: 0 !important;
    aspect-ratio: 1;
    border-radius: 20px !important;
  }

  #inspirations .inspirations__grid .glass-card {
    min-height: 0 !important;
  }

  #inspirations .glass-card__disc {
    width: 64px;
    height: 64px;
  }
}

/* ============================================
   V8   Character Roster (no icons / no cards)
   ============================================ */

.characters.section--alt {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 40%, var(--cream) 100%);
}

.characters__roster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.char-entry {
  --char-accent: var(--sky);
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 28px;
  padding: 32px 36px 32px 0;
  border-bottom: 1px solid var(--border);
  border-left: 4px solid var(--char-accent);
  background: var(--white);
  transition: background 0.35s ease, padding-left 0.35s var(--ease-out);
}

.char-entry:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.char-entry:nth-last-child(-n+2) {
  border-bottom: none;
}

.char-entry:hover {
  background: linear-gradient(90deg, color-mix(in srgb, var(--char-accent) 8%, var(--white)) 0%, var(--white) 100%);
  padding-left: 4px;
}

.char-entry__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  color: color-mix(in srgb, var(--char-accent) 35%, var(--border));
  padding-left: 28px;
  align-self: start;
  user-select: none;
}

.char-entry__content {
  min-width: 0;
  padding-right: 8px;
}

.char-entry__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin-bottom: 10px;
}

.char-entry__header h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.char-entry__role {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--char-accent);
  background: color-mix(in srgb, var(--char-accent) 12%, var(--white));
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid color-mix(in srgb, var(--char-accent) 22%, transparent);
}

.char-entry__content p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}

/* Featured lead   Grandma Mae full width */
.char-entry--lead {
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr;
  gap: 0 36px;
  padding: 40px 48px 40px 0;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--char-accent) 6%, var(--white)) 0%,
    var(--white) 55%,
    color-mix(in srgb, var(--sky) 4%, var(--white)) 100%);
  border-right: none !important;
  border-bottom: 1px solid var(--border);
}

.char-entry--lead .char-entry__num {
  font-size: clamp(3.5rem, 6vw, 5rem);
  color: color-mix(in srgb, var(--char-accent) 45%, var(--border));
}

.char-entry--lead .char-entry__header h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.char-entry--lead .char-entry__content p {
  font-size: 1rem;
  max-width: 720px;
}

.char-entry--lead::after {
  content: 'Heart of the Farm';
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--char-accent);
  opacity: 0.7;
}

@media (max-width: 900px) {
  .characters__roster {
    grid-template-columns: 1fr;
  }

  .char-entry:nth-child(odd) {
    border-right: none;
  }

  .char-entry:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .char-entry:last-child {
    border-bottom: none;
  }

  .char-entry {
    padding: 28px 24px 28px 0;
  }

  .char-entry__num {
    padding-left: 20px;
    font-size: 2.25rem;
  }

  .char-entry--lead {
    padding: 32px 24px 32px 0;
  }

  .char-entry--lead::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .char-entry {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 20px;
    border-left-width: 3px;
  }

  .char-entry__num {
    padding-left: 0;
    font-size: 1.75rem;
    opacity: 0.6;
  }

  .char-entry--lead .char-entry__num {
    font-size: 2.25rem;
  }
}

/* ============================================
   V9   Oddball Hunt CTA Banner
   ============================================ */

#hunt {
  padding: 0;
  margin: 0;
}

#hunt .hunt__banner {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 112px) 24px clamp(64px, 8vw, 96px);
  background: linear-gradient(
    135deg,
    #0a2e4a 0%,
    #123d5c 35%,
    #164a72 65%,
    #1e5a8a 100%
  );
  text-align: center;
}

#hunt .hunt__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

#hunt .hunt__blob--tl {
  top: -120px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.12);
}

#hunt .hunt__blob--br {
  bottom: -100px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.1);
}

#hunt .hunt__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

#hunt .hunt__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

#hunt .hunt__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 24px;
}

#hunt .hunt__title em {
  font-style: italic;
  font-weight: 700;
}

#hunt .hunt__desc {
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto 36px;
  max-width: 580px;
}

#hunt .hunt__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: #fff;
  color: var(--sky-deep);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

#hunt .hunt__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

#hunt .hunt__btn svg {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}

#hunt .hunt__btn:hover svg {
  transform: translateX(4px);
}

#hunt .hunt__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 40px;
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
}

#hunt .hunt__trust li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

#hunt .hunt__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

#hunt .hunt__check svg {
  display: block;
}

@media (max-width: 640px) {
  #hunt .hunt__banner {
    padding: 56px 20px 48px;
  }

  #hunt .hunt__trust {
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
  }

  #hunt .hunt__btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ============================================
   V10   Beloved Characters Carousel
   ============================================ */

#characters {
  padding: clamp(72px, 10vw, 100px) 0;
  background: #0b0f19;
}

#characters .container {
  max-width: 860px;
}

#characters .characters__header {
  text-align: center;
  margin-bottom: 48px;
}

#characters .characters__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

#characters .characters__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 16px;
}

#characters .characters__title em {
  font-style: italic;
}

#characters .characters__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin: 0 auto;
}

#characters .char-carousel__viewport {
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  border-radius: 20px;
}

#characters .char-carousel__viewport.is-dragging {
  cursor: grabbing;
}

#characters .char-carousel__viewport.is-dragging .char-slide__card {
  user-select: none;
}

#characters .char-carousel__track {
  display: flex;
  will-change: transform;
}

#characters .char-carousel__track.is-animating {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

#characters .char-slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}

#characters .char-slide__card {
  background: #161b2d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: clamp(36px, 5vw, 52px) clamp(28px, 5vw, 56px);
  text-align: center;
}

#characters .char-slide__stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px;
}

#characters .char-slide__stars span {
  font-size: 1.125rem;
  color: #fbbf24;
  line-height: 1;
}

#characters .char-slide__quote {
  margin: 0 0 36px;
  padding: 0;
  border: none;
}

#characters .char-slide__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto;
  max-width: 620px;
}

#characters .char-slide__profile {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

#characters .char-slide__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 4px;
}

#characters .char-slide__avatar .icon-art {
  width: 48px;
  height: 48px;
}

#characters .char-slide__avatar .icon-art svg {
  width: 100%;
  height: 100%;
  display: block;
}

#characters .char-slide__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#characters .char-slide__meta strong {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

#characters .char-slide__meta span {
  font-size: 0.875rem;
  color: #94a3b8;
}

#characters .char-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

#characters .char-carousel__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #161b2d;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out);
  flex-shrink: 0;
}

#characters .char-carousel__arrow:hover {
  background: #1e2438;
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

#characters .char-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 220px;
}

#characters .char-carousel__counter {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  min-width: 48px;
  text-align: center;
  flex-shrink: 0;
}

#characters .char-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #334155;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
}

#characters .char-carousel__dot.is-active {
  width: 28px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #8b5cf6 0%, #ec4899 100%);
}

@media (max-width: 640px) {
  #characters {
    padding: 56px 0;
  }

  #characters .characters__header {
    margin-bottom: 32px;
  }

  #characters .char-slide__card {
    padding: 32px 24px;
  }

  #characters .char-slide__profile {
    flex-direction: column;
    text-align: center;
  }

  #characters .char-carousel__dots {
    max-width: 200px;
    gap: 6px;
  }

  #characters .char-carousel__nav {
    gap: 14px;
    margin-top: 28px;
  }
}

/* ============================================
   V11   Chapter Adventures Bento Glass
   ============================================ */

#chapters {
  position: relative;
  padding: clamp(80px, 10vw, 120px) 0;
  background: linear-gradient(160deg, #eef6fc 0%, #fff8ee 35%, #f0f7ed 70%, #e8f2fa 100%);
  overflow: hidden;
}

#chapters .chapters__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(232, 168, 56, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 90%, rgba(61, 148, 200, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(74, 147, 64, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

#chapters .container {
  position: relative;
  z-index: 1;
}

#chapters .chapters__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

#chapters .chapters__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grass);
  margin-bottom: 14px;
}

#chapters .chapters__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--sky-dark);
  line-height: 1.15;
  margin: 0 0 16px;
}

#chapters .chapters__title em {
  font-style: italic;
  color: var(--barn);
}

#chapters .chapters__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}

/* Equal 3×3 grid */
#chapters .chapters__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

#chapters .ch-card {
  --ch-accent: var(--sky);
  display: flex;
  height: 100%;
}

#chapters .ch-card__body {
  width: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 28px 30px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 4px 24px rgba(10, 46, 74, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.4s ease,
    box-shadow 0.45s ease,
    background 0.4s ease;
}

#chapters .ch-card__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--ch-accent) 22%, transparent) 0%,
    transparent 55%
  );
  transition: opacity 0.45s ease;
}

#chapters .ch-card__body::after {
  content: '';
  position: absolute;
  top: -40%;
  left: -80%;
  width: 45%;
  height: 180%;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.65) 50%,
    transparent 65%
  );
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

#chapters .ch-card:hover .ch-card__body {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.58);
  border-color: color-mix(in srgb, var(--ch-accent) 65%, rgba(255, 255, 255, 0.8));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--ch-accent) 35%, transparent),
    0 0 28px color-mix(in srgb, var(--ch-accent) 25%, transparent),
    0 14px 40px rgba(10, 46, 74, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

#chapters .ch-card:hover .ch-card__glow {
  opacity: 1;
}

#chapters .ch-card:hover .ch-card__body::after {
  left: 130%;
}

#chapters .ch-card__body h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--sky-dark);
  margin: 0 0 12px;
  line-height: 1.4;
}

#chapters .ch-card__body p {
  position: relative;
  z-index: 1;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--text);
  opacity: 0.88;
  margin: 0;
  flex: 1;
}

@media (max-width: 1024px) {
  #chapters .chapters__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #chapters .chapters__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #chapters .chapters__header {
    margin-bottom: 40px;
  }

  #chapters .ch-card__body {
    min-height: auto;
    padding: 24px 22px;
  }

  #chapters .ch-card__body h3 {
    font-size: 1.0625rem;
  }

  #chapters .ch-card__body p {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #chapters .ch-card__body::after {
    display: none;
  }

  #chapters .ch-card:hover .ch-card__body {
    transform: none;
  }
}

/* ============================================
   V12   Elegant Quote Banner
   ============================================ */

.quote-banner {
  border-top: 1px solid #1c1612;
  background: linear-gradient(
    90deg,
    #b8a99a 0%,
    #ddd4c8 18%,
    #f7f3ec 42%,
    #faf7f2 50%,
    #f7f3ec 58%,
    #ddd4c8 82%,
    #b8a99a 100%
  );
  padding: clamp(64px, 9vw, 96px) 28px;
  text-align: center;
}

.quote-banner__inner {
  margin: 0;
  padding: 0;
  border: none;
  max-width: 820px;
  margin-inline: auto;
}

.quote-banner__text {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3.8vw, 2.5rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.45;
  color: #14100d;
  margin: 0;
  letter-spacing: -0.01em;
}

.quote-banner__accent {
  position: relative;
  display: inline-block;
}

.quote-banner__accent::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 52px;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #e8a838 0%, #d35400 55%, #c0392b 100%);
  box-shadow: 0 0 12px rgba(232, 168, 56, 0.45);
}

@media (max-width: 640px) {
  .quote-banner {
    padding: 52px 20px;
  }

  .quote-banner__text {
    font-size: clamp(1.375rem, 5.5vw, 1.75rem);
  }
}

/* ============================================
   V13   Site-wide Navy + Green Glass Theme
   ============================================ */

:root {
  --glass-surface: rgba(255, 255, 255, 0.1);
  --glass-surface-hover: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-border-strong: rgba(255, 255, 255, 0.35);
  --glass-blur: 20px;
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --theme-navy: #061f33;
  --theme-navy-mid: #0a2e4a;
  --theme-green: #0d3d32;
  --theme-green-glow: #1a6b4f;
  --text-on-dark: #eef6fc;
  --text-muted-on-dark: rgba(220, 235, 248, 0.72);
  --text-soft-on-dark: rgba(200, 220, 240, 0.55);
}

body {
  color: var(--text-on-dark);
  background: var(--theme-navy) !important;
  background-image: none !important;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 15% 5%, rgba(26, 107, 79, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 80% 55% at 88% 15%, rgba(30, 90, 138, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(13, 61, 50, 0.5) 0%, transparent 55%),
    linear-gradient(165deg, #061f33 0%, #0a2e4a 40%, #0c3530 70%, #061f33 100%);
}

em {
  color: #7ec8a0;
}

/* Header glass */
.header--scrolled .header__inner {
  background: rgba(10, 46, 74, 0.72) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
}

.nav__logo,
.nav__link {
  color: var(--text-on-dark);
}

.nav__link:hover,
.nav__link--cta {
  color: #fff;
}

.nav__link--cta {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid var(--glass-border) !important;
  backdrop-filter: blur(12px);
}

/* Hero */
.hero__mesh {
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(26, 107, 79, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(61, 148, 200, 0.3) 0%, transparent 50%),
    linear-gradient(175deg, rgba(6, 31, 51, 0.95) 0%, rgba(10, 46, 74, 0.88) 50%, rgba(12, 53, 48, 0.92) 100%) !important;
}

.hero__title-line {
  color: var(--text-on-dark);
}

.hero__title-line--accent {
  background: linear-gradient(135deg, #7ec8e8 0%, #7ec8a0 50%, #5ad49a 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hero__subtitle,
.hero__author,
.hero__tagline {
  color: var(--text-muted-on-dark) !important;
}

.hero__author strong {
  color: var(--text-on-dark);
}

.hero__badge,
.hero__stats,
.hero__float-card {
  background: var(--glass-surface) !important;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
  color: var(--text-on-dark);
}

.hero__float-card strong,
.hero__float-card small {
  color: var(--text-on-dark);
}

.hero__stat-num {
  color: #7ec8a0;
}

.hero__stat-label {
  color: var(--text-muted-on-dark);
}

.hero__scroll {
  color: var(--text-muted-on-dark);
}

/* Marquee */
.marquee {
  background: rgba(255, 255, 255, 0.06) !important;
  border-block: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.marquee__track span {
  color: var(--text-muted-on-dark) !important;
}

/* Sections */
.section,
.section--white,
.section--alt,
.quotes,
.inspirations.section--alt,
.characters.section--alt,
.chapters.section,
#chapters,
#characters,
#inspirations {
  background: transparent !important;
}

.section__title,
.chapters__title,
.characters__title {
  color: var(--text-on-dark) !important;
}

.section__title em,
.chapters__title em,
.characters__title em {
  background: linear-gradient(135deg, #7ec8e8, #7ec8a0) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.section__desc,
.chapters__desc,
.characters__desc {
  color: var(--text-muted-on-dark) !important;
}

.section__eyebrow,
.chapters__eyebrow,
.characters__eyebrow {
  color: #7ec8a0 !important;
}

/* Wave dividers */
.wave-divider svg path {
  fill: rgba(10, 46, 74, 0.3) !important;
}

.wave-divider--down svg path {
  fill: transparent !important;
}

/* Glass cards   shared */
.quote-card,
.story__card,
.pillar-card,
.story__quote,
.author__quote,
.buy__card,
.author__portrait,
.ch-card__body,
.char-slide__card {
  background: var(--glass-surface) !important;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
}

.quote-card--featured {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: var(--glass-border-strong) !important;
}

.story__card--accent {
  background: rgba(26, 107, 79, 0.18) !important;
  border-color: rgba(126, 200, 160, 0.3) !important;
}

.story__card p,
.story__lead,
.story__card-title {
  color: var(--text-muted-on-dark) !important;
}

.story__lead strong,
.story__card--accent strong {
  color: var(--text-on-dark) !important;
}

.story__quote p,
.story__quote cite {
  color: var(--text-muted-on-dark) !important;
}

.quote-card p {
  color: var(--text-on-dark) !important;
}

.pillar-card__body h3 {
  color: var(--text-on-dark) !important;
}

.pillar-card__body p {
  color: var(--text-muted-on-dark) !important;
}

.pillar-card {
  background: var(--glass-surface) !important;
  border: 1px solid var(--glass-border) !important;
}

/* Quote banner glass */
.quote-banner {
  background: rgba(255, 255, 255, 0.07) !important;
  border-top: 1px solid var(--glass-border) !important;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.quote-banner__text {
  color: var(--text-on-dark) !important;
}

/* Chapters cards on dark */
#chapters .chapters__bg {
  display: none;
}

#chapters .ch-card__body {
  background: var(--glass-surface) !important;
  border-color: var(--glass-border) !important;
}

#chapters .ch-card__body h3 {
  color: var(--text-on-dark) !important;
}

#chapters .ch-card__body p {
  color: var(--text-muted-on-dark) !important;
  opacity: 1 !important;
}

#chapters .ch-card:hover .ch-card__body {
  background: var(--glass-surface-hover) !important;
  border-color: color-mix(in srgb, var(--ch-accent) 50%, var(--glass-border)) !important;
}

/* Characters   align with theme */
#characters {
  background: transparent !important;
}

#characters .char-slide__card {
  background: var(--glass-surface) !important;
  border: 1px solid var(--glass-border) !important;
  backdrop-filter: blur(var(--glass-blur));
}

/* Hunt section */
#hunt .hunt__banner {
  background: linear-gradient(135deg, rgba(6, 31, 51, 0.95) 0%, rgba(10, 46, 74, 0.9) 50%, rgba(13, 61, 50, 0.92) 100%) !important;
  border-block: 1px solid var(--glass-border);
}

/* Author */
.author__content p {
  color: var(--text-muted-on-dark) !important;
}

.author__portrait-badge {
  background: var(--glass-surface) !important;
  border: 1px solid var(--glass-border) !important;
  backdrop-filter: blur(12px);
}

.author__portrait-badge strong {
  color: var(--text-on-dark);
}

.author__portrait-label {
  color: var(--text-muted-on-dark);
}

.author__quote em {
  color: var(--text-on-dark) !important;
}

/* Buy section */
.buy {
  background: transparent !important;
}

.buy__bg::before {
  opacity: 0.15 !important;
}

.buy__content h2,
.buy__label {
  color: var(--text-on-dark) !important;
}

.buy__content > p {
  color: var(--text-muted-on-dark) !important;
}

.buy__features li {
  color: var(--text-muted-on-dark) !important;
  border-color: var(--glass-border) !important;
}

.buy__email {
  color: #7ec8a0 !important;
}

/* Footer glass */
.footer {
  background: rgba(4, 18, 30, 0.85) !important;
  backdrop-filter: blur(var(--glass-blur));
  border-top: 1px solid var(--glass-border);
}

/* Back to top */
.back-top {
  background: rgba(10, 46, 74, 0.85) !important;
  border: 1px solid var(--glass-border) !important;
  backdrop-filter: blur(12px);
  color: var(--text-on-dark) !important;
}

/* Glass hover lift   global */
.quote-card:hover,
.story__card:hover,
.pillar-card:hover,
.ch-card:hover .ch-card__body,
.buy__card:hover {
  background: var(--glass-surface-hover) !important;
  border-color: var(--glass-border-strong) !important;
  transform: translateY(-4px);
}

/* Hero buttons on dark */
.hero .btn--glass {
  background: var(--glass-surface) !important;
  border: 1px solid var(--glass-border) !important;
  color: var(--text-on-dark) !important;
  backdrop-filter: blur(12px);
}

.hero .btn--glass:hover {
  background: var(--glass-surface-hover) !important;
  border-color: var(--glass-border-strong) !important;
}

/* Inspirations glass cards */
#inspirations .inspire-card.glass-card,
#inspirations .glass-card {
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
}

#inspirations .section__header .section__title,
#inspirations .section__header .section__desc {
  color: var(--text-on-dark);
}

#inspirations .inspirations__scroll-hint {
  color: var(--text-soft-on-dark);
}

/* ============================================
   V14   Section top divider lines
   ============================================ */

.wave-divider {
  display: none;
}

.marquee,
.quotes,
.section,
.quote-banner,
#characters,
#chapters,
#hunt,
.footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee::before,
.quotes::before,
.section::before,
.quote-banner::before,
#characters::before,
#chapters::before,
#hunt::before,
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1180px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(126, 200, 160, 0.45) 20%,
    rgba(126, 200, 232, 0.7) 50%,
    rgba(126, 200, 160, 0.45) 80%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Hunt banner   divider on section, not inner banner */
#hunt .hunt__banner {
  border-top: none !important;
}

/* Quote banner   single divider from section rule */
.quote-banner {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* ============================================
   V15   Clean book image (no extra bg)
   ============================================ */

.hero__book-ring,
.hero__book-glow,
.hero__book-spine {
  display: none !important;
}

.hero__book-frame {
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
}

.hero__book-img,
.buy__book-img {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

.hero__book-scene,
.hero__book-wrap,
.hero__book-frame,
.hero__visual {
  background: transparent !important;
}

.hero__book-wrap:hover .hero__book-frame,
.hero__book-wrap:hover .hero__book-img {
  box-shadow: none !important;
  filter: none !important;
}

.buy__book-stack::before {
  display: none !important;
}

/* ============================================
   V16   Fix book bottom crop
   ============================================ */

.hero {
  overflow: visible !important;
  padding-bottom: 160px !important;
}

.hero__content {
  z-index: 3 !important;
}

.hero__content,
.hero__visual,
.hero__book-scene,
.hero__book-wrap,
.hero__book-frame {
  overflow: visible !important;
}

.hero__visual {
  padding-bottom: 32px;
  align-self: center;
}

.hero__skyline {
  z-index: 1 !important;
  pointer-events: none;
}

.hero__book-img {
  max-height: none !important;
  width: auto !important;
  height: auto !important;
  max-width: min(100%, 500px);
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: 120px !important;
  }

  .hero__book-img {
    max-width: min(92vw, 380px) !important;
  }
}

/* ============================================
   V17   Story section bento cards
   ============================================ */

#story .story__layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#story .story__main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

#story .story__card {
  margin-bottom: 0 !important;
  padding: 32px 34px 34px;
  border-radius: 20px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: none !important;
  transition:
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    background 0.35s var(--ease-out);
}

#story .story__card::before {
  display: none !important;
}

#story .story__card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 100% 0%, rgba(126, 200, 160, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

#story .story__card:hover::after {
  opacity: 1;
}

#story .story__card > * {
  position: relative;
  z-index: 1;
}

#story .story__card--lead {
  grid-column: 1 / -1;
  padding-top: 38px;
  background:
    linear-gradient(145deg, rgba(26, 107, 79, 0.22) 0%, rgba(255, 255, 255, 0.08) 48%, rgba(61, 148, 200, 0.12) 100%) !important;
  border-color: rgba(126, 200, 160, 0.35) !important;
}

#story .story__card--lead::before {
  display: block !important;
  content: 'Our Story';
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  height: auto;
  width: auto;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8f0d4;
  background: rgba(26, 107, 79, 0.45);
  border-bottom-right-radius: 14px;
  border-top-left-radius: inherit;
}

#story .story__card--accent {
  background:
    linear-gradient(160deg, rgba(61, 148, 200, 0.16) 0%, rgba(26, 107, 79, 0.14) 100%) !important;
  border-color: rgba(126, 200, 232, 0.28) !important;
}

#story .story__card-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  color: var(--text-on-dark) !important;
  margin-bottom: 16px;
}

#story .story__card-title::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7ec8a0, #7ec8e8);
  box-shadow: 0 0 12px rgba(126, 200, 160, 0.65);
  flex-shrink: 0;
}

#story .story__lead {
  font-size: 1.18rem !important;
  line-height: 1.75 !important;
}

#story .story__quote {
  grid-column: 1 / -1;
  margin: 0;
  padding: 36px 40px;
  text-align: center;
  border-radius: 20px;
  border: 1px solid rgba(232, 168, 56, 0.28) !important;
  background:
    linear-gradient(135deg, rgba(232, 168, 56, 0.12) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(61, 148, 200, 0.1) 100%) !important;
  transform: none !important;
}

#story .story__quote-icon {
  position: static;
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  color: rgba(232, 168, 56, 0.55);
}

#story .story__quote p {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  max-width: 640px;
  margin-inline: auto;
  color: var(--text-on-dark) !important;
}

#story .story__quote cite {
  display: block;
  margin-top: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(232, 168, 56, 0.85) !important;
}

#story .story__pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

#story .pillar-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  min-height: 230px;
  padding: 28px 22px 26px;
  border-radius: 20px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: none !important;
  transition:
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    background 0.35s var(--ease-out);
}

#story .pillar-card::before,
#story .pillar-card::after {
  display: none !important;
}

#story .pillar-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pillar-color) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--pillar-color) 45%, transparent);
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--pillar-color) 10%, transparent),
    0 12px 28px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

#story .pillar-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#story .pillar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

#story .pillar-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 22ch;
  margin-inline: auto;
}

#story .pillar-card:hover .pillar-card__icon {
  box-shadow:
    0 0 0 8px color-mix(in srgb, var(--pillar-color) 14%, transparent),
    0 0 28px color-mix(in srgb, var(--pillar-color) 35%, transparent),
    0 12px 28px rgba(0, 0, 0, 0.2);
  border-color: color-mix(in srgb, var(--pillar-color) 70%, transparent);
}

#story .pillar-card:hover .icon-art svg {
  transform: scale(1.06) !important;
}

#story .story__card:hover,
#story .pillar-card:hover,
#story .story__quote:hover {
  transform: none !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

@media (max-width: 1024px) {
  #story .story__pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #story .story__main {
    grid-template-columns: 1fr;
  }

  #story .story__card--lead {
    grid-column: auto;
  }

  #story .story__quote {
    grid-column: auto;
    padding: 30px 24px;
  }

  #story .story__card {
    padding: 26px 24px 28px;
  }

  #story .story__pillars {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #story .pillar-card {
    min-height: 0;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 22px 20px;
    gap: 18px;
  }

  #story .pillar-card__icon {
    width: 58px;
    height: 58px;
    margin: 0;
    flex-shrink: 0;
  }

  #story .pillar-card p {
    max-width: none;
    margin-inline: 0;
  }
}

/* ============================================
   V18   Compact pillar cards + kindness banner
   ============================================ */

#story .story__pillars {
  gap: 14px;
}

#story .pillar-card {
  min-height: 0;
  padding: 18px 16px 20px;
  border-radius: 14px;
  text-align: left;
  align-items: stretch;
  border-top: 3px solid var(--pillar-color) !important;
}

#story .pillar-card__icon {
  display: none !important;
}

#story .pillar-card h3 {
  font-size: 0.9375rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#story .pillar-card h3::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pillar-color);
  box-shadow: 0 0 10px color-mix(in srgb, var(--pillar-color) 60%, transparent);
  flex-shrink: 0;
}

#story .pillar-card p {
  font-size: 0.8125rem;
  line-height: 1.55;
  max-width: none;
  margin-inline: 0;
}

#story .pillar-card:hover .pillar-card__icon {
  display: none !important;
}

@media (max-width: 768px) {
  #story .pillar-card {
    flex-direction: column;
    padding: 16px 18px;
  }
}

/* Kindness quote banner */
.quote-banner--kindness {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 108px) 28px;
  background:
    radial-gradient(ellipse 80% 120% at 50% 0%, rgba(26, 107, 79, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 15% 100%, rgba(61, 148, 200, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 50% 70% at 90% 80%, rgba(232, 168, 56, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, rgba(8, 28, 48, 0.92) 0%, rgba(10, 46, 74, 0.96) 100%) !important;
  border-top: 1px solid rgba(126, 200, 160, 0.2) !important;
  border-bottom: 1px solid rgba(126, 200, 160, 0.12) !important;
}

.quote-banner__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(126, 200, 160, 0.08) 0%, transparent 42%);
  pointer-events: none;
}

.quote-banner__ripples {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  width: min(520px, 90vw);
  height: 120px;
  pointer-events: none;
}

.quote-banner__ripples span {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(126, 200, 160, 0.22);
  animation: quoteRipple 5s ease-out infinite;
}

.quote-banner__ripples span:nth-child(1) {
  width: 80px;
  height: 28px;
  animation-delay: 0s;
}

.quote-banner__ripples span:nth-child(2) {
  width: 160px;
  height: 52px;
  animation-delay: 1.6s;
}

.quote-banner__ripples span:nth-child(3) {
  width: 260px;
  height: 80px;
  animation-delay: 3.2s;
}

@keyframes quoteRipple {
  0% {
    opacity: 0.55;
    transform: translateX(-50%) scale(0.85);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(1.35);
  }
}

.quote-banner--kindness .quote-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.quote-banner__mark {
  display: block;
  margin: 0 auto 20px;
  color: rgba(126, 200, 160, 0.35);
  width: 44px;
  height: 44px;
}

.quote-banner--kindness .quote-banner__text {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2.15rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.55;
  color: var(--text-on-dark) !important;
  letter-spacing: -0.01em;
  margin: 0;
}

.quote-banner__accent {
  position: relative;
  display: inline;
  color: #d4f5e4;
}

.quote-banner__accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #7ec8a0, #7ec8e8);
  opacity: 0.75;
}

.quote-banner__accent--ripple {
  color: #f5d78a;
}

.quote-banner__accent--ripple::after {
  background: linear-gradient(90deg, #e8a838, #f5d78a);
  bottom: 0;
  height: 3px;
  box-shadow: 0 0 14px rgba(232, 168, 56, 0.45);
}

.quote-banner__cite {
  display: block;
  margin-top: 28px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(126, 200, 160, 0.8) !important;
}

@media (max-width: 640px) {
  .quote-banner--kindness {
    padding: 56px 20px;
  }

  .quote-banner__mark {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
  }

  .quote-banner--kindness .quote-banner__text {
    font-size: 1.25rem;
    line-height: 1.6;
  }

  .quote-banner__cite {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-banner__ripples span {
    animation: none;
    opacity: 0.2;
  }
}

/* ============================================
   V19   Story pillars full-width (no right gap)
   ============================================ */

#story .container {
  width: min(1200px, calc(100% - 40px));
}

#story .story__layout {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  width: 100%;
  max-width: 100%;
  gap: 36px;
}

#story .story__main,
#story .story__pillars {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#story .story__pillars {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px;
  margin: 0;
  padding: 0;
}

#story .pillar-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  #story .story__pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  #story .container {
    width: min(1200px, calc(100% - 32px));
  }

  #story .story__pillars {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   V20   Premium Hero Upgrade
   ============================================ */

.hero {
  min-height: 100svh;
  padding: calc(var(--header-h) + 32px) 0 150px !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

.hero__mesh {
  background:
    radial-gradient(ellipse 70% 55% at 12% 8%, rgba(26, 107, 79, 0.42) 0%, transparent 58%),
    radial-gradient(ellipse 65% 50% at 88% 12%, rgba(61, 148, 200, 0.38) 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(232, 168, 56, 0.1) 0%, transparent 55%),
    linear-gradient(165deg, #051525 0%, #0a2e4a 42%, #0b3830 78%, #061f33 100%) !important;
}

.hero__grain {
  opacity: 0.22;
}

.hero__orb--1 {
  width: 480px;
  height: 480px;
  background: rgba(26, 107, 79, 0.22);
  top: -12%;
  right: -8%;
}

.hero__orb--2 {
  width: 360px;
  height: 360px;
  background: rgba(61, 148, 200, 0.18);
  bottom: 5%;
  left: -10%;
}

.hero__orb--3 {
  width: 220px;
  height: 220px;
  background: rgba(232, 168, 56, 0.14);
  top: 42%;
  right: 22%;
}

.hero__content {
  grid-template-columns: 1.05fr 0.95fr !important;
  gap: clamp(40px, 6vw, 88px) !important;
  align-items: center !important;
}

.hero__badge {
  padding: 10px 20px 10px 14px !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
  border-color: rgba(126, 200, 160, 0.35) !important;
  background: rgba(26, 107, 79, 0.18) !important;
  margin-bottom: 24px;
}

.hero__badge-dot {
  background: #5ad49a !important;
  box-shadow: 0 0 12px rgba(90, 212, 154, 0.7);
}

.hero__title {
  font-size: clamp(3.75rem, 9.5vw, 6.75rem) !important;
  line-height: 0.9 !important;
  margin-bottom: 12px !important;
}

.hero__title-line--accent {
  background: linear-gradient(120deg, #7ec8e8 0%, #9ee8c8 35%, #5ad49a 70%, #7ec8e8 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: heroTitleShimmer 10s ease-in-out infinite;
}

@keyframes heroTitleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__subtitle {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem) !important;
  color: rgba(245, 215, 138, 0.95) !important;
  margin-bottom: 14px !important;
}

.hero__author {
  font-size: 0.9375rem !important;
  margin-bottom: 18px !important;
}

.hero__tagline {
  font-size: 1.0625rem !important;
  line-height: 1.8 !important;
  max-width: 460px;
  margin-bottom: 32px !important;
  color: rgba(200, 225, 245, 0.78) !important;
}

.hero__actions {
  margin-bottom: 36px !important;
  gap: 12px !important;
}

.hero .btn--primary {
  background: linear-gradient(135deg, #c0392b 0%, #e8554a 50%, #d4922a 100%) !important;
  box-shadow: 0 8px 28px rgba(192, 57, 43, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  padding: 15px 30px !important;
}

.hero .btn--primary:hover {
  box-shadow: 0 14px 36px rgba(192, 57, 43, 0.5) !important;
  transform: translateY(-3px) !important;
}

.hero .btn--glass {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: var(--text-on-dark) !important;
  backdrop-filter: blur(16px);
}

.hero .btn--glass:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(126, 200, 160, 0.5) !important;
  transform: translateY(-2px) !important;
}

.hero__stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 !important;
  padding: 0 !important;
  border-radius: 16px !important;
  overflow: hidden;
  max-width: 420px;
}

.hero__stat {
  padding: 18px 16px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat:last-child {
  border-right: none;
}

.hero__stat-divider {
  display: none !important;
}

.hero__stat-num {
  font-size: 1.625rem !important;
  color: #7ec8a0 !important;
}

.hero__stat-label {
  font-size: 0.6875rem !important;
  letter-spacing: 0.08em;
}

.hero__book-scene {
  perspective: 1200px;
  animation: heroBookFloat 7s ease-in-out infinite;
}

@keyframes heroBookFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero__book-aura {
  position: absolute;
  width: min(420px, 85%);
  aspect-ratio: 0.72;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(126, 200, 160, 0.28) 0%, rgba(61, 148, 200, 0.14) 40%, transparent 72%);
  filter: blur(28px);
  z-index: 0;
  animation: auraPulse 5s ease-in-out infinite;
}

@keyframes auraPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.hero__book-wrap {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transition: transform 0.15s var(--ease-out);
}

.hero__book-img {
  max-width: min(100%, 460px) !important;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}

.hero__float-card {
  padding: 12px 16px !important;
  border-radius: 14px !important;
  animation: heroCardFloat 5s ease-in-out infinite;
  z-index: 2;
}

.hero__float-card--1 {
  top: 10% !important;
  left: 2% !important;
}

.hero__float-card--2 {
  bottom: 12% !important;
  right: 2% !important;
  animation-delay: -2.5s;
}

@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__float-card strong {
  font-size: 0.8125rem !important;
}

.hero__float-card small {
  font-size: 0.6875rem !important;
  opacity: 0.75;
}

.hero__skyline svg path:nth-child(1) {
  fill: rgba(26, 107, 79, 0.18) !important;
}

.hero__skyline svg path:nth-child(2) {
  fill: rgba(26, 107, 79, 0.1) !important;
}

.hero__scroll {
  z-index: 4;
  bottom: 28px;
}

.hero__scroll-mouse {
  border-color: rgba(126, 200, 160, 0.45);
}

.hero__scroll-wheel {
  background: #7ec8a0;
}

.hero__text .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero__text .reveal:nth-child(2) { transition-delay: 0.12s; }
.hero__text .reveal:nth-child(3) { transition-delay: 0.19s; }
.hero__text .reveal:nth-child(4) { transition-delay: 0.26s; }
.hero__text .reveal:nth-child(5) { transition-delay: 0.33s; }
.hero__text .reveal:nth-child(6) { transition-delay: 0.4s; }
.hero__text .reveal:nth-child(7) { transition-delay: 0.47s; }

@media (max-width: 900px) {
  .hero {
    padding: calc(var(--header-h) + 24px) 0 80px !important;
  }

  .hero__content {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    text-align: center;
  }

  .hero__tagline {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    margin-inline: auto;
    max-width: 100%;
  }

  .hero__book-scene {
    animation: none;
  }

  .hero__book-img {
    max-width: min(88vw, 360px) !important;
  }
}

@media (max-width: 480px) {
  .hero__stats {
    grid-template-columns: 1fr;
  }

  .hero__stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px;
  }

  .hero__stat:last-child {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title-line--accent,
  .hero__book-scene,
  .hero__book-aura,
  .hero__float-card {
    animation: none !important;
  }
}

/* ============================================
   V21   Open Storybook Hero
   ============================================ */

.hero--storybook {
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 130px !important;
}

.hero--storybook .hero__stage {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
}

.hero__spread {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  position: relative;
}

.hero__spread::before,
.hero__spread::after {
  content: '';
  position: absolute;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(232, 168, 56, 0.35);
  pointer-events: none;
  z-index: 2;
}

.hero__spread::before {
  top: 18px;
  left: 18px;
  border-right: none;
  border-bottom: none;
  border-radius: 12px 0 0 0;
}

.hero__spread::after {
  bottom: 18px;
  right: 18px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 12px 0;
}

.hero__page {
  position: relative;
  min-width: 0;
}

.hero__page--text {
  padding: clamp(32px, 4vw, 52px) clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
}

.hero__page--text::after {
  content: '';
  position: absolute;
  inset: 24px 0 24px auto;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  pointer-events: none;
}

.hero__page--visual {
  padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(26, 107, 79, 0.12) 0%, transparent 70%);
}

.hero__spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg,
    rgba(139, 105, 20, 0.5) 0%,
    rgba(196, 160, 53, 0.65) 50%,
    rgba(139, 105, 20, 0.5) 100%);
  box-shadow:
    inset 4px 0 12px rgba(0, 0, 0, 0.25),
    inset -4px 0 12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.hero__spine-ring {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.hero--storybook .hero__title {
  font-size: clamp(3.25rem, 7.5vw, 5.5rem) !important;
  margin-bottom: 4px !important;
}

.hero__title-line--small {
  display: block;
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(126, 200, 160, 0.9) !important;
  -webkit-text-fill-color: rgba(126, 200, 160, 0.9) !important;
  background: none !important;
  margin-bottom: 4px;
}

.hero--storybook .hero__subtitle {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem) !important;
  margin-bottom: 10px !important;
}

.hero--storybook .hero__author {
  margin-bottom: 16px !important;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__rating {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(232, 168, 56, 0.1);
  border: 1px solid rgba(232, 168, 56, 0.25);
  max-width: 100%;
}

.hero__stars {
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: #f5d78a;
  text-shadow: 0 0 12px rgba(245, 215, 138, 0.45);
  line-height: 1;
}

.hero__rating-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(245, 215, 138, 0.92);
  letter-spacing: 0.02em;
}

.hero--storybook .hero__tagline {
  margin-bottom: 28px !important;
  font-size: 1rem !important;
  max-width: 100%;
}

.hero--storybook .hero__actions {
  margin-bottom: 28px !important;
}

.hero--storybook .hero__stats {
  display: flex !important;
  grid-template-columns: unset !important;
  gap: 10px !important;
  max-width: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

.hero--storybook .hero__stat {
  flex: 1;
  min-width: 0;
  padding: 14px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(8px);
  text-align: center;
  transition: border-color 0.3s, background 0.3s;
}

.hero--storybook .hero__stat:hover {
  border-color: rgba(126, 200, 160, 0.35) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.hero--storybook .hero__stat-num {
  font-size: 1.375rem !important;
}

.hero--storybook .hero__stat--icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero--storybook .hero__stat-icon {
  width: 28px;
  height: 28px;
}

.hero--storybook .hero__book-scene {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.hero__stamp {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px double rgba(192, 57, 43, 0.55);
  color: rgba(245, 200, 200, 0.95);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(192, 57, 43, 0.15);
  transform: rotate(-12deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: heroStampPulse 4s ease-in-out infinite;
  z-index: 2;
}

.hero__stamp small {
  font-size: 0.625rem;
  font-weight: 600;
  opacity: 0.85;
}

.hero__stamp--1 {
  top: 8%;
  left: -4%;
  animation-delay: 0s;
}

.hero__stamp--2 {
  bottom: 10%;
  right: -2%;
  transform: rotate(14deg);
  animation-delay: -2s;
  border-color: rgba(232, 168, 56, 0.55);
  color: rgba(245, 215, 138, 0.95);
  background: rgba(232, 168, 56, 0.12);
}

@keyframes heroStampPulse {
  0%, 100% { transform: rotate(-12deg) scale(1); }
  50% { transform: rotate(-12deg) scale(1.05); }
}

.hero__stamp--2 {
  animation-name: heroStampPulse2;
}

@keyframes heroStampPulse2 {
  0%, 100% { transform: rotate(14deg) scale(1); }
  50% { transform: rotate(14deg) scale(1.05); }
}

.hero--storybook .hero__book-img {
  max-width: 100% !important;
}

.hero--storybook .hero__page--text .reveal:nth-child(1) { transition-delay: 0.06s; }
.hero--storybook .hero__page--text .reveal:nth-child(2) { transition-delay: 0.12s; }
.hero--storybook .hero__page--text .reveal:nth-child(3) { transition-delay: 0.18s; }
.hero--storybook .hero__page--text .reveal:nth-child(4) { transition-delay: 0.24s; }
.hero--storybook .hero__page--text .reveal:nth-child(5) { transition-delay: 0.3s; }
.hero--storybook .hero__page--text .reveal:nth-child(6) { transition-delay: 0.36s; }
.hero--storybook .hero__page--text .reveal:nth-child(7) { transition-delay: 0.42s; }
.hero--storybook .hero__page--text .reveal:nth-child(8) { transition-delay: 0.48s; }

@media (max-width: 900px) {
  .hero__spread {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .hero__spine {
    display: none;
  }

  .hero__page--text {
    order: 2;
    padding: 32px 24px 36px;
    text-align: center;
    align-items: center;
  }

  .hero__page--text::after {
    display: none;
  }

  .hero__page--visual {
    order: 1;
    padding: 36px 24px 20px;
  }

  .hero__rating {
    align-items: center;
  }

  .hero--storybook .hero__actions {
    justify-content: center;
    width: 100%;
  }

  .hero--storybook .hero__stats {
    flex-wrap: wrap;
    width: 100%;
  }

  .hero--storybook .hero__stat {
    flex: 1 1 calc(33% - 8px);
    min-width: 90px;
  }

  .hero__stamp--1 { left: 2%; }
  .hero__stamp--2 { right: 2%; }
}

@media (max-width: 520px) {
  .hero--storybook .hero__stat {
    flex: 1 1 100%;
  }

  .hero__stamp {
    width: 58px;
    height: 58px;
    font-size: 0.625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__stamp {
    animation: none !important;
  }
}

/* ============================================
   V22   Text-only card, book outside
   ============================================ */

.hero--storybook .hero__stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
}

.hero--storybook .hero__spread {
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-template-columns: unset;
  padding: clamp(32px, 4vw, 48px) clamp(28px, 4vw, 44px);
  height: 100%;
}

.hero--storybook .hero__spread::after {
  display: none;
}

.hero--storybook .hero__page--text::after {
  display: none;
}

.hero--storybook .hero__spine {
  display: none !important;
}

.hero--storybook .hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.hero--storybook .hero__book-scene {
  max-width: min(100%, 420px);
  margin-inline: auto;
}

.hero--storybook .hero__spread .reveal:nth-child(1) { transition-delay: 0.06s; }
.hero--storybook .hero__spread .reveal:nth-child(2) { transition-delay: 0.12s; }
.hero--storybook .hero__spread .reveal:nth-child(3) { transition-delay: 0.18s; }
.hero--storybook .hero__spread .reveal:nth-child(4) { transition-delay: 0.24s; }
.hero--storybook .hero__spread .reveal:nth-child(5) { transition-delay: 0.3s; }
.hero--storybook .hero__spread .reveal:nth-child(6) { transition-delay: 0.36s; }
.hero--storybook .hero__spread .reveal:nth-child(7) { transition-delay: 0.42s; }
.hero--storybook .hero__spread .reveal:nth-child(8) { transition-delay: 0.48s; }

@media (max-width: 900px) {
  .hero--storybook .hero__stage {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero--storybook .hero__visual {
    order: -1;
  }

  .hero--storybook .hero__spread {
    text-align: center;
    align-items: center;
  }

  .hero--storybook .hero__rating {
    align-items: center;
  }

  .hero--storybook .hero__actions {
    justify-content: center;
    width: 100%;
  }

  .hero--storybook .hero__stats {
    width: 100%;
  }
}

/* ============================================
   V23   Amazon buy button
   ============================================ */

.btn--amazon {
  background: linear-gradient(180deg, #ffd875 0%, #ff9900 45%, #e88b00 100%);
  color: #111 !important;
  border: 2px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 8px 24px rgba(255, 153, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-weight: 700;
}

.btn--amazon:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(255, 153, 0, 0.45);
  filter: brightness(1.03);
}

.btn--amazon svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.buy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ============================================
   V24   Larger hero book image
   ============================================ */

.hero--storybook .hero__book-scene {
  max-width: min(100%, 540px) !important;
}

.hero--storybook .hero__book-img {
  max-width: min(100%, 540px) !important;
  width: 100%;
}

.hero--storybook .hero__book-aura {
  width: min(480px, 95%);
}

@media (max-width: 900px) {
  .hero--storybook .hero__book-scene {
    max-width: min(92vw, 420px) !important;
  }

  .hero--storybook .hero__book-img {
    max-width: min(92vw, 420px) !important;
  }
}

/* ============================================
   V25   Hero stats: transparent shining glass
   ============================================ */

.hero--storybook .hero__stats {
  gap: 12px !important;
}

.hero--storybook .hero__stat {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 16px 14px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -8px 20px rgba(255, 255, 255, 0.03),
    0 10px 28px rgba(0, 0, 0, 0.18),
    0 0 24px rgba(126, 200, 160, 0.1) !important;
  transition:
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    background 0.35s var(--ease-out);
}

.hero--storybook .hero__stat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(126, 200, 160, 0.35) 35%,
    rgba(255, 255, 255, 0.08) 55%,
    rgba(126, 200, 232, 0.4) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.hero--storybook .hero__stat::after {
  content: '';
  position: absolute;
  top: -120%;
  left: -60%;
  width: 80%;
  height: 280%;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 58%
  );
  transform: rotate(8deg);
  animation: heroStatShine 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero--storybook .hero__stat:nth-child(2)::after {
  animation-delay: -1.6s;
}

.hero--storybook .hero__stat:nth-child(3)::after {
  animation-delay: -3.2s;
}

@keyframes heroStatShine {
  0%, 100% {
    transform: rotate(8deg) translateX(-40%);
    opacity: 0;
  }
  45%, 55% {
    transform: rotate(8deg) translateX(180%);
    opacity: 1;
  }
}

.hero--storybook .hero__stat > * {
  position: relative;
  z-index: 1;
}

.hero--storybook .hero__stat:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(126, 200, 160, 0.45) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -8px 20px rgba(255, 255, 255, 0.05),
    0 14px 36px rgba(0, 0, 0, 0.22),
    0 0 32px rgba(126, 200, 160, 0.22) !important;
}

.hero--storybook .hero__stat-num {
  font-size: 1.5rem !important;
  color: #9ee8c8 !important;
  text-shadow: 0 0 20px rgba(126, 200, 160, 0.45);
}

.hero--storybook .hero__stat-label {
  color: rgba(220, 235, 248, 0.82) !important;
  letter-spacing: 0.07em;
}

.hero--storybook .hero__stat-icon {
  filter: drop-shadow(0 0 10px rgba(126, 200, 160, 0.35));
}

@media (prefers-reduced-motion: reduce) {
  .hero--storybook .hero__stat::after {
    animation: none;
    opacity: 0;
  }
}

/* ============================================
   V26   Equal stat cards, no bg/border
   ============================================ */

.hero--storybook .hero__stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  align-items: stretch !important;
}

.hero--storybook .hero__stat {
  flex: unset !important;
  min-width: 0;
  min-height: 96px;
  height: 100%;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  padding: 14px 10px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero--storybook .hero__stat::before,
.hero--storybook .hero__stat::after {
  display: none !important;
}

.hero--storybook .hero__stat:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.hero--storybook .hero__stat-label {
  font-size: 0.6875rem !important;
  line-height: 1.35;
  max-width: 11ch;
  margin-inline: auto;
}

.hero--storybook .hero__stat--icon {
  gap: 6px !important;
}

@media (max-width: 520px) {
  .hero--storybook .hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .hero--storybook .hero__stat {
    min-height: 84px;
    padding: 10px 6px !important;
  }

  .hero--storybook .hero__stat-num {
    font-size: 1.25rem !important;
  }

  .hero--storybook .hero__stat-label {
    font-size: 0.625rem !important;
    max-width: none;
  }
}

/* ============================================
   V27   Hide section eyebrow tags
   ============================================ */

.section__eyebrow,
.characters__eyebrow,
.chapters__eyebrow,
.hunt__eyebrow,
.buy__label {
  display: none !important;
}

/* ============================================
   V28   Clean book mockup (no shade/crop)
   ============================================ */

.hero__book-aura {
  display: none !important;
}

.hero__book-scene,
.hero__book-wrap,
.hero__book-frame,
.hero--storybook .hero__visual {
  background: transparent !important;
  overflow: visible !important;
}

.hero__book-img,
.hero--storybook .hero__book-img,
.buy__book-img {
  filter: none !important;
  box-shadow: none !important;
  background: transparent !important;
  object-fit: contain !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  max-width: min(100%, 600px) !important;
  display: block;
}

.hero--storybook .hero__book-scene {
  max-width: min(100%, 600px) !important;
  width: 100%;
  margin-inline: auto;
}

.buy__book-img {
  max-width: min(100%, 320px) !important;
}

@media (max-width: 900px) {
  .hero__book-img,
  .hero--storybook .hero__book-img {
    max-width: min(94vw, 460px) !important;
  }

  .hero--storybook .hero__book-scene {
    max-width: min(94vw, 460px) !important;
  }
}

/* ============================================
   V29   Fix book bottom crop / jagged edge
   ============================================ */

.hero--storybook {
  padding-bottom: 160px !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

.hero--storybook .hero__visual {
  overflow: visible !important;
  padding-bottom: 24px;
}

.hero__book-frame {
  overflow: visible !important;
  line-height: 0;
}

.hero__book-img,
.hero--storybook .hero__book-img {
  clip-path: none !important;
  -webkit-clip-path: none !important;
  vertical-align: bottom;
}

/* ============================================
   V30   Bigger book, no circle stamps
   ============================================ */

.hero__stamp {
  display: none !important;
}

.hero--storybook .hero__stage {
  grid-template-columns: 0.92fr 1.08fr !important;
}

.hero__book-img,
.hero--storybook .hero__book-img {
  max-width: min(100%, 720px) !important;
}

.hero--storybook .hero__book-scene {
  max-width: min(100%, 720px) !important;
}

.buy__book-img {
  max-width: min(100%, 380px) !important;
}

@media (max-width: 900px) {
  .hero--storybook .hero__stage {
    grid-template-columns: 1fr !important;
  }

  .hero__book-img,
  .hero--storybook .hero__book-img {
    max-width: min(96vw, 520px) !important;
  }

  .hero--storybook .hero__book-scene {
    max-width: min(96vw, 520px) !important;
  }
}

/* ============================================
   V31   Tight book fit (no extra transparent space)
   ============================================ */

.hero--storybook .hero__visual {
  padding: 0 !important;
  margin: 0;
  line-height: 0;
}

.hero__book-scene {
  width: fit-content !important;
  max-width: 100% !important;
  margin-inline: auto;
  line-height: 0;
}

.hero__book-wrap,
.hero__book-frame {
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 auto;
  line-height: 0;
}

.hero__book-img,
.hero--storybook .hero__book-img {
  display: block;
  margin: 0;
  vertical-align: top;
}

/* ============================================
   V32   Desktop + mobile responsive
   ============================================ */

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
}

.container {
  width: min(1200px, calc(100% - 48px));
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
}

/* ---- Desktop (1024px+) ---- */
@media (min-width: 1024px) {
  .hero--storybook .hero__stage {
    grid-template-columns: 0.95fr 1.05fr !important;
    gap: clamp(40px, 5vw, 72px) !important;
    align-items: center;
  }

  .hero--storybook .hero__spread {
    max-width: 560px;
  }

  .hero__book-img,
  .hero--storybook .hero__book-img {
    max-width: min(100%, 680px) !important;
  }

  .hero--storybook .hero__book-scene {
    max-width: min(100%, 680px) !important;
  }
}

/* ---- Tablet (769px – 1023px) ---- */
@media (max-width: 1023px) and (min-width: 769px) {
  .hero--storybook .hero__stage {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .hero--storybook .hero__visual {
    order: -1;
  }

  .hero--storybook .hero__spread {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
    align-items: center;
  }

  .hero--storybook .hero__rating {
    align-items: center;
  }

  .hero--storybook .hero__actions {
    justify-content: center;
  }

  .hero__book-img,
  .hero--storybook .hero__book-img {
    max-width: min(100%, 480px) !important;
  }

  .hero--storybook .hero__book-scene {
    max-width: min(100%, 480px) !important;
  }

  #story .story__main {
    grid-template-columns: 1fr !important;
  }

  #story .story__pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .inspirations__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ---- Mobile (max 768px) ---- */
@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .container {
    width: min(1200px, calc(100% - 24px));
  }

  .section {
    padding: 72px 0 !important;
  }

  .section__header {
    margin-bottom: 48px;
  }

  .section__title {
    font-size: clamp(1.85rem, 8vw, 2.5rem) !important;
  }

  .section__desc {
    font-size: 0.9375rem;
  }

  /* Hero */
  .hero--storybook {
    padding: calc(var(--header-h) + 16px) 0 88px !important;
    min-height: auto !important;
  }

  .hero--storybook .hero__stage {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .hero--storybook .hero__visual {
    order: -1;
    width: 100%;
  }

  .hero--storybook .hero__spread {
    padding: 24px 20px !important;
    border-radius: 18px !important;
    text-align: center;
    align-items: center;
  }

  .hero--storybook .hero__title {
    font-size: clamp(2.35rem, 11vw, 3.25rem) !important;
  }

  .hero--storybook .hero__subtitle {
    font-size: clamp(1.1rem, 4.5vw, 1.45rem) !important;
  }

  .hero--storybook .hero__tagline {
    font-size: 0.9375rem !important;
    max-width: 100%;
  }

  .hero--storybook .hero__rating {
    align-items: center;
    width: 100%;
  }

  .hero--storybook .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 10px !important;
  }

  .hero--storybook .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero--storybook .hero__stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100%;
  }

  .hero--storybook .hero__stat {
    padding: 12px 6px !important;
    min-height: 0;
  }

  .hero--storybook .hero__stat-num {
    font-size: 1.125rem !important;
  }

  .hero--storybook .hero__stat-label {
    font-size: 0.5625rem !important;
    letter-spacing: 0.05em;
  }

  .hero__book-img,
  .hero--storybook .hero__book-img {
    max-height: none !important;
    max-width: min(100%, 380px) !important;
    width: 100% !important;
    margin-inline: auto;
  }

  .hero--storybook .hero__book-scene,
  .hero__book-scene {
    width: 100% !important;
    max-width: min(100%, 380px) !important;
    margin-inline: auto;
  }

  .hero__book-wrap,
  .hero__book-frame {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero__scroll {
    display: none;
  }

  /* Mobile nav   dark theme */
  .nav__menu {
    background: rgba(6, 31, 51, 0.97) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav__menu .nav__link {
    color: var(--text-on-dark) !important;
  }

  .nav__menu .nav__link--cta {
    background: var(--glass-surface) !important;
    border: 1px solid var(--glass-border) !important;
  }

  /* Story */
  #story .story__main {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  #story .story__card {
    padding: 22px 20px !important;
  }

  #story .story__pillars {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Inspirations   2×3 grid on mobile */
  .inspirations__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .inspirations__scroll-hint {
    font-size: 0.8125rem;
  }

  /* Characters carousel */
  #characters .container {
    width: min(860px, calc(100% - 20px));
  }

  #characters .char-slide__card {
    padding: 28px 22px !important;
  }

  /* Chapters */
  #chapters .chapters__grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  #chapters .ch-card__body {
    min-height: auto !important;
    padding: 22px 20px !important;
  }

  /* Quote banner */
  .quote-banner--kindness {
    padding: 56px 20px !important;
  }

  .quote-banner--kindness .quote-banner__text {
    font-size: clamp(1.1rem, 4.5vw, 1.35rem) !important;
  }

  /* Hunt */
  .hunt__inner {
    padding: 36px 24px !important;
  }

  .hunt__title {
    font-size: clamp(1.75rem, 7vw, 2.25rem) !important;
  }

  /* Author */
  .author__layout {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .author__content .section__title {
    text-align: center;
  }

  /* Buy */
  .buy__card {
    grid-template-columns: 1fr !important;
    padding: 32px 22px !important;
    text-align: center;
  }

  .buy__actions {
    flex-direction: column;
    width: 100%;
  }

  .buy__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .buy__book-img {
    max-width: min(100%, 260px) !important;
    margin-inline: auto;
  }

  .buy__features {
    text-align: left;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__links {
    align-items: center;
  }
}

/* ---- Small phones (max 480px) ---- */
@media (max-width: 480px) {
  .container {
    width: min(1200px, calc(100% - 20px));
  }

  .section {
    padding: 60px 0 !important;
  }

  .hero--storybook .hero__spread {
    padding: 20px 16px !important;
  }

  .hero__book-img,
  .hero--storybook .hero__book-img {
    max-width: min(100%, 320px) !important;
  }

  .hero--storybook .hero__book-scene {
    max-width: min(100%, 320px) !important;
  }

  .quotes__grid {
    grid-template-columns: 1fr !important;
  }

  .quote-card {
    padding: 24px 20px !important;
  }
}

/* ============================================
   V33   Compact professional mobile menu
   ============================================ */

.nav__menu-head {
  display: none;
}

@media (max-width: 768px) {
  .nav__toggle {
    width: 40px;
    height: 40px;
    padding: 9px;
    gap: 5px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .nav__toggle span {
    width: 18px;
    background: var(--text-on-dark);
  }

  .nav__toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-overlay {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .nav__menu {
    top: calc(var(--header-h) + 8px) !important;
    right: 12px !important;
    left: auto !important;
    width: min(260px, calc(100vw - 24px)) !important;
    height: auto !important;
    max-height: calc(100dvh - var(--header-h) - 20px) !important;
    padding: 0 !important;
    margin: 0;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    background: rgba(8, 28, 48, 0.96) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    box-shadow:
      0 16px 48px rgba(0, 0, 0, 0.45),
      inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(-8px) scale(0.96) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.32s var(--ease-out),
      opacity 0.32s var(--ease-out),
      visibility 0.32s var(--ease-out) !important;
  }

  .nav__menu.active {
    transform: translateY(0) scale(1) !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__menu-head {
    display: block;
    padding: 14px 16px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
  }

  .nav__menu-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(126, 200, 160, 0.85);
  }

  .nav__menu-sub {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-on-dark);
    margin-top: 2px;
    line-height: 1.3;
  }

  .nav__menu > li:not(.nav__menu-head) {
    width: 100%;
  }

  .nav__menu .nav__link {
    display: block;
    width: 100%;
    padding: 11px 16px !important;
    font-size: 0.8125rem !important;
    font-weight: 500;
    color: rgba(220, 235, 248, 0.88) !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
  }

  .nav__menu .nav__link:hover,
  .nav__menu .nav__link--active {
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--text-on-dark) !important;
  }

  .nav__menu > li:last-child {
    padding: 10px 12px 12px;
  }

  .nav__menu > li:last-child .nav__link {
    border-bottom: none !important;
    border-radius: 10px !important;
    text-align: center;
    padding: 11px 14px !important;
    font-size: 0.8125rem !important;
    font-weight: 600;
    background: rgba(26, 107, 79, 0.35) !important;
    border: 1px solid rgba(126, 200, 160, 0.35) !important;
    color: var(--text-on-dark) !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  .nav__menu > li:last-child .nav__link:hover {
    background: rgba(26, 107, 79, 0.5) !important;
    border-color: rgba(126, 200, 160, 0.5) !important;
  }
}

/* ============================================
   V34   Mobile hero: card first, book below
   ============================================ */

@media (max-width: 768px) {
  .hero--storybook .hero__stage {
    display: flex !important;
    flex-direction: column !important;
  }

  .hero--storybook .hero__spread {
    order: 1 !important;
  }

  .hero--storybook .hero__visual {
    order: 2 !important;
  }
}

/* ============================================
   V35   Mobile menu click fix
   ============================================ */

@media (max-width: 768px) {
  .header {
    z-index: 1100;
  }

  .header__inner {
    position: relative;
    z-index: 1101;
  }

  .nav__toggle {
    position: relative;
    z-index: 1103 !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .nav__menu {
    z-index: 1102 !important;
    display: flex !important;
  }

  .nav__menu:not(.active) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav__menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }
}

/* ============================================
   V36   Mobile solid header (opaque on scroll)
   Desktop unchanged
   ============================================ */

@media (max-width: 768px) {
  .header {
    padding: 0 !important;
    background: #061f33 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }

  .header--scrolled {
    padding: 0 !important;
  }

  .header__inner,
  .header--scrolled .header__inner {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 12px 0 !important;
  }
}

/* ============================================
   V37   Mobile menu toggle click fix
   ============================================ */

@media (max-width: 768px) {
  .header {
    z-index: 10050 !important;
    isolation: isolate;
  }

  .nav-overlay {
    z-index: 10040 !important;
  }

  .nav-overlay:not(.active) {
    pointer-events: none !important;
  }

  .nav {
    position: relative;
    z-index: 2;
  }

  .nav__toggle {
    position: relative;
    z-index: 10 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .nav__menu:not(.active) {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .nav__menu.active {
    display: flex !important;
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10045 !important;
  }
}

/* ============================================
   V38   Mobile hero stats match desktop (3-col)
   ============================================ */

@media (max-width: 480px) {
  .hero--storybook .hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .hero--storybook .hero__stat {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 2px !important;
    padding: 10px 6px !important;
    min-height: 84px;
  }

  .hero--storybook .hero__stat--icon {
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .hero--storybook .hero__stat-label {
    max-width: 11ch;
    margin-inline: auto;
  }
}

/* ============================================
   V39   Professional footer upgrade
   ============================================ */

.footer {
  padding: 80px 0 36px !important;
}

.footer__grid {
  grid-template-columns: 1.35fr 0.85fr 0.95fr 1.05fr !important;
  gap: 40px 32px !important;
  margin-bottom: 48px !important;
}

.footer__logo {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px !important;
}

.footer__logo-mark {
  width: 36px;
  height: 36px;
  color: #7ec8a0;
  flex-shrink: 0;
}

.footer__logo-mark svg {
  width: 100%;
  height: 100%;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
}

.footer__tagline {
  font-size: 0.9375rem !important;
  margin-bottom: 14px !important;
  color: rgba(126, 200, 160, 0.85) !important;
}

.footer__desc {
  font-size: 0.875rem !important;
  line-height: 1.7 !important;
  max-width: 340px;
  color: rgba(220, 235, 248, 0.72) !important;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}

.footer__meta li {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(220, 235, 248, 0.88);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 200, 160, 0.28);
  background: rgba(126, 200, 160, 0.08);
}

.footer__cta {
  display: inline-flex !important;
  padding: 11px 22px !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
}

.footer__col-title,
.footer__col h4 {
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(126, 200, 160, 0.9) !important;
  margin-bottom: 18px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__links {
  gap: 10px !important;
}

.footer__links a {
  font-size: 0.875rem !important;
  color: rgba(220, 235, 248, 0.78) !important;
}

.footer__links a:hover {
  color: var(--white) !important;
  transform: translateX(3px);
}

.footer__details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__details li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__details span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(220, 235, 248, 0.45);
}

.footer__details strong {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

.footer__contact {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(220, 235, 248, 0.82);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
  word-break: break-word;
}

.footer__contact a svg {
  flex-shrink: 0;
  opacity: 0.75;
}

.footer__contact a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer__location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(220, 235, 248, 0.5);
  margin: 0;
  max-width: 260px;
}

.footer__location svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.65;
}

.footer__bottom {
  padding-top: 28px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(220, 235, 248, 0.55);
}

.footer__made {
  margin: 0;
  font-size: 0.8125rem !important;
  color: rgba(220, 235, 248, 0.45) !important;
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 36px 28px !important;
  }

  .footer__brand {
    grid-column: 1 / -1;
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 64px 0 32px !important;
  }

  .footer__grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    text-align: left !important;
  }

  .footer__brand {
    max-width: none;
  }

  .footer__desc {
    max-width: none;
  }

  .footer__links {
    align-items: flex-start !important;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* ============================================
   V40   Footer policies + legal pages
   ============================================ */

.footer__grid {
  grid-template-columns: 1.5fr 0.85fr 1.05fr !important;
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

.legal-page {
  padding: calc(var(--header-h) + 48px) 0 80px;
  min-height: 60vh;
}

.legal-page__inner {
  max-width: 720px;
}

.legal-page__back {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(126, 200, 160, 0.9);
  margin-bottom: 24px;
  transition: color 0.25s var(--ease);
}

.legal-page__back:hover {
  color: #7ec8a0;
}

.legal-page__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 8px;
  line-height: 1.15;
}

.legal-page__updated {
  font-size: 0.8125rem;
  color: rgba(220, 235, 248, 0.5);
  margin-bottom: 32px;
}

.legal-page__content {
  color: rgba(220, 235, 248, 0.82);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.legal-page__content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin: 32px 0 12px;
}

.legal-page__content p {
  margin-bottom: 16px;
}

.legal-page__content ul {
  margin: 0 0 16px 1.25rem;
  padding: 0;
}

.legal-page__content li {
  margin-bottom: 8px;
}

.legal-page__content a {
  color: #7ec8a0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page__content a:hover {
  color: #9dddb8;
}

.footer__bottom--solo {
  border-top: none !important;
  padding-top: 0 !important;
  margin: 0;
}

.footer__legal-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__legal-inline a {
  font-size: 0.8125rem;
  color: rgba(220, 235, 248, 0.55);
  transition: color 0.25s var(--ease);
}

.footer__legal-inline a:hover {
  color: var(--white);
}

/* ============================================
   V41   Compact buy card
   ============================================ */

.buy__card {
  gap: 36px !important;
  padding: 32px 40px !important;
  align-items: center !important;
}

.buy__book-img {
  max-height: 240px !important;
  max-width: 220px !important;
  width: auto !important;
}

.buy__content h2 {
  font-size: clamp(1.5rem, 2.8vw, 1.875rem) !important;
  margin-bottom: 8px !important;
  line-height: 1.2 !important;
}

.buy__content > p {
  font-size: 0.875rem !important;
  line-height: 1.55 !important;
  margin-bottom: 16px !important;
  max-width: 400px;
}

.buy__features {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 4px 16px !important;
  margin-bottom: 18px !important;
}

.buy__features li {
  padding: 3px 0 !important;
  margin: 0 !important;
  font-size: 0.8125rem !important;
  gap: 7px !important;
  border-bottom: none !important;
}

.buy__feature--wide {
  grid-column: 1 / -1;
}

.buy__features svg {
  width: 14px !important;
  height: 14px !important;
}

.buy__actions {
  margin-bottom: 12px !important;
  gap: 10px !important;
}

.buy__email {
  font-size: 0.8125rem !important;
  gap: 8px;
}

@media (max-width: 900px) {
  .buy__card {
    gap: 24px !important;
    padding: 28px 24px !important;
  }

  .buy__book-img {
    max-height: 200px !important;
    max-width: 180px !important;
  }

  .buy__content > p {
    margin-inline: auto;
  }

  .buy__features {
    grid-template-columns: 1fr !important;
    max-width: 320px;
    margin-inline: auto;
  }

  .buy__feature--wide {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .buy__card {
    padding: 24px 20px !important;
  }
}

/* ============================================
   V42   Balanced buy card (full view)
   ============================================ */

.buy .container {
  max-width: 960px;
}

.buy__card {
  grid-template-columns: minmax(160px, 0.82fr) minmax(0, 1.18fr) !important;
  gap: 28px 36px !important;
  padding: 28px 32px !important;
  align-items: center !important;
}

.buy__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.buy__book-stack {
  line-height: 0;
}

.buy__book-img {
  max-height: 280px !important;
  max-width: min(260px, 100%) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.buy__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-width: 0;
  width: 100%;
}

.buy__content h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.75rem) !important;
  margin-bottom: 6px !important;
}

.buy__content > p {
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  margin-bottom: 14px !important;
  max-width: none !important;
}

.buy__features {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 2px 12px !important;
  margin-bottom: 16px !important;
  width: 100%;
}

.buy__features li {
  padding: 2px 0 !important;
  font-size: 0.8125rem !important;
  white-space: nowrap;
}

.buy__feature--wide {
  grid-column: auto !important;
}

.buy__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  width: 100%;
}

.buy__actions {
  margin-bottom: 0 !important;
  flex-wrap: nowrap;
}

.buy__actions .btn {
  padding: 11px 18px !important;
  font-size: 0.8125rem !important;
  white-space: nowrap;
}

.buy__email {
  font-size: 0.75rem !important;
  margin-left: auto;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .buy__card {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 24px 20px !important;
    text-align: center;
  }

  .buy__book-img {
    max-height: 220px !important;
    max-width: 200px !important;
    margin-inline: auto;
  }

  .buy__content > p {
    margin-inline: auto;
    max-width: 360px !important;
  }

  .buy__features {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 340px;
    margin-inline: auto;
    text-align: left;
  }

  .buy__bottom {
    flex-direction: column;
    align-items: center;
  }

  .buy__actions {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .buy__email {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .buy__features {
    grid-template-columns: 1fr !important;
    max-width: 260px;
  }

  .buy__features li {
    white-space: normal;
  }

  .buy__actions {
    flex-direction: column;
  }

  .buy__actions .btn {
    width: 100%;
  }
}

/* ============================================
   V43   Full-width marquee strip
   ============================================ */

.marquee {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 16px 0 !important;
  overflow: hidden !important;
}

.marquee__track {
  display: flex !important;
  width: max-content !important;
  animation: marquee 32s linear infinite !important;
  will-change: transform;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.marquee__track span {
  flex-shrink: 0;
  padding-right: 48px !important;
  white-space: nowrap !important;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none !important;
    width: 100% !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
  }

  .marquee__group:last-child {
    display: none;
  }
}

/* ============================================
   V34   Bigger hero book + gentle float
   ============================================ */

.hero__book-scene,
.hero--storybook .hero__book-scene {
  animation: heroBookFloat 5s ease-in-out infinite;
  will-change: transform;
}

@keyframes heroBookFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

@media (min-width: 1024px) {
  .hero__book-img,
  .hero--storybook .hero__book-img {
    max-width: min(100%, 760px) !important;
  }

  .hero--storybook .hero__book-scene {
    max-width: min(100%, 760px) !important;
  }
}

@media (max-width: 1023px) and (min-width: 769px) {
  .hero__book-img,
  .hero--storybook .hero__book-img {
    max-width: min(100%, 540px) !important;
  }

  .hero--storybook .hero__book-scene {
    max-width: min(100%, 540px) !important;
  }
}

@media (max-width: 768px) {
  .hero__book-img,
  .hero--storybook .hero__book-img {
    max-width: min(100%, 420px) !important;
  }

  .hero--storybook .hero__book-scene,
  .hero__book-scene {
    max-width: min(100%, 420px) !important;
  }
}

@media (max-width: 480px) {
  .hero__book-img,
  .hero--storybook .hero__book-img {
    max-width: min(100%, 360px) !important;
  }

  .hero--storybook .hero__book-scene {
    max-width: min(100%, 360px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__book-scene,
  .hero--storybook .hero__book-scene {
    animation: none !important;
    will-change: auto;
  }
}

/* ============================================
   V44   Mobile responsive polish
   Desktop unchanged (max-width queries only)
   ============================================ */

@keyframes heroBookFloatMobile {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 768px) {
  body {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .section--compact {
    padding: 48px 0 !important;
  }

  .section__header {
    margin-bottom: 36px !important;
    padding-inline: 4px;
  }

  .section__desc {
    font-size: 0.9375rem !important;
    line-height: 1.65 !important;
  }

  /* Hero */
  .hero--storybook {
    padding-bottom: 72px !important;
  }

  .hero--storybook .hero__badge {
    font-size: 0.6875rem;
    line-height: 1.4;
    padding: 7px 12px;
  }

  .hero--storybook .hero__spread {
    gap: 14px;
  }

  .hero--storybook .hero__author {
    font-size: 0.875rem;
  }

  .hero--storybook .hero__rating-text {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .hero--storybook .hero__stat {
    border-radius: 10px;
  }

  .hero--storybook .hero__stat-num {
    font-size: 1.25rem !important;
  }

  .hero--storybook .hero__stat-label {
    font-size: 0.625rem !important;
    line-height: 1.35 !important;
    letter-spacing: 0.04em !important;
  }

  .hero__book-scene,
  .hero--storybook .hero__book-scene {
    animation: heroBookFloatMobile 5s ease-in-out infinite !important;
  }

  /* Quotes   all 3 cards visible side by side */
  .quotes .container {
    overflow: visible;
    width: min(1200px, calc(100% - 20px));
  }

  .quotes__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
    scroll-snap-type: none;
  }

  .quote-card {
    flex: unset;
    scroll-snap-align: unset;
    padding: 14px 10px !important;
    min-width: 0;
    border-radius: 14px !important;
  }

  .quote-card::before {
    font-size: 1.75rem;
    top: 4px;
    left: 8px;
  }

  .quote-card--featured {
    order: 0 !important;
  }

  .quote-card:hover,
  .quote-card--featured:hover {
    transform: none !important;
  }

  .quote-card p {
    font-size: 0.6875rem !important;
    line-height: 1.45 !important;
  }

  .quote-card--featured p {
    font-size: 0.75rem !important;
  }

  /* Story */
  #story .story__card {
    padding: 24px 20px !important;
    border-radius: 18px !important;
  }

  #story .story__card p {
    font-size: 0.9375rem;
    line-height: 1.75;
  }

  #story .story__pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  #story .pillar-card {
    min-height: auto !important;
    padding: 18px 14px 16px !important;
    border-radius: 16px !important;
  }

  #story .pillar-card:hover {
    transform: none !important;
  }

  #story .pillar-card h3,
  #story .pillar-card__body h3 {
    font-size: 0.9375rem !important;
    margin-bottom: 6px;
  }

  #story .pillar-card p,
  #story .pillar-card__body p {
    font-size: 0.75rem !important;
    line-height: 1.55 !important;
  }

  /* Quote banner */
  .quote-banner--kindness {
    padding: 48px 20px !important;
  }

  .quote-banner--kindness .quote-banner__mark {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
  }

  .quote-banner--kindness .quote-banner__text {
    line-height: 1.55 !important;
  }

  /* Inspirations */
  .inspirations__scroll-hint {
    margin-bottom: 18px;
  }

  .inspirations__scroll-hint span {
    font-size: 0;
    line-height: 0;
  }

  .inspirations__scroll-hint span::before {
    content: "Tap cards to read each real farm tale";
    font-size: 0.8125rem;
    line-height: 1.45;
    color: inherit;
  }

  #inspirations .glass-card__content {
    padding: 14px 12px 12px;
  }

  #inspirations .glass-card__content h3 {
    font-size: 0.8125rem !important;
    margin-bottom: 4px;
  }

  #inspirations .glass-card__content p {
    font-size: 0.6875rem !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 3;
  }

  #inspirations .glass-card.is-active .glass-card__disc {
    transform: scale(0.7) translateY(-16px) !important;
  }

  /* Characters */
  #characters {
    padding: 64px 0 !important;
  }

  #characters .characters__header {
    margin-bottom: 32px !important;
    padding-inline: 4px;
  }

  #characters .characters__title {
    font-size: clamp(1.85rem, 8vw, 2.35rem) !important;
    margin-bottom: 12px !important;
  }

  #characters .characters__desc {
    font-size: 0.9375rem !important;
    line-height: 1.65 !important;
  }

  #characters .char-slide__card {
    border-radius: 18px !important;
  }

  #characters .char-slide__quote p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }

  #characters .char-carousel__arrow {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
  }

  #characters .char-carousel__dot {
    width: 8px;
    height: 8px;
  }

  /* Chapters */
  #chapters {
    padding: 64px 0 !important;
  }

  #chapters .ch-card__body {
    border-radius: 18px !important;
  }

  #chapters .ch-card__body h3 {
    font-size: 1.0625rem !important;
  }

  #chapters .ch-card__body p {
    font-size: 0.875rem !important;
    line-height: 1.65 !important;
  }

  /* Hunt */
  .hunt__inner {
    border-radius: 18px !important;
  }

  #hunt .hunt__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  /* Author */
  .author__portrait {
    max-width: 280px;
    margin-inline: auto;
  }

  .author__content p {
    font-size: 0.9375rem;
    line-height: 1.75;
  }

  /* Buy */
  .buy__card {
    border-radius: 20px !important;
  }

  .buy__content h2 {
    font-size: clamp(1.65rem, 7vw, 2rem) !important;
  }

  /* Touch targets */
  .btn {
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
  }

  .back-top {
    bottom: max(20px, env(safe-area-inset-bottom, 20px)) !important;
    right: max(16px, env(safe-area-inset-right, 16px)) !important;
    width: 44px;
    height: 44px;
  }

  /* Marquee */
  .marquee {
    padding: 11px 0 !important;
  }

  .marquee__track span {
    font-size: 0.8125rem !important;
    padding-right: 28px !important;
    letter-spacing: 0.02em;
  }

  /* Footer safe area */
  .footer {
    padding-bottom: max(32px, env(safe-area-inset-bottom, 32px)) !important;
  }

  .nav__logo-text {
    font-size: 0.9375rem;
  }
}

@media (max-width: 480px) {
  .hero--storybook .hero__title {
    font-size: clamp(2.1rem, 10vw, 2.75rem) !important;
  }

  .hero--storybook .hero__stats {
    gap: 6px !important;
  }

  .hero--storybook .hero__stat {
    padding: 10px 4px !important;
  }

  #story .story__pillars {
    gap: 10px !important;
  }

  #story .pillar-card {
    padding: 14px 12px !important;
  }

  .quotes__grid {
    gap: 6px !important;
  }

  .quote-card {
    padding: 12px 8px !important;
    border-radius: 12px !important;
  }

  .quote-card::before {
    font-size: 1.25rem;
    top: 2px;
    left: 6px;
  }

  .quote-card p {
    font-size: 0.625rem !important;
    line-height: 1.4 !important;
  }

  .quote-card--featured p {
    font-size: 0.6875rem !important;
  }

  #inspirations .glass-card__disc {
    width: 52px !important;
    height: 52px !important;
  }

  #characters .char-slide__card {
    padding: 26px 18px !important;
  }
}

/* ============================================
   V45   Bigger buy section book on mobile
   Desktop unchanged
   ============================================ */

@media (max-width: 768px) {
  .buy__book-img {
    max-height: 300px !important;
    max-width: min(100%, 300px) !important;
    width: auto !important;
    margin-inline: auto;
  }
}

@media (max-width: 480px) {
  .buy__book-img {
    max-height: 280px !important;
    max-width: min(100%, 280px) !important;
  }
}

/* ============================================
   V46   Hero buttons side by side on mobile
   Desktop unchanged
   ============================================ */

@media (max-width: 768px) {
  .hero--storybook .hero__actions {
    flex-direction: row !important;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 8px !important;
    width: 100%;
  }

  .hero--storybook .hero__actions .btn {
    width: auto !important;
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 10px !important;
    font-size: 0.8125rem !important;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .hero--storybook .hero__actions .btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .hero--storybook .hero__actions {
    gap: 6px !important;
  }

  .hero--storybook .hero__actions .btn {
    padding: 11px 8px !important;
    font-size: 0.75rem !important;
    gap: 6px;
  }

  .hero--storybook .hero__actions .btn svg {
    width: 14px;
    height: 14px;
  }
}

/* ============================================
   V47   Buy buttons side by side on mobile
   Desktop unchanged
   ============================================ */

@media (max-width: 768px) {
  .buy__actions {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: stretch;
    gap: 8px !important;
    width: 100%;
  }

  .buy__actions .btn {
    width: auto !important;
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 10px !important;
    font-size: 0.8125rem !important;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .buy__actions .btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .buy__actions {
    gap: 6px !important;
  }

  .buy__actions .btn {
    padding: 11px 8px !important;
    font-size: 0.75rem !important;
    gap: 6px;
  }

  .buy__actions .btn svg {
    width: 14px;
    height: 14px;
  }
}

/* ============================================
   V48   One font + aligned readable text
   ============================================ */

html {
  font-family: var(--font-body);
}

body,
button,
input,
textarea,
select,
h1, h2, h3, h4, h5, h6,
p,
li,
blockquote,
cite,
.section__title,
.section__desc,
.characters__title,
.characters__desc,
.chapters__title,
.chapters__desc,
.hero__title,
.hero__subtitle,
.hero__tagline,
.hero__author,
.hero__rating-text,
.hero__stat-label,
.hero__stat-num,
.quote-card p,
.quote-banner__text,
.quote-banner__cite,
.story__card,
.story__card p,
.story__card-title,
.story__lead,
.pillar-card h3,
.pillar-card p,
.pillar-card__body h3,
.pillar-card__body p,
.glass-card__content h3,
.glass-card__content p,
.char-slide__quote p,
.char-slide__meta strong,
.char-slide__meta span,
.ch-card__body h3,
.ch-card__body p,
.hunt__title,
.hunt__desc,
.author__content p,
.author__quote,
.buy__content h2,
.buy__content p,
.buy__features li,
.footer__desc,
.footer__tagline,
.nav__link,
.btn,
.marquee__track span {
  font-family: var(--font-body) !important;
}

.quote-card p,
.quote-banner__text,
.author__quote em,
.story__lead {
  font-style: normal;
}

.section__header,
.characters__header,
.chapters__header,
.quote-banner__inner,
.hero--storybook .hero__spread,
.buy__card,
.hunt__inner {
  text-align: center;
}

.section__desc,
.characters__desc,
.chapters__desc {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.story__card,
.story__card p,
.story__card-title,
.story__lead,
#story .pillar-card,
#story .pillar-card__body,
.ch-card__body,
.ch-card__body h3,
.ch-card__body p,
.char-slide__quote,
.char-slide__quote p,
.author__content,
.author__content p,
.buy__content > p,
.buy__features,
.footer__brand,
.footer__links,
.footer__bottom {
  text-align: left;
}

.quote-card p {
  text-align: left;
}

#characters .char-slide__profile {
  text-align: left;
}

@media (min-width: 769px) {
  .author__content .section__title {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .author__content .section__title {
    text-align: center;
  }

  .buy__content,
  .buy__content > p,
  .buy__features {
    text-align: center;
  }

  .buy__features {
    justify-items: start;
    margin-inline: auto;
  }

  #story .pillar-card,
  #story .pillar-card__body {
    text-align: center;
  }

  .inspirations__scroll-hint span::before {
    content: "Tap a card to read the story behind it";
    font-size: 0.8125rem;
    line-height: 1.45;
    color: inherit;
  }
}

/* ============================================
   V49   Hero grandma farm background photo
   ============================================ */

.hero__bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.08);
  filter: saturate(1.08);
}

.hero--storybook .hero__mesh {
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(5, 21, 37, 0.84) 0%,
      rgba(5, 21, 37, 0.68) 38%,
      rgba(6, 31, 51, 0.82) 72%,
      rgba(6, 31, 51, 0.92) 100%
    ),
    radial-gradient(ellipse 70% 55% at 12% 8%, rgba(26, 107, 79, 0.32) 0%, transparent 58%),
    radial-gradient(ellipse 65% 50% at 88% 12%, rgba(61, 148, 200, 0.26) 0%, transparent 52%),
    linear-gradient(165deg, rgba(5, 21, 37, 0.45) 0%, rgba(10, 46, 74, 0.55) 50%, rgba(6, 31, 51, 0.7) 100%) !important;
}

.hero__grain,
.hero__particles,
.hero__orb {
  z-index: 2;
}

.hero--storybook .hero__stage {
  position: relative;
  z-index: 3;
}

.hero__skyline {
  z-index: 2;
}

@media (max-width: 768px) {
  .hero__bg-photo img {
    object-position: center 38%;
    transform: scale(1.12);
  }

  .hero--storybook .hero__mesh {
    background:
      linear-gradient(
        180deg,
        rgba(5, 21, 37, 0.88) 0%,
        rgba(5, 21, 37, 0.74) 45%,
        rgba(6, 31, 51, 0.9) 100%
      ),
      radial-gradient(ellipse 80% 60% at 50% 20%, rgba(26, 107, 79, 0.22) 0%, transparent 55%),
      linear-gradient(165deg, rgba(5, 21, 37, 0.5) 0%, rgba(6, 31, 51, 0.78) 100%) !important;
  }
}

/* ============================================
   V50   Premium professional hero polish
   ============================================ */

.hero--storybook .hero__particles {
  opacity: 0.3;
}

.hero--storybook .hero__orb {
  opacity: 0.4;
  filter: blur(80px);
}

.hero--storybook .hero__grain {
  opacity: 0.1;
}

.hero--storybook .hero__skyline {
  opacity: 0.3;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 75% at 50% 42%, transparent 25%, rgba(5, 15, 28, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 15, 28, 0.4) 0%, transparent 22%, transparent 68%, rgba(5, 15, 28, 0.7) 100%);
}

.hero__bg-photo img {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.04);
}

.hero--storybook .hero__mesh {
  background:
    linear-gradient(
      105deg,
      rgba(5, 21, 37, 0.9) 0%,
      rgba(5, 21, 37, 0.52) 40%,
      rgba(6, 31, 51, 0.68) 100%
    ),
    radial-gradient(ellipse 55% 45% at 75% 48%, rgba(10, 46, 74, 0.35) 0%, transparent 68%) !important;
}

.hero--storybook {
  padding: calc(var(--header-h) + 48px) 0 96px !important;
  min-height: min(100svh, 920px) !important;
}

.hero--storybook .hero__stage {
  gap: clamp(28px, 4.5vw, 56px) !important;
  align-items: center !important;
}

.hero--storybook .hero__spread {
  position: relative;
  padding: clamp(32px, 4vw, 48px) clamp(28px, 3.5vw, 44px) !important;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.04) 45%,
    rgba(255, 255, 255, 0.07) 100%
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: 20px !important;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 20px 40px rgba(0, 0, 0, 0.24),
    0 40px 80px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(36px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(36px) saturate(1.2) !important;
}

.hero--storybook .hero__spread::before {
  display: none !important;
}

.hero--storybook .hero__spread::after {
  display: block !important;
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  width: auto;
  height: 1px;
  border: none;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  pointer-events: none;
}

.hero--storybook .hero__badge {
  padding: 6px 14px 6px 10px !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.13em !important;
  margin-bottom: 18px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: rgba(220, 238, 250, 0.9) !important;
  box-shadow: none !important;
}

.hero--storybook .hero__badge-dot {
  width: 6px;
  height: 6px;
  animation: none;
  box-shadow: 0 0 8px rgba(90, 212, 154, 0.55);
}

.hero--storybook .hero__title {
  font-size: clamp(2.65rem, 6vw, 4.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 6px !important;
}

.hero--storybook .hero__title-line--small {
  font-size: 0.36em !important;
  letter-spacing: 0.2em !important;
  margin-bottom: 6px !important;
  font-weight: 600 !important;
}

.hero--storybook .hero__title-line--accent {
  animation: none !important;
  background: linear-gradient(135deg, #ffffff 0%, #c8eed8 50%, #8ec8e8 100%) !important;
  background-size: 100% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hero--storybook .hero__subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.45rem) !important;
  font-weight: 500 !important;
  color: rgba(245, 220, 165, 0.88) !important;
  margin-bottom: 6px !important;
}

.hero--storybook .hero__author {
  font-size: 0.875rem !important;
  color: rgba(195, 215, 235, 0.62) !important;
  margin-bottom: 18px !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.hero--storybook .hero__author strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.hero--storybook .hero__rating {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 100px;
}

.hero--storybook .hero__stars {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-shadow: none;
  color: #e8c878;
}

.hero--storybook .hero__rating-text {
  font-size: 0.8125rem !important;
  color: rgba(195, 215, 235, 0.68) !important;
  line-height: 1.35;
}

.hero--storybook .hero__tagline {
  font-size: 0.96875rem !important;
  line-height: 1.65 !important;
  color: rgba(195, 215, 235, 0.7) !important;
  margin-bottom: 24px !important;
  max-width: 26rem;
}

.hero--storybook .hero__actions {
  margin-bottom: 24px !important;
  gap: 10px !important;
}

.hero--storybook .hero__actions .btn {
  font-size: 0.875rem !important;
  font-weight: 600;
  border-radius: 100px !important;
  padding: 13px 24px !important;
}

.hero--storybook .btn--primary {
  background: linear-gradient(180deg, #e8554a 0%, #b83227 100%) !important;
  box-shadow: 0 4px 16px rgba(184, 50, 39, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.hero--storybook .btn--primary:hover {
  box-shadow: 0 8px 24px rgba(184, 50, 39, 0.42) !important;
  transform: translateY(-2px) !important;
}

.hero--storybook .btn--glass {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.hero--storybook .hero__stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  padding: 3px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 12px !important;
  max-width: 100% !important;
  overflow: hidden;
}

.hero--storybook .hero__stat {
  min-height: 68px !important;
  padding: 10px 8px !important;
  background: transparent !important;
  border: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background 0.2s ease;
}

.hero--storybook .hero__stat:last-child {
  border-right: none !important;
}

.hero--storybook .hero__stat::before,
.hero--storybook .hero__stat::after {
  display: none !important;
}

.hero--storybook .hero__stat:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  transform: none !important;
  box-shadow: none !important;
}

.hero--storybook .hero__stat-num {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.hero--storybook .hero__stat-label {
  font-size: 0.5625rem !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase;
  color: rgba(195, 215, 235, 0.52) !important;
  max-width: none !important;
  line-height: 1.3 !important;
}

.hero--storybook .hero__book-scene {
  position: relative;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.42));
}

.hero--storybook .hero__book-scene::before {
  content: '';
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 10%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.38) 0%, transparent 72%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

@media (min-width: 769px) {
  .hero--storybook .hero__spread {
    text-align: left !important;
    align-items: flex-start !important;
  }

  .hero--storybook .hero__rating {
    align-self: flex-start;
  }

  .hero--storybook .hero__actions {
    justify-content: flex-start;
  }

  .hero--storybook .hero__tagline {
    margin-inline: 0;
  }
}

@media (max-width: 768px) {
  .hero--storybook {
    padding-bottom: 72px !important;
  }

  .hero--storybook .hero__spread {
    padding: 26px 20px !important;
    border-radius: 16px !important;
    text-align: center !important;
    align-items: center !important;
  }

  .hero--storybook .hero__rating {
    flex-direction: column;
    gap: 6px;
    border-radius: 12px;
    align-self: center;
  }

  .hero--storybook .hero__tagline {
    margin-inline: auto;
  }

  .hero--storybook .hero__mesh {
    background: linear-gradient(
      180deg,
      rgba(5, 21, 37, 0.91) 0%,
      rgba(5, 21, 37, 0.72) 48%,
      rgba(6, 31, 51, 0.9) 100%
    ) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--storybook .hero__title-line--accent {
    animation: none !important;
  }
}

/* ============================================
   V51   Bright unique hero card design
   ============================================ */

@keyframes heroCardBorderGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes heroCardFloatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(12px, -10px) scale(1.08); opacity: 0.85; }
}

@keyframes heroSparklePulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

.hero--storybook .hero__spread {
  isolation: isolate;
  overflow: hidden !important;
  border: none !important;
  border-radius: 22px !important;
  background: linear-gradient(
    148deg,
    rgba(38, 140, 100, 0.32) 0%,
    rgba(22, 95, 145, 0.26) 38%,
    rgba(200, 120, 45, 0.14) 68%,
    rgba(28, 110, 155, 0.24) 100%
  ) !important;
  box-shadow:
    0 0 0 1px rgba(126, 200, 160, 0.25),
    0 0 40px rgba(90, 212, 154, 0.18),
    0 0 80px rgba(61, 148, 200, 0.12),
    0 24px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -20px 40px rgba(126, 200, 160, 0.06) !important;
  backdrop-filter: blur(40px) saturate(1.45) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(40px) saturate(1.45) brightness(1.08) !important;
}

.hero--storybook .hero__spread::before {
  display: block !important;
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    130deg,
    #5ad49a 0%,
    #7ec8e8 25%,
    #f5d78a 50%,
    #e8785a 75%,
    #5ad49a 100%
  );
  background-size: 280% 280%;
  animation: heroCardBorderGlow 7s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.hero--storybook .hero__spread::after {
  display: block !important;
  top: 1px;
  left: 12%;
  right: 12%;
  width: auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent) !important;
  z-index: 2;
}

.hero__spread-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}

.hero__spread-glow::before,
.hero__spread-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: heroCardFloatGlow 9s ease-in-out infinite;
}

.hero__spread-glow::before {
  width: 180px;
  height: 180px;
  top: -40px;
  right: -30px;
  background: rgba(90, 212, 154, 0.45);
}

.hero__spread-glow::after {
  width: 140px;
  height: 140px;
  bottom: -30px;
  left: 10%;
  background: rgba(245, 200, 100, 0.35);
  animation-delay: -4.5s;
}

.hero__spread-accent {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 5px;
  border-radius: 0 6px 6px 0;
  background: linear-gradient(
    180deg,
    #5ad49a 0%,
    #3d8b35 30%,
    #f5d78a 55%,
    #e8554a 80%,
    #5ba4d9 100%
  );
  box-shadow: 2px 0 16px rgba(90, 212, 154, 0.4);
  z-index: 1;
  pointer-events: none;
}

.hero__spread-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
}

.hero__spread-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero__spread-sparkles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f5d78a;
  box-shadow: 0 0 10px rgba(245, 215, 138, 0.9);
  animation: heroSparklePulse 3s ease-in-out infinite;
}

.hero__spread-sparkles span:nth-child(1) {
  top: 14%;
  right: 10%;
  animation-delay: 0s;
}

.hero__spread-sparkles span:nth-child(2) {
  top: 62%;
  right: 6%;
  width: 4px;
  height: 4px;
  background: #7ec8e8;
  box-shadow: 0 0 8px rgba(126, 200, 232, 0.9);
  animation-delay: -1.2s;
}

.hero__spread-sparkles span:nth-child(3) {
  bottom: 18%;
  left: 14%;
  width: 5px;
  height: 5px;
  background: #5ad49a;
  box-shadow: 0 0 8px rgba(90, 212, 154, 0.9);
  animation-delay: -2.4s;
}

.hero__spread-inner {
  position: relative;
  z-index: 3;
}

.hero--storybook .hero__badge {
  background: linear-gradient(135deg, rgba(90, 212, 154, 0.28), rgba(61, 139, 53, 0.22)) !important;
  border: 1px solid rgba(126, 200, 160, 0.45) !important;
  color: #d4f5e4 !important;
  box-shadow: 0 0 20px rgba(90, 212, 154, 0.2) !important;
}

.hero--storybook .hero__badge-dot {
  background: #6ef0a8 !important;
  box-shadow: 0 0 12px rgba(110, 240, 168, 0.9) !important;
  animation: pulse 2.5s ease-in-out infinite;
}

.hero--storybook .hero__title-line--small {
  color: #8ef0c0 !important;
  -webkit-text-fill-color: #8ef0c0 !important;
}

.hero--storybook .hero__title-line--accent {
  background: linear-gradient(135deg, #ffffff 0%, #fff8c8 40%, #8ef0c0 75%, #9ee8ff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 12px rgba(126, 200, 160, 0.35));
}

.hero--storybook .hero__subtitle {
  color: #ffe9a8 !important;
  text-shadow: 0 1px 8px rgba(245, 200, 100, 0.3);
}

.hero--storybook .hero__author {
  color: rgba(210, 235, 255, 0.78) !important;
}

.hero--storybook .hero__author strong {
  color: #fff !important;
}

.hero--storybook .hero__rating {
  background: linear-gradient(135deg, rgba(245, 200, 100, 0.22), rgba(232, 168, 56, 0.14)) !important;
  border: 1px solid rgba(245, 215, 138, 0.4) !important;
  box-shadow: 0 0 16px rgba(245, 200, 100, 0.12);
}

.hero--storybook .hero__stars {
  color: #ffe566 !important;
  text-shadow: 0 0 10px rgba(255, 229, 102, 0.6);
}

.hero--storybook .hero__rating-text {
  color: rgba(255, 235, 200, 0.88) !important;
}

.hero--storybook .hero__tagline {
  color: rgba(220, 245, 255, 0.88) !important;
}

.hero--storybook .hero__stats {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(126, 200, 160, 0.08) 100%
  ) !important;
  border: 1px solid rgba(126, 200, 160, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero--storybook .hero__stat:nth-child(1) .hero__stat-num {
  color: #8ef0c0 !important;
  text-shadow: 0 0 16px rgba(142, 240, 192, 0.4);
}

.hero--storybook .hero__stat:nth-child(2) .hero__stat-num {
  color: #ffe566 !important;
  text-shadow: 0 0 16px rgba(255, 229, 102, 0.4);
}

.hero--storybook .hero__stat:nth-child(3) .hero__stat-label {
  color: rgba(158, 220, 255, 0.75) !important;
}

.hero--storybook .btn--primary {
  background: linear-gradient(180deg, #ff6b5e 0%, #d4382e 100%) !important;
  box-shadow: 0 6px 22px rgba(232, 80, 60, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.hero--storybook .btn--glass {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(158, 232, 255, 0.35) !important;
  color: #e8f8ff !important;
}

.hero--storybook .btn--glass:hover {
  background: rgba(126, 200, 232, 0.2) !important;
  border-color: rgba(158, 232, 255, 0.55) !important;
}

@media (max-width: 768px) {
  .hero__spread-accent {
    top: 12px;
    bottom: 12px;
    width: 4px;
  }

  .hero__spread-sparkles span:nth-child(1) {
    top: 10%;
    right: 8%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--storybook .hero__spread::before,
  .hero__spread-glow::before,
  .hero__spread-glow::after,
  .hero__spread-sparkles span {
    animation: none !important;
  }
}

/* ============================================
   V52   Natural farm storybook card
   No AI rainbow / no neon guardian colors
   ============================================ */

.hero__spread-glow,
.hero__spread-accent,
.hero__spread-pattern,
.hero__spread-sparkles {
  display: none !important;
}

.hero--storybook .hero__spread {
  background: rgba(251, 247, 240, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 18px !important;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
}

.hero--storybook .hero__spread::before {
  display: none !important;
}

.hero--storybook .hero__spread::after {
  display: block !important;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent) !important;
  box-shadow: none;
}

.hero--storybook .hero__spread-inner {
  border-left: 3px solid rgba(184, 50, 39, 0.55);
  padding-left: clamp(18px, 3vw, 24px);
  margin-left: 2px;
}

.hero--storybook .hero__badge {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: rgba(240, 235, 225, 0.92) !important;
  box-shadow: none !important;
}

.hero--storybook .hero__badge-dot {
  background: #3d8b35 !important;
  box-shadow: none !important;
  animation: none !important;
}

.hero--storybook .hero__title-line--small {
  color: rgba(220, 210, 195, 0.85) !important;
  -webkit-text-fill-color: rgba(220, 210, 195, 0.85) !important;
  letter-spacing: 0.16em !important;
}

.hero--storybook .hero__title-line--accent {
  background: none !important;
  -webkit-text-fill-color: #fbf7f0 !important;
  color: #fbf7f0 !important;
  filter: none !important;
}

.hero--storybook .hero__subtitle {
  color: rgba(232, 200, 150, 0.92) !important;
  text-shadow: none !important;
}

.hero--storybook .hero__author {
  color: rgba(200, 210, 220, 0.72) !important;
}

.hero--storybook .hero__author strong {
  color: rgba(255, 255, 255, 0.9) !important;
}

.hero--storybook .hero__rating {
  background: rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

.hero--storybook .hero__stars {
  color: #d4922a !important;
  text-shadow: none !important;
}

.hero--storybook .hero__rating-text {
  color: rgba(210, 205, 195, 0.8) !important;
}

.hero--storybook .hero__tagline {
  color: rgba(210, 215, 220, 0.82) !important;
}

.hero--storybook .hero__stats {
  background: rgba(0, 0, 0, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

.hero--storybook .hero__stat-num {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: none !important;
}

.hero--storybook .hero__stat-label {
  color: rgba(190, 195, 200, 0.65) !important;
}

.hero--storybook .btn--primary {
  background: linear-gradient(180deg, #c0392b 0%, #a02820 100%) !important;
  box-shadow: 0 4px 14px rgba(160, 40, 32, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.hero--storybook .btn--glass {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: rgba(240, 240, 240, 0.92) !important;
}

.hero--storybook .btn--glass:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.32) !important;
}

@media (max-width: 768px) {
  .hero--storybook .hero__spread-inner {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    border-top: 3px solid rgba(184, 50, 39, 0.45);
    padding-top: 4px;
  }
}

/* ============================================
   V53   Brighter warm shine (natural, not neon)
   ============================================ */

.hero--storybook .hero__spread {
  background: linear-gradient(
    155deg,
    rgba(255, 252, 245, 0.16) 0%,
    rgba(251, 247, 240, 0.12) 50%,
    rgba(255, 248, 235, 0.14) 100%
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    0 0 32px rgba(255, 248, 230, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -12px 28px rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(28px) brightness(1.06) !important;
  -webkit-backdrop-filter: blur(28px) brightness(1.06) !important;
}

.hero--storybook .hero__spread::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent) !important;
}

.hero--storybook .hero__spread-inner {
  border-left-color: rgba(212, 80, 55, 0.75) !important;
  box-shadow: inset 3px 0 12px rgba(212, 80, 55, 0.12);
}

.hero--storybook .hero__badge {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.26) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.hero--storybook .hero__badge-dot {
  background: #4a9e42 !important;
  box-shadow: 0 0 8px rgba(74, 158, 66, 0.45) !important;
}

.hero--storybook .hero__title-line--small {
  color: rgba(235, 228, 215, 0.95) !important;
  -webkit-text-fill-color: rgba(235, 228, 215, 0.95) !important;
}

.hero--storybook .hero__title-line--accent {
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.hero--storybook .hero__subtitle {
  color: #f0d49a !important;
  text-shadow: 0 1px 6px rgba(212, 146, 42, 0.2) !important;
}

.hero--storybook .hero__author {
  color: rgba(220, 228, 238, 0.82) !important;
}

.hero--storybook .hero__author strong {
  color: #fff !important;
}

.hero--storybook .hero__rating {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.hero--storybook .hero__stars {
  color: #e8a838 !important;
  text-shadow: 0 0 8px rgba(232, 168, 56, 0.35) !important;
}

.hero--storybook .hero__rating-text {
  color: rgba(235, 230, 220, 0.9) !important;
}

.hero--storybook .hero__tagline {
  color: rgba(230, 235, 242, 0.92) !important;
}

.hero--storybook .hero__stats {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.hero--storybook .hero__stat-num {
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.15) !important;
}

.hero--storybook .hero__stat-label {
  color: rgba(210, 215, 222, 0.78) !important;
}

.hero--storybook .btn--primary {
  background: linear-gradient(180deg, #d94a3e 0%, #b83227 100%) !important;
  box-shadow: 0 5px 18px rgba(184, 50, 39, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.hero--storybook .btn--glass {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.hero--storybook .btn--glass:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
}

@media (max-width: 768px) {
  .hero--storybook .hero__spread-inner {
    border-top-color: rgba(212, 80, 55, 0.7) !important;
    box-shadow: inset 0 3px 12px rgba(212, 80, 55, 0.1);
  }
}

/* ============================================
   V54   Remove hero bg photo
   ============================================ */

.hero__bg-photo {
  display: none !important;
}

/* ============================================
   V55   Unified site-wide card design
   Warm farm glass · consistent & polished
   ============================================ */

:root {
  --card-radius: 18px;
  --card-radius-sm: 14px;
  --card-bg: rgba(255, 252, 245, 0.09);
  --card-bg-strong: rgba(255, 252, 245, 0.13);
  --card-bg-hover: rgba(255, 252, 245, 0.14);
  --card-border: rgba(255, 255, 255, 0.17);
  --card-border-hover: rgba(255, 255, 255, 0.26);
  --card-shine: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  --card-shadow: 0 10px 32px rgba(0, 0, 0, 0.2), var(--card-shine);
  --card-shadow-hover: 0 18px 44px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  --card-blur: blur(26px) saturate(1.12);
}

/*    Shared card base    */
.quote-card,
#story .story__card,
#story .pillar-card,
.buy__card,
#characters .char-slide__card,
#chapters .ch-card__body,
.author__quote,
.author__portrait {
  border-radius: var(--card-radius) !important;
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  box-shadow: var(--card-shadow) !important;
  backdrop-filter: var(--card-blur) !important;
  -webkit-backdrop-filter: var(--card-blur) !important;
  transition:
    transform 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out),
    border-color 0.28s var(--ease-out),
    background 0.28s var(--ease-out) !important;
}

.quote-card:hover,
#story .story__card:hover,
#story .pillar-card:hover,
.buy__card:hover,
#characters .char-slide__card:hover,
#chapters .ch-card:hover .ch-card__body,
.author__quote:hover,
.author__portrait:hover {
  transform: translateY(-3px) !important;
  background: var(--card-bg-hover) !important;
  border-color: var(--card-border-hover) !important;
  box-shadow: var(--card-shadow-hover) !important;
}

/*    Quote cards    */
.quote-card {
  padding: 20px 16px !important;
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  font-size: 2.5rem !important;
  top: 8px !important;
  left: 12px !important;
  opacity: 0.1 !important;
}

.quote-card p {
  font-size: 0.8125rem !important;
  line-height: 1.5 !important;
  font-style: normal !important;
}

.quote-card--featured {
  background: var(--card-bg-strong) !important;
  border-color: rgba(212, 146, 42, 0.35) !important;
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.22),
    inset 0 3px 0 rgba(212, 146, 42, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.quote-card--featured p {
  font-size: 0.875rem !important;
}

/*    Story cards    */
#story .story__card {
  padding: clamp(24px, 3vw, 32px) !important;
}

#story .story__card--lead {
  background: linear-gradient(
    145deg,
    rgba(26, 107, 79, 0.18) 0%,
    rgba(255, 252, 245, 0.1) 55%,
    rgba(61, 148, 200, 0.1) 100%
  ) !important;
  border-color: rgba(126, 200, 160, 0.28) !important;
  box-shadow:
    var(--card-shadow),
    inset 0 3px 0 rgba(126, 200, 160, 0.45) !important;
}

#story .story__card--accent {
  background: rgba(26, 107, 79, 0.14) !important;
  border-color: rgba(126, 200, 160, 0.22) !important;
  box-shadow:
    var(--card-shadow),
    inset 0 3px 0 rgba(61, 139, 53, 0.4) !important;
}

#story .story__card-title {
  font-size: 1.0625rem !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  color: var(--text-on-dark) !important;
}

#story .story__card p {
  font-size: 0.9375rem !important;
  line-height: 1.72 !important;
}

#story .story__card::after {
  display: none !important;
}

/*    Pillar cards    */
#story .pillar-card {
  min-height: auto !important;
  padding: 22px 18px 20px !important;
  border-top: 3px solid var(--pillar-color) !important;
  box-shadow:
    var(--card-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

#story .pillar-card h3,
#story .pillar-card__body h3 {
  font-size: 1rem !important;
  margin-bottom: 8px !important;
}

#story .pillar-card p,
#story .pillar-card__body p {
  font-size: 0.8125rem !important;
  line-height: 1.55 !important;
}

#story .pillar-card:hover {
  border-top-color: var(--pillar-color) !important;
  border-color: var(--card-border-hover) !important;
}

/*    Real Animals glass cards    */
#inspirations .inspire-card.glass-card {
  border-radius: var(--card-radius-sm) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22) !important;
}

#inspirations .glass-card__gradient {
  background: linear-gradient(
    160deg,
    rgba(6, 31, 51, 0.82) 0%,
    rgba(26, 107, 79, 0.72) 55%,
    rgba(10, 46, 74, 0.78) 100%
  ) !important;
}

#inspirations .inspire-card--highlight.glass-card .glass-card__gradient {
  background: linear-gradient(
    160deg,
    rgba(6, 31, 51, 0.85) 0%,
    rgba(61, 139, 53, 0.65) 45%,
    rgba(212, 146, 42, 0.45) 100%
  ) !important;
}

#inspirations .glass-card.is-active,
#inspirations .glass-card:focus-within {
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28) !important;
}

/*    Character carousel card    */
#characters .char-slide__card {
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px) !important;
  text-align: center;
}

#characters .char-slide__quote p {
  font-style: normal !important;
  font-size: clamp(1rem, 1.8vw, 1.125rem) !important;
  line-height: 1.7 !important;
  color: rgba(240, 245, 250, 0.92) !important;
}

#characters .char-slide__stars span {
  color: #e8a838 !important;
  font-size: 1rem !important;
}

#characters .char-slide__avatar {
  background: linear-gradient(145deg, rgba(61, 139, 53, 0.85), rgba(212, 146, 42, 0.75)) !important;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

#characters .char-slide__meta span {
  color: rgba(200, 215, 230, 0.72) !important;
}

#characters .char-carousel__arrow {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  box-shadow: var(--card-shadow) !important;
}

#characters .char-carousel__arrow:hover {
  background: var(--card-bg-hover) !important;
  border-color: var(--card-border-hover) !important;
}

/*    Chapter cards    */
#chapters .ch-card__body {
  min-height: 180px !important;
  padding: 24px 26px !important;
  border-top: 3px solid var(--ch-accent) !important;
}

#chapters .ch-card__body h3 {
  font-size: 1.0625rem !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  padding-left: 0;
}

#chapters .ch-card__body h3::before {
  display: none !important;
}

#chapters .ch-card__body p {
  font-size: 0.875rem !important;
  line-height: 1.65 !important;
}

#chapters .ch-card:hover .ch-card__body {
  border-top-color: var(--ch-accent) !important;
  transform: translateY(-3px) !important;
}

#chapters .ch-card__body::after {
  display: none !important;
}

#chapters .ch-card:hover .ch-card__glow {
  opacity: 0.6 !important;
}

/*    Buy card    */
.buy__card {
  padding: clamp(24px, 3vw, 32px) !important;
  border-top: 3px solid rgba(184, 50, 39, 0.6) !important;
  box-shadow:
    var(--card-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.buy__content h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem) !important;
  font-weight: 700 !important;
}

/*    Author    */
.author__quote {
  padding: 22px 26px !important;
  border-left: 3px solid rgba(212, 146, 42, 0.55) !important;
  font-style: normal !important;
}

.author__portrait {
  border-radius: var(--card-radius) !important;
  overflow: hidden;
}

/*    Hunt banner card feel    */
#hunt .hunt__inner {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--card-radius) !important;
  box-shadow: var(--card-shadow) !important;
  backdrop-filter: var(--card-blur) !important;
  -webkit-backdrop-filter: var(--card-blur) !important;
  padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 40px) !important;
}

/*    Quote banner    */
.quote-banner--kindness {
  background: var(--card-bg) !important;
  border-block: 1px solid var(--card-border) !important;
}

@media (max-width: 768px) {
  :root {
    --card-radius: 16px;
    --card-radius-sm: 12px;
  }

  .quote-card {
    padding: 16px 12px !important;
  }

  #story .pillar-card {
    padding: 18px 14px !important;
  }

  #chapters .ch-card__body {
    padding: 20px 18px !important;
    min-height: auto !important;
  }

  #characters .char-slide__card {
    padding: 26px 20px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-card,
  #story .story__card,
  #story .pillar-card,
  .buy__card,
  #characters .char-slide__card,
  #chapters .ch-card__body {
    transition: none !important;
  }

  .quote-card:hover,
  #story .story__card:hover,
  #story .pillar-card:hover,
  .buy__card:hover,
  #characters .char-slide__card:hover,
  #chapters .ch-card:hover .ch-card__body {
    transform: none !important;
  }
}

/* ============================================
   V56   Premium storybook card polish
   Warmer depth · accents · editorial feel
   ============================================ */

:root {
  --card-radius: 20px;
  --card-radius-sm: 16px;
  --card-bg: rgba(255, 250, 240, 0.1);
  --card-bg-strong: rgba(255, 248, 232, 0.16);
  --card-bg-hover: rgba(255, 252, 245, 0.15);
  --card-border: rgba(255, 255, 255, 0.2);
  --card-border-hover: rgba(255, 255, 255, 0.32);
  --card-shine: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  --card-shadow:
    0 4px 6px rgba(0, 0, 0, 0.06),
    0 14px 36px rgba(0, 0, 0, 0.22),
    var(--card-shine);
  --card-shadow-hover:
    0 8px 12px rgba(0, 0, 0, 0.08),
    0 22px 50px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  --card-blur: blur(28px) saturate(1.18);
  --card-accent-gold: #e8a838;
  --card-accent-barn: #c0392b;
  --card-accent-grass: #5a9e4b;
}

/* Warm top-light overlay on all cards */
.quote-card,
#story .story__card,
#story .pillar-card,
.buy__card,
#characters .char-slide__card,
#chapters .ch-card__body,
.author__quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.quote-card::after,
#story .story__card::after,
#story .pillar-card::after,
.buy__card::after,
#characters .char-slide__card::after,
#chapters .ch-card__body::after,
.author__quote::after {
  display: block !important;
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 90% 60% at 15% -10%, rgba(255, 248, 225, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(61, 139, 53, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.quote-card > *,
#story .story__card > *,
#story .pillar-card > *,
.buy__card > *,
#characters .char-slide__card > *,
#chapters .ch-card__body > *,
.author__quote > * {
  position: relative;
  z-index: 1;
}

/*    Quote cards   editorial strip    */
.quote-card {
  padding: 28px 24px 26px !important;
  border-left: 3px solid rgba(232, 168, 56, 0.55) !important;
  text-align: left;
}

.quote-card::before {
  font-size: 3.25rem !important;
  top: 6px !important;
  left: 16px !important;
  opacity: 0.14 !important;
  color: var(--card-accent-gold) !important;
}

.quote-card p {
  font-size: 0.9375rem !important;
  line-height: 1.62 !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
  padding-left: 4px;
}

.quote-card em {
  color: #f0c878 !important;
  font-style: italic !important;
  font-weight: 600 !important;
}

.quote-card--featured {
  background: linear-gradient(
    135deg,
    rgba(192, 57, 43, 0.22) 0%,
    rgba(255, 248, 232, 0.14) 45%,
    rgba(26, 107, 79, 0.12) 100%
  ) !important;
  border: 1px solid rgba(232, 168, 56, 0.35) !important;
  border-left: 4px solid var(--card-accent-gold) !important;
  box-shadow:
    var(--card-shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
}

.quote-card--featured p {
  font-size: 1rem !important;
  line-height: 1.58 !important;
}

.quote-card--featured::before {
  opacity: 0.18 !important;
  color: #fff !important;
}

/*    Story cards    */
#story .story__card {
  padding: clamp(28px, 3.5vw, 36px) !important;
  border-left: 3px solid rgba(255, 255, 255, 0.12) !important;
}

#story .story__card--lead {
  background: linear-gradient(
    155deg,
    rgba(255, 252, 245, 0.13) 0%,
    rgba(26, 107, 79, 0.14) 50%,
    rgba(255, 248, 235, 0.1) 100%
  ) !important;
  border-left: 4px solid var(--card-accent-grass) !important;
  border-color: rgba(126, 200, 160, 0.3) !important;
  box-shadow:
    var(--card-shadow),
    inset 3px 0 16px rgba(90, 158, 75, 0.08) !important;
}

#story .story__card--accent {
  background: linear-gradient(
    145deg,
    rgba(26, 107, 79, 0.16) 0%,
    rgba(255, 252, 245, 0.1) 100%
  ) !important;
  border-left: 4px solid rgba(126, 200, 160, 0.65) !important;
  border-color: rgba(126, 200, 160, 0.25) !important;
}

#story .story__card-title {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

#story .story__card-title::before {
  display: block !important;
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--card-accent-grass);
  box-shadow: 0 0 8px rgba(90, 158, 75, 0.45);
  flex-shrink: 0;
}

#story .story__lead {
  font-size: 1.0625rem !important;
  line-height: 1.75 !important;
  color: rgba(245, 248, 252, 0.95) !important;
}

#story .story__card p {
  font-size: 0.9375rem !important;
  line-height: 1.78 !important;
}

/*    Pillar cards    */
#story .pillar-card {
  padding: 20px 20px 18px 22px !important;
  border-left: 4px solid var(--pillar-color) !important;
  border-top: none !important;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

#story .pillar-card__body {
  width: 100%;
}

#story .pillar-card__body h3 {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pillar-color) !important;
  margin-bottom: 6px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

#story .pillar-card__body h3::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pillar-color);
  box-shadow: 0 0 6px color-mix(in srgb, var(--pillar-color) 60%, transparent);
  flex-shrink: 0;
}

#story .pillar-card__body p {
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  color: rgba(210, 220, 230, 0.88) !important;
}

#story .pillar-card:hover {
  border-left-color: var(--pillar-color) !important;
  transform: translateY(-4px) translateX(2px) !important;
}

/*    Chapter cards   numbered    */
#chapters .chapters__grid {
  counter-reset: ch-num;
}

#chapters .ch-card__body {
  min-height: 190px !important;
  padding: 22px 24px 24px !important;
  border-top: none !important;
  border-left: 4px solid var(--ch-accent) !important;
  box-shadow:
    var(--card-shadow),
    inset 4px 0 14px color-mix(in srgb, var(--ch-accent) 12%, transparent) !important;
}

#chapters .ch-card__body h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin-bottom: 10px !important;
  padding-left: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#chapters .ch-card__body h3::before {
  display: block !important;
  content: 'Chapter ' counter(ch-num, decimal-leading-zero);
  counter-increment: ch-num;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ch-accent) !important;
  opacity: 0.92;
}

#chapters .ch-card__body p {
  font-size: 0.8125rem !important;
  line-height: 1.65 !important;
  color: rgba(200, 215, 228, 0.85) !important;
}

#chapters .ch-card:hover .ch-card__body {
  border-left-color: var(--ch-accent) !important;
  border-color: var(--card-border-hover) !important;
  transform: translateY(-4px) !important;
  box-shadow:
    var(--card-shadow-hover),
    inset 4px 0 18px color-mix(in srgb, var(--ch-accent) 18%, transparent) !important;
}

#chapters .ch-card:hover .ch-card__glow {
  opacity: 0.75 !important;
}

/*    Character testimonial card    */
#characters .char-slide__card {
  padding: clamp(32px, 4vw, 48px) clamp(28px, 4vw, 52px) clamp(28px, 3.5vw, 40px) !important;
  border-top: 3px solid rgba(232, 168, 56, 0.45) !important;
  max-width: 680px;
  margin-inline: auto;
}

#characters .char-slide__card::before {
  display: block !important;
  content: '"';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(232, 168, 56, 0.25);
  font-family: Georgia, 'Times New Roman', serif;
  z-index: 1;
  pointer-events: none;
}

#characters .char-slide__stars {
  margin-bottom: 12px;
}

#characters .char-slide__stars span {
  font-size: 0.875rem !important;
  letter-spacing: 3px;
}

#characters .char-slide__quote {
  margin-bottom: 24px;
}

#characters .char-slide__quote p {
  font-size: clamp(1.0625rem, 1.9vw, 1.1875rem) !important;
  line-height: 1.72 !important;
  font-weight: 500 !important;
  color: rgba(245, 248, 252, 0.94) !important;
}

#characters .char-slide__profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#characters .char-slide__avatar {
  width: 52px !important;
  height: 52px !important;
  background: linear-gradient(145deg, rgba(90, 158, 75, 0.9), rgba(212, 146, 42, 0.8)) !important;
  border: 2px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
}

#characters .char-slide__meta strong {
  font-size: 1rem !important;
  color: #fff !important;
}

#characters .char-slide__meta span {
  font-size: 0.8125rem !important;
}

/*    Real Animals cards    */
#inspirations .inspire-card.glass-card {
  border-radius: var(--card-radius-sm) !important;
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s, border-color 0.32s !important;
}

#inspirations .inspire-card.glass-card:hover {
  transform: scale(1.03) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3) !important;
}

#inspirations .glass-card__gradient {
  background: linear-gradient(
    165deg,
    rgba(6, 28, 48, 0.75) 0%,
    rgba(26, 90, 70, 0.65) 50%,
    rgba(8, 38, 62, 0.8) 100%
  ) !important;
}

#inspirations .inspire-card--highlight.glass-card {
  border-color: rgba(232, 168, 56, 0.35) !important;
}

#inspirations .inspire-card--highlight.glass-card .glass-card__gradient {
  background: linear-gradient(
    165deg,
    rgba(6, 28, 48, 0.8) 0%,
    rgba(61, 139, 53, 0.55) 40%,
    rgba(192, 57, 43, 0.35) 100%
  ) !important;
}

#inspirations .glass-card.is-active,
#inspirations .glass-card:focus-within {
  border-color: rgba(232, 168, 56, 0.5) !important;
  box-shadow:
    0 0 0 2px rgba(232, 168, 56, 0.2),
    0 14px 36px rgba(0, 0, 0, 0.3) !important;
}

/*    Buy card    */
.buy__card {
  padding: clamp(28px, 4vw, 40px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-top: 3px solid rgba(192, 57, 43, 0.7) !important;
  background: linear-gradient(
    160deg,
    rgba(255, 252, 245, 0.12) 0%,
    rgba(255, 248, 235, 0.08) 100%
  ) !important;
}

.buy__content h2 {
  font-size: clamp(1.625rem, 2.8vw, 1.875rem) !important;
  letter-spacing: -0.02em;
}

.buy__content > p {
  font-size: 1rem !important;
  line-height: 1.65 !important;
  opacity: 0.88;
}

/*    Author quote    */
.author__quote {
  padding: 24px 28px !important;
  border-left: 4px solid var(--card-accent-gold) !important;
  background: linear-gradient(
    90deg,
    rgba(232, 168, 56, 0.1) 0%,
    rgba(255, 252, 245, 0.08) 100%
  ) !important;
  font-size: 1.0625rem !important;
  line-height: 1.65 !important;
}

.author__quote em {
  color: rgba(240, 235, 225, 0.92) !important;
  font-style: italic !important;
}

/*    Hunt banner    */
#hunt .hunt__inner {
  border-top: 3px solid rgba(126, 200, 160, 0.45) !important;
  background: linear-gradient(
    160deg,
    rgba(255, 252, 245, 0.11) 0%,
    rgba(26, 107, 79, 0.1) 100%
  ) !important;
}

/* Shared hover lift */
.quote-card:hover,
#story .story__card:hover,
.buy__card:hover,
#characters .char-slide__card:hover,
.author__quote:hover {
  transform: translateY(-4px) !important;
}

@media (max-width: 768px) {
  :root {
    --card-radius: 18px;
    --card-radius-sm: 14px;
  }

  .quote-card {
    padding: 18px 14px 16px !important;
  }

  .quote-card p {
    font-size: 0.75rem !important;
    line-height: 1.48 !important;
  }

  .quote-card--featured p {
    font-size: 0.8125rem !important;
  }

  #story .pillar-card:hover {
    transform: translateY(-3px) !important;
  }

  #chapters .ch-card__body h3::before {
    font-size: 0.625rem !important;
  }

  #characters .char-slide__card::before {
    font-size: 2rem;
    top: 14px;
  }
}

/* ============================================
   V57   Fresh card look (warm panel style)
   Clean panels · top accents · less glass
   ============================================ */

:root {
  --card-radius: 16px;
  --card-radius-lg: 20px;
  --card-radius-sm: 12px;
  --card-panel: rgba(251, 247, 240, 0.08);
  --card-panel-hover: rgba(251, 247, 240, 0.12);
  --card-panel-strong: rgba(251, 247, 240, 0.14);
  --card-line: rgba(255, 255, 255, 0.14);
  --card-line-hover: rgba(255, 255, 255, 0.24);
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 12px 28px rgba(0, 0, 0, 0.18);
  --card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.14), 0 20px 40px rgba(0, 0, 0, 0.24);
}

/* Reset glass overlays from V56 */
.quote-card::after,
#story .story__card::after,
#story .pillar-card::after,
.buy__card::after,
#characters .char-slide__card::after,
#chapters .ch-card__body::after,
.author__quote::after {
  display: none !important;
}

/*    Shared panel base    */
.quote-card,
#story .story__card,
#story .pillar-card,
.buy__card,
#characters .char-slide__card,
#chapters .ch-card__body,
.author__quote,
#hunt .hunt__inner {
  border-radius: var(--card-radius-lg) !important;
  background: var(--card-panel) !important;
  border: 1.5px solid var(--card-line) !important;
  box-shadow: var(--card-shadow) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    background 0.25s var(--ease-out) !important;
}

.quote-card:hover,
#story .story__card:hover,
#story .pillar-card:hover,
.buy__card:hover,
#characters .char-slide__card:hover,
#chapters .ch-card:hover .ch-card__body,
.author__quote:hover {
  transform: translateY(-2px) !important;
  background: var(--card-panel-hover) !important;
  border-color: var(--card-line-hover) !important;
  box-shadow: var(--card-shadow-hover) !important;
}

/* Top accent bar helper */
.quote-card,
#story .story__card,
#story .pillar-card,
.buy__card,
#characters .char-slide__card,
#chapters .ch-card__body,
.author__quote {
  border-top: none !important;
  border-left: none !important;
  padding-top: 28px !important;
}

.quote-card::before,
#story .story__card::before,
#story .pillar-card::before,
.buy__card::before,
#characters .char-slide__card::before,
#chapters .ch-card__body::before,
.author__quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  z-index: 2;
  pointer-events: none;
}

/*    Quote cards    */
.quote-card {
  padding: 28px 22px 24px !important;
  text-align: center;
}

.quote-card::before {
  background: linear-gradient(90deg, #d4922a, #e8a838, #d4922a) !important;
  left: 20% !important;
  right: 20% !important;
  height: 4px !important;
  border-radius: 0 0 6px 6px !important;
  content: '' !important;
  font-size: unset !important;
  opacity: 1 !important;
}

.quote-card::after {
  display: block !important;
  content: '\201C';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  color: rgba(232, 168, 56, 0.35);
  pointer-events: none;
  z-index: 1;
  background: none !important;
  inset: auto !important;
  border-radius: 0 !important;
}

.quote-card p {
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
  padding-left: 0 !important;
  padding-top: 8px;
  text-align: center;
}

.quote-card em {
  color: #f0c878 !important;
}

.quote-card--featured {
  background: var(--card-panel-strong) !important;
  border-color: rgba(232, 168, 56, 0.3) !important;
  box-shadow:
    var(--card-shadow),
    inset 0 0 0 1px rgba(232, 168, 56, 0.08) !important;
}

.quote-card--featured::before {
  background: linear-gradient(90deg, #c0392b, #e8a838, #5a9e4b) !important;
  left: 12% !important;
  right: 12% !important;
  height: 5px !important;
}

.quote-card--featured p {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
}

/*    Story cards    */
#story .story__card {
  padding: 30px 28px 28px !important;
}

#story .story__card::before {
  background: rgba(255, 255, 255, 0.2) !important;
}

#story .story__card--lead::before {
  background: linear-gradient(90deg, #5a9e4b, #7ec8a0) !important;
  left: 12px !important;
  right: auto !important;
  width: 48px;
  height: 4px !important;
  border-radius: 0 0 4px 4px !important;
}

#story .story__card--accent::before {
  background: #5a9e4b !important;
  left: 12px !important;
  right: auto !important;
  width: 36px;
}

#story .story__card--lead {
  background: linear-gradient(180deg, rgba(90, 158, 75, 0.1) 0%, var(--card-panel) 40%) !important;
  border-color: rgba(126, 200, 160, 0.22) !important;
  box-shadow: var(--card-shadow) !important;
}

#story .story__card--accent {
  background: var(--card-panel) !important;
  border-color: rgba(126, 200, 160, 0.18) !important;
}

#story .story__card-title {
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  padding-bottom: 0;
  border-bottom: none !important;
  display: block !important;
}

#story .story__card-title::before {
  display: none !important;
}

#story .story__lead {
  font-size: 1.0625rem !important;
  line-height: 1.72 !important;
}

#story .story__card p {
  font-size: 0.9375rem !important;
  line-height: 1.75 !important;
}

/*    Pillar cards    */
#story .pillar-card {
  padding: 24px 22px 22px !important;
  display: block !important;
}

#story .pillar-card::before {
  background: var(--pillar-color) !important;
  left: 12px !important;
  right: auto !important;
  width: 28px;
  height: 3px !important;
  border-radius: 0 0 3px 3px !important;
}

#story .pillar-card__body h3 {
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  color: var(--text-on-dark) !important;
  margin-bottom: 6px !important;
  display: block !important;
}

#story .pillar-card__body h3::before {
  display: none !important;
}

#story .pillar-card__body p {
  font-size: 0.8125rem !important;
  line-height: 1.58 !important;
}

#story .pillar-card:hover {
  transform: translateY(-2px) !important;
}

/*    Chapter cards    */
#chapters .ch-card__body {
  min-height: 175px !important;
  padding: 26px 22px 22px !important;
  border-radius: var(--card-radius) !important;
  position: relative !important;
}

#chapters .ch-card__body::before {
  background: var(--ch-accent) !important;
  left: 12px !important;
  right: auto !important;
  width: 32px;
  height: 3px !important;
}

#chapters .ch-card__body h3 {
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin-bottom: 8px !important;
  display: block !important;
  padding-right: 36px;
}

#chapters .ch-card__body h3::before {
  display: block !important;
  position: absolute;
  top: 18px;
  right: 16px;
  content: counter(ch-num, decimal-leading-zero) !important;
  counter-increment: ch-num;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0;
  text-transform: none !important;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ch-accent) 22%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--ch-accent) 45%, transparent);
  color: var(--ch-accent) !important;
}

#chapters .ch-card__body p {
  font-size: 0.8125rem !important;
  line-height: 1.62 !important;
}

#chapters .ch-card:hover .ch-card__body {
  transform: translateY(-2px) !important;
  box-shadow: var(--card-shadow-hover) !important;
}

#chapters .ch-card:hover .ch-card__glow {
  opacity: 0.5 !important;
}

/*    Character card    */
#characters .char-slide__card {
  padding: 36px 32px 28px !important;
  max-width: 640px;
  border-radius: var(--card-radius-lg) !important;
}

#characters .char-slide__card::before {
  background: linear-gradient(90deg, #e8a838, #f0c878, #e8a838) !important;
  left: 25% !important;
  right: 25% !important;
  height: 3px !important;
  content: '' !important;
  font-size: unset !important;
  transform: none !important;
  top: 0 !important;
}

#characters .char-slide__stars span {
  color: #e8a838 !important;
  font-size: 0.8125rem !important;
  letter-spacing: 2px;
}

#characters .char-slide__quote {
  margin-bottom: 20px;
}

#characters .char-slide__quote p {
  font-size: clamp(1rem, 1.8vw, 1.125rem) !important;
  line-height: 1.68 !important;
  font-weight: 500 !important;
}

#characters .char-slide__profile {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#characters .char-slide__avatar {
  width: 48px !important;
  height: 48px !important;
  background: rgba(251, 247, 240, 0.1) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: none !important;
}

/*    Real Animals    */
#inspirations .inspire-card.glass-card {
  border-radius: var(--card-radius) !important;
  border: 2px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: var(--card-shadow) !important;
  backdrop-filter: none !important;
}

#inspirations .inspire-card.glass-card:hover {
  transform: translateY(-3px) scale(1) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

#inspirations .glass-card__gradient {
  background: linear-gradient(
    180deg,
    rgba(4, 20, 36, 0.5) 0%,
    rgba(4, 20, 36, 0.82) 100%
  ) !important;
}

#inspirations .inspire-card--highlight.glass-card {
  border-color: rgba(232, 168, 56, 0.4) !important;
}

#inspirations .inspire-card--highlight.glass-card .glass-card__gradient {
  background: linear-gradient(
    180deg,
    rgba(4, 20, 36, 0.55) 0%,
    rgba(26, 80, 60, 0.75) 100%
  ) !important;
}

#inspirations .glass-card.is-active,
#inspirations .glass-card:focus-within {
  border-color: rgba(232, 168, 56, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.15), var(--card-shadow-hover) !important;
}

/*    Buy card    */
.buy__card {
  padding: clamp(28px, 4vw, 36px) !important;
  border-radius: var(--card-radius-lg) !important;
  background: linear-gradient(180deg, rgba(192, 57, 43, 0.08) 0%, var(--card-panel) 35%) !important;
}

.buy__card::before {
  background: linear-gradient(90deg, #c0392b, #e8554a) !important;
  left: 12px !important;
  right: auto !important;
  width: 56px;
  height: 4px !important;
}

.buy__content h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem) !important;
}

/*    Author quote    */
.author__quote {
  padding: 26px 28px !important;
  text-align: center;
  border-radius: var(--card-radius-lg) !important;
}

.author__quote::before {
  background: linear-gradient(90deg, #d4922a, #e8a838) !important;
  left: 30% !important;
  right: 30% !important;
}

.author__quote em {
  font-size: 1rem !important;
}

/*    Hunt    */
#hunt .hunt__inner {
  border-radius: var(--card-radius-lg) !important;
  padding-top: 36px !important;
  position: relative !important;
}

#hunt .hunt__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #5a9e4b, #7ec8a0);
  pointer-events: none;
}

@media (max-width: 768px) {
  :root {
    --card-radius: 14px;
    --card-radius-lg: 16px;
    --card-radius-sm: 10px;
  }

  .quote-card,
  #story .story__card,
  #story .pillar-card,
  .buy__card,
  #characters .char-slide__card,
  #chapters .ch-card__body,
  .author__quote {
    padding-top: 24px !important;
  }

  .quote-card {
    padding: 24px 14px 18px !important;
  }

  .quote-card p {
    font-size: 0.72rem !important;
    line-height: 1.45 !important;
  }

  .quote-card--featured p {
    font-size: 0.78rem !important;
  }

  #story .story__card {
    padding: 24px 18px 20px !important;
  }

  #chapters .ch-card__body h3::before {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 0.625rem !important;
    top: 14px;
    right: 12px;
  }

  #characters .char-slide__card {
    padding: 28px 20px 22px !important;
  }
}

/* ============================================
   V58   Centered header + scroll full-width line
   ============================================ */

.header {
  position: fixed;
  display: flex;
  justify-content: center;
  padding-left: 24px;
  padding-right: 24px;
}

.header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(126, 200, 160, 0.35) 15%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(126, 200, 160, 0.35) 85%,
    transparent 100%
  );
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  pointer-events: none;
  z-index: 1;
}

.header--scrolled::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Desktop   centered floating nav */
@media (min-width: 769px) {
  .header .header__inner.container {
    width: fit-content;
    max-width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
  }

  .header .nav {
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .header .nav__logo {
    margin-right: 12px;
  }

  .header .nav__menu {
    justify-content: center;
  }

  .header--scrolled .header__inner {
    padding: 10px 24px !important;
    margin-inline: auto;
  }
}

/* Mobile   logo center, menu toggle right */
@media (max-width: 768px) {
  .header {
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: stretch;
  }

  .header .header__inner.container {
    width: min(1200px, calc(100% - 32px));
    margin-inline: auto;
  }

  .header .nav {
    justify-content: center;
    min-height: 44px;
  }

  .header .nav__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-right: 0;
    z-index: 2;
  }

  .header .nav__toggle {
    margin-left: auto;
    position: relative;
    z-index: 3;
  }

  /* Scroll line via ::after; drop static border */
  .header {
    border-bottom: none !important;
    background: #061f33 !important;
    box-shadow: none !important;
  }

  .header--scrolled {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28) !important;
  }

  .header--scrolled::after {
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(126, 200, 160, 0.4) 12%,
      rgba(255, 255, 255, 0.22) 50%,
      rgba(126, 200, 160, 0.4) 88%,
      transparent 100%
    );
  }
}

/* ============================================
   V59   Remove hero card left accent line
   ============================================ */

.hero--storybook .hero__spread-inner {
  border-left: none !important;
  border-top: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  padding-top: 0 !important;
  box-shadow: none !important;
}

/* ============================================
   V60   Chapters cards: no icons or numbers
   ============================================ */

#chapters .ch-card > .chapter-card__icon-art,
#chapters .ch-card__icon {
  display: none !important;
}

#chapters .chapters__grid {
  counter-reset: none !important;
}

#chapters .ch-card__body::before {
  display: none !important;
  content: none !important;
}

#chapters .ch-card__body h3::before {
  display: none !important;
  content: none !important;
}

#chapters .ch-card__body h3 {
  display: block !important;
  flex-direction: unset !important;
  padding-right: 0 !important;
  gap: 0 !important;
}

/* ============================================
   V61   Hero card match screenshot design
   Teal panel · L-corner · centered layout
   ============================================ */

.hero--storybook .hero__spread {
  background: linear-gradient(
    180deg,
    rgba(12, 52, 62, 0.88) 0%,
    rgba(8, 38, 54, 0.94) 45%,
    rgba(6, 30, 46, 0.96) 100%
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 32px !important;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  padding: clamp(28px, 4vw, 40px) clamp(22px, 3.5vw, 36px) !important;
  text-align: center !important;
  align-items: center !important;
  overflow: hidden;
}

/* L-shaped gold corner accent   top-left only */
.hero--storybook .hero__spread::before {
  display: block !important;
  content: '' !important;
  position: absolute;
  top: 16px;
  left: 16px;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(232, 168, 56, 0.5);
  border-right: none;
  border-bottom: none;
  border-radius: 10px 0 0 0;
  background: none !important;
  box-shadow: none !important;
  pointer-events: none;
  z-index: 2;
}

.hero--storybook .hero__spread::after {
  display: none !important;
}

.hero--storybook .hero__spread-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Badge */
.hero--storybook .hero__badge {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px !important;
  margin-bottom: 22px !important;
  background: rgba(0, 0, 0, 0.22) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

.hero--storybook .hero__badge-dot {
  width: 8px !important;
  height: 8px !important;
  background: #4caf50 !important;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.5) !important;
  animation: none !important;
  flex-shrink: 0;
}

/* Title */
.hero--storybook .hero__title {
  font-size: clamp(2.75rem, 8vw, 4.25rem) !important;
  line-height: 1 !important;
  margin-bottom: 8px !important;
  width: 100%;
}

.hero--storybook .hero__title-line--small {
  display: block;
  font-size: 0.34em !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: #7ec8a0 !important;
  -webkit-text-fill-color: #7ec8a0 !important;
  background: none !important;
  margin-bottom: 6px !important;
}

.hero--storybook .hero__title-line--accent {
  display: block;
  background: linear-gradient(90deg, #8ed4f0 0%, #6ec4e8 45%, #7ed0ec 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  filter: none !important;
  text-shadow: none !important;
}

.hero--storybook .hero__subtitle {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(1.125rem, 2.4vw, 1.5rem) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: #c9a050 !important;
  text-shadow: none !important;
  margin-bottom: 10px !important;
}

.hero--storybook .hero__author {
  font-size: 0.875rem !important;
  color: rgba(210, 220, 230, 0.75) !important;
  margin-bottom: 0 !important;
  padding-bottom: 18px !important;
  margin-bottom: 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  width: 100%;
}

.hero--storybook .hero__author strong {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 600 !important;
}

/* Review box */
.hero--storybook .hero__rating {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  align-self: center !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: 8px !important;
  margin-bottom: 18px !important;
  padding: 14px 18px !important;
  border-radius: 14px !important;
  background: rgba(0, 0, 0, 0.18) !important;
  border: 1px solid rgba(201, 160, 80, 0.45) !important;
  box-shadow: none !important;
  text-align: left;
}

.hero--storybook .hero__stars {
  font-size: 0.875rem !important;
  letter-spacing: 0.15em !important;
  color: #e8a838 !important;
  text-shadow: none !important;
  line-height: 1;
}

.hero--storybook .hero__rating-text {
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: rgba(201, 160, 80, 0.92) !important;
  line-height: 1.45 !important;
}

/* Tagline */
.hero--storybook .hero__tagline {
  font-size: 0.9375rem !important;
  line-height: 1.65 !important;
  color: rgba(210, 220, 230, 0.82) !important;
  margin-bottom: 22px !important;
  max-width: 100% !important;
  text-align: center !important;
  margin-inline: auto;
}

/* Buttons */
.hero--storybook .hero__actions {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin-bottom: 22px !important;
}

.hero--storybook .hero__actions .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  padding: 13px 16px !important;
  border-radius: 999px !important;
  white-space: nowrap;
}

.hero--storybook .btn--primary {
  background: linear-gradient(90deg, #e8554a 0%, #d94a3e 50%, #c0392b 100%) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(192, 57, 43, 0.45) !important;
}

.hero--storybook .btn--primary:hover {
  box-shadow: 0 6px 24px rgba(192, 57, 43, 0.55) !important;
  transform: translateY(-1px) !important;
}

.hero--storybook .btn--glass {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: none !important;
}

.hero--storybook .btn--glass:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
}

/* Stats   single dark bar */
.hero--storybook .hero__stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 4px !important;
  margin: 0 !important;
  background: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  overflow: hidden;
}

.hero--storybook .hero__stat {
  flex: unset !important;
  min-height: 72px !important;
  padding: 12px 8px !important;
  background: transparent !important;
  border: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  text-align: center;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
}

.hero--storybook .hero__stat:last-child {
  border-right: none !important;
}

.hero--storybook .hero__stat:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  transform: none !important;
}

.hero--storybook .hero__stat-num {
  font-size: 1.375rem !important;
  font-weight: 700 !important;
  color: #7ec8a0 !important;
  text-shadow: none !important;
}

.hero--storybook .hero__stat-label {
  font-size: 0.5625rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(200, 215, 228, 0.65) !important;
  line-height: 1.25 !important;
}

.hero--storybook .hero__stat--icon {
  gap: 4px !important;
}

.hero--storybook .hero__stat-icon {
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  filter: none !important;
}

.hero--storybook .hero__stat-icon svg {
  width: 16px;
  height: 16px;
}

/* Override desktop left-align from older blocks */
@media (min-width: 769px) {
  .hero--storybook .hero__spread,
  .hero--storybook .hero__spread-inner {
    text-align: center !important;
    align-items: center !important;
  }

  .hero--storybook .hero__rating {
    align-self: center !important;
  }

  .hero--storybook .hero__actions {
    justify-content: center !important;
  }

  .hero--storybook .hero__tagline {
    margin-inline: auto !important;
  }
}

@media (max-width: 768px) {
  .hero--storybook .hero__spread {
    border-radius: 28px !important;
    padding: 24px 18px !important;
  }

  .hero--storybook .hero__spread::before {
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
  }

  .hero--storybook .hero__title {
    font-size: clamp(2.5rem, 11vw, 3.25rem) !important;
  }

  .hero--storybook .hero__actions .btn {
    font-size: 0.75rem !important;
    padding: 12px 10px !important;
  }

  .hero--storybook .hero__stat-num {
    font-size: 1.25rem !important;
  }

  .hero--storybook .hero__stat-label {
    font-size: 0.5rem !important;
  }
}

/* ============================================
   V62   Solid opaque header on scroll
   Nothing visible behind header when scrolling
   ============================================ */

.header--scrolled {
  background: #061f33 !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.32) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.header--scrolled .header__inner {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

@media (min-width: 769px) {
  .header--scrolled {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .header--scrolled .header__inner {
    padding: 10px 24px !important;
  }
}

/* ============================================
   V63   Mobile header left-aligned (desktop unchanged)
   ============================================ */

@media (max-width: 768px) {
  .header {
    justify-content: flex-start !important;
  }

  .header .header__inner.container {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 16px !important;
  }

  .header .nav {
    justify-content: space-between !important;
    width: 100%;
  }

  .header .nav__logo {
    position: static !important;
    left: auto !important;
    transform: none !important;
    margin-right: 0 !important;
    z-index: 2;
  }

  .header .nav__toggle {
    margin-left: 0 !important;
  }
}

/* ============================================
   V64   Desktop pill header (screenshot style)
   Logo left · nav right · gold accents
   ============================================ */

@media (min-width: 769px) {
  .header {
    padding: 18px 32px !important;
    justify-content: center !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .header::after {
    display: none !important;
  }

  .header--scrolled {
    background: transparent !important;
    box-shadow: none !important;
  }

  .header .header__inner.container {
    width: min(1120px, calc(100% - 64px)) !important;
    max-width: min(1120px, calc(100% - 64px)) !important;
    margin-inline: auto !important;
    padding: 11px 28px !important;
    background: rgba(24, 28, 34, 0.9) !important;
    backdrop-filter: blur(18px) saturate(1.1) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.38) !important;
  }

  .header--scrolled .header__inner {
    background: rgba(24, 28, 34, 0.97) !important;
    padding: 11px 28px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 12px 44px rgba(0, 0, 0, 0.42) !important;
  }

  .header .nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 20px !important;
    flex-wrap: nowrap !important;
  }

  .header .nav__logo {
    flex-shrink: 0;
    margin-right: 0 !important;
    gap: 10px !important;
    color: #fff !important;
  }

  .header .nav__logo:hover {
    opacity: 1 !important;
  }

  .header .nav__logo-mark {
    width: 18px !important;
    height: 18px !important;
    color: #d4a843 !important;
    flex-shrink: 0;
  }

  .header .nav__logo-mark svg {
    width: 100% !important;
    height: 100% !important;
  }

  .header .nav__logo-text {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 1.125rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.02em !important;
    color: rgba(255, 255, 255, 0.95) !important;
    white-space: nowrap;
  }

  .header .nav__menu {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 2px !important;
    margin-left: auto !important;
    flex-wrap: nowrap !important;
  }

  .header .nav__link {
    font-family: var(--font-body) !important;
    font-size: 0.625rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.13em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.58) !important;
    padding: 8px 10px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    white-space: nowrap;
    transition: color 0.25s ease, box-shadow 0.25s ease !important;
  }

  .header .nav__link:hover {
    color: rgba(255, 255, 255, 0.88) !important;
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .header .nav__link--active {
    color: rgba(255, 255, 255, 0.92) !important;
    background: transparent !important;
    box-shadow: inset 0 -2px 0 #d4a843 !important;
  }

  .header .nav__link--cta {
    margin-left: 10px !important;
    padding: 9px 16px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.5625rem !important;
    letter-spacing: 0.14em !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }

  .header .nav__link--cta:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .header .nav__link--cta.nav__link--active {
    box-shadow: none !important;
    border-color: rgba(212, 168, 67, 0.55) !important;
    color: #fff !important;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .header .header__inner.container {
    width: min(100%, calc(100% - 40px)) !important;
    max-width: min(100%, calc(100% - 40px)) !important;
    padding: 10px 18px !important;
  }

  .header .nav__link {
    font-size: 0.5625rem !important;
    padding: 8px 7px !important;
    letter-spacing: 0.1em !important;
  }

  .header .nav__link--cta {
    padding: 8px 12px !important;
    margin-left: 6px !important;
  }

  .header .nav__logo-text {
    font-size: 1rem !important;
  }
}

/* ============================================
   V65   Original logo + pill border line (desktop)
   ============================================ */

@media (min-width: 769px) {
  .header .header__inner.container {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow:
      0 10px 40px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(212, 168, 67, 0.28) !important;
  }

  .header .header__inner.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 6%;
    right: 6%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(212, 168, 67, 0.55) 20%,
      rgba(232, 200, 140, 0.75) 50%,
      rgba(212, 168, 67, 0.55) 80%,
      transparent 100%
    );
    pointer-events: none;
    z-index: 2;
  }

  .header--scrolled .header__inner {
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow:
      0 12px 44px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(212, 168, 67, 0.32) !important;
  }

  .header::after {
    display: block !important;
  }

  .header .nav__logo-mark {
    width: 36px !important;
    height: 36px !important;
    color: var(--barn) !important;
  }

  .header .nav__logo-text {
    font-family: var(--font-body) !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    color: rgba(255, 255, 255, 0.95) !important;
  }
}

/* ============================================
   V66   Opaque header on scroll (no bleed behind line)
   Desktop: solid bar + opaque pill · Mobile: solid bar
   ============================================ */

.header--scrolled {
  background: #061f33 !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (min-width: 769px) {
  .header--scrolled {
    padding: 12px 32px !important;
    background: #061f33 !important;
    box-shadow: none !important;
  }

  .header--scrolled .header__inner.container {
    background: #181c22 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow:
      0 8px 28px rgba(0, 0, 0, 0.35),
      inset 0 1px 0 rgba(212, 168, 67, 0.3) !important;
  }

  .header--scrolled::after {
    display: block !important;
    opacity: 1 !important;
    transform: scaleX(1) !important;
    z-index: 3;
  }
}

@media (max-width: 768px) {
  .header--scrolled {
    background: #061f33 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28) !important;
  }

  .header--scrolled .header__inner {
    background: transparent !important;
  }

  .header--scrolled::after {
    opacity: 1 !important;
    transform: scaleX(1) !important;
  }
}

/* ============================================
   V67   Mobile: hero card flush under header
   Desktop unchanged
   ============================================ */

@media (max-width: 768px) {
  .hero,
  .hero--storybook {
    min-height: auto !important;
    align-items: flex-start !important;
    padding-top: var(--header-h) !important;
    padding-bottom: 56px !important;
  }

  .hero--storybook .hero__stage.container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-inline: 0 !important;
    gap: 20px !important;
  }

  /* Card first   directly under header */
  .hero--storybook .hero__spread {
    order: 1 !important;
    margin-top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 0 24px 24px !important;
    border-top: none !important;
  }

  .hero--storybook .hero__spread::before {
    top: 14px;
    left: 14px;
  }

  .hero--storybook .hero__visual {
    order: 2 !important;
    padding-inline: 16px;
  }
}

/* ============================================
   V68   Mobile hero card: visible border + side gap
   Desktop unchanged
   ============================================ */

@media (max-width: 768px) {
  .hero--storybook .hero__stage.container {
    padding-inline: 14px !important;
  }

  .hero--storybook .hero__spread {
    border-radius: 22px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow:
      0 16px 40px rgba(0, 0, 0, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
  }
}

/* ============================================
   V69   Mobile hero card: small gap from top
   Desktop unchanged
   ============================================ */

@media (max-width: 768px) {
  .hero--storybook {
    padding-top: calc(var(--header-h) + 10px) !important;
  }
}

/* ============================================
   V70   Larger header text
   ============================================ */

@media (min-width: 769px) {
  .header .nav__logo-text {
    font-size: 1.25rem !important;
  }

  .header .nav__link {
    font-size: 0.75rem !important;
    padding: 9px 11px !important;
  }

  .header .nav__link--cta {
    font-size: 0.6875rem !important;
    padding: 10px 18px !important;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .header .nav__link {
    font-size: 0.6875rem !important;
  }

  .header .nav__logo-text {
    font-size: 1.125rem !important;
  }
}

@media (max-width: 768px) {
  .header .nav__logo-text {
    font-size: 1.125rem !important;
  }

  .nav__menu .nav__link {
    font-size: 1.0625rem !important;
  }
}

/* ============================================
   V71   Header borders on scroll only, plain at top
   Two lines on scroll: pill border + gold top + bottom line
   ============================================ */

.header:not(.header--scrolled)::after {
  opacity: 0 !important;
  transform: scaleX(0.6) !important;
}

@media (min-width: 769px) {
  /* Top   plain floating nav, no borders */
  .header:not(.header--scrolled) {
    background: transparent !important;
    box-shadow: none !important;
  }

  .header:not(.header--scrolled) .header__inner.container {
    background: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .header:not(.header--scrolled) .header__inner.container::before {
    opacity: 0 !important;
  }

  /* Scrolled   pill border + gold top line */
  .header--scrolled .header__inner.container::before {
    opacity: 1 !important;
  }

  .header .header__inner.container::before {
    transition: opacity 0.35s var(--ease-out);
  }

  .header--scrolled::after {
    opacity: 1 !important;
    transform: scaleX(1) !important;
  }
}

@media (max-width: 768px) {
  .header:not(.header--scrolled)::after {
    opacity: 0 !important;
    transform: scaleX(0.6) !important;
  }

  .header--scrolled::after {
    opacity: 1 !important;
    transform: scaleX(1) !important;
  }
}
