/* =========================================
   THE BIGGEST SPLASH - Watercolor Theme
   ========================================= */

/* ---------- CSS Variables ---------- */
:root {
  --sky-blue: #B8D8E8;
  --sky-light: #D6EAF2;
  --lake-deep: #3A7CA5;
  --lake-mid: #5BA4CF;
  --lake-light: #7EC8E3;
  --sunset-orange: #E8924A;
  --sunset-gold: #F4C35A;
  --sunset-pink: #E8A4A4;
  --sunset-rose: #D4727A;
  --forest-green: #5B8C5A;
  --forest-light: #8BB88A;
  --warm-cream: #FDF5E6;
  --warm-beige: #F0E0C8;
  --paper-white: #FEFCF8;
  --brown-dark: #5A3E1B;
  --brown-mid: #8B6914;
  --text-dark: #2C1810;
  --text-mid: #5A4234;
  --text-light: #8A7668;
  --foundation-bg: #E8F4E8;
  --author-bg: #F5EDE3;

  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --nav-height: 70px;
  --container-width: 1200px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 20px rgba(44, 24, 16, 0.1);
  --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.15);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--paper-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.section-title.title-light { color: white; }
.title-icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 0.8em;
}
.section-subtitle {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.5;
}
.section-subtitle.subtitle-light { color: rgba(255,255,255,0.9); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--sunset-orange);
  color: white;
  box-shadow: 0 4px 15px rgba(232, 146, 74, 0.4);
}
.btn-primary:hover {
  background: #D4802A;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232, 146, 74, 0.5);
}
.btn-secondary {
  background: white;
  color: var(--lake-deep);
  border: 2px solid var(--lake-mid);
}
.btn-secondary:hover {
  background: var(--lake-deep);
  color: white;
  transform: translateY(-2px);
}
.btn-game {
  background: var(--sunset-gold);
  color: var(--text-dark);
  font-size: 1rem;
  padding: 10px 24px;
}
.btn-game:hover { background: #E0B040; transform: translateY(-1px); }
.btn-large { padding: 18px 40px; font-size: 1.2rem; }

.btn-splash {
  overflow: visible;
}
.btn-wave {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 12px;
  opacity: 0.4;
}

/* ---------- Navigation ---------- */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(254, 252, 248, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
#main-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.nav-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}
.logo-the { color: var(--text-mid); }
.logo-biggest { color: var(--lake-deep); }
.logo-splash { color: var(--sunset-orange); }

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--lake-deep); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lake-mid);
  transition: width 0.3s;
  border-radius: 1px;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--sunset-orange) !important;
  color: white !important;
  padding: 8px 20px;
  border-radius: 50px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #D4802A !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- Section Waves ---------- */
.section-wave-top {
  position: relative;
  margin-top: -2px;
}
.section-wave-top svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ---------- HERO SECTION ---------- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #D6EAF2 0%,
    #B8D8E8 30%,
    #E8C8A0 60%,
    #E8A88A 80%,
    #D4A0B4 100%
  );
  z-index: 0;
}
.water-shimmer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(58, 124, 165, 0.15));
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: var(--container-width);
  width: 100%;
}

.hero-book-wrapper {
  position: relative;
  flex-shrink: 0;
}
.hero-book-cover {
  width: 340px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg), 0 20px 60px rgba(0,0,0,0.2);
  animation: float 6s ease-in-out infinite;
  transition: transform 0.3s;
}
.hero-book-cover:hover {
  transform: scale(1.03) rotate(-1deg);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Splash drops around book */
.splash-drops { position: absolute; inset: -30px; pointer-events: none; }
.drop {
  position: absolute;
  width: 12px;
  height: 12px;
  background: rgba(126, 200, 227, 0.6);
  border-radius: 50%;
  animation: dropFloat 3s ease-in-out infinite;
}
.drop-1 { top: 10%; left: -10%; animation-delay: 0s; }
.drop-2 { top: 30%; right: -8%; animation-delay: 0.5s; }
.drop-3 { bottom: 20%; left: -5%; animation-delay: 1s; }
.drop-4 { bottom: 10%; right: -12%; animation-delay: 1.5s; }
.drop-5 { top: 50%; left: -15%; animation-delay: 2s; width: 8px; height: 8px; }
@keyframes dropFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-15px) scale(1.3); opacity: 1; }
}

.hero-text {
  flex: 1;
  text-align: left;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-mid);
  margin-bottom: 16px;
  font-style: italic;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 16px;
}
.title-the {
  display: block;
  color: var(--text-mid);
  font-size: 0.5em;
}
.title-biggest {
  color: var(--lake-deep);
  text-shadow: 2px 2px 0 rgba(255,255,255,0.5);
}
.title-splash {
  color: var(--sunset-orange);
  text-shadow: 2px 2px 0 rgba(255,255,255,0.5);
}
.hero-author {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.coming-soon-badge {
  display: inline-block;
  background: var(--sunset-gold);
  color: var(--text-dark);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 1.1rem;
  margin-bottom: 24px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.scroll-indicator {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-indicator span {
  display: block;
  font-family: var(--font-display);
  color: var(--text-mid);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.scroll-arrow svg {
  width: 24px;
  height: 24px;
  color: var(--lake-deep);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- CHARACTERS ---------- */
#characters {
  background: var(--sky-light);
  padding: 40px 0 80px;
}
.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.character-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.character-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: var(--shadow-lg);
}
.character-card.active {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(58, 124, 165, 0.3);
  border: 3px solid var(--lake-mid);
}
.character-img-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 8px;
  padding: 24px 28px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.character-img-wrap img {
  width: 100%;
  height: 100%;
  max-width: 86%;
  max-height: 86%;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 0.4s;
  filter: drop-shadow(0 6px 12px rgba(44, 24, 16, 0.15));
}
.character-card:hover .character-img-wrap img {
  transform: scale(1.04);
}
/* Wide white-background JPEGs: zoom & crop so the subject fills the card like the transparent PNGs.
   Drop the silhouette shadow (it traces the rectangular image edge instead of the animal). */
.character-card[data-character="turtle"] .character-img-wrap img {
  object-fit: cover;
  object-position: center center;
  filter: none;
}
.character-card[data-character="dragonfly"] .character-img-wrap img {
  object-fit: contain;
  object-position: center center;
  filter: none;
  max-height: 75%;
  max-width: 75%;
}
.character-splash {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 80%;
  height: 20px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(126,200,227,0.35) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.character-card:hover .character-splash { opacity: 1; }

.character-card h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.character-role {
  font-family: var(--font-display);
  color: var(--sunset-orange);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.character-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s;
}
.character-card.active .character-details {
  max-height: 300px;
  padding-top: 12px;
}
.character-details p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-mid);
  margin-bottom: 10px;
}
.character-quote {
  display: block;
  font-style: italic;
  color: var(--lake-deep);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- GAMES SECTION ---------- */
#games {
  background: var(--lake-deep);
  padding: 40px 0 80px;
}
.game-section {
  margin-bottom: 60px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(5px);
}
.game-section:last-child { margin-bottom: 0; }
.game-header {
  text-align: center;
  margin-bottom: 24px;
}
.game-header h3 {
  font-size: 1.8rem;
  color: var(--sunset-gold);
  margin-bottom: 8px;
}
.game-header p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
}
.game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.game-container canvas {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  cursor: pointer;
}
.game-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.game-score {
  font-family: var(--font-display);
  color: white;
  font-size: 1.1rem;
}

/* Pyramid game character tray */
.game-characters-tray {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 16px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius);
  min-height: 90px;
}
.tray-character {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  cursor: grab;
  transition: transform 0.2s;
  border: 3px solid var(--sunset-gold);
  background: white;
}
.tray-character:hover { transform: scale(1.1); }
.tray-character img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
}
.tray-character.placed {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* Mobile game controls */
.mobile-controls {
  display: none;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.mobile-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--sunset-gold);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.mobile-btn:active { transform: scale(0.95); background: #E0B040; }

/* ---------- ACTIVITIES ---------- */
#activities {
  background: var(--warm-cream);
  padding: 40px 0 80px;
}
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.bundle-grid {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.bundle-card {
  text-align: center;
  padding: 40px 32px;
}
.bundle-card .btn { margin-top: 8px; }
.bundle-card .bundle-notify { margin-left: 8px; margin-top: 12px; }

/* Press download password gate */
.press-gate {
  max-width: 460px;
  margin: 0 auto 40px;
  padding: 28px 32px;
  background: white;
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow, 0 6px 14px rgba(0,0,0,0.08));
  text-align: center;
}
.press-gate-msg { margin: 0 0 16px; color: var(--text-mid, #4a5a66); font-size: 0.95rem; line-height: 1.5; }
.press-gate-form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.press-gate-form input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid #d6dde2;
  border-radius: 999px;
  font: inherit;
}
.press-gate-error { margin: 12px 0 0; color: #c0392b; font-size: 0.9rem; }
.bundle-badge {
  display: inline-block;
  background: var(--sunset-orange, #f3923f);
  color: white;
  font-family: var(--font-display, 'Fredoka'), sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.btn-disabled,
.btn-disabled:hover {
  background: #c9d2da;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  opacity: 0.85;
}
.bundle-fineprint {
  font-size: 0.9rem;
  color: var(--text-light, #6b7a85);
  margin: 14px 0 0;
}
.seo-prose {
  max-width: 760px;
  margin: 56px auto 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark, #1f3140);
}
.seo-prose h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.seo-prose p { margin-bottom: 16px; }
.seo-prose strong { color: var(--lake-deep, #1a4f6b); }
.activity-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}
.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.activity-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.activity-card h3 {
  font-size: 1.3rem;
  color: var(--lake-deep);
  margin-bottom: 8px;
}
.activity-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.coming-soon-small {
  display: inline-block;
  background: var(--warm-beige);
  color: var(--text-mid);
  font-family: var(--font-display);
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: 50px;
}

/* Teacher callout */
.teacher-callout {
  display: flex;
  align-items: center;
  gap: 40px;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.teacher-content {
  flex: 1;
  padding: 40px;
}
.teacher-content h3 {
  font-size: 1.6rem;
  color: var(--lake-deep);
  margin-bottom: 12px;
}
.teacher-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.teacher-img {
  width: 45%;
  max-height: 300px;
  object-fit: cover;
}

/* ---------- FOUNDATION ---------- */
#foundation {
  background: var(--foundation-bg);
  padding: 40px 0 80px;
}
.foundation-layout {
  display: flex;
  align-items: center;
  gap: 48px;
}
.foundation-text { flex: 1; }
.foundation-title { text-align: left; }
.foundation-tagline {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--lake-deep);
  margin-bottom: 16px;
}
.foundation-text > p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin-bottom: 24px;
}
.foundation-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.pillar {
  text-align: center;
  padding: 20px 12px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pillar-icon { font-size: 2rem; margin-bottom: 8px; }
.pillar h4 {
  font-size: 1rem;
  color: var(--lake-deep);
  margin-bottom: 6px;
}
.pillar p {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-mid);
}
.foundation-visual {
  flex: 0 0 400px;
}
.foundation-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- AUTHOR ---------- */
#author {
  background: var(--author-bg);
  padding: 40px 0 80px;
}
.author-layout {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}
.author-photo-wrap {
  flex: 0 0 280px;
  margin-bottom: 40px;
}
.author-photo {
  width: 280px;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 4px solid white;
  display: block;
}
@media (max-width: 480px) {
  .author-photo { width: 220px; height: 260px; }
}
.author-photo-placeholder {
  width: 280px;
  height: 320px;
  background: var(--warm-beige);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  border: 4px solid white;
}
.author-photo-placeholder span {
  font-family: var(--font-display);
  color: var(--text-light);
  font-size: 1.1rem;
}
.author-photo-note {
  color: var(--text-mid);
  font-weight: 600;
  margin-top: 8px;
}
.author-bio h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.author-bio p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.author-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lake-deep);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover {
  background: var(--sunset-orange);
  transform: translateY(-2px);
}

/* ---------- SIGNUP ---------- */
#signup,
#educator-signup {
  background: linear-gradient(135deg, var(--lake-deep), var(--lake-mid));
  padding: 40px 0 80px;
}
.signup-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.signup-character {
  width: auto;
  height: 280px;
  flex-shrink: 0;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.2));
}
.signup-splash-image {
  flex-shrink: 0;
  width: 45%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
  object-fit: cover;
}
@media (max-width: 768px) {
  .signup-splash-image { width: 90%; max-width: 420px; }
}
.signup-text {
  flex: 1;
  color: white;
}
.signup-text h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.signup-text > p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 24px;
}
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-row {
  display: flex;
  gap: 12px;
}
.form-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.form-input::placeholder { color: rgba(255,255,255,0.6); }
.form-input:focus {
  border-color: var(--sunset-gold);
  background: rgba(255,255,255,0.25);
}
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-check label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--sunset-gold);
}
.signup-note {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 8px;
}

/* Signup success state */
.signup-success {
  text-align: center;
  padding: 24px;
}
.signup-success h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.signup-success p {
  opacity: 0.9;
}

/* ---------- FOOTER ---------- */
#footer {
  background: var(--lake-deep);
  color: white;
  padding: 0 0 32px;
}
.footer-wave {
  margin-bottom: 32px;
}
.footer-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.footer-brand p {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 4px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; }
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.footer-social a:hover { background: var(--sunset-orange); }
.footer-social svg { width: 16px; height: 16px; }

/* ---------- Scroll Animations ---------- */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-book-cover { width: 260px; }
  .hero-text { text-align: center; }
  .title-the { display: inline; }

  .foundation-layout {
    flex-direction: column;
  }
  .foundation-visual { flex: auto; }
  .foundation-title { text-align: center; }
  .foundation-pillars { grid-template-columns: 1fr; }

  .teacher-callout { flex-direction: column; }
  .teacher-img { width: 100%; }

  .author-layout { flex-direction: column; text-align: center; }
  .author-photo-wrap { flex: auto; }
  .author-social { justify-content: center; }

  .signup-content { flex-direction: column; text-align: center; }
  .signup-character { width: 150px; }
  .form-row { flex-direction: column; }

  .footer-content { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-social { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--paper-white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .scroll-indicator { display: none; }

  .characters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .character-img-wrap { width: 120px; height: 120px; }

  .game-container canvas {
    width: 100%;
    height: auto;
  }
  .mobile-controls { display: flex; }

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

@media (max-width: 480px) {
  .characters-grid {
    grid-template-columns: 1fr;
  }
  .hero-book-cover { width: 220px; }
}

/* ---------- iPhone-optimized vertical layout ---------- */
@media (max-width: 480px) {
  html { -webkit-text-size-adjust: 100%; }
  body { overflow-x: hidden; }
  .container { padding-left: 18px; padding-right: 18px; }
  section { padding: 60px 0; }

  /* Nav */
  .nav-inner { padding: 0 16px; }
  .nav-logo { font-size: 1.1rem; }
  .nav-links { gap: 12px; padding: 16px; }

  /* Hero — size to content on mobile (single CTA needs less vertical room than 100svh). */
  #hero { min-height: auto; padding: calc(var(--nav-height) + 16px) 16px 40px; align-items: center; }
  .hero-content { padding: 0; gap: 10px; flex-direction: column; align-items: center; width: 100%; }
  .hero-book-wrapper { margin: 0 auto; }
  .hero-book-cover { width: 160px; }
  .hero-tagline { font-size: 0.85rem; margin-bottom: 2px; }
  .hero-title { font-size: clamp(2rem, 11vw, 2.8rem); line-height: 0.95; margin: 0; }
  .hero-author { font-size: 0.85rem; margin: 4px 0; }
  .hero-coming-soon { margin: 4px 0; }
  .coming-soon-badge { font-size: 0.85rem; padding: 6px 14px; }
  .btn { font-size: 0.95rem; padding: 12px 22px; }

  /* Section titles */
  .section-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .section-subtitle { font-size: 1rem; padding: 0 4px; }

  /* Characters single column, full width images */
  .characters-grid { grid-template-columns: 1fr; gap: 18px; }
  .character-card { padding: 20px; }
  .character-img-wrap { width: 180px; height: 180px; }
  .character-card h3 { font-size: 1.4rem; }

  /* Games */
  .game-section { padding: 18px; }
  .game-header h3 { font-size: 1.3rem; }
  #boat-canvas { width: 100% !important; height: auto !important; aspect-ratio: 8 / 5; }
  .mobile-controls { display: grid; grid-template-columns: repeat(3, 56px); gap: 8px; justify-content: center; margin-top: 12px; }
  .mobile-btn { font-size: 1.4rem; padding: 14px 0; }

  /* Activities */
  .activities-grid { gap: 16px; }
  .activity-card { padding: 22px; }
  .teacher-callout { padding: 22px; gap: 18px; }

  /* Author */
  .author-photo-placeholder { width: 200px; height: 200px; }
  .author-bio h3 { font-size: 1.6rem; }

  /* Signup */
  .signup-content { padding: 30px 20px; gap: 18px; }
  .signup-character { width: 140px; height: auto; }
  .form-input { font-size: 1rem; padding: 14px 16px; }
  .btn-large { width: 100%; }

  /* Footer */
  .footer-content { padding: 30px 0 20px; gap: 18px; }
  .footer-links { flex-wrap: wrap; gap: 12px 18px; }
}

/* =========================================
   V3 additions: multi-page + buy + leadmagnet + press + educators
   ========================================= */

/* ---------- Hero kicker + tagline + CTA group ---------- */
.hero-kicker {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sunset-orange);
  margin-bottom: 8px;
}
.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin: 12px 0 4px;
  max-width: 520px;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.hero-cta-group .btn { flex: 0 0 auto; }

/* ---------- Nav active state ---------- */
.nav-links a.nav-active {
  color: var(--sunset-orange);
  font-weight: 700;
}

/* ---------- Subpage hero ---------- */
.page-subpage { background: var(--paper-white); }
.subpage-hero {
  padding: calc(var(--nav-height) + 60px) 24px 48px;
  background: linear-gradient(180deg, var(--sky-light) 0%, var(--paper-white) 100%);
  text-align: center;
}
.subpage-hero .container { max-width: 820px; margin: 0 auto; }
.subpage-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--lake-deep);
  margin: 8px 0 12px;
  line-height: 1.1;
}
.subpage-tagline {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto 20px;
}

/* ---------- #buy section ---------- */
#buy {
  background: linear-gradient(180deg, var(--sky-blue) 0%, var(--sky-light) 100%);
  padding: 80px 0;
  position: relative;
}
.buy-layout {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}
.buy-visual {
  position: relative;
  flex: 0 0 auto;
}
.buy-cover {
  width: 320px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: block;
}
.buy-badge {
  position: absolute;
  top: -14px;
  right: -14px;
  background: var(--sunset-orange);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 999px;
  transform: rotate(6deg);
  box-shadow: var(--shadow);
}
.buy-text { flex: 1; }
.buy-tagline {
  font-size: 1.2rem;
  color: var(--text-mid);
  margin: 6px 0 18px;
}
.buy-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-mid);
}
.buy-specs li { padding-left: 22px; position: relative; }
.buy-specs li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.45em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--lake-light);
}
.buy-cta-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 16px;
  align-items: flex-start;
}

/* ---------- Primary direct-buy block ---------- */
.buy-primary {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 14px;
  width: 100%;
  max-width: 520px;
}
.buy-pref-badge {
  display: inline-block;
  background: var(--sunset-orange, var(--lake-deep));
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  margin-bottom: 4px;
}

/* The mega CTA — much larger than btn-large; visually dominant */
.btn-mega {
  font-size: 1.6rem;
  padding: 22px 56px;
  border-radius: 56px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(232, 138, 75, 0.35), 0 4px 10px rgba(0,0,0,0.08);
  width: 100%;
  text-align: center;
  transform: translateZ(0);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-mega:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(232, 138, 75, 0.45), 0 6px 14px rgba(0,0,0,0.12);
}
.buy-primary-fineprint {
  font-size: 0.92rem;
  color: var(--text-light);
  margin: 4px 0 0;
  max-width: 480px;
  line-height: 1.45;
}

/* ---------- Bulk-orders form (cream-bg variant) ---------- */
.bulk-form .form-row {
  margin-bottom: 14px;
}
.bulk-form .form-row-full {
  flex-direction: column;
}
.bulk-form .form-input {
  border: 2px solid rgba(58, 124, 165, 0.25);
  background: white;
  color: var(--text-dark, #2c1810);
  border-radius: 14px;
}
.bulk-form .form-input::placeholder {
  color: rgba(44, 24, 16, 0.45);
}
.bulk-form .form-input:focus {
  border-color: var(--lake-deep);
  background: white;
}
.bulk-form .form-textarea {
  width: 100%;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  border-radius: 14px;
}
.bulk-form .form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(44,24,16,0.5) 50%),
                    linear-gradient(135deg, rgba(44,24,16,0.5) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 12px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.bulk-form button[type="submit"] {
  margin-top: 12px;
}
@media (max-width: 640px) {
  .bulk-form .form-row { flex-direction: column; }
}

/* ---------- Secondary direct option (paperback) ---------- */
.buy-secondary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  max-width: 520px;
  padding-top: 12px;
  border-top: 1px dashed rgba(58, 124, 165, 0.28);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--sunset-orange, #e8924a);
  border: 2px solid var(--sunset-orange, #e8924a);
  padding: 14px 36px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-outline:hover {
  background: var(--sunset-orange, #e8924a);
  color: white;
  transform: translateY(-1px);
}
/* When .btn-outline is also .btn-mega, kill the filled-CTA box-shadow so the
   button reads as a true secondary; keep mega dimensions otherwise. */
.btn-outline.btn-mega {
  box-shadow: none;
}
.btn-outline.btn-mega:hover {
  box-shadow: 0 6px 18px rgba(232, 138, 75, 0.25);
}
.buy-secondary-fineprint {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}
@media (max-width: 760px) {
  .buy-secondary { align-items: center; max-width: 100%; }
  .btn-outline { width: 100%; text-align: center; }
}

/* ---------- Secondary retailers ---------- */
.buy-retailers {
  width: 100%;
  max-width: 520px;
  padding-top: 8px;
  border-top: 1px dashed rgba(58, 124, 165, 0.28);
}
.buy-retailers-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 12px 0 8px;
  letter-spacing: 0.02em;
}
.buy-retailers-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.buy-retailers-list li { margin: 0; padding: 0; }
.buy-retailers-list a {
  font-size: 0.95rem;
  color: var(--lake-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(58, 124, 165, 0.35);
  padding: 2px 0;
  transition: color 0.2s, border-color 0.2s;
}
.buy-retailers-list a:hover {
  color: var(--sunset-orange);
  border-bottom-color: var(--sunset-orange);
}

.buy-fineprint {
  font-size: 0.95rem;
  color: var(--text-light);
}
.buy-fineprint a {
  color: var(--lake-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--lake-light);
}
@media (max-width: 760px) {
  .buy-layout { flex-direction: column; text-align: center; gap: 32px; }
  .buy-cta-group { align-items: center; }
  .buy-primary { align-items: center; max-width: 100%; }
  .buy-retailers { text-align: center; }
  .buy-retailers-list { justify-content: center; }
  .buy-specs li { padding-left: 0; text-align: center; }
  .buy-specs li::before { display: none; }
  .btn-mega { font-size: 1.3rem; padding: 18px 36px; }
}

/* ---------- Lead magnet (coloring pages) ---------- */
.lead-magnet { background: var(--warm-cream); padding: 80px 0; }
.lead-magnet-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.lead-magnet-visual {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: flex-end;
}
.lm-char {
  width: 30%;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(44, 24, 16, 0.18));
}
.lm-duck { transform: translateY(-20px); }
.lm-turtle { transform: translateY(-10px); }
.lead-magnet-text h2 { text-align: left; }
.lead-magnet-form {
  margin-top: 20px;
  max-width: 560px;
}
@media (max-width: 820px) {
  .lead-magnet-layout { grid-template-columns: 1fr; text-align: center; }
  .lead-magnet-text h2 { text-align: center; }
  .lead-magnet-form { margin-left: auto; margin-right: auto; }
}

/* ---------- Light-background form inputs (lead magnet) ---------- */
.lead-magnet .form-input {
  background: white;
  color: var(--text-dark);
  border: 2px solid var(--warm-beige);
}
.lead-magnet .form-input::placeholder { color: var(--text-light); }
.lead-magnet .form-input:focus {
  border-color: var(--lake-light);
  background: white;
}
.lead-magnet .form-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A4234' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

/* ---------- Form select styling ---------- */
.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A4234' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px !important;
  cursor: pointer;
}
.form-select option { color: var(--text-dark); }

/* ---------- Press page ---------- */
.press-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  padding: 60px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.fact-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.fact-card h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--lake-deep);
  margin: 0 0 20px;
}
.fact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}
.fact-list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--warm-beige);
}
.fact-list dt {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-mid);
}
.fact-list dd { margin: 0; color: var(--text-dark); }
.pull-quote {
  margin: 24px 0 0;
  padding: 16px 20px;
  background: var(--sky-light);
  border-left: 4px solid var(--lake-light);
  border-radius: 8px;
  font-style: italic;
  color: var(--lake-deep);
}
.press-contact {
  background: var(--warm-cream);
  border-radius: var(--radius-lg);
  padding: 28px;
  align-self: flex-start;
}
.press-contact h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--lake-deep);
  margin: 0 0 12px;
}
.press-email {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sunset-orange);
  word-break: break-all;
}
@media (max-width: 820px) {
  .press-layout { grid-template-columns: 1fr; padding: 40px 20px; }
  .fact-list > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Downloads grid ---------- */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px 0 40px;
}
.download-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}
.download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.download-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--warm-cream);
}
.download-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-beige);
  color: var(--text-mid);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.2;
}
.download-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 14px 16px 4px;
  color: var(--lake-deep);
}
.download-card p {
  margin: 0 16px 16px;
  font-size: 0.9rem;
  color: var(--text-mid);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.coming-soon-card { opacity: 0.85; pointer-events: auto; }
.coming-soon-small {
  display: inline-block;
  padding: 2px 10px;
  background: var(--sunset-gold);
  color: var(--brown-dark);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
}

/* ---------- Bio copy blocks ---------- */
.bio-block {
  background: var(--warm-cream);
  border-radius: var(--radius);
  padding: 24px;
  margin: 16px 0;
}
.bio-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.bio-block h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-mid);
  margin: 0;
}
.btn-small { padding: 6px 14px; font-size: 0.85rem; }

/* ---------- About page extras ---------- */
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.cream-bg { background: var(--warm-cream); padding: 60px 0 80px; }
.story-behind-lede,
.author-bio-lede {
  color: var(--text-light);
  margin-bottom: 16px;
}
.story-behind-quote {
  margin: 32px 0 0;
  padding: 32px 36px;
  background: white;
  border-left: 6px solid var(--sunset-orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-dark);
  font-weight: 400;
}
.story-behind-quote p { margin: 0 0 14px; }
.story-behind-quote p:last-of-type { margin-bottom: 20px; }
.story-behind-quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--sunset-orange);
  font-weight: 700;
}
@media (max-width: 480px) {
  .story-behind-quote { padding: 24px 22px; font-size: 1.05rem; }
}
.signature {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--sunset-orange);
  margin-top: 20px;
}

/* ---------- Educators page extras ---------- */
.fundraiser-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 24px auto 0;
  padding: 0 24px;
}
.step-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
  padding-top: 48px;
}
.step-num {
  position: absolute;
  top: -24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sunset-orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--text-dark);
}
.step-card p { margin: 0; color: var(--text-mid); }
.fundraiser-note {
  max-width: 700px;
  margin: 32px auto 0;
  text-align: center;
  font-style: italic;
  color: var(--text-mid);
  padding: 0 24px;
}

/* ---------- Mobile tweaks for new components ---------- */
@media (max-width: 480px) {
  .subpage-hero { padding: calc(var(--nav-height) + 32px) 16px 32px; }
  #buy { padding: 48px 0; }
  .buy-cover { width: 240px; }
  .buy-badge { top: -10px; right: -6px; font-size: 0.8rem; padding: 6px 12px; }
  .lead-magnet { padding: 48px 0; }
  .lm-char { width: 32%; }
  .press-layout { padding: 24px 16px; gap: 20px; }
  .fact-card, .press-contact { padding: 22px; }
  .downloads-grid { grid-template-columns: 1fr; }
  .step-card { padding: 22px; }
  .hero-cta-group, .buy-cta-group { justify-content: center; }
}

/* ---------- PEEK CAROUSEL (horizontal scroll-snap) ---------- */
#peek {
  padding: 60px 0 40px;
  background: transparent;
}
.peek-carousel {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}
.peek-track {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--warm-cream);
  /* hide scrollbar cross-browser */
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.peek-track::-webkit-scrollbar { display: none; }
.peek-track:focus-visible {
  outline: 3px solid var(--lake-light);
  outline-offset: 4px;
}
.peek-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  margin: 0;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}
.peek-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;       /* so drag-to-scroll doesn't start an image drag */
  user-select: none;
}
.peek-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.peek-dot {
  /* Visible dot stays small; tap area is 44x44 via border-box + transparent padding */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.peek-dot::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(44, 24, 16, 0.25);
  transform: translate(-50%, -50%);
  transition: background 0.2s, width 0.2s, height 0.2s;
}
.peek-dot:hover::before { background: rgba(44, 24, 16, 0.45); }
.peek-dots { gap: 4px; } /* tighten since each hit area is now 44px */
.peek-dot.active::before {
  background: var(--lake-deep);
  width: 16px;
  height: 16px;
}

/* ---------- QUOTE BAND ---------- */
.quote-band {
  position: relative;
  background: linear-gradient(180deg, var(--warm-cream) 0%, var(--sky-light) 100%);
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}
.quote-band .container {
  position: relative;
  z-index: 2;
}
.quote-band blockquote {
  margin: 0 auto;
  max-width: 900px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 5.5vw, 3.4rem);
  line-height: 1.2;
  color: var(--lake-deep);
}
.quote-band blockquote p {
  margin: 0;
}

/* Review-style variant: longer multi-paragraph quote, smaller display size,
   editorial body font, tighter line-height. */
.quote-band--review blockquote {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  line-height: 1.55;
  max-width: 760px;
  text-align: left;
  color: var(--lake-deep);
}
.quote-band--review blockquote p + p {
  margin-top: 1em;
}
.quote-band--review .quote-attribution {
  text-align: center;
  margin-top: 28px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lake-light);
}
.quote-band--review .quote-attribution em {
  font-style: normal;
  font-weight: 700;
  color: var(--lake-deep);
}
.quote-attribution {
  margin-top: 24px;
  font-family: var(--font-body);
  color: var(--lake-light);
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.quote-drops {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.quote-drops .drop {
  position: absolute;
  background: rgba(126, 200, 227, 0.3);
  border-radius: 50%;
}
.quote-drops .drop-1 { top: 18%; left: 8%;  width: 18px; height: 18px; }
.quote-drops .drop-2 { top: 68%; left: 14%; width: 10px; height: 10px; }
.quote-drops .drop-3 { top: 30%; right: 10%; width: 22px; height: 22px; }
.quote-drops .drop-4 { bottom: 22%; right: 18%; width: 12px; height: 12px; }

@media (max-width: 768px) {
  .peek-slide { aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) {
  #peek { padding: 40px 0 24px; }
  .peek-track { border-radius: var(--radius); }
  .quote-band { padding: 56px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .peek-track { scroll-behavior: auto; }
}
